You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ankit Kumar <an...@gmail.com> on 2013/09/06 13:40:00 UTC
Classpath issues
I've deployed a web service as a .aar file in axis 2, and i've deployed
axis2 on tomcat , now my service need to read some xml files that has to be
in the classpath . Also i need to make a metainf folder in the classpath
how do i do it ???
http://uima.apache.org/d/uimafit-current/tools.uimafit.book.html#ugr.tools.uimafit.typesystem
Re: Classpath issues
Posted by Ankit Kumar <an...@gmail.com>.
I've deployed the web service as a .aar file on axis 2 , axis 2 is
deployed on tomcat 7 as a .war file
On Fri, Sep 6, 2013 at 6:12 PM, Daniel Mikusa <dm...@gopivotal.com> wrote:
> On Sep 6, 2013, at 7:40 AM, Ankit Kumar <an...@gmail.com>
> wrote:
>
> > I've deployed a web service as a .aar file in axis 2, and i've deployed
> > axis2 on tomcat ,
>
> I'm going to assume you're deploying this as a WAR file. If not, please
> specify.
>
> > now my service need to read some xml files that has to be
> > in the class path .
>
> You'd probably just want to drop them into WEB-INF/classes, or you could
> JAR them up and put the JAR in WEB-INF/lib. Either way the file should be
> available on the class path.
>
> > Also i need to make a metainf folder in the classpath
> > how do i do it ???
>
> mkdir WEB-INF/classes/META-INF
>
> Dan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Classpath issues
Posted by Daniel Mikusa <dm...@gopivotal.com>.
On Sep 6, 2013, at 7:40 AM, Ankit Kumar <an...@gmail.com> wrote:
> I've deployed a web service as a .aar file in axis 2, and i've deployed
> axis2 on tomcat ,
I'm going to assume you're deploying this as a WAR file. If not, please specify.
> now my service need to read some xml files that has to be
> in the class path .
You'd probably just want to drop them into WEB-INF/classes, or you could JAR them up and put the JAR in WEB-INF/lib. Either way the file should be available on the class path.
> Also i need to make a metainf folder in the classpath
> how do i do it ???
mkdir WEB-INF/classes/META-INF
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org