[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Re: JBIDE-3394, hot deployment management api

pete.muir@jboss.org do-not-reply at jboss.com
Fri Mar 6 10:20:52 EST 2009


Emanuel, I tried your suggested dependency set

      <dependency>
  |          <groupId>org.jboss.naming</groupId>
  |          <artifactId>jnp-client</artifactId>
  |          <scope>runtime</scope>
  |       </dependency>
  |       
  |       <dependency>
  |          <groupId>org.jboss.aspects</groupId>
  |          <artifactId>jboss-security-aspects</artifactId>
  |          <scope>runtime</scope>
  |       </dependency>
  |       
  |       <dependency>
  |          <groupId>org.jboss.aspects</groupId>
  |          <artifactId>jboss-remoting-aspects</artifactId>
  |          <scope>runtime</scope>
  |       </dependency>
  |       
  |       <dependency>
  |          <groupId>oswego-concurrent</groupId>
  |          <artifactId>concurrent</artifactId>
  |          <scope>runtime</scope>
  |       </dependency>
  | 
  |       <dependency>
  |          <groupId>org.jboss.integration</groupId>
  |          <artifactId>jboss-profileservice-spi</artifactId>
  |       </dependency>

(I had to add in oswego-concurrent due to a CNFE) but I get this exception:

[aop-trace] org.jboss.util.propertyeditor.PropertyEditors Mapping properties for bean: SocketClientInvoker[783cdf2d, socket://localhost:4446]
  | [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: marshaller, editor: java.beans.PropertyDescriptor at 7d215d2b, setter: public void org.jboss.remoting.MicroRemoteClientInvoker.setMarshaller(org.jboss.remoting.marshal.Marshaller)
  | [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to find property editor for: marshaller
  | [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to write property
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] setting enableTcpNoDelay to true
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] constructed
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] setting enableTcpNoDelay to true
  | [aop-debug] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] connecting
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker Creating semaphore with size 50
  | [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] added new pool ([]) as ServerAddress[127.0.0.1:4446, enableTcpNoDelay timeout 0 ms, maxPoolSize=50]
  | [aop-debug] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] connected
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446](1) invoking InvocationRequest[1f96a21e, PROFILESERVICE, [advisedMethod=null, unadvisedMethod=null, metadata=[metaData={DISPATCHER={OID=[type=AS_ISvalue=ProfileService]}, REMOTING={SUBSYSTEM=[type=AS_ISvalue=ProfileService], INVOKER_LOCATOR=[type=AS_ISvalue=InvokerLocator [socket://localhost:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]]}, security={context=[type=MARSHALLEDvalue=org.jboss.security.plugins.JBossSecurityContext at 5a6d6fc5]}}], targetObject=null, arguments=null]]
  | [aop-trace] org.jboss.remoting.marshal.MarshalFactory Could not find marshaller for data type 'invocation'.  Object in collection is null
  | [aop-trace] org.jboss.remoting.marshal.MarshalFactory Could not look up marshaller by data type ('invocation').  Will try to load dynamically.
  | [aop-warn] org.jboss.remoting.marshal.MarshalFactory Found marshaller fully qualified class name within locator parameters, but was unable to load class: org.jboss.invocation.unified.marshall.InvocationMarshaller
  | [aop-trace] org.jboss.remoting.marshal.MarshalFactory Tried to find marshaller from locator by both data type and class name but was unsuccessful.  Will try to load it from remote server.
  | [aop-trace] org.jboss.remoting.marshal.MarshalFactory Could not find marshaller for data type 'invocation'.  Object in collection is null
  | [aop-trace] org.jboss.remoting.InvokerRegistry destroying client invoker InvokerLocator [socket://localhost:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller], config {}
  | [aop-debug] org.jboss.remoting.InvokerRegistry removed SocketClientInvoker[783cdf2d, socket://localhost:4446] from registry
  | [aop-trace] org.jboss.remoting.InvokerRegistry disconnecting SocketClientInvoker[783cdf2d, socket://localhost:4446]
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnecting ...
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnecting ...
  | [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker clearing pool for ServerAddress[127.0.0.1:4446, enableTcpNoDelay timeout 0 ms, maxPoolSize=50]
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnected
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnecting ...
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnecting ...
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] is not connected!
  | [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnecting ...
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] disconnecting ...
  | [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[783cdf2d, socket://localhost:4446] is not connected!
  | FAILED CONFIGURATION: @BeforeSuite beforeSuite(org.testng.TestRunner at 4dbb3e34)
  | java.io.IOException
  | 	at org.jboss.webbeans.tck.integration.jbossas.ProfileServiceContainersImpl.setup(ProfileServiceContainersImpl.java:53)
  | 	at org.jboss.jsr299.tck.AbstractDeclarativeTest.beforeSuite(AbstractDeclarativeTest.java:165)
  | Caused by: org.jboss.remoting.marshal.InvalidMarshallingResource: Can not find a valid marshaller for data type: invocation
  | 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:90)
  | 	at org.jboss.remoting.Client.invoke(Client.java:1708)
  | 	at org.jboss.remoting.Client.invoke(Client.java:612)
  | 	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 	at AOPProxy$0.getDeploymentManager(AOPProxy$0.java)
  | 	at org.jboss.webbeans.tck.integration.jbossas.ProfileServiceContainersImpl.initDeploymentManager(ProfileServiceContainersImpl.java:136)
  | 	at org.jboss.webbeans.tck.integration.jbossas.ProfileServiceContainersImpl.setup(ProfileServiceContainersImpl.java:49)
  | 	at org.jboss.jsr299.tck.AbstractDeclarativeTest.beforeSuite(AbstractDeclarativeTest.java:165)
  | 	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 	at AOPProxy$0.getDeploymentManager(AOPProxy$0.java)
  | 	at org.jboss.webbeans.tck.integration.jbossas.ProfileServiceContainersImpl.initDeploymentManager(ProfileServiceContainersImpl.java:136)
  | 	at org.jboss.webbeans.tck.integration.jbossas.ProfileServiceContainersImpl.setup(ProfileServiceContainersImpl.java:49)
  | 	... 16 more

A client pom for the profile service would make a lot of sense here.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215747#4215747

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215747



More information about the jboss-dev-forums mailing list