Re: [ANN] Apache Jakarta Tomcat 5.5.0 Released

2004-09-01 Thread Nikola Milutinovic
Yoav Shapira wrote: The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat 5.5.0. Is there any story on the version number hyper-jump-to-warp-speed? 5.0 is current, I can see links to 5.1. Why have you jumped to 5.5? Because of JDK 1.5? Nix.

Re: Access zu an jdbc Datasource

2004-09-01 Thread Robert Einsle
Hy, It seems to work, very much Thanks. Greetings \Robby D'Alessandro, Arthur schrieb: Try a resourcelink in your context for the webapp. Eg. Context cachingAllowed=true docBase=yourwebappname.war debug=99 path=/yourwebappname privileged=false reloadable=true swallowOutput=true ResourceLink

Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
i found this in jguru... Connector port=8009 protocol=AJP/1.3 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler redirectPort= 8443 tomcatAuthentication=false it stated there that if i do this in server.xml, request.getRemoteUser() will not equal to NULL.. ? i did, but

java environment + cron issue

2004-09-01 Thread John Sidney-Woollett
On a unix RH8 box starting and stopping TC 5.0.18 under the root account using the following script: #!/bin/sh # This script stops tomcat for (about) 1 minute, and then restarts it # it is run at the same time as the script to backup the # database (which is shutdown, and a file level copy made)

problem starting sever-engine

2004-09-01 Thread Hermel Thomas , Köln
Hello, this might sound peculiar, but I'm having problems starting Tomcat (V4). I placed my application (Java-Applet) as usual in the webapps directory, but the engine doesn't initialize completely, although there are no error messages in the loggings. Has anyone ever encountered similar

Re: java environment + cron issue

2004-09-01 Thread Andre Legendre
I don't know the cause of your problem, but personaly I use nohup to start commands from cron : nohup /usr/local/jakarta-tomcat-5.0.18/bin/shutdown.sh nohup manage in good way standard input and output (you can pass options) and keep your task running after father task die. Hope it help. Andre

RE: JSP/HTML Encoding

2004-09-01 Thread Allistair Crossley
The filter I sent you ensures that the request is encoded as UTF-8 which includes the euro character. When you are posting your forms with the euro character I believe your request is set to ISO-8859-1 and you lose the information, hence the ?. pageEncoding just sets the response encoding for

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
we do it by adding request.tomcatAuthentication=false into tomcat/conf/jk2.properties if you are using IIS then you also need to set Windows Integrated Authentication on your default website. ADC -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: 01 September

Re: java environment + cron issue

2004-09-01 Thread Kazuhito SUGURI
Hi John, In article [EMAIL PROTECTED], Wed, 01 Sep 2004 09:01:24 +0100, John Sidney-Woollett [EMAIL PROTECTED] wrote: johnsw On a unix RH8 box starting and stopping TC 5.0.18 under the root account johnsw using the following script: [snip] johnsw However if the script is invoked from cron, the

How to pre-determine the browser request character encoding type

2004-09-01 Thread Ben Bookey
Hi Alistair, I hope you find time to do your work more questions :) Why should the IE client which is definitely reading/parsing as ISO-8859-15(i can see this in the IE menu bar), then post to the server converting the Euro to a questionmark . its rather stupid of IE isn't it, its definitely

++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-01 Thread Ben Bookey
Dear list, We have a web-based jsp-servlet application performing updates, deletes and inserts into an oracle database running with Tomcat 5. We want to support both american, and european customer client locales, so we want to use either ISO-8859-15 or utf-8. But we are having problems saving

RE: JSTL 11 with Tomcat 5.0.27

2004-09-01 Thread Chris Ward
I tried adding the XML element suggested but it made no difference. I still find that the XML tags of JSTL 1.1 under Tomcat 5.0.27 cause a silent failure of previously working JSPs. Anyone got any other suggestions on this one? Chris Thanks again. I'm showing my ignorance now but I don't

jndi-datasource

2004-09-01 Thread Steve Cheng
I follow the tomcat document and try to setup JNDI in tomcat. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how to.html But I get the following exception. javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null'

content-type problem with mod-jk

2004-09-01 Thread Stuart Hynd
The content-type header field in an http response from a servlet running in tomcat but delivered through mod-jk appears to be defined by the apache mime type and extension configuration. If a servlet sets the content type then the value is not reflected in the response when using mod-jk. This

