RE: Determining file locations in tomcat

2006-05-16 Thread Benjamin Armintor
Or you could let go of the idea of file paths and use a URL from the ServletContext.getResource() or the corresponding InputStream from ServletContext.getResourceAsStream(). This also allows you to package the .xsl up in a .war file without breaking. -Original Message- From: Mark

Problem with starting tomcat

2006-05-16 Thread Kalpana HV
Hi People, I am new to Java/Webserver. I have installed JDK1.4.0 and have copied jakarta-tomcat-4.1.31 to my system(Win 2K). I have set JAVA_HOME CATALINA_HOME environment variables and ran the startup script. I am getting the following exception: May 16, 2006 6:09:44 PM

Re: Problem with apache tomcat

2006-05-16 Thread Gaël Lams
Hi, installed with Apache 2.0,Apache tomcat version 5.0.28 and Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01). There is freqent problem with Tomcat. It gets If Im' not wrong, only Tomcat 5.5.x works with the JRE, Tomcat 5.0.x needs the JDK. Also Tomcat 5.0.x needs JDK 1.4.x

Re: Problem with apache tomcat

2006-05-16 Thread edoardo
Gaël Lams wrote: Hi, installed with Apache 2.0,Apache tomcat version 5.0.28 and Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01). There is freqent problem with Tomcat. It gets If Im' not wrong, only Tomcat 5.5.x works with the JRE, Tomcat 5.0.x needs the JDK. Also Tomcat

JK Connector not distinguishing between Virtual hosts

2006-05-16 Thread Naren Koka
I am using mod_jk with Tomcat 5 and Apache 2.2. JK is directing to the default Host in Tomcat Server. It is not able to distinguish the sites. When we go to abc2.com, it shows half the content from abc1.com, which has a lot of files with the same name as abc2.com. Is this a known bug? Anybody

Re: Determining file locations in tomcat

2006-05-16 Thread Mark Petrovic
Yes. Calvin, if you haven't used Benjamin's technique of bundling an interesting file in a jar file, check it out. You'll grow to depend on it and enjoy using it. Are you familiar with the technique? If not, contact me off list and I will assist. Markk On 5/15/06, Benjamin Armintor [EMAIL

Re: Problem with starting tomcat

2006-05-16 Thread Mark Petrovic
It looks like there may be a problem with your admin.xml file, but I'm not sure. Maybe you can post it. On 5/16/06, Kalpana HV [EMAIL PROTECTED] wrote: Hi People, I am new to Java/Webserver. I have installed JDK1.4.0 and have copied jakarta-tomcat-4.1.31 to my system(Win 2K). I have set

Client certificate

2006-05-16 Thread Srikanth Madarapu
Hi I am new to tomcat. I have a jsp that connects to a web service available on a secure server. I need to have the client certificate so I have set the following system properties. System.setProperty( javax.net.ssl.trustStore, C:/Tomcat 5.5/webapps/SSO/client.keystore );

RE: Client certificate

2006-05-16 Thread Srikanth Madarapu
I am sorry forgot to mention the error message, the error I get is java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed:

AppBase

2006-05-16 Thread Dirk Moolman
I saw this being discussed in a thread, and found this in the documentation, but still do not understand the variable (apologies for all these simple questions). From the name, I assume AppBase is the directory where I install my individual applications (or is this just one central directory ?).

Sorry: Suresh is OUT of the office...

2006-05-16 Thread Suresh Nair
I will be out of the office starting 17/05/2006 and will not return until 25/05/2006. If you need to reach me urgently, please e-mail: [EMAIL PROTECTED] I will be out of Singapore but will be available over the (above) e-mail address. Have a nice day, my dear friend:):) SURESH NAIR I'll not

TroubleShooter Servlet

2006-05-16 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Hey all... I have what may be a dumb question...but its more for verification. Is theTroubleshooter servlet still included with the Tomcat 5.5? I know that there was a Security Alert on this Servlet in previous versions of Tomcat and if I recall correctly the only fix for it was to remove it

No Suitable Driver

2006-05-16 Thread Jay Wallhaus
I keep getting the following error: javax.servlet.ServletException: Unable to get connection, DataSource invalid: java.sql.SQLException: No suitable driver org.apache.jasper.runtime.PageContextImpl.doHandlePageException( PageContextImpl.java :825)

RE: Tomcat Shutdown Unexpectedly

2006-05-16 Thread Sean2006
Dan, Have you found a solution to this problem? Thanks, Sep. -- View this message in context: http://www.nabble.com/Tomcat-Shutdown-Unexpectedly-t1598450.html#a4416594 Sent from the Tomcat - User forum at Nabble.com. - To

RE: No Suitable Driver

2006-05-16 Thread Tim Lucia
That message indicates a class not found problem. So, for the connection string (URL), and more specifically, the jdbc:mysql: portion of it, no driver was registered or the specified driver 9if registered) was not found. I.e., the mysql portion needs somehow to be registered with the driver class

