RE: Using JAVA_OPTS= -sever with jsvc on linux

2004-06-11 Thread Mariano
With this opts in CATALINA_OPTS i get this message error: jsvc error: Invalid option -server jsvc error: Cannot parse command line arguments Mariano López -Mensaje original- De: Dale, Matt [mailto:[EMAIL PROTECTED] Enviado el: jueves, 10 de junio de 2004 11:20 Para: Tomcat Users List;

RE: Using JAVA_OPTS= -sever with jsvc on linux

2004-06-11 Thread Mariano
Adding -jvm server to the command line jsvc i get this error: jsvc error: Invalid JVM name specified server ./tomcat: line 85: 31021 Violación de segmento $DAEMON_HOME/jsvc -jvm server -user $TOMCAT_USER -home $JAVA_HOM E -Dcatalina.home=$CATALINA_HOME -Djava.io.tmpdir=$TMP_DIR -outfile

Execute servlet at an interval.

2004-06-11 Thread Gabi
Hello, I'm going to migrate a Resin to Tomcat application, I'm beggining with Tomcat, I'm very interested reading Tomcat feature, etc... But I can't find a similar feature to Resin run-at parameter in the configuration files for the servlets, wich is used to execute at regular intervals a servlet.

RE: Execute servlet at an interval.

2004-06-11 Thread Tom K
Try Quartz http://www.quartzscheduler.org/quartz/ Tom Kochanowicz -Original Message- From: Gabi [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 2:03 AM To: [EMAIL PROTECTED] Subject: Execute servlet at an interval. Hello, I'm going to migrate a Resin to Tomcat application, I'm

RE: What is the latest version of Tomcat ?

2004-06-11 Thread Kuehnberger
One thing that doesn't work properly compared to 5.0.12 is the Windows service. It can be installed but no jsp page will be compiled (applies to 5.0.24 too). FATAL: Javac exception Error running javac.exe compiler at

RE: What is the latest version of Tomcat ?

2004-06-11 Thread Kuehnberger
One thing that doesn't work properly compared to 5.0.12 is the Windows service. It can be installed but no jsp page will be compiled (applies to 5.0.24 too). FATAL: Javac exception Error running javac.exe compiler at

Virtual Host and servlet

2004-06-11 Thread Gabi
Sorry I'm a newbie so I'm asking trivial questions for you but I can't find the error!!! If I put my cutpaste servlet from a tutorial I've no proble, it works. If I use a virtual host, a not found error appears. The web.xml is: web-app display-nameServlets test/display-name description

virtual hosting - no apache

2004-06-11 Thread Werner van Mook
Hi All, I want tomcat to serve multiple domains. Say I have two domains www.karnhuis.nl and www.connecties.com They both have a different web site. (no alias). I would like tomcat to serve both sites. How can I accomplish this? I tried this in my server.xml : Server . Service name=Catalina

RE: Using JAVA_OPTS= -sever with jsvc on linux

2004-06-11 Thread Matt Dale
In that case I'd suggest putting the the JAVA_OPTS in the $TOMCAT_HOME/bin/catalina.sh. Add the line JAVA_OPTS=-server to somewhere near the top of the file. On Fri, 2004-06-11 at 07:28, Mariano wrote: With this opts in CATALINA_OPTS i get this message error: jsvc error: Invalid option

Apache / mod_jk2 and config/log file location specification

2004-06-11 Thread syn uw
Hello, I have just installed the latest version of mod_jk2 with Apache 1.3.29 on Linux and wanted to know how I can specify to mod_jk2 where he should look for the workers2.properties config file and where he should write the jk2.log log file ? I had a look into the documentation but I cannot

Jarring custom taglibs: looking for a file named taglib.tld

2004-06-11 Thread Keith Hankin
I have been been trying to jar up a custom taglib java class along with the corresponding tld file. However I keep getting an error indicating that it cannot find a file named META-INF/taglib.tld. I have followed instructions in this doc:

Re: Struts parameter setting

2004-06-11 Thread George
I would like to ask this question again. (B (BPlease tell me how to use "maxCount" value in (Bstruts-config.xml. (B (BAm I correct if I set "maxCount=-1"? (BOur system is running properly when the value is -1. (B (BGeorge (B (B__ (BDo You

Re: Denial Service Attack Prevention apache-tomcat modjk2

2004-06-11 Thread Steve
would this work if the user keeps hitting the f5 key (ie refresh) -steve Wade Chandler wrote: Shapira, Yoav wrote: Hi, You can use JavaScript to disable form elements, thereby graying them out and preventing the user from clicking again. Yoav Shapira Millennium Research Informatics -Original

RE: contextInitialized being called exactly twice

2004-06-11 Thread Shapira, Yoav
Hi, Yeah, it could be. A WAR packaging is not essential for this to happen. As long as autoDeploy and explicit declarations both exist, you'll get this.. Yoav Shapira Millennium Research Informatics -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Friday, June 11,

RE: What is the latest version of Tomcat ?

2004-06-11 Thread Shapira, Yoav
Hi, Windows service works for me. 5.0.12 is not stable and is a useless base for comparison. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 2:16 AM To: Tomcat Users List Subject: RE: What is

Re: Jarring custom taglibs: looking for a file named taglib.tld

2004-06-11 Thread Adam Smith
You could just put the tld in WEB-INF and reference it from the web.xml. This is the entry in my web.xml for the taglib I use all the time: taglib taglib-uri http://localhost/myapp/asl /taglib-uri taglib-location /WEB-INF/asl.tld /taglib-location

Re: Apache / mod_jk2 and config/log file location specification

2004-06-11 Thread Software
May be you can use these options in the jk2.properties serverRoot=/usr/local/apache apr.jniModeSo=/usr/local/apache/modules/mod_jk2.so syn uw wrote: Hello, I have just installed the latest version of mod_jk2 with Apache 1.3.29 on Linux and wanted to know how I can specify to mod_jk2 where he

Re: Getting Host information from within webapp

2004-06-11 Thread Kevin McAllister
Tim Funk wrote: Would request.getServerName() work? Ordinarily that would be sufficient, but in this case, I want to know the actually host name attribute, as getServerName parses information from the request it could possibly contain the name of an Alias or an IP address, or neither in the

tomcat 4.1.x jsp pre-compilation

2004-06-11 Thread Woodchuck
hi, when i pre-compile my jsps, i found that Tomcat only likes them when they are compiled with the package org.apache.jsp. if i change the generated *_jsp.java files (before compiling) to a different package that is anything but org.apache.jsp, Tomcat fails to load them when I try to access the

AW: Apache / mod_jk2 and config/log file location specification

2004-06-11 Thread Gunnar Pörschke
Try command: workersFile=D:\tomcat\conf\workers2.properties And/or the path syntax for unix.. -Ursprüngliche Nachricht- Von: syn uw [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. Juni 2004 10:10 An: [EMAIL PROTECTED] Betreff: Apache / mod_jk2 and config/log file location specification

Re: Apache / mod_jk2 and config/log file location specification

2004-06-11 Thread Software
| you can specify the path using this line in the httpd.conf look this doc http://jakarta.apache.org/tomcat/faq/connectors.html |* JK2 doesn't seem to be using my settings in my |workers2.properties| file such as creating the shm file or mapping the URIs listed to Tomcat, what's wrong? * JK2

Common/lib works shared/lib doesn't

2004-06-11 Thread Wangenheim, Marc
I need some help trying to get a shared jar to work in shared/lib. I've searched the archives and found many posts with this issue but no fix. Win2k Tomcat 4.1.30 JDK 1.42_03 My webapps are based on a framework I developed that is contained within one jar. Up until now I have included this jar

RE: Common/lib works shared/lib doesn't

2004-06-11 Thread Shapira, Yoav
Hi, It's OK to leave it in common/lib. (IMHO it's also fine to have a copy for each webapp in WEB-INF/lib, but you stated you don't want that). Yoav Shapira Millennium Research Informatics -Original Message- From: Wangenheim, Marc [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004

Re: contextInitialized being called exactly twice

2004-06-11 Thread Graham Smith
I, also, don't have my web application packaged as a war (actually it is but I expand it myself and remove the WAR as part of the build process). Even with autoDeploy=false you get double initialization if you have a context declaration that redefines the default context path. I don't have a

Re: Common/lib works shared/lib doesn't

2004-06-11 Thread Charles N. Harvey III
I have seen this happen as well. I'm fine with putting jars in either the common/lib or the WEB-INF/lib, but how come shared/lib doesn't work at all? Nothing that gets placed in that directory shows up in the classloader. Is there something I need to configure to get those jars to load? Thanks

RE: Common/lib works shared/lib doesn't

2004-06-11 Thread Wangenheim, Marc
OK I'll leave it in common/lib. The problem with WEB-INF/lib is that is takes too much time to update all webapps. We have a rather cumbersome environment. Each app has to go through four environments (development, integration, certification, production) before it is available to the customer.

RE: Common/lib works shared/lib doesn't

2004-06-11 Thread Shapira, Yoav
Hi, shared/lib works on tomcat 5.0.25. It's trivial to test and verify for yourself. The user reported this on 4.1.30, which is in maintenance mode where only showstopper and security bugs would be fixed, and further an OK workaround (using common/lib) exists. I didn't even try to confirm or

jk2 error explanations

2004-06-11 Thread Carl Olivier
Greetings. Could anyone tell me what these error messages mean (I know they indicate problems connecting to the AJP worker and Tomcat) - but is there a list of what the status codes etc actually indicate? [Fri Jun 11 16:18:54 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1

RE: jk2 error explanations

2004-06-11 Thread Carl Olivier
And this one too: [Fri Jun 11 16:20:59 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 Thanks -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 11 June 2004 04:21 PM To: '[EMAIL PROTECTED]' Subject: jk2 error explanations Greetings. Could

Re: Common/lib works shared/lib doesn't

2004-06-11 Thread Charles N. Harvey III
Works for me. I was just looking for the explanation. I'll give it a go with 5.0.25 but I trust you on this one. :) Charlie Shapira, Yoav said the following on 6/11/2004 10:21 AM: Hi, shared/lib works on tomcat 5.0.25. It's trivial to test and verify for yourself. The user reported this on

Still using Self-signed Cert... How to stop it...

2004-06-11 Thread Ross Rankin
Ok, I can't figure this out. I'm sure it's simple and I'm just missing it. I created a tomcat server initially with a self-signed certificate to move forward with testing while our cert authority was re-gen-ing a certificate for us. Now, create a new keystore with the root certificate

Re: jk2 error explanations

2004-06-11 Thread Software
Hi, i have similar problems but the errors are different and i not sure if theses errors are criticals, and worts is that i don't have response about theses issues [Thu Jun 10 20:29:16 2004] (error) [jk_handler_response.c (200)]: Error ajp_process_callback - write failed [Thu Jun 10 20:29:16

Re: Corrupted UTF-8 JSPs?!

2004-06-11 Thread Ruth, Brice
Thanks much! The following article was very informative: http://www.javaworld.com/javaworld/jw-04-2004/jw-0419-multibytes_p.html adding 'encoding=UTF-8' to my JAVAC tasks in my Ant's build.xml seemed to have taken care of the problem I was seeing. The article was informative in many other ways,

Re: Corrupted UTF-8 JSPs?!

2004-06-11 Thread Ruth, Brice
Everything is being created through Ant - the problem appeared to be resolved when I modified the javac task to use UTF-8 encoding, though I'm still not clear on why this issue would only be visible when the files go through the WAR/JAR process first. Very unclear on that. But, the problem

RE: Common/lib works shared/lib doesn't

2004-06-11 Thread Andy Eastham
Marc, The only issue with having jars in common/lib, is that any static class variables are shared across every webapp, as the class loader only loads these classes once per server. Classes under webapp/WEB-INF/lib are loaded once per webapp and invisible to other webapps. For example, if

Re: tomcat 4.1.x jsp pre-compilation

2004-06-11 Thread Jason Palmatier
Hi Woodchuck, I just fought the exact same thing for two weeks and this is what I discovered: If you want to precompile all the JSPs with a package name other than org.apache.jsp you have to use the -p option and give it a new package name. This doesn't really work, as you may have already

aliases from apache don't work using soft links

2004-06-11 Thread Emerson Cargnin
Maybe this is a little offtopic, although highly related. I was used to use a symlink to access tomcat, so I could change the version just changing the softlink. Eg: /opt/tomcat points to /opt/tomcats/jakarta-tomcat-5.0.25/ This worked fine, but when I updated my system from 5.0.19 to 5.0.25, an

Using RemoteAddrValve for individual webapps.

2004-06-11 Thread Robert S. Colliver
I have seen many posts on this subject, but no definitive answers. It's said that you can use the RemoteAddrValve and RemoteHostValve to allow different degrees of access to different applications published under webapps, but how? The admin.xml example uses a context fragment. If I have another

Re: tomcat 4.1.x jsp pre-compilation

2004-06-11 Thread Woodchuck
hi Jason, thx a lot for your reply. i am, unfortunately, stuck with Tomcat 4.1.x. i don't have any problems getting jspc to generate .java files for jsps that exist in a hierarchical (sp?) tree. for instance, my jsps are scattered under my web root folder, in sub folders, etc.. my problem is

RE: Using RemoteAddrValve for individual webapps.

2004-06-11 Thread Shapira, Yoav
Hi, As the Valve config reference doc says, you can put a Valve inside an Engine, Host, or Context. It applies at whatever scope you put it. So if you have a Valve inside a Context, it only applies to that context. If you have a Valve inside a Host, it applies to all Contexts within the Host,

bypassing apache directives with jk2 and multiple hosts/ip addres ses

2004-06-11 Thread Cox, Charlie
I am running Apache 2.0.49 / jk2 2.0.4 / tomcat 4.1.29 I have several ip-based virtual hosts set up through Apache which use jk2 to get to tomcat. My problem is that I can bypass Apache settings for the domain by changing the ipaddress used for those domains with a client. Example configuration:

RE: Using RemoteAddrValve for individual webapps.

2004-06-11 Thread Robert S. Colliver
Let's say that I don't want to mess with my working server.xml. If I have an application that's accessed via webapps/myapp/jsp/index.html, where would I put the RemoteAddrValve code? Do I create a context fragment called webapps/myapp.xml and put it there? I'd rather not have to add a context

RE: Using RemoteAddrValve for individual webapps.

2004-06-11 Thread Shapira, Yoav
Hi, Let's say that I don't want to mess with my working server.xml. If I have an application that's accessed via webapps/myapp/jsp/index.html, where would I put the RemoteAddrValve code? Do I create a context fragment called webapps/myapp.xml and put it there? I'd rather not have to add a

RE: URL validation

2004-06-11 Thread Ikonne, Ike
Hi Yoav, I had this in the new URL(http://4526353[EMAIL PROTECTED]@##$#$$%(()))*(*^%^%^) and it passed. I was expecting to get some error. Should I? Ike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 3:43 PM To: Tomcat Users List Subject:

RE: URL validation

2004-06-11 Thread Shapira, Yoav
Hi, I had this in the new URL(http://4526353[EMAIL PROTECTED]@##$#$$%(()))*(*^%^%^) and it passed. I was expecting to get some error. Should I? No, you shouldn't get an error. It's a valid but nonsensical URL. If you're not clear why this is valid, and are interested, look at RFC 2396. To

Database connection problems after redeploying war

2004-06-11 Thread Chad Boyd
I'm having trouble accessing a database connection after war redeployment. I've read the documentation several times and went through suggestions posted in the mailing lists, but nothing has worked. I prefer the approach of having the context.xml file in the META-INF directory in the war itself.

Re: Denial Service Attack Prevention apache-tomcat modjk2

2004-06-11 Thread Harry Mantheakis
I've just come off implementing something very much like what Wade has recommended, and it works a treat. Note the use of a finally block to release the session lock, which is cool. Basically, the first request sets a flag stored in the session object so that no other (subsequent) request will

RE: Denial Service Attack Prevention apache-tomcat modjk2

2004-06-11 Thread Shapira, Yoav
Hi, That's an interesting approach: I'm glad it works for you. You and others should carefully consider using this approach, however, if you have clients that may refuse to join in a session. Such clients do exist, and the HttpSession guidelines mandate that your servlet(s) be accommodating of

Re: Denial Service Attack Prevention apache-tomcat modjk2

2004-06-11 Thread Wade Chandler
Shapira, Yoav wrote: Hi, That's an interesting approach: I'm glad it works for you. You and others should carefully consider using this approach, however, if you have clients that may refuse to join in a session. Such clients do exist, and the HttpSession guidelines mandate that your servlet(s)

Re: Database connection problems after redeploying war

2004-06-11 Thread Tom . Williams
We've got the exact same issue in our environment at all. Every time we define a datasource, we have to restart Tomcat so that datasource can be accessed. Additionally, when using a traditional web server frontend, like Apache or IIS, with mod_jk or mod_jk2, we have to restart the web

Re: Denial Service Attack Prevention apache-tomcat modjk2

2004-06-11 Thread Harry Mantheakis
I assumed the forcing of cookies and sessions. Me too. Most web applications that need to be concerned about repeat requests are likely to be dependant on session objects one way or another. And with that, a good weekend to all ;) An excellent idea! Kind regards Harry

RE: Database connection problems after redeploying war

2004-06-11 Thread Joyce Li
I also have 1 problem related the database connection which needs help. I used to have the infamous No suitable driver error, but after I corrected my connect string by adding schema into it (defined in context.html), it works for me: parameter nameurl/name

RE: Database connection problems after redeploying war

2004-06-11 Thread Hans
Hi, we had the problem you describe as well. I thought it was a bug in the dbcp common classes, so I decompiled them and changed the source which fixed it. However apparently that was not the way to go, since it is caused by a bug in the oracle driver. I posted my original emails concerning

RE: Database connection problems after redeploying war

2004-06-11 Thread Hans
Oops! Misread the stacktrace I am afraid my previous mail does not apply to your problem... sorry ... hmm perhaps I should go get some sleep At 14:09 11/06/2004 -0700, Joyce Li wrote: I also have 1 problem related the database connection which needs help. I used to have the infamous No

MySQL connection denied

2004-06-11 Thread stella luna
org.apache.jasper.JasperException: Unable to get connection, DataSource invalid: Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding rea exerpt from my web.xml file context-param param-name

How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-11 Thread Simone - Dev
Hello all, I made a servlet that generates a XML response that must be in UTF-8 because it can include any type of chars (Jap, Arabs, chinese, russian and so on) I developed it on Tomcat 5.0.x and I used, to set the correct encoding, the method setCharacterEncoding before calling the out.getWriter

RE: Database connection problems after redeploying war

2004-06-11 Thread Joyce Li
Hans, Thanks very much for your reply. I think it might still be related, because the null pointer exception I got is from DelegatingConnection.close(). However, I never thought it's bugs of dbcp or Oracle driver, since if I setup the datasource manually (following the example code in DBCP

RE: MySQL connection denied

2004-06-11 Thread Holly, Michael
Stella I believe you are correct. There are two places that this is usually set. One is in the /j2sdk/jre/lib/security directroy/java.policy. The other location is in /tomcat/conf/catalina.policy Permissions for the JVM/Tomcat to open sockets, read directories, etc. are controlled in these

A Servlet question

2004-06-11 Thread Daxin Zuo
I use Apache 2.4.9, Tomcat 4.1.9. In a JSP, there there are three frames in a frameset. the script of each frame is JSP. Can a JSP in one frame submit to a Servlet? I did a test and failed. Please confirm or teach me how to do. Thanks

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
AFAIK, submiting from a frame is the same as a single page. What was the error msg you've got? Probably, it has some problem in the servlet mapping... did you try to load the jsp alone in the browser and submit it? if it doens't work, it doens't has to do with the frames at all. Emerson Daxin

Re: aliases from apache don't work using soft links

2004-06-11 Thread Emerson Cargnin
Does anyone had this problem? or does anyone uses tomcat inside a soft link? thanks Emerson Cargnin wrote: Maybe this is a little offtopic, although highly related. I was used to use a symlink to access tomcat, so I could change the version just changing the softlink. Eg: /opt/tomcat points to

RE: A Servlet question

2004-06-11 Thread Daxin Zuo
You are right, after I send my last email to this list, I tested it with full URL of the servlet. It worked well. So I need to tell Tomcat that it is a servlet. The previous problem is that Tomcat add the relative path before the servlet name. Could you please give the example for the servlet name

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
servlet servlet-namepartServlet/servlet-name servlet-classgov.tresc.sgip.PartServlet/servlet-class /servlet servlet-mapping servlet-namepartServlet/servlet-name url-pattern/servlet/partServlet/*/url-pattern /servlet-mapping In this example, to access the servlet you could

Apache/tomcat serving weird pages

2004-06-11 Thread Mike DiChiappari
I am seeing some weird behavior with Apache and Tomcat. When I quickly refresh the page from the browser, sometimes the wrong page appears. We have two web sites on our server with virtual hosts. If I am reloading a page on web site A, sometimes a page from web site B appears. This seems

RE: A Servlet question

2004-06-11 Thread Daxin Zuo
I thought this map may not work either. in my web.xml I mapped the servlet as following: servlet servlet-nametestJSP/servlet-name servlet-classtexcel.testJSP.spiderClass/servlet-class /servlet servlet-mapping servlet-nametestJSP/servlet-name

Tomcat Default page

2004-06-11 Thread carters2
Hi, I am new to tomcat so bear with me. I set tomcat 5 up on a server today and it is working. I then setup webMathematica 2 and that is working fine. However, when I go to the address http://localhost the page shown is the default tomcat page. What I would like to do is have the address

Re:Default Page

2004-06-11 Thread carters2
Thank you for the resonse, but that is not what i'm looking to do. I have already changed the port to 80, but Tomcat still loads the Congrats you set up tomcat successfully page. What I want to do is change tomcat 5 to load the webMathematica webapp page by default instead. Anyone know how to

RE: Default Page

2004-06-11 Thread Paresh Varatkar
You can try changing default page in web.xml. Regards Paresh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 4:36 PM To: [EMAIL PROTECTED] Subject: Re:Default Page Thank you for the resonse, but that is not what i'm looking to do. I

Repost... no response from numerous posts

2004-06-11 Thread Jack Lauman
I've posted this same question on the apache and tomcat lists for the past six weeks and gotten no answers. Not even an insult saying the question was stupid. If I could find the answer in the docs I wouldn't be asking. I have virtual host in apache 2.0.49 with mod_jk2 its DocumentRoot is

RE: Repost... no response from numerous posts

2004-06-11 Thread Keene, David
Try looking at mod_rewrite with the proxy mode on. There were a couple of email yesterday about it. dave -Original Message- From: Jack Lauman [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 5:08 PM To: Tomcat Users List Subject: Repost... no response from numerous posts I've

Re: Tomcat Default page

2004-06-11 Thread QM
:I am new to tomcat so bear with me. I set tomcat 5 up on a server today and : it is working. I then setup webMathematica 2 and that is working fine. However, : when I go to the address http://localhost the page shown is the default tomcat : page. What I would like to do is have the address

Can Tomcat be used with non-web applications?

2004-06-11 Thread Christopher Collins
Hello, I am trying to use tomcat as a container for my program which is not a web-application. I can't see a way of specifying the context to be used, as it is automatically selected by web-apps based on their name. I tried configuring the default context for the datasource that my

Re: Repost... no response from numerous posts

2004-06-11 Thread Jack Lauman
Apache and tomcat are on the same box. I'd prefer to be able to do it the way I did in the past. Has this feature been intentionally removed from jk2? Jack Keene, David wrote: Try looking at mod_rewrite with the proxy mode on. There were a couple of email yesterday about it. dave

RE: Database connection problems after redeploying war

2004-06-11 Thread Chad Boyd
How about the original question. It seems we got off subject here. Can someone please read the original post and see if you have a solution. Thanks. -Original Message- From: Joyce Li [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 4:38 PM To: 'Tomcat Users List' Subject: RE:

Re: Jarring custom taglibs: looking for a file named taglib.tld

2004-06-11 Thread Keith Hankin
I want the tld file to be packaged in the jar file along with the custom class so that it is a reusable component, so I don't want to put it in WEB-INF. - Original Message - From: Adam Smith [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 11, 2004 5:57 PM

Re: Using JAVA_OPTS= -sever with jsvc on linux

2004-06-11 Thread Bill Barker
You can try using '-debug' to see what JVMs it finds. I'm guessing that you are using jsvc v1.0 with a 1.4.x JVM (which doesn't work well). You could try upgrading to the CVS HEAD version. Mariano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Adding -jvm server to the command line

Re: How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-11 Thread Bill Barker
You can use: response.setContentType(text/xml; charset=utf-8); This works for TC 3-5. Simone - Dev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I made a servlet that generates a XML response that must be in UTF-8 because it can include any type of chars (Jap, Arabs,