[jboss-user] [JBoss jBPM] - Bean deployment question
I am using a Bean in a JSF page. I have registered the bean in .../jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\faces-config.xml ... /application | managed-bean | managed-bean-nameInstallBean/managed-bean-name | managed-bean-classcom.cart.jbpm.InstallBean/managed-bean-class | managed-bean-scoperequest/managed-bean-scope | /managed-bean | /faces-config After deployment from eclipse to /jbpm-console/upload I get that the app cannot find my bean. javax.servlet.ServletException: Unable to create managed bean InstallBean. The following problems were found: | - Bean or property class com.cart.jbpm.InstallBean for managed bean InstallBean cannot be found. | javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96 | I have also copied my InstallBean.class to ...\jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\classes\com\cart\jbpm , but it's still not working. My obvious question is: where should I put my bean class? Thanks in advance for your attention. t View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226791#4226791 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Bean deployment question
I'm on Jbpm 3.2.6SP1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226794#4226794 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Bean deployment question
Ok, problem solved. It works copying the class in ...\jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\classes\com\cart\jbpm and restarting the server. t View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226912#4226912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Bean deployment question
Thanks for your reply. In a JSF appl I would put my classes inside the app's WEB-INF My question concerns the Jbpm upload tooll and how it is configured. t View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226881#4226881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226881 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss debugging problem
Thanks for your helpful reply. The problem shows up also with JDK 1.6. Actually I switched from 1.6 to 1.5 to see it it would make any difference. I tried out your interesting *JRE*suggestion. Same soup: C:\e-workspace\jboss-4.2.1.GA\binrun === JBoss Bootstrap Environment JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA JAVA: C:\Sun\SDK-5\jdk\jre\bin\java JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,address=8787, server=y, suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djmx.invoke.getters=true CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar === ERROR: transport error 202: connect failed: Connection refused [transport.c,L41] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) [debugInit.c,L500] JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedFATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) I already tried disabling the firewall. That's not it. As for adding 127.0.0.1 localhost in /etc/hosts, I am on Windows Vista, although I might try copying everything over to Ubuntu and check it out there. However I suspect this is one aspect of a problem that I had on Ubuntu too, as well on Win2000 on another machine. Both my machines are relatively slow and I wonder whether the root issue may be a timeout related to that. Anyways, if I make any progress I will report it here. Further suggestions are welcome. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102422#4102422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss debugging problem
Of course you're right. Now it's all clear. Cheers. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102651#4102651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss debugging problem
OK, this seems to work. C:\e-workspace\jboss-4.2.1.GA\binrun === JBoss Bootstrap Environment JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA JAVA: C:\Sun\SDK-5\jdk\jre\bin\java JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8787,suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djmx.invoke.getters=true CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar === Listening for transport dt_socket at address: 8787 12:11:40,509 INFO [Server] Starting JBoss (MX MicroKernel)... I just moved server=y before the address. Otherwise, since the server default option is n, it apparently tries to open the socket at the wrong address. See the Xrunjwdp options at http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html. Cheers and thanks again. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102506#4102506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss debugging problem
I want to debug remotely on JBoss, so I uncommented the relevant line in run.bat. Here is what I get. C:\e-workspace\jboss-4.2.1.GA\binrun === JBoss Bootstrap Environment JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA JAVA: C:\Sun\SDK-5\jdk\bin\java JAVA_OPTS: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787, server=y, suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djmx.invoke.getters=true CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar === ERROR: transport error 202: connect failed: Connection refused [transport.c,L41] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) [debugInit.c,L500] JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedFATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) I will be grateful for any feedback. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102183#4102183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: build failed
It builds fine on SDK 5. tito View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097171#4097171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user