users@glassfish.java.net

Re: EJB WS Endpoint problem

From: Vijay Ramachandran <Vijay.Ramachandran_at_Sun.COM>
Date: Thu, 14 Jun 2007 12:31:51 -0700

The problem happens because the artifact generation phase of WS
deployment is not able to find the return type within the EAR

Vijay

Drinkwater, GJ (Glen) wrote:
> Hi
>
> I am trying to deploy a EJB WS endpoint that returns a class that is
> contained in a jar within the application. So I put in the manifest the
> classpath of the jar in my EJB project. Everything works fine.
>
> Now I want to move the jar to the glassfish's lib directory and remove
> it from the lib of the EJB project, but now I get the same error as if I
> did not put the manifest classpath in. Ie.
>
> java.lang.NullPointerException
> at
> com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isSubtype(We
> bServiceAP.java:418)
>
> com.sun.enterprise.deployment.backend.IASDeploymentException: Error
> while running ejbc -- Fatal Error from EJB Compiler --
> /home/glassfish/glassfish/domains/domain1/generated/xml/j2ee-modules/MyM
> odule/META-INF/wsdl/MyService.wsdl (No such file or directory)
>
> Anyone have any ideas on how to solve this.
>
> Glen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>