Re: Hiding Implementation using Tomcat 5

2004-06-03 Thread Harry Mantheakis
Hello You can register your JSPs (just like you can servlets) in the deployment descriptor, and then map them to a URL pattern of your choice. Have a look at this link: http://edocs.bea.com/wls/docs70/webapp/components.html#145275 If you only register a JSP (but do not define a mapping for it)

Illegal access: this web application instance has been stopped already

2004-06-03 Thread Ralf Schneider
Hi, I get the error message Illegal access: this web application instance has been stopped already when my webapp is reloaded. After that I get an exception saying: SEVERE: Exception invoking periodic operation: java.lang.ThreadDeath at

new context with port mapping doesn't work

2004-06-03 Thread Nina Aschenbrenner
We wanted to create a new context for our webapplication, so we could invoke it vie ipaddress:portnumber. We tried several tutorials but nevertheless it does not work. Can anybody help?

Re: Problems with jdk1.4 and Windows

2004-06-03 Thread alu, artifex
some description of the symptoms (error code, stacktrace, logfiles, etc...) would be helpful! Francisco José Arnau Vives wrote: I wanted to update my tomcat server based on jdk1.3 and tomcat 4 to jdk1.4 over windows server and I'm having many problems with many servlets. however this servlets

Problem with request parameters getting mixed with requests from minutes before

2004-06-03 Thread ian . wark
We have a really difficult problem that surfaces only once every week or so in which request parameters for requests from a particular mapping get mixed randomly with request parameters from the same mapping that occurred minutes before. It sounds unbelievable, but that seems to be what is

RE: war file is not expanding

2004-06-03 Thread john cho
Yoav, but can u explain why that is the hack? After I did change the docBase to the WAR, the WAR file did not expand but serving web request. Can u shed some light on this? thanks, -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 11:23 AM

XML syntax for JSP

2004-06-03 Thread Robert Koberg
Hi, I am currently using Caucho's Resin as my servlet container, but now starting to check out other containers. I would like to ask a quick question before jumping into Tomcat. (I have to do quite a bit of configuration changes as I unfortunately used some shortcuts that resin allows) First

RE: Tomcat 5.0.24 can't see third party packages?!

2004-06-03 Thread Nadia Kunkov
Sorry to take a whole day to post my jsp... Here it is. It breaks on the import statment in Tomcat 5.0.24 and Fedora but runs fine in Tomcat 4 and Red Hat. Same exact setup. %@ include file=security.jsp % %@ page language=java import= java.net.*, java.util.*,

Re: new context with port mapping doesn't work

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 11:43:29AM +0200, Nina Aschenbrenner wrote: : We wanted to create a new context for our webapplication, so we could invoke : it vie ipaddress:portnumber. : We tried several tutorials but nevertheless it does not work. : Can anybody help? Perhaps, but unless you: 1/

Re: Problem with request parameters getting mixed with requests from minutes before

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 07:41:30PM +0900, [EMAIL PROTECTED] wrote: : We have a really difficult problem that surfaces only once every week or so : in which request parameters : for requests from a particular mapping get mixed randomly with request : parameters from the same mapping : that occurred

RE: How to get the offending uri when handling a 404 error?

2004-06-03 Thread Shapira, Yoav
Hi, -Original Message- From: Ariel Valentin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 10:19 PM To: [EMAIL PROTECTED] Subject: RE: How to get the offending uri when handling a 404 error? I believe the ErrorData class only holds 500 errors. Where did you get that

Re: Tomcat 5.0.24 can't see third party packages?!

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 09:10:48AM -0400, Nadia Kunkov wrote: : Here it is. It breaks on the import statment in Tomcat 5.0.24 and Fedora but : runs fine in Tomcat 4 and Red Hat. Same exact setup. I have a wild guess, so take that for what it's worth -- assuming the files and dir structures are

RE: Page output is disappearing

2004-06-03 Thread Annie Guo
If you have a NullPointerException somewhere in your tag or jsp pages, this could happen. It happened to me a couple of times. Look for any variable that might be null. -Original Message- From: Keith Hankin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 1:58 AM To: Tomcat Users

