Re: TC v5.5.12 Broke My Configuration

2005-09-27 Thread Peter Miller
Hi Bob, I would suggest to try it with a directory name without spaces (Test 1). Could be that tc5.5.12 handles directories with spaces not correct/different than earlier versions. Hth Peter Bob Bronson schrieb: Hi all, I've just tried to upgrade from TC v5.5.9 to v5.5.12 and it seems my

VS: isapi_redirector and danish chars

2005-09-27 Thread Michael Salmon
Hi Mark, Tomcat 5.5.9 and redirector 1.2.14 running on Win2000. /Michael -Oprindelig meddelelse- Fra: Mark Thomas [mailto:[EMAIL PROTECTED] Sendt: 26. september 2005 22:42 Til: Tomcat Users List Emne: Re: isapi_redirector and danish chars Michael Salmon wrote: Hi everybody I

Re: Generic Types support in Tomcat?

2005-09-27 Thread Seak, Teng-Fong
Nikola Milutinovic wrote: Tomcat 5 supports all the features of the underlying JVM, the problem is in the JSPs. They are compiled by Jasper + Eclipse compiler module, which, in version 5.5.9, has no support for Java5. Later versions of Tomcat have a newer version of Eclipse Compiler and it

mangae more than one context in META-INF/context.xml

2005-09-27 Thread [EMAIL PROTECTED]
Anyone knows how mangae more than one context in META-INF/context.xml? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Flexible way of defining application variables in text format?

2005-09-27 Thread Seak, Teng-Fong
My webapp needs some application string variables for configuration. For the moment, I hard-code them as class static properties and compiled. But I'd like to know if there's any method to define such variables in a text file, something like the global.asa in ASP where we could simply

[OT] RE: Flexible way of defining application variables in text format?

2005-09-27 Thread Allistair Crossley
Hi, Just enter your variables into a text file called abc.properties with name/value pairs, e.g var1=val1 var2=val2 Although these will not automatically appear in application scope. You will need to write a tiny Servlet that you configure in web.xml, pass the filename as a servlet

Re:Flexible way of defining application variables in text format?

2005-09-27 Thread [EMAIL PROTECTED]
in web.xml u can set all the constants u want as: env-entry env-entry-namenameVariavle/env-entry-name env-entry-valuevalueVariable/env-entry-value env-entry-typejava.lang.String or whatelse/env-entry-type /env-entry and use this for getting them public static String

RE: Flexible way of defining application variables in text format?

2005-09-27 Thread Allistair Crossley
To make this easier in the presentation tier, you would probably want to make this method a static member of some class (if using scriplet), or a tag if attempting a non-scripted presentation tier (recommended). Allistair. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

HTTP header lines

2005-09-27 Thread Wilding, Gregory
How do I limit the amount of information disclosed in the HTTP header lines within Tomcat Thanks Gregory Wilding EDS Business Exchange Services Abney Park Manchester Road Cheadle Cheshire SK8 2PD Tel +44 (0) 161 495 3488 Fax +44(0) 161 428 5009 mailto:[EMAIL PROTECTED]

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread NoKideen
On Tuesday 27 September 2005 15:36, Seak, Teng-Fong wrote: My webapp needs some application string variables for configuration. For the moment, I hard-code them as class static properties and compiled. But I'd like to know if there's any method to define such variables in a text file,

Re: HTTP header lines

2005-09-27 Thread Anto Paul
On 9/27/05, Wilding, Gregory [EMAIL PROTECTED] wrote: How do I limit the amount of information disclosed in the HTTP header lines within Tomcat You can change the server name by modifying the file org\apache\catalina\util\ServerInfo.properties which resides in server\lib\catalina.jar. Extract

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread Jilles van Gurp
NoKideen wrote: On Tuesday 27 September 2005 15:36, Seak, Teng-Fong wrote: My webapp needs some application string variables for configuration. For the moment, I hard-code them as class static properties and compiled. But I'd like to know if there's any method to define such variables in

Re: Generic Types support in Tomcat?

2005-09-27 Thread Nikola Milutinovic
Seak, Teng-Fong wrote: Nikola Milutinovic wrote: Tomcat 5 supports all the features of the underlying JVM, the problem is in the JSPs. They are compiled by Jasper + Eclipse compiler module, which, in version 5.5.9, has no support for Java5. Later versions of Tomcat have a newer version of

IIS 6 and Tomcat5.0 [Our Ref:CPT6950D]

2005-09-27 Thread fwalters
Hi I need to connect to Tomcat5.0 using an isapi redirect filter. In addition I would like to prevent any other access to Tomcat (other than from IIS 6). How can I go about configuring Tomcat to achieve this objective? This e-mail is intended exclusively for the addressee. If you are not the

Re: An error about Tomcat 4.0

2005-09-27 Thread Tim Funk
See the error logs .. java.lang.NoClassDefFoundError at ... org.apache.jsp.fr110_0005fchartTest$jsp._jspService(fr110_0005fchartTest$jsp.java:72) For some reason - a class is missing. The source of the JSP should tell you the missing class. -Tim Greece wrote: Hi,Everyone, I am using

Re: HTTP header lines

2005-09-27 Thread Tim Funk
There is a configuration parameter on the Connector called server. For example: server='Its a secret 180/3.14' -Tim Wilding, Gregory wrote: How do I limit the amount of information disclosed in the HTTP header lines within Tomcat

setting more than one context in META-INF/context.xml

2005-09-27 Thread [EMAIL PROTECTED]
Hi all I'd like to set more than one context in META-INF/context.xml Any idea? Is it usefulle creating another context.xml in METa-INF and how to configure it?? please help Regards - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Generic Types support in Tomcat?

2005-09-27 Thread Jess Holle
Dumb question: How does one enable 1.5 source features in post 5.5.9 Tomcats? I know how you can do it with the latest 5.0 sources (i.e. with Ant JSP compilation) but I'm still at 5.5.9 and wondering how this is controlled in 5.5.12. -- Jess Holle Nikola Milutinovic wrote: Seak,

Embedded Tomcat and shared objects...

2005-09-27 Thread Darryl L. Pierce
I have embedded Tomcat 5.0.28 into an application I'm writing. Tomcat is being used primarily as the configuration system. I would like to, from the servlet running within Tomcat, access objects that are a part of the main application itself, specific some configuration objects. Is there a

How to share the session between two web-applications?

2005-09-27 Thread starki78
Hi I've a web-application with authentification that is running on tomcat. Now we have the problem that another webapplication is deployed that shall work with the userobject of the other web-application. But I'm not able to enable a session-object being valid for two web-applications. Can

Re: Generic Types support in Tomcat?

2005-09-27 Thread Bjørn T Johansen
So how is this affecting the use of Tomcat 5.5.9? I am using Java 5 features with Tomcat 5.5.9 without any problems, so what do I need to do to discover Tomcat 5.5.9 shortcomings with respect to Java 5? Regards, BTJ Christoph Kutzinski wrote: What's what story? Java 5 features are not

Re: Generic Types support in Tomcat?

2005-09-27 Thread Christoph Kutzinski
To be honest, I never tried it with 5.5.9 I just concluded it from the release notes and other posts on this mailing list. AFAIK, tomcat uses the Eclipse JDT compiler by default to compile JSPs. Maybe you have configured tomcat to use Suns javac? Bjørn T Johansen wrote: So how is this

Vacation

2005-09-27 Thread joykline
This message is generated automatically. I am on vacation until 9/30. Joyce - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Flexible way of defining application variables in text format?

2005-09-27 Thread Caldarale, Charles R
From: NoKideen [mailto:[EMAIL PROTECTED] Subject: Re: Flexible way of defining application variables in text format? Try this API Class file Is there some reason you went to all this trouble rather than using java.util.Properties? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Generic Types support in Tomcat?

2005-09-27 Thread Bjørn T Johansen
Nope, I am just using the default installation and configurations... BTJ Christoph Kutzinski wrote: To be honest, I never tried it with 5.5.9 I just concluded it from the release notes and other posts on this mailing list. AFAIK, tomcat uses the Eclipse JDT compiler by default to compile

Re: Generic Types support in Tomcat?

2005-09-27 Thread Christoph Kutzinski
To be clear: You are using Java 5 features (generics, for-each loop etc.) in JSPs? Bjørn T Johansen wrote: Nope, I am just using the default installation and configurations... BTJ Christoph Kutzinski wrote: To be honest, I never tried it with 5.5.9 I just concluded it from the release

RE: Flexible way of defining application variables in text format?

2005-09-27 Thread George Sexton
I use a properties file stored in the WEB-INF directory. Modifying the web.xml is too error prone. Using another XML file is a lot harder than a properties file. Just use the servlet context getResourceAsStream(), and pass that to the properties.load() method. George Sexton MH Software, Inc.

Re: Generic Types support in Tomcat?

2005-09-27 Thread Santosh Asbe
Hi all, A] I am using tomcat 4.1.30 ( 32 bit) with Apache 2.0.46 ( this is standard apache which comes with RHEL 3.0). I am currently using RHEL 32 bit without RAID confiuration. Now i am planning to move to 64 bit RHEL 3.0 with RAID configuration but he the new Apache of RHEL 3.0 and same

Tomcat related help required

2005-09-27 Thread Santosh Asbe
Hi all, A] I am using tomcat 4.1.30 ( 32 bit) with Apache 2.0.46 ( this is standard apache which comes with RHEL 3.0). I am currently using RHEL 32 bit without RAID confiuration. Now i am planning to move to 64 bit RHEL 3.0 with RAID configuration but he the new Apache of RHEL 3.0 and same

