getPathTranslated()

2006-06-23 Thread Bartosz Siemasz
HI, I wonder if you cpuld take a look at this topic: http://forum.java.sun.com/thread.jspa?threadID=746742messageID=4273613#4273613 My name is rypki and I am asking for setup in this topic. Take care -- Trzeba szczęście swe brać, kiedy puka do twoich drzwi. -- Trzeba szczęście

HTTPS client connection from JSP

2006-06-23 Thread Rainer Frey
Hi all, I have following problem: a JSP opens a HTTPS connection to read a web page's content. On one server this fails with: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at

Re: what happens with the content.xml file

2006-06-23 Thread tom ot
Hi pid, thanks for your answer. I have another question in the link you posted some lines above there is written: See Automatic Application Deployment for more information. This method allows dynamic reconfiguration of the web application, since the main conf/server.xml file cannot be

Separate JVM's for TOMCAT

2006-06-23 Thread birendar . waldiya
Hi , Can anyone tell me how to make two separate JVM of a single installation of tomcat server. Remember I dont want different context , but tow separate JVM , is it possible ? Or tomcat will only be the solution ? Thanks Regards Birendar S Waldiya =-=-= Notice: The

Re: jk connector stripping Content-Type?

2006-06-23 Thread myrealbruno
All, Apologies, for the records: the content type mapping was missing under Tomcat. The pages I tested were served by Apache, not by Tomcat. Apache seem to insert the content type if Tomcat does not send it, while IIS does not. Sorry again, br1. - Original Message - From: myrealbruno

Re: what happens with the content.xml file

2006-06-23 Thread Pid
It *is* loading the context.xml attributes from the war; except: the name of the deployed context.xml file is dependant on the name of the war, and as the path is dependant on name of the deployed context file... E.g. hostfiles/trumpet2.2.war deploys, it's META-INF/context.xml is copied to

Problem accessing two McKoi databases from Tomcat

2006-06-23 Thread I D B Major
Hi I am a student trying to set up a project using JSP with JSTL custom tags to provide dynamic pages to allow a web-based ticketing system for independent cinemas. I am at the early stages of testing that I can use the technologies. I have installed and configured Tomcat to allow password

Re: Separate JVM's for TOMCAT

2006-06-23 Thread Chris Lear
* [EMAIL PROTECTED] wrote (23/06/06 09:50): Hi , Can anyone tell me how to make two separate JVM of a single installation of tomcat server. Remember I dont want different context , but tow separate JVM , is it possible ? Or tomcat will only be the solution ? You can use the

Re: Separate JVM's for TOMCAT

2006-06-23 Thread Chris Lear
* Chris Lear wrote (23/06/06 10:09): * [EMAIL PROTECTED] wrote (23/06/06 09:50): Hi , Can anyone tell me how to make two separate JVM of a single installation of tomcat server. Remember I dont want different context , but tow separate JVM , is it possible ? Or tomcat will only be the

run tomcat behind proxy server

2006-06-23 Thread Shuaibin Wang
Hi, the comcat on my pc is behind a proxy(LAN), so when tha appllcation on my tomcat need to communicate to the servers somewhere else outside of the LAN, how do I configure my tomcat to use the proxy? Many thanks. Swang

Re: run tomcat behind proxy server the problem is solved thanks all

