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 Raghu Kasturi <au...@gmail.com> on 2008/07/17 20:38:52 UTC
Configuring Rampart for Inbound messages
Hi,
I am using Axis2 in our project, currently we have some custom made soap
signature verification/validation utility in place.
I want to use Rampart to handle inbound soap messages. Since we have many
clients, I want to configure rampart dynamically. I want to tell rampart
which keystore and setting to use depending on the incoming message.
My question is "Is there any way that I can configure rampart dynamically to
handle incoming messages"?
Thanks,
Raghu
--
View this message in context: http://www.nabble.com/Configuring-Rampart-for-Inbound-messages-tp18515135p18515135.html
Sent from the Axis - User mailing list archive at Nabble.com.
RE: OMElement with date paremeter FIXED
Posted by "Asensio, Rodrigo" <ro...@gilbarco.com>.
well... researching a little bit I found this and it worked. posting
here the solution
import
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImp
l;
XMLGregorianCalendarImpl xmlCalendar = new XMLGregorianCalendarImpl(new
GregorianCalendar());
OMElement date = fac.createOMElement("date",omNs);
date.setText(xmlCalendar.toString());
method.addChild(date);
seems that there is a bug in here
http://www.archivum.info/axis-user@ws.apache.org/2007-02/msg00620.html
be smart
-----Original Message-----
From: Asensio, Rodrigo [mailto:rodrigo.asensio@gilbarco.com]
Sent: Wednesday, August 20, 2008 11:42 AM
To: axis-user@ws.apache.org
Subject: RE: OMElement with date paremeter
adding info.
the interface of the method is clearly
public OMElement myaction(Date date) throws Exception;
-----Original Message-----
From: Asensio, Rodrigo [mailto:rodrigo.asensio@gilbarco.com]
Sent: Wednesday, August 20, 2008 11:14 AM
To: axis-user@ws.apache.org
Subject: OMElement with date paremeter
axis2
my code
OMFactory fac =
OMAbstractFactory.getOMFactory();
OMNamespace omNs =
fac.createOMNamespace("http://myns", "ns");
OMElement method =
fac.createOMElement("myaction", omNs);
OMElement date = fac.createOMElement("date",
omNs);
date.setText(new Date().toString());
method.addChild(date);
String url =
"http://localhost/axis2/services/myws";
ServiceClient client = new ServiceClient();
Options opts = new Options();
opts.setTo(new EndpointReference(url));
opts.setAction("myaction");
client.setOptions(opts);
OMElement res = client.sendReceive(method);
System.out.println(res);
I'm getting
org.apache.axis2.AxisFault: invalid date format (Wed Aug 20 09:03:31 ACT
2008) wiht out - s at correct place
for sure the OMelement needs a special date format. any clue what is it
thanks
Rodrigo
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: OMElement with date paremeter
Posted by "Asensio, Rodrigo" <ro...@gilbarco.com>.
adding info.
the interface of the method is clearly
public OMElement myaction(Date date) throws Exception;
-----Original Message-----
From: Asensio, Rodrigo [mailto:rodrigo.asensio@gilbarco.com]
Sent: Wednesday, August 20, 2008 11:14 AM
To: axis-user@ws.apache.org
Subject: OMElement with date paremeter
axis2
my code
OMFactory fac =
OMAbstractFactory.getOMFactory();
OMNamespace omNs =
fac.createOMNamespace("http://myns", "ns");
OMElement method =
fac.createOMElement("myaction", omNs);
OMElement date = fac.createOMElement("date",
omNs);
date.setText(new Date().toString());
method.addChild(date);
String url =
"http://localhost/axis2/services/myws";
ServiceClient client = new ServiceClient();
Options opts = new Options();
opts.setTo(new EndpointReference(url));
opts.setAction("myaction");
client.setOptions(opts);
OMElement res = client.sendReceive(method);
System.out.println(res);
I'm getting
org.apache.axis2.AxisFault: invalid date format (Wed Aug 20 09:03:31 ACT
2008) wiht out - s at correct place
for sure the OMelement needs a special date format. any clue what is it
thanks
Rodrigo
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
OMElement with date paremeter
Posted by "Asensio, Rodrigo" <ro...@gilbarco.com>.
axis2
my code
OMFactory fac =
OMAbstractFactory.getOMFactory();
OMNamespace omNs =
fac.createOMNamespace("http://myns", "ns");
OMElement method =
fac.createOMElement("myaction", omNs);
OMElement date = fac.createOMElement("date",
omNs);
date.setText(new Date().toString());
method.addChild(date);
String url =
"http://localhost/axis2/services/myws";
ServiceClient client = new ServiceClient();
Options opts = new Options();
opts.setTo(new EndpointReference(url));
opts.setAction("myaction");
client.setOptions(opts);
OMElement res = client.sendReceive(method);
System.out.println(res);
I'm getting
org.apache.axis2.AxisFault: invalid date format (Wed Aug 20 09:03:31 ACT
2008) wiht out - s at correct place
for sure the OMelement needs a special date format. any clue what is it
thanks
Rodrigo
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 work files not deleted
Posted by SG...@intellicare.com.
Raghu,
Raghu Kasturi <au...@gmail.com> wrote on 07/17/2008 06:00:10 PM:
> I don't understand why did you reply to my message. I think you need to
write
> new post.
My apologies - I thought that's what I was doing.
- Steve
______________________________________________
Steve Gruverman, Programmer
IntelliCare, Inc. | A Medco Health Solutions Company
500 Southborough Drive | South Portland ME 04106
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 work files not deleted
Posted by Raghu Kasturi <au...@gmail.com>.
I don't understand why did you reply to my message. I think you need to write
new post.
SGruverman 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
>
>
> ______________________________________________
> Steve Gruverman, Programmer
> IntelliCare, Inc. | A Medco Health Solutions Company
>
> 500 Southborough Drive | South Portland ME 04106
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Configuring-Rampart-for-Inbound-messages-tp18515135p18518770.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Memory issues with large dynamic generated stream payload -- MTOM with Axis2 1.2 issue
Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,
Make sure you are using HTTP 1.1 and that u have http-chunking enabled....
When chunking is enabled the internals will just get the stream from the
data handler and then will stream it in to the message...
Also in the past I have seen people running in to trouble due to issues with
custom stream implementations.
One test you can do to figure out that you are not hitting a Axis2 bug or an
issue with ur impl is to observe the behaviour when by using a File instead
of the stream to create the datahandler..
thanks,
Thilina
On Thu, Jul 24, 2008 at 3:45 PM, Shalab Goel <sh...@oracle.com> wrote:
> Please help. Any pointers will be appreciated.
>
>
> -----Original Message-----
> From: Shalab Goel [mailto:shalab.goel@oracle.com]
> Sent: Wednesday, July 23, 2008 1:55 PM
> To: shalab.goel@oracle.com; axis-user@ws.apache.org
> Subject: RE: Memory issues with large dynamic generated stream payload
>
>
> Sorry for the partially complete query below, I posted couple of minutes
> ago.
>
> The behavior noted below is seen in both cases -- inbound stream to Axis
> Stub layer, and outbound stream from Axis Stub layer.
>
> With Axis 1.3 and MTOM enabled streaming.
>
> Regards
> Shalab
>
> -----Original Message-----
> From: Shalab Goel [mailto:shalab.goel@oracle.com]
> Sent: Wednesday, July 23, 2008 1:32 PM
> To: 'axis-user@ws.apache.org'
> Subject: Memory issues with large dynamic generated stream payload
>
>
> Hi,
>
> I am using Axis2 1.3 client to talk with a .NET service.
> The request from client layer hands over a stream (wrapped in DataHandler)
> to Axis stub layer.
>
> It seems to the case that when Axis client stub is generating SOAP message,
> the memory usage of my client code jumps from 80 MB to 450 MB (or more,
> proportional to stream's content size).
>
> Does Axis Stub layer cache the stream contents in memory before fully
> materializing SOAP request? Using Axis 1.3 with MTOM.
>
> Is this expected behavior?
>
> If so, is this behavior customizable (via some property) that this in
> memory caching of entire stream content not happen.
>
> If you noted similar issue and have been able to work around it, will look
> forward to hearing from you.
>
> Any suggestions or comments on this thread will be much appreciated.
>
> Thanks
> Shalab
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Thilina Gunarathne - http://thilinag.blogspot.com
RE: Memory issues with large dynamic generated stream payload --
MTOM with Axis2 1.2 issue
Posted by Shalab Goel <sh...@oracle.com>.
Please help. Any pointers will be appreciated.
-----Original Message-----
From: Shalab Goel [mailto:shalab.goel@oracle.com]
Sent: Wednesday, July 23, 2008 1:55 PM
To: shalab.goel@oracle.com; axis-user@ws.apache.org
Subject: RE: Memory issues with large dynamic generated stream payload
Sorry for the partially complete query below, I posted couple of minutes ago.
The behavior noted below is seen in both cases -- inbound stream to Axis Stub layer, and outbound stream from Axis Stub layer.
With Axis 1.3 and MTOM enabled streaming.
Regards
Shalab
-----Original Message-----
From: Shalab Goel [mailto:shalab.goel@oracle.com]
Sent: Wednesday, July 23, 2008 1:32 PM
To: 'axis-user@ws.apache.org'
Subject: Memory issues with large dynamic generated stream payload
Hi,
I am using Axis2 1.3 client to talk with a .NET service.
The request from client layer hands over a stream (wrapped in DataHandler) to Axis stub layer.
It seems to the case that when Axis client stub is generating SOAP message, the memory usage of my client code jumps from 80 MB to 450 MB (or more, proportional to stream's content size).
Does Axis Stub layer cache the stream contents in memory before fully materializing SOAP request? Using Axis 1.3 with MTOM.
Is this expected behavior?
If so, is this behavior customizable (via some property) that this in memory caching of entire stream content not happen.
If you noted similar issue and have been able to work around it, will look forward to hearing from you.
Any suggestions or comments on this thread will be much appreciated.
Thanks
Shalab
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: Memory issues with large dynamic generated stream payload
Posted by Shalab Goel <sh...@oracle.com>.
Sorry for the partially complete query below, I posted couple of minutes ago.
The behavior noted below is seen in both cases -- inbound stream to Axis Stub layer, and outbound stream from Axis Stub layer.
With Axis 1.3 and MTOM enabled streaming.
Regards
Shalab
-----Original Message-----
From: Shalab Goel [mailto:shalab.goel@oracle.com]
Sent: Wednesday, July 23, 2008 1:32 PM
To: 'axis-user@ws.apache.org'
Subject: Memory issues with large dynamic generated stream payload
Hi,
I am using Axis2 1.3 client to talk with a .NET service.
The request from client layer hands over a stream (wrapped in DataHandler) to Axis stub layer.
It seems to the case that when Axis client stub is generating SOAP message, the memory usage of my client code jumps from 80 MB to 450 MB (or more, proportional to stream's content size).
Does Axis Stub layer cache the stream contents in memory before fully materializing SOAP request? Using Axis 1.3 with MTOM.
Is this expected behavior?
If so, is this behavior customizable (via some property) that this in memory caching of entire stream content not happen.
If you noted similar issue and have been able to work around it, will look forward to hearing from you.
Any suggestions or comments on this thread will be much appreciated.
Thanks
Shalab
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Memory issues with large dynamic generated stream payload
Posted by Shalab Goel <sh...@oracle.com>.
Hi,
I am using Axis2 1.3 client to talk with a .NET service.
The request from client layer hands over a stream (wrapped in DataHandler) to Axis stub layer.
It seems to the case that when Axis client stub is generating SOAP message, the memory usage of my client code jumps from 80 MB to 450 MB (or more, proportional to stream's content size).
Does Axis Stub layer cache the stream contents in memory before fully materializing SOAP request? Using Axis 1.3 with MTOM.
Is this expected behavior?
If so, is this behavior customizable (via some property) that this in memory caching of entire stream content not happen.
If you noted similar issue and have been able to work around it, will look forward to hearing from you.
Any suggestions or comments on this thread will be much appreciated.
Thanks
Shalab
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 work files not deleted
Posted by SG...@intellicare.com.
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 <pm...@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
Re: Axis2 work files not deleted
Posted by Pierre Muller <pm...@gfi.fr>.
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
>>
>>
>> ______________________________________________
>> Steve Gruverman, Programmer
>> IntelliCare, Inc. | A Medco Health Solutions Company
>>
>> 500 Southborough Drive | South Portland ME 04106
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
**************************
Si vous n'êtes pas le destinataire désigné de ce message ou une personne autorisée à l'utiliser, toute distribution, copie, publication ou usage à quelques fins que ce soit des informations dans ce message sont interdits. Merci d'informer immédiatement l'expéditeur par messagerie, et, de détruire ce message.
This e-mail is confidential. If you are not the addressee or an authorized recipient of this message, any distribution, copying, publication or use of this information for any purpose is prohibited. Please notify the sender immediately by e-mail and then delete this message.
**************************
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 work files not deleted
Posted by Davanum Srinivas <da...@gmail.com>.
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
>
>
> ______________________________________________
> Steve Gruverman, Programmer
> IntelliCare, Inc. | A Medco Health Solutions Company
>
> 500 Southborough Drive | South Portland ME 04106
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Axis2 work files not deleted
Posted by SG...@intellicare.com.
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
______________________________________________
Steve Gruverman, Programmer
IntelliCare, Inc. | A Medco Health Solutions Company
500 Southborough Drive | South Portland ME 04106
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org