Re: Generic Types support in Tomcat?

2005-09-27 Thread Christoph Kutzinski
You should start a new discussion thread. I cannot see how this is even remotely related to generic types and Tomcat. Santosh Asbe wrote: Hi all, A] I am using tomcat 4.1.30 ( 32 bit) with Apache 2.0.46 ( this is standard apache which comes with RHEL 3.0). I am currently using RHEL 32 bit

RE: Please verify this is correct: Need multiple virtual directories for isapi_redirector

2005-09-27 Thread David Thielen
Asking again Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 9:10 AM To: 'Tomcat Users List' Subject: Please verify this is correct: Need multiple virtual directories

RE: Desperately need help: What is correct for workers.properties.minimal

2005-09-27 Thread David Thielen
Asking again - thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 9:09 AM To: 'Tomcat Users List' Subject: Desperately need help: What is correct for

RE: Please verify this is correct: Need multiple virtual directories for isapi_redirector

2005-09-27 Thread Allistair Crossley
Dave, If it's working via a solution you've configured, and you are not writing a specification of how things will work, why do you keep asking this question? With best intentions, Allistair. -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: 27 September 2005

RE: IIS 6 and Tomcat5.0 [Our Ref:CPT6950D]

2005-09-27 Thread Tracy Spratt
Connect IIS 6 to Tomcat 5 I needed to set up a simple distributed system consisting of an outward facing, secured IIS 6 web server and an internal, dedicated Flex server running under Tomcat 5. There is a lot of documentation out there but that in itself is a problem. It is difficult to know

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread NoKideen
On Tuesday 27 September 2005 16:48, Jilles van Gurp wrote: NoKideen wrote: this is example to to read - import lib.ConfLineSeparator; ... ... ConfLineSeparator c = new ConfLineSeparator(/whereis/thefile/file.conf);