RE: Programmatic Authentication?

2004-06-03 Thread Annie Guo
I would greatly appreciate it. -Original Message- From: Victor R. Cardona [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 11:56 PM To: Tomcat Users List Subject: Re: Programmatic Authentication? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Annie Guo wrote: | Mind sharing your

RE: Programmatic Authentication?

2004-06-03 Thread Annie Guo
Victor: I would greatly appreciate it. -Original Message- From: Victor R. Cardona [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 11:56 PM To: Tomcat Users List Subject: Re: Programmatic Authentication? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Annie Guo wrote: | Mind

Re: Programmatic Authentication?

2004-06-03 Thread Michiel Toneman
I've done something similar and written a little tutorial about it at: http://www.kopz.org/public/documents/tomcat/jaasintomcat.html Maybe it helps. Michiel Annie Guo wrote: Victor: I would greatly appreciate it. -Original Message- From: Victor R. Cardona [mailto:[EMAIL PROTECTED] Sent:

httpd.conf ---- what is this?

2004-06-03 Thread Kommuru, Bhaskar
httpd.conf from apache: What is the difference between these two modules (prefork.c and worker.c) below.. IfModule prefork.c MaxClients 150 StartServers 5 MinSpareServers 5 MaxSpareServers 10 /IfModule IfModule worker.c StartServers 2 MaxClients 150 MinSpareThreads

Re: httpd.conf ---- what is this?

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 03:53:49PM +0200, Kommuru, Bhaskar wrote: : httpd.conf from apache: What is the difference between these two modules : (prefork.c and worker.c) below.. : [snip] This is a question for an Apache forum. -QM -- software -- http://www.brandxdev.net tech news --

Archives

2004-06-03 Thread stella luna
is there a way to search archives from this malling list? TDG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Archives

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 10:04:35AM -0400, stella luna wrote: : is there a way to search archives from this malling list? Yes -- there's a link on the Tomcat website. Check the mailing lists link in the menu side-bar. -QM -- software -- http://www.brandxdev.net tech news --

Serving up static content through apache using mod_jk

2004-06-03 Thread James Sherwood
Hi, I am trying to serve up some of our static content through Apache instead of Tomcat I am using apache 2.049 and Tomcat 5.025 with mod_jk 1.2.5 Lets say in tomcat I have a directory serving up static html called staticserve. I reach it through www.mydomain.ca/staticserve/index.html I

java.lang.OutOfMemoryError

2004-06-03 Thread Matthew Chen
Has anyone ever experienced this error? The machine I am running has enough memory, I think it is around 2GB. The java instance just used for less than 150MB memory from prstat. Does anyone know how to increase initial tomcat memory size just like Java does? Thanks! Matt chen

Re: Archives

2004-06-03 Thread Tim Funk
There are links to the archives here: Most are searchable http://jakarta.apache.org/tomcat/bugreport.html stella luna wrote: is there a way to search archives from this malling list? - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 11:26:52AM -0300, James Sherwood wrote: : VirtualHost * : ServerAdmin [EMAIL PROTECTED] : DocumentRoot %pathtoapache%/htdocs/staticserve : ServerName mydomain.ca : JKMount /* ajp13 : ErrorLog mylog.log : /VirtualHost : : My problem is that apache is not

RE: java.lang.OutOfMemoryError

2004-06-03 Thread Shapira, Yoav
Hi, It wouldn't hurt to search the FAQ or archives before posting: http://jakarta.apache.org/tomcat/faq/memory.html http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=OutOfMemoryErrorq =b Yoav Shapira Millennium Research Informatics -Original Message- From: Matthew Chen [mailto:[EMAIL

Re: java.lang.OutOfMemoryError

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 10:24:47AM -0400, Matthew Chen wrote: : Has anyone ever experienced this error? The machine I am running has enough : memory, I think it is around 2GB. The java instance just used for less than : 150MB memory from prstat. Does anyone know how to increase initial tomcat :

Re: java.lang.OutOfMemoryError

2004-06-03 Thread James Sherwood
more information please, version of tomcat and windows or linux? - Original Message - From: Matthew Chen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:24 AM Subject: java.lang.OutOfMemoryError Has anyone ever experienced this error? The

Re: java.lang.OutOfMemoryError

2004-06-03 Thread Filip Hanik - Dev
catalina.bat or catalina.sh, set JAVA_OPTS=-mx512m - Original Message - From: James Sherwood [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 9:39 AM Subject: Re: java.lang.OutOfMemoryError more information please, version of tomcat and

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread James Sherwood
If the JKMount /* ajp13 passes everything to the jk handler, is there a way route everything but /staticserve directory to the jk handler? - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:27 AM Subject: Re: Serving

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 11:52:11AM -0300, James Sherwood wrote: : If the JKMount /* ajp13 passes everything to the jk handler, is there a way : route everything : but /staticserve directory to the jk handler? I've never done that, so I wouldn't know. I prefer the opposite approach: have a

RE: Programmatic Authentication?

2004-06-03 Thread Annie Guo
Thank you Michiel. I did read your tutorial. I am new to JAAS and security stuff. I am still strugling with it. I have followed all your code and setup in web.xml. My problem is even though from my LoginModule debug statements that the login and LoginModule commit is successful (I just check

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread James Sherwood
Yes but in my case I have a ton of directories that are dynamically changed so I want everything served through tomcat except some static stuff in one directory:) Any ideas? - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03,

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Shapira, Yoav
Hi, As always, consider using tomcat standalone for all your traffic, static and dynamic. Yoav Shapira Millennium Research Informatics -Original Message- From: James Sherwood [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:08 AM To: Tomcat Users List Subject: Re: Serving up

Re: Can't find classes - More Info

2004-06-03 Thread David Rush
Help! Tomcat is non-functional, and I can't figure out what broke it (it used to work). Windows 2000 Server, Tomcat 4.1.30. logs\stderr.log (not sure what access is denied to): Created catalinaLoader in: c:\tomcat4130\server\lib java.util.zip.ZipException: Access is denied at

System.setProperty scope within the various Tomcat Classloaders

2004-06-03 Thread Jeremy Nix
I wanted to verify what scope gets applied to a property added with System.setProperty() command from within a web application. All relevant classes are loaded within the web application's class loader. _ Jeremy Nix Senior Application Developer Southwest

RE: Can't find classes - More Info

2004-06-03 Thread Shapira, Yoav
Hi, The JSP servlet cannot be found because the jar file containing it cannot be loaded. Is the file present, valid, and readable by the server user? Yoav Shapira Millennium Research Informatics -Original Message- From: David Rush [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03,

RE: System.setProperty scope within the various Tomcat Classloaders

2004-06-03 Thread Shapira, Yoav
Hi, There's only one value for each property in System.setProperty. It's global within the JVM instance, one set of properties. Yoav Shapira Millennium Research Informatics -Original Message- From: Jeremy Nix [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:19 AM To: [EMAIL

Re: Can't find classes

2004-06-03 Thread David Rush
Windows 2000 Server. David Schalk wrote: What OS are you using? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can't find classes

2004-06-03 Thread Filip Hanik - Dev
java.util.zip.ZipException: Access is denied this file is locked by another program, make sure to kill any other processes that are accessing this file. Filip - Original Message - From: David Rush [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Varley, Roger
Hi, As always, consider using tomcat standalone for all your traffic, static and dynamic. This is the third time I have heard this piece of advice recently. When I started off with Tomcat back in the 3.x days the recommendation was always to run Tomcat for the dynamic servlet/jsp stuff

Problem with tomcat 5.0.25 service

2004-06-03 Thread Jens Kühnberger
Hi, I got a problem with installing tomcat 5.0.25 as a service. When I run tomcat with the startup script (startup.bat) I don't have any problem. After installing the service (service.exe install) and running my application as a service, I get the following compilation error for every jsp page

Re: Can't find classes - More Info

2004-06-03 Thread David Rush
Yoav: c:\tomcat4130\common\lib\servlet.jar is present and readable by everyone. jar -tf servlet.jar produces a valid-looking listing (looks fine to me, anyway). Hmmm... the missing class isn't there. Found it in c:\tomcat4130\common\lib\jasper-compiler.jar

Re: Problem with tomcat 5.0.25 service

2004-06-03 Thread James Sherwood
If this is on a windows machine, check the 'configure tomcat' part and make sure its pointing to the same jvm as your %java_home% is - Original Message - From: Jens Kühnberger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 12:43 PM Subject: Problem with tomcat

RE: Can't find classes - More Info

2004-06-03 Thread Shapira, Yoav
Hi, Tomcat will automagically load .jar files that are in the common\lib directory, right? Same for the shared\lib directory? Yes and yes. See Filip's response for file locking that could be causing this problem. Yoav David Shapira, Yoav wrote: Hi, The JSP servlet cannot be found because

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Shapira, Yoav
Hi, This is the third time I have heard this piece of advice recently. When I started off with Tomcat back in the 3.x days the recommendation was always to run Tomcat for the dynamic servlet/jsp stuff and a real web server (Apache/IIS) for the static content. Yes: those days are long gone. Are

Re: Can't find classes

2004-06-03 Thread David Rush
Filip: I get this error even on Tomcat automatic start-up after a reboot, so there should be no errant processes left that have a lock on it. I can't find any indication of what it's trying to access. Any idea exactly what file is locked, or that java.util.zip can't open for whatever reason?

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread Mark Lowe
I believe that the built in http server is good enough in some cases yes. Likewise resin's. for an intra net or predictable amount of users would work fine. The advantages of load balancing the static content from the java stuff takes some work out of catalina's hands but also means with

Re: Problem with tomcat 5.0.25 service

2004-06-03 Thread Jacob Kjome
I think this is because tools.jar isn't added to the classpath in the service.bat service installer file. I've modified mine to include this. See attached (renamed to service.txt to avoid being removed by filters). BTW, I've mentioned this a few times to the Tomcat developers with little

Re: Programmatic Authentication?

2004-06-03 Thread Michiel Toneman
Hi Annie, The authentication is completely separate from my example. In my example, I already assume that the user has authenticated itself succesfully to Tomcat (either through a frontend webserver like Apache or in Tomcat itself). The code in the example only deals with what you can do after

TOO MANY OPEN FILES

2004-06-03 Thread HasanA
Hi We are running tomcat 4 on Open VMS system and ocassionally we have seen this error message and crashed tomcat engine 2004-06-03 08:54:55 HttpConnector[8080] accept: java.net.SocketException: too many open files at java.net.PlainSocketImpl.socketAccept (PlainSocketImpl.java) at

Re: TOO MANY OPEN FILES

2004-06-03 Thread Filip Hanik - Dev
you will need to change the number of open file descriptors your OS can handle. Should be in your kernel config or somewhere around there, don't know to much about Open VMS Filip - Original Message - From: HasanA [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

Re: Can't find classes

2004-06-03 Thread Filip Hanik - Dev
time to open up your task manager and start killing processes then :) - Original Message - From: David Rush [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 10:50 AM Subject: Re: Can't find classes Filip: I get this error even on Tomcat

Disable session serialization?

2004-06-03 Thread Barnet Wagman
Is it possible to disable session serialization? If so how is it done, and is it bad idea? Is this documented anywhere? Thanks, bw PS the archives has several posting asking this question but no answer. - To unsubscribe,

RE: Disable session serialization?

2004-06-03 Thread Shapira, Yoav
Hi, This is mentioned in the configuration reference page for the Manager element, and has been covered numerous times with answers in the archives. Yoav Shapira Millennium Research Informatics -Original Message- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03,

Re: Disable session serialization?

2004-06-03 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#persist -Tim Barnet Wagman wrote: Is it possible to disable session serialization? If so how is it done, and is it bad idea? Is this documented anywhere? Thanks, bw PS the archives has several posting asking this question but no answer.

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread Oscar Serrano
I had the same problem, many directories full of servlet. I didn't wanted to put so many JkMount directives. so I created a directory named servlets and I put all my directories under that directory. Then, in httpd.con I only have to put a JkMount directive to this /servlets directory. Though

Tomcat compile vs. jspc/jasper compile (was: 0 length .java files generated by jspc?)

2004-06-03 Thread Jason Palmatier
First off, the 0 length Java files are due to a bug in the Tomcat jspc compiler documented in this post: http://junlu.com/msg/41035.html Secondly I discovered that if I keep the JSP around and then simply access it through a browser Tomcat compiles the JSP correctly and I end up with a valid

Naming Question

2004-06-03 Thread Worley Brent - bworle
I'm using Tomcat 5.1.24 on Linux and coming across the following scenario: I have a class named Search that does very few things, but it does create a Context object. MyObj l = null; Throwable t = null; try { InitialContext ic = new InitialContext(); l =

mod_JK2 static installation problem

2004-06-03 Thread Ryan Peterson
I've been trying to install the mod_jk 2 module statically into Apache version 2.0.49 using the directions on the Jakarta site but continue to have a failed install requesting that I configure Apache before installing mod_jk. However if I install apache first it doesn't install mod_jk statically.

RE: Tomcat compile vs. jspc/jasper compile (was: 0 length .java files generated by jspc?)

2004-06-03 Thread Shapira, Yoav
Hi, First off, the 0 length Java files are due to a bug in the Tomcat jspc compiler documented in this post: http://junlu.com/msg/41035.html No. The post doesn't discuss why the files are 0-length, only the consequences of them being 0-length (such as they're ignored by javac). The bug

RE: Naming Question

2004-06-03 Thread Shapira, Yoav
Hi, How do you declare the resource in server.xml? The web.xml is only the reference linking information, it's not sufficient by itself. Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004

RE: Naming Question

2004-06-03 Thread Worley Brent - bworle
Yoav, I don't. That was not in the instructions of the move (moved from WinNT using Resin to Linux using Tomcat). Can you give me an example (or point me to one) of what this should look like? Brent -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June

RE: Naming Question

2004-06-03 Thread Shapira, Yoav
Hola, Examples and directions are at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.htm l. Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 2:08 PM To: 'Tomcat Users

RE: Naming Question

2004-06-03 Thread Worley Brent - bworle
So based off of the examples on this page (and what I have in my web.xml file), would something like this work? GlobalNamingResources Resource name=myobj auth=Container type=obj /Resource ResourceParams name=obj parameter nameusername/name

RE: java.lang.OutOfMemoryError

2004-06-03 Thread Matthew Chen
Thanks for all replies and recommendations. Pretty helpful, FYI, I am running Tomcat 5.0.12 on solaris 8. Matt -Original Message- From: James Sherwood [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 10:40 AM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError more

Re: Why so many sessions?

2004-06-03 Thread Leonard Sitongia
On May 28, 2004, at 7:15 AM, Leonard Sitongia wrote: On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote: On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote: But, the number of Sessions is 140. The number appears to have fluctuations up and down, but the overall trend is to increase. There

RE: Naming Question

2004-06-03 Thread Shapira, Yoav
Hi, GlobalNamingResources Resource name=myobj auth=Container type=obj /Resource ResourceParams name=obj The name should match the resource name, so both should be myobj. Note also that the case matters, so your application will need to lookup myobj and not MyObj for example. The

RE: Naming Question

2004-06-03 Thread Worley Brent - bworle
Hi, For development purposes, we are wanting to keep files away from common areas (there might be 2 or 3 of us working on this application at a time). Is there a way to declare this in a manner to let is load from WEB-INF/lib and not common/lib? -Original Message- From: Shapira, Yoav

RE: Naming Question

2004-06-03 Thread Shapira, Yoav
Hi, Nope. Don't share tomcat instances at development: have each developer use his/her own tomcat instance. Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 2:49 PM To: 'Tomcat Users

documentation for the command line installer

2004-06-03 Thread Ben Souther
Hello, I'm looking for the documentation for installing Tomcat as a Windows service from the command line. The current documentation only tells how do to it with the wizard type installer. I'm trying to install multiple instances as services which the gui installer doesn't seem to be able

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Cox, Charlie
I have the same problem and I am considering modifying jk2 to support such a feature. Hopefully I will have some time in the next couple of weeks to try this out. I need Apache for other apps too, not just tomcat. Charlie -Original Message- From: James Sherwood [mailto:[EMAIL

Error Message in the mod_jk.log

2004-06-03 Thread software
Hi, many people has been wrote about the this problem , what is he problem Thnaks a lot [Thu Jun 03 13:55:10 2004] [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down or network problems. [Thu Jun 03 13:55:10 2004] [jk_ajp_common.c (1290)]: ERROR: Receiving from

Re: Can't find classes - Even More Info

2004-06-03 Thread David Rush
Still grasping at straws on this one I tried stopping Tomcat as a service, then starting it up manually to see if it gave any more diagnostic info. When I run it from the command line, it works fine! I went back to running a service, and it fails just as before. What's going on? David

JSVC problem on Linux with Tomcat 5

2004-06-03 Thread Solley, Tim
Hi all, I'm trying to get Tomcat 5 running as a daemon on my RH 9 machine. I've gone through the setup and everything seemed to be okay. So I moved on to modifying the tomcat/bin/jsvc-src/native/tomcat.sh file to work with my environment. Now I use the script to start JSVC, and in the

RE: Tomcat compile vs. jspc/jasper compile (was: 0 length .java files generated by jspc?)

2004-06-03 Thread Jason Palmatier
Hi Yoav, Thanks for the reply. I'm stuck using 4.1.18 so the bug still applies to me :). However I did take my webapp code and copy it into a 5.0.19 install I had laying around. I then ran the compile under 5.0.19 and saw that no 0 length java file was created (this version must have the bug

Error Integrating AXIS into Tomcat 5.0.25

2004-06-03 Thread conradwt
Hi, I'm getting the following error message when I try running the happyaxis.jsp page: BEGIN ERROR: Error: could not find a dependency of class org.apache.axis.transport.http.AxisServlet from file axis.jar Axis will not work See http://xml.apache.org/axis/ The root cause was:

RE: JSVC problem on Linux with Tomcat 5

2004-06-03 Thread Solley, Tim
A follow up to this message, I found a couple of lines in catalina.out that I thought maybe have something to do with this: Can't load server.xml jsvc.exec debug: Daemon loaded successfully Can't load server.xml Perhaps this helps. Thanks again in advance. Tim -Original Message-

java.lang.NoClassDefFoundError on invocation of a native method

2004-06-03 Thread Tejo Vamsi Prayaga
Hi All, I am new to JNI and Servlets and I am facing one of the infamous problems, which is not getting resolved even after lot of debugging and setup changes. We are using Struts framework and Tomcat 4.X In one of our service implementations, which is invoked from an action class, we are using

Failing due to Multiple browser windows sharing the same session

2004-06-03 Thread Richard Almquist
Hello, I'm sorry if this is the wrong place to ask this question. Suggestions for better places appreciated. I have a webapp running in tomcat 4.1.27 and am having a problem with multiple browser windows sharing the same session and stomping on each other's session scope variables. The webapp

Re: Failing due to Multiple browser windows sharing the same session

2004-06-03 Thread Justin Ruthenbeck
At 03:06 PM 6/3/2004, you wrote: How to duplicate: 1) Go to sid.jsp in the webapp. 2) Use Ctrl+N to open a new browser window. 3) Go to sid.jsp with the new browser window created in step #2. 4) Session ID's are the same. I don't see any options in Netscape to force the new browser window to be

JSP page processing time

2004-06-03 Thread Emre
Is there a method or variable that I can use in a JSP page to display how long it took to process that page. I know PHP has something like that. Does Tomcat have a similar thing for JSPs? Thanx

RE: JSP page processing time

2004-06-03 Thread Frank Zammetti
Do you mean how long it takes to compile, or how long it takes to execute the compiled class? If the former, I don't have an answer. If the later though, try this at the top of your page: long l1 = System.currentTimeMillis(); And then this at the end: long l2 = System.currentTimeMillis();

mod_jk2.so load problem with apache2 (winxp)

2004-06-03 Thread Jeffrey A. Worman
This is my first post, so please excuse my ignorance about this type of mailing list. My issue: I successfully compiled the apache release version 2.0.49 and openssl release version 0.9.7d. I then downloaded and installed the binaries for tomcat 4.1.30 and mod_jk2 2.0.4 for apache2.0.49.

Error Viewing Installed Services

2004-06-03 Thread conradwt
Hi, where's the AXIS services directory under Tomcat 5.0.25? At this time, I'm getting an error message when I try to list the registered web services: Entered: URL: http://localhost:8080/axis/ Selected: View BEGIN ERROR: HTTP Status 404 - /axis/servlet/AxisServlet type Status report

Error Viewing Installed Services

2004-06-03 Thread conradwt
Hi, where's the AXIS services directory under Tomcat 5.0.25? At this time, I'm getting an error message when I try to list the registered web services: Entered: URL: http://localhost:8080/axis/ Selected: View BEGIN ERROR: HTTP Status 404 - /axis/servlet/AxisServlet type Status report

JAVAC Leaking Memory

2004-06-03 Thread java only
Hi All, I have seen in Tomcat 5.0.25 Release notes the JAVAC Leaking memory problem is mentioned. Earlier I was using Tomcat 3.3.1 and was getting java.lang.OutOfMemory Exceptions after every 2-3 days and had to restart my Tomcat Server.I am planning to migrate to Tomcat 5.0.25 version , but

Re: Programmatic Authentication?

2004-06-03 Thread Victor R. Cardona
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Annie Guo wrote: | Mind sharing your code? Here is my code. I make no guaranties as to its security. Victor -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

RE: java.lang.OutOfMemoryError

2004-06-03 Thread Jagsir.Dhillon
Search for '$JAVA_OPTS' env var in catalina.sh placed in $tomcat_home/bin And set it to -Xms512m -Xmx2048m Note: Now this 512m is least memory that should be free for tomcat before you start tomcat. Regards, Jagsir Singh Dhillon IFlex Solutions Associate Consultant

Problem with request parameters getting mixed with requests from minutes before (PartII)

2004-06-03 Thread ian . wark
On Thu, Jun 03, 2004 at 07:41:30PM +0900, ian.wark wrote: : We have a really difficult problem that surfaces only once every week or so : in which request parameters : for requests from a particular mapping get mixed randomly with request : parameters from the same mapping : that occurred minutes

RE: Problem with request parameters getting mixed with requests from minutes before (PartII)

2004-06-03 Thread Frank Zammetti
I had a similar problem a few weeks ago... not exactly the same, but maybe something to consider... The issue I had is that a user would log on to a particular app, and on the bottom of the screen we have a Hello, ! message, where is the user's name. Problem was, people were

Re: tomcat worker (node) down

2004-06-03 Thread Nanda
This appears to be a basic issue with using Apache Web Server - modjk2 - Tomcat instances in cluster configuration. A Tomcat Instance's going down or joining the cluster should not be noticed by end users. Still wondering if anyone has configured the cluster so that when a Tomcat Node is still

Re: tomcat worker (node) down

2004-06-03 Thread Nanda
This appears to be a basic issue with using Apache Web Server - modjk2 - Tomcat instances in cluster configuration. A Tomcat Instance's going down or joining the cluster should not be noticed by end users. Still wondering if anyone has configured the cluster so that when a Tomcat Node is still

Re: tomcat worker (node) down

2004-06-03 Thread Nanda
This appears to be a basic issue with using Apache Web Server - modjk2 - Tomcat instances in cluster configuration. A Tomcat Instance's going down or joining the cluster should not be noticed by end users. Still wondering if anyone has configured the cluster so that when a Tomcat Node is still

tomcat giving java.lang.IllegalArgumentException on deploying my web application

2004-06-03 Thread Ramneek Singal
Hi , when i put my web app directory and statrt tomcat it gives java.lang.IllegalArgumentException. relevant log in console window is : Jun 4, 2004 10:10:41 AM org.apache.catalina.core.StandardHostDeployer install INFO: Error installing java.lang.IllegalArgumentException: