How to monitor Tomcat Server.

2007-05-24 Thread Praveen Kumar
Hi All, I'm using Tomcat server for my Project. Here, I need to send mails to some mail aliases regarding tomcat server status i.e once it is shutdown , i need to send mail saying that tomcat server is down etc like that. I hope that Apache tomcat group itself have some

Malinda Ward is out of the office.

2007-05-24 Thread Malinda Ward
I will be out of the office starting 05/24/2007 and will not return until 05/29/2007. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Coverting Program to Servlet

2007-05-24 Thread reno
Hi, i'm sorry but i'm not sure that we will do your homework... check this: http://www.unix.org.ua/orelly/java-ent/servlet/index.htm and http://java.sun.com/products/servlet/articles/tutorial/ to understand how servlets work. good luck S. Dear All, The following program uses socket.

Malinda Ward is out of the office.

2007-05-24 Thread Malinda Ward
I will be out of the office starting 05/24/2007 and will not return until 05/29/2007. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: How to monitor Tomcat Server.

2007-05-24 Thread Raghupathy, Gurumoorthy
http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html this works great :) -Original Message- From: Praveen Kumar [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 07:14 To: users@tomcat.apache.org Subject: How to monitor Tomcat Server. Hi All, I'm using Tomcat server

Re: Problem with filters and error-pages

2007-05-24 Thread Patrick Gill
In case anyone has the same problem, I solved this by adding an ERROR dispatcher: filter-mapping filter-nameSkinFilter/filter-name url-pattern/booking/*/url-pattern dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher Cheers, Patrick Gill Original

Problem with web hosting for project implemented using springs frame work

2007-05-24 Thread Thirumalai, Vijayakumar [Dexterity]
Hi, We are facing problem with web hosting. It is not identifying springs mapping conversion While hosting we need any separate configuration file for spring framework? What folder structure we have to follow commonly? Thanks Regards, Vijayakumar.T Programmer , Dexterity Business

Re: How to monitor Tomcat Server.

2007-05-24 Thread Praveen Kumar
Hi Raghu, Right now i am using this logic only. it is working fine. Is there any another way to monitor tomcat server ? I mean , Is tomcat server group provides any feature to fulfil this requirement ? Any help ? Thanks Praveen On 5/24/07, Raghupathy, Gurumoorthy [EMAIL

Re: Single-sign on without form-based authentication

2007-05-24 Thread Gregor Schneider
You could call the authenticate()-method from Tomcat's FormAuthenticator:

RE: How to monitor Tomcat Server.

2007-05-24 Thread Neil Meyer
Hi, I have found from one of these group the following monitor tool. www.appmanager.com You will find a tool there that you can install that checks Tomcat, OS, DB etc. Kr Neil Meyer -Original Message- From: Praveen Kumar [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 11:18 AM To: Tomcat

Re: How to monitor Tomcat Server.

2007-05-24 Thread ben short
How about Nagios [1]. It can check allsort of things. And you can set it up to send email/sms notifications. [1] http://nagios.org/ On 5/24/07, Neil Meyer [EMAIL PROTECTED] wrote: Hi, I have found from one of these group the following monitor tool. www.appmanager.com You will find a tool

KeepAlive slow

2007-05-24 Thread David Rodríguez Fernández
Hi list. I have a tomcat 5.0.19 server (java 1.4.2_08) who slow the connection when i use the keepAlive method. This is normal? ## KeepAlive test (no keepAlive below): $ /usr/sbin/ab2 -n 2100 -c 21 -k http://192.168.252.150:8080/App/AppServlet?c=480f=cl=2758309187601480 014u=0 This is

Re: How to monitor Tomcat Server.

2007-05-24 Thread Praveen Kumar
Hi Neil, Thanks for response. It seems this is also one type of tool. Here again we have some problem ie we should monitor this tool too right ? So instead installing new tool to monitor tomcat server , is there any feature that apache group provides to inform tomcat server

Re: How to monitor Tomcat Server.

2007-05-24 Thread Pid
Praveen Kumar wrote: Hi Raghu, Right now i am using this logic only. it is working fine. Is there any another way to monitor tomcat server ? I mean , Is tomcat server group provides any feature to fulfil this requirement ? Any help ? Thanks Praveen If you're asking whether

DBCP

2007-05-24 Thread Mohammed Zabin
*Hi All* ** *I want to use DBCP to connect my localhost Oracle Database, I have write the following in servlet.xml file:* Resource name=jdbc/myoracledb auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/myoracledb parameter namefactory/name

Re: How to monitor Tomcat Server.

2007-05-24 Thread ben short
I would think that they have apache httpd running in font of tomcat and the page is displayed by that. On 5/24/07, Praveen Kumar [EMAIL PROTECTED] wrote: Thanks for your ans. They should provide some option saying send mail to x before shutdown. That will be more helpful. And one

TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
I'm busy having a good look at Tomcats code... When I find something, I will report it like this... the powers that be, can list it as a bug, an issue, a nice to have... whatever. There is no need to report back... I'm not waiting for the changes... I'm making a modified Tomcat prototype called

Re: DBCP

2007-05-24 Thread Mohammed Zabin
I am using tomcat 6, and another thing, i have changed my configuration parameters to the following: Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource driverClassName=oracle.jdbc.OracleDriver url=jdbc:oracle:thin:@127.0.0.1:1521:mysid

error in catalina.out log

2007-05-24 Thread Jean-Pierre Astier
Hi all, I've got this message in my catalina.out log. I dont know how to resolve the problem. Any idea ?? Thanks Jean-Pierre Astier 23 mai 2007 12:51:39 org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already.

RE: DBCP

2007-05-24 Thread David Rodríguez Fernández
I'm using tomcat 5.5, and for this kind of things i'm creating a xml file in the {TOMCATHOME}/conf/Catalina/localhost/AppName.xml With a content like this: # cat /etc/tomcat-5.5/Catalina/localhost/AppName.xml Context path=/AppName docBase=AppName debug=5 reloadable=true crossContext=true

Re: DBCP

2007-05-24 Thread Mohammed Zabin
You know what? I am confusing with this. Shall i put the following code in web.xml in my web application or web.xml on config folder, shall i use server.xml or context.xml On 5/24/07, David Rodríguez Fernández [EMAIL PROTECTED] wrote: I'm using tomcat 5.5, and for this kind of things i'm

Re: error in catalina.out log

2007-05-24 Thread David Delbecq
This mean that, while concerned webapplication has already stopped, some clases inside are still trying to do some job. Ensure all your MySql connections are closed when webapplication stops. En l'instant précis du 24/05/07 12:26, Jean-Pierre Astier s'exprimait en ces termes: Hi all, I've got

Re: error in catalina.out log

2007-05-24 Thread Jean-Pierre Astier
Thanks David !!! Le 24 mai 07 à 13:18, David Delbecq a écrit : This mean that, while concerned webapplication has already stopped, some clases inside are still trying to do some job. Ensure all your MySql connections are closed when webapplication stops. En l'instant précis du 24/05/07

Problem with web hosting for project implemented using springs frame work

2007-05-24 Thread Thirumalai, Vijayakumar [Dexterity]
HI All, We are facing problem with web hosting If we place these two (xml-apis.jar, XercesImpl.jar) jar files in tomcat folder (X:\my_app\Portal\tomcat\common\endorsed), it will give the problem what we are facing now in the web site. If we remove these two jar files system may work fine.

Re: KeepAlive slow

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Rodríguez Fernández wrote: Hi list. I have a tomcat 5.0.19 server (java 1.4.2_08) who slow the connection when i use the keepAlive method. This is normal? Which numbers do you think are slower in your KeepAlive test? They all

RE: Server.xml Sort on Start

2007-05-24 Thread Caldarale, Charles R
From: Mark H. Wood,UL 0115A,+1 317 274 0749, [mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood Subject: Re: Server.xml Sort on Start I don't *know*, mind you, but random ordering suggests that the container starts a thread for each 'host' and the checks are taking place in those

Re: DBCP

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, Mohammed Zabin wrote: You know what? I am confusing with this. Shall i put the following code in web.xml in my web application or web.xml on config folder, shall i use server.xml or context.xml Use META-INF/context.xml in your WAR file

Re: How to monitor Tomcat Server.

2007-05-24 Thread Mark H. Wood
On Thu, May 24, 2007 at 03:03:12PM +0530, Praveen Kumar wrote: It seems this is also one type of tool. Here again we have some problem ie we should monitor this tool too right ? So instead installing new tool to monitor tomcat server , is there any feature that apache group

Need Help Restoring a Seesion after session time-out

2007-05-24 Thread Jitendra Ch
Hi to allCan One of you help me how to make a session alive, because my session is getting expired after the time mentioned in the web.xmlWith regardsJitendra Ch _ The idiot box is no longer passe!

RE: Problem with web hosting for project implemented using springs frame work

2007-05-24 Thread Caldarale, Charles R
From: Thirumalai, Vijayakumar [Dexterity] [mailto:[EMAIL PROTECTED] Subject: Problem with web hosting for project implemented using springs frame work If we place these two (xml-apis.jar, XercesImpl.jar) jar files in tomcat folder (X:\my_app\Portal\tomcat\common\endorsed), it will

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: TOMCAT ISSUE: System.Exit TOMCAT ISSUE: System.exit(1)... In an embedded application, these System.exit(1) kill the entire application. Wouldn't you normally control that by proper settings in your java.policy file for the application

Re: Server.xml Sort on Start

2007-05-24 Thread Mark H. Wood
I don't *know*, mind you, but random ordering suggests that the container starts a thread for each 'host' and the checks are taking place in those threads. Thread switching is influenced by lots of things and would be fairly unpredictable, so a bunch of threads setting up host objects could

Re: How to monitor Tomcat Server.

2007-05-24 Thread ben short
I'd still recommend Nagios to do the monitoring, far cheaper than hiring someone to do the checking 24*7. Also you'll get an instant notification of when things go bad, rather then in 2 hours time when someone checks it. You could setup 2 instances of nagios.. get them to monitor each other and

How can I make the classes of one app be in the classpath of another app?

2007-05-24 Thread Enrique Lamas
Hello, I've allways used resin server and now I'm starting with Tomcat. I've one doubt and I've found no answer to it after much time searching. ¿Can you help me? I've two apps, for example: webapps/app1 webapps/app2 Well, what I need is from app2 create instances of classes defined at app1,

Re: How to monitor Tomcat Server.

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I use httping and cron every hour from another machine. The only problem is when there is a network problem, and that's worth knowing about, too. - -chris ben short wrote: I'd still recommend Nagios to do the monitoring, far cheaper than

Re: How to monitor Tomcat Server.

2007-05-24 Thread Praveen Kumar
pls could send the file and cron job details , it would be more useful to me . Thanks Praveen. On 5/24/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I use httping and cron every hour from another machine. The only problem is when there

Re: How to monitor Tomcat Server.

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Praveen, Praveen Kumar wrote: pls could send the file and cron job details , it would be more useful to me . Uh... google httping, man cron. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla

Re: Single-sign on without form-based authentication

2007-05-24 Thread lightbulb432
Thanks for pointing me to that class. How can I specify my overriden version in a configuration file or programmatically so that it can be used? Also, I was looking into how to solve the problem from my original post, and came across the concept multiple times of providing my own Realm

RE: Reloadable attribute not working

2007-05-24 Thread lightbulb432
I tried looking through the startup.bat file for standalone Tomcat and still cannot seem to figure out what the difference is between what that file is doing to startup Tomcat properly, and what I'm doing wrong with embedded Tomcat from my class below. (It's calling the same startup classes that

RE: error in catalina.out log

2007-05-24 Thread Propes, Barry L
maybe put the jar file in the wrong directory? Looks like that's what could have happened. -Original Message- From: Jean-Pierre Astier [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 5:27 AM To: Tomcat Users List Subject: error in catalina.out log Hi all, I've got this message

Configuring a DataSourceRealm

2007-05-24 Thread Paulo Vivacqua
Hello there, I am having difficulty implementing a Datasource realm for my application. I followed some tutorials but could not make it to work.I already posted this issue on other forums but I got no answer. The application Instead of pulling out data from the MySQL database it´s getting the

Re: IIS 7.0

2007-05-24 Thread Stefan Wachter
Finally I found the reason why my Tomcat-IIS-Integration failed under Windows Vista: It was a security problem. The workers.properties and the uriworkermaps.properties had wrong security settings. They could not be read by all users. After changing the security settings the integration

Re: Configuring a DataSourceRealm

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, Paulo Vivacqua wrote: I am having difficulty implementing a Datasource realm for my application. I followed some tutorials but could not make it to work.I already posted this issue on other forums but I got no answer. The application

Re: Need Help Restoring a Seesion after session time-out

2007-05-24 Thread domenico di leo
I suppose you use a servlet to set the session, you can use session.setMaxInactiveInterval(time) where the variable time points out how many second you want to keep alive your session. e.g. time=60*60 =1h. However you should set a reasonable time interval, you can't keep alive your session for

NPE when setting executor on AJP Connector

2007-05-24 Thread Mirko Nasato
Hi, I've just installed Tomcat 6.0.13 and noticed in conf/server.xml that there is a new Executor element - commented out by default - saying The connectors can use a shared executor, you can define one or more named thread pools. So tried and enabled it, using the same executor for both

Re: Single-sign on without form-based authentication

2007-05-24 Thread Gregor Schneider
in $CATALINA_HOME/server/lib/catalina.jar there's a file catalina.properties. There your will find the following entries: BASIC=org.apache.catalina.authenticator.BasicAuthenticator CLIENT-CERT=org.apache.catalina.authenticator.SSLAuthenticator

Re: Configuring a DataSourceRealm

2007-05-24 Thread Paulo Vivacqua
Hello Chris, Thanks very much for your answer. Yes I am currently using MemoryRealm and I want to use DataSourceRealm instead. I am using tomcat 5.0 I copied the Mysql Driver's jar into $CATALINA_HOME/common/lib. I already created the database with the required tables user, user-roles and

Re: NPE when setting executor on AJP Connector

2007-05-24 Thread Rémy Maucherat
On 5/24/07, Mirko Nasato [EMAIL PROTECTED] wrote: Should I file a bug report? I was disappointed when I saw the performance results of the current executors. At the moment, you should not be using them. Rémy - To start a new

Re: NPE when setting executor on AJP Connector

2007-05-24 Thread Mirko Nasato
Rémy Maucherat wrote: I was disappointed when I saw the performance results of the current executors. At the moment, you should not be using them. Alright. I would suggest putting an EXPERIMENTAL! or similar warning in the docs and conf files in that case. Kind regards Mirko

Re: NPE when setting executor on AJP Connector

2007-05-24 Thread Rémy Maucherat
On 5/24/07, Mirko Nasato [EMAIL PROTECTED] wrote: Rémy Maucherat wrote: I was disappointed when I saw the performance results of the current executors. At the moment, you should not be using them. Alright. I would suggest putting an EXPERIMENTAL! or similar warning in the docs and conf files

Re: Single-sign on without form-based authentication

2007-05-24 Thread lightbulb432
I'll try to avoid the hack method if possible. Let me clarify the two requirements that my authentication process must meet. It must use an existing stored procedure that will return a login success/fail response, and it needs additional credentials (username, password, and at least one other

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
Sorry dont understand, please explain a little more. I cant see what the security manager has to do with it. Imagine I make a library for you... and your user application does something wrong... and then my library calls System.Exit and shuts down the JVM... how you going to fix that with a

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Peter Crowther
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Imagine I make a library for you... and your user application does something wrong... and then my library calls System.Exit and shuts down the JVM... how you going to fix that with a security manager?? The security manager can prevent the

change the email address for Tomcat Users List

2007-05-24 Thread Abdelmonaam Kallali
Did anybody figure out how to change the email address for Tomcat Users List? Abdelmonaam KALLALI Test Specialist DragonWave 411 Legget Dr mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] tel: mobile:

why is apache serving source for .jsp files?

2007-05-24 Thread Jessica Johnson
Hi all, I have been following this excellent tutorial http://apacheguide.org/ to setup Apache 2.2.4 with Tomcat 5.5.23 and mod_jk. It's mostly working, except that http://mydomain.com/jsp-examples/num/numguess.jsp is showing the .jsp source. If I log into my web server and go to

Problem with mod_jk-apache-2.2.4.so

2007-05-24 Thread Fabbris Pierluigi
I've problem to use Apache 2.2.4 and Tomcat 6 together. I install Apache 2.2.4 and Tomcat 6. I put mod_jk-apache-2.2.4.so in the directory modules in Apache and configure in http.conf di apache in this way: LoadModule jk_module modules/mod_jk-apache-2.2.4.so Until this no problem Apache starts.

Running Embedded Tomcat from Java Web Start

2007-05-24 Thread Andrew Rapp
Hi All, I'm trying to launch Embedded Tomcat from Java Web Start (JNLP), but without any luck so far. I've searched high and low and found several folks who have tried this approach but no one has seemed to succeed. Just to clarify, I'm not trying to run Java Web Start from Embedded Tomcat,

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
Ha ha... I think this is a kludge, but ok, I have read... so help me... I want to stop Tomcat calling System.Exit(1)... what do I need to do to the catalina.policy file to do this? I imagine that instead of the embedded app shutting down the user will now get a security exception, which to me

RE: why is apache serving source for .jsp files?

2007-05-24 Thread Tim Lucia
What happens if you make the request of localhost? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jessica Johnson Sent: Thursday, May 24, 2007 12:31 PM To: users@tomcat.apache.org Subject: why is apache serving source for .jsp files? Hi all,

Re: Problem with mod_jk-apache-2.2.4.so

2007-05-24 Thread Mladen Turk
Fabbris Pierluigi wrote: I've problem to use Apache 2.2.4 and Tomcat 6 together. You really need that, right ;) Listener className=org.apache.ajp.tomcat6.config.ApacheConfig Use: Listener className=org.apache.jk.config.ApacheConfig Just out of curiosity, how did you came up with

Re: why is apache serving source for .jsp files?

2007-05-24 Thread Jessica Johnson
Should have mentioned that. http://localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp and the other examples also show the jsp source. The only way it works is using port 8080 on localhost. jessica On 5/24/07, Tim Lucia [EMAIL PROTECTED] wrote: What happens if you make the request of

Re: Single-sign on without form-based authentication

2007-05-24 Thread Pid
Gregor Schneider wrote: Well, subclassing FormAuthenticator would be a hack, a Tomcat-only-solution and inho a bad one. therefore, take a look at JAASRealm and try to combine it with your existing login-procedure, meaning - Implement a JAASRealm - get the credentials from there (user,

Re: Single-sign on without form-based authentication

2007-05-24 Thread Gregor Schneider
at least you've saved *half* of the time ;) cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new

Re: Running Embedded Tomcat from Java Web Start

2007-05-24 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 24, 2007 7:21 PM Subject: Re: Running Embedded Tomcat from Java Web Start Hi Andrew, The problem is not Tomcat, its WebStart, I hate that thing... know I'm

Re: Problem with mod_jk-apache-2.2.4.so

2007-05-24 Thread Fabbris Pierluigi
Mladen Turk ha scritto: Fabbris Pierluigi wrote: I've problem to use Apache 2.2.4 and Tomcat 6 together. You really need that, right ;) Listener className=org.apache.ajp.tomcat6.config.ApacheConfig Use: Listener className=org.apache.jk.config.ApacheConfig Just out of curiosity, how did

Re: Reloadable attribute not working

2007-05-24 Thread Pid
lightbulb432 wrote: I tried looking through the startup.bat file for standalone Tomcat and still cannot seem to figure out what the difference is between what that file is doing to startup Tomcat properly, and what I'm doing wrong with embedded Tomcat from my class below. (It's calling the same

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Pid
Johnny Kewl wrote: Ha ha... I think this is a kludge, Using a SecurityManager is a kludge? but ok, I have read... so help me... I want to stop Tomcat calling System.Exit(1)... what do I need to do to the catalina.policy file to do this? I imagine that instead of the embedded app shutting

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
I know how to do it using ANT. Would you like it? -Mensagem original- De: Rogerio Baldini das Neves [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de maio de 2007 15:30 Para: users@tomcat.apache.org Assunto: pre-compile Hi Guys, I'd like to pre-compile my jsps for Tomcat 6

RES: pre-compile

2007-05-24 Thread Rogerio Baldini das Neves
I need to do it in maven. But send me your solution, if I don't be able to solve my problem with maven, I will use yours. Thank you. -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de maio de 2007 15:34 Para: Tomcat Users List Assunto:

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
Ok... beginning to think I'm the only one reading here... yes it is a kludge, and I doubt very much whether changing anything in catalina.policy will do anything in this case... because the security manager is probably incorporated in the web-app class loader... and yes this and the

How to configure cache-control in Tomcat

2007-05-24 Thread Alexander Wolff
I would like to set in a Web-app that all static resources (images, css, js..) are cached in browser by 10 minutes (including in the HTTP Header response something like this: Cache-Control: max-age=600) some idea how to configure cache-control in Tomcat? thanks in advance, Alexander

Re: Configuring a DataSourceRealm

2007-05-24 Thread David Smith
Hi Paulo. We'll need to know what version of Tomcat you are working with. --David Paulo Vivacqua wrote: Hello there, I am having difficulty implementing a Datasource realm for my application. I followed some tutorials but could not make it to work.I already posted this issue on other forums

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: Ok... beginning to think I'm the only one reading here... yes it is a kludge, and I doubt very much whether changing anything in catalina.policy will do anything in this case... I'm not expert (never used

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: TOMCAT ISSUE: System.Exit yes it is a kludge, and I doubt very much whether changing anything in catalina.policy will do anything in this case... It's certainly not a kludge; one of the primary functions of a security manager is to

Re: pre-compile

2007-05-24 Thread ben short
The maven config is easier on the eye ;) On 5/24/07, Milanez, Marcus [EMAIL PROTECTED] wrote: See if it helps you then... target name=generate_jsp_java echoGenerating .java files from .jsp files/echo taskdef classname=org.apache.jasper.JspC name=jasper2

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
Maybe... But I'm pretty used to ANT, so I care very much... :D -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de ben short Enviada em: quinta-feira, 24 de maio de 2007 17:18 Para: Tomcat Users List Assunto: Re: pre-compile The maven config is easier on the

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
Maybe... But I'm pretty used to ANT, so I *don't* care very much... :D -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de maio de 2007 17:21 Para: Tomcat Users List Assunto: RES: pre-compile Maybe... But I'm pretty used to ANT, so I

Re: How to configure cache-control in Tomcat

2007-05-24 Thread Gregor Schneider
you can't controle the headers in tomcat (and this is where you specify things as cache-control in http-protocol). either your web-app has to modify the http-response-header, our you can write a filter. a filter is specified by the servlet-specification, thus tomcat supports ist. more info on

RE: why is apache serving source for .jsp files?

2007-05-24 Thread Tim Lucia
I'm dumb for not noticing this early. The jsp-examples path is not JkMount'd nor is there a mapping for *.jsp. That is your problem. I presumed it was a VirtualHost problem. Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jessica Johnson

Re: Single-sign on without form-based authentication

2007-05-24 Thread Gregor Schneider
well, we can't tell you the whole desigh of your_app-to-be but gave you some starting-points. now it's up to you to use them. however, i do not see any sense at all passing more tha two credentials (user, pass) to authenticate therefore, i suggest first thing you should do is to re-think

RES: pre-compile

2007-05-24 Thread Rogerio Baldini das Neves
I am using this plugin like in tutorial. But it's happing some strange with item: org.apache.taglibs.standard.tag.rt.core.ForTokensTag.setItems(Ljava/lang/Str ing;)V -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de ben short Enviada em: quinta-feira, 24 de

Re: pre-compile

2007-05-24 Thread ben short
Looks like you need the taglibs dependency. Try adding these to your pom. dependency groupIdtaglibs/groupId artifactIdstandard/artifactId version1.1.2/version scopecompile/scope /dependency dependency

Possible bug?

2007-05-24 Thread Hoa Doan
I am accessing a page on my server that outputs about 4000+ records and displaying them in a table. The page loads fine w/o SSL enable but with SSL it just stop around the 2000th row. I have no idea why this is happening. - Pinpoint customers who are

Re: Possible bug?

2007-05-24 Thread Gregor Schneider
with this little bit of information - neither do we... gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a

Re: Possible bug?

2007-05-24 Thread Martin Gainty
Doan On your Connection node is your connectionTimeout set too low..if so how about doubling it? Thanks Martin This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received

RE: How-to make default Running status = false

2007-05-24 Thread Roger Tismeer
Tweaking server.xml | host section | variable autoDeploy = false does not do anything all 30 webapps are still Running = true when restarting Tomcat Now if I actually tweak unpackWARs = false, then 7 of my webapps are Running = false which is good, but then when I try to start them then

Re: why is apache serving source for .jsp files?

2007-05-24 Thread Jessica Johnson
Thanks Tim, that got me a step further. I'm no longer getting source code for the .jsp pages, but now I'm getting a whole lot of HTTP Status 500 errors. Here are a few examples: org.apache.jasper.JasperException: File /WEB-INF/jsp2/jsp2-example-taglib.tld not found

RE: How-to make default Running status = false

2007-05-24 Thread Caldarale, Charles R
From: Roger Tismeer [mailto:[EMAIL PROTECTED] Subject: RE: How-to make default Running status = false Tweaking server.xml | host section | variable autoDeploy = false does not do anything all 30 webapps are still Running = true when restarting Tomcat O.k., now how about trying what

Tomcat Native library on java.library.path ?

2007-05-24 Thread troy giunipero
Hello, I recently installed Apache Tomcat 6.0.10 and have been getting the following message upon startup: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: On Windows XP, I have the following

Re: How-to make default Running status = false

2007-05-24 Thread Rashmi Rubdi
On 5/23/07, Roger Tismeer [EMAIL PROTECTED] wrote: It takes about 4 minutes or so to (re)start Tomcat granted I have 30 webapps loaded, but isn't there a switch somewhere that I can toggle to not auto-start any non-Tomcat webapps? I was in a similar situation as you've mentioned above. I

Re: Tomcat Native library on java.library.path ?

2007-05-24 Thread Foo Shyn
Hmm i haven't start using Tomcat 6, but i guess that the java.library.path might actually refers to your JDK? Which version of JDK are you using? troy giunipero wrote: Hello, I recently installed Apache Tomcat 6.0.10 and have been getting the following message upon startup: INFO: The

Re: Tomcat Native library on java.library.path ?

2007-05-24 Thread Len Popp
The Tomcat Native library (tcnative-1.dll) is optional. (Note that the log message says INFO - it's not an error.) If that DLL is installed it should be in Tomcat's bin sub-directory. -- Len On 5/24/07, troy giunipero [EMAIL PROTECTED] wrote: Hello, I recently installed Apache Tomcat 6.0.10

RE: Tomcat Native library on java.library.path ?

2007-05-24 Thread Lakshmi Venkataraman
Recently, I saw a similar problem on Solaris9 with Tomcat 5.5.23. Then ldd tcnative-1.so revealed that a certain library (in this case, libgcc.so) was not in the path. By adding that library to the path, Tomcat stopped complaining about not being able to find the native library. On windows,

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Bill Barker
Johnny Kewl [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ok... beginning to think I'm the only one reading here... yes it is a kludge, and I doubt very much whether changing anything in catalina.policy will do anything in this case... because the security manager is probably

Re: Server.xml Sort on Start

2007-05-24 Thread Kyle B
Charles, The Host elements do not contain backgroundProcesserDelay. Here is a sample: Host name='domain.com' debug='0' appBase='/path/to/java/app' unpackWARs='true' autoDeploy='false' Aliaswww.domain.com/Alias Context path='' docBase='' debug='0' reloadable='false'/ Valve

Re: why is apache serving source for .jsp files?

2007-05-24 Thread Mark Thomas
Jessica Johnson wrote: If anyone can give me a hand, it would be much appreciated. I haven't checked the site you referenced in detail but I did notice the following: 1. Configuring contexts in server.xml This is possible but not recommended since you need to restart Tomcat if you make a change.

RE: Tomcat Native library on java.library.path ?

2007-05-24 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Tomcat Native library on java.library.path ? Surely the Native library is the apache-tomcat-6.0.10\lib folder Surely, it isn't. As Len pointed out, it's the bin directory. and surely the java.library.path refers to PATH. By

RE: Server.xml Sort on Start

2007-05-24 Thread Caldarale, Charles R
From: Kyle B [mailto:[EMAIL PROTECTED] Subject: Re: Server.xml Sort on Start The Host elements do not contain backgroundProcesserDelay. Not by default, but one can be added. I wouldn't recommend it, since there doesn't seem to be much advantage to do so unless one has many, many Host

Re: Tomcat Native library on java.library.path ?

2007-05-24 Thread Len Popp
On 5/25/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: P.S. You work for Sun and you're using Windows? It could be that he needs to use one of the many vital application programs that aren't supported on the Solaris platform. World of Warcraft, for example. :-) -- Len