[JBoss JIRA] Closed: (JBAS-2145) Testsuite JBossMQ destination deployment is broken
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2145?page=all ]
Dimitris Andreadis closed JBAS-2145.
------------------------------------
Fix Version/s: (was: JBossAS-5.0.0.Beta3)
Resolution: Out of Date
I suppose this is not current anymore?
> Testsuite JBossMQ destination deployment is broken
> --------------------------------------------------
>
> Key: JBAS-2145
> URL: http://jira.jboss.com/jira/browse/JBAS-2145
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Affects Versions: JBossAS-5.0.0.Beta1
> Reporter: Adrian Brock
> Assigned To: Sacha Labourey
>
> The change to only deploy destinations as part of the testsuite run
> is broken. e.g.
> 2005-08-19 15:03:28,885 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/scratch/cruisecontrol/checkout/jboss-head-testsuite/testsuite/outp
> ut/resources/messaging/test-destinations-full-service.xml
> org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq.destination:name=A,service=Queue
> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:72)
> at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:429)
> at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:151)
> at org.jboss.system.ServiceController.install(ServiceController.java:216)
> at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
> Sacha, why did you change this?
> This needs fixing properly anyway such that the tests run against both JBossMQ and JBoss Messaging.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Created: (JBAS-4484) org.jboss.security.auth.callback.MapCallback not serializable
by Dirk Gfroerer (JIRA)
org.jboss.security.auth.callback.MapCallback not serializable
-------------------------------------------------------------
Key: JBAS-4484
URL: http://jira.jboss.com/jira/browse/JBAS-4484
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security
Affects Versions: JBossAS-4.0.5.GA
Environment: Linux ghlx06 2.4.21-50.EL #1 SMP Tue May 8 17:10:00 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
RHEL 3 x86_64
Reporter: Dirk Gfroerer
Assigned To: Scott M Stark
I'm securing access to my EJBs via a security domain. Everything was working fine until I had to add a second login module to my application-policy in login-config.xml. I now do have to login-modules both of them are flagged as being sufficient. However if now a user tries to login and uses an invalid account / password I get the following exception:
Exception in thread "main" java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jboss.security.auth.callback.MapCallback
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy0.create(Unknown Source)
at de.guhsoft.eDHR.OrderManager.testclient.GetUserInformation.doAction(GetUserInformation.java:71)
at de.guhsoft.eDHR.OrderManager.testclient.GetUserInformation.main(GetUserInformation.java:92)
Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jboss.security.auth.callback.MapCallback
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
... 12 more
Caused by: java.io.NotSerializableException: org.jboss.security.auth.callback.MapCallback
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
at java.lang.Throwable.writeObject(Throwable.java:648)
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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:343)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-814) MBean class is incorrect at performance framework
by Vinicius Carvalho (JIRA)
MBean class is incorrect at performance framework
-------------------------------------------------
Key: JBMESSAGING-814
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-814
Project: JBoss Messaging
Issue Type: Bug
Components: Tests and Performance
Affects Versions: 1.2.0.Beta2
Reporter: Vinicius Carvalho
Assigned To: Ovidiu Feodorov
Priority: Minor
I have downloaded the performance tests from svn trunk today. Trying to get it running I was getting the following error from my jboss instance: No ClassLoaders found for: org.jboss.jms.server.destination.Queue. When checking the artifacts/message-destinations-service.xml I've noticied that instead of org.jboss.jms.server.destination.QueueService for my mbean classes it contains: org.jboss.jms.server.destination.Queue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-977) JMSRemotingConnection.setFailed() has a redundant call to org.jboss.remoting.Client.disconnect()
by Ron Sigal (JIRA)
JMSRemotingConnection.setFailed() has a redundant call to org.jboss.remoting.Client.disconnect()
------------------------------------------------------------------------------------------------
Key: JBMESSAGING-977
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-977
Project: JBoss Messaging
Issue Type: Bug
Reporter: Ron Sigal
Assigned To: Tim Fox
Priority: Minor
The call client.disconnect() occurs twice, and the first one should be removed. The result of the first call is that the subsequent call to client.removeListener(callbackManager) fails:
2007-05-25 11:52:12,956 415134 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] (Thread-353:) JMSRemotingConnection[bisocket://10.5.2.224:4457/?NumberOfCallRetries=10&clientMaxPoolSize=100&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=5&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] failed to cleanly remove callback manager from the client
java.lang.Exception: Can not remove callback listener as remoting client is not connected to server.
at org.jboss.remoting.Client.removeListener(Client.java:1090)
at org.jboss.jms.client.remoting.JMSRemotingConnection.setFailed(JMSRemotingConnection.java:340)
at org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:100)
at org.jboss.jms.client.container.ConnectionFailureListener.handleConnectionException(ConnectionFailureListener.java:57)
at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:83)
at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:346)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-927) java.io.IOException: EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap$Segment; class invalid for deserialization
by David (JIRA)
java.io.IOException: EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap$Segment; class invalid for deserialization
------------------------------------------------------------------------------------------------------------------
Key: JBMESSAGING-927
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-927
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Remoting
Affects Versions: 1.2.0.GA
Environment: jboss 4.2.0CR1, java 1.5, jboss messaging 1.2.0ga
Reporter: David
Assigned To: Ovidiu Feodorov
09:58:12,495 ERROR [ServerThread] failed
java.io.IOException: EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap$Segment; class invalid for deserialization
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:571)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:479)
at EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1205)
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:585)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at org.jboss.jms.wireformat.SerializedPacket.read(SerializedPacket.java:72)
at org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:307)
at org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:641)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:523)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:377)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
09:58:14,711 WARN [Lease] Tried to terminate lease for session id 5c4o1w13-o9260j-ezjuc4ur-1-ezjuc5w1-4, but no collection of clients have been set.
09:58:14,711 WARN [Lease] Tried to terminate lease for session id null, but no collection of clients have been set.
That exception can be caused when using the jboss-messaging-client.jar that ships with the jboss-messaging release. The jboss-messaging-client.jar contains a version of EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap$Segment that implements Serializable. However, the jboss app server contains a "concurrent.jar" that has a version of ConcurrentHashMap$Segment that does not implement Serializable. Replacing the version of lib/concurrent.jar with a version of concurrent.jar that contains a ConcurrentHashMap$Segment that implements Serializable will solve this issue.
This situation occurs when you have a remote client that sends a message to a Queue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months