users@glassfish.java.net

CXF & glassfish 3.1.1 : deployment error

From: <forums_at_java.net>
Date: Wed, 9 Nov 2011 07:11:04 -0600 (CST)

Hi,

I'm currently trying to deploy an EAR to a Glassfish 3.1.1 server. The
webapplication inside the EAR use Spring and CXF.

I've an interface that is annotated by @Webservice to create a dynamic proxy
(via CXF) inside my webapp.

Unfortunatly, when trying to deploy the ear, the following error occurs:

org.glassfish.deployment.common.DeploymentException
        at
org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
        at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)

Caused by: java.lang.RuntimeException
        at
org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:193)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)

Caused by: java.lang.NullPointerException
        at
org.glassfish.webservices.WsUtil.getWebServerInfoForDAS(WsUtil.java:1548)
        at
org.glassfish.webservices.WebServicesDeployer.doWebServicesDeployment(WebServicesDeployer.java:619)
        at
org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:184)
        ... 38 more

 

Is someone can help me resolve this issue? (Is there a way to disable the
webservice detection inside an application?)

Thank you


--
[Message sent by forum member 'gwa']
View Post: http://forums.java.net/node/861983