Tomcat 4.0.1 and Apache

2002-01-13 Thread Rizki Wicaksono
I have read documentation that come with Tomcat 4.0.1 distribution. But i found a little concrete example of how to use Tomcat 4.0.1 with Apache 1.3 web server. Please tell me where can I read another documentation that come with concrete example of httpd.con and another file configuration.

Caching of JSPs within Tomcat

2002-01-13 Thread Michael Timpe
Hi, I have some trouble with the reload of JSPs. Basic data is - Win XP, Apache 1.3.xx, Tomcat 4.01, IE 6.0 (IE6 with the option to reload the page at each access) Suppose You have an JSP page prj_.jsp that includes another JSP page by using a tag like this: %@ include file=prj_0007.inc

Re: TC 4.0.1/SAXParserFactory.newInstance() error

2002-01-13 Thread Sriram Narayanan
Hi Mark, 1/13/02 3:00:50 AM, Mark [EMAIL PROTECTED] wrote: I thought CLASSPATH isn't used for locating jars in TC 4.0? You're right, it is not. I'd meant to say that there's a jaxp implementation being loaded somehow. In any case, I do use the startup scripts that come with Tomcat and was

Tomcat 3.3, req.getRemoteAddr() - only returns 127.0.0.1

2002-01-13 Thread IS400 ABB
Background: I'm working on a utility to administer logged on clients for a power monitoring system, using java applets/servlets/JSP. Each clients IP address, user name, logon date are displayed for the administrator. Recently, I upgraded from Tomcat 3.2.3 standalone to Tomcat 3.3 standalone,

Re: apache mod_auth and tomcat

