Any idea what this error means?
1) org.apache.jk.server.JkCoyoteHandler - Error in action code
java.net.SocketException: Connection reset by peer: socket write
error
2) WARN - Server has closed connection
470508266 [Thread-6] WARN org.apache.jk.common.ChannelSocket -
Server has
How did you find out it is ignoring -Xmx parameter. Initially when you
start up tomcat, it would allocate only the minimum heap that you set in
-Xms.
Hari
-Original Message-
From: Christian Cryder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 11:49 AM
To: Tomcat-User
You have to JT400.jar file to make DB connections to the 400. The Driver
Class name you can use is com.ibm.as400.access.AS400JDBCDriver. Remember
that this driver is type 4 driver.
You need not make any changes to the as400. You can connect to the
database with your username and password.
Hari
You have to have jt400.jar in Linux box.
Hari
-Original Message-
From: x x [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 4:56 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: problem connecting to a as400
thanks for your help, thanks a lot.
Shapira,
I don't think the question is ridiculous. There are a lot of people out
there who have implemented tomcat in production environment and we as
starters would like to know how they managed some of the delicate issues
like this.
Off late there have been many queries about memory
.
The
remainder will only take a few seconds. Rarely, if ever should a GC take
more than 10 seconds.Make sure that the db connection timeout is set to
10-15 seconds. For the DBCP you set this using the parameter maxWait.
Thanks,
Rommel.
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL
Hai,
Thanks you very much for spending the time and answering some of my
(our) problems in much detail. Appreciate it. I will try to put in my
efforts on the direction you have shown.
Again Appreciate your time
Hari
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Take a look at this site. It has step by step installation instructions
http://www.onjava.com/pub/ct/33
Hari
-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 10:48 AM
To: [EMAIL PROTECTED]
Subject: IIS and Tomcat basic configuration
Take a look at the following site. It gives you a feeler of how to do it. Once you run
the batch file, it updates the Win2000 registry entries for you. From there you can
play with it.
http://www.mattkelli.com/tech/tomcat/ntservice.htm
-Original Message-
From: Nicolas Piroué
Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:21 PM
To: [EMAIL PROTECTED]
Subject: Memory Allocation
Tomcat when starting uses 60M memory in heap. Why is that it is using
so
much memory in heap. I found this by running jprobe memory debugger. I
have just
Hi,
I can try with IBM's version and also with sun's JVM1.4.1_01 and let you
know about it.
Thanks for your input.
Hari
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:36 AM
To: Tomcat Users List
Subject: RE: Memory Allocation
Nate
Take a look at the following site. It gives you a feeler of how to do
it. Once you run the batch file, it updates the Win2000 registry entries
for you. From there you can play with it.
http://www.mattkelli.com/tech/tomcat/ntservice.htm
When you follow the instructions, and run the batch
Tomcat when starting uses 60M memory in heap. Why is that it is using so
much memory in heap. I found this by running jprobe memory debugger. I
have just one application in the context of server.xml file and don't
think the entire application gets loaded into memory. After doing a full
garbage
- the default heap size set is for 64 meg.
This can be changed using the -Xmx parmeters in the initial call to the
jvm. We set the max heap size for our tomcat to 128M using:
-Xmx128M
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 1
When I start the JVM with -Xms512m, where does the memory gets allocated
from. Is it from System main memory or from the virtual Memory.
The reason I ask this is when I look at Windows Task manager I could see
a bump in the MEM Usage portion. But the amount of Physical Memory
(Total + Available)
Take a look at the following site. It gives you a feeler of how to do
it. Once you run the batch file, it updates the Win2000 registry entries
for you. From there you can play with it.
http://www.mattkelli.com/tech/tomcat/ntservice.htm
But the only catch running tomcat as service with the start
Setting the parameters in Catalina.bat would not work if you run Tomcat
as a service since you service is calling tomcat.exe directly and not
startup.bat or Catalina.bat.
But to test out before you start the service you can put the values in
CATALINA_OPTS = -Xms128m -Xmx258 etc and run
I changed the following settings in setclasspath.bat to start tomcat
server in Server Mode.
Set _RUNJAVA=%JAVA_HOME%\bin\java -server
Set _RUNJAVA=%JAVA_HOME%\bin\javaw -server
Set _RUNJAVA=%JAVA_HOME%\bin\jdb -server
I have also changed JAVA_HOME/jre/lib/jvm.cfg to put -server at the top
of
Is there a way to redirect -verbose:gc from displaying in console to a
log file?
Hari
Shapira
Millennium ChemInformatics
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 3:15 PM
To: [EMAIL PROTECTED]
Subject: Redirecting verbosegc to a file
Is there a way to redirect -verbose:gc from displaying in console to a
log file
Is there any documentation that explains how to setup parameters for
precompiling JSP's when Tomcat Server starts up or can somebody please
explain how to do this?
Hari
I know somebody answered this question before but could not find it in
the archives.
Is there any difference between -Xms64m and -Xms64M
Similarly is there a difference between -Xms1G and -Xms1g
Hari
Is there any definitive advantage of precompiling JSPs' when tomcat
server starts UP. Does this have any effect on performance?
Hari
as a good material on this matter:
http://www.javaperformancetuning.com/
Hope it helps
[EMAIL PROTECTED]
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: 13. janúar 2003 13:23
To: [EMAIL PROTECTED]
Subject: Precompiling JSP
Is there any definitive
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: 13. janúar 2003 13:48
To: Tomcat Users List
Subject: RE: Precompiling JSP
Thanks Reynir,
This was exactly I was looking for. Our Jsp's are loading
very slow. We are using JDBC connection to DB2/400
Is there a way to find out how often tomcat runs Garbage Collection and
how to optimize it if GC does not happen often
Hari
Is there a way to find out the number of active connections in a
connection pool?
Hari
Can anybody explain the usage of work Directory in Tomcat. I see that
the compiled versions of the JSP's are being stored here. Does the JSP
get loaded from here upon actual execution? IF so what happens if there
is a change in the JSP.
One strange problem is every time I change a JSP, I had to
You have two Host name defined and only one closing tag for the host. Did you change
Engine name=Standalone defaultHost=localhost debug=99 to reflect host0.com
in the defaultHost
Hari
-Original Message-
From: J. Norment [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 10:15
of the solution?
On Tue, 17 Dec 2002 10:22:20 -0500, Hari Venkatesan wrote:
You have two Host name defined and only one closing tag for the
host. Did you change Engine name=Standalone
defaultHost=localhost debug=99 to reflect host0.com in the
defaultHost
Hari
-Original Message-
From: J. Norment
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:04 AM
To: 'Tomcat Users List'
Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone
Changing defaultHost is not the solution.
John
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:10 AM
To: Tomcat Users List
Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone
If I leave the defaultHost to localhost and have a host
name=something.com, when I type in the url
http
://host1.com - loads up host1's index page
Is changing the default host part of the solution?
On Tue, 17 Dec 2002 10:22:20 -0500, Hari Venkatesan wrote:
You have two Host name defined and only one closing tag for the
host. Did you change Engine name=Standalone
defaultHost=localhost debug=99
John,
Thanks for all your help on Virtual host setup. I got it setup and works
really good.
Hari
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 10:01 PM
To: 'Tomcat Users List'
Subject: RE: jsps and servlets don't work
Maybe so.
Is there any documentation that explains virtual hosting using IIS and
tomcat
Hari
I remember somebody in the group saying that they have multiple
instances in production. How do you run multiple instances of tomcat as
a service in WIN2000
Each of the instance will have a separate server.xml file and
startup.bat
Hari
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
You can set session time outs in Web.xml file
Hari
-Original Message-
From: GUNTURU, SRINIVAS [AG-Contractor/1000]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 10:28 AM
To: '[EMAIL PROTECTED]'
Subject: Request/Connection Timeout
Hi,
We are using Tomcat 4.0.4 on
.
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 9:34 AM
To: Tomcat Users List
Subject: RE: Request/Connection Timeout
You can set session time outs in Web.xml file
Hari
-Original Message-
From: GUNTURU, SRINIVAS [AG-Contractor
It is not a problem with Tomcat. Your JSP is not getting compiled
correctly into a servlet class.
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
ava:479)
Your compilation is failing at line 479.
the for loop?
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 12:20 PM
To: Tomcat Users List
Subject: RE: XML vs JSP Syntax: Looks like a bug
It is not a problem with Tomcat. Your JSP is not getting compiled
correctly into a servlet class
Can somebody explain why in the default server.xml file we have
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=5 maxProcessors=75 enableLookups=true
redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2
useURIValidationHack=false/
and
Jake
Should I uncomment the the following lines to make it work with IIS
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75
acceptCount=10 debug=0/
Hari
-Original Message-
From: Jacob Kjome [mailto:[EMAIL
I have IIS 5.0 configured with Tomcat 4.1.12. My form based
authentication is failing to find j_security_check and comes back with
resource not available.
The same code when executed with normal http server works.
Any ideas? ?
Hari
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Formbased authentication does not work if IIS is configured with Tomcat
but works with normal HTTP server. Can somebody throw some light?
I get 404 error stating j_security_check resource not available.
This is the same with /examples/jsp/security/protected/login.jsp too!
Hari
Try changing the following parameter value in server.xml file
valuejdbc:as400://10.0.0.1/value
valuejdbc:as400://{name of your machine} /value instead of the ip
address of the as400
Hari
-Original Message-
From: Kevin Passey [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002
Is it possible to deploy applets in JSP in Tomcat4.1.12?
Can somebody guide me on how we can do it.
Hari
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-
From: David Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: out of Context
Hari Venkatesan writes:
Is there a way to retrieve windows userid from the client side using
java or javascript?
Hari
--
To unsubscribe, e
authenticated against LDAP to signon to windows, I don't want to
authenticate him again by making him enter his id again.
Hari
-Original Message-
From: David Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 2:27 PM
To: Tomcat Users List
Subject: Re: out of Context
Hari Venkatesan
David,
Sorry for my ignorance. I don't understand what you are trying to say.
Hari
-Original Message-
From: David Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 2:41 PM
To: Tomcat Users List
Subject: Re: out of Context
Hari Venkatesan writes:
David,
Thanks
Is there a way to retrieve windows userid from the client side using
java or javascript?
Hari
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
You can create a bean that would store the user in the session after he
is authenticated.
I hope you have login.jsp which would get the user id and password for
authentication. Once the user is authenticated there would be a
re-direction page (welcome-page in web.xml file).
If you are using
Did you check Catalina_log in /logs directory
Hari
-Original Message-
From: Charlene Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 3:46 AM
To: Tomcat Users List
Subject: Re: ldap authenitcation
Hi,
Is it just not possible to authenticate against LDAP?
If not
Have anybody tried creating multiple tomcat instances. Is there any
documentation that explains this step by step?
Hari
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Have anybody tried calling j_security_check from a servlet rather than
calling from a form.
Hari
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Try this
servlet-mapping
servlet-namehelloworld/servlet-name
url-pattern/helloworld/url-pattern
/servlet-mapping
http://localhost:8080/phpserver/helloworld
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: Arthur Danekyants
Which version of tomcat R u using?? 4.1.12 ? ?
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: Brian Kautz [mailto:BKautz;arnoldlogistics.com]
Sent: Monday, November 04, 2002 10:48 AM
To: [EMAIL PROTECTED]
Subject: JNDI results in Cannot Load JDBC
);
}
This is all I did. I works fine.
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: Brian Kautz [mailto:BKautz;arnoldlogistics.com]
Sent: Monday, November 04, 2002 12:34 PM
To: Tomcat Users List
Subject: RE: JNDI results
We are planning to setup Tomcat 4.1.12 in a dual processor NT box. Are
there any special configurations issues that I need to address and any
tips that would avoid surprises.
By the way I am new to Tomcat and setting up of App servers.
You inputs and advice would be appreciated
Hari
Try System.out.println. To maximize the window, right click the window
and you can define the properties
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: pkrishnaswami [mailto:pkrishna;learnframe.com]
Sent: Friday, November 01, 2002 3:46 PM
Did you define the datasource in web.xml? ?
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: John Mattos [mailto:mattosj;yahoo.com]
Sent: Friday, November 01, 2002 3:52 PM
To: Tomcat Users List
Subject: Strange JDBC Error
I'm using a JDBC
Right click right on the top bar where you see C:\Tomcat\ etc., (ie
where you see the maximize, minimize, close (x) buttons).
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: pkrishnaswami [mailto:pkrishna;learnframe.com]
Sent: Friday, November
The window that you see is the Console. The log files would be in
C:\Tomcat4.1.12\logs.
Hari Venkatesan
Performance Food Group
Phone : 804 484 6263
-Original Message-
From: pkrishnaswami [mailto:pkrishna;learnframe.com]
Sent: Friday, November 01, 2002 4:31 PM
To: 'Tomcat Users List
62 matches
Mail list logo