RE: How to start ant to use the webapps classpath?

2005-12-28 Thread Zsolt
Yes I tried it but it didn't help. >-Original Message- >From: Balint Domokos [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 28, 2005 9:41 PM >To: Tomcat Users List >Subject: Re: How to start ant to use the webapps classpath? > >Hi, > >did you try >project.setCoreLoader(YourServletCla

Re: Problem with Cache

2005-12-28 Thread RITWICK
I,ve done it using: String myURL = "../frame.html"; myURL += "?" + Math.random(); response.sendRedirect(myURL); the url's are also changed with different random tags.But the problem stll exists very much. I've thought an alternative to stram the file to the browser through Fil

Re: Problem with Cache

2005-12-28 Thread Pete Lamborne
tack a random number on the url. String myURL = "../frame.html"; myURL += "?" + Math.rand(); response.sendRedirect(myURL) The headers wouldn't help cachebust a static html file, you'll have to do it this way. HTH pete RITWICK wrote: Hi, I have redirected a page through

Problem with Cache

2005-12-28 Thread RITWICK
Hi, I have redirected a page through response.sendRedirect("../frame.html") command. Every time the servlet is called it updates the file.html & is redirected to it.But the problem is the browser shows the file.html from its cache everytime. Though the file ge

Session persistence - unique index violated

2005-12-28 Thread Edmon Begoli
Hi, When I enable JDBC session persistence I get ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ( JDBCStore.java:791) - SQL Error java.sql.SQLException: ORA-1: unique constraint (APP_NAME) violated I followed the instructions to add APP_NAME as a key, but when I look at what i

Re: Tomcat 5.5.12: Stopping webapp doesn't seem to kill everything?

2005-12-28 Thread Shankar Unni
Kevin Roll wrote: I'm using Tomcat 5.5.12 on a Linux box. My web application uses a third-party library which opens up a port to listen for incoming connections. You definitely need a LifecycleListener or some other mechanism (an InitServlet with a destroy() method) to catch the stopping of

How to download a soft-link file in Tomcat 4.1.23?

2005-12-28 Thread zhang chao
I want to download a file in my home directory -- /home/kartwall/outfile but, this directory is not in my web-application directory -- /opt/easycluster/interface is my web application's root directory. So, I make a new directory named "mapoutfile" under /opt/easycluster/interface and construct

HELP: How to configure username, password for JDBC/Oracle based Tomcat's session persistence

2005-12-28 Thread Edmon Begoli
Can someone please share the configuration file (context.xml) for Tomcat 5.5and how did you configure username password for connectionURL for Oracle thin driver. As you know element does not define separate attributes for username/password so you need to somehow embed them in the connectionURL.

Re: Please Help! Error in using Packages

2005-12-28 Thread Teh Noranis Mohd Aris
Actually, it's only a small matter. I accessed the url from the browser by not following the correct path as in the url-pattern in web.xml file. That's why I got the error message 404 where the path is not available. TEH --- KJ R <[EMAIL PROTECTED]> wrote: > Usually, when you solve a problem, i

Re: does Tomcat support optional packages?

2005-12-28 Thread Mark Thomas
Marina wrote: > Mark, > Thanks for the clarification! > > I still have the same problem with extension not found > though. I checked in the code you pointed me to which > attributes are required and added them to both shared > JAR's MANIFEST.MF and to my Web app's MANIFEST.MF. I > placed all share

Re: log4j setup in tomcat 5.0

2005-12-28 Thread Dwayne A. Ghant
If I remember correcty you should but the "properties" file(s) in the CATALINA_HOME/conf direcotry??? Let me know if it works. bana lakshmi narayana reddy wrote: Hi, I need small help. for setup a log4j in tomcat 5.0 i have done the following steps 1). copied log4j.jar into CATALINA_HOME/

log4j setup in tomcat 5.0

2005-12-28 Thread bana lakshmi narayana reddy
Hi, I need small help. for setup a log4j in tomcat 5.0 i have done the following steps 1). copied log4j.jar into CATALINA_HOME/common/lib 2). copied log4j.properties file into CATALINA_HOME/common/classes still i am not able done a setup. Is there anything is missed in my setup process..