2002-01-13 Thread David Smith
That depends on whether you are using mod_webapp or not. IMHO it would be better to simply comment out the connector that services port 8080 from server.xml. That way, AJP13 protocol for mod_jk is still available (if that's what you use). --David On Friday 11 January 2002 05:45 pm, you

tomcat 3.3. apache did not call jk_handlers

2002-01-13 Thread Leon ni
Hello After installed tomcat 3.3 final on Mandrake 7.2. the localhost:8080 works well but I can not go through it from apache (Apache-AdvancedExtranetServer/1.3.14 ) So I try it on mandrake 8.0 and with same configuration. It works well. After set the JkLogLevel to debug and compare

WARP / mod_webapp not working --- help needed!

2002-01-13 Thread Peter Christoph Alexander Bär
Hi there! I've been trying to connect Apache and Tomcat via the Warp connector (mod_webapp) for quite a while now, but I don't seem to get it working. Even extensive research of this mailing list didn't point me to the solution of my problem. I'm getting desperate... Forgive me, if I am asking

RE: Tomcat 4.0.1 and Apache

2002-01-13 Thread Emir Alikadic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Rizki Wicaksono [mailto:[EMAIL PROTECTED]] Sent: January 13, 2002 3:35 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 and Apache I have read documentation that come with Tomcat 4.0.1 distribution. But i

URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt
Hi, I'm using tomcat4 on windows NT platform. The classpath is set as follows: JAVA_HOME: D:\jdk1.3 CATILINA_HOME: E:\jakarta-tomcat-4.0.1 I'm having trouble accessing class files stored in the web-inf/classes folder. In the server.xml file, i've configured a context path to a folder which is

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Matt Egyhazy
did you try to import the class? matt - Original Message - From: Chetna Bhatt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 11:42 AM Subject: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON Hi, I'm using tomcat4 on windows NT platform. The classpath is set as

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt
hi, Yes i did try that ...it gave me the error that it could not find the package Matt Egyhazy wrote: did you try to import the class? matt - Original Message - From: Chetna Bhatt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 11:42 AM Subject: URGENT

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread carlson
Hi, I don't know if it matters, but the web-inf directory is not all caps i.e. WEB-INF If that doesn't work, try putting your jsp and class in the examples directory provided with the distribution. You should be able to access it then. If not, you have other problems. --Peter On Sunday,

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt
Hi, i've tried what u've suggested...but still if i tryto access thru examples directory it gives me the following error: Generated servlet error: C:\jakarta-tomcat-4.0.1\work\localhost\examples\Test$jsp.java:90: Class org.apache.jsp.Test not found. Test monitor1 = null;

TOMCAT 4.0 and Ant 1.4?

2002-01-13 Thread Chetna Bhatt
hi, was just wondering if tomcat4.0 require installation of Ant 1.4? Thanks for the tip in advance. regards chetna -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Amine AMAR
Hi, Are your classes in a package or not? If they are not then you cannot access them because TC will look for them in his default package Amine - Original Message - From: Chetna Bhatt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 4:42 PM Subject: URGENT HELP

Re: TOMCAT 4.0 and Ant 1.4?

2002-01-13 Thread Amine AMAR
No Amine - Original Message - From: Chetna Bhatt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 6:22 PM Subject: TOMCAT 4.0 and Ant 1.4? hi, was just wondering if tomcat4.0 require installation of Ant 1.4? Thanks for the tip in advance.

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt
H Amine AMAR , have tried to keep in package com.mypackage gives the following error: javax.servlet.ServletException: class com.mypackage.Test : java.lang.IllegalAccessException: com.mypackage.Test Could anyone throw some light on the error Thanks in advance regards chetna Amine AMAR wrote:

Compiling latest 4.0.1 fails with 'not found in import' ...

2002-01-13 Thread Marc G. Fournier
Nice and simple, probably ... I *think* I've followed the instructions pretty much to the letter, have everything installed from ports that can be, downloaded the rest ... modifed build.properties for where everything is, but when I'm doing an 'ant dist', I'm getting: build-main: [javac]

Re: Integrating catalina(Tomcat) and apache

2002-01-13 Thread Santos Jha
I followed the advice and upgraded my system to Redhat 7.1. I recompiled the source code ant made entried in httpd.conf. However right now I am getting following error: can not load /etc/httpd/modules/mod_webapp.so into server :/etc/httpd/modules/mod_webapp.so undefined symbol: pthread_sigmask it

Re: new to java, apache and tomcat.. but I want to learn!

2002-01-13 Thread Janek Bogucki
--- Donald Lee [EMAIL PROTECTED] wrote: I have am looking for. I would like to start with something simple but actually usable like a guest book program or a message board. The code doesn't even need to work, just point me in the right direction. I plan to keep going with this in

500 Internal Server Error usually after ~ 6 hours of use

2002-01-13 Thread Sébastien Caillaud
Hi. My configuration is Apache 1.3.14 Tomcat 3.2 I receive 500 Internal Server Error usually after ~ 6 hours of use. At this moment i need to restart tomcat and it's work fine again on mod_jk.log file, i have this line more and more up to the crash : [jk_connect.c (143)]: jk_open_socket,

Re: 500 Internal Server Error usually after ~ 6 hours of use

2002-01-13 Thread David Rault
hi there do you have a router or firewall between some of your components (webserver, tomcat server, database, etc.) ? if so may be you could check if timeout settings match your problem i met the problem with a websphere 3.5.x talking to a sql server through a router it (websphere datasource

Tomcat + Apache working, but JSPs not passed to Tomcat by Apache...

2002-01-13 Thread James Rigg
I have managed to get Tomcat 4.0.1 and Apache 1.3.20 working nicely on my Windows box... but Apache is only passing requests to Tomcat as directed by the WebAppDeploy directives in httpd.conf, e.g.: WebAppConnection conn warp test.panoguide.com:8008 WebAppDeploy examples conn /examples/ How

Re: Integrating catalina(Tomcat) and apache

2002-01-13 Thread Marc G. Fournier
Under freeBSD, with PHP4+Apache2, I get similar, where I have to recompile Apache2 with -lc_r to tell it to compile in the thread'd libraries ... might be similar under Linux? On Sun, 13 Jan 2002, Santos Jha wrote: I followed the advice and upgraded my system to Redhat 7.1. I recompiled the

List of jsp pages

2002-01-13 Thread Scott Walter
Is there an easy way to get a list of JSP pages that are inside the war file? I can do this with the java.io.File class but would like to do it by get access to the resources in the jar file? thanks, scott. = ~~~ Scott

Re: Integrating catalina(Tomcat) and apache

2002-01-13 Thread Santos Jha
I am using Apache 1.3.x --- Marc G. Fournier [EMAIL PROTECTED] wrote: Under freeBSD, with PHP4+Apache2, I get similar, where I have to recompile Apache2 with -lc_r to tell it to compile in the thread'd libraries ... might be similar under Linux? On Sun, 13 Jan 2002, Santos Jha wrote:

Re: Integrating catalina(Tomcat) and apache

2002-01-13 Thread Marc G. Fournier
regardless, it sounds like the same sort of issue ... On Sun, 13 Jan 2002, Santos Jha wrote: I am using Apache 1.3.x --- Marc G. Fournier [EMAIL PROTECTED] wrote: Under freeBSD, with PHP4+Apache2, I get similar, where I have to recompile Apache2 with -lc_r to tell it to compile in

Re: List of jsp pages

2002-01-13 Thread Mark
Have you taken a look at the Jarfile class? It has some methods that may prove useful. At 01:15 PM 1/13/2002 -0800, you wrote: Is there an easy way to get a list of JSP pages that are inside the war file? I can do this with the java.io.File class but would like to do it by get access to the

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Matt Egyhazy
use the full package name when importing the class. if you arent importing the class, use the full name when instantiating an object. matt - Original Message - From: Chetna Bhatt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 1:46 PM Subject:

JDBC authentication configuration

2002-01-13 Thread Paul Phillips
Hello, I am relatively new to servlet/jsp programming, and struggling with JDBC authentication. I have a tiny test application that works fine using form authentication against passwords and names in the tomcat-users.xml file. However, when I reconfigure the server.xml file for JDBC

Missing database connectivity

2002-01-13 Thread Cheong Takhoe
Hi, Been using Tomcat 3.1 and 3.2 for about a year now and I noticed that whenever our database administrator shuts down and restarts the database (Oracle), all of my Java beans and jsp files can't redetect the database after the restart. So most of the time, I had to restart the Tomcat to

VAJ 4.0, Tomcat 4.0 Apache SOAP - How to Debug in IDE

2002-01-13 Thread Thomas Thornbury
I've searched the archives and the Net on this one with no luck, and I'm hoping perhaps someone on this list may be able to help. I'm running Tomcat 4.0 and Apache SOAP. I would like to debug the target class in my IDE, VisualAge 4.0. So I now have a running Tomcat server up and running and all

tomcat.log in Catalina

2002-01-13 Thread Steve Wong
I have my console printing out lots of Exception messages. Can I print them in a file instead of console? For Tomcat 3.x, this involves configurating the tc_log to a file. But for Catalina, how to achieve this? I have tried to add a Logger of

Re: List of jsp pages

2002-01-13 Thread Craig R. McClanahan
In a Servlet 2.3 environment like Tomcat 4, you can use the ServletContext.getResourcePaths() method to list the contents of directories in your web application. It works even when the app is run from an unpacked WAR, so it's more portable (on 2.3 or later conatiners, of course). Craig On

Confusing basic concept about apache-tomcat works.

2002-01-13 Thread if19011
I wonder what is the difference between using tomcat as stand alone web server and using tomcat as servlet/jsp engine and apache as web server ? Can anyone tell me how can we sure that we have succeeded configuring tomcat- apache web server or how can we know that apache really do their job,

Integrating TC 4.0 with Apache 1.3.12

2002-01-13 Thread Chetna Bhatt
hi, PLATFORM: WINDOWS NT SERVER have gone thru documents and was able to configure Apache and TC with mod_webapp.so I hope the configuration whcih i did was correct: I installed the mod_weabb.so in the modules directory of Apache, copied the libapr.dll under Apache directory and in the

User Registration Login Problem

2002-01-13 Thread Arion Yu
Hi! Let me describe a scenario first: 1) When viewing protected pages (defined in web.xml), user is prompted for login. 2) If the user doesn't have a login, he could get an option to register, and 3) directed to the requested page after registration. I can create an auth-realm to fulfill the

question on form login

2002-01-13 Thread Arion Yu
Hi! I would like to ask if the user somehow bookmarked the page for login, what should it goes to after login? I know it is not defined in 2.2/2.3 spec. Thanks Arion -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

Re: TC 4.0.1/SAXParserFactory.newInstance() error

2002-01-13 Thread Ravi Naidu
Dear All, Tomcat 4 is installed on D drive of my machine. and my web directory for jsp pages is situated on E drive. How do i set my web driectory path for the web server in the configuration files. Please help. Regards, Ravi. - Original Message - From: Sriram Narayanan [EMAIL