Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, I had written some code to dynamically add a servlet to a context in a deployed applicaiton in Tomcat 4.1. This code basically uses the catalina loader to obtain the server-engine-host-and context, and invokes the addChild method after configuring a

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Mark Thomas
Johnny Kewl wrote: I'd luv to see that code... the stuff you playing with is in Tomcat core... must have been difficult to debug... perhaps its an embedded app? But I think this answers your question... public void addChild(Container child) { throw new IllegalStateException

Re: Jasper compiler version, how to configure

2008-10-05 Thread Juha Laiho
Dave wrote: In my development environment using JDK 1.5, the jsp compilation is fine. But after deploy to JBoss 4.0.5(w/ tomcat 5.5), the JSP compiler complains templates such as List I started JBoss using jdk 1.5, configured in run.sh (JAVA_HOME). It seems that the JSP compiler is

Tomcat with support for asyn servlets (3.0)?

2008-10-05 Thread Clemens Eisserer
Hi, Is there some version of tomcat which implements support for suspend/resume servlet functionality currently discussed in the JSR? I know Jetty6/NIO has a proprietary API for this, but if possible I would prefer to build it arround the expected standard way. Thank you in advance, Clemens

Re: JK and IIS - troubles?

2008-10-05 Thread Rainer Jung
br1 schrieb: Rainer Jung-3 wrote: Yes, if the notion of worker is an IIS worker and not an isapi plugin worker. A plugin worker in the sense of a worker configuration item in workers.properties is 1:1 with a connection pool, and a connection pool doesn't create threads. It will grow at most

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Martin Gainty
thank you for the code send i see deploymentDescriptor as a string attribute of mbean org.apache.catalina.core.StandardContext I also see com.sun.xml.rpc.tools.wsdeploy.DeploymentDescriptorParser class but I am unable to locate the javadoc documentation for DeploymentDescriptor could you display

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread ram . sriharsha
Hi Martin, DeploymentDescriptor is simply a bean that holds the web.xml info we want to add on the fly , its not a Tomcat class. basically it holds the init params, servlet name/class and servlet mapping...those were the only aspects of web.xml we wanted to add on the fly. Similarly

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Johnny Kewl
- Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 05, 2008 7:12 AM Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 Hi Johnny, Th code i used is basically the one you have in your last email... I

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Martin Gainty
hello ram- i could'nt locate javadoc for either the WebAppConfiguration or DeploymentDescriptor classes thanks for the explanation Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official

Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-05 Thread subir.sasikumar
Hi Friends, I am quite new to tomcat users list. This is my first post. Please help!! I happened to see this page https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 where in the comment 7 have provided references to the system property which could relax this check in JSPs. We use

RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-05 Thread Martin Gainty
the referenced example was fixed 3 months ago and commited to trunk which problem are you experiencing? Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender.

Re: Tomcat with support for asyn servlets (3.0)?

2008-10-05 Thread Mark Thomas
Clemens Eisserer wrote: Hi, Is there some version of tomcat which implements support for suspend/resume servlet functionality currently discussed in the JSR? I know Jetty6/NIO has a proprietary API for this, but if possible I would prefer to build it arround the expected standard way.

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Johnny Kewl
- Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 05, 2008 7:12 AM Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 Hi Johnny, Th code i used is basically the one you have in your last email... I

Re: Deploying to a subfolder

2008-10-05 Thread Mark Thomas
I can repeat this now. It looks like I missed this combination in my testing. I'll get it fixed for 6.0.19+ Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Johnny Kewl
- Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 05, 2008 7:12 AM Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 Hi Johnny, Th code i used is basically the one you have in your last email... I

Re: useSendFile=true skips compression

2008-10-05 Thread Shaun Senecal
Thanks for the explaination. So either I take the performance hit if I have high volumes, or the clients take a performance hit if I dont use compression. Is there some way I could get the best of both worlds? Maybe compress the files on the filesystem, then use a filter to programatically

RE: useSendFile=true skips compression

2008-10-05 Thread Martin Gainty
if you're implementing with xml you *may* want to consider result-set data format which utilises less bandwidth such as json..start here http://gwt-rest.googlecode.com/svn/trunk/README Martin __ Disclaimer and confidentiality note Everything in

RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-05 Thread subir.sasikumar
Hi, Actually our code base too huge to modify this quotes thing! So we want to disable this validation? But I do not understand how I can make the compiler ignore this validation. We use precompiled JSPs. Thanks Subir -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED]

RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-05 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: RegdASF Bugzilla - Bug 45015 (Quoting in attributes) But I do not understand how I can make the compiler ignore this validation. We use precompiled JSPs. If you're using the suggested ant script for precompilation:

RE: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-05 Thread Bhagwat, Vinit (Vinit)
Even after clearing work directory on 5.5.9 this code works. I have 2 workarounds for this problem 1) Use following jars from tomcat 5.5.9 in tomcat 5.5.26 jasper-compiler.jar, jasper-compiler-jdt.jar, jasper-runtime.jar. 2) Keep def.jsp at same location as test1.jsp and abc.jsp. With both