[JBoss Cache] - Jboss Cache stuck thread
by Alex Alex
Alex Alex [http://community.jboss.org/people/alex12345x] created the discussion
"Jboss Cache stuck thread"
To view the discussion, visit: http://community.jboss.org/message/645383#645383
--------------------------------------------------------------
Hi,
I'm having issues with a stuck thread on JbossCache put operation. After examining the thread dump I've found the following thread which seems to be stuck:
Name: pool-2-thread-339
State: RUNNABLE
Total blocked: 1 Total waited: 0
Stack trace:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
oracle.net.ns.Packet.receive(Unknown Source)
oracle.net.ns.DataPacket.receive(Unknown Source)
oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1104)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1075)
oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:480)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3423)
- locked oracle.jdbc.driver.T4CPreparedStatement@8acf6a
- locked oracle.jdbc.driver.T4CConnection@13774f3
org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedStatement.java:95)
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251)
org.jboss.cache.loader.JDBCCacheLoader.updateNode(JDBCCacheLoader.java:1082)
org.jboss.cache.loader.JDBCCacheLoader.put(JDBCCacheLoader.java:332)
org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:183)
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:211)
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:39)
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:379)
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:174)
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5934)
org.jboss.cache.TreeCache.put(TreeCache.java:3862)
sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:279)
javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
$Proxy162.put(Unknown Source)
All of the other reading threads are in a blocked state because of this thread.
Other details:
- I'm using Jboss 4.0.5, Jboss-cache 1.4.1 SP10.
Any idea about what might be the problem here?
Thank you
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645383#645383]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[jBPM] - Failed to look up Process Engine
by S V S G Krishna Murthy K
S V S G Krishna Murthy K [http://community.jboss.org/people/murthy516] created the discussion
"Failed to look up Process Engine"
To view the discussion, visit: http://community.jboss.org/message/645378#645378
--------------------------------------------------------------
Hi All,
I deployed gwt console war files in JBoss 5.1.0GA deploy folder after obtaining war file from https://github.com/bpmc/bpm-console https://github.com/bpmc/bpm-console..I'm unable to proceed after opening the console.My exception trace is
2012-01-09 16:04:48,079 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-localhost%2F127.0.0.1-8080-3) Servlet.service() for servlet Resteasy threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Failed to lookup process engine
at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)
at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
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:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Failed to lookup process engine
at org.jbpm.integration.console.JBPMIntegration.initializeProcessEngine(JBPMIntegration.java:50)
at org.jbpm.integration.console.JBPMIntegration.<init>(JBPMIntegration.java:38)
at org.jbpm.integration.console.ProcessManagementImpl.<init>(ProcessManagementImpl.java:44)
at org.jbpm.integration.console.ManagementFactoryImpl.createProcessManagement(ManagementFactoryImpl.java:37)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:86)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
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.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
... 30 more
Caused by: javax.naming.NameNotFoundException: ProcessEngine not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jbpm.integration.console.JBPMIntegration.initializeProcessEngine(JBPMIntegration.java:46)
... 44 more
Please help me how to solve this situation
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645378#645378]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[JBoss Tools] - 3.3M4 deployment problem
by Andrea Polci
Andrea Polci [http://community.jboss.org/people/apolci] created the discussion
"3.3M4 deployment problem"
To view the discussion, visit: http://community.jboss.org/message/642883#642883
--------------------------------------------------------------
Hello,
I'm not sure if my problem is related to JBoss Tools or the underliing WTP.
I have an ear (A.ear) project includin an ejb project (B.jar), that depends on an utility module (C.jar). They are all maven projects that I impoerted in Eclise.
If i build the ear in maven all works fine, but if instead I deploy to a local Jboss server throught the Servers view (full publish) it doesn't work.
The problem is that the C.jar that is deployed to the server *doesn't contains generated binaries but the content of the src folder* of the project (main/java/.....)
I checked all I can think about, (dependency configuration of the projects, facets, ...) and I tried to remove the projects from eclipse e re-import them, the result is always the same.
The strange thing is that anore utility module, used in the same exact way, and with the same project configuration is deployed correctly.
Someone already had a similar problem?
Any suggestion on what I should check?
Thanks,
Andrea Polci
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/642883#642883]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[JBoss Tools] - Static resource not found for path query.maskedinput-1.3.js
by Juan Pusong
Juan Pusong [http://community.jboss.org/people/juanpusong] created the discussion
"Static resource not found for path query.maskedinput-1.3.js"
To view the discussion, visit: http://community.jboss.org/message/645337#645337
--------------------------------------------------------------
I am trying to incorporate a jquery plugin (query.maskedinput-1.3.js) in my RichFaces (richfaces-ui-3.3.3.Final) application. When I try to run the app in debug mode on an Eclipse IDE (Helios) with JBoss Tools RichFaces v 3.2.0.v20110119-2004-H17-CR1 the app throws the following exception:
javax.servlet.ServletException: Static resource not found for path query.maskedinput-1.3.js
javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
*root cause*
org.ajax4jsf.resource.ResourceNotFoundException: Static resource not found for path query.maskedinput-1.3.js
org.ajax4jsf.resource.ResourceBuilderImpl.createStaticResource(ResourceBuilderImpl.java:463)
org.ajax4jsf.resource.ResourceBuilderImpl.createResource(ResourceBuilderImpl.java:267)
org.ajax4jsf.application.AjaxViewHandler.getResourceURL(AjaxViewHandler.java:142)
org.ajax4jsf.renderkit.LoadResourceRendererBase.encodeToHead(LoadResourceRendererBase.java:83)
org.ajax4jsf.context.ViewResources.processComponent(ViewResources.java:342)
org.ajax4jsf.context.ViewResources.traverse(ViewResources.java:381)
org.ajax4jsf.context.ViewResources.traverse(ViewResources.java:385)
org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:514)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
It happens only in debug mode. However, when I run the application in Tomcat, the error does not occur and the masked fields works fine indicating that the jquery plugin is working properly.
Here's a snippet of my code:
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j">
>
> <f:loadBundle basename="crms-messages" var="labels"/>
> <a4j:loadScript src="resource://jquery.js"/>
> <a4j:loadScript src="resource://query.maskedinput-1.3.js"/>
> <head>
> <title><h:outputText value="#{labels.crmsSystemName}"/></title>
> </head>
>
> <body style="width:800px; height:400px;">
> <rich:panel id="entryPanel" style="width:300px; margin:0 auto;" >
> <f:facet name="header">
> <h:outputText value="Data Entry Form"/>
> </f:facet>
>
> <h:form>
> <h:panelGrid columns="2">
> <h:outputText value="Date Field"/>
> <h:inputText id="myDateFld" value="" size="20">
> <rich:jQuery selector="#myDateFld"
> query="mask('99/99/9999',{placeholder:' '})" timing="onload"/>
> </h:inputText>
> </h:panelGrid>
>
>
> <h:panelGroup style="text-align:right;"">
> <h:commandButton action="#{myBean.nextView}"
> actionListener="#{myBean.entryListener}" value="Entry"/>
> </h:panelGroup>
> </h:form>
> </rich:panel>
> </body>
> </html>
>
>
>
Here's additional info that might help:
OS: Windows 7
JDK v 1.6.0.0_29
Tomcat : v7.0.6.
What is probably wrong. Any help would be greatly appreciated.
Thanks in advance
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645337#645337]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[JBoss Messaging] - Re: HeuristicMixedException: cause and remedy?
by Craig Watcham
Craig Watcham [http://community.jboss.org/people/watchamcb] created the discussion
"Re: HeuristicMixedException: cause and remedy?"
To view the discussion, visit: http://community.jboss.org/message/645319#645319
--------------------------------------------------------------
The cause of this issue in our production environment appears to be result of the maxSession attribute on the MDB being greater than the max-pool-size in the DataSource descriptor. Under heavy load the MDB was unable to retrieve a connection from the pool and would try and roll-back the transaction which would then throw HeuristicMixedException. In JBoss 4.2.2 the stack trace on the actual cause is below, issue was resolved by increasing the pool size in *-ds.xml descriptor to be greater than the MDB session size.
Caused by: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] )
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:301)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
Hope this helps...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645319#645319]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months