5 Replies Latest reply on Aug 22, 2012 3:33 AM by ochaloup

    WARN: Unsupported message received with header 0xffffffff

    cygan

      Hello. I have problem with remote connection.

       

       

      My client class:

       

       

      import java.util.Hashtable;
      
      import javax.naming.Context;
      import javax.naming.InitialContext;
      import javax.naming.NamingException;
      
      
      public class Main {
       public static void main(String[] args) {
       // TODO Auto-generated method stub
       final Hashtable jndiProperties = new Hashtable();
              jndiProperties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
              jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");
              jndiProperties.put(Context.PROVIDER_URL,"remote://localhost:4447");
              jndiProperties.put(Context.SECURITY_PRINCIPAL,"wojtek");
      
              jndiProperties.put(Context.SECURITY_CREDENTIALS, "haslo");
              try {
                   final String appName = "";
                   final String moduleName = "Test1EJB";
                   final String distinctName = "";
       final Context context = new InitialContext(jndiProperties);
       final String beanName = Test1.class.getSimpleName();
       final String viewClassName = Test1Remote.class.getName();
       System.out.println("ejb:"+appName+"/"+moduleName+"/"+ distinctName+"/"+beanName+"!"+viewClassName);
       System.out.println(((Test1Remote)context.lookup("ejb:" + appName + "/" + moduleName + "/" + distinctName + "/" + beanName + "!" + viewClassName)).getMessage());
       System.out.println("#############");System.out.println("#############");System.out.println("#############");
      
              } catch (NamingException e) {
       // TODO Auto-generated catch block
       e.printStackTrace();
       }
       }
      
       /* (non-Java-doc)
       * @see java.lang.Object#Object()
       */
       public Main() {
       super();
       }
      
      }
      
      
      

       

      Console after run:

       

       

      sie 20, 2012 8:33:37 PM org.xnio.Xnio <clinit>
      INFO: XNIO Version 3.0.3.GA
      sie 20, 2012 8:33:37 PM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.0.3.GA
      sie 20, 2012 8:33:37 PM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 3.2.3.GA
      ejb:/Test1EJB//Test1!Test1Remote
      sie 20, 2012 8:33:41 PM org.jboss.ejb.client.EJBClient <clinit>
      INFO: JBoss EJB Client version 1.0.5.Final
      sie 20, 2012 8:33:43 PM org.jboss.ejb.client.remoting.VersionReceiver handleMessage
      INFO: Received server version 1 and marshalling strategies [river]
      sie 20, 2012 8:33:43 PM org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver associate
      INFO: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@4a7629, receiver=Remoting connection EJB receiver [connection=Remoting connection <d0a12d>,channel=jboss.ejb,nodename=wojtek-komputer]} on channel Channel ID 8b8b74f7 (outbound) of Remoting connection 015ef45a to localhost/127.0.0.1:4447
      sie 20, 2012 8:33:43 PM org.jboss.ejb.client.remoting.ChannelAssociation$ResponseReceiver handleMessage
      WARN: Unsupported message received with header 0xffffffff
      
      

       

       

       

       

      and jboss console:

       

      19:15:30,781 ERROR [stderr] (Remoting "wojtek-komputer" task-1) Exception in thread "Remoting "wojtek-komputer" task-1" java.lang.RuntimeException: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      19:15:30,784 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:136)
      
      
      19:15:30,785 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.as.ejb3.remote.protocol.versionone.VersionOneProtocolChannelReceiver.handleMessage(VersionOneProtocolChannelReceiver.java:170)
      
      
      19:15:30,787 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:437)
      
      
      19:15:30,788 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      
      
      19:15:30,790 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      
      
      19:15:30,792 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at java.lang.Thread.run(Thread.java:722)
      
      
      19:15:30,793 ERROR [stderr] (Remoting "wojtek-komputer" task-1) Caused by: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      19:15:30,796 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      
      
      19:15:30,798 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      
      
      19:15:30,799 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      
      
      19:15:30,802 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      
      
      19:15:30,803 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      
      
      19:15:30,804 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at java.lang.Class.forName0(Native Method)
      
      
      19:15:30,805 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at java.lang.Class.forName(Class.java:264)
      
      
      19:15:30,806 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:135)
      
      
      19:15:30,814 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:116)
      
      
      19:15:30,815 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:870)
      
      
      19:15:30,816 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1314)
      
      
      19:15:30,818 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      19:15:30,819 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      19:15:30,821 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677)
      
      
      19:15:30,822 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverObjectInputStream.defaultReadObject(RiverObjectInputStream.java:73)
      
      
      19:15:30,823 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.ejb.client.EJBLocator.readObject(EJBLocator.java:220)
      
      
      19:15:30,825 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      
      19:15:30,826 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      
      
      19:15:30,827 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      
      19:15:30,831 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at java.lang.reflect.Method.invoke(Method.java:601)
      
      
      19:15:30,832 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:213)
      
      
      19:15:30,833 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1580)
      
      
      19:15:30,834 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1557)
      
      
      19:15:30,836 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235)
      
      
      19:15:30,837 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      19:15:30,838 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      19:15:30,839 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
      
      
      19:15:30,840 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:134)
      
      
      19:15:30,842 ERROR [stderr] (Remoting "wojtek-komputer" task-1)      ... 5 more
      
      
      19:15:56,027 ERROR [stderr] (Remoting "wojtek-komputer" task-2) Exception in thread "Remoting "wojtek-komputer" task-2" java.lang.RuntimeException: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      19:15:56,029 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:136)
      
      
      19:15:56,031 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.as.ejb3.remote.protocol.versionone.VersionOneProtocolChannelReceiver.handleMessage(VersionOneProtocolChannelReceiver.java:170)
      
      
      19:15:56,033 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:437)
      
      
      19:15:56,034 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      
      
      19:15:56,035 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      
      
      
      
      19:15:56,036 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at java.lang.Thread.run(Thread.java:722)
      
      
      
      19:15:56,037 ERROR [stderr] (Remoting "wojtek-komputer" task-2) Caused by: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      
      19:15:56,038 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      
      
      
      19:15:56,039 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      
      
      
      19:15:56,041 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      
      
      
      19:15:56,042 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      
      
      
      19:15:56,043 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      
      
      
      19:15:56,044 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at java.lang.Class.forName0(Native Method)
      
      
      
      19:15:56,044 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at java.lang.Class.forName(Class.java:264)
      
      
      
      19:15:56,045 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:135)
      
      
      
      19:15:56,046 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:116)
      
      
      
      19:15:56,048 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:870)
      
      
      
      19:15:56,049 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1314)
      
      
      
      19:15:56,050 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      
      19:15:56,051 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      
      19:15:56,052 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677)
      
      
      
      19:15:56,053 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverObjectInputStream.defaultReadObject(RiverObjectInputStream.java:73)
      
      
      
      19:15:56,054 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.ejb.client.EJBLocator.readObject(EJBLocator.java:220)
      
      
      
      19:15:56,055 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      
      
      19:15:56,056 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      
      
      
      19:15:56,057 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      
      
      19:15:56,058 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at java.lang.reflect.Method.invoke(Method.java:601)
      
      
      
      19:15:56,059 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:213)
      
      
      
      19:15:56,060 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1580)
      
      
      
      19:15:56,061 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1557)
      
      
      
      19:15:56,062 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235)
      
      
      
      19:15:56,064 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      
      19:15:56,065 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      
      19:15:56,066 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
      
      
      
      19:15:56,067 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:134)
      
      
      
      19:15:56,068 ERROR [stderr] (Remoting "wojtek-komputer" task-2)      ... 5 more
      
      
      
      19:23:57,011 ERROR [stderr] (Remoting "wojtek-komputer" task-3) Exception in thread "Remoting "wojtek-komputer" task-3" java.lang.RuntimeException: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      
      19:23:57,013 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:136)
      
      
      
      19:23:57,016 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.as.ejb3.remote.protocol.versionone.VersionOneProtocolChannelReceiver.handleMessage(VersionOneProtocolChannelReceiver.java:170)
      
      
      
      19:23:57,017 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:437)
      
      
      
      19:23:57,017 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      
      
      
      19:23:57,019 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      
      
      
      19:23:57,019 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at java.lang.Thread.run(Thread.java:722)
      
      
      
      19:23:57,022 ERROR [stderr] (Remoting "wojtek-komputer" task-3) Caused by: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      
      19:23:57,022 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      
      
      
      19:23:57,024 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      
      
      
      19:23:57,024 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      
      
      
      19:23:57,027 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      
      
      
      19:23:57,027 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      
      
      
      
      
      19:23:57,029 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at java.lang.Class.forName0(Native Method)
      
      
      
      19:23:57,029 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at java.lang.Class.forName(Class.java:264)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:135)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:116)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:870)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1314)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverObjectInputStream.defaultReadObject(RiverObjectInputStream.java:73)
      
      
      
      19:23:57,032 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.ejb.client.EJBLocator.readObject(EJBLocator.java:220)
      
      
      
      19:23:57,042 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      
      
      19:23:57,042 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      
      
      
      19:23:57,044 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      
      
      19:23:57,044 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at java.lang.reflect.Method.invoke(Method.java:601)
      
      
      
      19:23:57,044 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:213)
      
      
      
      19:23:57,047 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1580)
      
      
      
      19:23:57,047 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1557)
      
      
      
      19:23:57,049 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235)
      
      
      
      19:23:57,049 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      
      19:23:57,052 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      
      19:23:57,052 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
      
      
      
      19:23:57,054 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:134)
      
      
      
      19:23:57,054 ERROR [stderr] (Remoting "wojtek-komputer" task-3)      ... 5 more
      
      
      
      20:27:21,761 ERROR [org.jboss.remoting.remote.connection] (Remoting "wojtek-komputer" read-1) JBREM000200: Remote connection failed: java.io.IOException: Nawiązane połączenie zostało przerwane przez oprogramowanie zainstalowane w komputerze-hoście
      
      20:33:45,915 ERROR [stderr] (Remoting "wojtek-komputer" task-7) Exception in thread "Remoting "wojtek-komputer" task-7" java.lang.RuntimeException: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      
      20:33:45,971 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:136)
      
      
      
      20:33:45,974 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.as.ejb3.remote.protocol.versionone.VersionOneProtocolChannelReceiver.handleMessage(VersionOneProtocolChannelReceiver.java:170)
      
      
      
      20:33:45,974 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:437)
      
      
      
      20:33:45,974 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      
      
      
      20:33:45,974 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      
      
      
      20:33:45,974 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at java.lang.Thread.run(Thread.java:722)
      
      
      
      20:33:46,079 ERROR [stderr] (Remoting "wojtek-komputer" task-7) Caused by: java.lang.ClassNotFoundException: Test1Remote from [Module "deployment.Test1EJB.jar:main" from Service Module Loader]
      
      
      
      20:33:46,079 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      
      
      
      20:33:46,079 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      
      
      
      20:33:46,089 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      
      
      
      20:33:46,089 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      
      
      
      20:33:46,091 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      
      
      
      20:33:46,091 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at java.lang.Class.forName0(Native Method)
      
      
      
      20:33:46,091 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at java.lang.Class.forName(Class.java:264)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:135)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:116)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:870)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1314)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverObjectInputStream.defaultReadObject(RiverObjectInputStream.java:73)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.ejb.client.EJBLocator.readObject(EJBLocator.java:220)
      
      
      
      20:33:46,094 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      
      
      20:33:46,104 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      
      
      
      20:33:46,104 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      
      
      20:33:46,106 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at java.lang.reflect.Method.invoke(Method.java:601)
      
      
      
      20:33:46,106 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:213)
      
      
      
      20:33:46,109 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1580)
      
      
      
      20:33:46,109 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1557)
      
      
      
      20:33:46,111 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235)
      
      
      
      20:33:46,111 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      
      
      
      20:33:46,114 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      
      
      
      20:33:46,114 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
      
      
      
      20:33:46,116 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.processMessage(MethodInvocationMessageHandler.java:134)
      
      
      
      20:33:46,116 ERROR [stderr] (Remoting "wojtek-komputer" task-7)      ... 5 more
      
      

       

       

      Can you tell me what i'am doing wrong?

       

      I am usingJBoss EJB Client version 1.0.5.Final.

      I would be grateful if You help me with this.