JBoss 3.2.3 + Tomcat 4.1.29 embedded + SSL
At each page called, I have this exception:
2004-11-03 16:53:12,294 DEBUG [org.apache.tomcat.util.net.jsse.JSSE14Support] Error
getting client certs
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at
Dear List,
In /manager/status, I occasionally see connections where the status is
'S' and the time column is huge! 1 ms.
Does this mean that the request is still being processed by tomcat? or
is this a request waiting to be picked up - ie: chunked?
If so, is there any way I can set a
Hi,
Is there a way to set a webapp to use the root context path in Tomcat
5.5.3. For example, I want to access by webapp named mywebapp by
using this url:
http://mydomain.com/
instead of this:
http://mydomain.com/mywebapp/
In a J2EE EAR file, I can set the webapp to use the root context path
Hi,
No, you only need the one host and then an alias/alias tag with the
other domain.
HTH,
Andoni.
PS: Ref is here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Host%20Name%20Aliases
A.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
Newsgroups:
Here's my context.xml file:
Context displayName=My Web App
path=
docBase=mywebapp.war
reloadable=true
useNaming=true
debug=5
unpackWAR=true
/Context
Seems to be not working either. When I access the root context
(http://localhost), I still get the Tomcat
Here is what worked for me (Tomcat 3.3.2 )
--
Context path=
docBase=webapps/Base
debug=0
reloadable=true
LogSetter name=Base.log
path=logs/Base.log
servletLogger=true
On Fri, 5 Nov 2004 20:23:30 +0800, Jojo Paderes [EMAIL PROTECTED] wrote:
Here's my context.xml file:
Context displayName=My Web App
path=
docBase=mywebapp.war
reloadable=true
useNaming=true
debug=5
unpackWAR=true
/Context
Seems to be not
Hi Jojo,
You should make sure that you delete the ROOT directory under
${CATALINE_HOME}/webapps .
If you are still seeing the tomcat default page, then this means that
the TOMCAT default ROOT app is still deployed somewhere...
Cheers,
nick.
-Ursprungliche Nachricht-
Von: Jojo Paderes
This was answered on this list last week. So it's in the archive:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
pache.org
From memory I think you get rid of the ROOT webapp and set the context path
of mywebapp to / ?
-Original Message-
From: Jojo Paderes [mailto:[EMAIL
Configuration:
W2K3 Server
IIS 6.0
JK2
Tomcat 5.0.24
SQL Server 2000
Starting tomcat (and therefore my web application) as a service produces
an undesireable side effect not seen when starting from command line or
when using the tomcat manager to stop/start my web application.
I have a startup
I got it to work by adding a Context entry in the
$CATALINA_HOME/conf/server.xml file. I added this entry inside the
default Host element:
. . .
Host name=localhost appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context
-Original Message-
From: Eric Wulff [mailto:[EMAIL PROTECTED]
Sent: Friday 05 November 2004 07:01
To: Tomcat Users List
Subject: session-timeout means tomcat restart
Hi, I'm experiencing 2 interesting problems that may be related to my
session timeout.
1. It seems that
Hi Remy,
Would this mean that the path and docBase attributes are of no use
when configured in the META-INF/context.xml in WAR files?
If that is the case, then we need to set these attributes in the
$CATALINA_HOME/conf/server.xml if we want to customize the context
path of our web apps.
Hi I was originally deploying an application in Tomcat 4 using the
exploded directory structure.
Ive now created a war and tried to deploy that instead.
First attempt it didnt do anything I then changed docbase from appname
to appname.war in server.xml and on starting tomcat it tried to deploy
from your original post:
org.apache.jasper.JasperException: Unable to compile
class for JSP
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
in other words, TC is unable to compile your JSP page class
Eric - you are correct, you do not need both resource-ref and Resource
(although I've found that having both does not cause a problem).
Back to your problem.
The error message indicates that TC cannot find the Resource.
I'm not sure if you are trying to use DBCP or not (in other words, does
Hi,
How can I get round this ?
Two ways: either configure the Host in server.xml to unpackWARs (which
is the default I think even for Tomcat 4.x). Or write your app to the
Servlet Spec, which means no File constructions except in the
javax.servlet.context.tempdir directory.
Yoav
This
Hi,
This may be a stupid question, but is the %CATALINA_HOME%\temp
directory, really a temp directory in that it will clean itself out
after a certain amount of time. If yes, how often does it perform
clean-up and can this be configured.
It's not a stupid question, and the answer is no, it
Hi,
Are you running Tomcat as a windows service? If so there's an open
issue with it not calling certain destroy methods on shutdown.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:22 PM
To:
Hi,
Eric - you are correct, you do not need both resource-ref and
Resource
That's only because we try to accommodate less able
developers/administrators. You DO need resource-ref if you want your
app to be compliant with the Servlet Specification and portable to other
containers.
Yoav
Thanks I use a File() constructor because the same class is used in a
standalone situation
Ive checked my server.xml and it already seems to have unpacking set.
!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
should my
Hello Friends,
which Tomcat version is the best and reliable version
for me to learn and best practive Servlets and Jsp. I
have tried to use Tomcat 5.0 and it has crashed. It
was working fine before. and now none of my servlets
are working. not even http://localhost:8080 I dont
know whats wrong,
SessionDestroyed shouldn't be called when tomcat shuts down.
good point. doh! but if I've understood correctly, shouldn't other methods
of my SessionLogger be called? namely sessionWillPassivate,
contextDestroyed (and possibly finalize although I'm not 100% confident of
that).
I just
Ah yes I agree, but that's not quite what I was saying. Eric, sorry if that
was misleading.
Eric has a resource-ref already. I meant that if you have resource-ref
you do not need Resource as well in TC, because this is what the TC docs
say, and the Resource tag is a TC invention rather than
Remy, the server config reference at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
says, Each such Context MUST have a unique context path, which is defined
by the path attribute which implies that we must include the path attribute
in a Context, wherever it is configured.
Hi,
Remy, the server config reference at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
We're talking about Tomcat 5.5, not 5.0, and about a specific deployment scenario.
Yoav
says, Each such Context MUST have a unique context path, which is defined
by the path attribute
Bret and Robert, I would suggest that getting a packet trace is the next
step in tracking down your performance problem. If you don't already have
such a tool, Ethereal is a top notch open-source tool for this which is
distributed with linux, but also freely available for windows and mac at
Hi,
Sorry, I sent my earlier post accidentally before finishing it.
Hi,
Remy, the server config reference at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
We're talking about Tomcat 5.5, not 5.0, and about a specific deployment
scenario.
But you're right that the 5.5
Hi,
I am using a META-INF/context.xml in each of my webapps to define
Resource-Links to global resources defined in my server.xml. (Tomcat 5.0.28)
Upon the initial deployment of the war, tomcate creates a copy of this
context.xml
under $CATALINA_HOME/conf/[enginename]/[hostname]/ called
-Original Message-
From: Raasi Potluri [mailto:[EMAIL PROTECTED]
which Tomcat version is the best and reliable version
for me to learn and best practive Servlets and Jsp. I
have tried to use Tomcat 5.0 and it has crashed. It
was working fine before. and now none of my servlets
On Fri, 2004-11-05 at 08:29, Shapira, Yoav wrote:
Hi,
Are you running Tomcat as a windows service? If so there's an open
issue with it not calling certain destroy methods on shutdown.
Yoav Shapira http://www.yoavshapira.com
I believe that issue was with contextDestroyed not being called and
Eric said:
Also, I noticed in many solutions the suggestion was made to edit the
myapp.xml file located at CATALINA_HOME/conf/Catalina/localhost/.
However, there is no myapp.xml in that directory on my server. Just 2
.xml's related to other applications and a manager.xml which I'm not
sure
That file is only updated in certain circumstances. check that your
circumstances fit those. here's a good place to start:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%2
0Application%20Deployment
I adopted the habit of restarting with a script, which deletes the
OK well to be clear yes I'm running 5.0.28 on JDK 1.4.2_05 on Win2k SP4
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Friday 05 November 2004 14:52
To: Tomcat Users List
Subject: RE: sessionS info persistence when restart Tomcat
On Fri, 2004-11-05 at
I thought I have read back in this same thread that
he had two Engine under a Service ? Only one
Engine is allowed per Service to fix one problem.
--- Nick Pellow [EMAIL PROTECTED] wrote:
HI Eric,
I have seen the same error your are getting. I am
using tomcat 5.0.28.
Make sure that
On Fri, 2004-11-05 at 09:06, Steve Kirk wrote:
SessionDestroyed shouldn't be called when tomcat shuts down.
good point. doh! but if I've understood correctly, shouldn't other methods
of my SessionLogger be called? namely sessionWillPassivate,
contextDestroyed (and possibly finalize
My guess is the request was serviced by Tomcat, and took that much time.
What did your request column tell? A huge request, file upload?
-Original Message-
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Sent: November 5, 2004 4:24 AM
To: Tomcat Users List
Subject: Connection Timeout
Dear
Hi Phillip,
The request is for example a 10K image.
Regards
Andrew
On 05.11.2004, at 16:11, Phillip Qin wrote:
My guess is the request was serviced by Tomcat, and took that much
time.
What did your request column tell? A huge request, file upload?
-Original Message-
From: Andrew Miehs
We keep forgetting that Before the war gets
unpacked, Tomcat checks if there is an existing
directory with the same name as the war file or same
name as the path attribute of the Context file,
and if it exist the war file does not get expanded and
it just attempts to work of of off the
Byte recv and byte sent?
-Original Message-
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Sent: November 5, 2004 10:18 AM
To: Tomcat Users List
Subject: Re: Connection Timeout
Hi Phillip,
The request is for example a 10K image.
Regards
Andrew
On 05.11.2004, at 16:11, Phillip Qin
Hi Steve,
That file is only updated in certain circumstances. check that your
circumstances fit those. here's a good place to start:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Au
tomatic%2
0Application%20Deployment
Ok. I see...
I adopted the habit of restarting with a
I've just setup a new website as a subdomain of my primary website. My
server setup contains Apache fronting Tomcat 4.x on a Unix server. I'm
directing all traffic that goes to the Apache webserver to the Tomcat
server and setting up my subdomains in the server.xml file. This all
works fine except
Thanks Ben, have looked at your war, and my test code covers the same as
yours plus some of the other Listener events. The sessionCreated and
sessionDestroyed events work fine on my code (5.0.28). The problem is that
the other events I mentioned are not called - e.g. contextDestroyed.
If your
Remy mentioned earlier today on another thread that the path is ignored in a
context.xml file because it is redundant, but I _think_ he was talking about
5.5 rather than 5.0. I have deleted the post now but I think he said that
the docBase is probably also ignored. search the archive to check me
Have you tried any of this on a fresh install of Tomcat?
I think you mentioned that you have made changes to the Persistance
Manaager in server.xml.
Try downloading and installing a fresh instance and run the test again.
There is a similar test war file (attachment) that looks tests the
So something like this would work.
Host name=www.domain.com debug=0 appBase=/usr/local/domain.com
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Aliasdomain.com/Alias
Aliasdomain.net/Alias
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Have you tried any of this on a fresh install of Tomcat?
No, I last installed fresh a couple of weeks back to upgrade from .27 ; I
deleted the whole CATALINA_HOME dir first. I then replaced conf/server.xml
and
Hi Phillip,
S506331 ms17 KB0 KBx.x.2.24www.x.comGET
/x//img/x/Image.gif HTTP/1.1
Regards
Andrew
On 05.11.2004, at 16:20, Phillip Qin wrote:
Byte recv and byte sent?
-Original Message-
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Sent: November 5, 2004 10:18 AM
aha. so it looks like it's something I screwed up ;)
I don't know. I just know that, in my case, the object that I put into
session survives restarts. The easiest way to test things like this, for
me, is to write a small test app and run it on a fresh install of
Tomcat. If it works there then I
If I run ant to compile the source, ant cannot find a
directory called util. You cannot find this
directory in the binary Tomcat. If I choose source, it
needs CVS and a connection to Internet, much trouble.
If I use binary and put it in /modules at Apache, it
is too hard to set up the
Hi,
If I run ant to compile the source, ant cannot find a
directory called util. You cannot find this
directory in the binary Tomcat.
You have the build misconfigured.
If I choose source, it
needs CVS and a connection to Internet, much trouble.
The Internet connection is much trouble?
If I
Steve, I am trying to use DBCP(hence the subject of the thread) and I
believe I have a driver that supports it. Especially considering that
the connection works when I wrap my data resource in a DefaultContext
tag inside a stand alone Engine tag(server.xml), instead of inside a
Context tag(how
Dear Sirs,
I wonder if anyone had anything similar before.
I'm running some JSP/Java Bean websites under Tomcat (on one PC as a
stand-alone server, on another in connection with Apache).
The website is a dynamic (3-tier architechture) connects to MySQL
database to get the content to display any
Before you spend too much time and energy with the connectors... do you
definitely need to connect with Apache Httpd?
Depending on your needs, running Tomcat behind another webserver might
not only be unnecessary but less efficient than running as a standalone.
The recent performance gains in
what is the default maxThreads in tomcat 5 jk2/coyote connector?
What is the default serverTimeout ?
#channelSocket.serverTimeout=???
#channelSocket.maxThreads=???
(fwiw I'm referring to the version included in tc 5.0.28)
Thanks,
Dan
Do you have something to let those perl and PHP guys
hook up to Tomcat?
I do not worry about Tomcat kill Apache!
Thanks!
--- Ben Souther [EMAIL PROTECTED] wrote:
Before you spend too much time and energy with the
connectors... do you
definitely need to connect with Apache Httpd?
After my boss decideded to run ROOT applications on Tomcat, I had to switch
my perl apps to Tomcat using CGIServlet. However, this servlet is still
under development and I hacked a little bit in order for my perl redirect
work.
-Original Message-
From: Frank Peng [mailto:[EMAIL PROTECTED]
If you have a lot of Perl or PHP code, then you probably have a good
reason to connect to Apache Httpd. Tomcat ships with a CGI servlet but I
don't know how well it compares when running Perl or PHP.
On Fri, 2004-11-05 at 14:16, Frank Peng wrote:
Do you have something to let those perl and
Why don't you post error message?
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: November 5, 2004 1:40 PM
To: Tomcat Users List
Subject: Re: How to set up Tomca t5.0.28 to work with Apache2 on Slackware
Linux?
Before you spend too much time and energy with the
Hi,
Do you have something to let those perl and PHP guys
hook up to Tomcat?
You can run Perl and PHP on Tomcat via various add-ons: Tomcat comes
with its own CGI servlet for Perl and other CGI scripts. There are 3rd
party add-ons that'll let you run Perl and PHP on Tomcat (and other
Servlet
The object stored in the session must implement serializable
interface, right? Or any Java Class object can be stored in the
session and persistence manager will take care how to save and
restore it?
--- Ben Souther [EMAIL PROTECTED] wrote:
aha. so it looks like it's something I screwed up ;)
On Fri, 2004-11-05 at 14:53, Mark wrote:
The object stored in the session must implement serializable
interface, right? Or any Java Class object can be stored in the
session and persistence manager will take care how to save and
restore it?
It must implement Serializable and any nested
I have a quick question regarding Tomcat's form-based
login. I have it working fine for pages that are
listed as protected. For ex, if a user hits a
protected page, they are redirected to a login page,
we'll call it login_required that says the requested
resource requires a login. If they fail
Hello guys,
After reinstalling the SDK.
Tomcat 4.1.28 works from console but the NT doesn't start
Do you guys know how to fix this?
I'm suspecting that some config files are pointing to the old SDK install.
Or maybe some registry value?
Thanks,
David
From the tomcat config screen, click the Java tab and update the path to
your jvm.
On Fri, 2004-11-05 at 16:01, David Aleksanyan wrote:
Hello guys,
After reinstalling the SDK.
Tomcat 4.1.28 works from console but the NT doesn't start
Do you guys know how to fix this?
I'm suspecting that
The Tomcat config app has been long gone.
Is there any way to do it without the interface?
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 05, 2004 4:14 PM
Subject: Re: reinstalled SDK - NT Service doesn't start
There's probably a much better way, but I like the fine-grained approach
I use. Unfortunately(or
fortunately) it requires *every* page you want access controlled to have
a jsp:include tag. The
included jsp file checks a session variable to determine if the user is
logged in, and whether or
not
Search the registry for your old sdk path. When you find it, replace it
with the new one. Repeat as necessary.
[EMAIL PROTECTED] 11/05/04 2:24 PM
The Tomcat config app has been long gone.
Is there any way to do it without the interface?
- Original Message -
From: Ben Souther [EMAIL
On Fri, 2004-11-05 at 16:37, Larry Meadors wrote:
Search the registry for your old sdk path. When you find it, replace it
with the new one. Repeat as necessary.
I second that...
But, before you edit your registry, I would strongly recommend backing
it up.
Of course, you could also take this
Chicken. :-D
[EMAIL PROTECTED] 11/05/04 2:56 PM
But, before you edit your registry, I would strongly recommend backing
it up.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
We've done that.
It seems to not work.
This is a production environment so I'm not in a position to do something
drastic.
- Original Message -
From: Larry Meadors [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 05, 2004 4:37 PM
Subject: Re: reinstalled SDK - NT Service
I know that Tomcat is not an ideal CGI server, but I am having real trouble
getting it to work at all. Most often I get the Exception below, and it
doesn't seem to be running our perl program at all. (We can run the perl
program by hand though). We had a bit of trouble getting it setup in the
From what I gather, you are not using the built-in
forms-based authentication? I'd like to stick with it
for now but will consider other options as I add more
functionality.
--- Jonathan Wilson [EMAIL PROTECTED]
wrote:
There's probably a much better way, but I like the
fine-grained approach
Enable cgiservlet log (I usually set debug to 6) and see what's output in
the log (very detail).
-Original Message-
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Sent: November 5, 2004 5:07 PM
To: 'Tomcat Users List'
Subject: CGI ...yeah, I know (Tomcat 4.1.29)
I know that Tomcat is
I've had a development site up for a couple of months using log4j-1.2.8
for logging. I made several changes in the last couple of days, and
something decided to set the default log level to DEBUG. Now when I try
to restart the site I get 10-20 Meg of log messages. They are in
Linux FC2
TC 5.0.28
I'm not storing a db object within a session although I am storing
objs within the session(of course - session.setAttribute). However, I
have references to them from the controller so that shouldn't be the
problem... eh?
An interesting thing, I sometimes have to reboot my
Well, this is amazingly frustrating. My TC 5.0.28 running on Linux
FC2 is completely crashing about every half hr when I have a webapp
open and don't interact with it. I no longer have a time-out element
in my web.xml so that doesn't seem to matter. TC shutdown and restart
does not work.
OK - Got It! Thank you all many times over for your time and help on
this connection pool thing. It is surprisingly difficult to maintain
a stable environment if you're a curious beginner. I clearly need to
get a grip on Tomcat's process BUT it also seems abundantly clear that
docs/how to's for
78 matches
Mail list logo