axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SGruver...@intellicare.com
Subject Re: Axis2 work files not deleted
Date Wed, 23 Jul 2008 19:13:28 GMT
Pierre, Davanum,

Thank you very much for the suggestions. I ended up using Pierre's 2nd
method - that seemed to me the most flexible deployment model. And it
worked perfectly.
(Seems kind of obvious in retrospect, but it sure wasn't to me until I read
your suggestions.

______________________________________________
Steve Gruverman, Programmer
IntelliCare, Inc. | A Medco Health Solutions Company

500 Southborough Drive | South Portland ME 04106

Pierre Muller <pmuller@gfi.fr> wrote on 07/18/2008 03:35:22 AM:

> Alternatively :
> - jars could be dropped in axis2/WEB-INF/services/lib/ (to keep axis2
> jars apart from services jars).
> - You could simply create the specific directory Davanum described
> (axis2/WEB-INF/services/myService/) and drop in this directory what
> would be the whole content of the aar.


> Davanum Srinivas a écrit :
> > Steve,
> >
> > I think you need to switch to completely get rid of aar and mar
> > packages and switch to using just the directory. Let me
> > explain.
> >
> > 1) axis2/WEB-INF/lib - drop all the jars currently in your aar or mar
> > here
> > 2) axis2/WEB-INF/classes - drop all the .class files in your aar here
> > 3) axis2/WEB-INF/services - create one directory for each aar that you
> > used to have
> > 4) axis2/WEB-INF/modules - create one directory for each mar that you
> > used to have
> > 5) For each service, create a META-INF/services.xml under the service
> > specific directory. For example
> >    axis2/WEB-INF/services/myService/META-INF/services.xml
> > 6) For each module, create a META-INF/module.xml under the module
> > specific directory. For example
> >    axis2/WEB-INF/modules/myModule/META-INF/module.xml
> >
> > Once you do this, there is no need for axis2 to unpack the
> > aar(s)/mar(s) and it won't clutter up the Catalina work
> > directory.
> >
> > thanks,
> > dims
> >
> > SGruverman@intellicare.com wrote:
> >> In my Tomcat work directory (work\Catalina\localhost\axis2) I'm
getting
> >> multiple copies of each of the Axis2 archives (jar, aar, mar):
> >> axis211221antlr-2.7.6.jar
> >> axis217411antlr-2.7.6.jar
> >> etc
> >>
> >> A new set gets generated each time I restart Tomcat. On my Windows XP
> >> system, these are deleted each time Tomcat stops, but not on our Linux
> >> (CentOS)
> >> systems.
> >>
> >> These are running on pretty small virtual machines and we run out of
> >> disk
> >> space pretty easily.
> >>
> >> Sorry for reposting this question - I first posed it about two months
> >> ago -
> >> but as we get closer to putting services into production this is
> >> becoming
> >> more of a concern and I have not made any progress in finding the
> >> problem.
> >>
> >> Any ideas on what's going on here - and how to prevent it?
> >> If anyone with a similar environment would care to check their work
area
> >> and see if the same thing is happening (you may have sufficient disk
> >> space
> >> for it to not be critical) I would really appreciate it. It will help
> >> determine whether this is caused by Axis2, Tomcat, server config, etc.
> >>
> >> Thanks!
> >> - Steve
> >>


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


Mime
View raw message