[jboss-user] [JBoss jBPM] - jbpm-console from cvs

perrylucas do-not-reply at jboss.com
Tue Mar 20 10:43:13 EDT 2007


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=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=file://C:\Documents 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=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=file://C:\Documents 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=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=file://C:\Documents 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=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=file://C:\Documents and Settings\plucas\workspace\jbpm.3\console/target/jbpm-console.war
  |       [get] Can't get http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=file://C:\Documents 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=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=file://C:\Documents 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



More information about the jboss-user mailing list