RE: ++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-01 Thread Allistair Crossley
We had to look at several areas: 1. JSP pageEncoding %@ page contentType=text/html; charset=UTF-8 % This ensures that the JSPs will display pretty much everything. Actually, our SQL Server database runs Latin1_General_CI_AS (which does include euro). 2. Database Connection URL

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
i added request.tomcatAuthentication=false inside jk2.properties... and set windows integrated authentication on my website. but still... request.getRemoteUser() returns NULL... =| here's my jk2.properties file; ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
you have # request.tomcatAuthentication=false which means that line is commented out and not used. Change it to request.tomcatAuthentication=false ADC -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: 01 September 2004 10:00 To: Tomcat Users List Subject: RE:

Re: JSTL 11 with Tomcat 5.0.27

2004-09-01 Thread Big Chiz
But does a simple %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % c:set var=test value=hello/ ${test} work! On Wed, 1 Sep 2004 09:35:51 +0100, Chris Ward [EMAIL PROTECTED] wrote: I tried adding the XML element suggested but it made no difference. I still find that the XML tags

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
i removed the comment, but still request.getRemoteUser() returns NULL. =| here's my server.xml; Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
try removing the Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: 01 September 2004 10:26 To: Tomcat Users List Subject: RE: Why request.getRemoteUser() returns NULL ? i removed the

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
remove the tomcatAuthentication=false attributes from server.xml and use only jk2.properties? we do not have tomcatAuthentication=false in the server.xml and it works that way. are you connecting via a webserver? are you using AJP? ADC -Original Message- From: Aris Javier

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
hello! removing what? -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 6:23 PM To: Tomcat Users List Subject: RE: Why request.getRemoteUser() returns NULL ? try removing the Allistair Crossley New Media Group, QAS Ltd

Re: ++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-01 Thread Nikola Milutinovic
Ben Bookey wrote: Dear list, We have a web-based jsp-servlet application performing updates, deletes and inserts into an oracle database running with Tomcat 5. We want to support both american, and european customer client locales, so we want to use either ISO-8859-15 or utf-8. But we are having

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
im using tomcat5.0.25 and IIS via Jspisapi filter... are you using jcifs in your authentication to get request.getRemoteUser() to work? i tried removing tomcatAuthentication=false in server.xml but to no avail. it still fails. =| by changing the jk2.properties file, i don't need to include

RE: JSTL 11 with Tomcat 5.0.27

2004-09-01 Thread Chris Ward
Hi, I went back to first principles and you are quite correct, things do seem to be functioning properly. Thanks very much for the patient help. In the course of doing all this I downloaded the JSTL 1.1 zip from the Jakarata site so I could test the standard-examples WAR file. However, I

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
Hi, Ah! tomcatAuthentication=false is configured in JK2 which is what I am using - JK2 ISAPI filter for IIS ... http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2/installhowto.html Perhaps this is a problem with your Jspisapi filter. Try changing to JK2. You do not need JCIFS since IIS

Re: jndi-datasource

2004-09-01 Thread Antony Paul
Do you have the jtds jar in Tomcat classpath. I think it should in same directory as dbcp.jar which is in CATALINA_HOME\common\lib folder. Antony Paul - Original Message - From: Steve Cheng [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 01, 2004

Re: jndi-datasource

2004-09-01 Thread Robert Einsle
HY seems the same error with me :-))) You must define the Resource beound GlobalName(blah) and connect it in Context with the Application. Search in the Mailarchive to Subject: --- cut --- Access zu an jdbc Datasource --- cut --- Greetings \Robby Antony Paul schrieb: Do you have the jtds

Re: Functionality of run-as for Servlets

2004-09-01 Thread Gunnar Brading
Your suggestion is very good, but doesn't work, as I understand it, when not using a SecurityManager. Subject.getSubject() returns null. Now I myself think it is a great idea to use a security-manager at all times, but when writing an application it seems like a good idea not to make that

How to Disable Tomcat Logs

2004-09-01 Thread Shakeel Ahmad
How to disable Tomcat's logs, including stderr and stdout ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to Disable Tomcat Logs

2004-09-01 Thread Shapira, Yoav
Hi, That depends on what you mean by disable. You can't just turn them off. You can redirect them to /dev/null if you'd like, that's your own (terrible) decision. Yoav Shapira Millennium Research Informatics -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent:

