Re: Problem Compiling A JSP file

2002-03-17 Thread James Williamson
My guess, and not Tomcat related at all is you've forgotten to put the package statement in the JspCdBrowse.java file. i.e. package com.web_tomorrow.jspcd; Regards, James Williamson www.nameonthe.net - Original Message - From: Bahman Kalali [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: 100% cpu on one of two processor

2002-03-17 Thread Keith Ng
May i noe this memory leak problem occurs at which OS? or is it just linux? -Original Message- From: Chris Newland [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 11:51 PM To: Tomcat Users List Subject: RE: 100% cpu on one of two processor Hi, There is a known memory leak in

Bug in djasper4/jasper4 tomcat4-4.0.2-3.noarch.rpm

2002-03-17 Thread Juan J. Merelo
Hi, there: I have been trying to use the jasper 4 offline compiler, and found it kind of impossible; I'm not good at debugging shell scripts, but it looks like it does not pass the correct arguments to djasper4, and, in any case, djasper4 seems to be buggy too. I have added this as

MacOS X - Changing JAVA_OPTS for 8859_1 encoding

2002-03-17 Thread Steven Elliott
Sorry if this is off topic but I know there are OSX, Tomcat users here who may be able to shed some light on my problem. The problem has to do with ASCII characters 128 for locale character support such as tilde, circumflex, etc. while running Tomcat (4.0.3) on MacOS 10.1.3 w/ java version 1.3.1

Running 2 Tomcat server and making one intranet

2002-03-17 Thread Keith Ng
Hi Please guide me on the following I need to run two tomcat server for my sch assignment, one being Internet and the other Intranet on the same machine(different ports , 1 8080 the other 9080). Im using 4.0.2. I need to noe the steps for running 2 tomcat servers on the same machine and the

Why No Servlet.jar Available in Tomcat 4.0.3?

2002-03-17 Thread Li Bing
Hi, all, I just installed Tomcat 4.0.3 on my linux machine. But I found that there was no servlet.jar under the $TOMCAT_HOME/lib. How can I use servlets without the .jar file? Thanks, Li Bing _.._ .' '-. `. __/__(-.

SOAP + SSL ?

2002-03-17 Thread nomorems
Dear, I have some problems with my Tomcat in combination with SOAP and SSL. I did the steps from 1 to 5a (http://xml.apache.org/soap/docs/install/FAQ_Tomcat_SOAP_SSL.html) , but I get this report: Ctx( ): 400 R( /) null Ctx( ): IOException in: R( /) null cert chain Ctx( ):

RE: 100% cpu on one of two processor

2002-03-17 Thread Peter Wieland
I had the same problem with jdk 1.3.1 and 1.4.0 on Windows 2000 (100 % CPU usage with no result). I'm not sure wether this was due to the memory leak or if there are other problems. (I tried out different combinations of Tomcat, Cocoon and Java Versions. Since I use Tomcat 3.2.4, Cocoon 2.0.1 and

Re: help with realm setup

2002-03-17 Thread John Holman
Tony If you use the newly committed JNDIRealm, you can easily arrange that each user has a role whose name is the same as their username. Just set userRoleName to uid (or whatever attribute of the user's directory entry holds the username) and your security constraint below should work.

tomcat 4, default XML parser, XSLT, Xalan Configuration

2002-03-17 Thread Brendan Colthurst
I had a simple XML / XSLT transform utility working with tomcat 3.2.3 using the xalan and xerces libraries. I upgraded to tomcat 4.0.3, and now the utility throws configuration exceptions. I'm having trouble getting the details of the exceptions because they're all wrapped up in servlet

Re: Problem Compiling A JSP file

2002-03-17 Thread Bahman Kalali
Exactly, That was the problem Thanks, --Bahman - Original Message - From: James Williamson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:28 AM Subject: Re: Problem Compiling A JSP file My guess, and not Tomcat related at all is you've

Re: tomcat 4, default XML parser, XSLT, Xalan Configuration

2002-03-17 Thread Brendan Colthurst
Tomcat User List, Okay, I always do this -- post a problem, then post the solution... I just had to: 1. Download the source for the xalan package: http://xml.apache.org/dist/xalan-j/xalan-j_2_3_1-src.tar.gz 2. Remove their xercesImpl.jar 3. Replace it with the xerces.jar that came with

RE: Plz Help me_anyone peoblem in getString

2002-03-17 Thread Yuval Levav
Hi, Is it possible to use jars that are not placed under CATALINA_HOME or any of the web apllication directories. And if so, how ? Thanks, Yuval -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

response.sendRedirect not redirecting

2002-03-17 Thread Mostafa Al-Mallawani
Hi, I have a problem with redirecting. In my JSP page I keep checking for errors, whenever I catch one, I set a variable on the session object and then forward to an error page; this could happen up to 5 times in one page. The weird thing is, redirection works on some pages and does absolutely

Re: jndi versus database connection pooling

2002-03-17 Thread Nikola Milutinovic
Nikola Milutinovic wrote: [EMAIL PROTECTED] wrote: I think all servlet tags should be defined prior to defining the servlet-mapping tags. You could be right. I added both ResourceRef and the second Servlet definition at the same time, thinking that itæs OK. I'll test it on Monday.

RE: response.sendRedirect not redirecting

2002-03-17 Thread Brian Adams
add return; just after response.sendR. -Original Message- From: Mostafa Al-Mallawani [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 7:12 AM To: 'Tomcat Users List' Subject: response.sendRedirect not redirecting Hi, I have a problem with redirecting. In my JSP page I keep

RE: Why No Servlet.jar Available in Tomcat 4.0.3?

2002-03-17 Thread JavaJosh
-Original Message- From: Li Bing [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 2:45 AM To: Tomcat Users List Subject: Why No Servlet.jar Available in Tomcat 4.0.3? Hi, all, I just installed Tomcat 4.0.3 on my linux machine. But I found that there was no servlet.jar

Solaris JNI

2002-03-17 Thread Dr T. Carver
Hi, We have a problem using in-house code using TomCat to provide an authenticating server. This code works alright on Linux, SGI, AIX and MacOSX for simultaneous requests. It does not, however, work for Solaris with simultaneous requests (single requests do work). The flow of the server is:

RE: jndi versus database connection pooling

2002-03-17 Thread Bing Zhang
Well, right now I even do not bother to download them. I just go to jakarta website to read directly there. However, I want to find out the reason for this. Maybe I am missing something that will affect my other applications. You never know. It seems this is a mystery without answears. Bing

FW: Apache-Tomcat webapps, who serves images?

2002-03-17 Thread Uma Munugala
Hi Iam Running tomcat 4.0.3. on windows NT. Installation is successful, and examples work properly. I deployed my application in web-inf/classes Iam getting an error when I run servlet. When code is trying to access the RelConnection.gDefaultConnectionIsOracle, a static member Iam getting

RE: FW: Help help

2002-03-17 Thread Uma Munugala
Hi Aman Thanks for reply I tried the way u suggested Iam getting an error when I run servlet. When code is trying to access the RelConnection.gDefaultConnectionIsOracle, a static member Iam getting the error. java.lang.ClassFormatError: com/CellFusion/Relational/RelConnection (Illegal Variable

Newbie: Servlet under Windows does not run

2002-03-17 Thread Jim Cobban
I am desperate for help in getting Tomcat to run my servlet. I have read all of the documentation and tried to follow the rules, but Tomcat just does not run the servlet. Under 4.0.3 I get the following log entries: 2002-03-17 14:52:33 StandardHost[localhost]: Installing web application at

Re: Newbie: Servlet under Windows does not run

2002-03-17 Thread Matt Egyhazy
what is the package name in the .java file of your censusquery class? matt - Original Message - From: Jim Cobban [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John W Austin [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:20 PM Subject: Newbie: Servlet under Windows does not run I am

Catalina Cookies URL Encoded? Tomcat 3 Not?

2002-03-17 Thread Megliola, Leonard
Hello, I recenly upgraded to Tomcat 4 and found that some of my cookie parsing code no longer works. It seems that with Tomcat 3 colons come through as colons in my cookie values but in Tomcat 4 they are URL encoded (%3A). Is this standard behavior in Tomcat 4 or a bug? Should I modify

Re: Catalina Cookies URL Encoded? Tomcat 3 Not?

2002-03-17 Thread Anders Rundgren
Leonard, Its a bug in Tomcat 4. We also had to make the work-around you suggested. I depends also on if you use Warp or AJP connectors. There are unfortunately other cookie-related bugs in TC 4 as well. Some due to the fact the the browser manufacturers do not follow the current RFC too well.

RE: Catalina Cookies URL Encoded? Tomcat 3 Not?

2002-03-17 Thread Megliola, Leonard
Is there a list of known cookie bugs somewhere? That raises the question of whether there is a bug tracker I can browse through to find this information. Is there? Leonard -Original Message- From: Anders Rundgren [mailto:[EMAIL PROTECTED]] Sent:

Re: Finding the name of the included page from the request object

2002-03-17 Thread Alex Muc
Craig, That works, and is exactly what I'm looking for. Thanks a bunch. Alex. Craig R. McClanahan wrote: On Sat, 16 Mar 2002, Alex Muc wrote: Date: Sat, 16 Mar 2002 17:12:02 -0500 From: Alex Muc [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

IRC CHANNEL #tomcat @ us.openprojects.net

2002-03-17 Thread Nicholas Schuetz
I purpose a irc channel #tomcat @ us.openprojects.net. See you there :) Hellaenergy _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

Re: Newbie: Servlet under Windows does not run

2002-03-17 Thread Jim Cobban
- Original Message - From: Matt Egyhazy [EMAIL PROTECTED] Subject: Re: Newbie: Servlet under Windows does not run what is the package name in the .java file of your censusquery class? The package name in the .java file is Census, just like the file hierarchy says. -- To unsubscribe:

Case of paths in JAR created on Windows

2002-03-17 Thread Jim Cobban
I am working on Windows and I notice that when I look inside the .war file I create for my servlet that sometimes the WEB-INF directory in a path appears as WEB-INF and sometimes as web-inf. I know this will not make any difference to the copy of TomCat that I am running on Windows, but it

exception.getMessage() returns null?

2002-03-17 Thread Juan J. Merelo
Hi, I'm trying to set up an error page, which looks like this: %@ page isErrorPage=true % html headtitleSe ha producido un error/title/head %@ include file =cabecera.jsp % h1Se ha producido un error/h1 pEndeluego, que a ver si tenemos cuidaico, que se ha producido el siguiente error:br

Intermittent page not found errors.

2002-03-17 Thread Alex Potter
I have a web application under development consisting of several servlets. Every so often, while testing both locally and remotely, the requested page, which could be any of the servlets, is not found. Is this a problem with Tomcat, Apache, or the limited resources on my development system?

Re: Case of paths in JAR created on Windows

2002-03-17 Thread Craig R. McClanahan
On Sun, 17 Mar 2002, Jim Cobban wrote: Date: Sun, 17 Mar 2002 17:37:10 -0500 From: Jim Cobban [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Case of paths in JAR created on Windows I am working on Windows and I notice that when I look

RE: Where do I have to put classes?

2002-03-17 Thread Rob Cartier
You should also review the web.xml file that is there. Without it you wont go very far -Original Message- From: Daniel Hinojosa [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 16, 2002 11:26 PM To: Tomcat Users List Subject: Re: Where do I have to put classes? Ryuji Yokoyama wrote:

Where is the examples for Tomcat 4.03 linux/rpm?

2002-03-17 Thread Xue-Feng Yang
Where is the examples for Tomcat 4.03 linux/rpm? __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

Another directory question

2002-03-17 Thread Ryuji Yokoyama
Hello All! I tried to write a file to current directory by servlet. However, my servlet writes a file to C:\winnt\system32 directory. How can I change the directory? I know I can use relative path in my servlet, but I want to know if it is possible to change the directory or not. I am

Settings for users to run their own servlets

2002-03-17 Thread Grandy Fu
Hi, I have succefully set tomcat so that users can run their own servlet in their home directory by accessing: http://www.foo.com:8080/~user/servlet/. I would like apache foward all http://www.foo.com/~user/servlet/* to tomcat using mod_jk but JKMount /*/servletajp is not working,

manually stopping one application

2002-03-17 Thread Paul, Debra, 4 Kids Mendelson
I have 3 applications in my webapps directory called app1, app2, and app3 when I start tomcat all 3 applications start up as they should and when I shutdown tomcat all 3 applications stop. Is there a way I can send a directive to tomcat to stop app2 while keeping the servlet engine and my other

Re: Solaris JNI

2002-03-17 Thread Toru Watanabe
Hi, Dr T, Dr T It does not, however, work for Solaris Dr T with simultaneous requests (single requests do work). If you declare method which calls jni as synchronized, then this problem might be resolved. Or, you should trace system calls with using truss command to analyze. Dr T TomCat4.0.3

URL Length

2002-03-17 Thread Gurmeet
Dear ALL, When I submit a page , tomcat is appending the sessionID to the URL, which causing me a lot of problem. Please help me, how can I avoid this. Thanks Gurmeet -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

Re: URL Length

2002-03-17 Thread Nikola Milutinovic
When I submit a page , tomcat is appending the sessionID to the URL, which causing me a lot of problem. Please help me, how can I avoid this. By turning the cookies on in your browser. There are only two ways Tomcat (or any other web application server) can support HTTP sessions,

Re: manually stopping one application

2002-03-17 Thread Jayson Yu
typically, http://yourhost.com:8080/manager/stop?path=/app2 you can also check your docs under tomcatdir/webapps/tomcat-docs At 09:36 PM 3/17/02 -0500, you wrote: I have 3 applications in my webapps directory called app1, app2, and app3 when I start tomcat all 3 applications start up as they

Fw: Tomcat 4.0 and Windows XP

2002-03-17 Thread Marc Chamberlin
I think I am going to resend this, I didn't see show up the first time... - Original Message - From: Marc Chamberlin To: [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:34 PM Subject: Tomcat 4.0 and Windows XP Hate to ask a straightfoward question, but can't seem to find any

Re: URL Length

2002-03-17 Thread Valera Molyakov
Hi ! See your brouser preferences - Cookies ( must be enabled, otherwise session ID append for URL). - Original Message - From: Gurmeet [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 18, 2002 7:01 AM Subject: URL Length Dear ALL, When I submit a page ,

Re: Problem with run Tomcat 4.0.3 as a service on windows 2000

2002-03-17 Thread Valera Molyakov
Hi ! Tomcat 4.x different Tomact 3ÀÞ See windows system reestr HKLM/CurrentControlSet/Services/Apache Tomcat. - Original Message - From: Lev Zak [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 9:48 AM Subject: Problem with run Tomcat 4.0.3 as

Re: mod_webapp.so problem

2002-03-17 Thread Valera Molyakov
Hi ! recompile mod_webapp.so widthout EAPI, see error message :) - Original Message - From: Xue-Feng Yang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, March 16, 2002 2:54 PM Subject: mod_webapp.so problem OS: RedHat 7.1 Apache: RedHat default

Re: Where do I have to put classes?

2002-03-17 Thread Ray Tayek
At 11:17 PM 3/16/02 -0500, you wrote: Hello All! I am a new to Tomcat and have a question. I downloaded and installed Tomcat 4. I think it is working correctly. I can see the welcome page and I can execute the sample Servlets. However, I can't figure out where I should put my Servlet