2006-06-23 Thread Shuaibin Wang
hi , the problem is solved. thanks for the attentation. a nice weekend . swang - Original Message - From: Shuaibin Wang [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, June 23, 2006 12:11 PM Subject: run tomcat behind proxy server Hi, the comcat on my pc is behind a

one filter for all webapps?

2006-06-23 Thread Dean Hiller
Is there any way to install a ServletFilter that is run before all webapps(including the default servlet as well)? thanks, dean

job offering for a web application developer in switzerland

2006-06-23 Thread Frank Fischer
Hi all i hope it's not too offtopicthe company i'm working for has a open position for an experienced java web application developer. The working place would be at our main office in Bern, Switzerland. If you are interested, please have a closer look at the detailed job description (german

Re: Tomcat session replication/cluster

2006-06-23 Thread Sean O'Reilly
On Thu, 22 Jun 2006 15:39:09 +0100 Pid [EMAIL PROTECTED] wrote: In each case it's the ROOT context, so is it appending where there's no Context name/path: ie SEVERE: Context manager doesn't exist:host1+context1 where context1= ? It would still seem that the name parameter supplied

Re: job offering for a web application developer in switzerland

2006-06-23 Thread Dakota Jack
Hi, Frank, Do you have to speak German for this position? On 6/23/06, Frank Fischer [EMAIL PROTECTED] wrote: Hi all i hope it's not too offtopicthe company i'm working for has a open position for an experienced java web application developer. The working place would be at our main

Re: Re: Tomcat can't start

2006-06-23 Thread Y.W.Yang
Thanks a lot, Markus, I checked that port 8080, 8005, 8009 is free for tomcat, but http://localhost:8080 doesn't work! regards, Yanwu === At 2006-06-22, 23:13:04 you wrote: === Y.W.Yang wrote: Tomcat works well on my pc since the first configuration. But recently, I can't start

RE: job offering for a web application developer in switzerland

2006-06-23 Thread Frank Fischer
Hi Jack yes, German is a must because a part of the job will be to get in contact with our customers that mainly are based in Germany and Switzerland. Greetings Frank -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 2:54 PM To: Tomcat Users

Re: job offering for a web application developer in switzerland

2006-06-23 Thread Leon Rosenberg
and what exactly is ment by leistungsbezogene Entlöhnung ? leon On 6/23/06, Frank Fischer [EMAIL PROTECTED] wrote: Hi Jack yes, German is a must because a part of the job will be to get in contact with our customers that mainly are based in Germany and Switzerland. Greetings Frank

Trouble with Admin WebApp

2006-06-23 Thread Armour David
Hi I am running Windows 2000. I have installed Tomcat 5.5.17. I am running Java Version: build 1.5.0_06-b05. I ran the Windows executable for the installation. The default home page comes up. I have added an administrative account. The Tomcat Manager web application runs properly. I

AW: Re: Own Connector for Tomcat

2006-06-23 Thread [EMAIL PROTECTED]
Thanks a lot for your answer, Bill. I will try to develop my own ProtocolHandler. But the problem is, that I can´t use Tomcat5.5, I guess. I tried it in embedded mode with Tomcat5.5 an Java1.4 and got an Exception: java.lang.NoClassDefFoundError: javax/management/NotificationEmitter But the

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples], requesting session state from

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is there any way to install a ServletFilter that is run before all webapps(including the default

Re: Tomcat session replication/cluster

2006-06-23 Thread Sean O'Reilly
On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples],

Re: one filter for all webapps?

2006-06-23 Thread Jon Wingfield
Can't you add the filter to conf/web.xml? I think tomcat (conceptually) folds all of conf.xml into each webapp's web.xml. Again, this behaviour is tomcat specific but at least the filter isn't. Jon Filip Hanik - Dev Lists wrote: in tomcat you can write a Valve

RE: Using Datasource for cloudscape

2006-06-23 Thread Jitendra Kharche
Hi there, can anybody help me on this. Hi Dilan have you any more clue on this. Problem: I am using Tomcat 5.5.17 and tried running a sample datasource application having a jsp page (see contents below) using the Cloudscape database. I have added the driver jar into CATALINA_HOME/common/lib

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager

Re: Trouble with Admin WebApp

2006-06-23 Thread David Smith
Wrong place to install the admin webapp. The webapp itself needs to be in $CATALINA_HOME/server/webapps right next to the manager webapp. admin.xml is correctly placed. --David Armour David wrote: Hi I am running Windows 2000. I have installed Tomcat 5.5.17. I am running Java Version:

Re: Tomcat session replication/cluster

2006-06-23 Thread Sean O'Reilly
On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the

Re: Tomcat session replication/cluster

2006-06-23 Thread Pid
How are you defining the cluster in your server.xml? I did this recently, and had a bunch of small problems. E.g. my server clocks weren't sync'd. I found that enabling just the SimpleTcpCluster element (without all the rest) helped me get up and running. Sean O'Reilly wrote: On Fri, 23 Jun

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-23 Thread Pid
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: I am sure it would be easier to use mod_proxy_balancer and mod_proxy_ajp but can't find any documentation anywhere. My servers didn't have their clocks synchronised, check that. Also try

Re: mod_jk, symbol ap_null_cleanup: referenced symbol not found

2006-06-23 Thread Jay G. Scott
i'm trying to get mod_jk to work. i configured apache thusly: set APVER=apache-1.3.36 setenv CC gcc ./configure --prefix=/opt/depot/$APVER \ --enable-module=so \ --enable-module=info when i try to start apache, i get this error. Syntax error on line 2

Re: Tomcat can't start

2006-06-23 Thread Markus Schönhaber
Y.W.Yang wrote: I checked that port 8080, 8005, 8009 is free for tomcat, but Did you also check whether these are actually the (only) ports your Tomcat is configured to bind to? http://localhost:8080 doesn't work! If, as you wrote earlier, Tomcat isn't started for some reason, it isn't too

automatically detecting if HTTPS is supported

2006-06-23 Thread Jason Novotny
Hi, I have a JSP that does a form submission, and I'm wondering if there's any way I can detect if HTTPS is supported so that I can create a secure https connection to my servlet, or use normal http if not. Thanks, Jason

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
didn't even think about that, yes, and put the compiled filter into common/lib or common/classes Filip Jon Wingfield wrote: Can't you add the filter to conf/web.xml? I think tomcat (conceptually) folds all of conf.xml into each webapp's web.xml. Again, this behaviour is tomcat specific but

apache shows graphics, tomcat doesn't.

2006-06-23 Thread Jay G. Scott
apache 1.3.36 mod_jk 1.2.15 tomcat 5.0.28 solaris 9 java 1.5.0_07 pointing to the same web page, both tomcat and apache can compile the .jsp file, but apache displays the graphic logo, tomcat doesn't. i assume that's some configuration detail in tomcat? j. -- Jay Scott

build.xml

2006-06-23 Thread carrie . latimer
I cannot locate org.eclipse.jdt.core.JDTCompilerAdapter. When I try to build a war file with Ant my build fails because this adapter cannot be found. Is there a work around. I am going to search on the web now. thanks! Carrie Latimer Florida's Turnpike Enterprise Tolls Data Center Main

Best Practice for properties files

2006-06-23 Thread Paul Mendelson
I have a fairly normal application that I am deploying on a tomcat 5.5 server. My application uses log4j for its internal logging and I have a log4j.properties file that I keep in web/WEB-INF/classes. I also have a regular app.properties file that I keep in web/WEB-INF. I deploy my application

Re: Best Practice for properties files

2006-06-23 Thread Richard DeGrande
We had a similar problem. We moved the properties files into the common/classes/app-path or shared/classes/app-path. This way the properties files can be changed in a production system without redeployment. [EMAIL PROTECTED] 06/23/06 10:46 AM I have a fairly normal application that I am

RE: Trouble with Admin WebApp

2006-06-23 Thread Armour David
Hi Thanks for help on the Admin webapp location. I have moved it to /server/webapps. I then restarted Tomcat and it still does not function. I deployed the admin.xml to conf/Catalina/localhost. The manager application shows it running, but when I follow the link I get. Tomcat's administration

RE: Re: Own Connector for Tomcat

2006-06-23 Thread Richard Mixon
Tomcat 5.5 works fine with Java 1.4 - just be sure and download the 'JDK 1.4 Compatability Package:' at this link: http://tomcat.apache.org/download-55.cgi It is all of 1.6MB in size. Just follow the instructions - its easy. HTH - Richard -Original Message- From: [EMAIL PROTECTED]

Setting up SSL on Tomcat 5.5.17 - no response from Tomcat

2006-06-23 Thread Erik Brakke
Hi, I have set up standalone Tomcat 5.5.17 on Windows 2000 + J2EE 5 JDK and get the default ROOT webapp. I cannot access the ROOT webapp using HTTPS. I set up SSL using the HOW-TO: generate a self-signed JKS .keystore file and enabled the HTTPS connector in server.xml. I'll open

Regarding endorsed folder significance

2006-06-23 Thread Shimol Shah
Hi all, I am having some difficulty in understanding the way TOMCAT_HOME\common\lib\*.jar and TOMCAT_HOME\common\endorsed\*.jar are treated. I was having a specific problem where I was trying to add support for JSR 262 which inturn uses JAX-WS in the product I am working on. Before that it made

Re: apache shows graphics, tomcat doesn't.

2006-06-23 Thread Jay G. Scott
apache 1.3.36 mod_jk 1.2.15 tomcat 5.0.28 solaris 9 java 1.5.0_07 pointing to the same web page, both tomcat and apache can compile the .jsp file, but apache displays the graphic logo, tomcat doesn't. i assume that's some configuration detail in tomcat? hmmm. no, guess that's

Has the manager interface changed from 5.5.9 to 5.5.17?

2006-06-23 Thread Garey Mills
Hi - I was using Java something like this: = URL tomcatURL = new URL(http://server:port/manager/stop?path=/servlet path ;); URLConnection cnxn = tomcatURL.openConnection(); cnxn.setRequestProperty(User-Agent, My Job);

RE: Question about StandardSession and ApplicationContext

2006-06-23 Thread John McClain
What I am finding is this. 1)I startup tomcat. At context initialized, before any data is added to context, I take a memory heap snapshot 2) After login to our app, after memory has been added to context and session, I take a snapshot 3) At logout BEFORE memory has been removed from session and

Re: job offering for a web application developer in switzerland

2006-06-23 Thread Bob Hall
--- Leon Rosenberg [EMAIL PROTECTED] wrote: and what exactly is ment by leistungsbezogene Entlöhnung ? leon According to Babblefish: achievement-referred remuneration -Bob __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam

Version of Tomcat installed

2006-06-23 Thread Edward Diener
How can I programatically find out which version(s) of Tomcat is installed on my system ? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Version of Tomcat installed

2006-06-23 Thread David Rees
On 6/23/06, Edward Diener [EMAIL PROTECTED] wrote: How can I programatically find out which version(s) of Tomcat is installed on my system ? getServletContext().getServerInfo() -Dave - To start a new topic, e-mail:

Re: build.xml

2006-06-23 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I cannot locate org.eclipse.jdt.core.JDTCompilerAdapter. When I try to build a war file with Ant my build fails because this adapter cannot be found. Is there a work around. I am going to search on the web now. If you have a recent