[JBoss/Spring Integration] - Re: Spring Component Auto Detection
by marius.bogoevici
Thanks for the update.
The problem seems to be that spring-web.jar is included in both the web app and the deployer, where it does not really belong. Try removing the spring-web.jar from the deployer and give it another try.
I'll fix the build not to it.
Generally speaking, try to make sure that you have the spring jars included only in one place (shared libs, deployer, war) and they're visible enough to the component that you want to use them (e.g. if you don't use the deployer, you can put them in the war, if you use the deployer put them in the deployer or shared, etc). The reason why we include a minimal set of jars in the distribution is that this is what you would need to get things running out of the box, if the only thing you need to do is provide an xml to do the bean wiring, but you can use different other setups, as per above, to match your needs.
Marius
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240078#4240078
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240078
15 years, 4 months
[JBoss jBPM] - Error starting a process in jBPM console
by rupam.ghoshal
I am new to jBPM and am doing a proof of concept for my organization. while running a sample application from jBPM console, i get the following error when i click on "Start Process". I think it could be because the application attempts to read an external dtd ?
How to fix this ?
SEVERE: Error Rendering View[/main/task/view.xhtml]
javax.faces.FacesException: Stream error while reading XML: Connection refused: connect
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:522)
at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:978)
at org.jbpm.webapp.tag.jbpm.ui.XmlPrinter.encodeBegin(XmlPrinter.java:113)
at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31)
at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58)
at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
at org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240077#4240077
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240077
15 years, 4 months
[JBoss jBPM] - Installation issues with jBPM 4.0.CR1 on JBoss AS 4.2.3.GA
by tk@ap
Hi!
I am faced with some jBPM 4.0.CR1 installation issues on a fresh JBoss AS 4.2.3.GA instance. Neither the jBPM deployer is 'deployed' nor the ProcessEngine is bound to the JNDI. Does anybody has succeeded to install jBPM 4 in AS 4.2.3?
Error while sample deploy:
| 16:40:54,961 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- Packages waiting for a deployer ---
| org.jboss.deployment.DeploymentInfo@640ea244 { url=file:/C:/Dev/server/jboss-4.2.3.GA/server/default/deploy/process.jpdl.xml }
| deployer: null
| status: null
| state: INIT_WAITING_DEPLOYER
| watch: file:/C:/Dev/server/jboss-4.2.3.GA/server/default/deploy/process.jpdl.xml
| altDD: null
| lastDeployed: 1245940854960
| lastModified: 1245940854955
| mbeans:
|
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@640ea244 { url=file:/C:/Dev/server/jboss-4.2.3.GA/server/default/deploy/process.jpdl.xml }
| deployer: null
| status: null
| state: INIT_WAITING_DEPLOYER
| watch: file:/C:/Dev/server/jboss-4.2.3.GA/server/default/deploy/process.jpdl.xml
| altDD: null
| lastDeployed: 1245940854960
| lastModified: 1245940854955
| mbeans:
|
|
Error while accessing gwt-console:
| javax.naming.NameNotFoundException: ProcessEngine not bound
| org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| org.jnp.server.NamingServer.lookup(NamingServer.java:296)
| org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| javax.naming.InitialContext.lookup(InitialContext.java:392)
| org.jbpm.integration.console.forms.TaskDispatcherPluginImpl.initializeProcessEngine(TaskDispatcherPluginImpl.java:243)
| org.jbpm.integration.console.forms.TaskDispatcherPluginImpl.<init>(TaskDispatcherPluginImpl.java:61)
| sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| java.lang.reflect.Constructor.newInstance(Constructor.java:513)
| java.lang.Class.newInstance0(Class.java:355)
| java.lang.Class.newInstance(Class.java:308)
| org.jboss.bpm.console.server.util.ServiceLoader.loadFromServices(ServiceLoader.java:89)
| org.jboss.bpm.console.server.util.ServiceLoader.loadService(ServiceLoader.java:56)
| org.jboss.bpm.console.server.plugin.PluginMgr.load(PluginMgr.java:48)
| org.jboss.bpm.console.server.InfoFacade.getServerStatus(InfoFacade.java:65)
| org.jboss.bpm.console.server.InfoFacade.getServerInfo(InfoFacade.java:54)
| 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:803)
| org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
Any suggestions?
- Thomas
---
Maybe useful information:
Installation steps:
| * from jboss/ ant install.jbpm.into.jboss
| * from db/ ant create.jbpm.schema
|
Environment:
| * JBoss AS 4.2.3.GA JDK 6, default configuration
| * jBPM 4.0.CR1
| * Hypersonic Database Configuration
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240076#4240076
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240076
15 years, 4 months
[JBoss/Spring Integration] - Re: Spring Component Auto Detection
by mike_mackey
If I don't include int-vfs and int-deployers in the war/lib directory (but I do have them in the spring.deployers directory) I get the following exception
| 15:16:26,116 INFO [TomcatDeployment] deploy, ctxPath=/common-mgt-fw-war, vfsUrl=common-mgt-fw.spring/common-mgt-fw.war
| 15:16:27,701 INFO [[/common-mgt-fw-war]] Initializing Spring root WebApplicationContext
| 15:16:27,702 INFO [STDOUT] 25-Jun-2009 15:16:27 INFO [ContextLoader] - <Root WebApplicationContext: initialization started>
| 15:16:27,804 INFO [STDOUT] 25-Jun-2009 15:16:27 ERROR [ContextLoader] - <Context initialization failed>
| org.springframework.context.ApplicationContextException: Custom context class [org.jboss.spring.factory.VFSXmlWebApplicationContext] is not of type [org.springframework.web.context.ConfigurableWebApplicationContext]
| at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)
| at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
| at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
| at $Proxy36.start(Unknown Source)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240071#4240071
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240071
15 years, 4 months
[Clustering/JBoss] - Two asterisks in JSESSIONID before jvmRoute
by jjfevs
Good evening:
In our clustered environment, we are using 2 JBoss 4.3 and Apache with mod_jk. The jvmRoute of the nodes are Node1 and Node2 respectively.
When some time passes, the JSESSIONID starts failing sometimes, and after a while, is never set in the cookie. The "failure" is, instead of JSESSIONID examples like "(random-string)**.Node1" and "(random-string)**.Node1" , we get the same, but without the random-string and asterisks, only 4 JSESSIONIDs of the kind ".jvmRoute.jvmRoute" thing, what gives us the problem of only 4 sessions that don't work properly.
Also, we have a "exactly identical" (obviously is not) environment in which the asterisks do not appear, more users are logged in, and this problem never happens...
What could be the reason for this two behaviours?
Thank you very much.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240069#4240069
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240069
15 years, 4 months