Unable to consume a secure web service from with in a JSP

2006-05-16 Thread Srikanth Madarapu
Hi I am trying to consume a web service that is available on a secure web server (oracle app server). I have created a jsp and deployed under Tomcat 5.5.9. When I try to consume the web service I am getting the error below... Caused by: HTTP transport error: javax.xml.soap.SOAPException:

RE: Unable to consume a secure web service from with in a JSP

2006-05-16 Thread Paul, Richardson
Hi, This might not be the issue that you are facing, but please check if the connection goes through an ISA server. If it is then it would require authentication for the connection, by default. This sometimes cause problems with the applications using SOAP for SSL. Please run a monitoring from the

RE: Tomcat Shutdown Unexpectedly

2006-05-16 Thread Dan Golob
Hello ... No, I have not. I honestly don't even know where to look. Since I don't want it to get worse, we are simply restarting tomcat immediately after it goes down. Dan -Original Message- From: Sean2006 [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 10:00 PM To:

Ant deploy task and cluster-wide (farm) deployment

2006-05-16 Thread Tim Lucia
Is it possible to deploy to a cluster using the deploy task? (i.e., can it be done using /manager/html?) I think not (I can't find any way to do it.) If no, are there any plans to support this in the future? I ask because I have found that production re-deployment is an unreliable process

error line 241

2006-05-16 Thread ahum
Hello all For some reason when trying to run tomcat, i'm getting an error message that says Error reading c:\tomcat\jakarta-tomcat-3.3.2\conf\server.xml At Line 241 /server/contextmanager/coyoteconnector/ port=8080 maxThreads=150 minsparethreads=25 maxsparethreads=75 enablelookups=false

RE: Unable to consume a secure web service from with in a JSP

2006-05-16 Thread Srikanth Madarapu
Hi Richie Thanks for the reply, but sorry I didn't quite understand what you are trying to tell. What is ISA server ? FYI the oracle app server and the tomcat web server both are running on the same windows box. The web services are deployed on the oracle application server and are available

RE: Unable to consume a secure web service from with in a JSP

2006-05-16 Thread Paul, Richardson
Sorry I was not clearer! Now, is the client machine that is connecting to the web server is also in the same network? If yes, then what I said would not apply. I am talking about a scenario when the connection would be across the Internet through a firewall. An Internet Security and Acceleration

Session Replication

2006-05-16 Thread Lonnie
Hi, I'm having a bit of difficulty getting session replication working with 2 servers running tomcat 5.5.16. I have configured apache to load balance and fail over when one tomcat stops. I've been able to get the tomcat servers to fail over. I have also had limited success in getting

RE: Unable to consume a secure web service from with in a JSP

2006-05-16 Thread Srikanth Madarapu
Hi Both the client and server are running on the same windows box, meaning in the same network. -Original Message- From: Paul, Richardson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 5:20 PM To: Tomcat Users List Subject: RE: Unable to consume a secure web service from

Error runing Tomcat 3.3.2 on Fedora

2006-05-16 Thread Yuri Huitron Alvarado
./startup Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-api.jar Using JAVA_HOME: /usr/local/jdk1.5 Using TOMCAT_HOME: /usr/jakarta-tomcat-3.3.2 ./tomcat: line 249: /usr/jakarta-tomcat-3.3.2/logs/tomcat.pid: No such file or directory [EMAIL PROTECTED] bin]# There was an

Re: error line 241

2006-05-16 Thread Bill Barker
ahum [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all For some reason when trying to run tomcat, i'm getting an error message that says Error reading c:\tomcat\jakarta-tomcat-3.3.2\conf\server.xml At Line 241 /server/contextmanager/coyoteconnector/ port=8080

Re: Error runing Tomcat 3.3.2 on Fedora

2006-05-16 Thread Bill Barker
The first one is that you don't have a logs directory, or some file permission problem. However, it won't actually stop Tomcat from running in and of itself. The second is a problem with your JVM installation. Yuri Huitron Alvarado [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Application Configuration

2006-05-16 Thread Mark Thomas
Mark Petrovic wrote: I can help you off list. Please mail me directly. Doing things off-list is generally a bad idea as the Tomcat community as a whole is unable to benefit from the experience. Mark - To unsubscribe, e-mail:

Re: JK Connector not distinguishing between Virtual hosts

2006-05-16 Thread Bill Barker
Naren Koka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am using mod_jk with Tomcat 5 and Apache 2.2. JK is directing to the default Host in Tomcat Server. It is not able to distinguish the sites. When we go to abc2.com, it shows half the content from abc1.com, which has a lot

Application configuration: how to read files from a web application

2006-05-16 Thread Mark Petrovic
A few people in the last few days on the Tomcat Users have essentially asked: How do I read a file from disk from within my web application, and furthermore, how do I declaratively configure the name of that file so as to keep its path out of my code? It's a common question, and there is a good