Sharing Session data between Contexts - HOWTO

2003-06-01 Thread Johannes Fiala
Hi there, I've just set up a HOWTO describing how to share session data (=session-based Java objects) between Contexts http://www.fwd.at/tomcat/sharing-session-data-howto.html I described how to share the Sessionid between two different Contexts and how to store and retrieve the shared

RE: JK2 apache2 log errors

2003-06-01 Thread Allen Williams
In the process of digging through the mod_jk2 source code to solve my own problem (which still hasn't happened), I came across extensive references to the scoreboard. It is a place in a workerEnv data structure that holds the process ID of a child process. I'm not sure about who spawns what

RE: Can't find TomcatStarter Startup Errors Apache crash

2003-06-01 Thread Allen Williams
Pascal, Thanks for the suggestions. Based on what you and a few others told me, I've moved past that point and now am getting errors in the new thread I started called RE: Startup Errors Apache crash. Basically, everything looks like it started OK, then it references memory location 0x01

RE: JK2 apache2 log errors

2003-06-01 Thread Neil Aggarwal
Hello: How do I enable the jkstatus page? I have not seen any docs on it. Thanks, Neil -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases -Original Message- From: Allen

RE: JK2 apache2 log errors

2003-06-01 Thread Reynir Hübner
I think it's enough to add the following : - start here --- [status:] info=Status worker, displays runtime informations [uri:/jkstatus/*] info=Display status information and checks the config file for changes. group=status: - end here --- To your workers2.properties. Hope it helps

RE: JK2 apache2 log errors

2003-06-01 Thread Neil Aggarwal
Raynir: That worked! Thanks, Neil -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: Saturday, May

Ho to interpret jkstatus page?

2003-06-01 Thread Neil Aggarwal
Hello: With some help from people on this list, I was able to get the jkstatus page working for the jk2 connector. Unfortunately, it contains a lot of information that I am not sure how to interpret. Are the any docs detailing the contents of the page? Thanks, Neil -- Neil Aggarwal

Re: Alternate password encyption code?

2003-06-01 Thread Phil Steitz
Jeff Sexton wrote: On Thu, 29 May 2003, Raible, Matt wrote: Why don't you just have the JDBCRealm do it - add digest=SHA. I need something other than SHA, I need to use my own custom code for an encyrption method of my own that is not provided by JDBCRealm To programmatically do it using

problem with showing an image

2003-06-01 Thread D-Fuse
Hey, I load the url of an image from a properties file in a jsp. The image doesn't show in my browser (phoenix), when I look at the source code the image url points to the right direction. When I save the source code as a static html and open it in phoenix (using file://) the image shows up. Now

RE: problem with showing an image

2003-06-01 Thread graghupathy
set this thing to img align=left src=%= request.getContextPath() %/images/shadowlogo.jpg alt=forumlogo Thanks guru -Original Message- From: D-Fuse [mailto:[EMAIL PROTECTED] Sent: 31 May 2003 18:07 To: [EMAIL PROTECTED] Subject: problem with showing an image Hey, I load the url of an

Re: problem with showing an image

2003-06-01 Thread Jason Bainbridge
On Sun, 1 Jun 2003 01:06, D-Fuse wrote: src=/opt/tomcat/webapps/shadowbb/images/shadowlogo.jpg The source of your image has to be inside the context of your web application (or atleast the server) for Tomcat to be able to show it, it is a security feature. Most people usually have a

RE: problem with showing an image

2003-06-01 Thread Ramesh Sabeti
Change the image location to a relative address starting from your application location Src=/images/shadowlogo.jpg or Src=images/shadowlogo.jpg -Original Message- From: D-Fuse [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 10:07 AM To: [EMAIL PROTECTED] Subject: problem

Re: Can't find TomcatStarter Startup Errors Apache crash

2003-06-01 Thread Chong Yu Meng
Allen Williams wrote: Basically, everything looks like it started OK, then it references memory location 0x01 (WinNT), then the child thread exits and Apache keeps trying to restart it. So far, I can't find anyone who has any insight or has seen this before, hence my attempt to try to go through

RE: Can't find TomcatStarter Startup Errors Apache crash

2003-06-01 Thread Allen Williams
I haven't tried recompiling from source. I am hoping I won't have to go that far! As for dropping back to an earlier version, another interesting problem is that when I drop back to an earlier version, Apache tells me it can't find the file. For example, if I have in my modules directory the

RE: problem with showing an image

2003-06-01 Thread D-Fuse
Thanks, it worked with using the getContextPath(). Other people suggested just using the path relative from my webapp, but that is what I tried first, and Tomcat would always replace my url with: controller_files/shadowlogo.html. Whatever I put into the img src = , Tomcat cut off the extension,

How to open anonymous access

2003-06-01 Thread Ramesh Sabeti
Newbee question: I just installed Tomcat 4.1.12 on Win XP. When I go to http://localhost:8080 it keeps asking for a user name and password, but won't accept anything and goes to the Unauthorized page. I've tried my OS user/pwd and all the user/pwds in the conf/tomcat-users file. Any idea? I

Re: Forms and JSPs

2003-06-01 Thread Jeff Knox
Steven, Thanks for the reply, this has me stumped. Sorry for the lack of information, but I just wasn't sure where to turn. I was hoping somebody could give me a starting point. I've been through the JSPs, server.xml and httpd.conf without luck. I compared the IDE's server.xml with the

Re: Forms and JSPs

2003-06-01 Thread Jeff Knox
OK, I moved the server.xml file from the IDE to the production instance. Using port 8080 everything works great. I added a connector for mod_jk and sure enough it doesn't work. Would the problem be in the server.xml, httpd.conf or somewhere else? Here are the two connectors: Connector

Re: Forms and JSPs

2003-06-01 Thread Jason Bainbridge
On Sun, 1 Jun 2003 03:35, Jeff Knox wrote: OK, I moved the server.xml file from the IDE to the production instance. Using port 8080 everything works great. I added a connector for mod_jk and sure enough it doesn't work. Would the problem be in the server.xml, httpd.conf or somewhere else? Here

Re: Forms and JSPs

2003-06-01 Thread Jeff Knox
AAAH! lol Ok, at first I was using the Warp connector and told to dump it because it wasn't supported and mod_jk was the way to go. Now you are telling me to go with mod_jk2?! I'll take a look at it. It's times like these when I know why I'm a programmer and not a

RE: Forms and JSPs Apache Thread Crash

2003-06-01 Thread Allen Williams
Jason, Could you post your config files? httpd.conf, worker2.conf, jk2.conf, and server.xml (or, just point to where they are; I'll be glad to do the download work). I've been through a few how- tos as well and had multiple people here offer suggestions, with no success. Are you using WinNT?

Re: installing Tomcat without being root

2003-06-01 Thread Scott Reynolds
Just download the .tar.gz (or the .zip) package, untar it into your home directory, and run it from there, giving you complete control. As long as you stick with the default port of 8080, you don't need any special privilages to run it--That's what I do. Scott Reynolds --- [EMAIL PROTECTED]

Re: installing Tomcat without being root

2003-06-01 Thread kurtc
Ok, thanks. I wonder if this is possible to do also with the .rpm (instead of .tar.gz) Thanks in advance, Alex -Messaggio Originale- Da: Scott Reynolds [EMAIL PROTECTED] A: Tomcat Users List [EMAIL PROTECTED] Data invio: domenica 1 giugno 2003 8.11 Oggetto: Re: installing Tomcat without

faulty fix for (javax.servlet does not exist)

2003-06-01 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 path -- $ echo $CLASSPATH

Thanks to John and Geralyn

2003-06-01 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

Guilde on using MOD_JK2

2003-06-01 Thread joe
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 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

Re: Thanks to John and Geralyn

2003-06-01 Thread Michenaud Laurent
here how i do to build mod_jk2 : First, i download this package : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/src/jakarta-tomcat-connectors-4.1.24-src.tar.gz untar then, cd jk/native2 chmod u+x buildconf.sh ./buildconf.sh ./configure --with-java-home=/u/java

Re: tomcat4.1 include problems

2003-06-01 Thread Jan Pekník
I think so because response time for even simplest page is about 2-3 seconds, and should be almost zero. TC also consumes 100% cpu time during that time. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 4:24

Tomcat freezes under heavy load

2003-06-01 Thread Justin Smith
I'm running Apache 2.0.40-21.3 under Redhat 9.0 with Tomcat 4.1.24 and mod-jk2. I use this to administer online exams and have noticed that tomcat locks up, i.e., fails to serve web pages and freezes to the extent that the shutdown script cannot kill it. You have to kill the process by hand. My

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

2003-06-01 Thread Jacob Kjome
You have an invalid classpath. Note that you must add each and every .jar file to the classpath. It is invalid to specify *.jar. The only way that would work is by using a batch file and looping through all jar files in a directly and then adding each to the classpath for each iteration.