RE: [ANN] Apache Jakarta Tomcat 5.5.0 Released

2004-09-01 Thread Shapira, Yoav
Hi, Yeah, mostly to indicate that there are more major changes than a simple point release (5.0 - 5.1) would suggest. There's the runtime JRE version changes, internal API changes, significant rewrites/changes to key classes (e.g. the classloaders). You can read more about it in the tomcat-dev

Re: problem starting sever-engine

2004-09-01 Thread QM
On Wed, Sep 01, 2004 at 10:04:00AM +0200, Hermel Thomas , K?ln wrote: : this might sound peculiar, but I'm having problems starting Tomcat (V4). : I placed my application (Java-Applet) as usual in the webapps directory, : but the engine doesn't initialize completely, although there are no error :

RE: [ANN] Apache Jakarta Tomcat 5.5.0 Released

2004-09-01 Thread V. Karthik Kumar
Hi, Where can I get 5.5 ? (a CVS snapshot is OK.) Regards, Karthik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jndi-datasource

2004-09-01 Thread V. Karthik Kumar
Hmmm, But seriously, there ought to be a better way to add datasources in the future... Probably the only solution is to set-up a LocalDataSourceFactory, when an entry exists in Context.xml ... and then add these to the current classpath... Yeah, I know it sucks, but when it's possible to have

AW: ++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-01 Thread Ben Bookey
Hi Allistair, I have installed your filter and it seems to be working, and utf-8 is processed on the server. %@ page language=java errorPage=MainIdentificationMainError.jsp% %@ page import=java.lang.*,java.io.*,java.sql.*,javax.naming.*,javax.sql.*,java.uti

AW: problem starting sever-engine

2004-09-01 Thread Hermel Thomas , Köln
guess I found the error... a class in a Web/inf/libs/...jar-library is requesting an XML-file via Tomcat. Since Tomcat hasn't started the file can't be found which probably incommodates the deploy (or however you'd express it!). -Ursprüngliche Nachricht- Von: QM [mailto:[EMAIL

JSP won't compile

2004-09-01 Thread Chuck Chopp
I've got a very simple webapp that I'm putting together and it only makes use of the html tag library. I have successfully deployed executed this webapp [based on Struts v1.1] to WinXP w/Tomcat v4.1.30 JDK v1.4.2 and to NetWare v6.5 w/Tomcat v4.1.28 JDK v1.4.2. When I deploy to an Alpha

Re: java environment + cron issue

2004-09-01 Thread John Sidney-Woollett
You might try compare results of /usr/bin/env executed from cron and command-line. You may need to set some environment variables, LANG for example, to make JVM works as you expected. You're right - when the script is run by cron the LANG environment variable is undefined. I will modify the

Unpack WAR Problem

2004-09-01 Thread Diego, Emil
Hi, I am running tomcat 4.1.27-13 and apache 2.0.49-4 on fedora core 2. I have configured tomcat and apache to work together to server JSP pages. Now I am trying to install a Java web application. Here's what I did so far: 1. I copied the war file (opencms.war) into my webapps

Re: Help, URI mapping problem with JK2

2004-09-01 Thread gerardo
I'm sure it must me something else but, what permissions does the directory '4walls' have? And the rest of the path as well? Because your url seems to stop working from there on. Might be worth a look. Gerardo I am running Apache 2.0.50, mod_Jk2 and Tomcat 4.1.30. In my workers2.properties

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Additional information: I found some additional information in a server log. It looks like the Java class that is being generated for login.jsp is not getting declared properly, or else the source file login_jsp.java is not being found even though it exists. Here's the snippets of what I

Re: Unpack WAR Problem

2004-09-01 Thread gerardo
You say you installed the xml file *in the webapps directory*. It should be in your-web-app/WEB-INF directory, shouldn't it? Or is this what you meant? Gerardo Juarez PS - In version 4.1.30 I don't have to restart the server. I enter the Tomcat Manager and redeploy the application. I don't know

RE: JSP won't compile

2004-09-01 Thread Shapira, Yoav
Hi, This is why you should put your class in a package: http://jakarta.apache.org/tomcat/faq/classnotfound.html. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Chopp Sent: Wednesday, September 01, 2004 11:42 AM

Re: Unpack WAR Problem

2004-09-01 Thread QM
On Wed, Sep 01, 2004 at 11:51:49AM -0400, [EMAIL PROTECTED] wrote: : You say you installed the xml file *in the webapps directory*. It should : be in your-web-app/WEB-INF directory, shouldn't it? Or is this what you : meant? Instead of WEB-INF, make that META-INF. -but that's if the context XML

Re: jndi-datasource

2004-09-01 Thread QM
On Wed, Sep 01, 2004 at 07:08:06PM +0530, V. Karthik Kumar wrote: : But seriously, there ought to be a better way to add datasources in the : future... See below. : Probably the only solution is to set-up a LocalDataSourceFactory, when : an entry exists in Context.xml ... and then add these

Tomcat 5.5

2004-09-01 Thread Schalk Neethling
Hey there Is release 5.5 of Tomcat a stable - production release? -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] Global:

