11 Replies Latest reply on Mar 9, 2005 5:14 PM by mrhightech

    ahhh I still can't do it

    schmoo

      I have tried and tried but I just cant get this thing working

      I have Jdk1.5.0_001
      jboss-4.0.1sp1
      ebj3 preview 4

      I have followed the installation instructs (3 tims now) and I still get this

      Microsoft Windows XP [Version 5.1.2600]
      (C) Copyright 1985-2001 Microsoft Corp.

      C:\Documents and Settings\Paul>cd\

      C:\>cd tutorial\stateless

      C:\tutorial\stateless>set PATH=..\ant\bin;%PATH%

      C:\tutorial\stateless>ant
      Buildfile: build.xml

      prepare:

      compile:

      ejbjar:
      [copy] Copying 1 file to C:\jboss-4.0.1sp1\server\all\deploy

      BUILD SUCCESSFUL
      Total time: 23 seconds
      C:\tutorial\stateless>ant run
      Buildfile: build.xml

      prepare:

      compile:

      ejbjar:

      run:
      [java] Exception in thread "main" javax.naming.CommunicationException [Root
      exception is java.rmi.ConnectIOException: error during JRMP connection establis
      hment; nested exception is:
      [java] java.net.SocketTimeoutException: Read timed out]
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:66
      3)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
      0)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
      [java] at org.jboss.tutorial.stateless.client.Client.main(Client.java:1
      9)
      [java] Caused by: java.rmi.ConnectIOException: error during JRMP connection
      establishment; nested exception is:
      [java] java.net.SocketTimeoutException: Read timed out
      [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
      java:274)
      [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
      a:171)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54
      4)
      [java] ... 3 more
      [java] Caused by: java.net.SocketTimeoutException: Read timed out
      [java] at java.net.SocketInputStream.socketRead0(Native Method)
      [java] at java.net.SocketInputStream.read(SocketInputStream.java:129)
      [java] at java.io.BufferedInputStream.fill(BufferedInputStream.java:218
      )
      [java] at java.io.BufferedInputStream.read(BufferedInputStream.java:235
      )
      [java] at java.io.DataInputStream.readByte(DataInputStream.java:241)
      [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
      java:215)
      [java] ... 7 more
      [java] Java Result: 1

      BUILD SUCCESSFUL
      Total time: 9 minutes 33 seconds
      C:\tutorial\stateless>

        • 1. Re: ahhh I still can't do it
          bill.burke

          this has nothing to do with the EJB3 implementation. By the stack trace, it looks like you cannot even connect to jndi. There is a jndi.properties within the tutorial. Are you sure it is pointing to the correct machine?

          • 2. Re: ahhh I still can't do it
            schmoo

            he file (in Stateless) jndi properties fil says

            java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
            java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
            java.naming.provider.url=localhost

            I havent touched it - am I supposed to?

            • 3. Re: ahhh I still can't do it
              bill.burke

              is JBoss running on the same machine as your client?

              • 4. Re: ahhh I still can't do it
                schmoo

                yes it is

                • 5. Re: ahhh I still can't do it
                  bill.burke

                  I don't know what to tell you...nobody is having similar problems.

                  • 6. Re: ahhh I still can't do it
                    schmoo

                    okay so I've reinstalled (and followed the instructions) and tried agin this time it almost seems to work with stateless but then.....oh look below (sorry to be a useless girlie but I don't get it , sorry) , also I get waring for some reason on the stateless bulid, but statleful is back to 'normal' :, both follow:-

                    Microsoft Windows XP [Version 5.1.2600]
                    (C) Copyright 1985-2001 Microsoft Corp.

                    C:\Documents and Settings\Paul>cd\

                    C:\>cd tutorial

                    C:\tutorial>cd stateless

                    C:\tutorial\stateless>set PATH=..\ant\bin;%PATH%

                    C:\tutorial\stateless>ant
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:
                    [copy] Copying 1 file to C:\jboss-4.0.1sp1\server\all\deploy

                    BUILD SUCCESSFUL
                    Total time: 16 seconds
                    C:\tutorial\stateless>ant run
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:

                    run:
                    [java] log4j:WARN No appenders could be found for logger (org.jboss.remotin
                    g.Client).
                    [java] log4j:WARN Please initialize the log4j system properly.
                    [java] 1 + 1 = 2
                    [java] 1 - 1 = 0

                    BUILD SUCCESSFUL
                    Total time: 6 minutes 19 seconds
                    C:\tutorial\stateless>cd\

                    C:\>cd tutorial\stateful

                    C:\tutorial\stateful>set PATH=..\ant\bin;%PATH%

                    C:\tutorial\stateful>ant
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:

                    BUILD SUCCESSFUL
                    Total time: 9 seconds
                    C:\tutorial\stateful>anr run
                    'anr' is not recognized as an internal or external command,
                    operable program or batch file.

                    C:\tutorial\stateful>ant run
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:

                    run:
                    [java] Exception in thread "main" javax.naming.NameNotFoundException: org.j
                    boss.tutorial.stateful.bean.ShoppingCart not bound
                    [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)

                    [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)

                    [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
                    [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
                    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
                    sorImpl.java:39)
                    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
                    hodAccessorImpl.java:25)
                    [java] at java.lang.reflect.Method.invoke(Method.java:585)
                    [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
                    a:294)
                    [java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
                    [java] at java.security.AccessController.doPrivileged(Native Method)
                    [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                    [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
                    t.java:460)
                    [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
                    ransport.java:701)
                    [java] at java.lang.Thread.run(Thread.java:595)
                    [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
                    r(StreamRemoteCall.java:247)
                    [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
                    ll.java:223)
                    [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                    [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                    [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54
                    4)
                    [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
                    0)
                    [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                    [java] at org.jboss.tutorial.stateful.client.Client.main(Client.java:29
                    )
                    [java] Java Result: 1

                    BUILD SUCCESSFUL
                    Total time: 2 minutes 48 seconds
                    C:\tutorial\stateful>

                    Microsoft Windows XP [Version 5.1.2600]
                    (C) Copyright 1985-2001 Microsoft Corp.



                    C:\>cd tutorial

                    C:\tutorial>cd stateless

                    C:\tutorial\stateless>set PATH=..\ant\bin;%PATH%

                    C:\tutorial\stateless>ant
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:
                    [copy] Copying 1 file to C:\jboss-4.0.1sp1\server\all\deploy

                    BUILD SUCCESSFUL
                    Total time: 16 seconds
                    C:\tutorial\stateless>ant run
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:

                    run:
                    [java] log4j:WARN No appenders could be found for logger (org.jboss.remotin
                    g.Client).
                    [java] log4j:WARN Please initialize the log4j system properly.
                    [java] 1 + 1 = 2
                    [java] 1 - 1 = 0

                    BUILD SUCCESSFUL
                    Total time: 6 minutes 19 seconds
                    C:\tutorial\stateless>cd\

                    C:\>cd tutorial\stateful

                    C:\tutorial\stateful>set PATH=..\ant\bin;%PATH%

                    C:\tutorial\stateful>ant
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:

                    BUILD SUCCESSFUL
                    Total time: 9 seconds
                    C:\tutorial\stateful>anr run
                    'anr' is not recognized as an internal or external command,
                    operable program or batch file.

                    C:\tutorial\stateful>ant run
                    Buildfile: build.xml

                    prepare:

                    compile:

                    ejbjar:

                    run:
                    [java] Exception in thread "main" javax.naming.NameNotFoundException: org.j
                    boss.tutorial.stateful.bean.ShoppingCart not bound
                    [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)

                    [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)

                    [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
                    [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
                    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
                    sorImpl.java:39)
                    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
                    hodAccessorImpl.java:25)
                    [java] at java.lang.reflect.Method.invoke(Method.java:585)
                    [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
                    a:294)
                    [java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
                    [java] at java.security.AccessController.doPrivileged(Native Method)
                    [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                    [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
                    t.java:460)
                    [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
                    ransport.java:701)
                    [java] at java.lang.Thread.run(Thread.java:595)
                    [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
                    r(StreamRemoteCall.java:247)
                    [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
                    ll.java:223)
                    [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                    [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                    [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54
                    4)
                    [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
                    0)
                    [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                    [java] at org.jboss.tutorial.stateful.client.Client.main(Client.java:29
                    )
                    [java] Java Result: 1

                    BUILD SUCCESSFUL
                    Total time: 2 minutes 48 seconds
                    C:\tutorial\stateful>

                    • 7. Re: ahhh I still can't do it
                      schmoo

                      okay so I've reinstalled (and followed the instructions) and tried agin this time it almost seems to work with stateless but then.....oh look below (sorry to be a useless girlie but I don't get it , sorry) , also I get waring for some reason on the stateless bulid, but statleful is back to 'normal' :, both follow:-

                      Microsoft Windows XP [Version 5.1.2600]
                      (C) Copyright 1985-2001 Microsoft Corp.

                      C:\Documents and Settings\Paul>cd\

                      C:\>cd tutorial

                      C:\tutorial>cd stateless

                      C:\tutorial\stateless>set PATH=..\ant\bin;%PATH%

                      C:\tutorial\stateless>ant
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:
                      [copy] Copying 1 file to C:\jboss-4.0.1sp1\server\all\deploy

                      BUILD SUCCESSFUL
                      Total time: 16 seconds
                      C:\tutorial\stateless>ant run
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:

                      run:
                      [java] log4j:WARN No appenders could be found for logger (org.jboss.remotin
                      g.Client).
                      [java] log4j:WARN Please initialize the log4j system properly.
                      [java] 1 + 1 = 2
                      [java] 1 - 1 = 0

                      BUILD SUCCESSFUL
                      Total time: 6 minutes 19 seconds
                      C:\tutorial\stateless>cd\

                      C:\>cd tutorial\stateful

                      C:\tutorial\stateful>set PATH=..\ant\bin;%PATH%

                      C:\tutorial\stateful>ant
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:

                      BUILD SUCCESSFUL
                      Total time: 9 seconds
                      C:\tutorial\stateful>anr run
                      'anr' is not recognized as an internal or external command,
                      operable program or batch file.

                      C:\tutorial\stateful>ant run
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:

                      run:
                      [java] Exception in thread "main" javax.naming.NameNotFoundException: org.j
                      boss.tutorial.stateful.bean.ShoppingCart not bound
                      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)

                      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)

                      [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
                      [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
                      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
                      sorImpl.java:39)
                      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
                      hodAccessorImpl.java:25)
                      [java] at java.lang.reflect.Method.invoke(Method.java:585)
                      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
                      a:294)
                      [java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
                      [java] at java.security.AccessController.doPrivileged(Native Method)
                      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
                      t.java:460)
                      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
                      ransport.java:701)
                      [java] at java.lang.Thread.run(Thread.java:595)
                      [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
                      r(StreamRemoteCall.java:247)
                      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
                      ll.java:223)
                      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54
                      4)
                      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
                      0)
                      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                      [java] at org.jboss.tutorial.stateful.client.Client.main(Client.java:29
                      )
                      [java] Java Result: 1

                      BUILD SUCCESSFUL
                      Total time: 2 minutes 48 seconds
                      C:\tutorial\stateful>

                      Microsoft Windows XP [Version 5.1.2600]
                      (C) Copyright 1985-2001 Microsoft Corp.



                      C:\>cd tutorial

                      C:\tutorial>cd stateless

                      C:\tutorial\stateless>set PATH=..\ant\bin;%PATH%

                      C:\tutorial\stateless>ant
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:
                      [copy] Copying 1 file to C:\jboss-4.0.1sp1\server\all\deploy

                      BUILD SUCCESSFUL
                      Total time: 16 seconds
                      C:\tutorial\stateless>ant run
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:

                      run:
                      [java] log4j:WARN No appenders could be found for logger (org.jboss.remotin
                      g.Client).
                      [java] log4j:WARN Please initialize the log4j system properly.
                      [java] 1 + 1 = 2
                      [java] 1 - 1 = 0

                      BUILD SUCCESSFUL
                      Total time: 6 minutes 19 seconds
                      C:\tutorial\stateless>cd\

                      C:\>cd tutorial\stateful

                      C:\tutorial\stateful>set PATH=..\ant\bin;%PATH%

                      C:\tutorial\stateful>ant
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:

                      BUILD SUCCESSFUL
                      Total time: 9 seconds
                      C:\tutorial\stateful>anr run
                      'anr' is not recognized as an internal or external command,
                      operable program or batch file.

                      C:\tutorial\stateful>ant run
                      Buildfile: build.xml

                      prepare:

                      compile:

                      ejbjar:

                      run:
                      [java] Exception in thread "main" javax.naming.NameNotFoundException: org.j
                      boss.tutorial.stateful.bean.ShoppingCart not bound
                      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)

                      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)

                      [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
                      [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
                      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
                      sorImpl.java:39)
                      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
                      hodAccessorImpl.java:25)
                      [java] at java.lang.reflect.Method.invoke(Method.java:585)
                      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
                      a:294)
                      [java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
                      [java] at java.security.AccessController.doPrivileged(Native Method)
                      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
                      t.java:460)
                      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
                      ransport.java:701)
                      [java] at java.lang.Thread.run(Thread.java:595)
                      [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
                      r(StreamRemoteCall.java:247)
                      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
                      ll.java:223)
                      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54
                      4)
                      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
                      0)
                      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                      [java] at org.jboss.tutorial.stateful.client.Client.main(Client.java:29
                      )
                      [java] Java Result: 1

                      BUILD SUCCESSFUL
                      Total time: 2 minutes 48 seconds
                      C:\tutorial\stateful>

                      • 8. Re: ahhh I still can't do it
                        schmoo

                        also I',m getting this error message from Jboss-4.0.1sp1

                        23:07:33,540 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
                        -8080
                        23:07:33,870 INFO [Catalina] Initialization processed in 4977 ms
                        23:07:33,870 INFO [StandardService] Starting service jboss.web
                        23:07:33,900 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2
                        8
                        23:07:34,041 INFO [StandardHost] XML validation disabled
                        23:07:34,311 INFO [Catalina] Server startup in 441 ms
                        23:07:36,534 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr, warUrl=file:/C:/jb
                        oss-4.0.1sp1/server/all/deploy/ebxmlrr-service.sar/ebxmlrr.war/
                        23:07:43,334 INFO [STDOUT] Initialized REST
                        23:07:44,476 INFO [SAAJServlet] init
                        23:07:46,989 INFO [SAAJServlet] init
                        23:07:48,291 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jb
                        oss-4.0.1sp1/server/all/deploy/httpha-invoker.sar/invoker.war/
                        23:07:50,144 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jbos
                        s-4.0.1sp1/server/all/tmp/deploy/tmp14341jboss-ws4ee-exp.war/
                        23:07:51,335 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0
                        .1sp1/server/all/deploy/jbossweb-tomcat50.sar/ROOT.war/
                        23:08:01,460 INFO [STDOUT] Loading properties file: resourceName = '/org/exolab
                        /castor/castor.properties' fileName = 'castor.properties'
                        23:08:05,396 INFO [SnmpAgentService] SNMP agent going active
                        23:08:20,437 INFO [DefaultPartition] Initializing
                        23:08:21,689 INFO [STDOUT]
                        -------------------------------------------------------
                        GMS: address is dadschmo-k1rm0d:3098 (additional data: 20 bytes)
                        -------------------------------------------------------
                        23:08:23,832 INFO [DefaultPartition] Number of cluster members: 1
                        23:08:23,832 INFO [DefaultPartition] New cluster view for partition DefaultPart
                        ition (id: 0, delta: 0) : [172.214.186.236:1099]
                        23:08:23,852 INFO [DefaultPartition] Other members: 0
                        23:08:23,882 INFO [DefaultPartition] Fetching state (will wait for 30000 millis
                        econds):
                        23:08:23,902 INFO [DefaultPartition] I am (null) received membershipChanged eve
                        nt:
                        23:08:23,902 INFO [DefaultPartition] Dead members: 0 ([])
                        23:08:23,902 INFO [DefaultPartition] New Members : 0 ([])
                        23:08:23,902 INFO [DefaultPartition] All Members : 1 ([172.214.186.236:1099])
                        23:08:25,695 INFO [HANamingService] Listening on /0.0.0.0:1100
                        23:08:25,755 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.
                        0.0.0:1102, group=230.0.0.4, HA-JNDI address=172.214.186.236:1100
                        23:08:30,902 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file
                        :/C:/jboss-4.0.1sp1/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq
                        -httpil.war/
                        23:08:34,648 INFO [PassivationTreeCache] setting cluster properties from xml to
                        : UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=455
                        51;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=8000
                        0;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeo
                        ut=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_t
                        hread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=15
                        00;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192
                        ;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=fals
                        e;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_
                        avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_
                        size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;
                        print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thre
                        ad=false)
                        23:08:34,858 INFO [PassivationTreeCache] setEvictionPolicyConfig(): [config: nu
                        ll]
                        23:08:34,938 WARN [PassivationTreeCache] No transaction manager lookup class ha
                        s been defined. Transactions cannot be used
                        23:08:35,078 INFO [PassivationTreeCache] interceptor chain is:
                        class org.jboss.cache.interceptors.CallInterceptor
                        class org.jboss.cache.interceptors.LockInterceptor
                        class org.jboss.cache.interceptors.CreateIfNotExistsInterceptor
                        class org.jboss.cache.interceptors.CacheLoaderInterceptor
                        class org.jboss.cache.interceptors.ReplicationInterceptor
                        class org.jboss.cache.interceptors.CacheStoreInterceptor
                        23:08:35,179 INFO [PassivationTreeCache] cache mode is REPL_SYNC
                        23:08:35,399 INFO [STDOUT]
                        -------------------------------------------------------
                        GMS: address is dadschmo-k1rm0d:3102
                        -------------------------------------------------------
                        23:08:37,402 INFO [PassivationTreeCache] state could not be retrieved (must be
                        first member in group)
                        23:08:37,412 INFO [PassivationTreeCache] viewAccepted(): new members: [dadschmo
                        -k1rm0d:3102]
                        23:08:37,422 INFO [LRUPolicy] Starting eviction policy using the provider: org.
                        jboss.ejb3.cache.tree.StatefulEvictionPolicy
                        23:08:37,442 INFO [PassivationTreeCache] new cache is null (maybe first member
                        in cluster)
                        23:08:37,452 INFO [LRUPolicy] Starting a eviction timer with wake up interval o
                        f (secs) 1
                        23:08:37,842 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mc
                        ast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45577;mcast_re
                        cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_sen
                        d_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_
                        thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;
                        shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_threa
                        d=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit
                        _timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_thres
                        hold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=
                        20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;u
                        p_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local
                        _addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
                        23:08:37,963 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
                        23:08:38,003 INFO [TreeCache] interceptor chain is:
                        class org.jboss.cache.interceptors.CallInterceptor
                        class org.jboss.cache.interceptors.LockInterceptor
                        class org.jboss.cache.interceptors.CreateIfNotExistsInterceptor
                        class org.jboss.cache.interceptors.ReplicationInterceptor
                        23:08:38,013 INFO [TreeCache] cache mode is REPL_SYNC
                        23:08:38,143 INFO [STDOUT]
                        -------------------------------------------------------
                        GMS: address is dadschmo-k1rm0d:3105
                        -------------------------------------------------------
                        23:08:40,156 INFO [TreeCache] state could not be retrieved (must be first membe
                        r in group)
                        23:08:40,156 INFO [LRUPolicy] Starting eviction policy using the provider: org.
                        jboss.cache.eviction.LRUPolicy
                        23:08:40,156 INFO [LRUPolicy] Starting a eviction timer with wake up interval o
                        f (secs) 5
                        23:08:40,166 INFO [TreeCache] viewAccepted(): new members: [dadschmo-k1rm0d:310
                        5]
                        23:08:40,216 INFO [TreeCache] new cache is null (maybe first member in cluster)

                        23:08:43,090 INFO [STDOUT] [ jacorb.home unset! Will use '.' ]
                        23:08:43,090 INFO [STDOUT] [ File .\jacorb.properties for configuration jacorb
                        not found ]
                        23:08:45,814 INFO [interceptors] InterceptorManager started with 2 SIs, 2 CIs a
                        nd 4 IORIs
                        23:08:46,755 INFO [orb] ORB run
                        23:08:47,727 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6
                        D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000
                        0000200000000000000F000010200000000103137322E3231342E3138362E323336000DC80000000
                        000114A426F73732F4E616D696E672F726F6F74000000000000060000000000000008000000004A4
                        14300000000010000001C00000000000100010000000105010001000101090000000105010001000
                        00014000000080000001A00000DC9000000210000005400000000000000010000000000000024000
                        000220000007E0000000000000001000000103137322E3231342E3138362E323336000DC90000000
                        00000000000000000000000000000000000000000000000000000000000200000000400000000000
                        0001F000000040000000300000001000000440000000000000003000000010000001C00000000000
                        1000100000001050100010001010900000001050100010000002000000004000000000000001F000
                        0000400000003]
                        23:08:48,988 INFO [naming] re-Bound name: TransactionService
                        23:08:48,998 INFO [CorbaTransactionService] TransactionFactory: [IOR:0000000000
                        00003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E46616374
                        6F72794578743A312E30000000000200000000000000F000010200000000103137322E3231342E31
                        38362E323336000DC80000000000144A426F73732F5472616E73616374696F6E732F460000000600
                        00000000000008000000004A414300000000010000001C0000000000010001000000010501000100
                        010109000000010501000100000014000000080000001A00000DC900000021000000540000000000
                        0000010000000000000024000000220000007E0000000000000001000000103137322E3231342E31
                        38362E323336000DC900000000000000000000000000000000000000000000000000000000000000
                        00002000000004000000000000001F00000004000000030000000100000044000000000000000300
                        0000010000001C000000000001000100000001050100010001010900000001050100010000002000
                        000004000000000000001F0000000400000003]
                        23:08:49,038 INFO [naming] re-Bound name: UserTransaction
                        23:08:58,853 INFO [MailService] Mail Service bound to java:/Mail
                        23:09:00,345 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mc
                        ast=true;ip_ttl=64;loopback=false;mcast_addr=230.1.2.3;mcast_port=45577;mcast_re
                        cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_sen
                        d_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_
                        thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPE
                        CT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=fal
                        se;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=
                        false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_s
                        ize=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=fals
                        e):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_
                        timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRA
                        NSFER(down_thread=true;up_thread=true)
                        23:09:00,425 INFO [TreeCache] interceptor chain is:
                        class org.jboss.cache.interceptors.CallInterceptor
                        class org.jboss.cache.interceptors.LockInterceptor
                        class org.jboss.cache.interceptors.CreateIfNotExistsInterceptor
                        class org.jboss.cache.interceptors.ReplicationInterceptor
                        23:09:00,445 INFO [TreeCache] cache mode is REPL_SYNC
                        23:09:01,066 INFO [STDOUT]
                        -------------------------------------------------------
                        GMS: address is dadschmo-k1rm0d:3109
                        -------------------------------------------------------
                        23:09:03,099 INFO [TreeCache] viewAccepted(): new members: [dadschmo-k1rm0d:310
                        9]
                        23:09:03,109 INFO [TreeCache] state could not be retrieved (must be first membe
                        r in group)
                        23:09:03,149 INFO [TreeCache] new cache is null (maybe first member in cluster)

                        23:09:05,542 INFO [RARDeployment] Required license terms exist view the META-IN
                        F/ra.xml: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-local-jdbc.rar
                        23:09:06,704 INFO [RARDeployment] Required license terms exist view the META-IN
                        F/ra.xml: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-xa-jdbc.rar
                        23:09:07,715 INFO [RARDeployment] Required license terms exist view the META-IN
                        F/ra.xml: file:/C:/jboss-4.0.1sp1/server/all/deploy/jms/jms-ra.rar
                        23:09:08,637 INFO [RARDeployment] Required license terms exist view the META-IN
                        F/ra.xml: file:/C:/jboss-4.0.1sp1/server/all/deploy/mail-ra.rar
                        23:13:05,888 INFO [WrapperDataSourceService] Bound connection factory for resou
                        rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa
                        ultDS to JNDI name 'java:DefaultDS'
                        23:13:10,995 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no
                        configured password!
                        23:13:52,064 INFO [A] Bound to JNDI name: queue/A
                        23:13:52,224 INFO [B] Bound to JNDI name: queue/B
                        23:13:52,234 INFO [C] Bound to JNDI name: queue/C
                        23:13:52,254 INFO [D] Bound to JNDI name: queue/D
                        23:13:52,285 INFO [ex] Bound to JNDI name: queue/ex
                        23:13:52,475 INFO [testTopic] Bound to JNDI name: topic/testTopic
                        23:13:52,485 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                        23:13:52,525 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

                        23:13:52,625 INFO [testQueue] Bound to JNDI name: queue/testQueue
                        23:13:54,738 INFO [OILServerILService] JBossMQ OIL service available at : /0.0.
                        0.0:8090
                        23:13:57,242 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
                        0.0:8093
                        23:14:00,266 INFO [DLQ] Bound to JNDI name: queue/DLQ
                        23:14:05,624 INFO [ConnectionFactoryBindingService] Bound connection factory fo
                        r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin
                        ding,name=JmsXA to JNDI name 'java:JmsXA'
                        23:14:07,707 INFO [Ejb3Module] found EJB3 stateless session bean: org.jboss.tut
                        orial.stateless.bean.CalculatorBean
                        23:14:10,851 INFO [ProxyDeployer] no declared remote bindings
                        23:14:10,911 INFO [ProxyDeployer] there is remote interfaces
                        23:14:10,911 INFO [ProxyDeployer] default remote binding has jndiName of org.jb
                        oss.tutorial.stateless.bean.CalculatorRemote
                        23:14:11,592 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.1sp1/server/all/d
                        eploy/tutorial.ejb3
                        23:14:12,824 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C
                        :/jboss-4.0.1sp1/server/all/deploy/jmx-console.war/
                        23:14:24,321 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C
                        :/jboss-4.0.1sp1/server/all/deploy/management/web-console.war/
                        23:14:37,279 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                        Incompletely deployed packages:
                        org.jboss.deployment.DeploymentInfo@13ee6360 { url=file:/C:/jboss-4.0.1sp1/serve
                        r/all/deploy/jboss-aop.deployer/base-aop.xml }
                        deployer: org.jboss.aop.deployment.AspectDeployer@467991
                        status: Created
                        state: CREATED
                        watch: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-aop.deployer/base-aop.x
                        ml
                        altDD: null
                        lastDeployed: 1110351986163
                        lastModified: 1110351988000
                        mbeans:

                        org.jboss.deployment.DeploymentInfo@69dd31fa { url=file:/C:/jboss-4.0.1sp1/serve
                        r/all/deploy/jboss-aop.deployer/javassist.jar }
                        deployer: org.jboss.deployment.JARDeployer@15856a5
                        status: Created
                        state: CREATED
                        watch: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-aop.deployer/javassist.
                        jar
                        altDD: null
                        lastDeployed: 1110351986654
                        lastModified: 1110351988000
                        mbeans:

                        org.jboss.deployment.DeploymentInfo@76a808be { url=file:/C:/jboss-4.0.1sp1/serve
                        r/all/deploy/jboss-aop.deployer/jboss-aop.jar }
                        deployer: org.jboss.deployment.JARDeployer@15856a5
                        status: Created
                        state: CREATED
                        watch: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-aop.deployer/jboss-aop.
                        jar
                        altDD: null
                        lastDeployed: 1110351987235
                        lastModified: 1110351988000
                        mbeans:

                        org.jboss.deployment.DeploymentInfo@61a6ce5a { url=file:/C:/jboss-4.0.1sp1/serve
                        r/all/deploy/jboss-aop.deployer/jboss-aspect-library.jar }
                        deployer: org.jboss.deployment.JARDeployer@15856a5
                        status: Created
                        state: CREATED
                        watch: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-aop.deployer/jboss-aspe
                        ct-library.jar
                        altDD: null
                        lastDeployed: 1110351987525
                        lastModified: 1110351988000
                        mbeans:

                        org.jboss.deployment.DeploymentInfo@a3f1f9d2 { url=file:/C:/jboss-4.0.1sp1/serve
                        r/all/deploy/jboss-aop.deployer/trove.jar }
                        deployer: org.jboss.deployment.JARDeployer@15856a5
                        status: Created
                        state: CREATED
                        watch: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-aop.deployer/trove.jar
                        altDD: null
                        lastDeployed: 1110351988066
                        lastModified: 1110351988000
                        mbeans:

                        org.jboss.deployment.DeploymentInfo@4ea15931 { url=file:/C:/jboss-4.0.1sp1/serve
                        r/all/deploy/jboss-aop.deployer/ }
                        deployer: org.jboss.deployment.SARDeployer@1e845c2
                        status: Deployment FAILED reason: Trying to install an already registered mbea
                        n: jboss.aop:service=AspectManager
                        state: FAILED
                        watch: file:/C:/jboss-4.0.1sp1/server/all/deploy/jboss-aop.deployer/META-INF/j
                        boss-service.xml
                        altDD: null
                        lastDeployed: 1110351988066
                        lastModified: 1110336388000
                        mbeans:


                        23:14:41,986 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
                        0
                        23:15:58,206 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
                        23:16:00,509 INFO [JkMain] Jk running ID=0 time=0/6480 config=null
                        23:16:06,427 INFO [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: CVSTag=JBos
                        s_4_0_1_SP1 date=200502160314)] Started in 9m:7s:347ms

                        • 9. Re: ahhh I still can't do it
                          bill.burke

                          one step is missing from the installation directions.

                          remove jboss-aop.deployer

                          Does that work?

                          • 10. Re: ahhh I still can't do it
                            schmoo

                            Okay well I just tried and Jboss now spits out errors like below:-


                            13:02:18,629 ERROR [UDP] exception=java.net.BindException: Cannot assign request
                            ed address: Datagram send failed, msg=[dst: 230.1.2.3:45577, src: dadschmo-k1rm0
                            d:3297 (2 headers), size = 0 bytes], mcast_addr=230.1.2.3:45577
                            13:02:18,719 ERROR [UDP] exception=java.net.BindException: Cannot assign request
                            ed address: Datagram send failed, msg=[dst: 228.1.2.3:45551, src: dadschmo-k1rm0
                            d:3290 (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45551



                            and I get these errors when running the client with ant run




                            C:\tutorial\stateless>set PATH=..\ant\bin;%PATH%

                            C:\tutorial\stateless>ant run
                            Buildfile: build.xml

                            prepare:

                            compile:

                            ejbjar:

                            run:
                            [java] Exception in thread "main" javax.naming.CommunicationException [Root
                            exception is java.rmi.ConnectIOException: Exception creating connection to: 172
                            .213.8.71; nested exception is:
                            [java] java.net.NoRouteToHostException: No route to host: connect]
                            [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:66
                            3)
                            [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
                            0)
                            [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                            [java] at org.jboss.tutorial.stateless.client.Client.main(Client.java:1
                            9)
                            [java] Caused by: java.rmi.ConnectIOException: Exception creating connectio
                            n to: 172.213.8.71; nested exception is:
                            [java] java.net.NoRouteToHostException: No route to host: connect
                            [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
                            587)
                            [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
                            java:185)
                            [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
                            a:171)
                            [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
                            [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                            [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54
                            4)
                            [java] ... 3 more
                            [java] Caused by: java.net.NoRouteToHostException: No route to host: connec
                            t
                            [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
                            [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
                            [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
                            a:195)
                            [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
                            [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
                            [java] at java.net.Socket.connect(Socket.java:507)
                            [java] at java.net.Socket.connect(Socket.java:457)
                            [java] at java.net.Socket.(Socket.java:365)
                            [java] at java.net.Socket.(Socket.java:178)
                            [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
                            MIDirectSocketFactory.java:22)
                            [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
                            MIMasterSocketFactory.java:128)
                            [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
                            569)
                            [java] ... 8 more
                            [java] Java Result: 1

                            BUILD SUCCESSFUL
                            Total time: 3 minutes 47 seconds
                            C:\tutorial\stateless>

                            • 11. Re: ahhh I still can't do it
                              mrhightech

                               

                              one step is missing from the installation directions.
                              remove jboss-aop.deployer


                              The problem is still present in the current downloadable preview 4 zip file. It would be nice to get it fixed for future downloads.

                              Cheers