reposting to see if I have better luck this time.
On Fri, Apr 18, 2008 at 8:53 AM, Ivan Cheung [EMAIL PROTECTED] wrote:
Hi,
I am building a web app and have setup digest authentication
I am testing the app when I take the database that contains the username
password down
The tomcat log
Ivan Cheung wrote:
reposting to see if I have better luck this time.
http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
In tomcat, you can eaily config all session data to be replicated among
nodes. How about only replicate particular object(s)? e.g. Only the login
session to be replicated so that I can kick out multiple login users, while
I don't want other session data (order form / credit card form) to be
Hi
Reffered to URL
http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1;
The Load balancing using Cluster Techique for 3+ TC's,
The site has also provided a SAMPLE Code tomcatclustering.zip
I was wondering if any body on this TOMCAT form has achieved the same on
One possibility is to use a servlet filter to wrap the tomcat
instantiated request in your own request, which overrides the desired
method.
public class MyFilter implements javax.servlet.Filter {
..
public void doFilter(ServletRequest request, ServletResponse
response,
With your implementation, the valve will have the effect that a session
is created upon first access to a server,
not only when required by the application.
(see also discussion on
http://www.nabble.com/Cookie-less-session-tracking---whats-are-the-downs
ides-tp16738472p16738472.html )
Thus, the
Hi,
I experience a problem changing the context root path of my Tomcat 5.5.
I deploy my application using a war file. Because the Application can
now only be accessed using www.url.de/warfilename I changed the context
root of my Tomcat. I just want the user to enter www.url.de to access
the
On Mon, April 21, 2008 10:55 am, Stefan Dirschnabel wrote:
Hi,
I experience a problem changing the context root path of my Tomcat 5.5.
I deploy my application using a war file. Because the Application can
now only be accessed using www.url.de/warfilename I changed the context
root of my
That's a good point Matthias - in my case sessions are always created so it's
acceptable. Can you think of a good way to only replace the session cookie
when it would be naturally created by the app for those cases where always
creating it is not acceptable?
Note that this entire issue would be
From: Felix Schumacher [mailto:[EMAIL PROTECTED]
Subject: Re: Problem with JNDI using a changed context root path
Remember to move the corresponding context file as well, so move
conf/Catalina/localhost/mywebapp.xml to
conf/Catalina/localhost/ROOT.xml.
The above .xml file is not always
From: karthikn [mailto:[EMAIL PROTECTED]
Subject: TOMCAT CLUSTERING ONJAVA
Reffered to URL
http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1;
The Load balancing using Cluster Techique for 3+ TC's,
Rather than looking at doc that's over four years old (and was sadly
Hi
Rather than looking at doc that's over four years old
The Main TOMCAT out of 4 numbers, act's a Load Balancer itself
Which is exciting and simple for configuration.
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
Observed this URL, Does the topic Load Balancers /Using the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Note that this entire issue would be made much more simple if there was an
| easy way to override the
| org.apache.catalina.connector.Request.configureSessionCookie method.
I have
| not found an easy way to do that.
Have
Hi,
I have several Tomcat web applications that run in separate JVMs. I
have one Apache instance that connects to the Tomcat instances via
mod_jk.
I am using:-
RHEL ES 4.0
Java 1.5.0_14
mod_jk-1.2.25-httpd-2.0.59.so
Tomcat 6.0.14.
Usually the sites work fine and are very responsive. The
I am using an apache server to act as a load balancer to my tomcat server...
I am using reverse proxy for doing this..
The major lines of change in my http conf are these
IfModule mod_proxy.c
ProxyRequests Off
Proxy *
Order deny,allow
Deny from all
Allow from all
SetEnv
If I had to hazard a guess, a firewall is in the way. Can you say more
about your network topology? From where are you attempting to connect
and what's between the client and the server? Lastly, do you have an
address attribute in the connector for port 4949 in your server.xml?
--David
Client and server are on the same local machine. There is a firewall, but I
shut it down and it isn't the problem. My Tomcat 5.5 app works fine locally.
Some more info: this is TC6 packaged with JBoss 4.2.2. Here is the config:
Connector port=4949 address=${jboss.bind.address}
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Can't hit tomcat by real IPAddress or Hostname
Connector port=4949 address=${jboss.bind.address}
The above restricts Tomcat to using only ${jboss.bind.address}, which,
judging from the symptoms, is probably 127.0.0.1. If you
Here's the situation:
- I can hit Tomcat 6 using http://localhost:4949
- I can hit Tomcat 6 using http://127.0.0.1:4949
- I CAN'T hit Tomcat using my real IP Address http://1xx.189.130.51:4949 or
by using the machine's hostname.
I had no problem doing this with Tomcat 5x. What would cause this?
Here's the situation:
- I can hit Tomcat 6 using http://localhost:4949
- I can hit Tomcat 6 using http://127.0.0.1:4949
- I CAN'T hit Tomcat using my real IP Address http://1xx.189.130.51:4949 or
by using the machine's hostname.
I had no problem doing this with Tomcat 5x. What would cause this?
That was the problem. Strange how it didn't have the same behavior with JBoss
4.0.5 and Tomcat 5.5.
Thanks for your help.
Caldarale wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Can't hit tomcat by real IPAddress or Hostname
Connector port=4949
Hi,
When I drop a war file into my webapps folder, it doesn't explode. Nothing
happens.
Here is a part of my server.xml:
Host name=localhost appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
antiJARLocking=true
On Mon, Apr 21, 2008 at 7:54 AM, Parag Dhanuka [EMAIL PROTECTED] wrote:
I am using an apache server to act as a load balancer to my tomcat server...
I don't see anything in that conf about load balancing, but regardless,
I pinged tomcat to see if I can connect to it and I saw I could not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Pedersen wrote:
| When I drop a war file into my webapps folder, it doesn't explode. Nothing
| happens.
Stupid questions:
1. What version of Tomcat and JDK are you using?
2. Is Tomcat actually running (does it successfully complete
Never mind - I found a context.xml file in tomcat/conf/catalina - removing
that allowed the war file to work.
On 21/04/2008, John Pedersen [EMAIL PROTECTED] wrote:
Hi,
When I drop a war file into my webapps folder, it doesn't explode. Nothing
happens.
Here is a part of my server.xml:
Philip Wigg schrieb:
Hi,
I have several Tomcat web applications that run in separate JVMs. I
have one Apache instance that connects to the Tomcat instances via
mod_jk.
I am using:-
RHEL ES 4.0
Java 1.5.0_14
mod_jk-1.2.25-httpd-2.0.59.so
Tomcat 6.0.14.
Usually the sites work fine and are very
Hi,
I have an existing Tomcat configuration that is working well. However,
it is running version 4.1.31. We are updating the platform, so I
thought I'd take the opportunity to update Tomcat. Unfortunately (??) I
must stick with the Tomcat 4.1 release.
I have a test machine on which I
Thanks for your help.
There should be at least one TP-Processor thread doing an accept on a
socket.
There is this one?
TP-Processor4 daemon prio=1 tid=0x002b69b0e980 nid=0x655f
runnable [0x41768000..0x41768ab0]
at java.net.PlainSocketImpl.socketAccept(Native
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Jacobson wrote:
| I was authenticating using a mysql database through the JDBCRealm. I
| found some posts in the archives (
|
http://www.mail-archive.com/[EMAIL PROTECTED]/msg149130.html)
| indicating that switching from the
Hi,
Currently we are using Apache-tomcat-5.5.23 web server for running our
project.
We have developed a project lets say xyz.war and deployed under
Apache-tomcat-5.5.23/Webapps directory and we are able to run the project using
http://localhot:8080/xyz.
With the new
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Somu,
Somu Sundar Reddy.Y wrote:
| With the new requirement, when we enter http://xyz.com in browser, we
| want to execute the xyz application.
1. Re-name the 'xyz' application 'ROOT' in your webapps directory
~ (or xyz.war to ROOT.war)
2. Make
The DatasourceRealm will work. Drop the autoReconnect parameter from
the database url though as it's not recommended by the MySQL folks.
Instead, add a validationQuery to your ResourceParams so database
connections are tested briefly before they are borrowed from the pool.
The query can be
Pid wrote:
Andy Clark wrote:
I want Jasper to look for JSP and Tag files in a
specific location (e.g. based on a request param);
and then fall back to a default location if the
file is not found. This would be extremely useful
for skinning a webapp.
Cascading Style Sheets are an even
2008/4/19, Andy Clark [EMAIL PROTECTED]:
I want Jasper to look for JSP and Tag files in a
specific location (e.g. based on a request param);
and then fall back to a default location if the
file is not found. This would be extremely useful
for skinning a webapp.
Must you really use JSP?
In Tomcat 5.0 on RH Linux I was able to make a context fragment file
called tomcat/conf/Catalina/localhost/webappB.xml, which allowed me to
call webappA by specifying the name webappB
in the browser's URL. The file looked like this:
!-- Context fragment to access webappA.war with the name
Shouldn't you be able to do this with most of the web frameworks out
there (like struts, spring MVC, etc). Many of them work by forwarding
all requests to an action servlet. The servlet then decides what
action to perform and what jsp to forward the request to. Is there a
reason why you can't
On Mon, Apr 21, 2008 at 2:43 PM, Andy Clark [EMAIL PROTECTED] wrote:
Pid wrote:
Andy Clark wrote:
I want Jasper to look for JSP and Tag files in a
specific location (e.g. based on a request param);
and then fall back to a default location if the
file is not found. This
Easiest way to skin on Apache is dojotoolkit WidgetSkin components
http://dojo.jot.com/WikiHome/WidgetSkinning
The 'beauty' of using Dojo Skin widgets is you can wrap dojo controls within
Struts 2.x taglibs (which are callable from jsp)
http://struts.apache.org/2.0.11.1/index.html
A more
Hi Chris - I thought about doing that, but that existing Request object could
have state that my newly created Request will not have - Request does not
have a copy constructor and does not wrap another Request object. Is it OK
to just create a fresh, new, un-initialized Request object pass it
I have a Struts web application that periodically hangs on a logging
statement.
The application hangs on this line
DynaActionForm loginForm = (DynaActionForm) form;
String username = loginForm.getString(username);
String password =
It's also going to work a lot slower. APR is the way to go on Windows if you
need SSL and care about performance.
On Wed, Apr 16, 2008 at 2:12 PM, Sean Bababeigi
[EMAIL PROTECTED] wrote:
Thank you so much Charles. I renamed the file tcnative-1.dll and it works
fine.
Thanks again.
Sean
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Hi Chris - I thought about doing that, but that existing Request
| object could have state that my newly created Request will not have -
| Request does not have a copy constructor and does not wrap another
| Request object.
You could write a simple servlet to serve up these images from any
accessible file system. The URL for it would look something like this:
http://yourtomcatserver/yourwebappcontext/getImage?name=Foo.gif
The the servlet would know what directory to look for images in and handle
streaming them out
I can get Tomcat to render JSP content if I try to (for example) access the
JSP installation examples using http://localhost:8080/examples/jsp But when
I try to try http://localhost/examples/jsp I get nothing but the raw html
code of the page (of a specific example).
I have an Apache - Tomcat
The effect you are observing is because you have configured your setup
to have the jsp files in the path of the document root for apache.
Apache knows nothing about jsp files so it is just returning the source
to you.
You have not specified O/S, JVM or Apache or Tomcat version.
You might
Thanks for everyone with their quick responses to
my query regarding how to override tags/JSP files.
My initial posts on the subject can be found here:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200804.mbox/[EMAIL
PROTECTED]
On Mon, 2008-04-21 at 19:16 -0700, Andy Clark wrote:
Notice that the JSP/tag files that compose the
response are a mixture of the default ones and the
custom ones that the skin overrides. Skin authors
should not have to make complete copies of the
default skin tree in order to edit only a
On Mon, Apr 21, 2008 at 7:16 PM, Andy Clark [EMAIL PROTECTED] wrote:
Many people suggested that I try various frameworks
for the application because they contain template
engines that may work for my purpose. Unfortunately,
I think that this is a non-starter because the app
is already
Hi,
Recently, I realize such a problem with my Tomcat 6.0:
When two (almost) concurrent requests to the SAME servlet occurs (for example,
I type the same url in two individual browser window), I find that Tomcat seems
not to work on the second request until the first is done.
This is not a
Hi All,
To answer the original question, there is a mechanism that Tomcat
provides to handle the specific thing you want to achieve. The
solution is very Tomcat specific, so I do not really recommend it,
anyhow, if you really _need_to_have_this_ then the way to achieve it
is the following:
-
Ahh, just one more thing, do not even try to modify Jasper itself
unless you know what you are doing; Most people experimenting with
Jasper end up in nothing.
- lg
On Tue, Apr 22, 2008 at 1:40 AM, Lucas Galfaso [EMAIL PROTECTED] wrote:
Hi All,
To answer the original question, there is a
Hello,
I would like to know if tomcat is officially supported JRE 6.
Line from release notes-
Tomcat 6.0 is designed to run on JSE 5.0 and later.
Are there any known issues or limitation?
Thanks,
Advait
From: advait samant [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat on JRE 6
I would like to know if tomcat is officially supported JRE 6.
Yes.
Are there any known issues or limitation?
No.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and
53 matches
Mail list logo