[ http://jira.jboss.com/jira/browse/JBAS-1462?page=history ]
     
Tom  Elrod resolved JBAS-1462:
------------------------------

     Resolution: Done
    Fix Version: JBossAS-5.0 Alpha

Added comments for remoting service config.

> Unified invoker config needs to expose basic settings
> -----------------------------------------------------
>
>          Key: JBAS-1462
>          URL: http://jira.jboss.com/jira/browse/JBAS-1462
>      Project: JBoss Application Server
>         Type: Bug
>   Components: Remoting
>     Versions: JBossAS-5.0 Alpha
>     Reporter: Scott M Stark
>     Assignee: Tom  Elrod
>      Fix For: JBossAS-5.0 Alpha
>  Attachments: example-service.xml
>
>
> A simple ejb testcase that has the bean method sleep for 90 seconds:
>    public void useCallerForAuth()
>    {
>       try
>       {
>          Thread.sleep(90*1000);
> ...
> fails with a timeout from the transport layer.
>       java.net.SocketTimeoutException: Read timed out; nested exception is: 
>       java.rmi.ConnectException: Failed to communicate.  Problem during 
> marshalling/unmarshalling; nested exception is: 
>       java.net.SocketTimeoutException: Read timed out" 
> type="java.rmi.ServerException">java.rmi.ServerException: Failed to 
> communicate.  Problem during marshalling/unmarshalling; nested exception is: 
>       java.net.SocketTimeoutException: Read timed out; nested exception is: 
>       java.rmi.ConnectException: Failed to communicate.  Problem during 
> marshalling/unmarshalling; nested exception is: 
>       java.net.SocketTimeoutException: Read timed out
>       at 
> org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:118)
>       at 
> org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
>       at 
> org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
>       at 
> org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
>       at 
> org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
>       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:87)
>       at $Proxy3.useCallerForAuth(Unknown Source)
>       at 
> org.jboss.test.jca.test.SecurityContextUnitTestCase.testCallerIdentityPropagation(SecurityContextUnitTestCase.java:65)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       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.rmi.ConnectException: Failed to communicate.  Problem during 
> marshalling/unmarshalling; nested exception is: 
>       java.net.SocketTimeoutException: Read timed out
>       at 
> org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:264)
>       at 
> org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:116)
>       at org.jboss.remoting.Client.invoke(Client.java:197)
>       at 
> org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:102)
>       ... 28 more
> Caused by: java.net.SocketTimeoutException: Read timed out
>       at java.net.SocketInputStream.socketRead0(Native Method)
>       at java.net.SocketInputStream.read(SocketInputStream.java:129)
>       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
>       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
>       at 
> java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
>       at 
> java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2423)
>       at 
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2433)
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1245)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>       at 
> org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:35)
>       at 
> org.jboss.invocation.unified.marshall.InvocationUnMarshaller.read(InvocationUnMarshaller.java:31)
>       at 
> org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:242)
>       ... 31 more
> Basic configuration settings like timeout, port, bind address, socket 
> factories, etc. need to be made manifest in the conf/jboss-service.xml with 
> the attributes/config commented out if needed so that its simple to update 
> these settings.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to