RE: Tomcat, RedHat Linux MySQL configuration urgent...

2004-06-09 Thread mxs6991
Thank you regards, Manikandan Sachidanandan It's when things seem worst that you mustn't quit... -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 11:34 PM To: Tomcat Users List Subject: Re: Tomcat, RedHat Linux MySQL

How Can I doDefault Context Path

2004-06-09 Thread Masashi Nakane
Hi, all I need some help to set up an context path. I'm using apache 2.0 ,JK2, tomcat 5.0.24 on Linux. I made an application and packed into ABC.war. Then I put the war file into $TOMCAT_HOME\webapps\ directory. SO, I can access the top JSP with url http://localhost:8080/ABC/top.jsp This

Build Problem - jakarta-tomcat-connectors-4.1.30-src

2004-06-09 Thread Evan Read
Hi everyone. I am trying to build jakarta-tomcat-connectors-4.1.30-src. I get the following errors (mainly unresolved symbols) and I am not sure why. Obviously it can't find the right packages, but I thought the Servlet Java stuff was implimented in Tomcat itself. Do I need another package

RE: No response from Tomcat 5 with IIS

2004-06-09 Thread STOCKHOLM, Raymond
It seems the problem is local to your web application. Create a test JSP in your web app, and try accessing it. If it isn't responding, maybe all the available Thread for your web app are used, maybe you have a dead lock somewhere... I think that the number of threads available is specific to

RE: Build Problem - jakarta-tomcat-connectors-4.1.30-src

2004-06-09 Thread Kommuru, Bhaskar
Do you have j2ee downloaded as well? As you know, It is looking for servlet package. I am not sure where this package is set as classpath in your ant script. But you can try to apend this classpath to some classpath mentioned in your ant scripts or else, try to set CLASSPATH in you evnvironment

Tomcat share web applications

2004-06-09 Thread Erwin de Bruijn
Hi, I have a question about tomcat and web applications. Can someone tell me if it is possible to create dependencies between web applications. What I want to do is split a web application in such a way that I have a generic part (web app) and a specific part (web app). The specific part depends

Unable to compile class for JSP

2004-06-09 Thread java only
Hi all, I am unable to compile JSP files,it gives me the following exception org.apache.jasper.JasperException: Unable to compile class for JSPNo Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from

Re: [TC5] Problems with context.xml

2004-06-09 Thread alu, artifex
mhhhm... actually i don't think its possible to define a server-wide resource inside the context configuration. the globalnamingresources tag is nested within the server tag, the context.xml file is based on the context element which doesn't allow the globalnamingresources element within.

RE: No response from Tomcat 5 with IIS

