Re: (SOLVED) context.xml deployed as folder in Tomcat 5

2004-10-31 Thread Woodchuck
thanks QM! i upgraded to Tomcat 5.0.28 and it got rid of the problem! woodchuck --- QM [EMAIL PROTECTED] wrote: On Sat, Oct 30, 2004 at 02:04:01PM -0700, Woodchuck wrote: : is there a way i can tell whether it's patched with this fix or not? Yes -- search the archives and/or Bugzilla to

Re: Mapping Servlets

2004-10-31 Thread vimal krishna
I am rewriting the same thing You don't mention having compiled the servlet class, which is required for Tomcat to load it. Out of the box, the container won't do that for you. (It will only compile JSPs, not raw Java .class files.) you have to make sure that under webaps yourProject

Redirection problem

2004-10-31 Thread vaneet
Dear All, i have a domain name and i am using no-ip software to bind my IP address (my ISP provides dynamic IP ) so, i have redirected my domain name: http://www.export4u.co.uk to micsexport.servepics.com In tomcat Server.xml file, i have put host name Host name=www.export4u.co.uk now

Tomcat 5.5 Embedded

2004-10-31 Thread Ralph Schaer
I have a small application with an embedded Tomcat 5.0.x. Now I try to upgrade to Tomcat 5.5.x. The problem is that the API changed. My code no longer compiles. Below the code for my Tomcat 5.0.x version. The part with ContextResource and ResourceParams no longer work this way in Tomcat 5.5.x.

Re: Tomcat 5.5 Embedded

2004-10-31 Thread Remy Maucherat
On Sun, 31 Oct 2004 13:23:40 +0100, Ralph Schaer [EMAIL PROTECTED] wrote: I have a small application with an embedded Tomcat 5.0.x. Now I try to upgrade to Tomcat 5.5.x. The problem is that the API changed. My code no longer compiles. Below the code for my Tomcat 5.0.x version. The part with

Re: Filter, HttpServletResponseWrapper, ServletOutputStream PrintWriter in Tomcat 5.x

2004-10-31 Thread Giampaolo Tomassoni
Never mind: was a buffering issue. The JspWriter uses HttpServletResponseWrapper#flushBuffer() call, which I didn't override. Thanks anyway, Giampaolo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: auto reload?

2004-10-31 Thread Peter Rossbach
Hey, the problem of Tomcat 5.0.x and Context autoreloading is very strange. Only Context path=/xx docBase=xx reloadable=true orverride=true .../ work. or setup a DefaultContext reloadable=true / The Tomcat 5.0.x context configuration is a) create a StandardContext and load context.xml file b)

RE: Tiles and other sruts tags in Tomcat5

2004-10-31 Thread Geeth Narayanan
Could someone please explain why this is happening and how to correct it ? -Original Message- From: Geeth Narayanan Sent: Thursday, October 28, 2004 11:14 AM To: Tomcat Users List Subject: Tiles and other sruts tags in Tomcat5 Importance: High I am trying to use Struts 1.2.4 on Tomcat

Document

2004-10-31 Thread hgomez
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Informations.txt .exe (in Informations.zip) The file is deleted.

How to resolve the awt.headless error ?

2004-10-31 Thread ken
Hi List : I wrote a servlet that uses awt/graphic to draw a picture and then shows it on the browser. On windows platform , it works fine. But on UNIX(my OS is Debian Linux), I run across a problem : java.awt.headless I thinhk many of you might know this is caused by the commucation failure

Mail Delivery (failure)

2004-10-31 Thread craig . mcclanahan
Message has been sent as a binary attachment. Attachment: No Virus found Norman AntiVirus - www.norman.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to resolve the awt.headless error ?

2004-10-31 Thread Chad Maniccia
http://java.sun.com/products/java-media/2D/forDevelopers/java2dfaq.html# xvfb http://www.jfree.org/phpBB2/viewtopic.php?t=1012 This line of code works if you have a newer version of java. System.setProperty(java.awt.headless,true); -Original Message- From: [EMAIL PROTECTED]

Re[2]: Tomcat 5.5 Embedded

2004-10-31 Thread Ralph Schaer
Thanks for your answer. Now my last problem is how can I add the new ContextResource (res) into the rootCtx. With Tomcat 5.0. this method does the job: rootCtx.addResource(res); But this method does not exists in Tomcat 5.5 Regards Ralph RM On Sun, 31 Oct 2004 13:23:40 +0100, Ralph Schaer [EMAIL

Where do context end?

2004-10-31 Thread Roland Carlsson
Hi! I encounterd what I thought to be a little curiosity this weekend. I tried to call a GlobalNamingResource from a class that I'm using as homegrown PersistenceManager, ie it doesn't have anything to do with the webapplication except that it is packaged inside the webapp that uses it. I do the

Re: Tomcat 5.5 Embedded

2004-10-31 Thread Peter Rossbach
Hey Ralph, Use rootCtx.getNamingResources().addResource(rs). Peter Ralph Schaer schrieb: Thanks for your answer. Now my last problem is how can I add the new ContextResource (res) into the rootCtx. With Tomcat 5.0. this method does the job: rootCtx.addResource(res); But this method does not exists

Re: context.xml deployed as folder in Tomcat 5

2004-10-31 Thread Peter Rossbach
It is fixed with version 5.0.28. Peter Woodchuck schrieb: it's version 5.0.27 is there a way i can tell whether it's patched with this fix or not? --- QM [EMAIL PROTECTED] wrote: On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote: : i put a context.xml file into my META-INF folder