-
1. Re: Latest jBPMN Console NG won't build
salaboy21 Feb 15, 2013 7:20 AM (in response to focky)Hi Focky,
Thanks for the feedback. The error that you are getting with the latest source code sounds as a windows problem. "File too long" is not something that we can see in unix like OS. Can you please take a look at the stack trace to see if we can find out which is the file that is causing troubles? I'm running on Mac OSX now, so if we find the problem I will fix it and you can test it.
Did you pull the latest sources today? if so, please do a mvn clean install on the root directory.
Cheers
-
2. Re: Latest jBPMN Console NG won't build
focky Feb 15, 2013 8:20 AM (in response to salaboy21)Hey Mauricio,
Thanks for the fast reply.
I've replaced the maven and github repositories to the C-drive and than the build worked :-) , so potentially windows users with default settings could have the same build issue.
performing a mvn gwt:run, the jetty server returns an 503 error both in Chrome as in Firefox, is this as expected?:
But I when deploying the distribution war file to Jboss, all works well.
Thanks!
-
3. Re: Latest jBPMN Console NG won't build
salaboy21 Feb 15, 2013 8:42 AM (in response to focky)Can you take a look at the GWT Development Mode console to see what is going on in jetty?
I rememebr that there are some temporal files being created at /tmp/ which is also unix. Can you please pastebin the stack traces from the terminal?
Cheers
-
4. Re: Latest jBPMN Console NG won't build
focky Feb 15, 2013 10:52 AM (in response to salaboy21)On the GWT dev mode, there are following warnings on jetty:
-----------
--- 1
----------
00:00:00,978 [WARN] Config error at <New id="tx" class="org.mortbay.jetty.plus.naming.Resource"><Arg>java:comp/UserTransaction</Arg><Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices"/>
</Arg></New>
-----------
--- 2
----------
00:00:00,978 [WARN] Failed startup of context org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload@b8338f{/,c:\GitHub\jbpm-console-ng\jbpm-console-ng-showcase\target\jbpm-console-ng-showcase-6.0.0-SNAPSHOT}
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
...
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)
Caused by: bitronix.tm.utils.InitializationException: cannot open disk journal
at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:75)
at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
at org.mortbay.xml.XmlConfiguration.itemValue(XmlConfiguration.java:905)
at org.mortbay.xml.XmlConfiguration.value(XmlConfiguration.java:829)
...
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)
Caused by: java.io.FileNotFoundException: .
btm2.tlog (The filename, directory name, or volume label syntax is incorrect)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
at bitronix.tm.journal.DiskJournal.createLogfile(DiskJournal.java:231)
at bitronix.tm.journal.DiskJournal.open(DiskJournal.java:136)
at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:62)
...
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)-----------
--- 3
----------
00:00:00,979 [WARN] Nested in java.lang.reflect.InvocationTargetException:
bitronix.tm.utils.InitializationException: cannot open disk journal
at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:75)
at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)
Caused by: java.io.FileNotFoundException: .
btm2.tlog (The filename, directory name, or volume label syntax is incorrect)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
at bitronix.tm.journal.DiskJournal.createLogfile(DiskJournal.java:231)
at bitronix.tm.journal.DiskJournal.open(DiskJournal.java:136)
at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:62)
at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:62)
...
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)The error when opening a browser (see attachment image)
Cheers
-
GWTJetty.png 83.2 KB
-
-
5. Re: Latest jBPMN Console NG won't build
calca Feb 15, 2013 10:58 AM (in response to focky)1 of 1 people found this helpfulThis happened to me in Windows too, and it was solved by changing the jety-env.xml file. I changed it to used some specific directory in windows instead of ".".
<Call name="getConfiguration" class="bitronix.tm.TransactionManagerServices">
<Set name="serverId">jetty-btm-node0</Set>
<Set name="logPart1Filename">
C:/tmp/btm1.tlog
</Set>
<Set name="logPart2Filename">
C:/tmp/btm2.tlog
</Set>
</Call>
-
6. Re: Latest jBPMN Console NG won't build
salaboy21 Feb 15, 2013 10:59 AM (in response to calca)Thanks Demian, I was looking for that file
Any idea how to fix it for all the platforms? we cannot use C:/tmp for unix and we cannot use . for windows..
-
7. Re: Latest jBPMN Console NG won't build
focky Feb 15, 2013 11:15 AM (in response to calca)Perfect, that did the trick
If there is a generic solution (for both to long name and logging of jetty) for this, that would be handy, for later releases.
Thanks!