axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Punnoose, Roshan" <punnoo...@bah-systems.com>
Subject RE: [Axis2] Spring Integration
Date Fri, 15 Sep 2006 13:42:17 GMT
Doesn't Axis create a new service with each request? So if I put the
spring init inside the Service.startUp(), then it will happen with each
request right?

Roshan Punnoose
Phone: 301-497-6039

-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com] 
Sent: Friday, September 15, 2006 12:49 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Spring Integration

Late here ... just remembered that will only work with
SpringAppContextAwareObjectSupplier so you'll to init spring yourself.
Hint: Service.startUp() . Will try to doc this asap .

Robert

On 9/15/06, robert lazarski <robertlazarski@gmail.com> wrote:
> The structure is like so:
>
> aar
>     applicationContext.xml
>     lib
>       spring.jar
>       axis2-spring*.jar
>
> Robert
>
>
> On 9/14/06, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
> > It looks good, do you have an example, it doesn't have to be written
up,
> > for putting spring in the aar file. (Would this mean that the
> > applicationContext.xml would be inside the aar file?)
> >
> > Roshan Punnoose
> > Phone: 301-497-6039
> >
> > -----Original Message-----
> > From: robert lazarski [mailto:robertlazarski@gmail.com]
> > Sent: Thursday, September 14, 2006 12:17 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] Spring Integration
> >
> > The docs are here:
> >
> >
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/lates
> > t/spring.html
> >
> > There is one additional new feature I hope to document this weekend:
> > The ability to put spring into an aar .
> >
> > Anyways, all current MR's extend AbstractMessageReceiver - where the
> > hook is - so any which one will work.
> >
> > Robert
> >
> > On 9/14/06, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
> > > I saw that in the latest code base, there is a spring module. How
do I
> > > use those suppliers provided? Looking at the code, it seems like I
> > have
> > > to set the SpringBeanName in the services.xml, does that mean I
have
> > to
> > > use a different receiver? And then, do I have to configure the
Spring
> > > servlet on the web.xml?
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > > -----Original Message-----
> > > From: Punnoose, Roshan [mailto:punnooser@bah-systems.com]
> > > Sent: Thursday, September 14, 2006 9:01 AM
> > > To: axis-user@ws.apache.org
> > > Subject: RE: [Axis2] NonBlocking Client
> > >
> > > Thanks, that makes sense.
> > >
> > > On the server side, if I have the address that came over from the
> > > wsa:ReplyTo, and I want to push a message out to it, do I have to
> > create
> > > an axis client on the server side with the target EPR being the
> > > wsa:ReplyTo from before? Is that the easiest way to do it?
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > > -----Original Message-----
> > > From: Michele Mazzucco [mailto:Michele.Mazzucco@ncl.ac.uk]
> > > Sent: Thursday, September 14, 2006 4:21 AM
> > > To: axis-user@ws.apache.org
> > > Subject: Re: [Axis2] NonBlocking Client
> > >
> > > Hi Roshan,
> > >
> > > you have to override the methods of the Callback class
(isComplete()
> > and
> > > setComplete()).
> > >
> > >
> > > Regards,
> > > Michele
> > >
> > > Punnoose, Roshan wrote:
> > > > Hi,
> > > >
> > > > I have a non-blocking client with the callback on a separate
> > listener.
> > > > Is there anyway that I can keep that callback open even after
the
> > > > response, while the server will be able to send more responses
back
> > to
> > > > the same callback? Then close it on the client side after I
receive
> > > what
> > > > I want from the server?
> > > >
> > > > Roshan Punnoose
> > > > Phone: 301-497-6039
> > > >
> > > > -----Original Message-----
> > > > From: Neil Aggarwal [mailto:neil@JAMMConsulting.com]
> > > > Sent: Wednesday, September 13, 2006 5:43 PM
> > > > To: axis-user@ws.apache.org
> > > > Subject: Axis using more than 256MB for a 9MB file
> > > >
> > > > Hello:
> > > >
> > > > I have a web service deployed using Axis 1.4
> > > >
> > > > In that service, I have a method that accepts a
> > > > String containing an XML document.
> > > >
> > > > When I try to upload a 9MB XML file into my service,
> > > > Axis seems to be taking up a HUGE amount of memory.
> > > >
> > > > If I set the JVM to 256MB of heap, it runs out of
> > > > memory and throws an OutOfMemoryException.
> > > >
> > > > If I set the JVM to 512MB of heap, I get the file
> > > > just fine.
> > > >
> > > > The problem occurs *before* my web service method
> > > > is even invoked.
> > > >
> > > > The service is running on Tomcat on Windows.
> > > >
> > > > Any ideas why Axis would consume so much memory?
> > > >
> > > > Thanks,
> > > >       Neil
> > > >
> > > >
> > > > --
> > > > Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
> > > > FREE! Eliminate junk email and reclaim your inbox.
> > > > Visit http://www.spammilter.com for details.
> > > >
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > 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
> > >
> > >
---------------------------------------------------------------------
> > > 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
> > >
> > >
> > >
> >
> >
---------------------------------------------------------------------
> > 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
> >
> >
> >
>

---------------------------------------------------------------------
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