Jacob Rhoden wrote:
I am working on creating some more scalable tomcat applications. I have
addedd a SessionListener and it seems that hitting a jsp page triggers a
session to be created.
If there are 1000 users and only 10 are signed in, I dont think 1000
sessions need to be created yes.
- Original Message -
From: Jerry Atrick [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, July 23, 2008 10:51 PM
Subject: retrieving tomcat info from within a war
Is there a way to retrieve tomcat version/info from within a War file? I
actually would prefer this to be
From: Baunty ruparelia [mailto:[EMAIL PROTECTED]
Subject: Https SSL support in Tomcat 5.5
when we are fire the http://localhost into the IE address
bar, It not be transfer to the https://localhost:443 which
should be happen, as we are define the redirect port.
Just defining a redirect port
Ooops. It's been a long time since I've taken a look at catalina.sh.
Just saw the startup.sh pass parameters along.
--David
Caldarale, Charles R wrote:
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: Memory question
I believe the startup script accepts extra parameters and just
This is the result of /usr/local/apache2/bin/apxs -q PREFIX
interpreter /usr/bin/perl not found
ksh: /usr/local/apache2/bin/apxs: not found
Regards,
Marcio Bomfim
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2008 6:54 PM
To: Tomcat Users
Hello,
on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation
for the (AJP) Connections to the tomcats.
Is there a possibility to activate tcp or ajp keepalive on the tomcat side?
Thank You!
-
To start a
From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED]
Subject: TCP/AJP KeepAlive on Tomcat side?
Is there a possibility to activate tcp or ajp keepalive on
the tomcat side?
Already is by default. Read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
I'm running TomCat 5.5 on a windows server. I am trying to get everything
redirected to the ssl port 8443. I can still get to the site using the port
8080. I haven't found any examples that show how it should be configured.
This is my first TomCat installation and most everything has gone
Thank you all! I set JAVA_OPTS in the tomcat startup and it works!
Now to figure out the next problem, but that's an issue with the
application I'm running and not Tomcat.
On Wed, 2008-07-23 at 20:00 -0500, Caldarale, Charles R wrote:
From: David Smith [mailto:[EMAIL PROTECTED]
Subject:
From: Gordon, Jack [mailto:[EMAIL PROTECTED]
Subject: RE: Re direction in tomcat 5.5
I'm running TomCat 5.5 on a windows server.
You're running Tomcat, not TomCat.
I am trying to get everything redirected to the ssl port 8443.
Read section 12 of the servlet spec (JSR-000154). Only
sorry my poor english. i have trouble with loginmodule config file. i
cant see options from login configurtion file. at initialize() options
no keyset.
TomCatAdminApplication {
my.MyLoginModule required optOne=one optTwo=two optThree=three;
};
tomcat 6
Thanks for your replay.
When I sent the email it generated asterisks. In the context there is not
any asteriske. I do not use them. The Catalina directory name was a typo
too.
I removed the path and docBase attributes like this:
Context path= docBase=
debug=5 reloadable=true
Awesome, that worked perfectly!
On Thu, Jul 24, 2008 at 5:56 AM, Johnny Kewl [EMAIL PROTECTED] wrote:
- Original Message - From: Jerry Atrick [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, July 23, 2008 10:51 PM
Subject: retrieving tomcat info from within a war
Stephanie Wullbieter wrote:
Hello,
on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation
for the (AJP) Connections to the tomcats.
Is there a possibility to activate tcp or ajp keepalive on the tomcat side?
The term Keepalive has various meanings, depending on the
Bomfim, Marcio wrote:
This is the result of /usr/local/apache2/bin/apxs -q PREFIX
interpreter /usr/bin/perl not found
ksh: /usr/local/apache2/bin/apxs: not found
So your Apache installation is broken.
If apxs doesn't work, then the build procedure for mod_jk will not work.
You could either
I am facing a problem in my application with tld not found error.
The absolute uri: http://www.mySite.com/tags-abc cannot be resolved in
either web.xml or the jar files deployed with this application
Here is my directory at server /var/www/mySitelocal_stage/philly (philly
is my application
From: kohanm [mailto:[EMAIL PROTECTED]
Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
Tomcat 5.5
I removed the path and docBase attributes like this:
Context path= docBase=
debug=5 reloadable=true crossContext=true
No, remove means remove, not change the values to
Hi,
The context located :
Tomcat 5.5\conf\Catalina\localhost\webapplication.xml
and I modified as you mentioned:
Context debug=5 reloadable=true crossContext=true
---
/Context
I tried the http://localhost/webapplication/welcome.do URl it did not
work.
then I tried to check the
Hi,
Currently running the open source webapp eXist (http://exist.sourceforge.net/)
on Tomcat 5.5. It works well
expect for this glitch: in trying to access file names containing ( or ,
characters, Tomcat generates a 404 document not found message. I've tried
encoding these with %29 and
From: kohanm [mailto:[EMAIL PROTECTED]
Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
Tomcat 5.5
The context located :
Tomcat 5.5\conf\Catalina\localhost\webapplication.xml
and I modified as you mentioned:
Context debug=5 reloadable=true crossContext=true
---
never mind. i fixed.
Hi,
I'm using Apache Tomcat/5.5.4 with Plesk 8.2 on a Windows Server
2003 machine. The isapi redirector program is supposed to allow me to
connect to my server, and redirect my request to Tomcat, if the url
matches a certain pattern. I have multiple sites configured in IIS,
including:
I think you forgot my question, I posted this question because I want
to have a webapplication name/webaplicaiton/welcome.do
different than the directory name (/webapps/booking).
My Tomcat works if the URL is the same as directory name(or.war file).
but i want to set up the Tomcat to
From: kohanm [mailto:[EMAIL PROTECTED]
Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
Tomcat 5.5
I want to have a webapplication name /webaplicaiton/welcome.do
different than the directory name (/webapps/booking).
O.k., I'll bite: why? That's now how Tomcat is designed to
The webaplication is done now, but my boss asked me to change the name
of URL webapplication. IF I change the directory name than there are
many jsp pages with many links with old name's webapplication.
On 7/24/08, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: kohanm [mailto:[EMAIL
From: kohanm [mailto:[EMAIL PROTECTED]
Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
Tomcat 5.5
The webaplication is done now, but my boss asked me to change the name
of URL webapplication. IF I change the directory name than there are
many jsp pages with many links with old
Then you should have written your webapp so all the links are computed
based on the webapp's context. In jsps you can do this with:
${pageContext.request.contextPath}/webapp/relative/path.jsp
In servlets, you can use request.getContextPath() to get the context
path and then append your path
I can see a couple of issues:
1. It's not recommended to have Context ... / elements in server.xml.
It works, but not recommended.
2. The Host's appBase and context's docBase attributes cannot point to
the same directory. It worked in older versions of tomcat, but that
behavior was
In my first email I copied(short) the mod_jk configuration in httpd.conf
file.
Mk
On 7/24/08, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: kohanm [mailto:[EMAIL PROTECTED]
Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
Tomcat 5.5
The webaplication is done now,
Caldarale, Charles R schrieb:
From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context
or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
The webaplication is done now, but my boss asked me to change the
name of URL webapplication. IF I change the directory name than
there are many jsp pages
Hi,
my case is Case 1:
can you give me an example for Redirect or RedirectMatch
thanks,
MK
Caldarale, Charles R schrieb:
From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context
or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
The webaplication is done now, but my boss asked me to
I am getting an error since upgrading my production server to 6.0.16.
Error message:
408 The time allowed for the login prosess has been exceeded
1. This is only happening with mobile devices (Blackberry Symbol
Windows mobile 5)
2. The production server was working at 6.0.13. The
kohanm schrieb:
Hi,
my case is Case 1:
can you give me an example for Redirect or RedirectMatch
Simplest case:
Redirect /oldapp http://myserver/newapp
More details at
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect
Regards,
Rainer
thanks,
MK
Caldarale, Charles R
Sorry - I've been slogging through this...
Anyway, I'm trying to get an application working, but all of their
documentation talks about is tomcat5.5 and I've got tomcat6
I have gotten the latest Connector/J binary from MySQL and installed in
into tomcat/lib but I would like to test it. So, I
Thanks Rainer,
The probelm here is that after redirecting, the URL shows the oldapp's
name but I want the url shows the newapp name.
MK
On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote:
kohanm schrieb:
Hi,
my case is Case 1:
can you give me an example for Redirect or RedirectMatch
It was a weird one. My index.jsp. It was taking too long to complete
filling in a select from database values.
After I streamlined the select process the page was loaded in enough
time.
Funny that it would masquerade as a login error.
On Thu, 2008-07-24 at 15:08 -0500, Jq wrote:
I am
kohanm schrieb:
Thanks Rainer,
The probelm here is that after redirecting, the URL shows the oldapp's
name but I want the url shows the newapp name.
Then it is not case 1 and you need to pick another case.
MK
On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote:
kohanm schrieb:
Hi,
my case
Sorry you are right it's case2 or case3. Anyway I give up at this
point. I will change the link code of jsp pages with new name.
Thanks Rainer.
MK
On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote:
kohanm schrieb:
Thanks Rainer,
The probelm here is that after redirecting, the URL shows the
This isn't a JDBC error as much as it's a taglib error. You are trying
to use JSTL taglibs in your web application and tomcat can't find the
libraries that contain the taglib. Things to check:
1. standard.jar and jstl.jar are in the webapp's WEB-INF/lib directory
-- at least for jstl 1.1.
Hi,
Yikes! I noticed that I had an abundance of typos in my post.
Let me try to re-post in something closer to English. Here it goes:I am
currently running the open source webapp eXist (http://exist.sourceforge.net/)
on Tomcat 5.5. It works well with the exception of the following glitch:
Is there a way to programmically retrieve the tomcat log files? I can
reconstruct the log location by doing a
new File(System.getProperty(catalina.base)), logFileIwant )
but I'm wondering if there's a better way...
Anyone had any experience with doing this?
Thanks - it was the first - I just had the files in the WEB-INF
directory - not in the lib
Is there some method for finding errors / logs? Right now, I'm trying
to get an application running, and I'm just guessing. For example, my
catalina.log file says
INFO: The listener
From: Matt Burkhardt [mailto:[EMAIL PROTECTED]
Subject: Re: Down the rabbit hole with JDBC
INFO: The listener org.alfresco.web.app.ContextListener is already
configured for this context. The duplicate definition has
been ignored.
The above is a cosmetic error in 6.0.16; it does no damage
Matt,
If you don't find anything suggestive in the logs, try running with a
debugger and put a breakpoint
on the first statement in the contextInitialized method in your
AppListener to try to track down
why it's dying (i.e., what's causing SEVERE: Error listenerStart).
Then start
44 matches
Mail list logo