RE: Tomcat 5.5

2004-09-01 Thread Allistair Crossley
from the jakarta site.. The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat 5.5.0. This is the first release of the new Tomcat 5.5 branch, and as such it is not yet stable. We expect significant additional changes, including possible changes to packaging,

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Shapira, Yoav wrote: This is why you should put your class in a package: http://jakarta.apache.org/tomcat/faq/classnotfound.html. All of my form and action classes derive from abstract base classes based on ActionForm and Action. All of my application specific classes are packaged. I've

RE: JSP won't compile

2004-09-01 Thread Shapira, Yoav
Hi, Never mind then, it doesn't seem to be an issue of putting your class in a package ;) As to why it doesn't work on OpenVMS -- beats me ;) Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Chopp Sent: Wednesday,

Re: JSP won't compile

2004-09-01 Thread gerardo
Can the Java code of your JSP be compiled as a regular java file? I have tried this with success when it's possible. I mean: take the java code to a file and try to compile it with javac. Compiler level ncompatibilities sometimes come up. If it compiles ok, then Tomcat is not finding the source

How to configure logs in Tomcat 5.5?

2004-09-01 Thread Jonathan Eric Miller
I noticed in the change log that some changes have been made to the way things are logged in Tomcat 5.5. I was using something like the following in my server.xml previously. However, this no longer works. Logger className=org.apache.catalina.logger.FileLogger directory=logs

Re: JSP won't compile

2004-09-01 Thread Wendy Smoak
From: Chuck Chopp [EMAIL PROTECTED] I'm still at a loss to explain why this happens on just this one Tomcat implementation. I'd be more inclined to blame the JVM than Tomcat. Can you diff the generated index_jsp.java files and see if there are any differences? What about trying to compile the

RE: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Shapira, Yoav
Hi, Loggers are gone: your server.xml Logger element is invalid and should be removed. For configuring commons-logging with Tomcat, see http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j. If you're unfamiliar with commons-logging or want to learn more about it, check out the

RE: How to configure logs in Tomcat 5.5?

2004-09-01 Thread V. Karthik Kumar
Hi, Are the Valves gone too? On Wed, 2004-09-01 at 22:20, Shapira, Yoav wrote: Hi, Loggers are gone: your server.xml Logger element is invalid and should be removed. For configuring commons-logging with Tomcat, see http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j. If

RE: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Shapira, Yoav
Hi, No, the Valves are not gone, they're still around. Their performance is better, due to simpler runtime stacking and no more double-chaining. As always, the advice on Valves remains if you can do it in a portable way, e.g. with a javax.servlet.Filter, then don't do it in a server-specific

RE: JSP won't compile

2004-09-01 Thread Larry Isaacs
Hi Chuck, I believe your difficulty at this point is due to a second problem, which is that default error page only unwraps two levels of exceptions. Your real problem is at the third level or below, and the two levels that are displayed leave you clueless as to what the real problem is. In

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Wendy Smoak wrote: From: Chuck Chopp [EMAIL PROTECTED] I'm still at a loss to explain why this happens on just this one Tomcat implementation. I'd be more inclined to blame the JVM than Tomcat. I'm wondering if I can back-rev the JVM to v1.3.1 on OpenVMS and still deploy a webapp that was built

Re: How to configure logs in Tomcat 5.5?

2004-09-01 Thread V. Karthik Kumar
Hi, This is because the org.apache.catalina.logger.FileLogger class was deprecated in favor of the commons-logging API (and subsequently the log4j API, though the latter is not needed, ) ... Also see: http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/Jdk14Logger.html

