where can I define if a webapp will startup or not

2007-05-24 Thread oj
Hi, I'm looking for the opportunity to enable or disable a webapp for startup. I have an application which I can disable during the tomcat is running, and if this happens I want that this state is persistent also for a tomcat restart, but I do not know where I can define this. I just found the

problem in configuration of Tomcat5.0.28 and SSL in Linux

2007-05-24 Thread mridu
Hello I am configuring SSL with tomcat 5.0.28 .I ahve followed the following two steps only 1.Generating the keystore by following command keytool -genkey -alias tomcat -keyalg RSA -keystore /path/to/my/keystore 2. specifying the following in the server.xml <-- Define a SSL Coyote HT

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

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 eleme

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: Server.xml Sort on Start

2007-05-24 Thread Kyle B
Charles, The Host elements do not contain backgroundProcesserDelay. Here is a sample: www.domain.com In regards to Mark's statement. I'm not opposed to writing some XML parsing tools to play nice with Tomcat. However, I'm still left trying to figure out how Tomcat sorts that HashMap it cre

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 proba

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, d

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 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 Apa

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.

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 paths

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 w

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 org.apache.jasper.JasperEx

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: Possible bug?

2007-05-24 Thread Martin Gainty
Doan On your 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 this email message in error, please notify the sender immediately by

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 n

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 loo

Re: pre-compile

2007-05-24 Thread ben short
Looks like you need the taglibs dependency. Try adding these to your pom. taglibs standard 1.1.2 compile javax.servlet jstl 1.1.2 compile On 5/24/07, Rogerio Baldini das Neve

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: 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 the

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 > S

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 fi

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 car

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 e

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... Generating .java files from .jsp files

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
See if it helps you then... Generating .java files from .jsp files

Re: pre-compile

2007-05-24 Thread ben short
Have a look at this maven 2 plugin http://mojo.codehaus.org/jspc-maven-plugin/usage.html Ben On 5/24/07, Rogerio Baldini das Neves <[EMAIL PROTECTED]> wrote: 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.

Re: Configuring a DataSourceRealm

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, Paulo Vivacqua wrote: > I copied the Mysql Driver's jar into $CATALINA_HOME/common/lib. Ok. > I already created the database with the required tables user, > user-roles and roles. Ok. > I configured JNDI DataSource in Tomcat by adding a dec

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Caldarale, Charles R
> From: Fargusson.Alan [mailto:[EMAIL PROTECTED] > Subject: RE: TOMCAT ISSUE: System.Exit > > Is System.exit implemented in Tomcat? I thought System.exit > is implemented in the JVM. It's part of the JRE. Tomcat merely makes use of it in a few places. - Chuck THIS COMMUNICATION MAY CONTAI

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Fargusson.Alan
Is System.exit implemented in Tomcat? I thought System.exit is implemented in the JVM. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:47 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: TOMCAT ISSUE: System.Exit Ok... beginning to

RE: IIS 6 and JK-1.2.23 not working

2007-05-24 Thread Garner, Shawn
Well we got this working. Looks like we had a dll that was undersized. Said it was only ~150K instead of ~228K. This happened last time I tried this so I wonder if one of the mirrors has an undersized dll out there. Shawn -Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED]

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

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 SecurityMana

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

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: 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 documentati

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

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 u

pre-compile

2007-05-24 Thread Rogerio Baldini das Neves
Hi Guys, I'd like to pre-compile my jsps for Tomcat 6 using maven. Anybody knows how it is possible ? I've tried to compile using jspc-maven-plugin 1.4.6 and 1.4.7-SNAPSHOT. But in both I've received the message: org.apache.taglibs.standard.tag.rt.core.ForTokensTag.setItems(Ljava/lang

RE: Re: IIS 7.0

2007-05-24 Thread Garner, Shawn
What version of the connector did you use? I am unable to get it to work with IIS 6.0 and JK-1.2.23 Shawn -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Wachter Sent: Thursday, May 24, 2007 9:48 AM To: users@tomcat.apache.org Subject: Re: IIS 7.0 Finally I f

Re: Single-sign on without form-based authentication

2007-05-24 Thread lightbulb432
I took a look at JAASRealm and its authenticate method only takes two parameters (username and "credentials", which is really just a single password string). Is it possible to pass my other credentials to the JAASRealm so that I can pass everything at one time (username, password, other credentia

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 do

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 s

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 ;) Use: Listener className="org.apache.jk.config.ApacheConfig" Just out of curiosity, how did you came up with org.apache.ajp.tomcat6.config.ApacheConfig cl

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" 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 going to get flamed

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 to

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, password)

Re: Running Embedded Tomcat from Java Web Start

2007-05-24 Thread Johnny Kewl
Hi Andrew, The problem is not Tomcat, its WebStart, I hate that thing... know I'm going to get flamed ;) WebStart also seems to crash with RPC applications... and I think that as soon as an application has classloaders in it, Web Start is touch and go... Also I imagine you know you have to get

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 localh

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 ;) Use: Listener className="org.apache.jk.config.ApacheConfig" Just out of curiosity, how did you came up with org.apache.ajp.tomcat6.config.ApacheConfig class ? Regards, Mladen.

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 a

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: Single-sign on without form-based authentication

2007-05-24 Thread Gregor Schneider
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, password) - do the JAAS-Authentica

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, b

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. No

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 http://localhos

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 [EMAIL PROTECTED] tel: mobile:

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 th

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 sec

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 fie

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 fi

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: 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 ne

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 roles.

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 DIGEST=org.apache.catalina.authenticator.DigestAuth

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 t

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

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: 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 w

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 us

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 i

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 I

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 implementa

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

2007-05-24 Thread David Delbecq
You simply can't. See classloader hierarchy in tomcat. http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html En l'instant précis du 24/05/07 15:49, Enrique Lamas s'exprimait en ces termes: > Hello, > I've allways used resin server and now I'm starting with Tomcat. I've one > doubt and I

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 Mo

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 ther

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 > hi

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, i.

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 t

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! http://content.m

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 p

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 fil

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 t

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 l

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 comple

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 w

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 applic

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Pid
Look up 'SecurityManager'. p Johnny Kewl wrote: 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 ma

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: 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 12:26

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 go

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 crea

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 -Mensaje original- De: Mohammed Zabin [mailto:[EMAIL PROTECTED] E

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. C

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: On 5/24/07, David Rodríguez Fernández <[EMAIL PROTECTED]> wrote: What tomcat version do you have? -Mensaje original- De: Mohammed Zabin [mailto:[EMAIL PROTECTED] Enviado el: jueve

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 W

RE: DBCP

2007-05-24 Thread David Rodríguez Fernández
What tomcat version do you have? -Mensaje original- De: Mohammed Zabin [mailto:[EMAIL PROTECTED] Enviado el: jueves, 24 de mayo de 2007 12:03 Para: users@tomcat.apache.org Asunto: DBCP *Hi All* ** *I want to use DBCP to connect my localhost Oracle Database, I have write the following in

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

  1   2   >