[JBoss jBPM] - jbpm-console from cvs
by perrylucas
While trying to help another user this morning to build jbpm3-2 from source, i was trying to deploy the jbpm-console web app that i retreived from CVS. I set my JBPm_REPO and ran install which successfully downloaded all the libs needed to compile the project. I changed the version of my jboss AS in the build.properties, then I started up my jboss-4.0.5.GA server. Then I ran ant deploy for the console project, and I got:
...
| deploy:
| [get] Getting: http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=... and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war
| [get] To: C:\Documents and Settings\plucas\workspace\jbpm.3\console\target\deployresult.html
| [get] Error opening connection java.io.IOException: Server returned HTTP response code: 505 for URL: http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=... and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war
| [get] Error opening connection java.io.IOException: Server returned HTTP response code: 505 for URL: http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=... and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war
| [get] Error opening connection java.io.IOException: Server returned HTTP response code: 505 for URL: http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=... and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war
| [get] Can't get http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=... and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war to C:\Documents and Settings\plucas\workspace\jbpm.3\console\target\deployresult.html
|
| BUILD FAILED
| C:\Documents and Settings\plucas\workspace\jbpm.3\console\build.xml:224: Can't get http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=... and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war to C:\Documents and Settings\plucas\workspace\jbpm.3\console\target\deployresult.html
|
| Total time: 5 seconds
So I tried to just package him up and drop the .war file in manually... and I saw the following error:
| ...
| 10:38:01,414 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../tmp/deploy/tmp31575jbpm-console-exp.war/
| 10:38:02,725 ERROR [STDERR] Mar 20, 2007 10:38:02 AM com.sun.faces.config.ConfigureListener contextInitialized
| INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for context 'null'
| 10:38:03,084 ERROR [STDERR] Mar 20, 2007 10:38:03 AM com.sun.faces.spi.InjectionProviderFactory createInstance
| WARNING: JSF1033: Resource injection is DISABLED.
| 10:38:03,272 ERROR [[/jbpm-console]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
| java.lang.IndexOutOfBoundsException: Invalid start=695 end=1 length=696
| at org.jboss.lang.JBossStringBuilder.delete(JBossStringBuilder.java:256)
| at org.jboss.lang.JBossStringBuilder.deleteCharAt(JBossStringBuilder.java:269)
| at com.sun.faces.renderkit.RenderKitUtils.loadSunJsfJs(RenderKitUtils.java:1067)
| at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:468)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| ...
|
I have never built anything from jbpm cvs, but I am pretty sure I am doing things as expected and that this is a broken build. Can anyone confirm this? If it is in fact a broken build, when would be the normal time to try and synch up with CVS? eg, every day @ 18:00 GMT, every friday, or ???
Thanks!
Perry
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029819#4029819
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029819
19Â years, 1Â month
[JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?
by bsmithjj
anonymous wrote : But you're still happily using Seam with jBPM?
Happy? Honestly, I think the Seam + jBPM hype in the early days of Seam (winter-spring 2006) was a bit over hyped and I don't think it receives enough attention by the Seam team. I think part of the problem is a lot of the features get implemented in a sort of 'toy' or 'proof-of-concept' mode - not really pushed around the block. I think the combo of jBPM + Seam + EJB3 holds a lot of promise - maybe there's opportunity for better integration between Seam and jBPM with respect to custom ActionHandlers, DecisionHandlers, things like that...possibly some even Seam base classes for these that deal with resource injection issues 'seamlessly' (e.g. JbpmContext, EntityManager, etc...).
The jBPM API's are often weak in many areas - the core implementation and functionality is basically just what you need for long running processes. The API's (IMHO) are not really designed with the customer in mind (by customer, I mean the developer that uses the API's). As an example, try to get and cancel a timer task in a custom ActionHandler. Also, for extra points, try getting the 'current open task' on a process without knowing the taskId ahead of time via the API's... ;-)
Anyway - I am happy using Seam, I am less happy about Seam + jBPM integration, I'm also concerned that the developers will stick with relatively simple use cases and increasingly will be distracted by all the JSF-tag library noise (first ICEFaces, now RichFaces, ...). Ultimately, I've been able to solve 'most' of my problems with jBPM and Seam, but my solutions are not as 'elegant' as they could be.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029814#4029814
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029814
19Â years, 1Â month