Re: Help, URI mapping problem with JK2

2004-09-01 Thread John Gentilin
Gerardo, Thank you for the reply. With some trial and error testing, I found that the %2f, an escaped /, was causing the problem. It is fairly easy to test, just append a %2f to ANY url mapped using mod_jk2. I would expect the %2f to either have no effect or a 500 error message from Tomcat, but

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Shapira, Yoav wrote: Hi, Never mind then, it doesn't seem to be an issue of putting your class in a package ;) As to why it doesn't work on OpenVMS -- beats me ;) When I figure it out I'll post back here with more information about it. -- Chuck Chopp ChuckChopp (at) rtfmcsi (dot) com

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Chuck Chopp wrote: Wendy Smoak wrote: Can you diff the generated index_jsp.java files and see if there are any differences? I'm in the process of doing that right now. The quick cursory overview didn't show any unpackaged classes, etc..., in the generated Java code for the JSP that won't

Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Jonathan Eric Miller
In Tomcat 4.0 and 5.0, I had the following in my server.xml file. Context path= docBase=ROOT debug=0 reloadable=true/ However, if I try to use this in Tomcat 5.5, I receive the following error in catalina.out. Does anyone know if I need to change something to get it to work with Tomcat 5.5, or,

Re: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Jonathan Eric Miller
Thanks for the info. Does this mean that if I don't configure the logging and an exception occurs in Tomcat, or, in an application that it will not be logged at all? Or, does it go to catalina.out by default? If it goes to catalina.out, that's fine, I just want to make sure that while I'm

RE: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Shapira, Yoav
Hi, Is there another context configured for the path? Yoav Shapira Millennium Research Informatics -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 2:20 PM To: Tomcat User List Subject: Context path= docBase=ROOT... fails in

RE: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Shapira, Yoav
Hi, Exceptions will be logged to the console by default, yeah. Access logs have been commented out by default for a long long time, this is not new to Tomcat 5.5, and it's for performance reasons. Yoav Shapira Millennium Research Informatics -Original Message- From: Jonathan Eric

Re: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Jonathan Eric Miller
Nope. The same server.xml works fine in Tomcat 5.0.25. Jon - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 1:29 PM Subject: RE: Context path= docBase=ROOT... fails in Tomcat 5.5? Hi, Is there another

symbolic links in webapps

2004-09-01 Thread Philippe Mathieu
Hi, Because i want to share several JSP pages between two webapps, i am using symbolic links in one of them, pointing to the other. Unfortunately it seems that it doesn't work :-( I use Tomcat 5 under linux Debian Does anyone have a solution and/or an explanation ? Thanks -- Phil

SocketException

2004-09-01 Thread Hollerman Geralyn M
I am getting this error in catalina.out: Sep 1, 2004 12:41:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument (this is the entire message) I am running Tomcat 5.0.16, going against a MySQL 4.0.17 database; JDK 1.4.2_05 is

RE: symbolic links in webapps

