[Performance Tuning] New message: "Jboss is crashing and throwing Out of swap space error."
by mouli chandra
User development,
A new message was posted in the thread "Jboss is crashing and throwing Out of swap space error.":
http://community.jboss.org/message/518968#518968
Author : mouli chandra
Profile : http://community.jboss.org/people/dmouli
Message:
--------------------------------------------------------------
Hi,
We have deployed our product in jboss4.02 server in windows environment.
we are getting the following exception while hitting the server with *5 concurrent requests*.
*Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 1383*
*13736 bytes for Chunk::new. Out of swap space?*
*Press any key to continue . . .*
It is working fine with single request and failing in multi user environment only.
We deployed the same jboss with our application in *Linux * environment it is *working fine and it is not crashing*.
And also we deployed the same application in *+WEB LOGIC+* server in *Windows*** environment , it is working fine *with out any crashes* for n number users.
Please help us to resolve the issue.
Thanks in advance
Mouli.D
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518968#518968
14 years, 4 months
[Beginner's Corner] New message: "Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA"
by Jamie S
User development,
A new message was posted in the thread "Strange desktop problem: Gnome locks up when I start JBoss5.1GA":
http://community.jboss.org/message/518964#518964
Author : Jamie S
Profile : http://community.jboss.org/people/jamie.s
Message:
--------------------------------------------------------------
Thanks for the good ideas, Peter!
Earlier, I think I said 10 seconds after JBoss started, by which I meant after the "started in..." message. Oops, Sorry...
Actually, I am running a custom config, which is built for our custom deployment, which includes default + some bits of 'all', including the jboss-cache components and the HA components.
I will try launching clean default and all, and the IPv4 only configs.
Thanks!
Jamie.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518964#518964
14 years, 4 months
[JBoss Cache] New message: "Re: Preload second level cache"
by Brian Stansberry
User development,
A new message was posted in the thread "Preload second level cache":
http://community.jboss.org/message/518961#518961
Author : Brian Stansberry
Profile : http://community.jboss.org/people/bstansberry@jboss.com
Message:
--------------------------------------------------------------
I take it populating the cache by reading the data from the db is not an option? Coordinating this across the cluster using something like the JBoss AS HASingleton or a clustered Quartz job?
The reasons use of a CacheLoader is considered incorrect in the JPA/Hibernate use case are:
1) What's the point of adding another moving part when there's already another persistent store of the data? Well, if you've got a use case you really can't solve a better way, this reason is somewhat negated.
2) Writing to the CacheLoader every time the data changes is expensive. But if it never changes, you only bear this cost the first time you populate the cache.
3) You've now got two copies of the data that can fall out of sync, e.g. you shut the cluster down and while it's down someone changes the database. Restart the cluster and you won't see those changes in your app. If you don't use a shared cache loader, this problem is much worse; you've got n + 1 copies of the data, where n is cluster size.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518961#518961
14 years, 4 months
[JBoss Web Services] New message: "JBoss 5.0.1 for jdk 1.6 web services configuration"
by Gorkem Turan
User development,
A new message was posted in the thread "JBoss 5.0.1 for jdk 1.6 web services configuration":
http://community.jboss.org/message/518952#518952
Author : Gorkem Turan
Profile : http://community.jboss.org/people/gturan@acm-software.com
Message:
--------------------------------------------------------------
Hello everybody !
I have been struggling for two days to use an amazon web service on jboss 5.0.1 (I downloaded the one for jdk 1.6). From the other forms I saw running web services on jboss with jdk 1.6 platform is tricky but I did not guess it will be that terrible. Anyways when I triggered the action using the web service I get this error in the console:
14:39:52,202 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:397)
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:303)
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
14:39:52,202 ERROR [STDERR] at $Proxy135.itemSearch(Unknown Source)
14:39:52,202 ERROR [STDERR] at com.corejsf.AuthorSearchBean.search(AuthorSearchBean.java:38)
14:39:52,204 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:39:52,204 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
14:39:52,204 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
14:39:52,204 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
14:39:52,204 ERROR [STDERR] at org.apache.el.parser.AstValue.invoke(AstValue.java:170)
14:39:52,204 ERROR [STDERR] at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
14:39:52,204 ERROR [STDERR] at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
14:39:52,204 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
14:39:52,204 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
14:39:52,204 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:387)
14:39:52,204 ERROR [STDERR] at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
14:39:52,204 ERROR [STDERR] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
14:39:52,204 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
14:39:52,204 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
14:39:52,204 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
14:39:52,204 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
14:39:52,205 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
14:39:52,205 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
14:39:52,205 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
14:39:52,205 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
14:39:52,205 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
14:39:52,205 ERROR [STDERR] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
14:39:52,205 ERROR [STDERR] at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:82)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:57)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:157)
14:39:52,206 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:290)
14:39:52,206 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:291)
14:39:52,206 ERROR [STDERR] ... 40 more
Any help will be appreciated. Thanks in advance.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518952#518952
14 years, 4 months
[JBoss Web Services] Document updated/added: "JBoss 5.0.1 for jdk 1.6 web services configuration"
by Gorkem Turan
User development,
The document "JBoss 5.0.1 for jdk 1.6 web services configuration", was updated Jan 8, 2010
by Gorkem Turan.
To view the document, visit:
http://community.jboss.org/docs/DOC-14607#cf
Document:
--------------------------------------------------------------
Hello everybody !
I have been struggling for two days to use an amazon web service on jboss 5.0.1 (I downloaded the one for jdk 1.6). From the other forms I saw running web services on jboss with jdk 1.6 platform is tricky but I did not guess it will be that terrible. Anyways when I triggered the action using the web service I get this error in the console:
14:39:52,202 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:397)
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:303)
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
14:39:52,202 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
14:39:52,202 ERROR [STDERR] at $Proxy135.itemSearch(Unknown Source)
14:39:52,202 ERROR [STDERR] at com.corejsf.AuthorSearchBean.search(AuthorSearchBean.java:38)
14:39:52,204 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:39:52,204 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
14:39:52,204 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
14:39:52,204 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
14:39:52,204 ERROR [STDERR] at org.apache.el.parser.AstValue.invoke(AstValue.java:170)
14:39:52,204 ERROR [STDERR] at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
14:39:52,204 ERROR [STDERR] at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
14:39:52,204 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
14:39:52,204 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
14:39:52,204 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:387)
14:39:52,204 ERROR [STDERR] at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
14:39:52,204 ERROR [STDERR] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
14:39:52,204 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
14:39:52,204 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
14:39:52,204 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
14:39:52,204 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
14:39:52,204 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
14:39:52,204 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
14:39:52,205 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
14:39:52,205 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
14:39:52,205 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
14:39:52,205 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
14:39:52,205 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
14:39:52,205 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
14:39:52,205 ERROR [STDERR] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
14:39:52,205 ERROR [STDERR] at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:82)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:57)
14:39:52,205 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:157)
14:39:52,206 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:290)
14:39:52,206 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:291)
14:39:52,206 ERROR [STDERR] ... 40 more
Any help will be appreciated. Thanks in advance.
This document was generated from the following thread: http://community.jboss.org/thread/146547
--------------------------------------------------------------
14 years, 4 months
[Performance Tuning] New message: "Re: CPU usage increases daily for JBoss PID, reaches to 100% after 10 days."
by Scott Marlow
User development,
A new message was posted in the thread "CPU usage increases daily for JBoss PID, reaches to 100% after 10 days.":
http://community.jboss.org/message/518946#518946
Author : Scott Marlow
Profile : http://community.jboss.org/people/smarlow@redhat.com
Message:
--------------------------------------------------------------
> I doubt that Hashmap is corrupted. the reason is, we are using struts2, which handles every request in different thread, hence different thread is using different hashmap, Also the result screen does not have any issue althoguh being accessed simulatneously by 400 to 500 users.
Looking at the thread dump, that is still the mostly likely cause (whether the hashmap is shared between threads or not).
If you have a support contract with Red Hat, give us a call. If not, get one soon (help Red Hat to better help you .
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518946#518946
14 years, 4 months