[JBoss Seam] - Re: External Client and Seam Security
by agnadello
About it being a common scenario or not...
Given the following:
- I'd like to have one single EJB Entity bean model for my application.
- My EJB Entity beans is annotated with the @Restrict tag for use in Seam.
- My Entity beans is configured to use Seam Entity Security (orm.xml).
- I have a non-Seam client who uses the same Entity beans as Seam.
Since my non-Seam client isn't authenticated through Seam, the Seam EntityListener will always throw AuthorizationException on Identity.instance().checkPermission(...).
This was the initial problem which started the effort to login and use Seam security from non-Seam client.
The application have both JSF clients and Quartz POJO clients using the same Entity beans which is (IMHO) not a very uncommon scenario :-)
Anyways, I'll file it to JIRA.
Thanks a lot Shane for the help!
Cheers!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109152#4109152
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109152
18 years, 4 months
[Installation, Configuration & DEPLOYMENT] - Re: org.apache.commons.logging.impl.Log4JLogger does not imp
by jaikiran
anonymous wrote : but when I include it in the ear I get the "Log4JLogger does not implement Log"
Looks like a classloading issue. JBoss already has the commons-logging.jar in it's server lib folder. Since your application too includes it, the classes get loaded from 2 different classloaders. Removing the commons-logging.jar from your application is the easiest way to get rid of this exception.
anonymous wrote :
| If I remove the commons-logging.jar from my jsf.war and deploy within the .ear then the error for Log4JLogger goes away but I get an "Exception processing TLD at resource path /WEB-INF/jsf_core.tld in context..."
This exception might be because of some other reason.
anonymous wrote :
| Trace when the logging-commons is removed from the cpWeb.war/WEB-INF/lib:
|
| 09:42:06,687 ERROR [Context] Error reading tld listeners javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/jsf_core.tld in context /cpWeb
| javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/jsf_core.tld in context /cpWeb
| at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
| at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4282)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
Is that tld file available at that location? Is this all you get in the exception stacktrace? If there's more to the stacktrace then post the entire thing here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109150#4109150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109150
18 years, 4 months
[Messaging, JMS & JBossMQ] - Jboss stress test failure
by paradisonoir
Hi,
I have received error while sending a 2695k message for the sake of my investigations. I encountered such an exception.
Do you guys have any idea if it is the JBOSS limit or something else ?
thanks,
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:09,500 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:09,781 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:17
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:09,796 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,015 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:18
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,031 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,031 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:19
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,046 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,546 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:20
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,546 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,703 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:21
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,703 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,781 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:22
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,796 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,859 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:23
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,875 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:11,093 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:24
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:11,093 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:11,437 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:25
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:11,437 ERROR [JDBCPersistenceManager] Retried 25 times, now giving up
18:17:11,500 ERROR [ChannelSupport] Failed to handle message
java.lang.IllegalStateException: Failed to update references
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4400)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:11,500 ERROR [ServerConnectionEndpoint] The message was not acknowledged b
y destination CoreQueue[61]
18:17:11,515 ERROR [ExceptionUtil] SessionEndpoint[-2147483636] send [5c4o03-941
mg9-f9kh7nr0-1-f9kh9ot7-c]
org.jboss.jms.util.MessagingJMSException: Failed to send message
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(Se
rverConnectionEndpoint.java:738)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessio
nEndpoint.java:456)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$se
rver$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:112)
at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspe
ct.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:
130)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogI
nterceptor.java:105)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSSe
rverInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:556)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:379)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:161)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109147#4109147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109147
18 years, 4 months
[Installation, Configuration & DEPLOYMENT] - Stress test error in JBOSS - sending a 2695k message
by paradisonoir
Hi,
I have received error while sending a 2695k message for the sake of my investigations. I encountered such an exception.
Do you guys have any idea if it is the JBOSS limit or something else ?
thanks,
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:09,500 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:09,781 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:17
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:09,796 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,015 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:18
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,031 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,031 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:19
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,046 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,546 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:20
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,546 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,703 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:21
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,703 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,781 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:22
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,796 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:10,859 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:23
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:10,875 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:11,093 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:24
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:11,093 WARN [JDBCPersistenceManager] Trying again after a pause
18:17:11,437 WARN [JDBCPersistenceManager] SQLException caught - assuming deadl
ock detected, try:25
java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO J
MS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, P
AYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINA
TION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdat
e(WrappedPreparedStatement.java:251)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4384)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:11,437 ERROR [JDBCPersistenceManager] Retried 25 times, now giving up
18:17:11,500 ERROR [ChannelSupport] Failed to handle message
java.lang.IllegalStateException: Failed to update references
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4400)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.updateWithRetr
y(JDBCPersistenceManager.java:4356)
at org.jboss.messaging.core.plugin.JDBCPersistenceManager.addReference(J
DBCPersistenceManager.java:1651)
at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport
.java:833)
at org.jboss.messaging.core.ChannelSupport$HandleRunnable.run(ChannelSup
port.java:1732)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
cutor.java:89)
at java.lang.Thread.run(Thread.java:595)
18:17:11,500 ERROR [ServerConnectionEndpoint] The message was not acknowledged b
y destination CoreQueue[61]
18:17:11,515 ERROR [ExceptionUtil] SessionEndpoint[-2147483636] send [5c4o03-941
mg9-f9kh7nr0-1-f9kh9ot7-c]
org.jboss.jms.util.MessagingJMSException: Failed to send message
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(Se
rverConnectionEndpoint.java:738)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessio
nEndpoint.java:456)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$se
rver$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:112)
at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspe
ct.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:
130)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogI
nterceptor.java:105)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSSe
rverInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:556)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:379)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:161)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109144#4109144
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109144
18 years, 4 months