[jBPM] - Problem on process instance data
by Jose Manuel g
Jose Manuel g [http://community.jboss.org/people/biaggi] modified the document:
"Problem on process instance data"
To view the document, visit: http://community.jboss.org/docs/DOC-15102
--------------------------------------------------------------
This is my first comment at the community, I just hope I've writted in the correct place
I've installed jbpm using ant demo.setup.tomcat, after the installation all seems to work correctly, but when I try to process instance data i receive this error
Any suggestion?
* URL: ' http://localhost:8080/gwt-console-server/rs/process/instance/AsyncActivit... http://localhost:8080/gwt-console-server/rs/process/instance/AsyncActivit...'
* Action: 'org.jboss.bpm.console.client.process.UpdateInstanceDataAction'
* Exception: 'class com.google.gwt.http.client.RequestException'
HTTP 500:
Estado HTTP 500 -
type Informe de Excepción
mensaje
descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.
excepción
org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
causa raíz
java.lang.NullPointerException
org.jbpm.pvm.internal.cmd.GetExecutionVariableNamesCmd.execute(GetExecutionVariableNamesCmd.java:51)
org.jbpm.pvm.internal.cmd.GetExecutionVariableNamesCmd.execute(GetExecutionVariableNamesCmd.java:35)
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
org.jbpm.pvm.internal.svc.ExecutionServiceImpl.getVariableNames(ExecutionServiceImpl.java:135)
org.jbpm.integration.console.ProcessManagementImpl.getInstanceData(ProcessManagementImpl.java:134)
org.jboss.bpm.console.server.ProcessMgmtFacade.getInstanceData(ProcessMgmtFacade.java:207)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/6.0.26.
Apache Tomcat/6.0.26
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-15102]
Create a new document in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
15 years, 7 months
[jBPM] - Task Completion Error
by Rudolf Michael
Rudolf Michael [http://community.jboss.org/people/ruds] created the discussion
"Task Completion Error"
To view the discussion, visit: http://community.jboss.org/message/535701#535701
--------------------------------------------------------------
hello there,
i have a normal task with a transition to another task.
when i complete the first task by hitting engine.getTaskService().completeTask(taskId); everything works okay. But i want to add some user input related to the task so i did the following:
Map<String, Object> variables = new HashMap<String, Object>();
variables.put("SDate", startDate);
variables.put("EDate", endDate);
variables.put("Message", message);
engine.getTaskService().completeTask(taskId, variables);
and i am getting an exception there stating the following:
### EXCEPTION ###########################################
10:50:26,965 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.CompositeCmd@a39de
org.jbpm.api.JbpmException: No unnamed transitions were found for the task 'Employee submits timesheet'
i wanna add some user input related to the task so it can be reviewed by the manager for approval.
can someone help me on this please.
best regards,
ruds
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535701#535701]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months
[Beginner's Corner] - JBoss Log Messages
by Marcel V
Marcel V [http://community.jboss.org/people/marzelsius] created the discussion
"JBoss Log Messages"
To view the discussion, visit: http://community.jboss.org/message/535700#535700
--------------------------------------------------------------
Hi!
I'm pretty new at JBoss, and I had a look at the JBoss log and found some log messages which i don't understand.
I hope someone can help me :)
{quote}
08:23:46,658 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean TimerServiceDispatcher, will create some
08:23:46,673 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@30872
08:23:46,704 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@30872
08:23:46,704 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@30872
08:23:46,720 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@30872
08:23:46,845 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean EjbSynchronizations, will create some
08:23:46,954 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean ELF_RemoteLoggingService, will create some
...
08:23:47,422 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@e3e1
08:23:47,422 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@e3e1
08:23:47,438 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@e3e1
08:23:47,438 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@e3e1
...
08:23:52,385 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
{quote}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535700#535700]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months
Re: [jboss-user] [JBoss Web Services] - Jboss Native - EJB based Webservice top down approach
by Shashidhar Reddy S
Shashidhar Reddy S [http://community.jboss.org/people/ShashidharReddy] replied to the discussion
"Jboss Native - EJB based Webservice top down approach"
To view the discussion, visit: http://community.jboss.org/message/535694#535694
--------------------------------------------------------------
Yes, I have the same issue as you mentioned below. As an alternative, I tried keeping the wsdl in WEB-INF and changed the wsdlLocation in endpoint interface and deployed the EAR. The below error I am getting.
Caused by: org.jboss.ws.WSException: *Cannot build meta data: Could not find META-INF/wsdl/HelloWorld.wsdl in the additional metadatafiles*!
at org.jboss.ws.WSException.rethrow(WSException.java:60)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:226)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:62)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:64)
at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:107)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
Would be appreciated if any guidance on this issue?
Regards
Shashidhar Reddy
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535694#535694]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months