[jboss-user] [Remoting] - Re: Config for EJB3 over servlet-invoker with compression

MarcReis do-not-reply at jboss.com
Tue Jul 10 09:03:37 EDT 2007


Hi,
thanks for the info!
I tried configuring it :


  |  <mbean code="org.jboss.remoting.transport.Connector"          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
  | 	  <depends>jboss.aop:service=AspectDeployer</depends>
  | 	  <attribute name="Configuration">
  | 	   <config>
  | 		<invoker transport="servlet">			
  | 			<attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  | 			<attribute name="serverBindPort">8080</attribute>
  | 			<attribute name="path">servlet-invoker/ServerInvokerServlet</attribute>		
  | 			<attribute name="dataType" isParam="true">serializable
  | 			 </attribute>
  | 			<attribute name="marshaller" isParam="true">org.jboss.remoting.marshal.compress.CompressingMarshaller
  | 			 </attribute>
  | 			<attribute name="unmarshaller" isParam="true">org.jboss.remoting.marshal.compress.CompressingUnMarshaller
  | 			</attribute>
  | 		 </invoker>
  |            	<handlers>
  | 			<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>	
  | 	   	 </handlers>		
  | 	  </config>
  |          </attribute>
  |  </mbean
  | 

The Server WARN's when starting up 
...
  | 14:41:07,203 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
  | 
  | 14:41:08,562 WARN  [MarshalFactory] Found marshaller fully qualified class name within locator parameters, but was unable to load class: org.jboss.remoting.marshal.compress.CompressingMarshaller
  | 			 
  | 14:41:11,390 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | ...
  | 
and then throws an exception somewhat later

  | 14:41:37,312 INFO  [TomcatDeployer] deploy, ctxPath=/servlet-invoker, warUrl=.../deploy/servlet-invoker.war/
  | 14:41:37,656 ERROR [[/servlet-invoker]] Servlet /servlet-invoker threw load() exception
  | javax.servlet.ServletException: Can not find servlet server invoker with same locator as specified (servlet://localhost:8080/servlet-invoker/ServerInvokerServlet)
  | 	at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.getInvokerFromInvokerUrl(ServerInvokerServlet.java:198)
  | 	at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.init(ServerInvokerServlet.java:66)
  | 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
  | 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
  | 

I tried the config of the attribute's dataType, marshaller, unmarshaller under the element , then both above mentioned messages wont appear, but there is no compression. 
I guess I am still messing up the config. Any help is greatly appreciated!

Sincerely 
Marc

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

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



More information about the jboss-user mailing list