users@glassfish.java.net

RE: Re: EJB WS Endpoint problem

From: Drinkwater, GJ \(Glen\) <"Drinkwater,>
Date: Tue, 19 Jun 2007 15:36:01 +0100

Hi
 
What's the implications on allowing the wsgen to take into account libs
in the GF lib directory. Why is this not the default behaviour because
there are times where libs can only live in the this directory when
multiple apps need to share them.
 
Glen

________________________________

From: Vijay.Ramachandran_at_Sun.COM [mailto:Vijay.Ramachandran_at_Sun.COM]
Sent: 15 June 2007 20:20
To: users_at_glassfish.dev.java.net; Mike Grogan; Bhakti Mehta
Subject: Re: EJB WS Endpoint problem


The default wsgen takes into account the JARs present in the all the
expected library locations within the deployed EAR/JAR/WAR. It does not
take into account the app server wide libraries present in GF's lib
directory.

Mike / Bhakti - do we have to include GF wide libraries also ? This
requires some investigation

Vijay

Drinkwater, GJ (Glen) wrote:

        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
        
        
        
---------------------------------------------------------------------
        To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
        For additional commands, e-mail:
users-help_at_glassfish.dev.java.net