Re: Getting list of all deployed web applications

2005-12-28 Thread Martin Gainty
Hello Dhaval Did you try Host myHost = (Host)context.getParent()? Anyone else? Martin- -- Original Message - From: "Dhaval Patel" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Wednesday, December 28, 2005 5:21 PM Subject: Re: Getting list of all dep

Re: JVM Memory allocation

2005-12-28 Thread Dwayne A. Ghant
1. Look in you "/bin" directory. 2. Look for a file called service.bat 3. Look for a line that reads something like "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp" --JvmMs 128 --JvmMx 256. Change your memory listed in step 3. Shah, Bharat wrote:

Re: Getting list of all deployed web applications

2005-12-28 Thread Dhaval Patel
Hi Martin, Thanks for reply but I am looking at something different. System.getEnv(...) returns string which it supposed to. The method is for retriving environment variables (which are loaded from properties file, etc. while starting an application-tomcat) The "host" that I am talking abou

JVM Memory allocation

2005-12-28 Thread Shah, Bharat
Good afternoon, I am a new Tomcat user. The Tomcat version installed on my server is 5.0.25. It is running on Windows 2000 and started as a Windows service. Though I have the following parameters specified in the Windows registry, it is running with a default 64M as observed from the Server St

Re: Getting list of all deployed web applications

2005-12-28 Thread Martin Gainty
If I'm not mistaken its an environment variable which can be obtained via java.lang.System.getEnv("HTTP_HOST"); Take a look at http://java.sun.com/j2se/1.5.0/docs/api/ Martin- - Original Message - From: "Dhaval Patel" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 28, 2005 3:11 PM Su

Re: Apache version

