I just solved this by myself... I don't know what the problem was exactly
but I uninstalled the version I had and I downloaded the binarys for version
5.5 from the tomcat project site. It now works great and I suspect it might
be something related to ubuntu more than tomcat. I submited a bug to th
Filip Hanik - Dev Lists wrote:
Hi Lars,
my guess is that it looks at 127.0.0.1, so adding 127\.0\.0\.1 to the
list would solve it
That worked! Thank you! The weird thing is, for other client machines,
the hostname works. But for localhost, only the IP address works, even
though I'm using Remot
Hi Lars,
my guess is that it looks at 127.0.0.1, so adding 127\.0\.0\.1 to the
list would solve it
or, you can add enableLookups="true" to your element,
although, I'm not sure why it just wouldn't look at the Host header
Filip
Lars Huttar wrote:
On the
tomcat-user list
(http://www.mail
I am not able to unsubscribe from this forum and I get 100 emails every day.
I never signed up.
I tried with [EMAIL PROTECTED] but this is not working!
Please help if you know how.
Thanks, Marcel
Hi All,
We are installing mod_jk 1.2.15 on Fedora Core 2 through RPM, and we keep
getting a problem with verifying the MD5 checksums:
rpm -i --test mod_jk-debuginfo-1.2.15-1jpp.i386.rpm
warning: mod_jk-debuginfo-1.2.15-1jpp.i386.rpm: V3 DSA signature: NOKEY, key ID
c431416d
Does anyone kno
I do now.
It's all working now.
Thanks a bunch
Sidd
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 2:06 PM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
so if you create a jsp(or servlet) that l
I'm using Tomcat 5.0.28 and SuSe Linux 9.3
On 6/15/06, Mir Kasim Ali <[EMAIL PROTECTED]> wrote:
Can u tell me which OS ure using and what version of Tomcat
On 6/16/06, Nishant Deshpande <[EMAIL PROTECTED]> wrote:
>
> i'm printing stuff out to system.out in tomcat, but it doesn't get
> flushed t
I actually fixed the problem...I had a context path setup in Tomcat that
was overriding HTTPD.
Brad Mann
Software Engineer - Information Access Services
HARRIS Corporation / GCSD
(321) 984-6292
-Original Message-
From: Guido Schoepp [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006
Mann, Bradley schrieb:
The problem I am having is getting my web application to display a web
page that is located in a folder in the document_root of HTTPD, namely
http://localhost/Dir1/serverMessage.html
Every time the web application attempts to display this page I instead
get a 404 error, s
On the tomcat-user list
(http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg158910.html):
Re: org.apache.catalina.valves.RemoteHostValve issue
Mark Thomas
Tue, 20 Sep 2005 14:09:45 -0700
Tony Tomcat wrote:
> ok. got off my lazy butt and looked at the code. RemoteHostValv
We are installing Tomcat 5.0 on Red Hat Linux and setting up a daemon to run
Tomcat on startup. We are running into inexplicable execvp errors, though, and
wanted to know if there was a good resource or startup script that someone can
share.
Thanks in advance,
Tom Hickerson
I am not able to unsubscribe from this forum and I get 100 emails every day.
I never signed up.
I tried with [EMAIL PROTECTED] but this is not working!
Please help if you know how.
Thanks, Marcel
Hi,
Wanted to check if tomcat 5.0.28 would work with JDK 1.5?
thnx
-sunitha
so if you create a jsp(or servlet) that looks like
<%=request.getSession(true).getId()%>
and run it, you get nothing?
Filip
Sharma, Siddharth wrote:
Ok, the httpsession is enabled with the code
request.getSession(true);
but I still do not see a jsessionid cookie, even if tomcat is hit dire
Ok, the httpsession is enabled with the code
request.getSession(true);
but I still do not see a jsessionid cookie, even if tomcat is hit directly.
Same if hit via apache.
Do I have to enable sessions in Tomcat? How do I do that?
I do not want to enable session persistence.
Thanks
Sidd
-Or
Hi Len,
The SingleThreadModel Interface is _not_ used in the servlet.
Maybe I should write a bugreport?
Thanks for your help!
BR/Magnus
- Original Message -
From: "Len Popp" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, June 16, 2006 6:30 PM
Subject: Re: Multiple ins
Hello,
I have just started using Tomcat for developing JSF apps. I've
started by making some JSP pages to get the hang of that. And all was great
until I switched over to JSF (MyFaces). First of all the server has a bit of
a problem with new files added in the webapps directory. Alot of t
My bad. Did not read documentation.
Thanks
-Original Message-
From: Sanjeev Kumar Bhat, Noida [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 12:31 PM
To: Tomcat Users List
Subject: RE: Apache with Tomcat and session affinity problem
The names of your workers are not correct.
Hello,
I have Tomcat 5.5 and IIS 6 integrated using isapi_redirect.dll. So
far, they are working together just fine.
I noticed in my IIS web server logs that the GET requests are not
being recorded as I would expect. I'm currently seeing...
GET /jakarta/isapi_redirect.dll
...when I expected
The names of your workers are not correct. It should be alphanumeric only.
Refer to http://tomcat.apache.org/connectors-doc/config/workers.html
Sanjeev
From: Sharma, Siddharth [mailto:[EMAIL PROTECTED]
Sent: Fri 6/16/2006 8:23 PM
To: Tomcat Users List
Subjec
Are you sure it's not using session cookies at all, or is it only on
the welcome page that you see the jsessionid? The first request to the
server naturally doesn't include a session cookie, and the server
can't know that the browser has accepted the cookie until the browser
sends the cookie back
Hi,
We have a cluster of JBoss Servers (2 in number) on AIX boxes using Apche +
mod_jk. The server was restarted 24 hours ago and we executed a load test with
350 users for 3 hours which has just finished.
I looked into the Cluster Manager view of the Jboss Web-Console (JMX MBEANS ->
JBoss-
I don't see anything there that would cause the servlet in mydomain2
to be loaded 4 times. The only thing I can think of is that the
servlet might be running in single-thread mode (by implementing the
SingleThreadModel interface).
--
Len
On 6/14/06, Magnus Larsgården <[EMAIL PROTECTED]> wrote:
H
> From: Rick Cockerham [mailto:[EMAIL PROTECTED]
> Didn't work. -3 doesn't kill it.
No. It produces a thread dump, and the process carries on going. Given
that you were complaining about not wanting to restart Tomcat twice
daily, I thought you'd appreciate a non-fatal solution :-).
Didn't work. -3 doesn't kill it. I tried for several minutes. Then I
tried -6. That killed it, but I didn't get the core. Where do you
think it put it? I did this: 'kill -6 2393 2> error' error was empty.
Thanks,
Rick
Peter Crowther wrote:
From: Rick Cockerham [mailto:[EMAIL PROTECTED
--- Begin Message ---
The names of your workers are not correct. It should be alphanumeric only.
Refer to http://tomcat.apache.org/connectors-doc/config/workers.html
Sanjeev
From: Sharma, Siddharth [mailto:[EMAIL PROTECTED]
Sent: Fri 6/16/2006 8:23 PM
To: Tomca
yes, JSESSIONID will only get set if you have a HttpSession, so create a
HttpSession, store the Id of your C++ session in the HttpSession so that
you can associate back
Filip
Sharma, Siddharth wrote:
It is slightly more complicated that that.
We are creating a session but not an HttpSession,
It is slightly more complicated that that.
We are creating a session but not an HttpSession, a C++ session.
The Tomcat web app essentially has a servlet that delegates to the C++
component using JNI.
Should we create an HttpSession before delegating?
Is that the missing link?
Thanks
Sidd
-Or
Gaël
Sorry, I am so lazy I did not change the names. I will change it next time.
Yes, I am working on Windows.
All of the command are translated into Windows commands and there is no error
after I fixed some commands and type errors.
The problem is that Microsoft Internet Explore and Netsc
is your webapplication creating a session? if not, then there wont be a
cookie, and mod_jk uses this cookie to determine server affinity.
and if you dont have sessions, you don't need session affinity
Filip
Sharma, Siddharth wrote:
I have an http packet sniffer and it is reporting that there
Ok here's a little confusion:
In server.xml, there are two Engine tags, one of them is commented out by
default.
As can be seen I left the commented out 'standalone' engine as is and added
jvmRoute to engine named 'Catalina'.
Is that the problem?
Should I add it to the 'standalone' engine and unco
I have an http packet sniffer and it is reporting that there are no cookies
returned by apache.
Just to recap what I have done:
1. IBM HttpServer 2.0 with mod_jk on redhat linux
2. worker.properties has a load-balancer worker fronting two tomcat workers
over ajp13. it's sticky session property is
no worries, lets start from the beginning, after that I will send you
off to take a tomcat and/or servlet tutorial
The appbase is where tomcat will autodeploy applications from, an
application, or webapp is defined by two means
1. A directory
2. A war file
So in your case, the directory SMC
JSESSIONID is a non-persistent cookie and you can check its presence easily
using a Netscape Navigator or FireFox.
In Firefox go to Tools->Options, Options Popup appears.
Select Privacy in the left section, to get the privacy options on the right
side of the popup
Expand the Node "Cookies" and
ok, the application I want to launch is SMC so where should I place the
SMC.xml file?
I´m really confused, not because I dont know what I want to do, but there
are tons of different sources telling me different things and none
works.. :(
I understand that I must be anoying and it´s really nice of
I'm using tomcat 5.0.19...I get a 404 error but I cannot figure out why
when I run:
http://localhost:8080/SplitTransaction/login.jsp. I am not getting any
errors when I compile and I can see my *.class files in .deployables. I do
get unknown tag warnings (with any html or message prefix - an exa
how do you verify that you don't have a cookie?
I suggest using LiveHttpHeaders (firefox/mozilla) or TCPMonitor
Filip
Sharma, Siddharth wrote:
Yes I did
jvmRoute is set to the worker name.
still, no jsessionid cookie.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAI
R2M.xml? where did that come from? it should be SCM.xml, although the
name isn't important.
Your original setup was confusing, cause you have RM2/SCM (inside of
webapps)
so which one is the webapp, RM2 directory, or the SCM directory?
They key to your problem though, is probably the
instead
ok, and my R2M.xml configuration file should reside inside of
$CATALINA_HOME/appserver/R2M ? or did I missunderstand you on that part?
Will try it out, thanks a million. Really nice of you taking youre time
explaining this to me :)
Den 6/16/2006, skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>
I agree, and also suggest that usually, you don't want debugging turned on
in a highly concurrent environment. Or other high volume environments, or
for production in general. At least, not that kind of shotgun debugging.
But it can be helpful when you encounter a 1-minute question and answer
Yes I did
jvmRoute is set to the worker name.
still, no jsessionid cookie.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 7:18 AM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
have you set jv
System.out.println is a synchronized call, and will become a performance
bottleneck on highly concurrent applications,
the ideal is to use a logging framework, and setup an async logger
Filip
Glenn Holliday wrote:
I frequently see it used for debugging. It's an easy place to log to.
That's a
The web application code is directly attempting to load the page with
the
HttpServletResponse.sendRedirect(URL)
method. It seems to be having trouble seeing the file that is hosted by
HTTPD (I assume that Tomcat has no knowledge that it is running behind
httpd).
Thanks,
Brad Mann
Software Engi
I frequently see it used for debugging. It's an easy place to log to.
That's also when you most want unbuffered output. Is that practice
discommended for other reasons?
--
Glenn Holliday
Computer Sciences Corporation
[EMAIL PROTECTED] 540-644-6636
the more logical setup would be (assuming the SMC is a webapp)
I changed three things
1. Host.appBase
2. Context.path
3. Context.docBase
Filip
Fredrik Andersson wrote:
Hi, thanks for answering=)
I´m still a little confused so I will try to descri
Now, in this procedure, there are 3 aliases, itcilo_ca, map-test and santiago,
which I cannot understand.
imagination please: map-test was the name of my host at that time,
santiago was the name of one of the users used for the testing, itcilo
is the acronym of my organization, that's why I nam
Hi, thanks for answering=)
I´m still a little confused so I will try to describe what kind of setup
I want and we will se if it becomes clearer.
I want my internet files to reside inside of
/var/www/webapps/R2M/SMC
Now I wan´t apache to forward all pages that are jsp (*.jsp) and all
servlets that
Fredrik Andersson wrote:
Hi all
Ok so heres the deal. I want my tomcat installation (5.5.17) to load
pages from /var/www/webapps/R2M/SMC
I´m also running a virtual host setup so I edit my server.xml file and
point the appBase for the directory to /var/www/webapps and then I have
the context par
you should turn off your proxyrequests
ProxyRequests Off
first line in the documentation
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
you can still use ProxyPass without using proxyrequests
Christoph Kukulies wrote:
I wonder whether mod_proxy can be a security risk in Apache2.0.54,
whe
have you set jvmRoute in your engine element (server.xml)?
this is how mod_jk does session affinity
filipp
Sharma, Siddharth wrote:
I have IBM HttpServer 2.0 (it is an apache essentially) fronting two
tomcat instances (version 5.5.16) using mod_jk over ajp13.
I have configured a load balance
No. It looks like a config problem.
-Tim
Christoph Kukulies wrote:
I wonder whether mod_proxy can be a security risk in Apache2.0.54,
when being enabled in conjunction with tomcat (5.5).
A machine which is open to the world (on port 80 only) is blacklisted
at cbl.abuseat.org and I wonder how
I doubt you want to print to system.out in a servlet (or jsp).
Odds are you want flushBuffer
http://tomcat.apache.org/tomcat-5.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html#flushBuffer()
or flush
http://tomcat.apache.org/tomcat-5.0-doc/jspapi/javax/servlet/jsp/JspWriter.html#flush()
Hi all
Ok so heres the deal. I want my tomcat installation (5.5.17) to load
pages from /var/www/webapps/R2M/SMC
I´m also running a virtual host setup so I edit my server.xml file and
point the appBase for the directory to /var/www/webapps and then I have
the context part of the configuration insi
Hello,
I have exactly the same problem.
when I find the answer I'll post it here.
Have you found anything on this?
Silvio
--
View this message in context:
http://www.nabble.com/Application-stop-via-the-manager-t1257987.html#a4897281
Sent from the Tomcat - User forum at Nabble.com.
---
I wonder whether mod_proxy can be a security risk in Apache2.0.54,
when being enabled in conjunction with tomcat (5.5).
A machine which is open to the world (on port 80 only) is blacklisted
at cbl.abuseat.org and I wonder how come.
--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
-
Still no answer?
Seak, Teng-Fong wrote:
Hello everybody,
I don't know if this post would be considered off-topic, or maybe I
should cross-post it since it's about Axis and Tomcat.
I'm trying to use Web service in Tomcat, ie with Axis. I've read
and followed the install guide and u
This seems like a browser (client) problem to me. Tomcat doesn't have
permission to write the cookie so it is using the old standby of appending
the JsessionID to the URL. Check to make sure your client's cache isn't
full or you haven't maxed out the number of cookies for the browser.
On 6/16/0
57 matches
Mail list logo