Error while launching server.product from win10 with Neon.3 java 1.8.0.144

493 views
Skip to first unread message

Xiaochun Li

unread,
Nov 1, 2017, 3:50:15 AM11/1/17
to iDempiere
I'm very new to Idempiere. Just checked out latest source code from bitbucket and trying to build it with 64bit eclipse neon3.
I got everything compiled after fixing some build path errors, and intall.app, swingclient.product all works fine for me. 
But every time when I try to launch the web server by server.product, I ran into the following error:
seems the way eclipse return uri is not liked by java.
Just wondering what could be the cause of these issues? And what's the best version of java and eclipse is suggested to run install idempiere with latest source code?


15:46:55.480 AdempiereMonitor.init:  [18]
15:47:04.154           LoggedSessionListener.contextInitialized: context initialized [18]
15:47:04.210-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:2/metainfo/zk/config.xml
with bundleresource://55.fwk1860944798:5/metainfo/zk/config.xml [18]
15:47:04.212-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:5/metainfo/zk/config.xml
with jar:file:/E:/idempiereErp/idempiere/org.adempiere.ui.zk/WEB-INF/lib/ckez.jar!/metainfo/zk/config.xml [18]
15:47:04.252-----------> Servlets.getResourceAsStream: Ignored: failed to load file://E:\idempiereErp\idempiere/zk.xml [18]
java.net.URISyntaxException: Illegal character in authority at index 7: file://E:\idempiereErp\idempiere/zk.xml
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.parseAuthority(URI.java:3186)
at java.net.URI$Parser.parseHierarchical(URI.java:3097)
at java.net.URI$Parser.parse(URI.java:3053)
at java.net.URI.<init>(URI.java:588)
at org.zkoss.web.servlet.Servlets.getResourceAsStream(Servlets.java:1060)
at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:178)
at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:141)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1514)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1476)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:502)

15:47:04.253===========> WebManager.<init>: File not found: file://E:\idempiereErp\idempiere/zk.xml [18]
15:47:04.542-----------> ClassLocator.getDependentXMLResources: Replicate resource: calendar
Overwrite bundleresource://195.fwk1860944798/metainfo/zk/lang-addon.xml
with bundleresource://195.fwk1860944798:5/metainfo/zk/lang-addon.xml [18]
15:47:04.544-----------> ClassLocator.getDependentXMLResources: Replicate resource: gmapsz
Overwrite bundleresource://195.fwk1860944798:1/metainfo/zk/lang-addon.xml
with bundleresource://195.fwk1860944798:6/metainfo/zk/lang-addon.xml [18]
15:47:04.545-----------> ClassLocator.getDependentXMLResources: Replicate resource: timeline
Overwrite bundleresource://195.fwk1860944798:2/metainfo/zk/lang-addon.xml
with bundleresource://195.fwk1860944798:7/metainfo/zk/lang-addon.xml [18]
15:47:04.547-----------> ClassLocator.getDependentXMLResources: Replicate resource: timeplot
Overwrite bundleresource://195.fwk1860944798:3/metainfo/zk/lang-addon.xml
with bundleresource://195.fwk1860944798:8/metainfo/zk/lang-addon.xml [18]
15:47:04.551-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:2/metainfo/zk/lang-addon.xml
with bundleresource://55.fwk1860944798:5/metainfo/zk/lang-addon.xml [18]
15:47:04.552-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:5/metainfo/zk/lang-addon.xml
with jar:file:/E:/idempiereErp/idempiere/org.adempiere.ui.zk/WEB-INF/lib/ckez.jar!/metainfo/zk/lang-addon.xml [18]
15:47:04.685-----------> DefaultAnnotationProcessor.fallbackToManualAnnotatedClasses: Unable to detect annotations. Application may fail to deploy. [18]


Regards


Sean

hideaki hagiwara

unread,
Dec 10, 2017, 8:43:20 AM12/10/17
to iDempiere
I also see same error at Eclipse every time when iDempiere5.1 run at Eclipse.

I think this cause is file of ${workspace_loc}/zk.xml

If you delete below Arguments from Run Configuratinos, the error is not displayed.

-Dorg.zkoss.zk.config.path=file://${workspace_loc}/zk.xml


Related Information:





And I believe that hiep lq know more information.
:-D
Run_Configurations.png

Hiep Lq

unread,
Dec 11, 2017, 1:45:21 AM12/11/17
to iDempiere

please help me test this patch.
update launch by do:
1. open server.product
2. go to overview tab
3. click on "launch a eclipse application in debug mode"
4. choose server.product on dialog
IDEMPIERE-3552-window.patch

hideaki hagiwara

unread,
Dec 11, 2017, 8:27:35 AM12/11/17
to iDempiere
Thanks Hiep. I tried your patch.
It may be same error except "Illegal character in path at index 10"

22:20:11.618-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk128359175:2/metainfo/zk/config.xml
with bundleresource://55.fwk128359175:5/metainfo/zk/config.xml [20]
22:20:11.620-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk128359175:5/metainfo/zk/config.xml
with jar:file:/C:/src-test/idempiere-release5.1/org.adempiere.ui.zk/WEB-INF/lib/ckez.jar!/metainfo/zk/config.xml [20]
22:20:11.658-----------> Servlets.getResourceAsStream: Ignored: failed to load file:///C:\src-test\idempiere-release5.1/zk.xml [20]
java.net.URISyntaxException: Illegal character in path at index 10: file:///C:\src-test\idempiere-release5.1/zk.xml
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.checkChars(URI.java:3021)
at java.net.URI$Parser.parseHierarchical(URI.java:3105)

Thiat Min

unread,
Dec 11, 2017, 10:35:46 AM12/11/17
to idem...@googlegroups.com
I have same problem on windows 10.
I think is the uri cannot accept \ .
So i change the argument with full path :
-Dorg.zkoss.zk.config.path=file:///D:/idempiere5.1/idempiere/zk.xml
And it work fine.



,<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 13px;"><a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"
alt="" width="46" height="29" style="width: 46px; height: 29px;"
/></a></td>
<td style="width: 470px; padding-top: 12px; color: #41424e;
font-size: 13px; font-family: Arial, Helvetica, sans-serif;
line-height: 18px;">Virus-free. <a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank" style="color: #4453ea;">www.avg.com</a>
</td>
</tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
height="1"></a></div>

On 11 December 2017 at 20:27, hideaki hagiwara
> --
> You received this message because you are subscribed to the Google Groups
> "iDempiere" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to idempiere+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/idempiere/8abbd1fe-2be2-48a5-938e-9dbfee3d1603%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

hideaki hagiwara

unread,
Dec 11, 2017, 8:08:37 PM12/11/17
to iDempiere
thanks  Dadan.

I also resolved to set the argument with full path
:-D
Reply all
Reply to author
Forward
0 new messages