You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kandalam, Anjana" <An...@AIG.com> on 2007/08/21 21:24:10 UTC

jar file within the aar file

Hi,

 

I have my service classes inside a jar file placed within the aar. I am
getting a class not found exception when the server is started. The
structure of my aar file is as follows

 

Myservice.jar

META-INF

     services.xml

 

I have my service class within a package in Myservice.jar which is defined
in the services.xml file. How do I access the service class within the jar??

 

Anjana Kandalam 
Private Client Group - AIG 
Work: 908-679-2608 
Cell: 908-596-0424 

 


Re: jar file within the aar file

Posted by Andrew Martin <am...@regenstrief.org>.
Try making a lib directory and putting the jar in there:

lib

     Myservice.jar

META-INF

     services.xml

Andrew

Kandalam, Anjana wrote:
> Hi,
> 
>  
> 
> I have my service classes inside a jar file placed within the aar. I am
> getting a class not found exception when the server is started. The
> structure of my aar file is as follows
> 
>  
> 
> Myservice.jar
> 
> META-INF
> 
>      services.xml
> 
>  
> 
> I have my service class within a package in Myservice.jar which is defined
> in the services.xml file. How do I access the service class within the jar??
> 
>  
> 
> Anjana Kandalam 
> Private Client Group - AIG 
> Work: 908-679-2608 
> Cell: 908-596-0424 
> 
>  
> 
> 

-- 
Andrew Martin
Computer Programmer
Regenstrief Institute, Inc.
410 West 10th Street, Suite 2000
Indianapolis, IN 46202-3012
Phone: (317) 423-5542
Fax: (317) 423-5695
amartin@regenstrief.org


Confidentiality Notice: The contents of this message and any files
transmitted with it may contain confidential and/or privileged
information and are intended solely for the use of the named
addressee(s). Additionally, the information contained herein may have
been disclosed to you from medical records with confidentiality
protected by federal and state laws. Federal regulations and State laws
prohibit you from making further disclosure of such information without
the specific written consent of the person to whom the information
pertains or as otherwise permitted by such regulations. A general
authorization for the release of medical or other information is not
sufficient for this purpose.

If you have received this message in error, please notify the sender by
return e-mail and delete the original message. Any retention,
disclosure, copying, distribution or use of this information by anyone
other than the intended recipient is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org