[jBPM] - Process deployment in jBPM 5
by newuser12
newuser12 [http://community.jboss.org/people/newuser12] created the discussion
"Process deployment in jBPM 5"
To view the discussion, visit: http://community.jboss.org/message/589452#589452
--------------------------------------------------------------
Hi
I am new to jBPM. I have downloaded jBPM5 and installed it as per the procedure given in the Read me file that came with the installaton zip.
Basically, I extracted the zip file and ran the ant start.demo command. The installation completed without any issues and the services did start.
I was able to view the Evalucation process from that came as a part of the demo using Eclipse. Started the process using ProcessTest.java. Was also able to start it and complete the tasks using the jbpm-console.
A few questions -
1) I want to create a new bpmn process and deploy that using Eclipse. I have created the process but am not sure of the deployment procedure. What is the procedure to be followed?
2) How do I add new users and groups to the system?
3) I am not able to open the reports, the attached error is thrown in the jbpm-console. How to I start the report server?
Is there are documentation for beginners?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589452#589452]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[EJB3] - can not bind war and jar project in jboss 7.0!
by Joseph Hwang
Joseph Hwang [http://community.jboss.org/people/aupres] created the discussion
"can not bind war and jar project in jboss 7.0!"
To view the discussion, visit: http://community.jboss.org/message/618012#618012
--------------------------------------------------------------
- OS : Windows XP
- IDE : eclipse 3.7 Indigo
- WAS : jboss 7.0.0.Final
- DB : MySql
I coded EJB3 jar project and jsp war project. In war project I binded EJB project through "properites=>Java Build Path=> Projects Tab".
But When i run jsp, exception occurs. Exception is like below,
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. com.aaa.ejb3.ILogin resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. com.aaa.ejb3.Members resolves to a package
An error occurred at line: 17 in the jsp file: /test.jsp
ILogin cannot be resolved to a type
<%
try {
Context ctx = new InitialContext();
ILogin login = (ILogin) ctx.lookup("LoginBean/remote");
i think exception occurs in import line in jsp file.
<%@ page import="com.aaa.ejb3.ILogin"%>
<%@ page import="com.aaa.ejb3.Members"%>
I need your advice, thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618012#618012]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[JBoss Web Services] - WebServices using JBoss 4.2
by Aj B
Aj B [http://community.jboss.org/people/ajj] created the discussion
"WebServices using JBoss 4.2"
To view the discussion, visit: http://community.jboss.org/message/618309#618309
--------------------------------------------------------------
Hi friends,
I tried accessing the methods exposed in a specific wsdl(which I created), but get the following error:
ERROR: [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
2011-07-29 15:32:20,815 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] END handleRequest: jboss.ws:context=ws,endpoint=WebServiceLogin
2011-07-29 15:32:20,815 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1a65cf7 (Thread http-0.0.0.0-8080-1)
2011-07-29 15:32:20,815 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
... 22 more
2011-07-29 15:32:20,815 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ws].[WebServiceLogin]] Servlet.service() for servlet WebServiceLogin threw exception
java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
What could be the reason ?
Thanks !!!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618309#618309]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[jBPM] - Problem on adding users to HumanTaskService
by reza sadeghzadeh
reza sadeghzadeh [http://community.jboss.org/people/reza_sadeghzadeh] created the discussion
"Problem on adding users to HumanTaskService"
To view the discussion, visit: http://community.jboss.org/message/618441#618441
--------------------------------------------------------------
Hi, I'm using Liferay Portal for my membership. I'm adding users to taskSession this like: --------------------------------------------------------------------------------------------------- EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task"); TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener()); TaskServiceSession taskSession = taskService.createSession(); // Add users List users = null; try { users = UserLocalServiceUtil.getUsers(0, 100000000); } catch (SystemException e) { e.printStackTrace(); } for ( com.liferay.portal.model.User user : users ) { User jBPMUser = new User(String.valueOf(user.getUserId())); taskSession.addUser( jBPMUser ); } List orgs = null; try { orgs = OrganizationLocalServiceUtil.getOrganizations(0, 100000000); } catch (SystemException e) { e.printStackTrace(); } for ( Organization org : orgs ) { Group group = new Group(String.valueOf(org.getOrganizationId())); taskSession.addGroup( group ); } // start server MinaTaskServer server = new MinaTaskServer(taskService); Thread thread = new Thread(server); thread.start(); taskSession.dispose(); System.out.println("Task service started correctly !"); System.out.println("Task service running ..."); --------------------------------------------------------------------------------------------------- after start my server I can work with ProcessDefinition and ProcessInstances properly but I can't see list of task in my panel If I remove above codes and start HumanTask Service with "ant start.demo" the system works properly I see a lot logs: ---------------------------------------------------------------------------------------------------- 15:48:12,475 INFO [LoggingFilter] CREATED 15:48:12,476 INFO [LoggingFilter] OPENED 15:48:12,536 INFO [STDOUT] Loaded user admin: 15:48:12,538 INFO [STDOUT] admin 15:48:12,538 INFO [STDOUT] manager 15:48:12,538 INFO [STDOUT] user 15:48:12,538 INFO [STDOUT] Loaded user krisv: 15:48:12,538 INFO [STDOUT] admin 15:48:12,538 INFO [STDOUT] manager 15:48:12,538 INFO [STDOUT] user 15:48:12,538 INFO [STDOUT] Loaded user sales-rep: 15:48:12,539 INFO [STDOUT] admin 15:48:12,539 INFO [STDOUT] manager 15:48:12,539 INFO [STDOUT] user 15:48:12,539 INFO [STDOUT] sales 15:48:12,539 INFO [STDOUT] Loaded user john: 15:48:12,539 INFO [STDOUT] admin 15:48:12,539 INFO [STDOUT] manager 15:48:12,540 INFO [STDOUT] user 15:48:12,540 INFO [STDOUT] PM 15:48:12,540 INFO [STDOUT] Loaded user mary: 15:48:12,541 INFO [STDOUT] admin 15:48:12,541 INFO [STDOUT] manager 15:48:12,541 INFO [STDOUT] user 15:48:12,541 INFO [STDOUT] HR 15:48:12,648 INFO [LoggingFilter] RECEIVED: HeapBuffer[pos=0 lim=178 cap=2048: 00 00 00 AE AC ED 00 05 73 72 01 00 1D 6F 72 67...] 15:48:12,770 INFO [LoggingFilter] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] 15:48:12,816 INFO [STDOUT] 15:48:12,816 INFO [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite 15:48:12,973 INFO [STDOUT] JSon Result: => {"tasks":[]} 15:48:12,973 INFO [STDOUT] task json result: {"tasks":[]} 15:48:14,185 INFO [STDOUT] INFO 30-07 15:48:14,180 (NilAuthenticator.java:authenticate:35) All users are guests. 15:48:14,189 INFO [STDOUT] INFO 30-07 15:48:14,182 (NilAuthenticator.java:authenticate:35) All users are guests. 15:48:14,194 INFO [STDOUT] INFO 30-07 15:48:14,193 (RepositoryServlet.java:allowUser:114) admin authenticated for rest api 15:48:14,195 INFO [STDOUT] INFO 30-07 15:48:14,193 (RepositoryServlet.java:allowUser:114) admin authenticated for rest api 15:48:14,197 INFO [STDOUT] INFO 30-07 15:48:14,195 (PackageDeploymentServlet.java:execute:141) PackageName: defaultPackage 15:48:14,198 INFO [STDOUT] INFO 30-07 15:48:14,196 (PackageDeploymentServlet.java:execute:141) PackageName: defaultPackage 15:48:14,199 INFO [STDOUT] INFO 30-07 15:48:14,198 (PackageDeploymentServlet.java:execute:142) PackageVersion: LATEST 15:48:14,200 INFO [STDOUT] INFO 30-07 15:48:14,197 (PackageDeploymentServlet.java:execute:142) PackageVersion: LATEST 15:48:14,201 INFO [STDOUT] INFO 30-07 15:48:14,200 (PackageDeploymentServlet.java:execute:143) PackageIsLatest: true 15:48:14,202 INFO [STDOUT] INFO 30-07 15:48:14,199 (PackageDeploymentServlet.java:execute:143) PackageIsLatest: true 15:48:14,203 INFO [STDOUT] INFO 30-07 15:48:14,202 (PackageDeploymentServlet.java:execute:144) PackageIsSource: false 15:48:14,204 INFO [STDOUT] INFO 30-07 15:48:14,201 (PackageDeploymentServlet.java:execute:144) PackageIsSource: false 15:48:15,608 INFO [STDOUT] Loading process from Guvnor: com.bahman.vacation 15:48:15,608 INFO [STDOUT] Loading process from Guvnor: com.bahman.vacation 15:48:15,608 INFO [STDOUT] jbpm.console.directory property not found 15:48:15,609 INFO [STDOUT] jbpm.console.directory property not found 15:48:16,758 INFO [STDOUT] Loading session data ... 15:48:16,758 INFO [STDOUT] Loading session data ... 15:48:16,869 INFO [STDOUT] Hibernate: select sessioninf0_.id as id70_0_, sessioninf0_.lastModificationDate as lastModi2_70_0_, sessioninf0_.rulesByteArray as rulesByt3_70_0_, sessioninf0_.startDate as startDate70_0_, sessioninf0_.OPTLOCK as OPTLOCK70_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=? 15:48:16,869 INFO [STDOUT] Hibernate: select sessioninf0_.id as id69_0_, sessioninf0_.lastModificationDate as lastModi2_69_0_, sessioninf0_.rulesByteArray as rulesByt3_69_0_, sessioninf0_.startDate as startDate69_0_, sessioninf0_.OPTLOCK as OPTLOCK69_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=? 15:48:20,759 INFO [LoggingFilter] CREATED 15:48:20,759 INFO [LoggingFilter] OPENED 15:48:20,760 INFO [LoggingFilter] CREATED 15:48:20,761 INFO [LoggingFilter] OPENED 15:48:20,773 INFO [LoggingFilter] RECEIVED: HeapBuffer[pos=0 lim=339 cap=2048: 00 00 01 4F AC ED 00 05 73 72 01 00 1D 6F 72 67...] 15:48:20,775 INFO [LoggingFilter] RECEIVED: HeapBuffer[pos=0 lim=339 cap=2048: 00 00 01 4F AC ED 00 05 73 72 01 00 1D 6F 72 67...] 15:48:20,780 INFO [STDOUT] Successfully loaded default package from Guvnor 15:48:20,781 INFO [STDOUT] Successfully loaded default package from Guvnor 15:48:20,790 INFO [LoggingFilter] RECEIVED: HeapBuffer[pos=0 lim=673 cap=2048: 00 00 01 4C AC ED 00 05 73 72 01 00 1D 6F 72 67...] 15:48:20,792 INFO [STDOUT] 15:48:20,792 INFO [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite 15:48:20,793 INFO [LoggingFilter] RECEIVED: HeapBuffer[pos=0 lim=673 cap=2048: 00 00 01 4C AC ED 00 05 73 72 01 00 1D 6F 72 67...] 15:48:20,793 INFO [STDOUT] 15:48:20,792 INFO [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite 15:48:20,820 INFO [STDOUT] INFO 30-07 15:48:20,818 (NilAuthenticator.java:authenticate:35) All users are guests. 15:48:20,821 INFO [STDOUT] INFO 30-07 15:48:20,818 (NilAuthenticator.java:authenticate:35) All users are guests. 15:48:20,822 INFO [STDOUT] INFO 30-07 15:48:20,820 (RepositoryServlet.java:allowUser:114) null authenticated for rest api 15:48:20,822 INFO [STDOUT] INFO 30-07 15:48:20,821 (RepositoryServlet.java:allowUser:114) null authenticated for rest api 15:48:20,823 INFO [STDOUT] INFO 30-07 15:48:20,822 (PackageDeploymentServlet.java:execute:141) PackageName: defaultPackage 15:48:20,824 INFO [STDOUT] INFO 30-07 15:48:20,823 (PackageDeploymentServlet.java:execute:141) PackageName: defaultPackage 15:48:20,824 INFO [STDOUT] INFO 30-07 15:48:20,823 (PackageDeploymentServlet.java:execute:142) PackageVersion: LATEST 15:48:20,825 INFO [STDOUT] INFO 30-07 15:48:20,824 (PackageDeploymentServlet.java:execute:142) PackageVersion: LATEST 15:48:20,825 INFO [STDOUT] INFO 30-07 15:48:20,825 (PackageDeploymentServlet.java:execute:143) PackageIsLatest: true 15:48:20,826 INFO [STDOUT] INFO 30-07 15:48:20,826 (PackageDeploymentServlet.java:execute:144) PackageIsSource: true 15:48:20,827 INFO [STDOUT] INFO 30-07 15:48:20,824 (PackageDeploymentServlet.java:execute:143) PackageIsLatest: true 15:48:20,828 INFO [STDOUT] INFO 30-07 15:48:20,827 (PackageDeploymentServlet.java:execute:144) PackageIsSource: true 15:48:20,980 INFO [STDOUT] 15:48:20,980 INFO [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.GraphViewerPlugin': class org.jbpm.integration.console.graph.GraphViewerPluginImpl 15:48:20,980 INFO [STDOUT] 15:48:20,980 INFO [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.GraphViewerPlugin': class org.jbpm.integration.console.graph.GraphViewerPluginImpl 15:48:20,989 INFO [STDOUT] INFO 30-07 15:48:20,988 (NilAuthenticator.java:authenticate:35) All users are guests. 15:48:20,991 INFO [STDOUT] INFO 30-07 15:48:20,989 (NilAuthenticator.java:authenticate:35) All users are guests. 15:48:20,991 INFO [STDOUT] INFO 30-07 15:48:20,990 (RepositoryServlet.java:allowUser:114) null authenticated for rest api 15:48:20,992 INFO [STDOUT] INFO 30-07 15:48:20,991 (RepositoryServlet.java:allowUser:114) null authenticated for rest api 15:48:20,992 INFO [STDOUT] INFO 30-07 15:48:20,991 (PackageDeploymentServlet.java:execute:141) PackageName: defaultPackage 15:48:20,993 INFO [STDOUT] INFO 30-07 15:48:20,993 (PackageDeploymentServlet.java:execute:142) PackageVersion: LATEST 15:48:20,993 INFO [STDOUT] INFO 30-07 15:48:20,993 (PackageDeploymentServlet.java:execute:143) PackageIsLatest: true 15:48:20,994 INFO [STDOUT] INFO 30-07 15:48:20,994 (PackageDeploymentServlet.java:execute:144) PackageIsSource: false 15:48:20,995 INFO [STDOUT] INFO 30-07 15:48:20,992 (PackageDeploymentServlet.java:execute:141) PackageName: defaultPackage 15:48:20,995 INFO [STDOUT] INFO 30-07 15:48:20,995 (PackageDeploymentServlet.java:execute:142) PackageVersion: LATEST 15:48:20,996 INFO [STDOUT] INFO 30-07 15:48:20,995 (PackageDeploymentServlet.java:execute:143) PackageIsLatest: true 15:48:20,996 INFO [STDOUT] INFO 30-07 15:48:20,996 (PackageDeploymentServlet.java:execute:144) PackageIsSource: false 15:48:21,216 INFO [STDOUT] JSon Result: => {"definitions":[{"id":"com.bahman.vacation","name":"vacation","version":24,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false,"formUrl":" http://localhost:8080/gwt-console-server/rs/form/process/com.bahman.vacat... http://localhost:8080/gwt-console-server/rs/form/process/com.bahman.vacat...","diagramUrl":" http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defa... http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defa..."}]} 15:48:21,217 INFO [STDOUT] JSon Result: => {"definitions":[{"id":"com.bahman.vacation","name":"vacation","version":24,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false,"formUrl":" http://localhost:8080/gwt-console-server/rs/form/process/com.bahman.vacat... http://localhost:8080/gwt-console-server/rs/form/process/com.bahman.vacat...","diagramUrl":" http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defa... http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defa..."}]} 15:48:21,224 INFO [STDOUT] process name is: vacation 15:48:21,224 INFO [STDOUT] process name is: vacation 15:48:21,919 INFO [STDOUT] Hibernate: select processins0_.id as id93_, processins0_.processInstanceId as processI2_93_, processins0_.processId as processId93_, processins0_.START_DATE as START4_93_, processins0_.END_DATE as END5_93_ from ProcessInstanceLog processins0_ where processins0_.processId=? and (processins0_.END_DATE is null) 15:48:21,946 INFO [STDOUT] JSon Result: => {"instances":[{"id":"1","definitionId":"com.bahman.vacation","startDate":"2011-07-30 10:39:37","suspended":false,"rootToken":{"id":"1","name":"","currentNodeName":"","children":[],"availableSignals":[],"canBeSignaled":false}},{"id":"2","definitionId":"com.bahman.vacation","startDate":"2011-07-30 10:57:24","suspended":false,"rootToken":{"id":"2","name":"","currentNodeName":"","children":[],"availableSignals":[],"canBeSignaled":false}}]} 15:48:21,950 INFO [STDOUT] process name is: 1 15:48:21,950 INFO [STDOUT] process name is: 2 15:48:21,950 INFO [STDOUT] Fetched processInstances:2 15:48:23,233 INFO [LoggingFilter] IDLE 15:48:30,793 INFO [LoggingFilter] IDLE 15:48:30,795 INFO [LoggingFilter] IDLE 15:48:33,236 INFO [LoggingFilter] IDLE 15:48:40,793 INFO [LoggingFilter] IDLE 15:48:40,795 INFO [LoggingFilter] IDLE 15:48:43,236 INFO [LoggingFilter] IDLE 15:48:50,794 INFO [LoggingFilter] IDLE 15:48:50,796 INFO [LoggingFilter] IDLE 15:48:53,237 INFO [LoggingFilter] IDLE 15:49:00,794 INFO [LoggingFilter] IDLE 15:49:00,796 INFO [LoggingFilter] IDLE 15:49:03,238 INFO [LoggingFilter] IDLE 15:49:10,795 INFO [LoggingFilter] IDLE 15:49:10,797 INFO [LoggingFilter] IDLE 15:49:13,238 INFO [LoggingFilter] IDLE 15:49:20,796 INFO [LoggingFilter] IDLE 15:49:20,798 INFO [LoggingFilter] IDLE ----------------------------------------------------------------------------------------------------
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618441#618441]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[Beginner's Corner] - JBoss 6 Invoker Servlet
by Carlos Oliva
Carlos Oliva [http://community.jboss.org/people/ramboid] created the discussion
"JBoss 6 Invoker Servlet"
To view the discussion, visit: http://community.jboss.org/message/595561#595561
--------------------------------------------------------------
Is there a settign that woudl let my war deploymnets use the invoker servlet. In JBoss5 I was able to use it by editing the context.xml file and addin a mapping in the web.xml of the war. My web.xml looks somehting like this:
<servlet>
<servlet-name>ZZRead XML</servlet-name>
<servlet-class>azzreadxml</servlet-class>
</servlet>
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
</web-app>
When I deploy the war file, I get the following error:
EPLOYMENTS IN ERROR:
Deployment "vfs:///usr/local/jboss-6.0.0.Final/server/default/deploy/obsolete.war" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.apache.catalina.servlets.InvokerServlet from BaseClassLoader@5c393d95{vfs:///usr/local/jboss-6.0.0.Final/server/default/deploy/obsolete.war}
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
:-/
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595561#595561]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months