[jboss-dev] Re: EJB3 remote invocation broken in AS50
Anil Saldhana
Anil.Saldhana at redhat.com
Tue Jun 12 10:19:28 EDT 2007
This is in fact a remoting issue that was identified at the AS level few
days back. I do not remember what the resolution of that was. Either it
was an upgrade of remoting jars or class path issue. Dimitris/Ron?
Anil Saldhana wrote:
> Not touched EJB3 code base for months now. :)
>
> Want to touch it. But issues of back porting and other blah blah have
> stopped me.
>
> Carlo de Wolf wrote:
>> I blame Anil. :-)
>> Bill & I are in Boston office doing JBoss AS meetings, so it's not us.
>>
>> Carlo
>>
>> On Tue, 2007-06-12 at 13:27 +0200, Thomas Diesler wrote:
>>
>>> Generally all EJB3 remote invocation seems to be broken.
>>>
>>> java.rmi.MarshalException: Failed to communicate. Problem during
>>> marshalling/unmarshalling; nested exception is:
>>> java.io.NotSerializableException: org.jboss.invocation.Invocation
>>> at
>>> org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)
>>>
>>> at
>>> org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:644)
>>>
>>> at
>>> org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
>>>
>>> at org.jboss.remoting.Client.invoke(Client.java:1550)
>>> at org.jboss.remoting.Client.invoke(Client.java:530)
>>> at
>>> org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:161)
>>>
>>> at
>>> org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:244)
>>>
>>> at
>>> org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:181)
>>>
>>> at
>>> org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
>>>
>>> at
>>> org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:86)
>>> at
>>> org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
>>> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
>>> at $Proxy2.create(Unknown Source)
>>> at
>>> org.jboss.test.ws.jaxrpc.serviceref.ServiceRefEJBTestCase.testEJBClient(ServiceRefEJBTestCase.java:80)
>>>
>>> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>>> at junit.extensions.TestSetup.run(TestSetup.java:23)
>>> Caused by: java.io.NotSerializableException:
>>> org.jboss.invocation.Invocation
>>> at
>>> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
>>> at
>>> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
>>>
>>> at
>>> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
>>>
>>> at
>>> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>>>
>>> at
>>> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>>> at
>>> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>>> at
>>> org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObjectVersion2_2(JavaSerializationManager.java:120)
>>>
>>> at
>>> org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:95)
>>>
>>> at
>>> org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:120)
>>>
>>> at
>>> org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:967)
>>>
>>> at
>>> org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:557)
>>>
>>> ... 31 more
>>>
>>> On Tue, 2007-06-12 at 12:38 +0200, Thomas Diesler wrote:
>>>
>>>> Hi Carlo,
>>>>
>>>> there seem to be basic EJB3 security problems
>>>>
>>>> http://jbws.dyndns.org:8280/hudson/job/Core-Tests-AS-5.0/26/testReport/org.jboss.test.ws.jaxrpc.samples.secureejb/SecureEJBTestCase/testBasicSecuredSLSB/
>>>>
>>>>
>>>> This is a remote client trying to connect to an unsecured SLSB.
>>>>
>>>> -thomas
>>>>
>>>>
>>
>>
>
--
Anil Saldhana
Project/Technical Lead,
JBoss Security & Identity Management
http://labs.jboss.com/portal/jbosssecurity/
More information about the jboss-development
mailing list