[jboss-user] [JBoss Cache Users] - upgradeLock(): failed
We are attempting to get the second level cache going within JBoss 4.2.2 under anything more then a little load we start getting many upgradeLock exceptions. I haven't been able to find any information on the exception or how to troubleshoot it. 6:41:00,973 ERROR Line: 124 [org.jboss.cache.lock.ReadWriteLockWithUpgrade] upgradeLock(): failed | 16:41:00,979 ERROR Line: 301 [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session | org.hibernate.cache.CacheException: org.jboss.cache.lock.UpgradeException failure upgrading lock: fqn=/MeetMoi_ear,mDate-ejb_jar,matching-ejbPU/com/mdate/ejb/matching/UserCacheEntity/com.mdate.ejb.matching.UserCacheEntity#8889CAE0CFD2F407013079880AD89C6D, caller=GlobalTransaction:192.168.1.186:40795:40, lock=read owners=[GlobalTransaction:192.168.1.186:40795:38] (activeReaders=1, activeWriter=null, waitingReaders=1, waitingWriters=0, waitingUpgrader=0) | Thanks J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265375#4265375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Purpose of IF statement in run.conf
The following statement is in run.conf # | # Specify options to pass to the Java VM. | # | if [ x$JAVA_OPTS = x ]; then |JAVA_OPTS=-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | fi | Can someone tell me what is the purpose of the if statement? I assume it's trying to detect if people are passing in via the command line memory settings and therefore not use the ones configured... Is there any other purpose? J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227660#4227660 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging IllegalMonitorStateException
We have having the exact same problem. Some additional details: We are using JBoss 4.2.3. The problem only started happening when we switched our application from 4.2.2 to 4.2.3 AND from using the default configuration to the all configuration in preparation for clustering. Was there any resolution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194913#4194913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails
Anyone have any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179661#4179661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails
Bump. Any ideas here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179117#4179117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JConsole, JWS, JMX and JBoss 4.2.2 Fails
I am trying to set up JBoss 4.2.2 and JConsole for remote monitoring. I've added the following to run.conf JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.port=11099 JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false This bug points to a work around https://jira.jboss.org/jira/browse/JBWS-1943, however it doesn't work and the workaround doesn't seem to be for using JConsole remotely? I've been generally following the following guide; http://www.componative2.com/content/controller/developer/insights/jconsole2 --- The exception I see: 13:06:56,418 INFO [TomcatDeployer] performDeployInternal :: deploy, ctxPath=/services, warUrl=.../tmp/deploy/tmp34585x.ear-contents/mDate-Services-exp.war/ 13:06:57,706 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080' 13:06:57,711 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080' 13:06:58,070 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080' 13:06:58,071 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080' 13:06:58,138 ERROR [MainDeployer] start :: Could not start deployment: file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp34585x.ear-contents/mDate-Services.war java.lang.NullPointerException at org.jboss.wsf.stack.jbws.WSDLFilePublisher.getPublishLocation(WSDLFilePublisher.java:303) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:103) at org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.create(PublishContractDeploymentAspect.java:52) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178624#4178624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JVM Crash with JBoss 4.2.2
We swapped in new hardware and the problem has gone away. I'm assuming it was bad memory or something. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178626#4178626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails
As described in: http://jbossws.jboss.org/mediawiki/index.php?title=FAQ#How_to_use_JDK_JMX_JConsole_with_JBossWS.3F If I change run.conf to: JAVA_OPTS=$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl JAVA_OPTS=$JAVA_OPTS -Djboss.platform.mbeanserver JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.port=11099 JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false I get the following exception when deploying a sar file that has a couple of Schedulable classes: Caused by: java.lang.NullPointerException at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.hash(ConcurrentReaderHashMap.java:298) at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(ConcurrentReaderHashMap.java:410) at org.jboss.mx.server.registry.BasicMBeanRegistry.getMBeanMap(BasicMBeanRegistry.java:959) at org.jboss.mx.server.registry.BasicMBeanRegistry.contains(BasicMBeanRegistry.java:577) at org.jboss.mx.server.MBeanServerImpl.isRegistered(MBeanServerImpl.java:539) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:101) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) ... 80 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178634#4178634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JVM Crash with JBoss 4.2.2
I noticed that in both crashs the pergen / object space is pretty much full. As I understand it this memory doesn't get garbage collected.. Next time it happens I'm going to try increasing the default perm gen... I believe the default is 64MB, I'll change it 128MB.. Any help is appreciated. Jeremy Heap PSYoungGen total 92480K, used 64027K [0x78f8, 0x7f30, 0x7f30) eden space 83072K, 69% used [0x78f8,0x7c7d9988,0x7e0a) from space 9408K, 67% used [0x7e9d,0x7effd2d0,0x7f30) to space 9408K, 0% used [0x7e0a,0x7e0a,0x7e9d) PSOldGen total 815616K, used 535297K [0x4730, 0x78f8, 0x78f8) object space 815616K, 65% used [0x4730,0x67dc06b0,0x78f8) PSPermGen total 57472K, used 56956K [0x4330, 0x46b2, 0x4730) object space 57472K, 99% used [0x4330,0x46a9f360,0x46b2) -- Heap PSYoungGen total 94976K, used 6231K [0x78f8, 0x7f30, 0x7f30) eden space 88000K, 0% used [0x78f8,0x78f8,0x7e57) from space 6976K, 89% used [0x7ec3,0x7f245d58,0x7f30) to space 6912K, 0% used [0x7e57,0x7e57,0x7ec3) PSOldGen total 815616K, used 815139K [0x4730, 0x78f8, 0x78f8) object space 815616K, 99% used [0x4730,0x78f08d00,0x78f8) PSPermGen total 56448K, used 56185K [0x4330, 0x46a2, 0x4730) object space 56448K, 99% used [0x4330,0x469de518,0x46a2) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176338#4176338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4176338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - @TransactionTimeout Not working in JBos 4.2.2-GA
No matter what method I put the @TransactionTimeout(1500) attribute it never seems to have any effect. The document http://wiki.jboss.org/wiki/TransactionTimeout seems to suggest it should on any public method. Is this not implemented? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171144#4171144 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB-QL: LIMIT / OFFSET not working
The following query, when deployed throws a parsing error: SELECT OBJECT(o) FROM Conversation o WHERE (o.toUserID = ?1 OR o.fromUserID= ?1) AND (o.toUserID = ?2 OR o.fromUserID = ?2) ORDER BY o.timestamp DESC OFFSET ?3 LIMIT ?4 --- 12:43:10,826 ERROR [ConversationBean#findByUsers] ::: Encountered OFFSET at line 6, column 27. Was expecting one of: , ... As far as I can see I am using this correctly, any suggestions? J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079699#4079699 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user