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
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
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
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]
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
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
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
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
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]
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,
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
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
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
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
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
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
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]
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,
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
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
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
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
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]
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
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
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
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.
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
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
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
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
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
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
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
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);
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
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,
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
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
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
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
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
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
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
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
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
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
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.
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
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...
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
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:
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
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
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
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
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
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
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.
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
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
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
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
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
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,
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
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
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
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
69 matches
Mail list logo