1 2 Previous Next 15 Replies Latest reply on Apr 19, 2011 3:52 PM by Aslak Knutsen

    importing into eclipse shows unresolved dependencies

    Sri Narayanan Newbie

      I have created a fork of arquillian and cloned it .https://github.com/srinarayanan/arquillian

       

      From the command line

       

        mvn install -pl containers/jbossas-remote-6,examples -U -am  runs fine

      As given in the documnetation for build .

      But importing into eclipse shows unresolved dependencies.

       

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

       

      Description
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\com\sun\jersey\jersey-bundle\1.5\jersey-bundle-1.5.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\glassfish\extras\glassfish-embedded-all\3.1\glassfish-embedded-all-3.1.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\glassfish\web\el-impl\2.2\el-impl-2.2.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\glassfish\web\el-impl\2.2\el-impl-2.2.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\jboss\cluster\jboss-ha-server-api\2.0.0.Final\jboss-ha-server-api-2.0.0.Final.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\jboss\kernel\jboss-kernel\2.2.0.Alpha10\jboss-kernel-2.2.0.Alpha10.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\jboss\man\jboss-managed\2.1.1.SP1\jboss-managed-2.1.1.SP1.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\jboss\spec\javax\servlet\jboss-servlet-api_3.0_spec\1.0.0.Beta2\jboss-servlet-api_3.0_spec-1.0.0.Beta2.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\jboss\weld\weld-spi\1.1.Beta2\weld-spi-1.1.Beta2.jar'
      The container 'Maven Dependencies' references non existing library 'C:\Users\narayant\.m2\repository\org\jboss\weld\weld-spi\1.1.Beta2\weld-spi-1.1.Beta2.jar'
      Unknown
      Failure to transfer org.jboss.man:jboss-managed:jar:2.1.1.SP1 from https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.man:jboss-managed:jar:2.1.1.SP1 from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/): No response received after 60000
      Failure to transfer org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.0.Beta2 from https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.0.Beta2 from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/): No response received after 60000
      Failure to transfer org.jboss.weld:weld-spi:jar:1.1.Beta2 from https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.weld:weld-spi:jar:1.1.Beta2 from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/): No response received after 60000
      Failure to transfer org.jboss.weld:weld-spi:jar:1.1.Beta2 from https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.weld:weld-spi:jar:1.1.Beta2 from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/): No response received after 60000
      Missing artifact com.sun.jersey:jersey-bundle:jar:1.5:compile
      Missing artifact com.sun.jersey.contribs:jersey-multipart:jar:1.5:compile
      Missing artifact javax.servlet.jsp:jsp-api:jar:2.2:test
      Unknown
      Missing artifact org.glassfish.extras:glassfish-embedded-all:jar:3.1:provided
      Missing artifact org.glassfish.web:el-impl:jar:2.2:test
      Unknown
      Unknown
      Missing artifact org.jboss.man:jboss-managed:jar:2.1.1.SP1:provided
      Missing artifact org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.0.Beta2:provided
      Missing artifact org.jboss.weld:weld-spi:jar:1.1.Beta2:provided
      Missing artifact org.jboss.weld:weld-spi:jar:1.1.Beta2:test
        • 1. Re: importing into eclipse shows unresolved dependencies
          Sri Narayanan Newbie

          attached is the error list as of now for the respective attached setting.xml

          • 2. Re: importing into eclipse shows unresolved dependencies
            Sri Narayanan Newbie

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal on project arquillian-glassfish-embedded-3.1: Cou

            ld not resolve dependencies for project org.jboss.arquillian.container:arquillia

            n-glassfish-embedded-3.1:jar:1.0.0-SNAPSHOT: Failure to find org.glassfish.extra

            s:glassfish-embedded-all:jar:3.1 in https://repository.jboss.org/nexus/content/g

            roups/public-jboss/ was cached in the local repository, resolution will not be r

            eattempted until the update interval of jboss-public-repository-group has elapse

            d or updates are forced -> [Help 1]

             

            on mvn eclipse:eclipse

            • 3. Re: importing into eclipse shows unresolved dependencies
              Aslak Knutsen Master

              You can try using the https://repository.jboss.org/nexus/content/groups/public repo instead of public-jboss.

               

              And try to do a mvn install -U to force a update incase maven has some local cache saying it can't find the artifacts from a previous run.

              • 4. Re: importing into eclipse shows unresolved dependencies
                Aslak Knutsen Master

                We have just split up all the repositories, so I suggest you try building this instead:

                 

                https://github.com/arquillian/arquillian-core

                 

                + Which ever container you are interested in

                 

                e.g.

                 

                https://github.com/arquillian/arquillian-container-tomcat

                 

                See https://github.com/arquillian/ for the repos available.

                • 5. importing into eclipse shows unresolved dependencies
                  Sri Narayanan Newbie

                  Thanks Aslak , that works . The core builds fine , Also I have taken jboss 5.1 remote container .

                  Are there any major diff between jboss as 5 and 5.1

                   

                  I am trying to remote test a sip servlet targeting mobicents with the 5.1 remote container support as you have suggested in

                   

                  http://community.jboss.org/thread/164880?tstart=0

                   

                  As of now ,just the TemperatureConverterTest throws a null pointer as the @Inject notation seemingly not honoured

                  The source code can be found @

                  https://github.com/srinarayanan/arq.demo

                   

                  java.lang.NullPointerException

                      at demo.TemperatureConverterTest.testConvertToCelsius(TemperatureConverterTest.java:41)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                   

                  I am running the test from within eclipse - this is what the log says

                   

                  17 Apr, 2011 10:31:08 PM org.jboss.arquillian.impl.client.container.ContainerRegistryCreator getActivatedConfiguration

                  INFO: Could not read active container configuration: null

                  0    [main] DEBUG org.jnp.interfaces.TimedSocketFactory  - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0

                  690  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  690  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] constructed

                  690  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  692  [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] connecting

                  692  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  694  [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] connected

                  791  [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] from registry

                  791  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] disconnecting ...

                  805  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  805  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] constructed

                  805  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  805  [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] connecting

                  805  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  805  [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] connected

                  811  [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[17414c8, socket://127.0.0.1:4446] from registry

                  812  [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] disconnecting ...

                  897  [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] disconnecting ...

                  897  [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17414c8, socket://127.0.0.1:4446] disconnecting ...

                  897  [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] disconnecting ...

                  897  [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1f18cbe, socket://127.0.0.1:4446] disconnecting ...

                  2365 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2365 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] constructed

                  2365 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2365 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] connecting

                  2366 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  2366 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] connected

                  2422 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] from registry

                  2422 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] disconnecting ...

                  2427 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Calling remoting server with locator of: InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2451 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2451 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] constructed

                  2451 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2451 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] connecting

                  2451 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  2451 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] connected

                  2452 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Begin distribute: names=[test.ear], copyContent=true, description=file:/C:/Users/narayant/AppData/Local/Temp/arquillian463135653124192659test.ear/test.ear

                  2538 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] disconnecting ...

                  2538 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ce0eca, socket://127.0.0.1:4446] disconnecting ...

                  2560 [main] DEBUG org.jboss.remoting.ServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] did not find server socket factory configuration as mbean service or classname. Creating default server socket factory.

                  2560 [main] DEBUG org.jboss.remoting.ServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] created server socket factory javax.net.DefaultServerSocketFactory@2758d0

                  2566 [main] DEBUG org.jboss.remoting.ServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] added org.jboss.remoting.stream.StreamServer$Handler@d0726d for subsystem 'stream'

                  2566 [main] DEBUG org.jboss.remoting.transport.socket.SocketServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] starting

                  2576 [main] DEBUG org.jboss.remoting.transport.socket.SocketServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] created ServerSocket[addr=/192.168.1.3,port=0,localport=28946]

                  2581 [main] DEBUG org.jboss.remoting.ServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] started for locator InvokerLocator [socket://narayant-VAIO:28946/]

                  2581 [main] DEBUG org.jboss.remoting.transport.socket.SocketServerInvoker  - SocketServerInvoker[narayant-VAIO:28946] started

                  2581 [main] DEBUG org.jboss.remoting.transport.Connector  - org.jboss.remoting.transport.Connector@7d093a started

                  2837 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - End distribute, repositoryNames: [vfszip:/G:/server/mss/server/default/deploy/test.ear/]

                  2837 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] from registry

                  2837 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] disconnecting ...

                  2854 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2855 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] constructed

                  2855 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2855 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] connecting

                  2855 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  2855 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] connected

                  2861 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[18c2661, socket://127.0.0.1:4446] from registry

                  2861 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] disconnecting ...

                  2861 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Calling remoting server with locator of: InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2886 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2886 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] constructed

                  2886 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  2886 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] connecting

                  2887 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  2887 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] connected

                  2887 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Start: names=[test.ear], copyContent=true

                  4940 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - End start: names=[test.ear], copyContent=true

                  4940 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] from registry

                  4940 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] disconnecting ...

                  4962 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  4962 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] constructed

                  4962 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  4962 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] connecting

                  4962 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  4962 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] connected

                  5001 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] disconnecting ...

                  5001 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[111f5f1, socket://127.0.0.1:4446] disconnecting ...

                  5001 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] disconnecting ...

                  5001 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[18c2661, socket://127.0.0.1:4446] disconnecting ...

                  5001 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] disconnecting ...

                  5002 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b0bf9a, socket://127.0.0.1:4446] disconnecting ...

                  5033 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] from registry

                  5033 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] disconnecting ...

                  5046 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  5046 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] constructed

                  5046 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  5046 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] connecting

                  5046 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  5046 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] connected

                  6500 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[523ca2, socket://127.0.0.1:4446] from registry

                  6500 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] disconnecting ...

                  6516 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6516 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] constructed

                  6516 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6516 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] connecting

                  6516 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  6517 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] connected

                  6522 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] from registry

                  6522 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] disconnecting ...

                  6537 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6537 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] constructed

                  6537 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6537 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] connecting

                  6537 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  6537 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] connected

                  6680 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[9f9761, socket://127.0.0.1:4446] from registry

                  6680 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] disconnecting ...

                  6702 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1d23632, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6702 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1d23632, socket://127.0.0.1:4446] constructed

                  6702 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1d23632, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6702 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1d23632, socket://127.0.0.1:4446] connecting

                  6702 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  6703 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1d23632, socket://127.0.0.1:4446] connected

                  6703 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] disconnecting ...

                  6703 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[9f9761, socket://127.0.0.1:4446] disconnecting ...

                  6704 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] disconnecting ...

                  6704 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1be40d5, socket://127.0.0.1:4446] disconnecting ...

                  6704 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] disconnecting ...

                  6704 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[523ca2, socket://127.0.0.1:4446] disconnecting ...

                  6705 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] disconnecting ...

                  6705 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[ba2b6b, socket://127.0.0.1:4446] disconnecting ...

                  6710 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1d23632, socket://127.0.0.1:4446] from registry

                  6710 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1d23632, socket://127.0.0.1:4446] disconnecting ...

                  6724 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6724 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] constructed

                  6725 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6725 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] connecting

                  6725 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  6725 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] connected

                  6778 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[17da562, socket://127.0.0.1:4446] from registry

                  6778 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] disconnecting ...

                  6977 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6977 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] constructed

                  6977 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  6977 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] connecting

                  6977 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  6977 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] connected

                  6984 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[8b915d, socket://127.0.0.1:4446] from registry

                  6984 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] disconnecting ...

                  6984 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Calling remoting server with locator of: InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  7011 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  7011 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] constructed

                  7011 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  7011 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] connecting

                  7012 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  7012 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] connected

                  7012 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Begin stop: names=[test.ear], copyContent=true

                  7067 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - End stop

                  7067 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] from registry

                  7067 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] disconnecting ...

                  7080 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] disconnecting ...

                  7081 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1b9b03, socket://127.0.0.1:4446] disconnecting ...

                  7081 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] disconnecting ...

                  7081 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[8b915d, socket://127.0.0.1:4446] disconnecting ...

                  7082 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] disconnecting ...

                  7082 [Finalizer] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[17da562, socket://127.0.0.1:4446] disconnecting ...

                  7097 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  7098 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] constructed

                  7098 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  7098 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] connecting

                  7098 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  7099 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] connected

                  7106 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] from registry

                  7106 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[1ae3050, socket://127.0.0.1:4446] disconnecting ...

                  7107 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Calling remoting server with locator of: InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  7121 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  7121 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] constructed

                  7121 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] setting enableTcpNoDelay to true

                  7121 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] connecting

                  7122 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - Creating semaphore with size 50

                  7122 [main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker  - SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] connected

                  7122 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - Begin remove: names=[test.ear], copyContent=true

                  7130 [main] DEBUG org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget  - End remove

                  7130 [main] DEBUG org.jboss.remoting.InvokerRegistry  - removed SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] from registry

                  7130 [main] DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - SocketClientInvoker[cab3bf, socket://127.0.0.1:4446] disconnecting ...

                  • 6. importing into eclipse shows unresolved dependencies
                    Aslak Knutsen Master

                    @Inject is from CDI which is EE6 containers only. Try the non no interface EJB test instead.

                    • 7. importing into eclipse shows unresolved dependencies
                      Sri Narayanan Newbie

                      java.lang.RuntimeException: Could not inject members

                          at org.jboss.arquillian.testenricher.ejb.EJBInjectionEnricher.injectClass(EJBInjectionEnricher.java:138)

                          at org.jboss.arquillian.testenricher.ejb.EJBInjectionEnricher.enrich(EJBInjectionEnricher.java:50)

                       

                      for

                       

                      public class InjectionTestCase {

                       

                         @Deployment

                       

                         public static JavaArchive createTestArchive() {

                       

                            return ShrinkWrap.create(JavaArchive.class, "test.jar")

                       

                               .addClasses(GreetingManager.class, GreetingManagerBean.class);

                       

                         }

                       

                       

                         @EJB

                       

                         private GreetingManager greetingManager;

                       

                       

                         @Test

                       

                         public void shouldBeAbleToInjectEJB() throws Exception {

                       

                            String userName = "Earthlings";

                       

                            Assert.assertEquals("Hello " + userName, greetingManager.greet(userName));

                       

                         }

                       

                      }

                      • 9. Testing targeting MSS with Jboss AS5.1 container
                        Sri Narayanan Newbie

                        Hi Aslak,

                        Find attached log trace . error.log from eclipse junit

                         

                        ----------------------------------------------------------------Below log  from the MSS terminal --------------------------------------

                        vice org.mobicents.servlet.sip.core.timers.StandardSipApplicationSessionTimerSer

                        vice@170c9750

                        00:54:33,753 INFO  [SipApplicationDispatcherImpl] SipApplicationDispatcher Start

                        ed

                        00:54:33,753 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=

                        JBoss_5_1_0_GA date=200905221634)] Started in 1m:6s:488ms

                        00:55:29,549 INFO  [DeployHandler] Handle stream, deploymentTarget: names=[test.

                        ear], copyContent=true, description=file:/C:/Users/narayant/AppData/Local/Temp/a

                        rquillian790330409145230826test.ear/test.ear

                        00:55:29,768 INFO  [DeployHandler] End handle stream, repositoryName: vfszip:/G:

                        /server/mss/server/default/deploy/test.ear/

                        00:55:29,795 INFO  [DeployHandler] Begin start, [test.ear]

                        00:55:31,602 INFO  [TomcatDeployment] deploy, ctxPath=/arquillian-protocol

                        00:55:31,676 INFO  [DeployHandler] End start, [vfszip:/G:/server/mss/server/defa

                        ult/deploy/test.ear/]

                        00:55:32,181 WARN  [AbstractManagedObjectPopulator] Cannot create String name fr

                        om non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaTyp

                        e:java.lang.String}, value=null

                        00:55:32,193 WARN  [AbstractManagedObjectPopulator] Cannot create String name fr

                        om non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaTyp

                        e:java.lang.String}, value=null

                        00:55:34,740 INFO  [DeployHandler] Stop, [test.ear]

                        00:55:34,744 INFO  [TomcatDeployment] undeploy, ctxPath=/arquillian-protocol

                        00:55:34,778 INFO  [DeployHandler] End stop, [vfszip:/G:/server/mss/server/defau

                        lt/deploy/test.ear/]

                        00:55:34,811 INFO  [DeployHandler] Remove, [test.ear]

                        • 11. Testing targeting MSS with Jboss AS5.1 container
                          Aslak Knutsen Master

                          Your GreeterManagerBean which you try to inject as a @EJB is not a ejb, add the following to it:

                           

                          @Local(GreetingManager.class)

                          @Stateless

                          public class GreetingManagerBean implements GreetingManager {

                          ...

                          }

                          • 13. Problem creating converged archive
                            Sri Narayanan Newbie

                            Adding the code to create converge archive throws error in junit  in file SipServletTest.java

                             

                            @Deployment

                                public static ConvergedSipWebArchive createDeployment() {

                                    return ShrinkWrap.create(ConvergedSipWebArchive.class, "test.war")

                                            .addClass(TestServlet.class).addClass(TestSipServlet.class)

                                            .addAsWebResource("client-web.xml", "web.xml")

                                            .addAsWebResource("client-sip.xml", "sip.xml");

                                }

                             

                             

                             

                            Source @

                             

                            https://github.com/srinarayanan/arq.demo

                            • 14. importing into eclipse shows unresolved dependencies
                              Sri Narayanan Newbie

                              also I see

                              DEPLOYMENTS IN ERROR:

                                Deployment "vfszip:/G:/server/mss/server/default/deploy/sip_failover-1.0-SNAPSHOT.war/" is in error due to the following reason(s): java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/servlet/http/HttpServlet

                               

                              in the server log

                              1 2 Previous Next