2005-12-28 Thread Wade Chandler
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > > Good Afternoon Franklin- > Running PHP on Apache would be like putting a Yugo > engine in a McLaren > ..ok if your users demand sluggish performance from > their webapp server > Martin- > - Original Message - > From: "Franklin Phan" <[EMAI

Re: does Tomcat support optional packages?

2005-12-28 Thread Marina
Mark, Thanks for the clarification! I still have the same problem with extension not found though. I checked in the code you pointed me to which attributes are required and added them to both shared JAR's MANIFEST.MF and to my Web app's MANIFEST.MF. I placed all shared jars into the $TOMCAT/share

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-28 Thread Rodrigo Ruiz
I guess it does not. Such an action should be considered a responsibility of the web application. Anyway, you could suggest this in the Tomcat bug list as a new feature. Surely, it will not hurt ;-D Regards, Rodrigo Ruiz On 12/23/05, Durfee, Bernard <[EMAIL PROTECTED]> wrote: > > Does Tomcat cal

Re: Apache version

2005-12-28 Thread Martin Gainty
Good Afternoon Franklin- Running PHP on Apache would be like putting a Yugo engine in a McLaren ..ok if your users demand sluggish performance from their webapp server Martin- - Original Message - From: "Franklin Phan" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, December

Re: How to start ant to use the webapps classpath?

2005-12-28 Thread Balint Domokos
Hi, did you try project.setCoreLoader(YourServletClass.class.getClassLoader()); ? Regards, Balint On Wed, 2005-12-28 at 14:01 +0100, Zsolt wrote: > Hi, > > I have tomcat-5.5.12 and I copied all ant libraries (with my ones) into > /webapps/APPLICATION-NAME/WEB-INF/lib. > > When I start ant usi

Re: Apache version

2005-12-28 Thread Wade Chandler
--- Franklin Phan <[EMAIL PROTECTED]> wrote: > Oh. Probably not. Do I need to install Apache to > run PHP? > > > Charles Baker wrote: > > You may not be running apache. Installing tomcat > does not install > > apache. Did you install apache? > > > > > > Charles H. Baker > > O: 864.422.53

Re: Apache version

2005-12-28 Thread Franklin Phan
Oh. Probably not. Do I need to install Apache to run PHP? Charles Baker wrote: You may not be running apache. Installing tomcat does not install apache. Did you install apache? Charles H. Baker O: 864.422.5349 C: 864.201.8456 [EMAIL PROTECTED] There's nothing wrong with getting a stead

Re: Apache version

2005-12-28 Thread Wade Chandler
--- Franklin Phan <[EMAIL PROTECTED]> wrote: > I'm running Tomcat on Windows XP Pro. I'm trying to > set up PHP. How do I tell which Apache version I'm > running? > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For add

Re: [ANN] Clustering broken 5.5.10-5.5.14

2005-12-28 Thread Martin Gainty
Good Afternoon Pete- Peter Rossbach has registered a bug about Tomcat Clustering under Windows XP(specifically version 5.5.9) The Cluster patch is available here http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 Anyone else? Martin- - Original Message - From: "Pete Lamborne" <[EMAI

RE: Apache version

2005-12-28 Thread Charles Baker
You may not be running apache. Installing tomcat does not install apache. Did you install apache? Charles H. Baker O: 864.422.5349 C: 864.201.8456 [EMAIL PROTECTED] There's nothing wrong with getting a steady paycheck, unless it interferes with your ability to earn what you're worth. There's

Apache version

2005-12-28 Thread Franklin Phan
I'm running Tomcat on Windows XP Pro. I'm trying to set up PHP. How do I tell which Apache version I'm running? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Getting list of all deployed web applications

2005-12-28 Thread Dhaval Patel
Hi, Is there a way by which you can list of all web applications deployed? I know that if you go to manager webapp, you will see list of deployed applications. I want to achieve the same functionality but using jsp pages. I tried to understand the source of manager webapp but I could not f

Re: [ANN] Clustering broken 5.5.10-5.5.14

2005-12-28 Thread Pete Lamborne
what happened with the versioning? Before the project was handed off from Jakarta, we were at version 5.5.9 or something... So which version do I need to use clustering? Ronald Klop wrote: Is there any info about when an updated release is scheduled? On Fri Dec 23 19:45:11 CET

problem using connection pooling with Microsoft Sql Server as described in kB Article Q313173

2005-12-28 Thread Albert Farewege
I'm attempting to use the information provided in the Microsoft KB article Q313173 {http://support.microsoft.com/kb/313173/en-us to set up connection pooling using Tomcat 5.5. This is the most recent jdbc sql server article I was able to locate (note reference to Tomcat 4.0 in the readme). Q313173

RE: Keystore password in clear text

2005-12-28 Thread George Sexton
Sure, Don't store your keystore password, and have an administration page that starts the application. The start page requires the operator to enter the password. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Shibu Vachery

Deployment timed out

2005-12-28 Thread Miroslav Šulc
Hello, I am very new to Tomcat. I use version 5.5.12. I have problem that my deployment is timed out after 60 seconds. I do database initialization during the deployment in listener class and I need to increase the deployment time out but I haven't found any info how to do it. I run the deplo

Re: UDP Server app

2005-12-28 Thread Martin Gainty
Good Morning K and Chuck I would suggest that when you call your Thread wait method you specify a wait period so your threads wont wait forever and possibly lock the process from responding e.g. wait(long timeout): waits for notification or until the timeout period has elapsed; timeout is measu

Re: UDP Server app

2005-12-28 Thread KJ R
Martin and others, Thanks for the help. When I was running both the server and client off my local machine, I was getting a socketexception on the client - "Address already in use: Cannot bind" which makes sense, since they were both trying to bind to the same port. Once I deployed my UDPServer t

Re: Please Help! Error in using Packages

2005-12-28 Thread KJ R
Usually, when you solve a problem, it's helpful to post what the solution was, even if it was something silly, it could possibly help someone else. K --- Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: > Dear all, > I've already solve the problem. Thanks to all who > had > contributed. > > TEH

Re: tomcat-users.xml file corruption

2005-12-28 Thread Markus Schönhaber
Nachum, Sagi wrote: > Where should I write the readonly parameter? > here: > >

RE: tomcat-users.xml file corruption

2005-12-28 Thread Nachum, Sagi
Thanks, Where should I write the readonly parameter? here:

How to start ant to use the webapps classpath?

2005-12-28 Thread Zsolt
Hi, I have tomcat-5.5.12 and I copied all ant libraries (with my ones) into /webapps/APPLICATION-NAME/WEB-INF/lib. When I start ant using project.executeTargets(execTargets) I get class not found exceptions and I think because ant uses the bootstrap classpath of tomcat and not the classpath of my

Service started by tomcat terminates after a while

2005-12-28 Thread Abhijit Mazumder
I am using tomcat5.exe to start my java application as a Windows service. After starting it exits automatically after some time. But the same application run from command prompt gives no problem. Tomcat: Jakarta-tomcat-5.0.30 Jdk: j2sdk1.4.2_03 I am attaching the bat file below I am using

Re: [ANN] Clustering broken 5.5.10-5.5.14

2005-12-28 Thread Ronald Klop
Is there any info about when an updated release is scheduled? On Fri Dec 23 19:45:11 CET 2005 Tomcat Users List wrote: > I've been getting a good amount of emails regarding the clustering system being broken in Tomcat 5.5, so I thought I make the announcement here so that we can clear

Re: upload server

2005-12-28 Thread Markus Schönhaber
shrinivas dole wrote: >Does any one have idea about 'Tomcat Upload Server'. If > someone know about it direct me to the required linl page or help me with > the necessary document. Don't know what a 'Tomcat Upload Server' might be. But nevertheless, you might want to look at http:

upload server

2005-12-28 Thread shrinivas dole
Hello All, Does any one have idea about 'Tomcat Upload Server'. If someone know about it direct me to the required linl page or help me with the necessary document. thanks & regards shrinivas dole verisoft

RE: WSDLReader:Analyzing the WSDL file failed

2005-12-28 Thread mukesh
Hi friends, Problem lies in encoding scheme which is http://schemas.xmlsoap.org/soap/encoding in this case but it is not supported by MSSoap Client. Now I have to change it to xsd but Java2WSDL command in axis encode in http://schemas.xmlsoap.org/soap/encodin scheme by default. Solution i

Re: tomcat-users.xml file corruption

2005-12-28 Thread Markus Schönhaber
Nachum, Sagi wrote: > After inquiring a little I discovered that the tomcat-users.xml file > located at conf directory is empty. > After I replaced this file with a valid one, the problem was solved. I > saw some more messages in this and other forums that regard this > problem. > And here's my que

to upload files

2005-12-28 Thread shrinivas dole
Hello All, I want to know about 'Tomcat upload server'. Does this server help to uploas files at run time. if anybody knoes about it please reply back cheers shrinivas dole

Clarification needed on tomcat 5.5 setup

2005-12-28 Thread Babu Subburathinam
Hi, I have installed tomcat 5.5 with the windows binary installer. Prior to commencing the installation, I installed J2SE RE 1.5 and pointed by JAVA_HOME to the installation location. When I installed tomcat, it went through fine and the server started as a service. No issues with this. Next, I u

tomcat-users.xml file corruption

2005-12-28 Thread Nachum, Sagi
I have been running tomcat on windows 2003 with no problems until the computer was unexpectdly shut down (pow

RE: WSDLReader:Analyzing the WSDL file failed

2005-12-28 Thread mukesh
Bob, Thanks for your response. If it is typo mistake then Axis must have detected it. -Mukesh -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 1:56 PM To: Tomcat Users List Subject: Re: WSDLReader:Analyzing the WSDL file faile

Re: WSDLReader:Analyzing the WSDL file failed

2005-12-28 Thread Bob Hall
Mukesh, This may merely be a typo in your message; should be: - Bob --- mukesh <[EMAIL PROTECTED]> wrote: > Hi friends, > > > > I am able to access my web service > (deployed on tomcat5.512