Re: mod_jk problem

2004-01-27 Thread Lukas Larsson
Thx for the replies. I'm using 4.1.29. I haven't played anything with the structure at all. The strange thing is that when I put the test.jsp file in the examples folder in webapps I can display it and it works like a charm, but if I put it anywhere else it wont work. Putting it in ROOT does not

RE: OT Class reloading and Hotswap

2004-01-27 Thread Ralph Einfeldt
- I don't think that -server is heavily used. - Many don't care about it - Many of those who cared, found this option pretty useless, as it induced instability (I'm not shure if anyone tried with the latest JDK) - When they talk about -server is slow, they talk about it in the

Re: Filter to detect a user not logged in

2004-01-27 Thread Bill Barker
Merrill Cornish [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm trying to learn filters by writing one to detect when someone who has not logged in tries to access a JSP page that requires login. From what I've read, this seems to be one common use of filters. I think I

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Guy Rouillier
Shapira, Yoav wrote: Howdy, - NoClassDefFoundError is different from ClassNotFoundException. Make sure you understand the difference. Then make sure you remove extra copies of the servlet APIs from the classpath, specifically if you have j2ee.jar or servlet.jar somewhere. Yoav, thanks for

RE: Tomcat manager reload, start and stop functionality

2004-01-27 Thread Quinten Verheyen
Thank you David for the info. I use Tomcat 4.1.29, and I have 2 servers running so in case of a start/stop clustering will definitely be a go .. Regards, Quinten -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: 26 January 2004 23:03 To: Tomcat Users List Subject: Re:

IOException while loading persisted sessions

2004-01-27 Thread Allistair Crossley
Hi, I quite often but not always get a huge stack trace thrown when Tomcat boots up the top part of which is the following. I'm not sure why it thinks it needs to be loading anything to do with my bean here from persisted sessions. Is that a setting that I have switched on that I need to

init 1 jndi pool fine, init 2 jndi pool not fine (with logging)

2004-01-27 Thread Allistair Crossley
Hi All, You may recall I posted that I solved this problem some time ago...I was trying to reference my JNDI pool in the init() method directly and I was getting Cannot create JDBC driver of class '' errors. I moved that out into the classes themselves and it was going so well. But I have

static content

2004-01-27 Thread Vano Beridze
Hello I've got tomcat 4.1.29 I have several webapps, that access the same static files (gif,css,js). I want to use only tomcat, not apache. What is the best way to share those resources between webapps? One solution as I understand is to create some context, resources for example and put

help: want to encrypt Tomcat user passwords

2004-01-27 Thread amit varshney
I am using jdbcrealm to store the username and passwords in the Oracle 9I database. But th passwords are stored as plain Texts. I want to encrypt the passwords. How can I do it? Is there any InBuilt feature in Tomcat? Thanx in advance Amit Varshney

Re: OutOfMemory exception explanation?

2004-01-27 Thread Vitor Buitoni
Supposing it's not some kind of memory leak in your application, you could try increasing the JVM's heap size passing the parameter -Xmx 256m (256 or the size you like) to it. By default, the JVM limits the heap size to 64M, so if your application needs more than 64M you will get an

Re: IOException while loading persisted sessions

2004-01-27 Thread Vitor Buitoni
When tomcat persists sessions, it will try to serialize all objects stored in your sessions to disk. In order to be successful, all the objects must be serializable. In this example, the class com.comp.newmedia.intranet.iq.dto.myiq.mylinks.Link is not serializable - it does not implement the

Re: init 1 jndi pool fine, init 2 jndi pool not fine (with logging)

2004-01-27 Thread Remy Maucherat
Allistair Crossley wrote: Hi All, You may recall I posted that I solved this problem some time ago...I was trying to reference my JNDI pool in the init() method directly and I was getting Cannot create JDBC driver of class '' errors. I moved that out into the classes themselves and it was going

RE: OutOfMemory exception explanation?

2004-01-27 Thread MURAT BALKAS
Hi, I need some info about these memory profiler's. Is there any free and easy-to-integrate-to-tomcat memory profiler? Thanks... Murat

help dev

2004-01-27 Thread Ilan Meyrowitsch
Hi Please help me to run my first Hello.jsp on Tomcat 5.0 I installed the Tomcat on win2000. On http:\\127.0.0.1 can I see the index.jsp of Tomcat. I can also see my own Hello.html when I put it in the \webapps\ROOT BUT I can not see my own Hello.jsp when I put it in the \webapps\ROOT. (the

More than one error page 404?

2004-01-27 Thread Marc Guillemot
Hi, I have a general purpose 404 error page configured in the web.xml but in some cases I want to return an other page with the error code 404. Is it possible? It seems to me that as soon as I set the response code to 404, Tomcat discards the current response and sends the 404 error page

RE: help: want to encrypt Tomcat user passwords

2004-01-27 Thread Yiannis Mavroukakis
That hasn't got anything to do with tomcat. You should either be using an encoding scheme at code level, or if you feel your application-to-database link is secure, use database in-built methods to encode/decode the passwords.I don't know how good ole' Oracle does it, but in mySQL there are

Tomcat 5 with JSVC

2004-01-27 Thread Vitor Buitoni
Hi, I would like to know what's the advantage of running Tomcat 5 as a deamon with jsvc. Currently i start tomcat with the default startup script, by putting it in the inittab with the respawn option, so when somebody stops tomcat or tomcat crashes, tomcat is started again. Acting this way,

quick question concerning the Client Deployer Package

2004-01-27 Thread Glanville, Jay
Hello all. I have a quick question concerning the client deployer package (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html#Dep loying%20using%20the%20Client%20Deployer%20Package). There is a compile target and a deploy target. My assumption is that the deploy target only

Re: OutOfMemory exception explanation?

2004-01-27 Thread Vitor Buitoni
I like JProfiler, but it's not free... :-( Vitor MURAT BALKAS wrote: Hi, I need some info about these memory profiler's. Is there any free and easy-to-integrate-to-tomcat memory profiler? Thanks... Murat

Re: howto federate tomcat JNDI to another JNDI context ?

2004-01-27 Thread Nicolas De Loof
Hi mark, I solved my JNDI federation problem and maybe you are interested to know how ? JustToRememberMyProblem I want to get JMS ressources from JNDI. They're stored in a FileSystem JNDI and I need to federate it to Tomcat JNDI. /JustToRememberMyProblem I added a custom factory to

RE: OutOfMemory exception explanation?

2004-01-27 Thread Torstein Nilsen
Hi Murat, I'm also having some memory-leaking trouble. I'm using HPJmeter - it's free, and can among other stuff tell you wich objects filled the heap when your application was terminated. Download here: http://www.hp.com/products1/unix/java/hpjmeter/dow nloads/ Torstein -Original

Re: quick question concerning the Client Deployer Package

2004-01-27 Thread Remy Maucherat
Glanville, Jay wrote: Hello all. I have a quick question concerning the client deployer package (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html#Dep loying%20using%20the%20Client%20Deployer%20Package). There is a compile target and a deploy target. My assumption is that the

RE: More than one error page 404?

2004-01-27 Thread Shapira, Yoav
Howdy, You can put code in your custom 404 error page to redirect as needed. Seems like overkill... Yoav Shapira Millennium ChemInformatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot Sent: Tuesday, January 27, 2004 6:40 AM To: [EMAIL PROTECTED]

Re: Tomcat 5 with JSVC

2004-01-27 Thread Remy Maucherat
Vitor Buitoni wrote: I would like to know what's the advantage of running Tomcat 5 as a deamon with jsvc. Currently i start tomcat with the default startup script, by putting it in the inittab with the respawn option, so when somebody stops tomcat or tomcat crashes, tomcat is started again. The

Tomcat5 and url tracking hijacking

2004-01-27 Thread Marc Hughes
Does tomcat 5 use some kind of mechanism to prevent session hijacking when url session tracking is being used? For instance, if someone posts a url to a website with the tracking info in it, will anyone clicking on that link pick up the original user's session (assuming it didn't time out

Re: Tomcat5 and url tracking hijacking

2004-01-27 Thread Tim Funk
yeah - you'd get that users session. Same problem with cookie hijacking. Use https. There is nothing defined by the spec to prevent this. (Except https) -Tim Marc Hughes wrote: Does tomcat 5 use some kind of mechanism to prevent session hijacking when url session tracking is being used? For

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Shapira, Yoav
Howdy, Although the possibility of a memory leak (sorry--unintended object retention) has not been completely ruled out (yes, I'm running the applications through a profiler), I'm quite puzzled that this problem would occur when, by all indications, memory use is nowhere near the limit. How do

RE: accessing files external to webapp

2004-01-27 Thread Shapira, Yoav
Howdy, This doesn't have to do with the security manager. The classpath resource locator will only work for things that are on your classpath, naturally. For J2EE/servlet containers like tomcat, your classpath is very precisely defined:

RE: tomcat5 in-process (more info for you guys)

2004-01-27 Thread Hamilton Andrew
Thanks, Yiannis. I'll stop waisting my time trying to figure out why it won't work. I was beginning to think I was too ignorant... Drew -Original Message- From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 4:38 AM To: 'Tomcat Users List' Subject: RE:

Re: running tomcat5 in-process

2004-01-27 Thread Phil Adams
I didn't actually 'post' it to the list. I sent it to those who have asked for it directly. - Original Message - From: Brennon Obst [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 26, 2004 10:03 PM Subject: RE: running tomcat5

RE: shutdown hook for JNDI custom resource factories???

2004-01-27 Thread Shapira, Yoav
Howdy, AFAIK there's no explicit lifecycle support around these resource factories. I would suggest adding a finalizer to the PMF class, but that's a 3rd party class outside your control. I think grabbing it from JNDI in the shutdown method is what's left. I'm not happy with it because it's

RE: OutOfMemory exception explanation?

2004-01-27 Thread Dhruva B. Reddy
I've looked for a free profiler, but was unable to find one (as in beer or speech). If you can deal with the barrage of sales calls, you can download a trial version of: JProbe: http://quest.com/jprobe/try.asp OptimizeIt: http://borland.com/products/downloads/download_optimizeit.html

JNDIRealm in Tomcat 5

2004-01-27 Thread Vincent
Hello All, I searched the archive but have not seen a situation like mine. I am in the process of upgrading to tomcat 5.0.16 from 4.1.29. I'm happy to say that my webapp seems to be running fine under tomcat 5 with one important exception. My configured JNDIRealm seems to be failing. The main

Is there such thing as an alias context?

2004-01-27 Thread Glanville, Jay
Hello all. Is there such a thing as an alias context, where all requests for a specific context get redirected to a second context? The way that we are currently doing this is to set the docBase attribute of the alias context to the docBase of the concrete. For example: Context

Is there such thing as an alias context?

2004-01-27 Thread Glanville, Jay
Hello all. Is there such a thing as an alias context, where all requests for a specific context get redirected to a second context? The way that we are currently doing this is to set the docBase attribute of the alias context to the docBase of the concrete. For example: Context

Re: Tomcat5 and url tracking hijacking

2004-01-27 Thread Marc Hughes
I don't see how https would help. Someone posting a url to a newsgroup along the lines of either of these https://somesite/jsessionid=94823904823908432098 http://somesite/jsessionid=94823904823908432098 would still hijack the session, no? Could you elaborate on how ssl would help? Cookie

RE: Tomcat5 and url tracking hijacking

2004-01-27 Thread Shapira, Yoav
Howdy, Part of the session creation involves information about the user environment, such as his/her IP address and browser. Someone would have to read the bulleting board and contact the server from the same IP address as the original user before the session expires. But anyways, the session

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Dhruva B. Reddy
Well, I have made an assumption in most cases. The OutOfMemoryError is logged with no timestamp to $CATALINA_HOME/logs/catalina.out. We have a script that periodically (every 15 minutes) hits the applications and notifies us of any error response (either status above 400 or the word ERROR in the

RE: Is there such thing as an alias context?

2004-01-27 Thread Shapira, Yoav
Howdy, The way that we are currently doing this is to set the docBase attribute of the alias context to the docBase of the concrete. For example: Context path=/concrete docBase=/app/webroot / Context path=/aliasdocBase=/app/webroot / I don't like this approach as if we move the

tomcat logging and java.util.logging

2004-01-27 Thread Adam Hardy
In my webapp's context I configured a logger: Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_gargantus_log. suffix=.txt timestamp=true / I changed over from using log4j to using the native java.util.logging package, and I have lost the ability to

RE: OutOfMemory exception explanation?

2004-01-27 Thread Yansheng Lin
Apache JMeter And if you use eclipse, there is a plugin project on SourceForge called EclipseColorer. Hope there were more tutorials on how to use them though. -Original Message- From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 9:12 AM To: Tomcat Users

Re: tomcat 5 embedded ?

2004-01-27 Thread Mark W. Webb
where can I find some examples on embedding tomcat in a java app using JMX? thank you for your time and sorry for any inconvenience. Remy Maucherat wrote: Mark W. Webb wrote: Embedded tomcat 4 had an API that could be used to programatically start tomcat from within another application. I

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Shapira, Yoav
Howdy, ClassNotFoundException - class you explicitly asked for is not found NoClassDefFoundError - a class required by your class (through a new, e.g.) was available at compile time but cannot be found now. I know what the errors mean, thanks ;) The most common cause for the latter is version

Test

2004-01-27 Thread pier
test Tato st zprvy obsahovala virus: MIME typ: application/octet-stream Jmno souboru: data.zip Velikost: 30.26 kB Popis viru: I-Worm/Mydoom Antivirov program: AVG 6.0 Server Edition Ploha byla odstranna antivirovm programem Kerio MailServer 5.1.3 na serveru mail.radioeybrno.cz.

Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Webmaster
Hi all, I know this is a little bit out of topic, but the general concept is useful for everybody. I run tomcat with security manager for a dozen users. Recently, people started to use the hibernate 2 which requires some funky permissions. I had to put these lines in the 'global' permission

USER PRINCIPAL REQUEST

2004-01-27 Thread icaro
After the return of the createPrincipal() method of Realm classes from Tomcat, how this Principal is put in request ? I'm using a class that get this Principal returned and i don't know how put it in Request. Thanks, Icaro

RE: tomcat5 in-process (more info for you guys)

2004-01-27 Thread Yiannis Mavroukakis
NP. As far as your error is concerned, you can rectify this by adding the following option under your [vm:] section: OPT=-Djava.library.path=/path/to/jkjni.so And see what other errors it spits back at you :) -Original Message- From: Hamilton Andrew [mailto:[EMAIL PROTECTED] Sent: 27

RE: Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Shapira, Yoav
Howdy, I know this is a little bit out of topic, but the general concept is useful for everybody. I agree this is useful for everyone. Posting off-topic is fine as long as you mark it by placing [OFF-TOPIC] at the beginning of the subject line. Note: I DID test using a codebase like: grant

RE: tomcat logging and java.util.logging

2004-01-27 Thread Shapira, Yoav
Howdy, In my webapp's context I configured a logger: Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_gargantus_log. suffix=.txt timestamp=true / I changed over from using log4j to using the native java.util.logging package, and I have lost the

assume browser uses cookies from the beginning... how?

2004-01-27 Thread Michael E. Allen
From what I understand, the container sends both a cookie and appends ?JSESSIONID= to the url the first time is send a url to a browser. On subsequent calls, the url is not rewritten if the browser uses cookies. I need to shut off that url rewrite on the first call. Is there a way to

Multiple JK2's on one Machine

2004-01-27 Thread Kent Boogaart
Hello, I am attempting to set up two separate Tomcat installations on one machine, each available via IIS. The problem I have is that JK2 retrieves its configuration from the registry. Therefore, multiple JK2s on the same machine must have the same configuration. Is there a way to tell the JK2 to

Re: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Jeanfrancois Arcand
Can you post the entire stack trace? This exception usually occurs when a doPrivileged block is missing (when -security). I will try to reproduce the problem since it is a bug in Tomcat. Do you have the same exception if you don't turn security on? What your servlet is trying to do? Thanks

Problem using Tomcat Authentication

2004-01-27 Thread amit varshney
I am using the Jdbcrealm to authenticate the users.I want to use admin tool to create the users. But when I create the uses admin tool the user name and password r not being stored in the database rather they r being stored in /conf/Tomcat-users.xml. What should I do so that the user created

RE: tomcat5 in-process (more info for you guys)

2004-01-27 Thread Hamilton Andrew
I tried that, I ended up with this: INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.2_03/jre/lib/i386/libjkjni.so: /usr/java/j2sdk1.4.2_03/jre/lib/i386/libjkjni.so: undefined symbol: apr_md5_final I put the apr libs in

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Jeff Tulley
A while back somebody mentioned that if you continuously redeploy a web application, the symptoms you are mentioning occur. This is because of all of the objects that are stored in the permanent generation memory. This permanent generation runs out of space, even though the new generation and

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Dhruva B. Reddy
Hmmm...we don't do hot deploys, but the different generations are definitely something to look at. Thanks! Dhruva --- Jeff Tulley [EMAIL PROTECTED] wrote: A while back somebody mentioned that if you continuously redeploy a web application, the symptoms you are mentioning occur. This is

RE: OT Class reloading and Hotswap

2004-01-27 Thread Mike Curwen
Yup, I understood all that. But what about hotswap? -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 1:04 AM To: Tomcat Users List Subject: RE: OT Class reloading and Hotswap - I don't think that -server is heavily used. -

RE: OT Class reloading and Hotswap

2004-01-27 Thread Shapira, Yoav
Howdy, Yup, I understood all that. But what about hotswap? There was a huge condition in your original statement: if the technology becomes viable, stable, and mature, then... Well, that's a big if in my eyes. Since I also agree with Senor Einfeldt's experience regarding the limited use of

RE: OutOfMemory exception explanation?

2004-01-27 Thread D'Alessandro, Arthur
Thanks for the suggestions, I do have a question though. As I indicated, the problem, when it occurs, only effects 1 of the many servlets. We have 2 WebApps running, both with a few servlets. This occurrs only on 1 servlet, and once it has errored, it causes that servlet to function

RE: Tomcat5 and url tracking hijacking

2004-01-27 Thread Ralph Einfeldt
There is not much tomcat can do about it. The too simple solution is to stick the session to the ip. But that doesn't work well. - There are several users that can have different ip's in the same session (dial in connection, dsl) - on the other side there are several users that use the

RE: Tomcat5 and url tracking hijacking

2004-01-27 Thread Ralph Einfeldt
You didn't mention the context. HTTPS just would help to avoid the spoofing of the id with a network sniffer. If you publish the session id to somebody that's a different thing. Restricting the session to an IP is not a good idea at all. I don't think that you will find 'best practice' or 'How

Tomcat crashes during a stress test

2004-01-27 Thread Dmitriy .
Hi, we have an IIS 5 and Tomcat 4.1.29 working together on Win2000. When we run a stress test Tomcat service stops and log messages don't indicate anything wrong prior to when it stoped. The load is not high at all - just 20 users. The tomcat could stop after 5 min, sometimes after 1-15, one

RE: quick question concerning the Client Deployer Package

2004-01-27 Thread Jay Glanville
Thanks -- Jay Glanville -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 9:11 AM To: Tomcat Users List Subject: Re: quick question concerning the Client Deployer Package Glanville, Jay wrote: Hello all. I have a quick

help: want to encrypt Tomcat User's Pasword ?

2004-01-27 Thread amit varshney
I am using tomcat jdbcrealm to store the users and password in Oracle 9I database. But the passwords are stored as plain text. I want to encrypt passwords.How can I do this ? Is there any Inbuilt feature in Tomcat? Thanx in advance. Amit Varshney

RE: OutOfMemory exception explanation?

2004-01-27 Thread Shapira, Yoav
Howdy, As I indicated, the problem, when it occurs, only effects 1 of the many servlets. We have 2 WebApps running, both with a few servlets. This occurrs only on 1 servlet, and once it has errored, it causes that servlet to function improperly. Only that servlet, and even after completely

Re: Tomcat5 and url tracking hijacking

2004-01-27 Thread Tim Funk
If a user posts a message to a bulletin board that contains a session id - expect it to be hijacked. You could create some simple filters to bind the session to the user's ip address (which could break in proxies) or other weak security through obscurity approches. -Tim Marc Hughes wrote: I

RE: Tomcat5 and url tracking hijacking

2004-01-27 Thread Ralph Einfeldt
Sorry you did, but I didn't read it ... -Original Message- From: Ralph Einfeldt Sent: Tuesday, January 27, 2004 5:42 PM To: Tomcat Users List Subject: RE: Tomcat5 and url tracking hijacking You didn't mention the context.

Tomcat 5.0.18: Error 1053: The service did not respond to...

2004-01-27 Thread Joshi, Vikas
I installed Tomcat 5.0.18 on Win 2K. When I try to start the service Get following error: Could not start Apache Tomcat Service on local computer Error 1053: The service did not respond to start or control request in a timely manner. Any ideas ? Can start tomcat by running startup.bat in

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Mike Curwen
Wasn't there also a thread recently about a leak that can be configured away? The usage pattern to invoke the 'leak' was to load the site, then leave it alone, then load it again. It involved the worker thread pool for connections and JMX registration of said threads? The pool thought it was

documentation to implement the Realm interface aside from javadoc s

2004-01-27 Thread Doyle, Daniel C
I am looking for examples, tutorials, or documentation for implementing the org.apache.catalina.Realm ineterface. Can the Realm implementation point to a servlet? I need to authenticate using a cgi script (don't laugh) on a different web server on a different machine. The cgi will redirect its

design issue .....

2004-01-27 Thread Shanta B
Hi I have a requirement .we have to develop a webservice Following is our requirement. 1)Client will send SOAP/HTTP request for imge(s). 2)We have(Service) to serve the corresponding image(s) through SOAP/HTTP. Now the design issues... I have two types of

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Jeff Tulley
Do you edit the web.xml of your web application? That will cause Tomcat to redeploy the application. We had an application that would do this during their installation (so, only one time really), but I can imagine an application that might be trying to dynamically deploy servlets and set their

Re: help: want to encrypt Tomcat user passwords

2004-01-27 Thread Holger de Wall
Hy, I am using jdbcrealm to store the username and passwords in the Oracle 9I database. But th passwords are stored as plain Texts. I want to encrypt the passwords. How can I do it? Is there any InBuilt feature in Tomcat? look at

FW: HELP: Want to custom the TOMCAT NOT-FOUND page.

2004-01-27 Thread Krause Karin
Hi maybe this can help http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html You write your own errorReportValveClass to customize Error Pages. -Original Message- From: Krause Karin Sent: Mittwoch, 21. Januar 2004 11:26 To: 'Tomcat Users List' Subject: RE: HELP: Want to

Re: running tomcat5 in-process

2004-01-27 Thread Alvaro Seixas
I just tested the config files you sent bellow + your compiled dll + set the enviroments vars but still got some problems. In Apache's error.log I get this: [Tue Jan 27 16:53:31 2004] [notice] jni.validate() class=org/apache/jk/apr/TomcatStarter [Tue Jan 27 16:53:31 2004] [error] Can't find class

Managing Tomcat servers in a cluster

2004-01-27 Thread Takumi Fujiwara
Hi, Can someone please tell me how deploy a Tomcat connector to allow a remote access (either JRMP or IIOP) to JMX in Tomcat servers? I would like to setup so that 1 JMX console can manage all Tomcat servers within the same cluster. Have anyone tried that before? Thank you.

Problem with cc-gcc compiling mod_jk in Solaris 9

2004-01-27 Thread Mauricio Cadima
Hi I'm trying to compile mod_jk in Solaris 9 with Apache 1.3 and Tomcat 4.1, I followed the instructions explained in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/quickhowto.html . I don't have cc installed so I created a symbolic link to gcc (CC=gcc) and I added the gcc executable and

Re: Tomcat manager reload, start and stop functionality

2004-01-27 Thread David Rees
Quinten Verheyen wrote, On 1/27/2004 12:17 AM: I use Tomcat 4.1.29, and I have 2 servers running so in case of a start/stop clustering will definitely be a go .. Note that under TC 4.x, session clustering isn't officially supported, although Filip Hanik has made the clustering software available

RE: documentation to implement the Realm interface aside from javadocs

2004-01-27 Thread Shapira, Yoav
Howdy, I am looking for examples, tutorials, or documentation for implementing the Examples: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s hare/org/apache/catalina/realm/. Also search the list archives for past discussions on this topic. And as evidenced from the

Re: Is there such thing as an alias context?

2004-01-27 Thread Daniel Gibby
I don't see why you would ever want to do this... and there is no such feature. It seems that your idea of forwarding everything over would be easier to maintain and create than you think. Glanville, Jay wrote: Hello all. Is there such a thing as an alias context, where all requests for a

adding new context to running server

2004-01-27 Thread Luc Foisy
I have added a context via the admin web interface. I can see the context in the manager interface, I can stop start and reload it, and the web reports that the operations were OK. In the localhost logs file it reports a ClassNotFoundException. I see the configuration set in the server.xml

RE: adding new context to running server

2004-01-27 Thread Shapira, Yoav
Howdy, reports that the operations were OK. In the localhost logs file it reports a ClassNotFoundException. Is the class named in the ClassNotFoundException present in the context's WEB-INF/lib or WEB-INF/classes directories? Yoav Shapira This e-mail, including any attachments, is a

Logging for DBCP?

2004-01-27 Thread Boemio, Neil (IT, FGIC)
Is there some kind of logging I can turn on for troubleshooting problems with the Tomcat Database Connection Pool. I'm using 4.1.29. Are errors relating to the DBCP supposed to go to the catalina log because I'm not seeing these types of errors there.

[OT] RE: Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Webmaster
Could you give an example of how a malicious code could affect the security of the JVM ? Usually I have a codebase policy like this for each user: permission java.io.FilePermission /home/client/public_html/-, read,write,delete; I guess that if someone writes a piece of code that tries to

Re: Conflict openssl versus keytool

2004-01-27 Thread Ignacio Barrancos Martinez
El sáb, 24-01-2004 a las 07:49, Bill Barker escribió: I sound like a broken record here :) There is a utility at http://www.comu.de/docs/tomcat_ssl.htm to import your OpenSSL certs into a JKS keystore. Alternatively, the ssl_howtow for TC 5.x contains an example of how to configure a PKCS12

RE: [OT] RE: Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Shapira, Yoav
Howdy, Could you give an example of how a malicious code could affect the security of the JVM ? You mean in general? How about System.exit()? Usually I have a codebase policy like this for each user: permission java.io.FilePermission /home/client/public_html/-, read,write,delete; I guess

RE: adding new context to running server

2004-01-27 Thread Luc Foisy
This appears in the localhost_logs file when I reload the context via the manager/html interface. 2004-01-27 14:37:21 StandardContext[/uaiapp]: Servlet /uaiapp threw load() exception javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jasper.servlet.JspServlet or a

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Guy Rouillier
Shapira, Yoav wrote: Howdy, ClassNotFoundException - class you explicitly asked for is not found NoClassDefFoundError - a class required by your class (through a new, e.g.) was available at compile time but cannot be found now. I know what the errors mean, thanks ;) The most common cause

Problem With 3rd Party App Running Under Tomcat 4.1.29

2004-01-27 Thread Michael Duffy
I'm having a problem with a 3rd party app running under Tomcat 4.1.29 on a Windows 2000 server and Sun's JDK 1.4.1. The 3rd party app has been running just fine for months under Tomcat 4.0.6, which they included in their install CD with JRE 1.4.1. I asked them if we could move the app to run

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Guy Rouillier
Jeanfrancois Arcand wrote: Can you post the entire stack trace? This exception usually occurs when a doPrivileged block is missing (when -security). I will try to reproduce the problem since it is a bug in Tomcat. Jeanfrancois, I'll include the entire stack trace at the bottom on this

RE: mod_jk problem

2004-01-27 Thread Guy Rouillier
Lukas Larsson wrote: Thx for the replies. I'm using 4.1.29. I haven't played anything with the structure at all. The strange thing is that when I put the test.jsp file in the examples folder in webapps I can display it and it works like a charm, but if I put it anywhere else it wont work.

Re: Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Jeanfrancois Arcand
Webmaster wrote: Hi all, I know this is a little bit out of topic, but the general concept is useful for everybody. I run tomcat with security manager for a dozen users. Recently, people started to use the hibernate 2 which requires some funky permissions. I had to put these lines in the

Re: Problem with cc-gcc compiling mod_jk in Solaris 9

2004-01-27 Thread Mark Eggers
Mauricio, Are you trying to compile mod_jk, or mod_jk2? Instead of creating a symbolic link, do the following: 1. Make sure that gcc is in your path (it's usually installed in /opt/something if I remember correctly). 2. Set an environment variable: setenv CC=gcc (C shell) export CC=gcc (Bash

RE: design issue .....

2004-01-27 Thread Goehring, Chuck Mr., RCI - San Diego
Shanta, We store the images on the file system instead of in the database. A couple things to conspired are: Images in the database will severely bloat up your database backups - exports etc. Having the images/documents in the database would be more secure because someone would have to

Re: mod_jk problem

2004-01-27 Thread Mark Eggers
Lukas, There are a lot of ways to start out exploring jsp programming. 1. Create a directory under %CATALINA_HOME%/webapps and modify Tomcat's server.xml a) For example, create a beg-jsp directory b) Add the following context in server.xml !-- Beginning JSP context for experimenting with raw

Problem with mod_jk spawning processes

2004-01-27 Thread KING,SETH (HP-Boise,ex1)
Hi all, I am currently experiencing an issue with Apache 2.0/Tomcat 4.0.16. I am using mod_jk to connect the two servers. The AJP13 processes are continually being created until it reaches the MaxProcesses limit (set at 75) and then the server becomes unresponsive. I restart the tomcat server and

Struts

2004-01-27 Thread Pinguti Sridevi
I have tomcat 4.1.29 and jdk1.3. I had understood what is Struts,complete flow thru jakarta site. Can somebody tell what jars,wars i have to install to run sample. I have searched 5 hrs in jakarta but I have not understood what to install in my tomcat folder to run ? I don't want tiles or

RE: Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Mike Curwen
FYI: This has also been discussed here: http://freeroller.net/page/jcarreira/20040126 -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 11:04 AM To: Tomcat Users List Subject: RE: Tomcat + Hibernate2 + Security Manager Howdy,

Re: Tomcat crashes during a stress test

2004-01-27 Thread Roland Nygren
Hi Dmitriy, An old bug in Log4j (JdbcAppender) prior to 1.2.8 caused us a similar problem. Regards Roland Nygren -Original Message- From: Dmitriy . [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 27 Jan 2004 12:17:07 -0500 Subject: Tomcat crashes during a stress test Hi, we have an

RE: design issue .....

2004-01-27 Thread Justin Ruthenbeck
At 01:11 PM 1/27/2004, you wrote: We store the images on the file system instead of in the database. We are currently doing both -- it's an application configuration issue for us (we tell our code which Repository object to use to load binary data). I would highly suggest doing the same -- put

  1   2   >