Thanks for the speedy answer to my question. Is this the only possibility?
Since the filter will be called for each request, maybe this will slow down
my web application
Thanks again
-Ursprüngliche Nachricht-
Von: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13.
I have looked at the session listeners but there I cannot access the users
remote adress
-Ursprüngliche Nachricht-
Von: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 09:38
An: Tomcat Users List
Betreff: AW: Different session timeout for local and external
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I am trying to deploying my application with tomcat on my production
server. How do I make people that accessing my web server, no longer
should enter the tomcat port number? Just http://ip-address not
http://ip-address:port-number
- --
Zaki
Ehlers, Kolja wrote:
Thanks for the speedy answer to my question. Is this the only possibility?
Since the filter will be called for each request, maybe this will slow down
my web application
Maybe. But not likely. Search the web for 'premature optimization' ;-)
--
Mikolaj Rydzewski [EMAIL
You will need to make use of the mod_jk (The Apache Tomcat Connector) at
http://tomcat.apache.org/connectors-doc/
-Ursprüngliche Nachricht-
Von: Zaki Akhmad [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 09:41
An: Tomcat Users List
Betreff: Deploying On Production Server
Inside server.xml you can change the port number from (default) 8080
to 80Restart
the tomcat service and it is running on the default HTTP port
Regards,
Serge Fonville
On Fri, Nov 14, 2008 at 9:40 AM, Zaki Akhmad [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
On Thu, Nov 13, 2008 at 8:17 PM, Rainer Jung [EMAIL PROTECTED] wrote:
Jakob Ericsson schrieb:
Upgrading to latest version of mod_jk solves the problem. As I said
before, this on Windows 2003 Server running both httpd (2.0.59) and
tomcat (6.0.13) on the same machine. We upgraded all production
Mikolaj Rydzewski wrote:
Ehlers, Kolja wrote:
Thanks for the speedy answer to my question. Is this the only
possibility?
Since the filter will be called for each request, maybe this will slow
down
my web application
Maybe. But not likely. Search the web for 'premature optimization' ;-)
Or use the same trick
new Throwable(Oups).printStackTrace();
inside your listener to not just write out session creations and
destroys, but the code stack at that moment. Above Wrapper is nicer,
using the same trick in your existing listener is simpler and faster.
I did that and finally
Hello,
I have a problem to integrate my own Application into the Tomcat Server. The
mod_jk works fine. If I open http://127.0.0.1 I see the Tomcat Start Page.
Where I have to place my webapp and where I have to change some files to make
my Application available onto the server?
I have a Debian
Hello,
I have a problem to integrate my own Application into the Tomcat Server. The
mod_jk works fine. If I open http://127.0.0.1 I see the Tomcat Start Page.
Where I have to place my webapp and where I have to change some files to make
my Application available onto the server?
I have a Debian
When deploying an application you can either place a war in the webapps
directory, copy the files to a directory in the webapps directory of if you
are hosting a simple website use the ROOT directory in you webapps
directory.It is advisable to change the appBase attribute in the host
element
Hi,
I get an error from the Catalina.log with my server, while using another server
the application works fine.
Any idea will be more than welcome.
Thanks a lot.
Neus
This is the Catalina.log ERROR:
13-nov-2008 17:20:02 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache
Hello,
Hmm..
In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK and move
my App folder shop_v1 to ROOT
After that and a restart of Tomcat... nothing will be browseable.. not
index.jsp nor test.jsp within ROOT with simple hello...
The message HTTP 404
The requested resource (/)
Hi all,
Can anyone point me in the right direction, I need to implement a logging and
reporting mechanism for Tomcat (6.0.18 on Debian based Linux with JSVC).
I am thinking of using either Log4j or Juli logging for only severe errors.
Ideal would be to send an alert when the server crashes (by
is it not possible to define a global filter for all web applications? If I
add
filter
filter-nameLogger/filter-name
filter-classfilters.LoggerFilter/filter-class
init-param
param-namelocalTimeout/param-name
param-value480/param-value
/init-param
/filter
Ehlers, Kolja wrote:
is it not possible to define a global filter for all web applications?
For Tomcat you can use Valves.
In fact, you should really ignore additional time that such simple
filter will add to request processing time.
First: check if it really slows down your app. If it
yes thanks I will do that. So I cannot just add the filter to the global
web.xml at conf/web.xml?
-Ursprüngliche Nachricht-
Von: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 12:53
An: Tomcat Users List
Betreff: Re: AW: AW: Different session timeout for
Alexander Diedler wrote:
Hello,
Hmm..
In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK and move
my App folder shop_v1 to ROOT
After that and a restart of Tomcat... nothing will be browseable.. not
index.jsp nor test.jsp within ROOT with simple hello...
The message HTTP
Dear All,
I have tomcat server with apache (mod_jk) and mysql running on my box.
Initially there were no issues with the server. But from past one month, the
tomcat application hangs and websites also doesn't open. Though when i run
nmap localhost, it shows me 8080 and ajp13 services running.
I
Hi,
Have you tried disabling XML Schema Validation in server.xml?
Querol Vidal, Neus wrote:
Hi,
I get an error from the Catalina.log with my server, while using another
server the application works fine.
Any idea will be more than welcome.
Thanks a lot.
Neus
This is the
I installed the new Tomcat connection pool and it worked ok yesterday. First
thing this morning it
threw this exception below. (I snipped out a bunch of stuff but can send the
whole thing if it would
help)
My resource definition from context.xml is
Resource name=jdbc/prot auth=Container
A better solution is to copy a recent version of xerces.jar inside
/common/endorsed folder.
Querol Vidal, Neus wrote:
Hi,
I get an error from the Catalina.log with my server, while using another
server the application works fine.
Any idea will be more than welcome.
Thanks a lot.
Thanks Mark for the report, no not at all. I will push out a fix today.
Filip
Mark Shifman wrote:
I installed the new Tomcat connection pool and it worked ok yesterday. First
thing this morning it
threw this exception below. (I snipped out a bunch of stuff but can send the
whole thing if it
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Subject: AW: AW: Different session timeout for local and
external users
is it not possible to define a global filter for all web
applications?
It should be, but it will apply to all webapps, including the ones packaged
with Tomcat.
I am running tomcat server on Redhat linux. Tomcat server 5.
2 weeks ago a webapp i have running on port 8010 just stopped working. I am
not a tomcat expert by any means and dont know much about it other than
trying to help out.
The only thing i see that has changed on the server is
Hello,
I use tomcat clustering with session replication, and JAAS module
authentication;
when tomcat instance loose session, the other cannot authenticate the user.
how I keep the user authenticated on all the tomcat instance?
thanks!
--
View this message in context:
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Subject: Logging Tomcat errors
Can anyone point me in the right direction, I need to
implement a logging and reporting mechanism for Tomcat
(6.0.18 on Debian based Linux with JSVC).
What specifically do you need to know beyond what's in the
its located at shared/lib
14.11.2008 16:33:43 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
14.11.2008 16:33:43 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 593 ms
14.11.2008 16:33:43
From: William82 [mailto:[EMAIL PROTECTED]
Subject: Re: catalina.log error
A better solution is to copy a recent version of xerces.jar inside
/common/endorsed folder.
Please don't do that - it will simply confuse the issue. The OP is running on
a 1.6 JRE, which has more that adequate XML
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kolja,
Ehlers, Kolja wrote:
is it not possible to define a global filter for all web applications?
Yes, but I'm not sure why you'd want to do that. If each application
needs it, just enable it in all applications.
If I add
filter
Hi tomcat Wisemen,
I'm trying to deploy a servlet on my fresh installated tomcat. I believe
I've succeded on installation as I can see the main page and run its
servlets on http://eawars.sytes.net:8180/, which is the domain and port of
my remote tomcat. (I run tomcat on a server on my LAN, but
From: djbowen1 [mailto:[EMAIL PROTECTED]
I am running tomcat server on Redhat linux. Tomcat server 5.
There' a 5.0 stream (no longer maintained) and a 5.5 stream (maintained). The
third version number then becomes significant. Could you give us any more of
the version numbers, such as
When bringing an application up in a clustered environment everything is
working great, including session replication.
What we really need is a replicated applicationcontext.
We then enabled the ReplicatedContext as the className attribute of Context.
As soon as we do that the application
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
I [set up a filter that emits stack traces] and finally found the
problematic code (of course in the web application - in doGet/doPost
of NewSessionServlet - and not in Tomcat/JBoss):
[snip]
while
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Subject: AW: AW: Different session timeout for local and
external users
its located at shared/lib
If it's a standalone class, it should be in shared/classes, not shared/lib.
Also, make sure the class does not exist in any of the individual
Peter Crowther wrote:
From: djbowen1 [mailto:[EMAIL PROTECTED]
I am running tomcat server on Redhat linux. Tomcat server 5.
There' a 5.0 stream (no longer maintained) and a 5.5 stream (maintained).
The third version number then becomes significant. Could you give us any
more of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
Christopher Schultz wrote:
The only legal ways I know of are to call getReader and getInputStream.
Those are easily handled as I've laid out in previous posts.
Can you point me to one of these posts ?
Because at the
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Subject: AW: Deploying On Production Server
You will need to make use of the mod_jk (The Apache Tomcat
Connector) at http://tomcat.apache.org/connectors-doc/
Don't be silly - adding another major component just to run on port 80 is
massive
From: djbowen1 [mailto:[EMAIL PROTECTED]
I have the catalina.out and the catalina.date logs.which one is more
usefull?
The .out file typically has any errors in it. The logging format is similar to
many other applications. I'd suggest looking through that for error messages -
a swift hunt
Nov 14, 2008 10:51:39 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): Catalina; Protocol handler start
failed: java.net.BindException: Address already in use:8010
at
here is a current log with the port in use fixed
Nov 14, 2008 11:01:35 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8010
Nov 14, 2008 11:01:35 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gaurav,
Gaurav Pruthi wrote:
I have tomcat server with apache (mod_jk) and mysql running on my box.
Initially there were no issues with the server. But from past one month, the
tomcat application hangs and websites also doesn't open. Though when i
Dears,
. A Servlet deployed on tomcat 5
. The Servlet connects to a database (Oracle 10 g) to perform a DML
statement
. A lookup to a Data source was performed once
. I used the data source to open a connection to the database for each
new request and close
Mark, this was fixed in 1.0.3-beta, thanks for helping us out!
http://tomcat.apache.org/dev/dist/jdbc-pool/1.0-beta/
Filip
Mark Shifman wrote:
I installed the new Tomcat connection pool and it worked ok yesterday. First
thing this morning it
threw this exception below. (I snipped out a
Dears,
. A Servlet deployed on tomcat 5
. The Servlet connects to a database (Oracle 10 g) to perform a DML
statement
. A lookup to a Data source was performed once
. I used the data source to open a connection to the database for each
new request and close
From: djbowen1 [mailto:[EMAIL PROTECTED]
[...]
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found
Not a problem.
/usr/java/jdk1.6.0_01/jre/lib/i386/client
That's quite an old 1.6. If the app was working before, and this isn't a
Yeah sorry it must be 6. i have no backround in this at all so i know very
little, it was just dumped on me.
The apache httpd.conf file has a virtual host set to redirect email.host.com
to email.host.com:8010.
Peter Crowther wrote:
From: djbowen1 [mailto:[EMAIL PROTECTED]
[...]
INFO:
Jakob Ericsson schrieb:
On Thu, Nov 13, 2008 at 8:17 PM, Rainer Jung [EMAIL PROTECTED] wrote:
Jakob Ericsson schrieb:
Upgrading to latest version of mod_jk solves the problem. As I said
before, this on Windows 2003 Server running both httpd (2.0.59) and
tomcat (6.0.13) on the same machine. We
Hello!
is there a way to dispose an HttpServletRequest closing the
underlying inputstream without consuming the entire HTTP client stream?
Before answering request.getInputStream().close() let me explain the
scenario ;)
The scenario involves a client application executing a potentially
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
aelgamal , wrote:
The above scenario resulted in very poor scalability during the stress
testing. When the average response time for 1 thread was x msec, the average
response time for 2 threads was 2x and 3 threads was 3x
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces the immediate availability of
Apache Tomcat JDBC Connection Pool
The download page for this component says Tomcat 6. Is this component
compatible with Tomcat 5.5 as well? If
I guess it should be easy enough to distinguish between severe errors and
ordinary errors, but how do you distinguish between 500 errors application
runtime errors? I specifically want to report errors that occur at the
container level and not at the application level... I hope this makes
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces the immediate availability of
Apache Tomcat JDBC Connection Pool
The download page for this component says Tomcat 6. Is this component
Is there a way to view all the sessions in Tomcat and remove or stop
one? Thanks.
Hi,
i am not sure i have understood right about the tomcat-users.xml file...
Where are the basic roles defined?
I had some problems getting the admin and manager account working and
added a standard role, which however doesn't appear in the admin web
interface. Why is that?
What does the role1
A little more information.
When docBase is pointed at a war file and setting the unpackWAR=false it
appears to at least load correctly. (We're still trying to validate that it is
running correctly).
When docBase is pointed at a war file and unpackWAR=true then it does not
load any of the
Dear Peter,
I guess it should be easy enough to distinguish between severe
errors and ordinary errors, but how do you distinguish between 500
errors application runtime errors? I specifically want to report
errors that occur at the container level and not at the application
level... I
Dear Alex,
The debian Tomcat package is notoriously hard to use. In your shoes I
would switch to a normal Tomcat server from apache.org.
In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK
and move my App folder shop_v1 to ROOT
After that and a restart of Tomcat... nothing
Hi,
To make our tomcat heap size memory to 8 GB we have set the below=20
settings echo $CATALINA_OPTS -Xms8192M -Xmx8192M -Xss1024K=20
-XX:PermSize=3D64m -XX:MaxPermSize=3D256m -Dfile.encoding=3DCp1252 Please=20
suggest is this ok ? as we are observing the maximum heap size memory for=20
tomcat
Hello all,
I just got put into the fire without hardly any documentation. I've got to
do a TOMCAT 6.0.14 (which is the enterprise standard) install on a sun
solaris 9 server that is running apache2.2.6 and I need to know what version
of the Java SDK to install and also what version of the
From: Harish S Rathod [mailto:[EMAIL PROTECTED]
Subject: Question regarding Tomcat memory
First, use a different mailer or send only in plain text; whatever you're using
is encoding even standard ASCII characters like =.
To make our tomcat heap size memory to 8 GB we have set the below=20
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom,
Reis, Tom wrote:
Is there a way to view all the sessions in Tomcat and remove or stop
one? Thanks.
There is nothing built-into Tomcat to allow you to do this. Certain
add-ons and server managers can be used to do this, though. One such too
is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
nocturna_gr wrote:
i am not sure i have understood right about the tomcat-users.xml file...
Where are the basic roles defined?
There are no basic roles defined for Tomcat in general. The
tomcat-users.xml file allows you to
On 14 Nov 2008 at 13:30, Hardegree, Scott (IT) wrote:
Hello all,
I just got put into the fire without hardly any documentation.
I´ve got to do a TOMCAT 6.0.14
(which is the enterprise standard)
According to whom?
install on a sun solaris 9 server
that is running apache2.2.6 and
I
Tom-
did you get a chance to look at
manager http://localhost:PORT/manager?
admin?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a
We are seeing a sporadic issue where the tomcat-users.xml file changes in
some way. The file command repots the type as 'data' rather than XML. The
byte size doesn't change. Once it changes, tomcat process still runs but is
inaccessible via web and no logging appears to be happening. This is on a
On 14 Nov 2008 at 15:10, Hardegree, Scott (IT) wrote:
Subject:RE: Apache tomcat 6.0.14 installation on sun solaris 9
questions
Date sent: Fri, 14 Nov 2008 15:10:58 -0600
From: Hardegree, Scott (IT) [EMAIL PROTECTED]
To: [EMAIL
From: Joe Bolin [mailto:[EMAIL PROTECTED]
Subject: tomcat-users.xml file becomes unusable
We are seeing a sporadic issue where the tomcat-users.xml
file changes in some way. The file command repots the type
as 'data' rather than XML.
What version of Tomcat are you using?
What are the
Hey all,
System: Tomcat 6.0.15, JDK 6.0, Windows Vista BE.
I've been tasked with creating a custom login module that will integrate
with our current system (which uses the ole request.getRemoteUser() call
some). I need to figure out what I'm not doing to integrate with the
*I have two tomcats (tomcat 6)** setup on two separate machines. I have a
hardware load balancer with scheduling method configured to round robin.*
**
*each tomcat recognizes the other one by saying replication member added *
**
*I also made the examples web application (that comes with tomcat) a
Hello,
We recently upgraded our system from Tomcat 4_1_31 to Tomcat
5_5_27. We use Crystal Interactive viewer for web reporting. Getting
File Not Found errors on the crystal toolbar as if it does not
recognize virtual host after upgrade. Our application is under
/webapps/appFolder.
Hi,
Sorry the content of the mail was bit messed up ,i have corrected the
settings wordings please read the below text
To make our tomcat heap size memory to 8 GB we have set the below
settings
-Xms8192M -Xmx8192M -Xss1024K -XX:PermSize=64m -XX:MaxPermSize=256m
-Dfile.encoding=Cp1252
Please
There is currently no way to do this in Tomcat. Tomcat will always drain
the input stream, even in cases like this where it should know better.
Maurizio Melato [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello!
is there a way to dispose an HttpServletRequest closing the
you need to deploy the app on node 2 as well, it says the app is not
installed there
Filip
rohit aman wrote:
*I have two tomcats (tomcat 6)** setup on two separate machines. I have a
hardware load balancer with scheduling method configured to round robin.*
**
*each tomcat recognizes the other
From: Ramamoorthy, Saku [mailto:[EMAIL PROTECTED]
Subject: Default Virtual Host Tomcat 5.5
Host name=localhost appBase=/webapps/appFolder
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
The above is incorrect: appBase must point to the directory in
From: Harish S Rathod [mailto:[EMAIL PROTECTED]
Subject: Re: Question regarding Tomcat memory
-Xms8192M -Xmx8192M -Xss1024K -XX:PermSize=64m -XX:MaxPermSize=256m
-Dfile.encoding=Cp1252
That's what I surmised.
Please suggest is this ok ?
As long as you have the RAM to hold that much heap
77 matches
Mail list logo