2004-06-09 Thread Carl Olivier
Hi. (B (BAre you doing any database work? Is it possible that you have a database (Block happening in the middle of a transaction? (B (BCarl (B (B-Original Message- (BFrom: George [mailto:[EMAIL PROTECTED] (BSent: 09 June 2004 02:33 AM (BTo: Tomcat Users List (BSubject: RE: No

Accessing Tomcat 4 from Apache 2 with mod_jk2

2004-06-09 Thread Sven Bovin
Hi First of all: sory for the rather lengthy post, but I think it is better to provide all info that I think is relevant at once. Now for my problem: I'm installing a Web server machine and I've encountered a rather weird problem: I can access the standard Tomcat examples through Apache (using

Tomcat and IIS 6 - multiple hosted sites

2004-06-09 Thread Jason L. West, Sr.
I have a Win2003 server running IIS 6 and Tomcat. The server is hosting multiple domains and sub domains, single ip address using headers to sort domains. I want to publish out the Tomcat applications for the domains but I don't want to have to hit a sub directory on Tomcat server to do it.

redirectport not redirecting (again!)

2004-06-09 Thread Knight, Digby
Hi all, I know this has been discussed a thousand times, but I've just tried to set up Https redirection on Tomcat 5.0.19 or 24, and no matter what I do or what instructions I follow, it won't work. Below are snips from my server.xml and applications web.xml - are they okay, or do I need to do

Upgrading tomcat 5 on Windows

2004-06-09 Thread Tim Penhey
Hi All, I have Tomcat 5.0.18 running on one machine with a number of configured webapps. If I install the 5.0.25 over the top will all the configuration files stay or should I back them up? Tim - To unsubscribe, e-mail:

RE: JSP source being shown (not being executed)

2004-06-09 Thread Andy Eastham
Michael, If you put the JSPs under the WEB-INF folder of the web app, Tomcat will be unable to serve them directly. Does that make any difference? Andy -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: 08 June 2004 20:43 To: 'Tomcat Users List' Subject: RE: JSP

[Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
Original Message Subject: tomcat url rewriting protblem Date: Tue, 08 Jun 2004 15:41:10 +0200 From: Christophe Andreoli [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Organization: Institute of Human Genetics To: Tomcat Users List [EMAIL

mod_jk2 config file and log file place

2004-06-09 Thread syn uw
Hello, I have just installed the latest version of mod_jk2 with Apache 1.3.29 on Linux and wanted to know how I can specify to mod_jk2 where he should look for the workers2.properties config file and where he should write the jk2.log log file ? I had a look into the documentation but I cannot

Re: Tomcat and JSF

2004-06-09 Thread Mark Lowe
I've got jsf running on tomcat 5 there's not extra config.. Just add the required jars to your webapp's lib directory and configure your web.xml in the appropriate manner. See the example apps bundled with jsf. jsf rant Just a shame that input type=file seems to be like getting blood out of

RE: [OT] JSP/Servlet Hosting

2004-06-09 Thread Andi Reinbrech
Try www.tektonic.net - I have a VPS there, it's awesome: full root access, 3gb disk space, 50gb transfers, runs java tomcat postgresql squid etc. etc. etc. for $18/mo - they even host your domain name in their dns for free -Original Message- From: Schalk [mailto:[EMAIL PROTECTED]

error starting tomcat

2004-06-09 Thread Werner van Mook
Hi, I have the following error starting tomcat and don't know how to solve it. Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 3461

Re: error starting tomcat

2004-06-09 Thread Ben Souther
You need to be root when you start tomcat in order to bind to port 80 (or any port 1024). The jsvc will then lower it's user status to tomcat_user ( or whatever user you have configured). On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote: Hi, I have the following error starting

Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Michiel Toneman
Hi Tim, Without giving any specific advice: Rule 1 of system administration: Always back up configuration files. Michiel Tim Penhey wrote: Hi All, I have Tomcat 5.0.18 running on one machine with a number of configured webapps. If I install the 5.0.25 over the top will all the configuration files

Re: unable to connect to mysql db on localhost

2004-06-09 Thread David Smith
I think this error message is fairly telling of your problem: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to

Vedr.: Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Thomas Nybro Bolding
Upon uninstalling Tomcat you are prompted whether you want remove any work done. Say no to this and you should be able to install in the same directory keeping your webapps. Not sure about the server.xml, jk2.properties and workers2.properties though (cant remember). Anyway I would like to add

IP Adresses

2004-06-09 Thread Gunnar Pörschke
Does anyone know how to configure tomcat to block only one specific Ip adress. I have one PC with two NICs. Tomcat blocks all available ip adress. How can I set a limitation? to anable additionally connectors in tomcats admin interface doesn`t work, either :-( any help apreciated!?! /Gunnar

RE: Tomcat share web applications

2004-06-09 Thread Shapira, Yoav
Hi, You can redeploy or restart any webapp on tomcat without restarting the server. The concept of dependency does not exist for web applications, as each one is supposed to be seld-contained. Yoav Shapira Millennium Research Informatics -Original Message- From: Erwin de Bruijn

RE: Upgrading tomcat 5 on Windows

2004-06-09 Thread Shapira, Yoav
Hi, Please, never ever install any product on top of another. Install tomcat 5.0.25 to a clean directory, configure it as you need. You can try copying over configuration files if you want, but don't install on top, you risk library mismatch nightmares. Yoav Shapira Millennium Research

RE: How Can I doDefault Context Path

2004-06-09 Thread Shapira, Yoav
Hi, Turn off autoDeploy and liveDeploy, leave just your context declaration. Your context declaration is correct, and that's why tomcat deploys it at path= as you desire. But it also have autoDeploy, so it discovers ABC.war and deploys it to /ABC automatically. Yoav Shapira Millennium Research

Re: IP Adresses

2004-06-09 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/security.html#restrict -Tim Gunnar Pörschke wrote: Does anyone know how to configure tomcat to block only one specific Ip adress. I have one PC with two NICs. Tomcat blocks all available ip adress. How can I set a limitation? to anable additionally

RE: IP Adresses

2004-06-09 Thread Shapira, Yoav
Hi, Check out the Remote Address Filter: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html. Yoav Shapira Millennium Research Informatics -Original Message- From: Gunnar Pörschke [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 8:57 AM To: [EMAIL PROTECTED]

Re: jsp:directive.include behavior

2004-06-09 Thread Robert Koberg
I have the same problem (expanded entities). It works the same in Resin. I posted a question about this a week or so ago. Maybe we should ask on Dev? Is the XML syntax being used? best, -Rob William M. Shubert wrote: Hello, I'm having a little trouble with the way that jsp:directive.include

AW: IP Adresses

2004-06-09 Thread Gunnar Pörschke
:-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress for my (local) tomcat itself Tomcat currently listen to all incoming connections no matter if they come from network interface card 1 or network interface card 2 : Any other

Re: AW: IP Adresses

2004-06-09 Thread David Smith
Use the address attribute of your connector to make the connector listen on only one IP. Connector port=8080 address=192.168.0.10 ...all the rest / --David Gunnar Pörschke wrote: :-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress

Advice needed on deploying on Tomcat 5.0.25

2004-06-09 Thread Edd Dawson
Hi I recently installed Tomcat 5.0.25 on my windows laptop. I did have 4.x installed and i copied over my faithful HelloWorld example from 4.x/webapps directory to my new 5.0.25/webapps directory.. and it doesn't work! I get the following error : HTTP Status 404 - /hello/servlet/HelloWorld

Re: error starting tomcat

2004-06-09 Thread Werner van Mook
It is not complaining about the port number. I've seen the error if your not root. It's not the same. Starting tomcat manual as root gives me the same error. Sorry wrong answer ;-) On Jun 9, 2004, at 2:08 PM, Ben Souther wrote: You need to be root when you start tomcat in order to bind to port 80

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread David Smith
You do realize this is very off topic as it's an Apache httpd issue, not a Tomcat issue. The question would be better asked on an Apache web server list. At anyrate, I think you need to have the proper flags set at the end of the RewriteRule: RewriteEngine On RewriteLog /logs/rewrite.log

RE: Advice needed on deploying on Tomcat 5.0.25

2004-06-09 Thread Shapira, Yoav
Hi, A web.xml was a requirement with 4.x in that otherwise it would just use defaults. 5.x is the same way, so while web.xml is not strictly required by tomcat, it is required by the spec and strongly encouraged. 5.x and later versions of 4.x (after 4.1.18) comment out the invoker servlet by

Re: error starting tomcat

2004-06-09 Thread David Smith
There's probably a reference to it or a reference to a symlink in your server.xml's GlobalNamingResources.../GlobalNamingResources section. Tomcat5 should own this file or be a member of a group that owns it and has read access to it. --David Werner van Mook wrote: It is not complaining about

Re: AW: IP Adresses

2004-06-09 Thread Tim Funk
Then its this FAQ answer: http://jakarta.apache.org/tomcat/faq/connectors.html#bind -Tim Gunnar Pörschke wrote: :-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress for my (local) tomcat itself Tomcat currently listen to all incoming

RE: error starting tomcat

2004-06-09 Thread Benjamin Armintor
Have you tried copying conf/tomcat-users.xml to conf/tomcat-users.xml.new to see if that fixes the problem? The log seems pretty straightforward. If creating the desired file fixes things, then you can just grep for conf/tomcat-users.xml.new to find the configuration issue. Benjamin J. Armintor

AW: AW: IP Adresses

2004-06-09 Thread Gunnar Pörschke
Thanks, this time it helps. But Tomcat still blocking all my ip adresses. I cannot run other web server on the other IP with the port 80 :( Nevertheless I'll find a different solution. How can we contact the developer of tomcat? Maybe it is a bug and will be fixed in version 6 or 7 ;-) Many

Re: error starting tomcat

2004-06-09 Thread Werner van Mook
Nope does not work. Somehow it seems to delete the newly created file. I've also tried to make the normal tomcat-user.xml file tomcat5 accessable. It changes it back to root : root Don't when, dont' know why On Jun 9, 2004, at 3:41 PM, Benjamin Armintor wrote: Have you tried copying

RE: AW: IP Adresses

2004-06-09 Thread Shapira, Yoav
Hi, Tim and I are two of tomcat's developers, and the others watch this list as well. So you've already contacted them. I don't think it's a bug, but if it is then it will be fixed in future versions, sure. Tomcat 6 and 7 are a long way away ;) Tomcat 5.0.27 is next, and within the next

jk_nt_service.exe

2004-06-09 Thread Ben Souther
Is jk_nt_service still available? Does it work with tomcat 5x? The installer that ships with Tomcat doesn't allow for multiple instances of tomcat as windows services and the service.bat script seems not to be working. Has anyone else been able to install multiple instances of tomcat on a

RE: jk_nt_service.exe

2004-06-09 Thread Carl Olivier
Hey. I think you should check: http://www.alexandriasc.com/software/JavaService/index.html Regards, Carl -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 09 June 2004 04:27 PM To: Tomcat Users List Subject: jk_nt_service.exe Is jk_nt_service still available?

Re: error starting tomcat

2004-06-09 Thread David Smith
Check your system log files. I'll bet Fedora's doing this via some sort of security cron job. --David Werner van Mook wrote: Nope does not work. Somehow it seems to delete the newly created file. I've also tried to make the normal tomcat-user.xml file tomcat5 accessable. It changes it back to

RE: AW: IP Adresses

2004-06-09 Thread Andy Eastham
Gunnar, You are contacting the developers of Tomcat. I'm not one myself, but I bet some of the people who have put in vast amounts of their own time voluntarily to develop Tomcat would be quite offended by your comment. I also wouldn't be surprised if the reason that you can't run another web

RE: AW: IP Adresses

2004-06-09 Thread Ralph Einfeldt
Is the other web server also tomcat or something else ? -Original Message- From: Gunnar Pörschke [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 4:09 PM To: 'Tomcat Users List' Subject: AW: AW: IP Adresses Thanks, this time it helps. But Tomcat still blocking all my

Re: Second try: Embedded Tomcat 5.0: servlet mappings added to context after start do not work. Looking for suggestions...

2004-06-09 Thread Jeanfrancois Arcand
[EMAIL PROTECTED] wrote: I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the

Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
I recently had a problem with a Windoze server hanging up due to memory problems. I've got Tomcat 4.1.29 installed to run as a service under JDK 1.4.1_05 on this Windows 2000 server. The Tomcat memory settings on startup are -Xms64m and -Xmx1024m. The server has 512MB of physical RAM installed.

Re: Tomcat and JSF

2004-06-09 Thread snpe
I know this , but my question is : Will tomcat have own JSF implementation like JSP implementation regards On Wednesday 09 June 2004 02:01 am, James Black wrote: You have to add some jar files to your webapp, but JSF will work on Tomcat 5, I haven't tried it on Tomcat 4 in 8 mths. Work like

Re: Tomcat and JSF

2004-06-09 Thread Jeanfrancois Arcand
snpe wrote: Is there plan that tomcat support JSF specification ? JSF has been tested on both 4.1.x and 5.x. Just bundle the JSF lib with your war files. -- Jeanfrancois regards Haris Peco - To unsubscribe, e-mail: [EMAIL

RE: Memory Settings On Tomcat

2004-06-09 Thread Shapira, Yoav
Hi, I've got Tomcat 4.1.29 installed to run as a service under JDK 1.4.1_05 on this Windows 2000 server. The Tomcat memory settings on startup are -Xms64m and -Xmx1024m. The server has 512MB of physical RAM It's not a good idea to set -Xmx to a higher amount than the amount of physical RAM: the

RE: Tomcat and JSF

2004-06-09 Thread Shapira, Yoav
Hi, Will tomcat have own JSF implementation like JSP implementation No more than we have a JMS, JCA, or JavaMail implementation ;) Tomcat implements that Servlet and JSP specs, that's it's purpose ;) There might be an Apache/Jakarta JSF implementation, I don't know, but it won't be part of

Re: unable to connect to mysql db on localhost (mysql not listening!)

2004-06-09 Thread ilasno
ok, so first i checked out running processes, and myql was there: 229 mysql /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file ... 234 mysql /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file ... 235 mysql /usr/sbin/mysqld

Re: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
if you can upgrade to tomcat5, I would recommend it. the reason I suggest this is TC5 has the new status servlet, which will tell you how much heap is actually in use currently. the JVM will not release memory back to the OS that is true. in terms of performance the biggest indicator of

how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Jerry Miernik
The question is related to undeploying a webapplication from a Java code. A connection to tomcat manager using URL tomcatMgr = new URL(http://localhost:8080/manager/undeploy?path=/any;); URLConnection tmc = tomcatMgr.openConnection(); results in:

RE: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Hi Yoav, Just the person I was hoping to hear from! Thanks for responding. It's not a good idea to set -Xmx to a higher amount than the amount of physical RAM: the JVM will thrash once it reaches much less than 512MB. Oh, my, so -Xmx512m is the best I can do. Your understanding is good

RE: unable to connect to mysql db on localhost (mysql not listening!) [OT]

2004-06-09 Thread Ralph Einfeldt
Although it's quite off topic: In /etc/mysql/my.cnf comment out this line: skip-networking restart mysql -Original Message- From: ilasno [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 5:13 PM To: Tomcat Users List Subject: Re: unable to connect to mysql db on localhost

Re: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Thank you, Peter Lin. I wasn't aware of the new status servlet. I'll look into an upgrade. One question: any problems reported with installing Tomcat 5.0.x as a service on Windoze servers? I believe they switched from Alexandria's JavaService to the new Jakarta Daemon for TC 5.0.x. Is that

Re: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
One other factor in upgrading to Tomcat 5.0.x: I'm using JSTL for my app, so that will mean a JSTL 1.1 JAR upgrade, too. I haven't tested anything with it yet. % --- Peter Lin [EMAIL PROTECTED] wrote: if you can upgrade to tomcat5, I would recommend it. the reason I suggest this is TC5

RE: JSP source being shown (not being executed)

2004-06-09 Thread Norris Shelton
This may be the problem with was talked about a while back. Here are the contents of one of the e-mails: From: Asaf Barkan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: security hole on windows/ Tomcat with JRE 1.4.2 (b28) Date: Sun, 24 Aug 2003 18:04:23 +0300

Fwd: Tomcat and IIS 6 - multiple hosted sites

2004-06-09 Thread Jason L. West, Sr.
Does anyone have any kind of insight on this? Thanks for you help in advance. Jason L. West, Sr. Original Message Subject: Tomcat and IIS 6 - multiple hosted sites Date: 06/09/2004, 03:10 From: Jason L. West, Sr. [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
moreover [R] is not the reason, as [R] is not necessary for the redirecting. It just show in the browser that the url has been redirected christophe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
Hi David, thank you for the answer.I know it's a apche topic. I just thought that tomcat disturs the url rewrite ruling christophe You do realize this is very off topic as it's an Apache httpd issue, not a Tomcat issue. The question would be better asked on an Apache web server list.

tomcat hangs

2004-06-09 Thread Matt Tucker
Hello, I know I've seen this issue discussed in a lot of places but I've yet to see a definitive solution. Here's our problem: we are running three instances of tomcat on our server. Two of them are running live webapps for two clients and one is for development. One app has been running for

Re: unable to connect to mysql db on localhost (mysql not listening!) [OT]

2004-06-09 Thread ilasno
you're absolutely right. thank you for setting a user list newby straight. but just for any other poor soul that might stumble upon this, that was exactly what solved my problem... thanks! [EMAIL PROTECTED] wrote: Although it's quite off topic: In /etc/mysql/my.cnf comment out this line:

RE: tomcat hangs

2004-06-09 Thread Ryan Lissack
Hi Matt, See this message for the probable solution: http://marc.theaimsgroup.com/?l=tomcat-userm=108670043100516w=2 Also see the following messages for further explanations: http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=tomcat+jitters%2C+then +hangs+-+please+helpq=b HTH, Ryan.

Re: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
I have it running XP Pro and Win2K3 server without any problems, but that's no gaurantee. I'm only using it for stress testing purposes with simple apps, so it's not like I have a a full blown JSTL or Struts app running on it. I think others on the list can provide better information about

SSL - Page Cannot be displayed

2004-06-09 Thread Lee, Roger (NE)
Greetings all, Background: Server is W2K Adv SP2 with IIS 5.0. JDK 1.3, JSSE extensions are installed. I am having some issues setting up Tomcat to use SSL. I have successfully installed a certificate in the keystore and configured the server.xml file. HTTPS is to listen on port 8443 and

SSL - Page Cannot be displayed (Maybe 2nd post...apologies if it is)

2004-06-09 Thread Lee, Roger (NE)
Greetings all, Background: Server is W2K Adv SP2 with IIS 5.0. JDK 1.3, JSSE extensions are installed. I am having some issues setting up Tomcat to use SSL. I have successfully installed a certificate in the keystore and configured the server.xml file. HTTPS is to listen on port 8443 and

Getting Host information from within webapp

2004-06-09 Thread Kevin McAllister
Hello, I am using tomcat 4.1.29, and would like to obtain the host name attribute from within my servlet code for the associated context in which I am running. I think I would be able to retrieve this information utilizing the JMX stuff, however, it is not clear to me how I would be able to

4.0.29: does JNDIRealm (LDAP) perform authorization right after authentication??

2004-06-09 Thread Sauer, Christian {PGSQ~Basel}
Hello, I have LDAP users that are members of one or more groups and I also have users that aren't members in any group at all. Only users that have successfully authenticated themselves may use my web application. Some other users (e.g. those being member of the admin group) may use additional

NoClassDefFoundError

2004-06-09 Thread [EMAIL PROTECTED]
Hi all! I'm new to Tomcat. I have a problem testing my web application (jsp pages) A page of this application fails with this exception: javax.servlet.ServletException: org/apache/axis/client/Service org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)

RE: NoClassDefFoundError

2004-06-09 Thread Jerry Miernik
Try to move that file to $CATALINA_HOME/common/lib -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:50 AM To: tomcat-user Subject: NoClassDefFoundError Hi all! I'm new to Tomcat. I have a problem testing my web application (jsp

Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
Any info on the following would be appreciated, cannot see the exception being generated. I have the logging level set to debug. I am using a filter to wrap the session, but I the valve should never see this so I would not expect a ClassCastException. Is there any way to tell the logging in

Servlet ... threw load() exception - ActionServlet.parseModuleConfigFile

2004-06-09 Thread Jason Palmatier
I have a webapp that runs in Tomcat 4.1.18 fine, but when I load them into Tomcat 5.0.25 I get an HTTP Status 503 - Servlet action is currently unavailable error. I get the following error on Tomcat startup in my Tomcat log: 2004-06-08 13:57:08

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip - Original Message - From: Matt Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09,

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
That is what I am wondering about ... I have the level set to debug, but no stack trace is being logged ... I could probably determine the issue if I could see the stack trace. Here is the log with the messages just prior, and the messages just after. There are no more messages from Processor23

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
duh, didn't read your message all the way through. look in the other log files, it should get logged somewhere. Filip - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 12:12 PM

Tomcat Tuning and Troubleshooting

2004-06-09 Thread Michael Duffy
Google found me a fine looking paper on Tomcat tuning and troubleshooting: http://kinetic.more.net/web/javaserver/resources/wpapers/printer/performance.pdf I just started reading it for myself. Anyone familiar with its contents who would like to comment is most welcome. Thanks - %

Re: NoClassDefFoundError

2004-06-09 Thread Jacob Kjome
Is your webapp in ROOT? That's usually the default application for Tomcat and your own app would be in a named context. Assuming you are doing the latter, and your named context is mycontext, you'd put it in: $CATALINA_HOME/webapps/mycontext/WEB-INF/lib Jake Quoting [EMAIL PROTECTED] [EMAIL

RE: Memory Settings On Tomcat

2004-06-09 Thread David Muller
Peter, Do you have more specifics on this? ...TC5 has the new status servlet, which will tell you how much heap is actually in use currently. I've been using the /manager and jmxpoxy app URL's but I can't find anything which has heap info in it. What am I missing? /manager/list

RE: Memory Settings On Tomcat

2004-06-09 Thread Shapira, Yoav
Hi, Go to http://localhost:8080/manager/status and take a look. Yoav Shapira Millennium Research Informatics -Original Message- From: David Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 2:27 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: Memory Settings

Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Michael Duffy
That nice performance tuning presentation by Glenn Nielsen has some nice tips that I was unaware of, but there's one that's confusing me. In web.xml, he talks about the servlet init-param fork. This tells Tomcat to compile JSPs in a separate process if set to true. It prevents memory leaks

RE: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Shapira, Yoav
Hi, Note that these fork and development settings are explicitly covered in the tomcat docs with regards to development versus production configurations. For tomcat 4.1, see http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. Yoav Shapira Millennium Research Informatics

RE: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Michael Duffy
Hi Yoav, Yup, I'm a doofus. ;) I realized after I'd sent this note out that I should look on the Tomcat site for help. I'm making those changes to my web.xml now. Sorry to waste your time, and thanks. - % --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Note that these fork and

RE: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Shapira, Yoav
Hi, No problem, it's not a waste of time, if you missed it 1000 others did as well. Yoav Shapira Millennium Research Informatics -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 2:48 PM To: Tomcat Users List Subject: RE: Performance Tuning

RE: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Hi Yoav, Yes to 1, and likely yes to 2. Check out the different garbage collector implementations, and the directives for setting old and young generation sizes. Your case is a classic one for setting a small old generation size relative to the young generation size: maybe even a 10-1

RE: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
You might want to look at the VM performance numbers in my Performance article. The link is listed on the tomcat resources page. Generally, tweaking the generations takes time. for something, like XML, tweaking generation ratio doesn't help. peter Michael Duffy [EMAIL PROTECTED] wrote:

More JVM Setting Info

2004-06-09 Thread Michael Duffy
Found this: http://java.sun.com/docs/hotspot/gc1.4.2/#4.1.When%20to%20Use%20the%20Throughput%20Collector|outline Maybe if I'd read and think more and post to forums less I'd get somewhere. ;) % __ Do you Yahoo!? Friends. Fun.

RE: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Hi Peter, Hiding in plain sight: http://jakarta.apache.org/tomcat/articles/performance.pdf I apologize for overlooking it for all this time. I'll be sure to go through it right away. Thanks - % --- Peter Lin [EMAIL PROTECTED] wrote: You might want to look at the VM performance numbers

Connecting Apache and Tomcat on AIX 5.1

2004-06-09 Thread David Goldschmidt
Hello. Has anyone successfully connected Apache 2.0.49 and Tomcat 4.1.30 via mod_jk2.so under AIX 5.1? I've been unable to compile mod_jk2.so, though I've got Apache and Tomcat running in standalone modes. And I see no binaries anywhere on the Web. Any help (or URLs with AIX binaries) would

Re: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Kunthar
Hi all, I am new in community. I'd like to say that it is really good idea to have a book before fight with daily troubles. It has two advantages; 1. You can help by doing this to all developers and volunteers, 2. You have refined ideas to organize logic and understand what exactly happens inside

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
Filip, I am using a custom appender for the servlet context, and was not passing the Throwable on down. Once I did this, I am getting a java.io.NotSerializableException... I'll look into what's being added to the session, that is not Serializable. Thanks, m. -Original Message- From:

struts or parser change from Tomcat 4.x to 5.x?

2004-06-09 Thread Jason Palmatier
I have an application that runs fine in Tomcat 4.1.18 but gives me a Status 503 - Servlet action is currently unavailable error when I try to run it with Tomcat 5.0.25. The full error from the Tomcat log is below. I checked the struts-user list and tomcat-user list archives and searched on

2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Jerry Miernik
The question is related to undeploying a webapplication from a Java code. A connection to tomcat manager using URL tomcatMgr = new URL(http://localhost:8080/manager/undeploy?path=/any;); URLConnection tmc = tomcatMgr.openConnection(); results in:

tomcat administration

2004-06-09 Thread Schoudel, Brian
I have what is probably a dumb question but I'm not seeing the solution. On one server it appears the tomcat administration link seems to be open to the world and does not require the admin login. Once in the logoff button doesn't seem to do anything. A different server of the same install

Alternative to Tomcat's JNDI Implementation

2004-06-09 Thread Sudip Shrestha
First read this trail: http://www.mail-archive.com/[EMAIL PROTECTED]/msg127064.html Current Tomcat JNDI implementation for LDAP authentication with SSL on port 636 does not work...Set the appropriate debug level in the Realm Definition and check your tomcat log to view the exceptions. Here is

Spawn New Thread

2004-06-09 Thread Corey Baswell
Hello, I'm trying to figure out what the proper way for spawning a new thread in Tomcat is. I can create a new thread when my servlet is first loaded, but it does not get closed down when tomcat does. Is there anyway to register a new thread with Tomcat so that it will get closed when Tomcat

RE: Spawn New Thread

2004-06-09 Thread Frank Zammetti
You need to make your thread a daemon thread by calling: myThread.setDaemon(true); That will take care of the shutdown problem. Frank From: Corey Baswell [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Spawn New Thread Date: Wed, 09 Jun 2004 16:18:24

  1   2   >