[JBoss jBPM] - Jbpm-console problems
by rodosa
Hello, I 've some problems witj jbpm-console. I'm usingo jbpm-jpdl 3.2.3. When I access at jbpm-console I get the following errors:
1) I can't see the process definition image. It could be because I export the process definition in a .jar not in a .war. How it works?? The exception that it's thrown is:
| 13:25:19,812 WARN [lifecycle] phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@648b64) threw exception: java.lang.NullPointerException null
| org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseListener.java:102)
| com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| java.lang.Thread.run(Thread.java:619)
|
2) When I want to examine a process running its thrown this exception. But only when the process is running. If it's suspended nothing occurrs. All goes well.
| java.lang.NullPointerException
| java.lang.String.compareTo(String.java:1168)
| java.lang.String.compareTo(String.java:92)
| org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:144)
| java.util.Arrays.mergeSort(Arrays.java:1270)
| java.util.Arrays.sort(Arrays.java:1210)
| java.util.Collections.sort(Collections.java:159)
| org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83)
| javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
| javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
| javax.faces.component.UICommand.broadcast(UICommand.java:368)
| org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
| com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
| com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
| com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
| com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
| com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
| com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
| javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
| com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
| com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
3) When I want to deploy a process from jbpm-console. I select a valid processDefinition xml file and the console says:
| Error deploying process: An exception of type "org.jbpm.jpdl.JpdlException" was thrown. The message is: [[ERROR] no processdefinition.xml inside process archive]
|
Could someone help me?? Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213994#4213994
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213994
15 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Deployment of JBoss-4.2.2.GA on HP-UX 11i v3 (B.11.31)
by parad
Hi
I am trying to deploy JBoss-4.2.2.GA on HP-UX 11i v3 (B.11.31), and I get the following error:
Caused by: java.lang.NoClassDefFoundError: org/jboss/security/auth/spi/UsernamePasswordLoginModule
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:682)
at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:662)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)
at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:92)
at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:92)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:246)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:731)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
It seems like the JBoss classes are not loaded correctly.
I have deployed already on the same machine JBoss-4.0.5.GA with no problem, and it is working fine.
Doe anyone has any experince with it?
Philip
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213991#4213991
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213991
15 years, 10 months
[Remoting] - Re: Timeout waiting for a free socket when an ejb publish a
by ron.sigal@jboss.com
The message
| Caused by: java.lang.IllegalStateException: Timeout waiting for a free socket
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInv
| oker.java:1048)
|
indicates that all of the pooled connections in the callback client invoker (the Remoting invoker on the server side that sends messages to the client side) are in use, and the pool has reached its maximum size. Now, in this particular case, JBossMessaging explicitly configures the callback client invoker to have a maximum pool size of one, which they do to prevent messages from being delivered out of order. So you don't have the ordinarily available option of increasing the pool size.
The suggestion made by Andy Taylor on the JBM thread, increasing the 'connectionWait' parameter, is a good one, but note that it is implemented only in Remoting 2.4.0.GA and above.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213988#4213988
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213988
15 years, 10 months
[EJB 3.0] - Annotations processing does not work with isolated classload
by snicoll
Hey,
We have an application with a couple of beans where the SessionContext is injected through an annotation. We're using 4.2.2
Everything is working fine. Because we want the EAR file to be deployed alongside another application that uses some shared librairies, we switched the isolation mode by adding the <loader-repository> element in the jboss-app.xml of the ear.
Since then, the session context is not injected anymore. I tried to switch from field annotation to setter annotation and I can see that the debugger is null.
See also this stacktrace
| AdminBean(AbstractSessionBean).setSessionContext(SessionContext) line: 53
| NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
| NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
| DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
| Method.invoke(Object, Object...) line: 585
| MethodBeanProperty.set(Object, Object) line: 95
| EJBContextPropertyInjector.inject(BeanContext, Object) line: 50
| EJBContextPropertyInjector.inject(BeanContext) line: 45
| InfinitePool(AbstractPool).create() line: 111
| org.jboss.ejb3.AbstractPool#injectors.length == 0 => SessionContext not set
| InfinitePool.get() line: 49
| ThreadlocalPool.create() line: 50
| ThreadlocalPool.get() line: 90
| StatelessInstanceInterceptor.invoke(Invocation) line: 54
| EJBContainerInvocation<A,T>(MethodInvocation).invokeNext() line: 101
| RoleBasedAuthorizationInterceptor(RoleBasedAuthorizationInterceptor).invoke(Invocation) line: 166
| RoleBasedAuthorizationInterceptor.invoke(Invocation) line: 115
| EJBContainerInvocation<A,T>(MethodInvocation).invokeNext() line: 101
| Ejb3AuthenticationInterceptor(AuthenticationInterceptor).invoke(Invocation) line: 77
| Ejb3AuthenticationInterceptor.invoke(Invocation) line: 110
| EJBContainerInvocation<A,T>(MethodInvocation).invokeNext() line: 101
| ENCPropagationInterceptor.invoke(Invocation) line: 46
| EJBContainerInvocation<A,T>(MethodInvocation).invokeNext() line: 101
| AsynchronousInterceptor.invoke(Invocation) line: 106
| EJBContainerInvocation<A,T>(MethodInvocation).invokeNext() line: 101
| StatelessContainer.dynamicInvoke(Object, Invocation) line: 304
| Dispatcher.invoke(Invocation) line: 106
| AOPRemotingInvocationHandler.invoke(InvocationRequest) line: 82
| SocketServerInvoker(ServerInvoker).invoke(InvocationRequest) line: 769
| ServerThread.processInvocation(SocketWrapper) line: 573
| ServerThread.dorun() line: 373
| ServerThread.run() line: 166
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213987#4213987
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213987
15 years, 10 months