Re: Sense of realm element in login-config

2002-02-27 Thread dirk . dussart
Hi, I do understand that it is shown the browser, but that is about all. But my problem is that from within the servlet container I cannot do anything with it. For example, I cannot retrieve it and pass it on to the authentication module, for example JDBCRealm. Yes, you can but then you have to

RE: can't add a new context...

2002-02-27 Thread Dominic Clay
To follow on from this... I have a RH Linux machine with Tomcat 3 and I need to set up a Context mapping to a Share on a WinNT4 Server. I can set up Contexts pointing to a local directory on the Linux machine, but how do I connect to the remote one? I have tried using a standard Context and It

RE: Testing servlets

2002-02-27 Thread Barney Hamish
By installing Tomcat on the local machine exactly as you would on the remote machine! -Original Message- From: Kevin Chen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 9:40 AM To: [EMAIL PROTECTED] Subject: Testing servlets If it's possible, how can I use Tomcat to test

RE: Sense of realm element in login-config

2002-02-27 Thread Barney Hamish
It's not clear what you want to know. Perhaps you should take another look at the documentation. You can authenticate people against a database, the XML file is just a simple example. From a servlet you can find out what username they logged in as and which realms they have access too. What

Re: Testing servlets

2002-02-27 Thread DingHui
Put the servlet class files into approperate directory(it depends on your TOMCAT's configuration file), start TOMCAT service. and you can test your servlet on your local machine. - Original Message - From: Kevin Chen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February

HELP - Must get Apache talkign to Tomcat

2002-02-27 Thread Laurie Young
HI everyone I need to get apache+mod_ssl talking to tomcat. And i'm havinga night mare of problems that I can't seem to sort. Mod_webapp will let apache+mod_ssl connect to servlets in tomcat, but keeps dogin stupid things to the SSL connection (suddently making the browser change from an HTTPS

IMPORTANT - error while using LDAP/JDNI authentication with tomcat 4.0

2002-02-27 Thread Frederic Rinaldi
Hello, Please help me. I'm a french student and I need to implement LDAP authentication with tomcat 4 for my project. The user authentication is correct but the authorization failed because of the role search. Tomcat is unable to get the corresponding role in my ldap directory. Here's my

Unix + Tomcat

2002-02-27 Thread cpeyruqueou
Hello, I try to install tomcat on Unix solaris 8 wich have this id 108528-03. I use the jdk 1.3.1. And at a moment the jvm freeze. Do you have an idea, or the minimal configuration to use tomcat on solaris with jdk 1.3.1(like patch ...) Thx in advance. Cedric -- To unsubscribe:

Re: Unix + Tomcat

2002-02-27 Thread Jean-Luc BEAUDET
[EMAIL PROTECTED] a écrit : Hello, I try to install tomcat on Unix solaris 8 wich have this id 108528-03. I use the jdk 1.3.1. And at a moment the jvm freeze. Do you have an idea, or the minimal configuration to use tomcat on solaris with jdk 1.3.1(like patch ...) Thx in advance.

RE: Tomcat4 standalone keystore - existing private

2002-02-27 Thread Wolfgang Stein
Looks like we will be going through apache then. Or use a utility written in java available with source from http://www.comu.de. It doesn't really import but generates a new keystore containing the cert with priv key. Since you only need one entry for a ssl server cert (alias tomcat) it is

Problems Generating PDF from Servlet

2002-02-27 Thread Rudi Doku
Hello, I am trying to develop a servlet that sends a PDF document to a web browser. I get the following error when i try to display the PDF document: 2002-02-27 01:11:55 StandardContext[/docusoft]: Servlet /docusoft threw load() exception javax.servlet.ServletException: Error instantiating

RE: 2 instance of tomcat within 1 machine

2002-02-27 Thread John Niven
Hi Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 27 February 2002 03:25 To: Tomcat Users List Subject: RE: 2 instance of tomcat within 1 machine John, Could you please post the contents of you server.xml? Will do - I had promised I'd

RE: 2 instance of tomcat within 1 machine

2002-02-27 Thread John Niven
Hi Keith Received and understood...! It's likely to be tomorrow/this evening before I manage it -- I've stupidly forgotten to bring copies into work...sorry about that. Cheers John -Original Message- From: Keith Ng [mailto:[EMAIL PROTECTED]] Sent: 3 March 2002 07:50 To: Tomcat

RE: Testing servlets

2002-02-27 Thread Donie Kelly
We use Visual Cafe 4.5 and we run Tomcat under this. You can debug servlets/filters/tomcat under this configuration and it works great for us. Saves a pile of time to be able to run Tomcat like this during development. It's easy to setup. I posted instructions for doing this a while back and it

Tomcat 3.3a

2002-02-27 Thread Hostmaster of the day
I installed Tomcat 3.3 several times successfully on RedHat 7.2 systems. Tomcat 3.3a against it got the following error messages : /etc/init.d/tomcat3: /etc/tomcat3/conf/tomcat3.conf: line 27: unexpected EOF while looking for matching `' /etc/init.d/tomcat3: /etc/tomcat3/conf/tomcat3.conf:

Apache does not load images!!

2002-02-27 Thread Eswar.K
hi guys, My system setup is like this. tomcat has been integrated with apache with mod_jk. When I send a request directly to tomcat(post 8080), all the images are loaded appropriately, but when i am sending a requet to apache(port 80), few images are not being loaded. What should be done to

RE: Apache does not load images!!

2002-02-27 Thread Barney Hamish
It's hard to diagnose your problem without more details. Which pictures aren't loading when you go via port 80? Which ones are? My first suggestion would be to check your uriworkermap.properties file. -Original Message- From: Eswar.K [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February

RE: Apache does not load images!!

2002-02-27 Thread Barney Hamish
Sorry, my mistake. I misread your message thought you were using IIS Hamish -Original Message- From: Eswar.K [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:40 AM To: Tomcat Users List Subject: Apache does not load images!! Importance: High hi guys, My system

Re: That old tomcat 4.0.2 - xerces.jar file problem one more time...please

2002-02-27 Thread Markus Spath
additional question: relies tomcat itself on the libs in CATALINA_HOME/common/lib ? if not, it could be a good idea to just remove all xml-related libraries from there and (redundantly) including them in WEB-INF/lib of the projects to gain some sort of control. - just a thought and i didn't

sessions in tomcat

2002-02-27 Thread vinny patel
hi, i am having problems creating a session id of my own. i have tried the setId(), but comes up with a error message when it comes it compiling it can someone please help me! thanks _ Join the world’s largest e-mail service with

Re: Apache does not load images!!

2002-02-27 Thread Phil Shrimpton
On Wednesday 27 February 2002 10:39, Eswar.K wrote: Hi, tomcat has been integrated with apache with mod_jk. When I send a request directly to tomcat(post 8080), all the images are loaded appropriately, but when i am sending a requet to apache(port 80), few images are not being loaded. What

(Newbie) Please help ....

2002-02-27 Thread dark.wizzard
Hi people: Only a simple question ... Where I deploy into TomCat structure the files JSP 1.2 and Servlet 2.3 ??? Thank you dark.Wizzard __ Quer ter seu próprio endereço na Internet? Garanta já o seu e ainda ganhe cinco

RE: Sense of realm element in login-config

2002-02-27 Thread dirk . dussart
This is what I want to do: 1) I want to setup a database which includes multiple realms 2) user are linked to realms 3) I want to use protect a servlet with basic authentication, and I want to be able refer to the correct realm when performing the authentication (this means sending the

RE: ClassNotFoundException

2002-02-27 Thread Randy Layman
I don't' believe what you are trying to do is possible. Class loaders are created in a hierarchical manner with the children knowing about their parents, but not the parents knowing about the children. This makes it impossible for the current class loader (using Class.forName) to find

RE: That old tomcat 4.0.2 - xerces.jar file problem one more time...please

2002-02-27 Thread Larry Isaacs
See Bugzilla Bug 6374: http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=6374 Cheers, Larry -Original Message- From: Drew Cox [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 7:08 PM To: Tomcat Users List Subject: That old tomcat 4.0.2 - xerces.jar file problem one

RE: ClassNotFoundException

2002-02-27 Thread Larry Isaacs
To deal with a situation like this, I have seen #1 below implemented by providing an object that is loaded in the webapp classloader to the base class. A good candidate would be this from MyServletClass. MyBaseServletClass can obtain the classloader of this object to gain access to the webapp

mulitple ports in server.xml

2002-02-27 Thread chad kellerman
Good morning, It is my understanding that if I set multiple virtual hosts up in Apache 1.3.22/webapp module, for tomcat 4.0.1, the WebAppConnection directive for the virtual host section needs to contain a different port for the app to deploy. This port corresponding to the port set in

file size limit

2002-02-27 Thread Mehmet Ugur Kuzu (LinkPlus)
Hi, Is there any file size limit for jsp files in Tomcat, I am using JRE 1.3.01 and Tomcat 4.0.2 , and Tomcat does not produce jsp files more then 35 kb, I checked and i saw that it produce .java files true but somehow it does not send all html codes to client. sincerely, Ugur

RE: 2 instance of tomcat within 1 machine

2002-02-27 Thread John Niven
Hi Jason, Keith Attached are 2 copies of my server.xml. One's from D:\Program Files\Apache Group\jakarta-tomcat-4.0.2\conf, which is down from my CATALINA_HOME. The other is from I:\tomcat-servers\server01\conf. In this 2nd server.sml you'll notice that I:\tomcat-servers\server01 is set up to

Re: mulitple ports in server.xml

2002-02-27 Thread Jean-Luc BEAUDET
chad kellerman a écrit : Good morning, It is my understanding that if I set multiple virtual hosts up in Apache 1.3.22/webapp module, for tomcat 4.0.1, the WebAppConnection directive for the virtual host section needs to contain a different port for the app to deploy. This port

RE: Apache does not load images!!

2002-02-27 Thread Eswar.K
sometimes some images gets loaded and sometimes some others... and sometimes all of them are shown. The path of the image is not a problem, bcos if it was, i should be consistently get the problem for the same image, which is not happening. Eswar -Original Message- From: Phil

RE: Trouble with IMG tag, servlets, and JSPs

2002-02-27 Thread Greg Trasuk
Hi Ken: Are you accessing your servlets through the servlet invoker (i.e. http://host/MyApp/servlet/myserv ?) If so, then remember that from the browser's point of view, the 'current directory' of the page is 'http://host/MyApp/servlet'. When the browser sees a relative path, like

No module named com

2002-02-27 Thread Hernando Gisinger
Hi I have a problem with apache and tomcat 3.3. Sometimes I get the next error: No module named com, I press the button refresh in browser and the error don't appear. Best regards and thanks in advance, Hernando -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

RE: ClassNotFoundException

2002-02-27 Thread Sriram Narayanan
Just a question, Would Thread.currentThread().getContextClassLoader().loadClass(myclassname) help ? I don't have TC 3.3, but this works for me in TC 4.0.1 Sriram 2/27/02 6:45:11 PM, Larry Isaacs [EMAIL PROTECTED] wrote: To deal with a situation like this, I have seen #1 below implemented by

Multiple class reloads causes Tomcat 4.0.1 to throw an OutOfMemory exception

2002-02-27 Thread Weaver, Scott
I could not find any mention of this in the archives, does anyone know why this would happen? All the class chanegs are of the non-servlet variety. Thanks, Scott

Re: webapps directory required for Warp?

2002-02-27 Thread David Smith
One option I believe should work is to put the full path of the app in the WebAppDeploy directive. ex.: WebAppDeploy /var/www/webapp/myapp conn /myapp --David On Tuesday 26 February 2002 03:34 pm, you wrote: Warp. I have mod_webapp.so and libapr.dll in my Apache modules directory. I have

Re: Problem with importing reply certificate from CA

2002-02-27 Thread Marin Odrljin
Hello Jason! Thank you for that piece of information, it solved my problem. I just needed 2 carriage returns! I don't know why and how, but it works just fine! Thanks a lot! Marin - Original Message - From: Jason Barr [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Does anyone know how to setup JNDI REALM?

2002-02-27 Thread Cevikce, Mehmet
Hello everyone, I need to authenticate and get set of roles from a LDAP directory server once user gets authenticated by the Tomcat based on the Digital Certificate. Question is once tomcat does client authentication how can I use JNDI REALM to get user Roles? I really need to get this working.

RE: file size limit

2002-02-27 Thread KC Berg
I have never seen JSPC cut off a jsp file but if all the html in your jsp is not getting to the browser that sounds like you need to check your buffer size. just a thought :) -Original Message- From: Mehmet Ugur Kuzu (LinkPlus) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27,

RE: High startup and shutdown time of tomcat 4

2002-02-27 Thread Donie Kelly
Hi all I use a simple server.xml for debugging and startup times are within 10 seconds under Visual Cafe. It's a 700Mhz pc running NT4 Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.catalina.connector.http.HttpConnector port=80

managerapp with virtual domain

2002-02-27 Thread Daniel A. Melo
Hi all, anyone know how to configure the manager app to work on virtual domains??? []´s Daniel A. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: ClassNotFoundException

2002-02-27 Thread Larry Isaacs
I haven't actually tried it, but I believe it would work in Tomcat 3.3 as well. Thanks. Cheers, Larry -Original Message- From: Sriram Narayanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 10:08 AM To: Tomcat Users List Subject: RE: ClassNotFoundException

Tomcat x Apache

2002-02-27 Thread Cleber Hostalácio de Melo
Hi, I have linux (kernel 2.4.5), apache 1.3.19 and Tomacat 4.0.2 Tomcat are working well with the url: http://Myserv:tomcat_port/examples/jsp/index.html But when I try to access this application from Apache with the URL: http://Myserv/examples/jsp/index.html I receive the message in my

Unable to compile class for JSP

2002-02-27 Thread Andrew Rodwell
Hi, I am trying to use a bean in my jsp. jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine / when it is run I get the following. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 9 in the jsp file: /fwView.jsp Generated servlet

Problem starting Tomcat4 (starts then stops)

2002-02-27 Thread Dahnke, Eric
Hello, Does anyone know why upon running ./startup.sh my RH7.1 box briefly shows some java activity, but then quits. Here is the output of ps ax. These processes live for a few seconds then... nothing. 2836 pts/1R 0:01 /usr/java/jdk1.3.1_01/bin/i386/native_threads/java

RE: ClassNotFoundException

2002-02-27 Thread Ken Ramirez
Totally awesome. This worked like a charm. Thanks, Ken Ramirez - Principal/CTO [EMAIL PROTECTED] Master-Mind Consulting Services http://www.mastermind.com Ph - 570-688-9600 Fx - 208-275-2301 -Original Message- From: Sriram Narayanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: Unable to compile class for JSP

2002-02-27 Thread Randy Layman
-Original Message- From: Andrew Rodwell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:31 AM To: Tomcat Users List Subject: Unable to compile class for JSP Hi, jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine / when it is run I get the

RE: Unable to compile class for JSP

2002-02-27 Thread Reynir Hübner
your JSP page does not find the class in the classpath. you must import it in the beginning of the page. do something like this : %@ page import=fwLine % I think that should work ... hope it helps [EMAIL PROTECTED] -Original Message- From: Andrew Rodwell [mailto:[EMAIL PROTECTED]]

Re: Unable to compile class for JSP

2002-02-27 Thread rsequeira
see intermixed Andrew Rodwell [EMAIL PROTECTED] on 02/27/2002 10:30:37 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Unable to compile class for JSP Hi, I am trying to use a bean in my jsp. jsp:useBean id='lineB'

RE: ClassNotFoundException

2002-02-27 Thread Andrew Rodwell
Thanks to all who answerd. That was my problem. Cheers, Andrew -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Unable to compile class for JSP not ClassNotFoundException

2002-02-27 Thread Andrew Rodwell
Sorry wrong subject -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Lassie
Hi, Is somebody already aware of the following behavior : Tomcat is unable to find my JAR files, if I place them into the MY_CONTEXT/Web-inf/lib directory (classNotFoundException). This is only working when using %CATALINA_HOME%/lib or %CATALINA_HOME/common/lib. Is there a workaround for that

Re: Sense of realm element in login-config

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002 [EMAIL PROTECTED] wrote: Date: Wed, 27 Feb 2002 09:24:03 +0100 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Sense of realm element in login-config Hi, I do understand that it is shown

RE: Tomcat x Apache

2002-02-27 Thread Ion Larranaga
Does your apache user (nobody by default) have access to the physical directory? Perhaps that directory belongs to the user you start Tomcat with (maybe root?) and nobody has no read access to it. Hope it helps, Ion -Mensaje original- De: Cleber Hostalacio de Melo [mailto:[EMAIL

RE: Sense of realm element in login-config

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002 [EMAIL PROTECTED] wrote: Date: Wed, 27 Feb 2002 13:15:11 +0100 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Sense of realm element in login-config This is what I want to do: 1) I want to

Re: That old tomcat 4.0.2 - xerces.jar file problem one moretime...please

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Markus Spath wrote: Date: Wed, 27 Feb 2002 11:41:25 +0100 From: Markus Spath [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: That old tomcat 4.0.2 - xerces.jar file problem one more

Re: file size limit

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Mehmet Ugur Kuzu (LinkPlus) wrote: Date: Wed, 27 Feb 2002 15:32:04 +0200 From: Mehmet Ugur Kuzu (LinkPlus) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: file size limit Hi, Is there any file size

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Lassie wrote: Date: Wed, 27 Feb 2002 18:03:13 +0100 From: Lassie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib Hi, Is somebody already aware of the following

RE: Trouble with IMG tag, servlets, and JSPs

2002-02-27 Thread Ken Ramirez
I chose to use your first suggestion; a Servlet-Mapping, and it worked great and looks much more elegant. All I did was to include the following mapping in my web.xml: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/MyServlet/url-pattern

REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
OK -- I'm having a related problem: I can hit my servlet with the following httpd.conf and web.xml file setup with these two URLs: http://hostname:8080/s2/sb/ And http://hostname/SiteBlocks/sb/ From within the servlet, I am trying to reconstruct the URL. I am using the following code: ...

Re: file size limit

2002-02-27 Thread Amine AMAR
Hi, Can you please give more info on the components you are using? We had a similar problem with struts and struts validator. The problem was due to an error in the configuration file of struts validator. There was no clue in any log file. Amine - Original Message - From: Craig R.

Tomcat 4 interaction with apache 2.0

2002-02-27 Thread Regis Muller
HI all, I ma trying to make work tomcat 4.0.2 with apache 2.0, I added the following line at the end of the httpd.conf file : Include /etc/tomcat4/conf/tomcat4.conf which content is : # tomcat /etc/rc.d script example configuration file # Use with version 1.07 of the scripts or later # Where

Re: Tomcat x Apache

2002-02-27 Thread Cleber Hostalácio de Melo
My webapps directory and all its directories are read and execute free for all users. So I don´t think this is the problem. Any way, I think Apache should pass all the /examples requests to Tomcat and not trying to read the directly from the file system. It looks more that Apache is not

Newbie resources

2002-02-27 Thread Ken Martin
What resources would you recommend for a web and coding savvy user to get up to speed on using and configuring Tomcat. I'm strong in HTML and JSP coding, but weak in Unix. Using Mac OS X. I do try to use the supplied Tomcat docs, but they seem to me a bit more reference-like (which is great

Re: Tomcat 4 interaction with apache 2.0

2002-02-27 Thread Cleber Hostalácio de Melo
I think the line: LoadModule webapp_module modules/mod_webapp.so should be put in httpd.conf under Apache home directory/conf. Look at http://dcb.sun.com/practices/howtos/tomcat_apache.jsp I hope it helps. Regis Muller wrote: HI all, I ma trying to make work tomcat 4.0.2 with apache

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Cox, Charlie
try req.getPathInfo() in place of getServletPath() you can use getRequestURL() which will provide the requested URL that you are trying to rebuild. Charlie -Original Message- From: Mark B. Indictor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:24 PM To: 'Tomcat

Debugging JSPs and Servlets

2002-02-27 Thread Nitin Vira
Hello, I am trying to create an environment that will assist in debugging jsps, i think one of the basic ways to do debugging is through logging, I want to log various request coming in along with the request parameters, i checked the access loggs but they only logg GET request also it doesnt

RE: Tomcat x Apache

2002-02-27 Thread John Wadkin
Your interpretation of the problem seems accurate. catalina.out and apache's error log should tell you more. Does engine in Service name=Tomcat_Apache in server.xml have a host nested within it and the examples context defined within the host? John -Original Message- From: Cleber

RE: Debugging JSPs and Servlets

2002-02-27 Thread Wagoner, Mark
Take a look at Log4j http://jakarta.apache.org/log4j/docs/index.html It has been the greatest debugging tool I have found. -Original Message- From: Nitin Vira [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:47 PM To: Tomcat Users List Subject: Debugging JSPs and

Re: Unable to compile class for JSP

2002-02-27 Thread Sriram Narayanan
2/27/02 10:00:37 PM, Andrew Rodwell [EMAIL PROTECTED] wrote: Hi, I am trying to use a bean in my jsp. jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine / when it is run I get the following. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Lassie
Craig R. McClanahan wrote: On Wed, 27 Feb 2002, Lassie wrote: Hi, Is somebody already aware of the following behavior : Tomcat is unable to find my JAR files, if I place them into the MY_CONTEXT/Web-inf/lib directory (classNotFoundException). This is only working when using %CATALINA_HOME%/lib

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Sriram Narayanan
2/27/02 11:23:51 PM, Lassie [EMAIL PROTECTED] wrote: Craig R. McClanahan wrote: On Wed, 27 Feb 2002, Lassie wrote: Hi, Is somebody already aware of the following behavior : Tomcat is unable to find my JAR files, if I place them into the MY_CONTEXT/Web-inf/lib directory

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
If the URL is: http://hostname/context/servlet/xxx Then: req.getPathInfo() returns: /xxx req.getRequestURI() returns:/context/servlet/xxx req.getServletPath() returns: /servlet How do I get just: /context/servlet OR How do I get Apache or Tomcat to respond to:

Re: Debugging JSPs and Servlets

2002-02-27 Thread Sriram Narayanan
2/27/02 11:17:26 PM, Nitin Vira [EMAIL PROTECTED] wrote: Hello, I am trying to create an environment that will assist in debugging jsps, i think one of the basic ways to do debugging is through logging, I want to log various request coming in along with the request parameters, i checked the

Re: Debugging JSPs and Servlets

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Nitin Vira wrote: Date: Wed, 27 Feb 2002 09:47:26 -0800 From: Nitin Vira [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Debugging JSPs and Servlets Hello, I am trying to create an environment that

Re: Unable to compile class for JSP

2002-02-27 Thread David Smith
In fwLine.java (assuming you wrote the class), there needs to be a package line for the class at the top of the file something like: package com.mycompany.myproject.fwLine ; And this has to be reflected in the path under WEB-INF/classes to your fwLine.class file as in:

-DEAPI compile on Linux, HELP!

2002-02-27 Thread Sipos Andras
Hi, I can't compile mod_webapp. If somebody success compile it, please help me to compile, or send me the binary .so files. Thx, Andras My system: -- Linux 7.0 Tomcat 4.0.2 jacarta-tomcat-commectors-4.0.2-01-src.tar.gz apr dovnloaded via cvs /bin/sh - bash error report:

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Cox, Charlie
-Original Message- From: Mark B. Indictor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 1:17 PM To: 'Tomcat Users List' Subject: RE: REPOST: Please HELP!: URL Mapping Problems in servlet If the URL is: http://hostname/context/servlet/xxx Then:

Re: Newbie resources

2002-02-27 Thread Sriram Narayanan
2/27/02 11:03:19 PM, Ken Martin [EMAIL PROTECTED] wrote: What resources would you recommend for a web and coding savvy user to get up to speed on using and configuring Tomcat. I'm strong in HTML and JSP coding, but weak in Unix. Using Mac OS X. 1. Read the documentation. There's really a

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
I appreciate the help, but this still does not solve my problem. You see, I need to handle URLs of the following forms: http://hostname/context/servlet/xxx as well as: http://hostname/context/servlet With your suggestion, I would be truncating these to: http://hostname/context/servlet and

Re: (Newbie) Please help ....

2002-02-27 Thread Sriram Narayanan
2/27/02 5:24:45 PM, dark.wizzard [EMAIL PROTECTED] wrote: Hi people: Only a simple question ... Where I deploy into TomCat structure the files JSP 1.2 and Servlet 2.3 ??? Download Tomcat 4.0.1 from jakarta.apache.org/tomcat/ Start Tomcat, and go to the URL

Re: Tomcat x Apache

2002-02-27 Thread Cleber Hostalácio de Melo
When I start the Tomcat (first) and Apache, the logs entries became: myServ_examples_log.2002-02-27.txt (Tomcat) 2002-02-27 15:49:14 WebappLoader[/examples]: Deploying class repositories to work directory /var/tomcat4/work/myServer/examples 2002-02-27 15:49:14 WebappLoader[/examples]: Reloading

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Randy Layman
I think that this approach is very close to what you want. Instead of lastIndexOf(/) you could do lastIndexOf (or indexOf) getServletName. Another alternative would be to use lastIndexOf(getPathInfo()) on the request URI. As to why the methods return what they do, its because

Re: managerapp with virtual domain

2002-02-27 Thread August Detlefsen
You have to deploy the manager context separately for each virtual host. Add this in server.xml, for each Host/Host block: !-- Tomcat Manager Context -- Context path=/manager docBase=/usr/local/tomcat/webapps/manager debug=0 privileged=true / -August --- Jean-Luc BEAUDET [EMAIL PROTECTED]

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
Thanks, Randy. I think this will work. I thought of doing this, but thought that there must be an existing method for extracting this information. This solution, though workable, seems like a kludge. Is Apache's concept of 'contexts' spec'd? If so, doesn't it seem logical that there should be a

RE: What does manager do anyway?

2002-02-27 Thread August Detlefsen
I now think that session data was wiped on a reload only if I made changes to one of the beans. It makes sense: If they get serialized at TC shutdown, but startup detects a different class signature, they can't be re-serialized... --- August Detlefsen [EMAIL PROTECTED] wrote: Yes. On

Re: Debugging JSPs and Servlets

2002-02-27 Thread August Detlefsen
For the quick and dirty approach, you can put System.out.println() statements in your code and find the output in: TOMCAT_HOME/logs/catalina.out --- Sriram Narayanan [EMAIL PROTECTED] wrote: 2/27/02 11:17:26 PM, Nitin Vira [EMAIL PROTECTED] wrote: Hello, I am trying to create an

Re: Newbie resources

2002-02-27 Thread Ken Martin
On Wednesday, February 27, 2002, at 12:57 PM, Sriram Narayanan wrote: 1. Read the documentation. There's really a whole lot of information given... I do read the docs, but (not meaning to step on toes here) their not always clear to those who may not know the terminology. For example...

trouble in untar tomcat binary file.

2002-02-27 Thread Cheng Yan
Hi, there, I am having trouble in untar tomcat binary file. I downloaded both jakarta-tomcat-4.0.2-LE-jdk14.tar.gz and jakarta-tomcat-4.0.2.tar.gz. However, when I tried to untar them, I got following error message: tar: directory checksum error What is the problem? BTW, I am using an

RE: trouble in untar tomcat binary file.

2002-02-27 Thread Randy Layman
You need GNU tar, not the TAR that comes from Sun. Randy -Original Message- From: Cheng Yan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 4:23 PM To: [EMAIL PROTECTED] Subject: trouble in untar tomcat binary file. Hi, there, I am having trouble in

Re: TC trouble in untar tomcat binary file.

2002-02-27 Thread Kirby Vandivort
Use gnu-tar.. (often 'gtar'on many systems) sun's tar can't handle the filenames.. On Wed, Feb 27, 2002 at 04:23:22PM -0500, Cheng Yan wrote: Hi, there, I am having trouble in untar tomcat binary file. I downloaded both jakarta-tomcat-4.0.2-LE-jdk14.tar.gz and

RE: trouble in untar tomcat binary file.

2002-02-27 Thread Karthikeyan.K.V
Hi , There is a diff between Solaris tar GNU tar. So if it is downloaded completly through binary mode, u can download GNU tar and untar it using that.Hope it helps. Karthik -Original Message- From: Cheng Yan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:23 PM

Custom 404 Page

2002-02-27 Thread Brian Owens
How do I set an ErrorDocument-like directive in Tomcat? I have a custom 404 page setup in my Apache httpd.conf file, but when users enter a URL for a file not on my website they get the standard Apache-Tomcat 404 page. For example, instead of going to /index.html (which is a valid file), I

RE: mySQL/JDBC/Tomcat4 documentation

2002-02-27 Thread Steve Madonna
Right at line 2 in your code is were we are having trouble. Apparenlty our code is written the same way, but it still doesn't seem like the JDBC driver has loaded: java.sql.SQLException: org.gjt.mm.mysql.Driver The driver is in the WEB-INF/lib/ directory. Is there a config file that needs to

tomcat 4.0 and soap 2.2

2002-02-27 Thread Joo Park
Hello, Will Tomcat 4.0 work with soap 2.2? And also, will tomcat 4.0 work with jdk 1.4? thanks in advance!

RE: tomcat 4.0 and soap 2.2

2002-02-27 Thread Reynir Hübner
sure hmm no well tomcat 4.02 I think works with jdk 1.4. both work with soap 2.2. hope it helps [EMAIL PROTECTED] -Original Message- From: Joo Park [mailto:[EMAIL PROTECTED]] Sent: 27. febrúar 2002 22:02 To: [EMAIL PROTECTED] Subject: tomcat 4.0 and soap 2.2 Hello, Will

RE: mySQL/JDBC/Tomcat4 documentation

2002-02-27 Thread Brian Owens
Sometimes with certain JDBC Drivers you must do a Class.forName(driver).newInstance() for it to load properly. Brian -Original Message- From: Steve Madonna [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:04 PM To: 'Tomcat Users List' Subject: RE: mySQL/JDBC/Tomcat4

RE: mySQL/JDBC/Tomcat4 documentation

2002-02-27 Thread Filip Hanik
try { Class.forName(org.gjt.mm.mysql.Driver); } catch (ClassNotFoundException e) { System.out.println(e); } is not a good way of doing it, if you driver is in the WEB-INF/lib directory you want to do Driver d =

Re: trouble in untar tomcat binary file.

2002-02-27 Thread Cheng Yan
Thanks for the advices. However, I can not find gnu tar utility. I went to http://www.gnu.org/directory/index.html and did a search for gtar, gnu-tar and gnu tar. But I can not find anything similar. Could some one tell me where to get this utility? Sorry for asking such a dumb question.

Newbee Question...

2002-02-27 Thread William W. Hurley II
I have recently installed Tomcat on Windows 2000. I get the success page at :8080/index.html, and all of the servlet examples work. However, the JSP examples do not work. They all generate an internal error 500 Is there a separate .config (or something) that I need to modify so that the

  1   2   >