1 2 3 Previous Next 31 Replies Latest reply on Apr 7, 2011 5:04 AM by marx3 Go to original post
      • 15. Re: TemperatureConverterTest in Eclipse no Maven
        aslak

        Sounds like your missing the CDI enricher: org.jboss.arquillian.testenricher:arquillian-testenricher-cdi

        • 16. TemperatureConverterTest in Eclipse no Maven
          mwtemple

          I did add the following to get to this point (null pointer on @Inject object):

           

          arquillian-testenricher-cdi-1.0.0.Alpha5.jar

          arquillian-testenricher-ejb-1.0.0.Alpha5.jar

          arquillian-testenricher-resource-1.0.0.Alpha5.jar

           

          Is there any other information that would help to diagnose?

           

          Thanks again,

          Mark

          • 17. TemperatureConverterTest in Eclipse no Maven
            aslak

            Does the server.log contain any useful information ?

            • 18. Re: TemperatureConverterTest in Eclipse no Maven
              mwtemple

              I have the log4j output going to the console:

               

              org.jboss.arquillian.impl.client.container.ContainerRegistryCreator getActivatedConfiguration

              INFO: Could not read active container configuration: null

               

              org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl

              WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.spec.JavaArchive, please verify classpath or add a extensionOverride

               

              org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl

              WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.exporter.ZipExporter, please verify classpath or add a extensionOverride

               

              org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl

              WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.spi.Configurable, please verify classpath or add a extensionOverride

               

              In the JBoss console, I see this:

              INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] invoke, payload: {DeploymentTargetID=names=[test.jar], clientAddress=/172.16.249.121}, parameter: start

              INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] invoke, payload: {DeploymentTargetID=names=[test.jar], clientAddress=/172.16.249.121}, parameter: stop

              INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] invoke, payload: {DeploymentTargetID=names=[test.jar], clientAddress=/172.16.249.121}, parameter: remove

               

              I have attached a 7z file of my 3 classes... would be curious if anybody else can get them to run (Junit and TestNG).

              As well as another 7z file of my lib directory (not including what's already in Jboss 6.0 Runtime).

               

              Bottom line is that the injection of the variable converter is always null in all of the examples:

               

              @Inject

              private TemperatureConverter converter;  // null!

               

              @EJB

              private GreetingManager greetingManager; // null!

               

              @Inject

              BeanManager beanManager; // null!

               

              @Resource(mappedName = "/ConnectionFactory")

              private ConnectionFactory factory; // null!

               

              Must be missing one simple piece to this puzzle...

              Anybody have any ideas?

               

              Thanks!

              • 19. Re: TemperatureConverterTest in Eclipse no Maven
                mwtemple

                I am attaching my classpath in eclipse... something must be missing!

                Always get null on injected objects...

                classpath2.JPG

                 

                Any help would be greatly appreciated!

                • 20. TemperatureConverterTest in Eclipse no Maven
                  mwtemple

                  Here is the output with debug:

                   

                  2011-03-31 17:08:13 TimedSocketFactory [DEBUG] createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0

                  2011-03-31 17:08:13 remoting [DEBUG] Remoting version: 2.5.3 (Flounder)

                  2011-03-31 17:08:13 Client [DEBUG] Client[14688457:4sg6x3d-n8g2of-glyapkkp-1-glyapkkp-2].connect(null)

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:13 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:13 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:13 Client [DEBUG] Client[14688457:4sg6x3d-n8g2of-glyapkkp-1-glyapkkp-2] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:13 Client [DEBUG] Client[14688457:4sg6x3d-n8g2of-glyapkkp-1-glyapkkp-2] is connected

                  2011-03-31 17:08:13 InvokerRegistry [DEBUG] removed SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:13 Client [DEBUG] Client[14688457:4sg6x3d-n8g2of-glyapkkp-1-glyapkkp-2] is disconnected

                  2011-03-31 17:08:13 Client [DEBUG] Client[18607473:4sg6x3d-n8g2of-glyapkkp-1-glyapknb-4].connect(null)

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:13 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:13 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:13 Client [DEBUG] Client[18607473:4sg6x3d-n8g2of-glyapkkp-1-glyapknb-4] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:13 Client [DEBUG] Client[18607473:4sg6x3d-n8g2of-glyapkkp-1-glyapknb-4] is connected

                  2011-03-31 17:08:13 InvokerRegistry [DEBUG] removed SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:13 Client [DEBUG] Client[18607473:4sg6x3d-n8g2of-glyapkkp-1-glyapknb-4] is disconnected

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[81b1fb, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:13 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[182bcde, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 Client [DEBUG] Client[6011238:4sg6x3d-n8g2of-glyapkkp-1-glyapkv4-6].connect(null)

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:14 Client [DEBUG] Client[6011238:4sg6x3d-n8g2of-glyapkkp-1-glyapkv4-6] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[6011238:4sg6x3d-n8g2of-glyapkkp-1-glyapkv4-6] is connected

                  2011-03-31 17:08:14 InvokerRegistry [DEBUG] removed SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 Client [DEBUG] Client[6011238:4sg6x3d-n8g2of-glyapkkp-1-glyapkv4-6] is disconnected

                  2011-03-31 17:08:14 StreamingDeploymentTarget [DEBUG] Calling remoting server with locator of: InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[9867226:4sg6x3d-n8g2of-glyapkkp-1-glyapkvk-8].connect(null)

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:14 Client [DEBUG] Client[9867226:4sg6x3d-n8g2of-glyapkkp-1-glyapkvk-8] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[9867226:4sg6x3d-n8g2of-glyapkkp-1-glyapkvk-8] is connected

                  2011-03-31 17:08:14 StreamingDeploymentTarget [DEBUG] Begin distribute: names=[test.jar], copyContent=true, description=file:/C:/DOCUME~1/templem/LOCALS~1/Temp/arquillian3932305533282459846test.jar/test.jar

                  2011-03-31 17:08:14 ServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] did not find server socket factory configuration as mbean service or classname. Creating default server socket factory.

                  2011-03-31 17:08:14 ServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] created server socket factory javax.net.DefaultServerSocketFactory@134ce4a

                  2011-03-31 17:08:14 ServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] added org.jboss.remoting.stream.StreamServer$Handler@1722456 for subsystem 'stream'

                  2011-03-31 17:08:14 SocketServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] starting

                  2011-03-31 17:08:14 SocketServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] created ServerSocket[addr=/172.16.249.121,port=0,localport=59681]

                  2011-03-31 17:08:14 ServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] started for locator InvokerLocator [socket://coswdcb5nss:59681/]

                  2011-03-31 17:08:14 SocketServerInvoker [DEBUG] SocketServerInvoker[coswdcb5nss:59681] started

                  2011-03-31 17:08:14 Connector [DEBUG] org.jboss.remoting.transport.Connector@d16fc1 started

                  2011-03-31 17:08:14 StreamingDeploymentTarget [DEBUG] End distribute, repositoryNames: [vfs:///C:/jboss-6.0.0.Final/server/default/deploy/test.jar]

                  2011-03-31 17:08:14 InvokerRegistry [DEBUG] removed SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 Client [DEBUG] Client[9867226:4sg6x3d-n8g2of-glyapkkp-1-glyapkvk-8] is disconnected

                  2011-03-31 17:08:14 Client [DEBUG] Client[8304354:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-a].connect(null)

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:14 Client [DEBUG] Client[8304354:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-a] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[8304354:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-a] is connected

                  2011-03-31 17:08:14 InvokerRegistry [DEBUG] removed SocketClientInvoker[118d189, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 Client [DEBUG] Client[8304354:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-a] is disconnected

                  2011-03-31 17:08:14 StreamingDeploymentTarget [DEBUG] Calling remoting server with locator of: InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[10630672:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-c].connect(null)

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:14 Client [DEBUG] Client[10630672:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-c] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[10630672:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-c] is connected

                  2011-03-31 17:08:14 StreamingDeploymentTarget [DEBUG] Start: names=[test.jar]

                  2011-03-31 17:08:14 StreamingDeploymentTarget [DEBUG] End start: names=[test.jar]

                  2011-03-31 17:08:14 InvokerRegistry [DEBUG] removed SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 Client [DEBUG] Client[10630672:4sg6x3d-n8g2of-glyapkkp-1-glyapkxa-c] is disconnected

                  2011-03-31 17:08:14 Client [DEBUG] Client[22538826:4sg6x3d-n8g2of-glyapkkp-1-glyapl17-e].connect(null)

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:14 Client [DEBUG] Client[22538826:4sg6x3d-n8g2of-glyapkkp-1-glyapl17-e] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[22538826:4sg6x3d-n8g2of-glyapkkp-1-glyapl17-e] is connected

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[18b8914, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1e903d5, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[118d189, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[be41ec, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 InvokerRegistry [DEBUG] removed SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[d6b059, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:14 Client [DEBUG] Client[22538826:4sg6x3d-n8g2of-glyapkkp-1-glyapl17-e] is disconnected

                  2011-03-31 17:08:14 Client [DEBUG] Client[22450101:4sg6x3d-n8g2of-glyapkkp-1-glyapl22-g].connect(null)

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:14 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:14 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:14 Client [DEBUG] Client[22450101:4sg6x3d-n8g2of-glyapkkp-1-glyapl22-g] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:14 Client [DEBUG] Client[22450101:4sg6x3d-n8g2of-glyapkkp-1-glyapl22-g] is connected

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[22450101:4sg6x3d-n8g2of-glyapkkp-1-glyapl22-g] is disconnected

                  2011-03-31 17:08:15 Client [DEBUG] Client[23611142:4sg6x3d-n8g2of-glyapkkp-1-glyaplnr-i].connect(null)

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:15 Client [DEBUG] Client[23611142:4sg6x3d-n8g2of-glyapkkp-1-glyaplnr-i] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[23611142:4sg6x3d-n8g2of-glyapkkp-1-glyaplnr-i] is connected

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[23611142:4sg6x3d-n8g2of-glyapkkp-1-glyaplnr-i] is disconnected

                  2011-03-31 17:08:15 Client [DEBUG] Client[5076660:4sg6x3d-n8g2of-glyapkkp-1-glyaplo7-k].connect(null)

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:15 Client [DEBUG] Client[5076660:4sg6x3d-n8g2of-glyapkkp-1-glyaplo7-k] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[5076660:4sg6x3d-n8g2of-glyapkkp-1-glyaplo7-k] is connected

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[5076660:4sg6x3d-n8g2of-glyapkkp-1-glyaplo7-k] is disconnected

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1ac5f13, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[10efd7c, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1f4bcf7, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[4519815:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-m].connect(null)

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:15 Client [DEBUG] Client[4519815:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-m] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[4519815:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-m] is connected

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[1d6fbb3, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[4519815:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-m] is disconnected

                  2011-03-31 17:08:15 StreamingDeploymentTarget [DEBUG] Calling remoting server with locator of: InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[10668:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-o].connect(null)

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:15 Client [DEBUG] Client[10668:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-o] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[10668:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-o] is connected

                  2011-03-31 17:08:15 StreamingDeploymentTarget [DEBUG] Begin stop: names=[test.jar]

                  2011-03-31 17:08:15 StreamingDeploymentTarget [DEBUG] End stop

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[136d9d8, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[10668:4sg6x3d-n8g2of-glyapkkp-1-glyaplqd-o] is disconnected

                  2011-03-31 17:08:15 Client [DEBUG] Client[1882017:4sg6x3d-n8g2of-glyapkkp-1-glyaplqt-q].connect(null)

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:15 Client [DEBUG] Client[1882017:4sg6x3d-n8g2of-glyapkkp-1-glyaplqt-q] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[1882017:4sg6x3d-n8g2of-glyapkkp-1-glyaplqt-q] is connected

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[15bc6c8, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[1882017:4sg6x3d-n8g2of-glyapkkp-1-glyaplqt-q] is disconnected

                  2011-03-31 17:08:15 StreamingDeploymentTarget [DEBUG] Calling remoting server with locator of: InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[16862753:4sg6x3d-n8g2of-glyapkkp-1-glyaplr8-s].connect(null)

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[b09697, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[b09697, socket://coswdcb5nss:4446] constructed

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[b09697, socket://coswdcb5nss:4446] setting enableTcpNoDelay to true

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[b09697, socket://coswdcb5nss:4446] connecting

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] Creating semaphore with size 50

                  2011-03-31 17:08:15 MicroRemoteClientInvoker [DEBUG] SocketClientInvoker[b09697, socket://coswdcb5nss:4446] connected

                  2011-03-31 17:08:15 Client [DEBUG] Client[16862753:4sg6x3d-n8g2of-glyapkkp-1-glyaplr8-s] connected to InvokerLocator [socket://coswdcb5nss:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

                  2011-03-31 17:08:15 Client [DEBUG] Client[16862753:4sg6x3d-n8g2of-glyapkkp-1-glyaplr8-s] is connected

                  2011-03-31 17:08:15 StreamingDeploymentTarget [DEBUG] Begin remove: names=[test.jar]

                  2011-03-31 17:08:15 StreamingDeploymentTarget [DEBUG] End remove

                  2011-03-31 17:08:15 InvokerRegistry [DEBUG] removed SocketClientInvoker[b09697, socket://coswdcb5nss:4446] from registry

                  2011-03-31 17:08:15 MicroSocketClientInvoker [DEBUG] SocketClientInvoker[b09697, socket://coswdcb5nss:4446] disconnecting ...

                  2011-03-31 17:08:15 Client [DEBUG] Client[16862753:4sg6x3d-n8g2of-glyapkkp-1-glyaplr8-s] is disconnected

                  • 21. TemperatureConverterTest in Eclipse no Maven
                    sri.narayanan.gce

                    3 Apr, 2011 9:39:26 PM org.jboss.arquillian.impl.client.container.ContainerRegistryCreator getActivatedConfiguration

                    INFO: Could not read active container configuration: null

                     

                    This is what is see in the command line after executing

                     

                    mvn test -Pjbossas

                     

                    The sipper from my pom.xml corresponding to the profile

                    <profiles>

                     

                       <profile>

                     

                          <id>jbossas6</id>

                          <dependencies>

                             <dependency>

                                <groupId>org.jboss.arquillian.container</groupId>

                                <artifactId>arquillian-jbossas-remote-6</artifactId>

                                <version>1.0.0.Alpha5</version>

                             </dependency>

                            <dependency>

                                <groupId>org.jboss.jbossas</groupId>

                                <artifactId>jboss-as-client</artifactId>

                                <version>6.0.0.Final</version>

                               <type>pom</type>

                            </dependency>

                          </dependencies>

                       </profile>

                     

                    </profiles>

                     

                    What am i missing

                    • 22. TemperatureConverterTest in Eclipse no Maven
                      mwtemple

                      The information message:

                      "Could not read active container configuration: null"

                      Is not a show stopper, it is just info...

                       

                      I am trying to run the sample without maven so, not sure about the pom stuff...

                      I would try:

                      "mvn test -Pjbossas-remote-6"

                       

                      This would be for running remotely... make sure you have Jboss 6 up and running.

                       

                      Mark

                      • 23. Re: TemperatureConverterTest in Eclipse no Maven
                        mwtemple

                        Still continuing the battle of running TemperatureConverterTest in Eclipse without Maven, JUnit test.

                        Get a null pointer on:

                         

                        @Inject

                        private TemperatureConverter converter;

                         

                        Above you can see my setup, nothing fancy, just trying to run the sample with a remote JBoss 6.0.

                         

                        It compiles, connects and I get a null pointer on the @Inject of an object.

                         

                        To this point, I would completely disagree with this:


                        http://docs.jboss.org/arquillian/reference/latest/en-US/html_single/#ingredient

                         

                        "If you are only running the Arquillian tests on a single container, this setup is exceptionally straightforward."

                         

                        No way.

                         

                        I like the project and feel it is conceptually on track, just what we need for Test/Integration in the container!

                         

                        Really, really frustrated with trying to run without Maven.

                         

                        -Mark

                        • 24. Re: TemperatureConverterTest in Eclipse no Maven
                          mwtemple

                          This is the class TemperatureConverterTestJunit.java:

                           

                          import junit.framework.Assert;

                          import org.jboss.arquillian.api.Deployment;

                          import org.jboss.arquillian.junit.Arquillian;

                          import org.jboss.arquillian.spi.core.annotation.Inject;

                          import org.jboss.shrinkwrap.api.ArchivePaths;

                          import org.jboss.shrinkwrap.api.ShrinkWrap;

                          import org.jboss.shrinkwrap.api.asset.EmptyAsset;

                          import org.jboss.shrinkwrap.api.spec.JavaArchive;

                          import org.junit.Test;

                          import org.junit.runner.RunWith;

                           

                          @RunWith(Arquillian.class)

                          public class TemperatureConverterTestJunit {

                           

                             @Inject

                             private TemperatureConverter converter;

                           

                             @Deployment

                             public static JavaArchive createTestArchive() {

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

                                   .addClasses(TemperatureConverter.class)

                                   .addAsManifestResource(

                                      EmptyAsset.INSTANCE,

                                      ArchivePaths.create("beans.xml"));

                             }

                           

                             @Test

                             public void testConverter() {

                                 Assert.assertNotNull(converter);

                             }

                          }

                           

                          This is what you get:

                          junit.framework.AssertionFailedError

                              at junit.framework.Assert.fail(Assert.java:48)

                              at junit.framework.Assert.assertTrue(Assert.java:20)

                              at junit.framework.Assert.assertNotNull(Assert.java:218)

                              at junit.framework.Assert.assertNotNull(Assert.java:211)

                              at TemperatureConverterTestJunit.testConverter(TemperatureConverterTestJunit.java:40)

                          • 25. Re: TemperatureConverterTest in Eclipse no Maven
                            mwtemple

                            I keep wondering about these lines in debug (see above output):

                             

                            Apr 5, 2011 10:44:50 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl

                            WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.spec.JavaArchive,

                            please verify classpath or add a extensionOverride

                             

                            Apr 5, 2011 10:44:51 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl

                            WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.exporter.ZipExporter,

                            please verify classpath or add a extensionOverride

                             

                            Apr 5, 2011 10:44:51 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl

                            WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.spi.Configurable,

                            please verify classpath or add a extensionOverride

                             

                            2011-04-05 22:01:16 Client [DEBUG] Client[23275591:5c4of3-8s4p11-gm5qdp55-1-gm5qdp55-2].connect(null)

                            • 26. Re: TemperatureConverterTest in Eclipse no Maven
                              aslak

                              Had a chance to run your examples now, and found two things:

                               

                              Your missing the arquillian-protocol-servlet jar, https://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/protocol/arquillian-protocol-servlet/1.0.0.Alpha5/ . Without this jar, Arquillian is not capable of invoking the test incontainer, so it falls back to the built in Local invoker, which would be the same as @RunAsClient.

                               

                              So your eventually trying to @Inject a CDI bean on the client side, which won't work.

                               

                              Second your using the arquillian spi @Inject and not the @javax.inject.Inject annotation, so the CDIEnricher will never try to inject it.

                              • 27. TemperatureConverterTest in Eclipse no Maven
                                mwtemple

                                Will try today!

                                Keep you posted!

                                 

                                Thanks for the help, I really appreciate it,

                                Mark

                                • 28. Re: TemperatureConverterTest in Eclipse no Maven
                                  marx3

                                  So which one @Inject should I use? From javax package? If yes, what for is developed @Inject from Arquillain package?

                                   

                                  If I try to inject using javax.inject.Inject i get:

                                  org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [@Default] at injection point [[field] @Inject test.package.log.LogTest.log]


                                  • 29. Re: TemperatureConverterTest in Eclipse no Maven
                                    aslak

                                    the org.jboss.arquillian.core.spi.Inject is a internal Arquillian Core injection annotation and should not be used in the TestCase, but is used by arquillian extensions etc.

                                     

                                    javax.inject.Inject is the standard CDI injection which a user should use.

                                     

                                    The exception your getting implies that you have not added Logger to the deployment.