Re: Generic Types support in Tomcat?

2005-09-27 Thread Nikola Milutinovic
Christoph Kutzinski wrote: To be honest, I never tried it with 5.5.9 I just concluded it from the release notes and other posts on this mailing list. AFAIK, tomcat uses the Eclipse JDT compiler by default to compile JSPs. Maybe you have configured tomcat to use Suns javac? That is one way

https from client to web server, http from web server proxy to tomcat,

2005-09-27 Thread nawar
We have an application from a 3rd party vendor that appears to be clueless on how to support tomcat. We currently use SSL at the Sun One Web Server front end, then standard http from the proxy connection to tomcat. The application has 5 modules, 4 of the modules work fine in this configuration,

RE: Flexible way of defining application variables in text format?

2005-09-27 Thread Caldarale, Charles R
From: NoKideen [mailto:[EMAIL PROTECTED] Subject: Re: Flexible way of defining application variables in text format? is there any example, I'd still confuse how to read dot properties file I think may API was to odds :-D, yeah that was trouble but there is one thing I like is

How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread Edmon Begoli
Anyone, I want to configure Tomcat 5.5.x to access each database in the Oracle cluster, and not using the pool. This configuration is for database diagnostic puproses, so I need to create a single connection everytime. What is the most appropriate way to this using Oracle driver? Currently I am

RE: https from client to web server, http from web server proxy to tomcat,

2005-09-27 Thread Wick, Daniel
LB, We currently use SSL at the Sun One Web Server front end, then standard http from the proxy connection to tomcat. I believe you should have this type of setup: Client -https-Sun WS -http-Tomcat (proxy) Client -https-Sun WS -http-Tomcat (reverse proxy) The application has 5

Re: (WAS) Generic Types support in Tomcat?

2005-09-27 Thread Nikola Milutinovic
Santosh Asbe wrote: Hi all, Hi. First of all, it is very advisable to use a separate thread when opening a new topic. I am not reprimanding you, I'm merely advising. I do not consider it rude to jump into someone elses thread of discussion - I do not consider this thread mine, in the

save form-data in xml-file

2005-09-27 Thread Anne Milbert
Hi, I got a problem in saving the data submitted by a form in a xml-file. I wrote a servlet which uses a method createXML() to put the form-data into a xml-file. The problem is: I can't run this method in the servlet. But if I put it in a normal class and call it in the main-method everything

RE: save form-data in xml-file

2005-09-27 Thread Robyne Vaughn
not necessarily a tomcat question, but once-upon-a-time I had a similar situation accessing JDBC data. As long as I ran my app directly, I could do so, but once embedded in servlet it would not. It turned out that it was an authorization problem. While running the app directly, I was logged in

Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread NoKideen
is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 I'd try as tomcat , but there is error even if I do # chown -R tomcat:root /usr/tomcat/* - To unsubscribe, e-mail: [EMAIL

Re: (WAS) Generic Types support in Tomcat?

2005-09-27 Thread Leon Rosenberg
C] Sometime when the tomcat is started it spwans more than one processes. And then during shudown it creates problems. Also sometimes the list of open files goes beyond 1024. that is he ulimit. due to which he tomcat doesnot respond. Linux kernel 2.4 emulates threads through lightweight

