Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
On Wed, 13 Oct 2004 21:38:00 + (UTC), Derek Mahar [EMAIL PROTECTED] wrote: Shapira, Yoav Yoav.Shapira at mpi.com writes: I should mention that originally, I did not have antiJARLocking enabled, but enabling both antiJARLocking and antiResourceLocking does not appear to have made any

IndexOutOfBound Exception?

2004-10-14 Thread Bjørn T Johansen
I'm not sure it this is the right place but I'm trying I have a problem. I am trying to use Crystal Report to show reports in my webapp using Tomcat 5. This work's ok when I run the webapp inside JBuilder but when I move the project to a standalone Tomcat server, I get the following error:

Re: IndexOutOfBound Exception?

2004-10-14 Thread Remy Maucherat
On Thu, 14 Oct 2004 08:37:35 +0200, Bjørn T Johansen [EMAIL PROTECTED] wrote: I'm not sure it this is the right place but I'm trying I have a problem. I am trying to use Crystal Report to show reports in my webapp using Tomcat 5. This work's ok when I run the webapp inside JBuilder but

Re: IndexOutOfBound Exception?

2004-10-14 Thread Edouard Dalla-Costa
hello, I am sorry but I can't help you with your problem. However, I would like to know if you succeed to make tomcat 5 work with JBuilder. I am trying to do it but JBuilder still try to use a tomcat 4 class which create error. So if you could help me I will appriciate. Thank you Regards Doud

Re: IndexOutOfBound Exception?

2004-10-14 Thread Bjørn T Johansen
Well, I am using JBuilder 2005, so Tomcat 5 is included... :) BTJ Edouard Dalla-Costa wrote: hello, I am sorry but I can't help you with your problem. However, I would like to know if you succeed to make tomcat 5 work with JBuilder. I am trying to do it but JBuilder still try to use a tomcat 4

Resin slower than Tomcat, fails the AppFuse Test

2004-10-14 Thread Andy Hutchinson
So now you know! http://raibledesigns.com/page/rd/20041007#resin_slower_than_tomcat_fails - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ActiveDirectory realm

2004-10-14 Thread Roland Carlsson
Hi! I have tried to read the arcives about how to create an realm that uses Active Directory as source but all questions that seems to fit me has no answers. I need to be able to authenticate my users and authroize them in my jsp-code (eg: request.isUserInRole ). So, what libraries do I need to

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Dale, Matt
It is still in development so not dead by any means. It's only a couple of months since 2.04. I'm using it without problems and shall keep doing so until a better alternative becomes available. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2004

RE: where is Catalina.out

