users@glassfish.java.net

RE: Re: EJB WS Endpoint problem

From: Drinkwater, GJ \(Glen\) <"Drinkwater,>
Date: Fri, 15 Jun 2007 08:11:41 +0100

Hi

I had gathered that, but why could it not find it when the return type
is in the lib dir of the app server, therefore accessible to all
applications.

Glen

-----Original Message-----
From: Vijay.Ramachandran_at_Sun.COM [mailto:Vijay.Ramachandran_at_Sun.COM]
Sent: 14 June 2007 20:32
To: users_at_glassfish.dev.java.net
Subject: Re: EJB WS Endpoint problem

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(W
> e
> 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/M
> yM 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net