RE: Please verify this is correct: Need multiple virtual directories for isapi_redirector

2005-09-27 Thread David Thielen
I ask because I have come across way too many situations where something works not by design, but by luck. And then it turns out that while it did work - under certain circumstances it doesn't and I am left trying to find the correct solution in the middle of an emergency. Also, if this is the

RE: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Peter Crowther
From: NoKideen [mailto:[EMAIL PROTECTED] Subject: Running Tomcat as Non-Root under Linux listen for port 80 is there anybody know how to do this ? Use the port redirection facilities in Linux (the details vary depending on your kernel, but ipchains or iptables is a good place to start if I

AW: save form-data in xml-file

2005-09-27 Thread Anne Milbert
Hi Robyne, Thanks for your reply. This seems to be the problem. But can you tell me if I have to put password and userid in the source code of the servlet or in the web.xml? Regards, Anne -Ursprungliche Nachricht- Von: Robyne Vaughn [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 27.

RE: save form-data in xml-file

2005-09-27 Thread Robyne Vaughn
I was afraid you'd want to know that - ha! I'll have to go back and try to find it. If I remember correctly, there was a choice of either way. I could put it in the server.xml or in the code as a parameter to the jdbc driver spec. Robyne Robyne K. Vaughn _ -Original

Re: Generic Types support in Tomcat?

2005-09-27 Thread Bjørn T Johansen
Nope, I am using it in the java server code, not jsp... Hence my question :) BTJ Christoph Kutzinski wrote: To be clear: You are using Java 5 features (generics, for-each loop etc.) in JSPs? Bjørn T Johansen wrote: Nope, I am just using the default installation and configurations...

Re: How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread andy gordon
The attribute maxactive controls how big the pool is. if maxactive is set to 1 then there can be only 1 per time. There are also non-dbcp solutions which have oracle examples described under JDBC datasources link in tomcat 5.5 doc at

RE: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Peter Crowther
From: Peter Crowther That way, Linux can run as a non-root user but still see requests arriving on port 80. Sorry. Brain fade. Replace 'Linux' with 'Tomcat' in the above. - Peter - To unsubscribe, e-mail:

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Andrés Glez .
Use jsvc. - Original Message - From: NoKideen [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, September 27, 2005 6:13 PM Subject: Running Tomcat as Non-Root under Linux listen for port 80 is there anybody know how to do this ? Running Tomcat as Non-Root under

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Joost de Heer
NoKideen said: is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 80 is a privileged port ( 1024) and you need root-rights to bind to a privileged port. If the problem is that you don't have access to root, ask the admin to implement sudo. Joost

RE: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Phillip Qin
Create a normal user $TOMCAT_USER /bin/su $TOMCAT_USER -- $CATALINA_HOME/bin/startup.sh Owner is root, group is $TOMCAT_USER. -Original Message- From: NoKideen [mailto:[EMAIL PROTECTED] Sent: September 27, 2005 12:14 PM To: tomcat-user@jakarta.apache.org Subject: Running Tomcat as

re: https to web server, http from proxy to tomcat

2005-09-27 Thread nawar
We are currently using an nsapi plugin module for our proxy component. As far as I know, it does not support reverse-proxy setup. Since we are using the standard Sun One Web Server, I am not familiar with reverse proxy. If you could shed some lite on this, or point me in the right direction, I

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread David Smith
a.k.a. Commons-Daemon (http://jakarta.apache.org/commons/daemon/) Works beautifully. --David Andrés Glez. wrote: Use jsvc. - Original Message - From: NoKideen [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, September 27, 2005 6:13 PM Subject: Running Tomcat as

ManagerX for 5.5.9

2005-09-27 Thread Paul Singleton
Which version of ManagerX should I use with Tomcat 5.5.9? 5.5-1.6 or 5.5-1.7.1? I have tried installing each, following their instructions (copy the jar and web.xml as appropriate) but am stuck on the third instruction (Have fun!) and am not having any. Should I start the Manager in the usual

saving files in webapp folder from deletion?

2005-09-27 Thread Thomas Corte
Hi there, I have a setup in which certain trusted users of a web application X may upload new content files which are then put into webapps/X/content to be served from there. The problem is that everything unter /webapps/X is *deleted* by Tomcat upon undeploy, including the uploaded stuff.

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Pete Stevens
On Tue, 27 Sep 2005, Joost de Heer wrote: NoKideen said: is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 80 is a privileged port ( 1024) and you need root-rights to bind to a privileged port. If the problem is that you don't have access

JMX Method to check JDBC connection acivity?

2005-09-27 Thread Edmon Begoli
Is there a handy MBean in Tomcat that would allow me to do on demand check if the connection to the database is up? I've looked at DataSource but that one does not expose getConnection, and the one that requires username and password throws RMI permission exception. I would really like to have

Re: Question about tomcat startup ConcurrentModificationException

2005-09-27 Thread Jilles van Gurp
The fix is to replace the mx4j jar file in the release (bin/jmx.jar) with the fixed version (latest 2.1.x) which has been available for a long time now from the mx4j project site. You might also search this mailinglist. This must be one of the more frequently raised topics. I know I found the

Re: saving files in webapp folder from deletion?

2005-09-27 Thread Leon Rosenberg
setup X as context/webapp (incl. an empty WEB-INF) and probably a web.xml. this should be sufficent, unless you have something else badly broken :-) lg leon On 9/27/05, Thomas Corte [EMAIL PROTECTED] wrote: Hi there, I have a setup in which certain trusted users of a web application X may

Re: Embedded Tomcat and shared objects...

2005-09-27 Thread Leon Rosenberg
Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? regards leon On 9/27/05, Darryl L. Pierce [EMAIL PROTECTED] wrote: I have embedded

Re: saving files in webapp folder from deletion?

2005-09-27 Thread Thomas Corte
Hi, Leon Rosenberg wrote: setup X as context/webapp (incl. an empty WEB-INF) and probably a web.xml. this should be sufficent, unless you have something else badly broken :-) So you mean I should create a second web app/context Y and put the uploaded files there? If this is the suggestion,

RE: Problem defining JNDI data source.

2005-09-27 Thread Sastry Malladi
In tomcat 5.5.9, defining the resources under the Context element seems to have this kind of an issue. One way to resolve this is to define your datasource (i.e, Resource) under Server/GlobalNamingResources element and then define a ResourceLink in context.xml (in the same location as

Re: Problem defining JNDI data source.

2005-09-27 Thread David C. Hicks
Thanks, I'll give it a try. I think that's the one combination I have *not* tried yet. :-) Sastry Malladi wrote: In tomcat 5.5.9, defining the resources under the Context element seems to have this kind of an issue. One way to resolve this is to define your datasource (i.e, Resource) under

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread matador
Seak, Teng-Fong [EMAIL PROTECTED] wrote in news:4339048E.30608 @yahoo.com: My webapp needs some application string variables for configuration. For the moment, I hard-code them as class static properties and compiled. But I'd like to know if there's any method to define such

Re: saving files in webapp folder from deletion?

2005-09-27 Thread Pham Tran Quoc Viet
Create x outside of webapps and create a soft link within webapps that points to x. Then, within server.xml add the following lines: Context docBase=absolute path to x soft link path=link name allowLinking=true/ That's it. Everytime the soft link is hit, tomcat will follow the symbolic link get