You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Steve Loughran <st...@iseran.com> on 2002/10/29 20:04:02 UTC

servlet2.3

a few questions related to adding session cleanup, that I'd be interested in
getting answers to before I write any code.


1: how important is it for everyone that axis runs on a pre servlet2.3
system? I think 2.2 should still be supported as well as we can.

2. if I add a sessionlistener class to do session cleanup, will everyone who
actually builds axis have access to servlet2.3.jar, even if axis still runs
happily on 2.3

3. Does anyone know a way of adding a session listener at runtime, rather
than through the web.xml declaration, as if we add it that way we'll need to
produce separate web.xml and webapps for 2.2 and 2.3? Which isnt that hard,
if we move to xdoclet1.2 generation of stuff, just complicates redist a bit.

4. how do you test session listeners?

If we dont use sessionlisteners, we can still do cleanup with a housekeeper
thread, for which I have the source around somewhere as they always make an
appearance in a big app, and I know how to tests them even before
deployment. I am just reluctant to add a timer/housekeeper service to the
axis api unless we dont have a choice.

Thoughts?





Re: servlet2.3

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Davanum Srinivas" <di...@yahoo.com>
To: <ax...@xml.apache.org>
Sent: Wednesday, October 30, 2002 4:46 AM
Subject: Re: servlet2.3


> Steve,
>
> 2.2 is VERY important...Please don't remove support for it. Am not sure
about session listeners.
> I'd say out of the box we support 2.2 and folks who need sessionlisteners
can do additional steps.
>
> Thanks,
> dims


that is what I thought.

Looks like session management will have to be roll-our-own helper thread
then, rather than letting the runtime handle it for us.


Re: servlet2.3

Posted by Davanum Srinivas <di...@yahoo.com>.
Steve,

2.2 is VERY important...Please don't remove support for it. Am not sure about session listeners.
I'd say out of the box we support 2.2 and folks who need sessionlisteners can do additional steps.

Thanks,
dims

--- Steve Loughran <st...@iseran.com> wrote:
> 
> a few questions related to adding session cleanup, that I'd be interested in
> getting answers to before I write any code.
> 
> 
> 1: how important is it for everyone that axis runs on a pre servlet2.3
> system? I think 2.2 should still be supported as well as we can.
> 
> 2. if I add a sessionlistener class to do session cleanup, will everyone who
> actually builds axis have access to servlet2.3.jar, even if axis still runs
> happily on 2.3
> 
> 3. Does anyone know a way of adding a session listener at runtime, rather
> than through the web.xml declaration, as if we add it that way we'll need to
> produce separate web.xml and webapps for 2.2 and 2.3? Which isnt that hard,
> if we move to xdoclet1.2 generation of stuff, just complicates redist a bit.
> 
> 4. how do you test session listeners?
> 
> If we dont use sessionlisteners, we can still do cleanup with a housekeeper
> thread, for which I have the source around somewhere as they always make an
> appearance in a big app, and I know how to tests them even before
> deployment. I am just reluctant to add a timer/housekeeper service to the
> axis api unless we dont have a choice.
> 
> Thoughts?
> 
> 
> 
> 


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

sample/attachments helps please

Posted by teo <fa...@yahoo.com>.
hi everybody,

I checked the attachments/samples in axis. When I tried to produce wsdl file using Java2WSDL for the echoAttachmentService class, it is complaining as;

 The class org.w3c.dom.Document does not contain a default constructor, which is a requirement for a bean class.  The class cannot be converted into an xml schema type.  An xml schema anyType will be used to define this class in the wsdl file.
- The class java.lang.Exception is defined in a java or javax package and cannot be converted into an xml schema type.  An xml schema anyType will be used to define this class in the wsdl file.


I am new to axis, and need help...Can anybody please help me the way how to send and receive attachment via Axis?

I really appreciated any help...

thanks,

teo

 Steve Loughran <st...@iseran.com> wrote:
a few questions related to adding session cleanup, that I'd be interested in
getting answers to before I write any code.


1: how important is it for everyone that axis runs on a pre servlet2.3
system? I think 2.2 should still be supported as well as we can.

2. if I add a sessionlistener class to do session cleanup, will everyone who
actually builds axis have access to servlet2.3.jar, even if axis still runs
happily on 2.3

3. Does anyone know a way of adding a session listener at runtime, rather
than through the web.xml declaration, as if we add it that way we'll need to
produce separate web.xml and webapps for 2.2 and 2.3? Which isnt that hard,
if we move to xdoclet1.2 generation of stuff, just complicates redist a bit.

4. how do you test session listeners?

If we dont use sessionlisteners, we can still do cleanup with a housekeeper
thread, for which I have the source around somewhere as they always make an
appearance in a big app, and I know how to tests them even before
deployment. I am just reluctant to add a timer/housekeeper service to the
axis api unless we dont have a choice.

Thoughts?






---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!