Document contains no data

2003-06-02 Thread Gordon Shamblin
I helped setup TC-4.1.24/Apache-2.0.45/mod-jk2-2.0.2 on RH8. When I was last associated with it, it seemed to work fine with some simple servlets. Some modifications were made ( no one seems to know exactly what ) and now when requesting a servlet, it grinds awhile and returns Document

Re: Guilde on using MOD_JK2

2003-06-02 Thread Gordon Shamblin
Try this ( if you don't read Japanese, I don't ) follow the screen shots http://www.hellohiro.com/apacheservlet.htm joe wrote: Original Message - From: joe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 2:32 AM Subject: Guild on using MOD_JK2

-Xincgc, -Xms600, -Xmx600

2003-06-02 Thread Jason Efting
Hi, Recently my tomcat (jvm rather) 4 server started running at 100% CPU utilization and not service any request for long periods of time. This must be due to the JVM doing garbase collection. I modified my system register appropriatly and but a few days later (when memory consuption hit

Re: Thanks to John and Geralyn

2003-06-02 Thread Hollerman Geralyn M
On Sun, 1 Jun 2003 14:56:19 +0800, joe wrote coyote. What should be the proper way to build mod-jk2? or can i just use the binary version available on apache website which is meant for apache 2.0.42, wherelse i'm using 2.0.46? Joe, I used both a version of mod_jk2 that my sysadmin built (he

Re: Can't find TomcatStarter Startup Errors Apache crash

2003-06-02 Thread Chong Yu Meng
Allen Williams wrote: I haven't tried recompiling from source. I am hoping I won't have to go that far! I hear you, Allen ! I am trying not to do that for my Linux installation as well. It tends to increase the number of questions and the risk of breaking something. Which is why I always

Help: Error while opening the workers, jk will not work

2003-06-02 Thread Rob Cartier
Recently I have been seeing 'Error while opening the workers, jk will not work' show up in my httpd/error_log. And when that happens I get Error 500 codes and have to reboot my server. Stop and restarting tomcat or httpd doesnt help I have running rh 7.2 tomcat 4.1.24 apache 1.3.27 I just

Help: Error while opening the workers, jk will not work

2003-06-02 Thread Rob Cartier
Recently I have been seeing 'Error while opening the workers, jk will not work' show up in my httpd/error_log. And when that happens I get Error 500 codes and have to reboot my server. Stop and restarting tomcat or httpd doesnt help I have running rh 7.2 tomcat 4.1.24 apache 1.3.27 I just

Some thoughts on memory consumption and gc

2003-06-02 Thread Johannes Fiala
Hi there, I've made some tests with the gc and the -Xms and -Xmx settings. Suppose I have a list generated from a database with a size of 10.000 records with an average of 200 bytes each. This gives 2 MB data volume. *) If you have 128 MB heap and 64 MB stack memory assigned, against which

IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Dan Tran
Hello, I have my tomcat behind IIS5 thru JK2 connector. My tomcat has a form base authentication form. The problem here is if my tomcat form base authentication fails, IIS pops up its own diaglog window for another authentication. How do I prevent this? Regards -Dan

when I use a servlet too many times- error

2003-06-02 Thread Munteanu Gabriel
I have a servlet that generates images dynamically. Examples of requests: imgChanger?text=Hello imgChanger?text=Beautiful etc I play with it about 10-20 times and after that, in IE, instead of getting the image I am getting an img square[no image] and tomcat says: Jun 1, 2003 6:48:06 PM

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jonathan Michael Nowacki
This website http://www.sitepoint.com/article/509/3 says all I have to do is put servlet.jar in my classpath to solve my problems. Unfortunitally, it doesn't seem to work. This is my error -

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jason Bainbridge
Simplify things... Firstly that extensive CLASSPATH you have created could be causing more problems than it is solving, so try removing it. Then just try: javac -cp /var/tomcat4/common/lib/servlet.jar MultiServlet.java Does that work? If not does the user you are compiling with have rights to

Tomcat problems every morning.

2003-06-02 Thread Hemendra Rana
Hi, I am running Tomcat 4.1.24 server on Linux and every morning I get the following exception. Things work perfectly fine throughout the day after I restart the Tomcat server. Any ideas? Could this be a logger issue, because my server logs rotate every night. Any help will be appreciated.

Expression Language question

2003-06-02 Thread Nikola Milutinovic
Simple question. I have a JSP/Servlet combination in which Servlet is used to authenticate user and create a session. A JSP page then checks for the existence of the session and reads neccessary ID from it. I'm switching to JSTL and I'd like to switch to EL, now. Here is the old code, how can

Re: Tomcat problems every morning.

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 01:31, Hemendra Rana wrote: I am running Tomcat 4.1.24 server on Linux and every morning I get the following exception. Things work perfectly fine throughout the day after I restart the Tomcat server. Any ideas? Could this be a logger issue, because my server logs rotate

Re: Forms and JSPs

2003-06-02 Thread Jeff Knox
It works! Instead of recompiling Apache 1.3 to use threads I installed Apache 2.0 and mod_jk2. It took a bit of wrangling to get the configs working with my virtual hosts, but now everything is happy and I can use parameters on the URL. Thanks everybody! Jeff On Saturday, May 31, 2003, at

Re: IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Jason Bainbridge
On Sun, 1 Jun 2003 23:01, Dan Tran wrote: Hello, I have my tomcat behind IIS5 thru JK2 connector. My tomcat has a form base authentication form. The problem here is if my tomcat form base authentication fails, IIS pops up its own diaglog window for another authentication. How do I prevent

Re: IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Dan Tran
Jason, thanks I went to the connector virtual directory and unset the basic authentication. it works Thanks for your advice -Dan - Original Message - From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 12:42 PM Subject: Re: IIS

Re: Expression Language question

2003-06-02 Thread Tim Funk
I think that's the ticket. -Tim Nikola Milutinovic wrote: Simple question. I have a JSP/Servlet combination in which Servlet is used to authenticate user and create a session. A JSP page then checks for the existence of the session and reads neccessary ID from it. I'm switching to JSTL and I'd

Problems building mod_jk and mod_jk2 for apache2, tomcat41 on redhat 6.2

2003-06-02 Thread ajames
Hello tomcat-user experts, I have been trying to build mod_jk and mod_jk2 for apache 2.0.45 (also tried 2.0.46), tomcat 4.1.24 on redhat linux 6.2 (kernel 2.2.14-5.0), glibc 2.1.3-21, and libtool 1.3.4-3. I can get both to configure and make ok, but there is no resulting .so file(s) in the

Re: Tomcat problems every morning.

2003-06-02 Thread Hollerman Geralyn M
On Sun, 01 Jun 2003 10:31:15 -0700, Hemendra Rana wrote I am running Tomcat 4.1.24 server on Linux and every morning I get the following exception. Things work perfectly fine throughout the day after I restart the Tomcat server. Any ideas? Could this be a logger issue, because my server

newbie install question - cannot access Tomcat remotely, only on localhost

2003-06-02 Thread Darren Gates
Hello, I've setup JDK 1.4, Apache 1.3.26 and Tomcat 4.1.12 on a Windows 2000 server. I am able to successfully access: http://localhost/ (for general web files) and http://localhost:8080/ (for Tomcat jsp files - I get the default index.jsp page that comes with Tomcat) and

Filter out certain user accounts

2003-06-02 Thread Dan Tran
Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to another page. The problem here, the interface doFilter's ServletRequest does not have access to getUserPrincipal, so I have no way to find

Tomcat 4 jk2-2.0.2 with apache2 in solaris 8 configuration

2003-06-02 Thread Omar Vera
Hi to everybody, I am trying to configure tomcat 4.1.24 with apache 2 using the connector jk2-2.0.2 and I get an error message when I am making the mod_jk2.so file. The error message is: # make list=' server/apache2'; \ for i in $list; do \ echo Making $target in $i; \ if test $i

Re: Filter out certain user accounts

2003-06-02 Thread Tim Funk
You should be able to cast ServletRequest to HttpServletRequest. Then you'll have access to getUserPrincipal() -Tim Dan Tran wrote: Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to

Re: Filter out certain user accounts

2003-06-02 Thread Dan Tran
supper!!! Thanks - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 5:35 PM Subject: Re: Filter out certain user accounts You should be able to cast ServletRequest to HttpServletRequest. Then you'll have access

Re: Tomcat problems every morning.

2003-06-02 Thread Hemendra Rana
Are you using mysql database on the backend too. Someone here pointed out that by default, mysql driver times out after every 8 hours. I still needs to verify whether that is the cause of my problem though. Will let you know of my finds. Hemendra Hollerman Geralyn M wrote: On Sun, 01 Jun 2003

Re: Tomcat problems every morning.

2003-06-02 Thread Hollerman Geralyn M
On Sun, 01 Jun 2003 18:14:05 -0700, Hemendra Rana wrote Are you using mysql database on the backend too. Someone here pointed out that by default, mysql driver times out after every 8 hours. I still needs to verify whether that is the cause of my problem though. Will let you know of my

Cannot recover key error and SSL

2003-06-02 Thread Dan LeBaron
I am using Tomcat 3.2 on a windows 2000 Server. Importing a signed Geotrust SSL Cert works fine, but I receive the following error when running tomcat. Please help.!! Cannot recover key error and SSL 2003-05-31 11:19:11 - ContextManager: Adding context Ctx( /examples ) 2003-05-31

Simple question on Unicode URL in Tomcat

2003-06-02 Thread John Z Yang
Dear all: I have a simple question regarding to the Unicode URL support in Tomcat. If I pass a Unicode URL to Tomcat, can it retrieve the targeted content? Some of our web pages are named under double byte characters. We have tried various ways to make it work but all failed. If you have a work

Re: Database setup? - SOLVED

2003-06-02 Thread Kwok Peng Tuck
Yes it does have to be in order :) . Check the dtd that it references. Terje Hopsø wrote: Thanks!! It was out of order. Now it start without errors. I was not aware of that it had to be in a spesific order. - Terje -Original Message- From: Brian Buchanan [mailto:[EMAIL PROTECTED]

RE: Tomcat problems every morning.

2003-06-02 Thread Paul \(BRI\)
My comment won't be that helpful - but I started out at the same place - each morning I came in a got a call from staff saying the pages with content pulled from the dbase was down. One thing I know, as others suggested, it has to do with the JDBC/connection - in our case it happens when the

RE: Thanks to John and Geralyn

2003-06-02 Thread Joe
Thank you very much, it finally works on my machine! Thanks Again, Joe -Original Message- From: Michenaud Laurent [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:52 PM To: Tomcat Users List Subject: Re: Thanks to John and Geralyn here how i do to build mod_jk2 : First, i

Cannot recover key error and SSL

2003-06-02 Thread Dan LeBaron
I am using Tomcat 3.2 on a windows 2000 Server. Importing a signed Geotrust SSL Cert works fine, but I receive the following error when running tomcat. Please help.!! Cannot recover key error and SSL 2003-05-31 11:19:11 - ContextManager: Adding context Ctx( /examples ) 2003-05-31

jk2.socket permissions

2003-06-02 Thread Chong Yu Meng
I've almost got UNIX sockets to work, but for a rather strange problem that could be the result of my configuration. 1. I installed Tomcat as root, and it starts up as root. 2. Apache2 starts up as user apache2 and group apache2 3. I initially created an empty file (did not want to use the

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jonathan Michael Nowacki
I'm compiling with root, $ javac -cp /var/tomcat4/common/lib/servlet.jar MultiServlet.java javac: invalid flag: -cp Usage: javac options source files and if I change my classpath to: $ echo $CLASSPATH /var/tomcat4/common/lib/servlet.jar I still get the same error $ javac MultiServlet.java

Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread Regis CABARET
Hi there, How can I increase the JVM setting when Tomcat is installed in service? Thanks in advance, R.

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Kwok Peng Tuck
That's because it's javac -classpath. Jonathan Michael Nowacki wrote: I'm compiling with root, $ javac -cp /var/tomcat4/common/lib/servlet.jar MultiServlet.java javac: invalid flag: -cp Usage: javac options source files and if I change my classpath to: $ echo $CLASSPATH

Antwort: Re: Antwort: Re: JAAS LoginModule ?

2003-06-02 Thread Oliver Wulff
How can I configure an Authenticator implicitly and explicitly? *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist

Re: Expression Language question

2003-06-02 Thread Nikola Milutinovic
I think that's the ticket. Yes, Tim, but I'd like to be able to differentiate between user not logged in - session.isNew() and user logged in, but error in web-app - !session.isNew() and session.getAttribute( userID ) == null. Is there a way to call a method from EL? Like: c:set var=login

Re: Simple question on Unicode URL in Tomcat

2003-06-02 Thread Shawn
Hiho, try something like: String s = URLEncoder.encode(s, enc); s is your URL and enc is the java encoding such as Shift_JIS. See URLEncoder for more info. Will work from java 1.4 I believe. Had the same problem and this seems to solve it just fine. -- Shawn Happily using M2, Opera's

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jonathan Michael Nowacki
Holy cow!!! It worked. Thank you very much Kwok Peng Tuck It's still puzzles me why javac -classpath /var/tomcat4/common/lib/servlet.jar MultiServlet.java works yet javac doesn't when I set my class path variable. $ echo $CLASSPATH /var/tomcat4/common/lib/servlet.jar $ javac MultiServlet.java

RE: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread John Corrigan
Edit the Windows Registry. HKEY_LOCAL_MACHINE + SYSTEM + CurrentControlSet + Services + Apache Tomcat 4.1 + Parameters Add values like: JVM Option Number n = -Xms256m Make sure to set the JVM Option Count value correctly. -Original Message-

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread shankar
Hi, I tried to install the Tomcat 4.1 in windows NT and while starting it stops at this point. E:\Program Files\Apache Group\Tomcat 4.1\binstartup Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\jdk1.2.2 E:\Program Files\Apache

RE: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread graghupathy
suggest it to install in a directory without space -Original Message- From: shankar [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 07:01 To: Tomcat Users List Subject: Re: Increasing Tomcat JVM setting with Tomcat in service Hi, I tried to install the Tomcat 4.1 in windows NT and

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread srinivasan sriram
Hi Shankar, Check whether the port for the tomcat is available and not used by any other application. Normally tomcat operates on 8081 port. If this is not available tomcat will not start. So check this out and if the port is not available change the port number and try. shankar [EMAIL

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Kwok Peng Tuck
Actually setting the $CLASSPATH should work. I prefer the 'javac -classpath' method, as you can specify the jars that you want instead of a bunch of directories in the $CLASSPATH variable. Try combining that with a shell script, saves you from typing too many times. Better yet, use ant.

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread shankar
I tried to install without spaces too. It is giving the same problem. Can anyone suggest what else to do to install this in windows NT having jdk 1.2.2 Warm reg, shankar - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:06 PM Subject: RE:

Why am I recieiving this?

2003-06-02 Thread Dan Tran
I receive the below text every time I post a message to this group. ?? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 7:47 PM Subject: RE: Re: Filter out certain user accounts Dear [EMAIL PROTECTED], Your recent message to this server

Problems in Starting Tomcat 4.1 in Windows NT using JDK 1.2.2

2003-06-02 Thread shankar
Hi, I have encountered this problem while I start to run the catalina.bat in the current window. Can anyone see this.. E:\Tomcat\bincatalina run Using CATALINA_BASE: e:\tomcat Using CATALINA_HOME: e:\tomcat Using CATALINA_TMPDIR: e:\tomcat\temp Using JAVA_HOME: c:\jdk1.2.2 Bootstrap:

Realm class, Classloader

2003-06-02 Thread Oliver Wulff
I'm using Tomcat 4.1.24 and JDK 1.3.1. I've created a custom realm which is configured like this: Context path=/sec_test docBase=sec_test debug=0 reloadable=true crossContext=true Realm className=test.RacfRealm/ /Context The implementation class test.RacfRealm can be

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Holger Klawitter
javac doesn't when I set my class path variable. $ echo $CLASSPATH /var/tomcat4/common/lib/servlet.jar Perhaps because you didn't export CLASSPATH in order to make the environment variable available to child processes of your shell (for details: man bash | less +/^ENV) Mit

RE: mod_jk.log errors

2003-06-02 Thread Marco Laponder
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0

Document contains no data

2003-06-02 Thread gordon
I helped setup TC-4.1.24/Apache-2.0.45/mod-jk2-2.0.2 on RH8. When I was last associated with it, it seemed to work fine with some simple servlets. Some modifications were made ( no one seems to know exactly what ) and now when requesting a servlet, it grinds awhile and returns Document

RE: Session Snooper

2003-06-02 Thread bedetrob
Try this one: http://www.krasu.ru/server/examples/jsp/snoop.html Rob -Original Message- From: Francisco J. Bido [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2003 8:54 AM To: Tomcat Users List Subject: Re: Session Snooper I see... Any equivalents or close approximations to

Guild on using MOD_JK2

2003-06-02 Thread joe
Hi all, i've been playing with mod_jk connector and thanks to this email chain that i've finally got it to work...However, it seems that i've read that mod_jk2 connector is much better than mod_jk. Could anyone give me some update URL/guide or changes i need to make to migrate to use mod_jk2?

Thanks to John and Geralyn

2003-06-02 Thread joe
Hi john and geralyn, thanks for the warmly and prompt reply. I think now at least i know what is going on.However, i'm still unsure of the following things: 1) Based on John wonderful's Howto, i think you are using both mod_jk.so and mod_jk-2.0.43.so. I was wondering is it a typo or this should

Cannot recover key error and SSL

2003-06-02 Thread Dan LeBaron
I'm running Tomcat 3.2 on a Windows 2000 Server. After following the instructions in the SSL doc that come with tomcat I run startup.bat and get the following error. Any help would be greatQQ 2003-05-31 11:19:11 - ContextManager: Adding context Ctx( /examples ) 2003-05-31 11:19:11 -

RE: Access Log Valve

2003-06-02 Thread Tyndall, David
Thanks Much worked GREAT -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:42 AM To: Tomcat Users List Subject: RE: Access Log Valve Howdy, Just comment it in server.xml. It's commented out by default. Yoav Shapira Millennium

Can't find TomcatStarter

2003-06-02 Thread Allen Williams
Attempt to integrate Tomcat- Apache with jk2 on WinNT 4.0. Getting the following error: [Mon May 26 20:13:47 2003] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Mon May 26 20:13:47 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter [Mon May 26 20:13:47 2003] [notice]

RE: Jboss to parse exsisting tomcat server.xml ...

2003-06-02 Thread Paul Gregoire
-- this is my 3rd attempt to answer a question please disregard if youve seen it already :) -- To make changes to tomcat under jboss you must edit tomcat41-service.xml not server.xml; changes made to the server.xml will not be used by tomcat. The Tomcat bundled with JBoss uses the

Re: building mod_proxy Apache 1.3

2003-06-02 Thread Sharon Stahl
Hi Eric, I have not done this but I notice that you don't mention running 'make' after you did the configure. configure should have produced a Makefile. When you run make do you get the mod_proxy.so or are you getting some kind of error? Aloha, Sharon From: Eric fiedler

JK binaries for Solaris

2003-06-02 Thread Sharon Stahl
Hi everyone, I have had problems compiling mod_jk from source and have posted my message a couple of times to the mail list but no one has responded to my questions yet. I have tried to get the binaries but all the solaris directories for binaries are empty at the following site.

RE: mod_jk.log errors

2003-06-02 Thread Marco Laponder
Sorry, little bug in my mail ;-) The second connector is not commented out in my current situation ! So my server.xml looks this connector: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/

JK2 woes

2003-06-02 Thread David Bolshoy
Hi, Could someone shed more light on the following JK2 messages: [Sun Jun 01 18:49:29 2003] (error ) [jk_channel_un.c (422)] channelUn.receive(): error receiving -1 0 Success 859a460 19 Jun 1, 2003 6:49:29 PM org.apache.jk.common.JniHandler nativeDispatch SEVERE: nativeDispatch: error 12

page cannot be displayed

2003-06-02 Thread Keith Mastin
Just instaled tomcat on a redhat-7.3 server that's already running ssl-enabled apache-1.3.27. I can connect via localhost:8080 with lynx, but when I dial with the ip address:8080 on either mozilla or IE I get a page cannot be displayed error. I checked the archives and didn't see this problem.

polish chars

2003-06-02 Thread Euan Guttridge
I am getting ?? instead of polish characters. Any config I need to look at? Works fine on NT, not on Linux. - j2sdk1.4.1 - tomcat 1.1.24 - red hat linux 7.2 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: polish chars

2003-06-02 Thread Ari Suutari
Hi, On Monday 02 June 2003 12:52, Euan Guttridge wrote: I am getting ?? instead of polish characters. Any config I need to look at? Works fine on NT, not on Linux. - j2sdk1.4.1 - tomcat 1.1.24 - red hat linux 7.2 I had a similar problem on linux. It was because I was

RE: polish chars

2003-06-02 Thread Euan Guttridge
Thanks, Adding this to the env fixed both Linux and Solaris: NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG -Original Message- From: Ari Suutari [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 10:53 To: Tomcat Users List; Euan Guttridge; '[EMAIL PROTECTED]' Subject: Re: polish chars

/admin

2003-06-02 Thread Dominic Parry
Hi I'm I right to assume that the /admin app is only needed to configure the Tomcat if it is used as a standalone web server. Thanks Dom

Re: /admin

2003-06-02 Thread Kwok Peng Tuck
No. You may use it even if it is connected to apache or some other webserver Dominic Parry wrote: Hi I'm I right to assume that the /admin app is only needed to configure the Tomcat if it is used as a standalone web server. Thanks Dom

Re: /admin

2003-06-02 Thread Dominic Parry
I that case, I can't seem to get it to run. When I try to deploy, I get: 2003-06-02 10:38:24 HostConfig[localhost]: Deploying web application directory admin 2003-06-02 10:38:24 StandardHost[localhost]: Installing web application at context path /admin from URL file:C:\Program Files\Apache

Re: Expression Language question

2003-06-02 Thread Tim Funk
Ooops, sorry, I misread. How's this instead ... c:if test=${empty pageContext.session} !-- no session ?? weird .. redirect away ...-- /c:if c:choose c:when test=${pageContext.session.new} !-- My session is new -- /c:when c:when test=${empty sessionScope['user']} !-- No user yet --

Starting Tomcat without logging in as root?

2003-06-02 Thread ravi
Hello, My students do not login as root, but I want them to be able to start Tomcat. Is this possible? Right now they get Permission Denied message. Thanks, Ravi Kulkarni [EMAIL PROTECTED] :-) - To unsubscribe,

Re: Guild on using MOD_JK2

2003-06-02 Thread Tim Funk
I do not know of a conversion guide. mod_jk and mod_jk2 are configured (not so) completely differently. The way to go to mod_jk2, is really to read the docs on jk2 (which we know are still lacking :( )and start from scratch. As people create good how-tos on the connectors, I try to link to them

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Tim Funk
If each student runs their own tomcat instance, then just have tomcat listen on a port above 1024. -Tim [EMAIL PROTECTED] wrote: Hello, My students do not login as root, but I want them to be able to start Tomcat. Is this possible? Right now they get Permission Denied message. Thanks,

Manager app and HttpURLConnection

2003-06-02 Thread Dominic Parry
Hi I'm trying to do this: try { URL url = new URL(http://localhost/manager/reload?path=/DynaServlet;); HttpURLConnection con = (HttpURLConnection)url.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader(

jsp evaluation into a stream instead of response?

2003-06-02 Thread Holger Klawitter
Hi there, I am trying to create a servlet which basically sends an email. I would like to create a HTML File as part of that mail. As there is some kind of dynamic involved it would be nice to create that HTML data from a JSP file. My only current idea to is create an artificial HTTP Request

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 19:30, Tim Funk wrote: If each student runs their own tomcat instance, then just have tomcat listen on a port above 1024. Plus they would each need an instance of Tomcat in their home directory, I'd say that's where the permission denied is coming from it's probably

Re: Manager app and HttpURLConnection

2003-06-02 Thread Tim Funk
That is because the manager servlet is protected. A 401 response code is a challenge back to the client and the client needs to resend a new request with the Header: WWW-Authenticate with the userid and password. More information: http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html#sec-10.4.2

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Mirit Naim
there is a utility called sudo that enables you to give regular users permissions to run commands as privileged users. If you use it, your users will be able to stop/start tomcat, while it is installed in another account (in your case root), without being able to su to root. [EMAIL PROTECTED]

Re: /admin

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 18:26, Dominic Parry wrote: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission Is naming-common.jar in your CATALINA_HOME\common\lib ? I'm not sure why it wouldn't find it if it is, maybe CATALINE_HOME needs to be explicitly declared when running Tomcat in

Restrict WebDAV servlet to context subdirectory

2003-06-02 Thread Sven Kuenzler
I would like to use the webdav servlet in the context of another web application. In particular, WebDAV only should make files beneath a certain subdirectory, say docs/usr, available. So I tried: servlet-mapping servlet-namewebdav/servlet-name url-pattern/docs/usr/*/url-pattern

Re: installing Tomcat without being root

2003-06-02 Thread John Turner
On Mon, 2 Jun 2003 09:44:07 +0200, [EMAIL PROTECTED] wrote: Hello, thanks to your advice i had been able to install tomcat and run all my servlets, but I have still 2 problems: 1) Having installed TomCat standalone as a non-root user, TomCat is reachable only at port 8080, while the DNS is set

Re: Thanks to John and Geralyn

2003-06-02 Thread John Turner
On Sun, 1 Jun 2003 14:56:19 +0800, joe [EMAIL PROTECTED] wrote: Hi john and geralyn, thanks for the warmly and prompt reply. I think now at least i know what is going on.However, i'm still unsure of the following things: 1) Based on John wonderful's Howto, i think you are using both mod_jk.so

Re: Why am I recieiving this?

2003-06-02 Thread John Turner
Seems pretty self-explanatory to me. The mail administrator at logicaonline.com (look at the headers in the message!!) has blacklisted your email address. John On Mon, 2 Jun 2003 00:02:02 -0700, Dan Tran [EMAIL PROTECTED] wrote: I receive the below text every time I post a message to this

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread John Turner
True, but it doesn't help much if everyone has a Tomcat configured to listen on port 80. If I have 10 students, and they each need their own Tomcat instance, using ports less than 1024 doesn't make much sense, as there are other network services in that port space. So using 1024 doesn't need