Mantis - Resin
Viewing Issue Advanced Details
2200 minor always 11-22-07 09:28 01-07-08 14:35
pelikt1  
ferg  
normal  
closed  
fixed  
none    
none 3.1.5  
0002200: Problem with JSR-88
Hi,
I have problem with JSR-88. I try used for plugin for Netbeans.
I readed, that JSR-88 is in progress. I load DeploymentFactoryImp and create DeplomentManager. It's ok. When i call dm.getTargets(), system write this exception:
INFO [com.caucho.j2ee.deployclient.DeploymentManagerImpl]: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: unknown code:

com.caucho.hessian.io.HessianProtocolException: unknown code:

        at com.caucho.hessian.io.HessianInput.error(HessianInput.java:1682)
        at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:1174)
        at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:1071)
        at com.caucho.hessian.io.HessianInput.readReply(HessianInput.java:306)
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:195)
Caused: com.caucho.hessian.client.HessianRuntimeException
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:197)
        at $Proxy15.getTargets(Unknown Source)
[catch] at com.caucho.j2ee.deployclient.DeploymentManagerImpl.getTargets(DeploymentManagerImpl.java:113)
        at org.netbeans.modules.j2ee.cauchoresin.CRDeploymentManager.getTargets(CRDeploymentManager.java:389)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:490)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:463)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._retrieveTarget(ServerInstance.java:1609)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isSuspended(ServerInstance.java:804)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance$1.run(ServerInstance.java:345)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986

It's yours failed or mine? If yours can you fix it?
 

Notes
(0002621)
ferg   
01-07-08 14:35   
hessian/34b0

This may be a configuration problem. You need to add a deployment servlet at the proper URL, e.g.

<web-app xmlns="http://caucho.com/ns/resin"> [^]
 
  <servlet-mapping url-pattern="/deploy"
            servlet-class="com.caucho.j2ee.deployserver.DeploymentServlet"/>

</web-app>

The fix in 3.1.5 improves the hessian error reporting, which simplify tracking of this issue.