2004-09-01 Thread Shapira, Yoav
Hi, The spirit of the Servlet Specification is to make webapps self-contained entities that are also portable. Symlinks are not portable and defeat self-containment. Your options: - Have two copies of the JSPs (should be no big deal, since you should have one copy in source control and do a

RE: UTF-8 Encoding Issue Since 5.0.27 ( gun in my mouth )

2004-09-01 Thread Mark Thomas
The change (which is required by the spec) is that if the character set has not been set before a call to getWriter() then it will default to ISO-8859-1. There was some discussion on the tomcat-dev list about this (see http://marc.theaimsgroup.com/?l=tomcat-devm=109104739719572w=2) I'll try and

Re: symbolic links in webapps

2004-09-01 Thread Jonathan Eric Miller
If I remember correctly, symlinks are disabled by default. I think you can turn them on using an attribute value for an element in server.xml. Jon - Original Message - From: Philippe Mathieu [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Sent: Wednesday, September 01, 2004

Re: JSP won't compile

2004-09-01 Thread Wendy Smoak
From: Chuck Chopp [EMAIL PROTECTED] That's what I was hoping to do. I agree, it is all Java so it should be possible to at least drop in the Tomcat v4.1.30 JAR and CLASS files. I wouldn't do it that way... I'd drop in a full new Tomcat install and set about retrofitting it to start and stop in

How do I make my servlet the welcome page

2004-09-01 Thread Brad Taylor
I am running tomcat 5.0.9. I currently enter a url like http://localhost:8080/myapp. This causes a redirect page to be briefly displayed followed by my servlet getting invoked and serving the real page. I would like to bypass this redirect, but can not seem to get it to work. I have tried

RE: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Shapira, Yoav
Hi, Try removing the debug attribute, as that's not in the standard Context in 5.5.0 (Loggers are gone). In general, if you copy and paste configuration files across release versions, be careful. Yoav Shapira Millennium Research Informatics -Original Message- From: Jonathan Eric

RE: How do I make my servlet the welcome page

2004-09-01 Thread Shapira, Yoav
Hi, I hope ui.html is a directory and not a file, because otherwise your Context docBase is invalid. Specify a DTD (or schema) for your web.xml, and make sure it's valid according to that DTD (or schema). For example, in the 2.3 servlet spec DTD, welcome-file-list can only come after servlets

Re: How do I make my servlet the welcome page

2004-09-01 Thread QM
On Wed, Sep 01, 2004 at 02:16:49PM -0500, Brad Taylor wrote: : I am running tomcat 5.0.9. I currently enter a url like : http://localhost:8080/myapp. This causes a redirect page to be : briefly displayed followed by my servlet getting invoked and serving the : real page. I would like to bypass

Re: How do I make my servlet the welcome page

2004-09-01 Thread Jonathan Eric Miller
The problem that I found with doing it this way is that I had a security-constraint on my application and it wasn't being enforced when I tried to do that. So, I created an index page that redirects to the application. Jon - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Wendy Smoak wrote: From: Chuck Chopp [EMAIL PROTECTED] That's what I was hoping to do. I agree, it is all Java so it should be possible to at least drop in the Tomcat v4.1.30 JAR and CLASS files. I wouldn't do it that way... I'd drop in a full new Tomcat install and set about retrofitting it to

What is the difference in classloading between tomcat 4.1.x and 5.0.x

2004-09-01 Thread tomcat-user
In a web application running under Tomcat, I have defined a filter in the web.xml file. The filter is pointing to a class that is packed in a jar-file, and the jar-file is kept in the $CATALINA_HOME/shared/lib directory. In Tomcat 4.1.x the application is working without any problems. When

RE: How do I make my servlet the welcome page - resolved

2004-09-01 Thread Brad Taylor
After trying both suggestions (moving welcome file list to end of web.xml and adding the 2.4 schema to the web tag), it still did not work. I tried changing the web.xml in the tomcat\conf directory, it still did not work. I removed index.html from my directory and it started displaying the

RE: What is the difference in classloading between tomcat 4.1.x and 5.0.x

2004-09-01 Thread Shapira, Yoav
Hi, Oh yeah, that reminds me, we might have a bug still present with classloading from shared/lib in 5.0.x. Try a much earlier version, e.g. 5.0.16, and let us know if that works. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

ROOT context using admin webapp

2004-09-01 Thread Matt Bathje
I sent this a wihle back and didn't get a response, so I'm going to try again. This applies to both Tomcat 5.0.25 and 5.0.27. Is it possible to add a ROOT context to a host using the administrative webapp? I know how to do it by editing the server.xml (or Catalina/host/context.xml) file, but

Re: SocketException

2004-09-01 Thread Hollerman Geralyn M
Hollerman Geralyn M wrote: I am getting this error in catalina.out: Sep 1, 2004 12:41:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument (this is the entire message) I am running Tomcat 5.0.16, going against a MySQL 4.0.17

Re: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Jonathan Eric Miller
I tried it without the debug attribute and the result is the same. Actually, the server.xml file that comes with Tomcat 5.5 has a lot of debug attributes in it. One thing that I've been wondering about is if you guys have considered creating XML schema files for each of the configuration

How to enable debug logging of session replication?

2004-09-01 Thread Marko Milicevic
I am running Tomcat 5.0.27 under Windows2k. I am trying to configure a two box cluster, but I'm not having luck getting session replication to work? I have added a distributable/ element to my web.xml. I have the following cluster config for my server.xml. Cluster

RE: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Mark Thomas
You can't define a schema for the configuration files because you don't know what attributes and/or nested elements any customised components may use. No schema = no validation. Mark -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, September

mod_jk cutting off request params?

2004-09-01 Thread Marcel Stör
Hi all, I'm confronted with a very strange problem. I've upgraded from Tomcat 3.2.4 to 3.3.2 (we're conservativ over here ;-)). As a result my Apache-Tomcat connection through mod_jk is broken. Ajp12 runs on 8007 and Coyote on 8080. If I access my app through

Name jdbc is not bound in this Context

2004-09-01 Thread Ben Halton
Hi, I am getting the problem : javax.naming.NameNotFoundException: Name jdbc is not bound in this Context using Tomcat 5.025. I have seen suggested solutions to this problem, none of them seem to work. My web.xml: resource-ref descriptionOracle Datasource

Re: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-01 Thread Remy Maucherat
On Wed, 1 Sep 2004 13:19:48 -0500, Jonathan Eric Miller [EMAIL PROTECTED] wrote: In Tomcat 4.0 and 5.0, I had the following in my server.xml file. Context path= docBase=ROOT debug=0 reloadable=true/ However, if I try to use this in Tomcat 5.5, I receive the following error in catalina.out.

RE: UTF-8 Encoding Issue Since 5.0.27 ( gun in my mouth )

2004-09-01 Thread Mark Thomas
OK. I have a simple test case and all seems to be well. See the end of this message for the contents of my test files. My environment: Win XP SP2 - brave I know but all has been OK so far ;) JDK 1.4.2_05 Tomcat 5.0 branch, HEAD (latest) from CVS (very close to 5.0.28) Points to note: 1. All my

Re: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Remy Maucherat
On Wed, 1 Sep 2004 14:29:32 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Exceptions will be logged to the console by default, yeah. Access logs have been commented out by default for a long long time, this is not new to Tomcat 5.5, and it's for performance reasons. I was thinking about

Connecting Tomcat 5.5 to Apache 2

2004-09-01 Thread Morris Hooten
I have tried several versions of tomcat with several versions of apache and have installed and reinstalled and I can bring up both fine and access apache web pages and the tomcat webpage to see the examples page, etc. However, I can't seem to make them communicate no matter what I do. This

Re: Functionality of run-as for Servlets

2004-09-01 Thread Gunnar Brading
Following up after some testing I gave up, and just for testing thought I should use the SecurityManager. Always a good idea. But... I got to be stupid or something, but I do not get the run-as to show up anyhow. When not authenticated, the retrieved Subject gives an empty set of

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
OK, things just go weirder. My struts-based webapp uses a welcome page named index.jsp, which is located in the webapp's root folder. My other JSP files are all located in the subfolder WEB-INF/form. According to all of the tutorials I've read, this is a very reasonable thing to do as it makes

Re: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Bill Barker
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/logger.html At least until it goes away ;-). Jonathan Eric Miller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I noticed in the change log that some changes have been made to the way things are logged in Tomcat 5.5. I was

j2sdk and j2sdkee, which one?

2004-09-01 Thread Aris Javier
Good Morning! im confused, i have j2sdk1.4.1 and j2sdkee1.3.. in running my web app which is jsp/servlet designed... can i remove j2sdk1.4.1 in my system? or it is still necessary to have them both installed? thanks aris

Remote Installation of Tomcat 5.0

2004-09-01 Thread Venu
Hi Group Good Morning, I m bit confused and seaching for some information for the following issues -How to perform Remote Installation of Tomcat5.0 on a linux machine for running about 30 different applications on that Server. -Is the Tomcat5.0 is stable or Tomcat4.1 is stable? -What are the

Re: Remote Installation of Tomcat 5.0

2004-09-01 Thread QM
On Thu, Jul 08, 2004 at 10:56:02AM +0800, Venu wrote: : -How to perform Remote Installation of Tomcat5.0 on a linux machine for running : about 30 different applications on that Server. Are you running a single Tomcat instance that serves 30 webapps? or 30 Tomcat instances, each with one

Aesthetics Suggestions

2004-09-01 Thread V. Karthik Kumar
Hi, 1. Should there be a redirection page (say, index.jsp or index.htm) to ./html when manager app is invoked through http://localhost:8080/manager , or that it entirely defeats the purpose? 2. I could run the newer version of tomcat, and a link to the admin page has been given by default in the

  1   2   >