2004-10-14 Thread Dale, Matt
Are you running tomcat as a service? -Original Message- From: Fred Yu [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 03:00 To: [EMAIL PROTECTED] Subject: where is Catalina.out Does anyone know why I can not find Catalina.out file under logs directory? I followed steps to install

About Japanese Mobile container(AU)

2004-10-14 Thread Maneesh sharma
Hi to all, I am developing a mobile app. for AU mobile . I am using Tomcat server.In web.xml I set the mime type mime-mapping extension3g2/extension mime-typeaudio/3gpp2/mime-type /mime-mapping for xxx.3g2 audio files.When I am accessing from real device it is getting error and

RE: where is Catalina.out

2004-10-14 Thread Fred Yu
No, I run tomcat by executing startup.bat. -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:52 PM To: Tomcat Users List Subject: RE: where is Catalina.out Are you running tomcat as a service? -Original Message- From: Fred Yu

Re: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Alex
From a security point of view, leaving tomcat hanging out there is one tier less a malicious person would be faced with hacking...three tiers is a nice simple security solution. $0.02. On Wed, 13 Oct 2004, Peng Tuck Kwok wrote: Date: Wed, 13 Oct 2004 11:59:28 +0800 From: Peng Tuck Kwok

live disable realm

2004-10-14 Thread Boulay Arnaud
Hello ! I'd like to solve this problem : My webapp is defined with a realm X. When the webapp starts, the realm is not available (break down somewhere ...). How can I dynamicly say to my webapp to use the realm Y without change the Context declaration ? Thank., regards, Arnaud

Re: ActiveDirectory realm

2004-10-14 Thread Nikola Milutinovic
Roland Carlsson wrote: Hi! I have tried to read the arcives about how to create an realm that uses Active Directory as source but all questions that seems to fit me has no answers. I need to be able to authenticate my users and authroize them in my jsp-code (eg: request.isUserInRole ). So, what

RE: where is Catalina.out

2004-10-14 Thread Dale, Matt
I've got no ideas then, i've never had this problem. -Original Message- From: Fred Yu [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 10:03 To: Tomcat Users List Subject: RE: where is Catalina.out No, I run tomcat by executing startup.bat. -Original Message- From: Dale, Matt

Sv: ActiveDirectory realm

2004-10-14 Thread Roland Carlsson
Hi Nikola! Thank you for your answer. Am I reading you correctly? Can't I use Active Directory today to Authenticate and Authorize people in my Tomcat-server without write a server-side GSSAPI? Isn't it possible through LDAP to do this? I have no need for SingleSignOn etc. If we didn't already

Re: About Japanese Mobile container(AU)

2004-10-14 Thread Peng Tuck Kwok
Quite possibly because you have % % in your audio file. I think % % only works in jsp files so your variables never get substituted. If you want to do this, get a servlet to generate it instead, see if it works. On Thu, 14 Oct 2004 17:02:42 +0800, Maneesh sharma [EMAIL PROTECTED] wrote: Hi

Re: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Antony Paul
Do you mean Apache dont have any security holes. I dont know about hacking a system. But in terms of security Tomcat is far better than Apache since it dont have any security vulnerabilities. rgds Antony Paul On Thu, 14 Oct 2004 04:41:53 -0400 (EDT), Alex [EMAIL PROTECTED] wrote: From a

Tomcat email system or analogs for it

2004-10-14 Thread aleksej
Hi! I am wondering, how to send emails from Tomcat? As I understand, Tomcat has'nt native J2EE JavaMail API support. Then what kind of libraries I should use to get email support? I saw some emailing projects in sendbox, but its not in production quality. Then JAMES maybe? I have no access

Re: Sv: ActiveDirectory realm

2004-10-14 Thread Nikola Milutinovic
Roland Carlsson wrote: Hi Nikola! Thank you for your answer. Am I reading you correctly? Can't I use Active Directory today to Authenticate and Authorize people in my Tomcat-server without write a server-side GSSAPI? Isn't it possible through LDAP to do this? I have no need for SingleSignOn etc.

Re: Tomcat email system or analogs for it

2004-10-14 Thread Ben Souther
http://www.google.com/search?hl=enq=java+mailbtnG=Google+Search On Thu, 2004-10-14 at 07:09, aleksej wrote: Hi! I am wondering, how to send emails from Tomcat? As I understand, Tomcat has'nt native J2EE JavaMail API support. Then what kind of libraries I should use to get email support?

Re: Tomcat email system or analogs for it

2004-10-14 Thread Antony Paul
Do you want an e-mail server or just send an e-mail. To send e-mail use JavaMail. As far as Tomcat is concerned, you can bind a mail session to Tomcat JNDI tree and retrieve it to send mail. I JavaMail API jar is bundled with Tomcat at common\lib\mail.jar. Look at the server.xml and JNDI

Re: Tomcat email system or analogs for it

2004-10-14 Thread aleksej
Very strange, I have 5.0.27 installed and there is no mail.jar in its standart instaliation. :/ Do you want an e-mail server or just send an e-mail. To send e-mail use JavaMail. As far as Tomcat is concerned, you can bind a mail session to Tomcat JNDI tree and retrieve it to send mail. I

Re: [OT] conflicting jars

2004-10-14 Thread QM
(I've marked the subject off-topic, as your question has little to do with Tomcat itself.) On Wed, Oct 13, 2004 at 08:20:43PM -0700, Prajakta Nivargi wrote: : So there is a conflich between these two jars. Compiling Rei with the new version of Jena is not possible as Rei is a third party

Sv: Sv: ActiveDirectory realm

2004-10-14 Thread Roland Carlsson
Ok, so I can use LDAP to Authenticate and Authorize my users via AD. There are no problem with them having to write there credentials again, there are other solutions for that. About security we have to use SSL anyway so I'll guess that it will solve the problem. I'm trying with the following

Re: Class loading in tomcat 5.0

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 06:13:59AM +0200, Narayan, Satya wrote: : I have a doubt regarding class loading in tomcat 5.0 . Is it different from tomcat 4.0 ? Compare the classloader docs for the two versions and see. It's been a while since I've used Tomcat 4, but my guess is that if you

Re: live disable realm

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 11:14:52AM +0200, Boulay Arnaud wrote: : My webapp is defined with a realm X. : When the webapp starts, the realm is not available (break down somewhere ...). : How can I dynamicly say to my webapp to use the realm Y without change the Context declaration ? I don't think

Re: Tomcat email system or analogs for it

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 02:44:20PM +0300, aleksej wrote: : Very strange, I have 5.0.27 installed and there is no mail.jar in its : standart instaliation. :/ I believe that's SOP for Tomcat. You can download the JavaMail JARs from java.sun.com. -QM -- software -- http://www.brandxdev.net

administration webapp

2004-10-14 Thread Michael Simpson
Hello list. Just joined the list and I'm very new to Tomcat. I have a problem accessing the administration webapp and manager webapp links from the default Tomcat home page. The following is listed on the home page: NOTE: For security reasons, using the administration webapp is restricted to

Re: Sv: Sv: ActiveDirectory realm

2004-10-14 Thread Nikola Milutinovic
Roland Carlsson wrote: Ok, so I can use LDAP to Authenticate and Authorize my users via AD. There are no problem with them having to write there credentials again, there are other solutions for that. About security we have to use SSL anyway so I'll guess that it will solve the problem. I'm

RE: DBCP doesn't see .jar in context ???

2004-10-14 Thread Shapira, Yoav
Hi, I am trying to use the DriverAdapterCPDS in DBCP. When I run my eclipse app standalone to test my class, the cpds.setDriver(strDriver); function works Running your app in an IDE is not the same as running it standalone, and means you're subject to whatever classpath the IDE assigns.

RE: administration webapp

2004-10-14 Thread Shapira, Yoav
Hi, This is the code from tomcat_users.xml : ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ user username=tomcat password=tomcat roles=tomcat/ user username=role1 password=tomcat roles=role1/ user username=both password=tomcat

RE: Tomcat email system or analogs for it

2004-10-14 Thread Shapira, Yoav
Hi, We're not legally allowed to distribute the JavaMail (and its dependency Java Activation Framework) APIs. So we don't ;) But we provide support for them as explained in the Mail Sessions section at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.htm l. Yoav Shapira

RE: live disable realm

2004-10-14 Thread Shapira, Yoav
Hi, On Thu, Oct 14, 2004 at 11:14:52AM +0200, Boulay Arnaud wrote: : My webapp is defined with a realm X. : When the webapp starts, the realm is not available (break down somewhere ...). : How can I dynamicly say to my webapp to use the realm Y without change the Context declaration ? I don't

RE: Problem with web.xml error-page not invoking servlet filter

2004-10-14 Thread Shapira, Yoav
Hi, I think this is according to the spec. It took us a while to sort this out, and several consultations with the JSP Spec leads. It's related to those new filter mapping types defined in Spec version 2.4. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Rick Wong

RE: pointing subdomains to different web applications??

2004-10-14 Thread Shapira, Yoav
Hi, One way to do to this is declare a separate host Host for containers.mydomain.com than the one for www.mydomain.com in server.xml. The two Hosts would each have their own appBase directory, and you can put whatever (different) webapps you want in those directories. Yoav Shapira

RE: Resin slower than Tomcat, fails the AppFuse Test

2004-10-14 Thread Shapira, Yoav
Hi, Cool. Thanks for posting the link. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Andy Hutchinson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 4:19 AM To: [EMAIL PROTECTED] Subject: Resin slower than Tomcat, fails the AppFuse Test So now you know!

RE: live disable realm

2004-10-14 Thread Boulay Arnaud
Ok merci beaucoup Yoav !!! QM, I agree with you that code MUST be clear,efficient and stable but a Realm can use and external resource (that's the aim ;-) and if that resource is out of order, the webapp could automaticly switch to an another one and garantees a continued service. Regards,

RE: administration webapp

2004-10-14 Thread Michael Simpson
Hi Yoav. I actually tried that bit of code before - tried again just now and still does not work. Error generated is Invalid username or password. Anything else I can check? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 13:50 To: Tomcat Users

context file

2004-10-14 Thread kax
Hi, We have an installation program that installs our application on a tomcat server. I haven't build this installation program but I it's on my shoulders now to fix it. When the program runs a context file is generated for each application and is placed under the folder

RE: administration webapp

2004-10-14 Thread Shapira, Yoav
Hi, I actually tried that bit of code before - tried again just now and still does not work. Error generated is Invalid username or password. For me, it's pretty trivial. Download Tomcat .zip, expand. Edit conf/tomcat-users.xml with Notepad, add roles for manager/admin, and a user with those

Re: Class loading in tomcat 5.0

2004-10-14 Thread Andoni
I'd hazard a guess that your answer is no. The way in which the JVM loads classes is documented here: http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html good luck reading this! How about writing 2 (one's a copy) classes CalledClass.java, CalledClass.java and

Re: RE??: live disable realm

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 03:26:04PM +0200, Boulay Arnaud wrote: : QM, I agree with you that code MUST be clear,efficient and stable but a Realm can use and external resource (that's the aim ;-) and if that resource is out of order, the webapp could automaticly switch to an another one and

tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread shyam
Hi All, I have a problem starting tomcat as a service. I get this error in the tomcat log for Jakarta_service log. JNI Error occurred during initialization of VM [2004-10-14 01:22:29] [info] JNI [2004-10-14 01:22:29] [info] JNI Could not reserve enough space for object heap [2004-10-14 01:22:29]

Servlet caching?

2004-10-14 Thread Carlos
Do servlets in Tomcat (1.4) catch results of programs that they run? I have a java servlet that lists the print services of printers installed in the server (Linux Red Hat). I run the servlet before and after I install a couple of printers in the server; however, the list of printer services

Re: administration webapp

2004-10-14 Thread Andoni
Hi, Make the following the entire contents of your tomcat-users.xml file and all will be happy. ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=express/ role rolename=tomcat/ role rolename=role1/ user username=tomcat password=tomcat roles=tomcat/ user username=role1

Re: Servlet caching?

2004-10-14 Thread Tim Funk
It sounds like one of the classes the Servlet is depending on is caching the result. -Tim Carlos wrote: Do servlets in Tomcat (1.4) catch results of programs that they run? I have a java servlet that lists the print services of printers installed in the server (Linux Red Hat). I run the

Re: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Mike Millson
On Thu, 2004-10-14 at 05:56, Antony Paul wrote: Do you mean Apache dont have any security holes. I dont know about hacking a system. But in terms of security Tomcat is far better than Apache since it dont have any security vulnerabilities. But if you run tomcat standalone, you have to run

RE: Servlet caching?

2004-10-14 Thread Shapira, Yoav
Hi, The servlets by themselves do what you tell them to: you wrote them, after all ;) Tomcat doesn't provide any caching of response content by itself without special effort or configuration on your behalf. As Tim said, my guess is a utility class used by your servlet is doing the caching for

RE: tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread Shapira, Yoav
Hi, I bet your -Xmx parameter is too big for your physical hardware. Yoav Shapira http://www.yoavshapira.com -Original Message- From: shyam [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:41 AM To: 'Tomcat Users List' Subject: tomcat 5.0.29 service start problem (JNI) Hi

AW: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Steffen Heil
Hi But if you run tomcat standalone, you have to run tomcat as root. NO. There are ways to run tomcat using jsvc and others. Search the archive - I haven't done so myself yet. Apache does not run as root, so if you run Apache in front of tomcat, you can avoid exposing the root account. And

Tomcat 5.0.28 Shutdown problem

2004-10-14 Thread sudip shrestha
Hi! My system: Tomcat 5.0.28 on Fedora Core 2. Server Startup is normal. However, during shutdown looks like there is a problem in shutting Coyote down...It takes a bit more than 3 minutes till it throws exception and dies. Here is the log:

Help with mod_jk2

2004-10-14 Thread tomcat
Hello all, I have gotten mod_jk2 working just fine for multiple instances of tomcat and jvm. However, could one of you jk2 experts help me streamline this? worker2.properties is a pain for each instance. Is there a way to set it so that all processes are processed by tomcat instead of having the

RE: tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread shyam
Hi, I have enough memory . I have set it up to use 1500mb where as I have enough ram of 2000. I have checked the windows site with their latest security updates. My guess is something to do with that coz I have been running with this configuration for almost an year now and never had any

Tomcat command line arguments

2004-10-14 Thread Cumbers
Hey I give the following command to start Tomcat version 5 with a CATALINA_BASE different to the default one: ./startup.sh -Dcatalina.base=/some/dir/that/exists But it fails to pass the argument, what am I doing wrong? Cheers Rich

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Phillip Qin
Dangerous. You should run tomcat as a non-root user, no login, no shell. The reason Apache is involved is because we want Apache to serve static pages. -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 9:58 AM To: Tomcat Users List Subject: Re:

RE: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Phillip Qin
Sorry, but what is jsvc? -Original Message- From: Horacio de Oro [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 1:47 AM To: Tomcat Users List Subject: Re: Sun J2SE JVM + tomcat + Debian?? Hi! Just to add some info: I've found some problem with Debian Woody + Sun 1.4.2 JDK... at

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread tomcat
Yes for static, but what about port 80? John Dangerous. You should run tomcat as a non-root user, no login, no shell. The reason Apache is involved is because we want Apache to serve static pages. -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED] Sent: October 14,

RE: Help with mod_jk2

2004-10-14 Thread Montz, James C. (James Tower)
Just a simple questions, then an answer. If you are front-ending Tomcat with a web server, why are you passing things like .html, .gif, .jpg, etc. to Tomcat to process? The web server itself is a bit more efficient in handling this content. Secondly, what web server front end are you using?

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Angus Mezick
I have been using mod_jk2 for a long time now. I have no idea why so many people dislike it (well, after they get it compiled that is). I might just be blessed in that I run on win2k servers and can just get the binary for mod_jk2. I have never had to deal with the pain of compiling this thing.

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Angus Mezick
If you want access to some of apaches more advanced features, yup, you need apache infront of tomcat. --Angus -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 11:59 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: mod_jk2

RE: administration webapp

2004-10-14 Thread Michael Simpson
Hi Andoni Yoav. Tried what Andoni recommended - no joy. From the documentation, inorder to access admin and manager webapp the user must have those respective roles. I've commented out the Realm code in server.xml, so effectively there no encyption on any passwords, just the password

Re: Tomcat command line arguments

2004-10-14 Thread Andy Hutchinson
At 15:15 14/10/2004, you wrote: Hey I give the following command to start Tomcat version 5 with a CATALINA_BASE different to the default one: ./startup.sh -Dcatalina.base=/some/dir/that/exists But it fails to pass the argument, what am I doing wrong? Set the environment variable CATALINA_OPTS

RE: administration webapp

2004-10-14 Thread Montz, James C. (James Tower)
In server.xml, I'm not exactly sure what MD2 is. I know what MD5 is, and it's clear that your passwords in tomcat-users.xml are clear text. Try removing digest= from Realm and restart. -Original Message- From: Michael Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004

RE: administration webapp

2004-10-14 Thread Shapira, Yoav
Hi, I've commented out the Realm code in server.xml, so effectively there no encyption on any passwords, just the password authentification from tomcat-users.xml. What I said is not to comment out the Realm or modify it at all. The Realm and encryption are not one and the same. You must have

RE: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Phillip Qin
Find out jsvc. It's new, not in 4.1. Why don't you use startup.sh instead? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 10:16 AM To: 'Tomcat Users List' Subject: RE: Sun J2SE JVM + tomcat + Debian?? Sorry, but what is jsvc? -Original

Re: Resin slower than Tomcat, fails the AppFuse Test

2004-10-14 Thread Michael McGrady
+1 Shapira, Yoav wrote: Hi, Cool. Thanks for posting the link. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Andy Hutchinson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 4:19 AM To: [EMAIL PROTECTED] Subject: Resin slower than Tomcat, fails the AppFuse

RE: Class loading in tomcat 5.0

2004-10-14 Thread Narayan, Satya
Hi , Thanks a lot for your help. What I want to achieve is control the way jars are loaded. I want to load a particular jar(say X.jar) before another jar(say Y.jar) . Can this be achieved ? Thanks and Regards, Satya -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent:

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
Remy Maucherat remy.maucherat at gmail.com writes: On Wed, 13 Oct 2004 21:38:00 + (UTC), Derek Mahar dmahar at penson.ca wrote: Shapira, Yoav Yoav.Shapira at mpi.com writes: I should mention that originally, I did not have antiJARLocking enabled, but enabling both antiJARLocking

RE: Class loading in tomcat 5.0

2004-10-14 Thread Shapira, Yoav
Hi, What I want to achieve is control the way jars are loaded. I want to load a particular jar(say X.jar) before another jar(say Y.jar) . Can this be achieved ? Only be putting X.jar in a repository that has higher priority than Y.jar. Within the same repository, you can't control loading

RE: administration webapp

2004-10-14 Thread Michael Simpson
Hi James. This is from the Digest documentation: The value for this attribute must be one of the digest algorithms supported by the java.security.MessageDigest class (SHA, MD2, or MD5). Tried it with MD5 and the digest param commented out - no joy. Yoav: bear with me, but how would I check the

Re: Tomcat 4.x with Oracle OCI connection-Error

2004-10-14 Thread Annamalai Ramasamy
Any Idea..below is my prev post.may be i'm missing reply if any one did so Hi., I'm using OCI to connect the oracle8.x from my Tomcat. After some period of time tomcat get lost the DataBase Connection. I'm getting this two errors. ORA-03113: end-of-file on communication channel ,

RE: tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread Caldarale, Charles R
From: shyam [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 5.0.29 service start problem (JNI) I have enough memory . I have set it up to use 1500mb where as I have enough ram of 2000. This has nothing to do with physical memory. The maximum heap size is dependent on the largest contiguous

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
On Thu, 14 Oct 2004 14:54:52 + (UTC), Derek Mahar [EMAIL PROTECTED] wrote: Remy Maucherat remy.maucherat at gmail.com writes: On Wed, 13 Oct 2004 21:38:00 + (UTC), Derek Mahar dmahar at penson.ca wrote: Shapira, Yoav Yoav.Shapira at mpi.com writes: I should mention that

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Dale, Matt
Run it as a daemon then you can run it as a non root user with permissions on port 80 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 15:20 To: Tomcat Users List Subject: RE: mod_jk2 Ready/Recommended For Production? Yes for static, but what

Re: How to redirect http to https automatically?

2004-10-14 Thread David Wall
This is part of the servlet specs. In your WEB-INF/web.xml file, you need a security constraint that says the site should be secure, something like: security-constraint web-resource-collection web-resource-nameEntire site/web-resource-name url-pattern/*/url-pattern

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
Some random stuff: Only use either antiJARLocking or antiResourceLocking. Never both. Also, on your Context element, remove debug, path, and docBase, which are either gone, or are rundundant data. -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL

MySQL driver randomly not found?

2004-10-14 Thread Kaleb Pederson
Hello! I'm having an interesting problem wherein about 5-10% of the time, for no apparent reason whatsover, the MySQL driver just can not be found. I have a symlink to it in TOMCAT_DIR/common/lib. I just replaced the symlink with a copy of the actual library to see if that would make a

Re: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Just curious...Why are you using a symlink? [EMAIL PROTECTED] 10/14/04 9:59 AM Hello! I'm having an interesting problem wherein about 5-10% of the time, for no apparent reason whatsover, the MySQL driver just can not be found. I have a symlink to it in TOMCAT_DIR/common/lib. I just

RE: MySQL driver randomly not found?

2004-10-14 Thread Shapira, Yoav
Hi, Does it happen without the connectors/Apache in front? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 12:13 PM To: [EMAIL PROTECTED] Subject: Re: MySQL driver randomly not found? Just

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
The only thing I am willing to look at is a ready to run WAR. I'd be happy to send it to you if it was mine to send, but it belongs to my employer. Plus, the database connections would all fail. Derek - To unsubscribe,

Re: context file

2004-10-14 Thread kax
I solved the problem. I was ok to put the context file in tomcat before the war file as long as you deployed the context file and war file together like this: http://localhost:8080/manager/deploy?config=file:/path/context.xmlwar=jar:file:/path/bar.war!/ /Kax From: kax [EMAIL PROTECTED]

server can't compile some jsp.

2004-10-14 Thread Andrey Rogov
! I have no problems with application working on my computer. But, on the customers computer I am facing the problems with the same application. Some pages are compiled, and some not. Configuration ... Wintel, Tomcat5.12, j2sdk1.4.1_02. Tomcat log below. Would you mind looking throw it.

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Yes apache. Well, I thought it strange too that it wasnt passing the html, gif etc unless i added it to the workers2. So I can put this jkUriSet in the apache file. -nice Ill try this. This is what I did for mod_jk, but those jkmounts no longer worked in apache2. Thanks! John Just a simple

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
Remy Maucherat remy.maucherat at gmail.com writes: Some random stuff: Only use either antiJARLocking or antiResourceLocking. Never both. Also, on your Context element, remove debug, path, and docBase, which are either gone, or are rundundant data. Thank you for pointing out these

disable Restart Persistence using the standard Manager implementation

2004-10-14 Thread Sun House
Hi all, I use TC 5.27. I have a server.xml cofigured without Manager element configured - thus according to documentation, tomcat run, using it's standard manager implementation. Also, according to documentation whenver Catalina is shut down normally and restarted, or when an application

RE: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Interesting question...how does that impact classloading? [EMAIL PROTECTED] 10/14/04 10:15 AM Hi, Does it happen without the connectors/Apache in front? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, October

RE: MySQL driver randomly not found?

2004-10-14 Thread Shapira, Yoav
Hi, It might not, but it's always a question, because it's part of the KISS principle. The simpler the environment, the easier it is for the OP to test and for others to reproduce the OP's test results. The less moving pieces, the less chance for error. Yoav Shapira http://www.yoavshapira.com

Porting a servlet app to ASP.NET?

2004-10-14 Thread Steve Kirk
A customer is interested in licensing and developing the source code for a servlet-based webapp that I am writing, but for maintenance and support reasons they want it written in MS technologies (asp, asp.net, c#, etc) rather than Java servlets. I have some experience of webapps written in ASP

RE: disable Restart Persistence using the standard Manager implementation

2004-10-14 Thread Shapira, Yoav
Hi, Try setting pathname= in the Manager declaration in server.xml. You could also try setting an invalid pathname. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Sun House [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 12:32 PM To: [EMAIL PROTECTED]

RE: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Hahah, similar reasoning wth my symlink question...shouldn't matter, but... [EMAIL PROTECTED] 10/14/04 10:47 AM Hi, It might not, but it's always a question, because it's part of the KISS principle. The simpler the environment, the easier it is for the OP to test and for others to reproduce

[OT] Re: Porting a servlet app to ASP.NET?

2004-10-14 Thread Ben Souther
On Thu, 2004-10-14 at 12:47, Steve Kirk wrote: A customer is interested in licensing and developing the source code for a servlet-based webapp that I am writing, but for maintenance and support reasons they want it written in MS technologies (asp, asp.net, c#, etc) rather than Java servlets.

RE: disable Restart Persistence using the standard Manager implementation

2004-10-14 Thread Sun House
Hi, I do not have a manager element in my server.xml. Thus, i use the default manager setting. Is this mean that i HAVE to set this element? And if so, how do i achieve the default behavior? I.e. will this configuration do the work? context manager pathname= className=

RE: disable Restart Persistence using the standard Manager implementation

2004-10-14 Thread Shapira, Yoav
Hi, I do not have a manager element in my server.xml. When Tomcat ships, a Manager is in server.xml by default. Did you remove it? Is this mean that i HAVE to set this element? Yes, as with all other elements, if you want non-default behavior you must specify it. That's the meaning of

RE: server can't compile some jsp.

2004-10-14 Thread Shapira, Yoav
Hi, Make sure the user running the Tomcat server has write permissions on the $CATALINA_HOME/work directory. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Andrey Rogov [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 12:19 PM To: Tomcat users Subject:

Re: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Jeff Bowden
Yeah, I'm using -server. I tried kernel 2.4.27 on the debian box and that actually works. If I get a chance I'll try it w/o -server on 2.6.7 but for now I'm happy that I don't have to switch distros just to run Java. Eric Weidner wrote: My config single-cpu Debian Sid Kernel 2.6.7 Sun jdk

RE: tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread shyam
Thanks you for all the replies. I havent fixed it but I am sure that's the problem with windows update. Will play with the -Xmx parameter later Thanks shyam -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 11:05 AM To: Tomcat Users

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
On Thu, 14 Oct 2004 16:29:00 + (UTC), Derek Mahar [EMAIL PROTECTED] wrote: Remy Maucherat remy.maucherat at gmail.com writes: Some random stuff: Only use either antiJARLocking or antiResourceLocking. Never both. Also, on your Context element, remove debug, path, and docBase,

Re: MySQL driver randomly not found?

2004-10-14 Thread Kaleb Pederson
On Thursday 14 October 2004 9:13 am, Larry Meadors wrote: Just curious...Why are you using a symlink? I'm setting it up so that I can have multiple instances of tomcat running and I don't want many different copies of the files floating around if at all possible. It also makes it easy for me

Re: MySQL driver randomly not found?

2004-10-14 Thread Kaleb Pederson
On Thursday 14 October 2004 9:15 am, Shapira, Yoav wrote: Does it happen without the connectors/Apache in front? I'll see if I can reproduce it on my test server without the AJP connector and Apache. Thanks. --Kaleb Yoav Shapira http://www.yoavshapira.com -Original Message-

  1   2   >