Re: URGENT : Special Character when deployed on Linux

2005-08-22 Thread Wade Chandler
--- nitin dubey [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am getting special characters when we enter spaces
 during formatting a text in a textarea.  It used to
 work perfectly in our development environment but
 when
 we moved it to production we get 'Â' character for
 every repeated blank space.
 
 The only thing changing in development and prodution
 is OS from Windows to Linux(Production).  I just
 want
 to know if anyone has faced this problem anytime
 developing their applications.
 
 Development Environment:
 OS:Windows 2K
 Browser: IE5.5+, Firefox1.0+
 Database: MYSQL (on Linux Server)
 ServletContainer: Tomcat(On windows Server)
 
 Production Environment:
 Database: MYSQL (on Linux Server)
 ServletContainer: Tomcat(On Linux Server)
 
 Note:I am also using FCKEditor for editing the
 content.   But they say its not the problem with
 FCKEditor.
 
 Cheers,
 
 
 Nitin
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

You're getting the characters where?  Is this in your
java code or after you put into the database then read
back out?  For your MySQL connection you will probably
want to set the encoding.  See it's connection
parametersif it's after putting the data into the
database.  I've seen this happen before.  You're
default encodings are probably different.  Also if you
are using a Reader to parse anything as a stream
then you will want to setup some config to set your
encoding there as well.  Is this maybe after pasting
from Word, or is this in IE using an encoding on the
page or are you using an encoding with your form? 
You'll need to use the same encoding every where. 
JSP, Readers, MySQL, etc.

Wade

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URGENT : Special Character when deployed on Linux

2005-08-22 Thread nitin dubey
Wade,

It is when the data is displayed in browser.  I have
used the default encoding and will now look out for
any mismatch.

Regards,

Nitin

--- Wade Chandler [EMAIL PROTECTED]
wrote:

 --- nitin dubey [EMAIL PROTECTED] wrote:
 
  Hello all,
  
  I am getting special characters when we enter
 spaces
  during formatting a text in a textarea.  It used
 to
  work perfectly in our development environment but
  when
  we moved it to production we get 'Â' character for
  every repeated blank space.
  
  The only thing changing in development and
 prodution
  is OS from Windows to Linux(Production).  I just
  want
  to know if anyone has faced this problem anytime
  developing their applications.
  
  Development Environment:
  OS:Windows 2K
  Browser: IE5.5+, Firefox1.0+
  Database: MYSQL (on Linux Server)
  ServletContainer: Tomcat(On windows Server)
  
  Production Environment:
  Database: MYSQL (on Linux Server)
  ServletContainer: Tomcat(On Linux Server)
  
  Note:I am also using FCKEditor for editing the
  content.   But they say its not the problem with
  FCKEditor.
  
  Cheers,
  
  
  Nitin
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  protection around 
  http://mail.yahoo.com 
  
 

-
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 You're getting the characters where?  Is this in
 your
 java code or after you put into the database then
 read
 back out?  For your MySQL connection you will
 probably
 want to set the encoding.  See it's connection
 parametersif it's after putting the data into
 the
 database.  I've seen this happen before.  You're
 default encodings are probably different.  Also if
 you
 are using a Reader to parse anything as a stream
 then you will want to setup some config to set your
 encoding there as well.  Is this maybe after pasting
 from Word, or is this in IE using an encoding on the
 page or are you using an encoding with your form? 
 You'll need to use the same encoding every where. 
 JSP, Readers, MySQL, etc.
 
 Wade
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ( URGENT Please ) tomcat connection refused

2005-07-27 Thread David Shapiro
Did you generate the RSA key with the changeit password?  Did you uncomment
the section with 8443 port configuration?  Did you wait long enough for the
server to start (tail -f the catalina.out log and wait for it to see 8443
has started).  What is in the catalina.out log?  Any errors?  On IBM AIX I
had to change the protocol to IbmX503 and use SSL instead of TLS.  Try
changing TLS to SSL (see the section for configuring 8443 to do this).  

David 

-Original Message-
From: Abdullah Abdullah [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 1:10 PM
To: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
Subject: ( URGENT Please ) tomcat connection refused

Dear all

I am trying to create a secure connection between tomcat server and a
browser. I have done exactly the same as the instructions on

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert

popped up saying (( The connection was refused when attepting to contact
localhost:8443 .

So, I would be very grateful if anyone can let me know what is the problem
??

Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent: how to detect client has closed connection

2005-06-07 Thread Ronald Klop

Sorry,

But I have no more suggestions. I would have to debug it myself than and don't 
have the time for that. Maybe somebody else on the list can tell you more. 
Maybe posting some snippets of code helps.

Ronald.

On Thu Jun 02 22:25:12 CEST 2005 lapson lee [EMAIL PROTECTED] wrote:

Hey Ronald,

Thanks for your help. I checked the code. I use default out.. and it indeed 
was using javax.servlet.jsp.JspWriter, but it does not throw an IOException. 
Do you know why?


Thanks in advance...

Luke




From: Ronald Klop [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Urgent: how to detect client has closed connection
Date: Wed, 1 Jun 2005 14:14:08 +0200 (CEST)

What Writer are you using? If you do response.getWriter() you will get a 
PrintWriter and the docs tell you that PrintWriter doesn't throw 
exceptions, so your app keeps printing to the writer after an error. (A 
closed connection is an IOException.)
If you use the default out property of a jsp page you get a JspWriter which 
does throw exeptions on error.


Ronald.

On Tue May 31 19:42:30 CEST 2005 Tomcat Users List 
tomcat-user@jakarta.apache.org wrote:

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was 
thrown by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/






Re: Urgent: how to detect client has closed connection

2005-06-02 Thread lapson lee

Hey Ronald,

Thanks for your help. I checked the code. I use default out.. and it indeed 
was using javax.servlet.jsp.JspWriter, but it does not throw an IOException. 
Do you know why?


Thanks in advance...

Luke





From: Ronald Klop [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Urgent: how to detect client has closed connection
Date: Wed, 1 Jun 2005 14:14:08 +0200 (CEST)

What Writer are you using? If you do response.getWriter() you will get a 
PrintWriter and the docs tell you that PrintWriter doesn't throw 
exceptions, so your app keeps printing to the writer after an error. (A 
closed connection is an IOException.)
If you use the default out property of a jsp page you get a JspWriter which 
does throw exeptions on error.


Ronald.

On Tue May 31 19:42:30 CEST 2005 Tomcat Users List 
tomcat-user@jakarta.apache.org wrote:

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was 
thrown by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent: how to detect client has closed connection

2005-06-01 Thread Ronald Klop

What Writer are you using? If you do response.getWriter() you will get a 
PrintWriter and the docs tell you that PrintWriter doesn't throw exceptions, so 
your app keeps printing to the writer after an error. (A closed connection is 
an IOException.)
If you use the default out property of a jsp page you get a JspWriter which 
does throw exeptions on error.

Ronald.

On Tue May 31 19:42:30 CEST 2005 Tomcat Users List 
tomcat-user@jakarta.apache.org wrote:

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was thrown 
by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: urgent help reqd

2004-10-19 Thread N Tapas Kumar Choudhury
Hi Prashant,
   Just for a quick remind, which DBCP you are using 
for your application, what's the value of KeepAlive=?? which 
should be ideally 'true' and what value you have set for the 
maxThrottle..
What I can suggest you to use upgraded Tomcat version, like Tomcat 
4.1 series if possible ...


On Mon, 18 Oct 2004 prashant chavan wrote :
Dear All
I have hosted my live website on Linux which has Apache 2.0 wuth 
tomcat 3.2.3 and my database is on a sun server. I have multiple 
instances of tomcat running with single installation hosting 
three diffrent websites. My problem is last fer days i am facing 
a peculiar problem my java instances for one site reach to max 
threads (116 approx) and hangs. while this happens my apache 
instances also reach 150 max at same time. Due to which it 
affects my all three diff sites. I searched my jk.log file where 
i found the error ajpv12_handle_response, error writing back to 
server in it occuring continuously. Is it because of this error 
that my tomcat andapache hangs  whats the solution for it. I 
have searched all mailing lists for the same.


Rgds
Prashant

-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent !! Please help me out.

2004-09-22 Thread Antony Paul
This is because the oracle dll is not found int the PATH environment
variable. For this you should have Oracle client installed. Or you can use
Oracle thin driver which dont need Oracle installed

rgds
Antony Paul

- Original Message -
From: Shanti Priya [EMAIL PROTECTED]
To: Tomcat-User [EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 12:45 PM
Subject: Urgent !! Please help me out.


 HI!!
  I get the following error when i try to run my application on
 tomcat.
 The message in the server is as follows.

 ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
 Error in
  actionPerform:
 java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
 at java.lang.Runtime.loadLibrary0(Runtime.java:788)
 at java.lang.System.loadLibrary(System.java:834)
 at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
 at
 oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246)

 at

oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
 at java.sql.DriverManager.getConnection(DriverManager.java:512)
 at java.sql.DriverManager.getConnection(DriverManager.java:171)
 at

com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
 a:468)
 at
 com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
 at
 com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
 at

com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
 er.java:300)
 at

com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
 6)
 at
 com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
 at

com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
 r.java:1238)
 at
 com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
 at

com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
 (GROWBaseAction.java:100)
 at

com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
 .java:108)
 at

org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
 va:1787)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
 at
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
 FilterChain.java:247)
 at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
 ain.java:193)

 Thanks  Regards,
 Shanti Priya Sunkara

 Location: Pune, India
 Email   : [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent !! Please help me out.

2004-09-22 Thread prashant chavan
Hi Shanti
 
Your error seems to be a databse connection error. Tell me r u using oracle as your 
database for the application. Then you need to check the entries for db connectivity 
files - driverproperties.properties. Reply me with detailed info sot that i can help 
in a much better way.
 
Regards
Prashant

Shanti Priya [EMAIL PROTECTED] wrote:
HI!!
I get the following error when i try to run my application on
tomcat.
The message in the server is as follows.

ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
Error in
actionPerform:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)

at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
a:468)
at
com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
at
com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
at
com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
er.java:300)
at
com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
6)
at
com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
at
com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
r.java:1238)
at
com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
at
com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
(GROWBaseAction.java:100)
at
com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
.java:108)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

Thanks  Regards,
Shanti Priya Sunkara

Location : Pune, India
Email : [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 

 

 


-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

RE: Urgent !! Please help me out.

2004-09-22 Thread Shanti Priya

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


-Original Message-
From: prashant chavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 4:49 PM
To: Tomcat Users List
Subject: Re: Urgent !! Please help me out.


Hi Shanti

Your error seems to be a databse connection error. Tell me r u using oracle
as your database for the application. Then you need to check the entries for
db connectivity files - driverproperties.properties. Reply me with detailed
info sot that i can help in a much better way.

Regards
Prashant

Shanti Priya [EMAIL PROTECTED] wrote:
HI!!
I get the following error when i try to run my

Re: Urgent !! Please help me out.

2004-09-22 Thread Marek Wójtowicz
)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)
root cause
javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)
-Original Message-
From: prashant chavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 4:49 PM
To: Tomcat Users List
Subject: Re: Urgent !! Please help me out.
Hi Shanti
Your error seems to be a databse connection error. Tell me r u using oracle
as your database for the application. Then you need to check the entries for
db connectivity files - driverproperties.properties. Reply me with detailed
info sot that i can help

RE: Urgent .Please help me out

2004-09-22 Thread Robert Shields
Hi

Can you read this please:
http://www.catb.org/~esr/faqs/smart-questions.html

And then consider the following:
- This seems like a servlet or JSP question rather than a Tomcat question.
http://www.catb.org/~esr/faqs/smart-questions.html#forum

- There is no explanation of the cirumstances surrounding the problem, or any source 
code to look at.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise

- The subject line contains urgent and doesn't describe the problem.
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific

Regards,
Rob


-Original Message-
From: Shanti Priya [mailto:[EMAIL PROTECTED]
Sent: Wed 9/22/2004 8:12 AM
To: Tomcat-User
Subject: Urgent .Please help me out
 
Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.

(snip)

Thanks  Regards,
Shanti Priya Sunkara

Location: Pune, India
Email   : [EMAIL PROTECTED]



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent attention needed to solve mysterious SocketException error

2004-08-05 Thread Ralph Einfeldt

Are you running tomcat stand alone ?

One possible cause is that tomcat is trying to open a socket where 
nobody is listening. (Invalid argument or EINVAL is a common error
returned by all kind of socket operations in this case)

Without more of the stacktrace it's difficult (at least for me)
to say anything about the context where the problem is occuring.


 -Original Message-
 From: Adrian G. Klingel [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 05, 2004 5:27 PM
 To: [EMAIL PROTECTED]
 Subject: Urgent attention needed to solve mysterious SocketException
 error
 
 
 I'm running Tomcat 5.0.25 in our DMZ.  The server crashes 
 every day.  I see
 thousands and thousands of lines like this in Catalina.out:
  
 Aug 5, 2004 10:50:31 AM 
 org.apache.tomcat.util.net.TcpWorkerThread runIt
 SEVERE: Remote Host /xx.xx.xx.1 SocketException: Invalid argument
  
 That IP (obfuscated) is our gateway.  The application on this 
 server is not
 distributed, it does make some calls to an external database.
  
 I can't find any documentation on this error.  I found one 
 reference to
 someone else who had the problem, but there were no solutions offered.
  
 Any help is greatly appreciated.
  
 Sincerely,
 Adrian
 
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Mark Thomas
Which version of tomcat?
What operating system?

  _  

From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 19, 2004 9:48 AM
To: 'Tomcat Users List'
Subject: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of
squares!


Hi everyone!
 
First of all, in my JSP page I specify:
%@ page language=java contentType=text/html; charset=UTF-8 %
%@ page pageEncoding=UTF-8%
 
Now, in my HEAD I have:
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
And when I type the following in my page:
This is text in English
  
The English text displays just fine, whereas the Russian is a bunch of squares.
What could be the problem?  Is it possible that the way I SAVE the page could
affect it?  I am using Eclipse with Lomboz, and it has no option to change
encoding of the file.  Lemme try Microsoft word..
Nope, Microsoft word doesn't have an option to save page in different encoding.
I have no clue what to do, and this is urgent because this project is due
tomorrow, can someone PLEASE help with this?
By the way, My browser is configured properly - I have no problem displaying
Russian stuff on other web sites.  Goddamn tomcat :-(((

  _  


Best Regards,

Ivan V. Jouikov
(206) 228-6670
 http://www.ablogic.net/ 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004




RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Ivan Jouikov
Tomcat 5.0.27
Windows XP Pro

I know that I AM capapble of viewing Russian, because, for instance, If I try the 
following:

form action=2.jsp
input type=text name=text
input type=submit
/form

And on another page:

%@ page language=java contentType=text/html; charset=UTF-8 %

%
String text = request.getParameter(text);
text = new String(text.getBytes(8859_1),UTF8);

%

You entered: %=text%

I have no problem seeing Russian here.  But why the hell can't I type it directly into 
JSPs?  I guess it would just like typing it into a java class... does it have anything 
to do with jvm?

 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 19, 2004 10:50 AM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it displays it as a
 bunch of squares!
 
 Which version of tomcat?
 What operating system?
 
   _
 
 From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 19, 2004 9:48 AM
 To: 'Tomcat Users List'
 Subject: [URGENT] When I type Russian in my .jsps, it displays it as a
 bunch of
 squares!
 
 
 Hi everyone!
 
 First of all, in my JSP page I specify:
 %@ page language=java contentType=text/html; charset=UTF-8 %
 %@ page pageEncoding=UTF-8%
 
 Now, in my HEAD I have:
 META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
 And when I type the following in my page:
 This is text in English
   
 The English text displays just fine, whereas the Russian is a bunch of
 squares.
 What could be the problem?  Is it possible that the way I SAVE the page
 could
 affect it?  I am using Eclipse with Lomboz, and it has no option to change
 encoding of the file.  Lemme try Microsoft word..
 Nope, Microsoft word doesn't have an option to save page in different
 encoding.
 I have no clue what to do, and this is urgent because this project is due
 tomorrow, can someone PLEASE help with this?
 By the way, My browser is configured properly - I have no problem
 displaying
 Russian stuff on other web sites.  Goddamn tomcat :-(((
 
   _
 
 
 Best Regards,
 
 Ivan V. Jouikov
 (206) 228-6670
  http://www.ablogic.net/
 
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 
 
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Mark Thomas
Ivan,

This isn't a tomcat problem and I would appreciate it if you would refrain from
blaming tomcat without foundation.

The problem is that your JSP is not saved in UTF-8. Try the following in
Eclipse:
- Right-click on the .jsp file in the package explorer
- Select properties
- In the 'text file encoding' section select 'Other' rather than 'Default'
- Select 'UTF-8' in the now enabled drop down list
- Click 'Apply'
- Click 'OK'
- Save the file
- Redeploy your webapp

On XP you can also save JSPs in UTF-8 using Notepad. Select 'Save As...' and
select the encoding you require from the drop down list at the bottom of the
save file dialog.

I have just cut and pasted the example Russian text from your original e-mail
into a JSP. Before changing the encoding I saw a series of ?s in the browser.
After correcting the JSP file encoding I saw the expected Russian text in IE.

Mark

 -Original Message-
 From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 19, 2004 7:13 PM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a bunch of squares!
 
 Tomcat 5.0.27
 Windows XP Pro
 
 I know that I AM capapble of viewing Russian, because, for 
 instance, If I try the following:
 
 form action=2.jsp
   input type=text name=text
   input type=submit
   /form
 
 And on another page:
 
 %@ page language=java contentType=text/html; charset=UTF-8 %
 
 %
   String text = request.getParameter(text);
   text = new String(text.getBytes(8859_1),UTF8);
   
 %
 
 You entered: %=text%
 
 I have no problem seeing Russian here.  But why the hell 
 can't I type it directly into JSPs?  I guess it would just 
 like typing it into a java class... does it have anything to 
 do with jvm?
 
  -Original Message-
  From: Mark Thomas [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 10:50 AM
  To: 'Tomcat Users List'
  Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a
  bunch of squares!
  
  Which version of tomcat?
  What operating system?
  
_
  
  From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 9:48 AM
  To: 'Tomcat Users List'
  Subject: [URGENT] When I type Russian in my .jsps, it 
 displays it as a
  bunch of
  squares!
  
  
  Hi everyone!
  
  First of all, in my JSP page I specify:
  %@ page language=java contentType=text/html; charset=UTF-8 %
  %@ page pageEncoding=UTF-8%
  
  Now, in my HEAD I have:
  META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
  And when I type the following in my page:
  This is text in English
  ? ?? ??
  The English text displays just fine, whereas the Russian is 
 a bunch of
  squares.
  What could be the problem?  Is it possible that the way I 
 SAVE the page
  could
  affect it?  I am using Eclipse with Lomboz, and it has no 
 option to change
  encoding of the file.  Lemme try Microsoft word..
  Nope, Microsoft word doesn't have an option to save page in 
 different
  encoding.
  I have no clue what to do, and this is urgent because this 
 project is due
  tomorrow, can someone PLEASE help with this?
  By the way, My browser is configured properly - I have no problem
  displaying
  Russian stuff on other web sites.   
  
_
  
  
  Best Regards,
  
  Ivan V. Jouikov
  (206) 228-6670
   http://www.ablogic.net/
  
  
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
  
  
  ---
  Incoming mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Ivan Jouikov
YAY YAY YAY!

REJOICE!

Thanks man!  You saved the day!  Looks like I was on the right track when thinking 
that I should save file differently, I just didn't follow my intuition :(

And sorry about blaming tomcat - I can't blame myself, now can I?

BTW, do you happen to know how to make it so that ALL my files are saved as Unicode?

 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 19, 2004 11:43 AM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it displays it as a
 bunch of squares!
 
 Ivan,
 
 This isn't a tomcat problem and I would appreciate it if you would refrain
 from
 blaming tomcat without foundation.
 
 The problem is that your JSP is not saved in UTF-8. Try the following in
 Eclipse:
 - Right-click on the .jsp file in the package explorer
 - Select properties
 - In the 'text file encoding' section select 'Other' rather than 'Default'
 - Select 'UTF-8' in the now enabled drop down list
 - Click 'Apply'
 - Click 'OK'
 - Save the file
 - Redeploy your webapp
 
 On XP you can also save JSPs in UTF-8 using Notepad. Select 'Save As...'
 and
 select the encoding you require from the drop down list at the bottom of
 the
 save file dialog.
 
 I have just cut and pasted the example Russian text from your original e-
 mail
 into a JSP. Before changing the encoding I saw a series of ?s in the
 browser.
 After correcting the JSP file encoding I saw the expected Russian text in
 IE.
 
 Mark
 
  -Original Message-
  From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 7:13 PM
  To: 'Tomcat Users List'
  Subject: RE: [URGENT] When I type Russian in my .jsps, it
  displays it as a bunch of squares!
 
  Tomcat 5.0.27
  Windows XP Pro
 
  I know that I AM capapble of viewing Russian, because, for
  instance, If I try the following:
 
  form action=2.jsp
  input type=text name=text
  input type=submit
  /form
 
  And on another page:
 
  %@ page language=java contentType=text/html; charset=UTF-8 %
 
  %
  String text = request.getParameter(text);
  text = new String(text.getBytes(8859_1),UTF8);
 
  %
 
  You entered: %=text%
 
  I have no problem seeing Russian here.  But why the hell
  can't I type it directly into JSPs?  I guess it would just
  like typing it into a java class... does it have anything to
  do with jvm?
 
   -Original Message-
   From: Mark Thomas [mailto:[EMAIL PROTECTED]
   Sent: Monday, July 19, 2004 10:50 AM
   To: 'Tomcat Users List'
   Subject: RE: [URGENT] When I type Russian in my .jsps, it
  displays it as a
   bunch of squares!
  
   Which version of tomcat?
   What operating system?
  
 _
  
   From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
   Sent: Monday, July 19, 2004 9:48 AM
   To: 'Tomcat Users List'
   Subject: [URGENT] When I type Russian in my .jsps, it
  displays it as a
   bunch of
   squares!
  
  
   Hi everyone!
  
   First of all, in my JSP page I specify:
   %@ page language=java contentType=text/html; charset=UTF-8 %
   %@ page pageEncoding=UTF-8%
  
   Now, in my HEAD I have:
   META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
   And when I type the following in my page:
   This is text in English
   ? ?? ??
   The English text displays just fine, whereas the Russian is
  a bunch of
   squares.
   What could be the problem?  Is it possible that the way I
  SAVE the page
   could
   affect it?  I am using Eclipse with Lomboz, and it has no
  option to change
   encoding of the file.  Lemme try Microsoft word..
   Nope, Microsoft word doesn't have an option to save page in
  different
   encoding.
   I have no clue what to do, and this is urgent because this
  project is due
   tomorrow, can someone PLEASE help with this?
   By the way, My browser is configured properly - I have no problem
   displaying
   Russian stuff on other web sites.
  
 _
  
  
   Best Regards,
  
   Ivan V. Jouikov
   (206) 228-6670
http://www.ablogic.net/
  
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
  
  
   ---
   Incoming mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
 
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 ---
 Incoming mail is certified Virus

RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Mark Thomas
No idea. Try the online help or google.

Mark

 -Original Message-
 From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 19, 2004 8:33 PM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a bunch of squares!
 
 YAY YAY YAY!
 
 REJOICE!
 
 Thanks man!  You saved the day!  Looks like I was on the 
 right track when thinking that I should save file 
 differently, I just didn't follow my intuition :(
 
 And sorry about blaming tomcat - I can't blame myself, now can I?
 
 BTW, do you happen to know how to make it so that ALL my 
 files are saved as Unicode?
 
  -Original Message-
  From: Mark Thomas [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 11:43 AM
  To: 'Tomcat Users List'
  Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a
  bunch of squares!
  
  Ivan,
  
  This isn't a tomcat problem and I would appreciate it if 
 you would refrain
  from
  blaming tomcat without foundation.
  
  The problem is that your JSP is not saved in UTF-8. Try the 
 following in
  Eclipse:
  - Right-click on the .jsp file in the package explorer
  - Select properties
  - In the 'text file encoding' section select 'Other' rather 
 than 'Default'
  - Select 'UTF-8' in the now enabled drop down list
  - Click 'Apply'
  - Click 'OK'
  - Save the file
  - Redeploy your webapp
  
  On XP you can also save JSPs in UTF-8 using Notepad. Select 
 'Save As...'
  and
  select the encoding you require from the drop down list at 
 the bottom of
  the
  save file dialog.
  
  I have just cut and pasted the example Russian text from 
 your original e-
  mail
  into a JSP. Before changing the encoding I saw a series of ?s in the
  browser.
  After correcting the JSP file encoding I saw the expected 
 Russian text in
  IE.
  
  Mark
  
   -Original Message-
   From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
   Sent: Monday, July 19, 2004 7:13 PM
   To: 'Tomcat Users List'
   Subject: RE: [URGENT] When I type Russian in my .jsps, it
   displays it as a bunch of squares!
  
   Tomcat 5.0.27
   Windows XP Pro
  
   I know that I AM capapble of viewing Russian, because, for
   instance, If I try the following:
  
   form action=2.jsp
 input type=text name=text
 input type=submit
 /form
  
   And on another page:
  
   %@ page language=java contentType=text/html; charset=UTF-8 %
  
   %
 String text = request.getParameter(text);
 text = new String(text.getBytes(8859_1),UTF8);
  
   %
  
   You entered: %=text%
  
   I have no problem seeing Russian here.  But why the hell
   can't I type it directly into JSPs?  I guess it would just
   like typing it into a java class... does it have anything to
   do with jvm?
  
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 10:50 AM
To: 'Tomcat Users List'
Subject: RE: [URGENT] When I type Russian in my .jsps, it
   displays it as a
bunch of squares!
   
Which version of tomcat?
What operating system?
   
  _
   
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:48 AM
To: 'Tomcat Users List'
Subject: [URGENT] When I type Russian in my .jsps, it
   displays it as a
bunch of
squares!
   
   
Hi everyone!
   
First of all, in my JSP page I specify:
%@ page language=java contentType=text/html; 
 charset=UTF-8 %
%@ page pageEncoding=UTF-8%
   
Now, in my HEAD I have:
META HTTP-EQUIV=Content-Type CONTENT=text/html; 
 charset=utf-8
And when I type the following in my page:
This is text in English
? ?? ??
The English text displays just fine, whereas the Russian is
   a bunch of
squares.
What could be the problem?  Is it possible that the way I
   SAVE the page
could
affect it?  I am using Eclipse with Lomboz, and it has no
   option to change
encoding of the file.  Lemme try Microsoft word..
Nope, Microsoft word doesn't have an option to save page in
   different
encoding.
I have no clue what to do, and this is urgent because this
   project is due
tomorrow, can someone PLEASE help with this?
By the way, My browser is configured properly - I have 
 no problem
displaying
Russian stuff on other web sites.
   
  _
   
   
Best Regards,
   
Ivan V. Jouikov
(206) 228-6670
 http://www.ablogic.net/
   
   
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 
 05.07.2004
   
   
   
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 
 05.07.2004
   
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http

Re: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Joel
On Mon, 19 Jul 2004 12:32:34 -0700
Ivan Jouikov [EMAIL PROTECTED] wrote

 YAY YAY YAY!
 
 REJOICE!
 
 Thanks man!  You saved the day!  Looks like I was on the right track when thinking 
 that I should save file differently, I just didn't follow my intuition :(
 
 And sorry about blaming tomcat - I can't blame myself, now can I?

sigh.

 BTW, do you happen to know how to make it so that ALL my files are saved as Unicode?

If you know the encoding you were saving under, you could write a quick
filter in Java (or perl 5.8+, if you find perl easier) that reads the
files in the original encoding and writes them back out in your prefered
Unicode UTF form. 

-- 
Joel [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik \(lists\)
not an issue with clustering, the stack trace is in the mod_jk code,
Filip


-Original Message-
From: Vikas Gupta [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 12:08 PM
To: Tomcat Users List
Subject: Urgent: Issue with Tomcat Clustering



Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD





---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004
 
  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev
try without mod_jk with another load balancer first,
pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net)


- Original Message - 
From: Vikas Gupta [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 12:07 PM
Subject: Urgent: Issue with Tomcat Clustering



Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URGENT!! Relocation error problem

2004-05-24 Thread Graham Bleach
On Fri, May 21, 2004 at 11:16:02AM -0400, Wehner, Terry wrote:
 I am getting the following error when trying to start apache 1.3.27
 
 Syntax error on line 4 of
 /opt/applocal/imt/webi/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf:
 Cannot load /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so into
 server: ld.so.1: /opt/applocal/imt/webi/httpd_1.3.27/bin/httpd: fatal:
 relocation error: file
 /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so: symbol
 ap_ctx_get: referenced symbol not found
 ./apachectl start: httpd could not be started

How was this module compiled?

If it was compiled against the apache 2.0 source it will not work with
apache 1.3. 

 I am also using Jakarta Tomcat 4.1.29 which trys to load the mod_jk.so
 library that I have place in my Apache modules directory.

 The files and paths are being found ok, however the referenced symbol
 seems to be causing the error?
 
 Also if I comment out the part about loading the mod_jk.so (by not
 including the mod_jk.conf file, all other modules load just fine?
 
 I have looked through the old archives and tried a number of different
 solutions:
 
 Changing my LD_LIBRARY_PATH

To anything in particular?

 ./configureing with SHARED_CORE
 
 Etc.

Please don't put URGENT in the title. It may be urgent to you, but it
probably isn't urgent to anyone else on the list.

G
-- 
If you have any trouble sounding condescending, find a Unix user to show you 
how it's done.
-- Scott Adams

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent pls help ! Protection problems of using Realm

2004-04-15 Thread Chong Yu Meng
An easier method would be to use SecurityFilter
(http://securityfilter.sourceforge.net/). There is an example web
application (actually several web apps) bundled with the software. Just
look at the code and I think you'll find it fairly straightforward to
implement what you want.

a a wrote:

Dear all,
 
  I do not have any idea of writing a custom realm, even how to start 
writing it. Can you give me some example or any references that teaching how to write 
a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas [EMAIL PROTECTED] wrote:
You need to write a custom realm.

Mark

  

My case is that I can't store the username and password of 
the roles and users in my server. I need to send the 
authenication information in a format of xml file to a 
foreign server and get back the login result from that 
server. So I can't use Realm to check the roles and password 
and do authentication directly in my server. 

Is there any method that can solve that problem ? or any 
method instead of using Realm ? or override the current 
settings of Realm ?



...
  
http://ringtone.yahoo.com.hk/

  


-- 
There is nothing so absurd but some philosopher has said it. 
-- Marcus Tullius Cicero
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent pls help ! Protection problems of using Realm

2004-04-14 Thread a a
Dear all,
 
  I do not have any idea of writing a custom realm, even how to start 
writing it. Can you give me some example or any references that teaching how to write 
a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas [EMAIL PROTECTED] wrote:
You need to write a custom realm.

Mark

 My case is that I can't store the username and password of 
 the roles and users in my server. I need to send the 
 authenication information in a format of xml file to a 
 foreign server and get back the login result from that 
 server. So I can't use Realm to check the roles and password 
 and do authentication directly in my server. 
 
 Is there any method that can solve that problem ? or any 
 method instead of using Realm ? or override the current 
 settings of Realm ?

...
  
http://ringtone.yahoo.com.hk/


RE: Urgent pls help ! Protection problems of using Realm

2004-04-13 Thread a a
Dear all,
 
  I do not have any idea of writing a custom realm, even how to start writing it. Can 
you give me some example or any references that teaching how to write a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas [EMAIL PROTECTED] wrote:
You need to write a custom realm.

Mark

 My case is that I can't store the username and password of 
 the roles and users in my server. I need to send the 
 authenication information in a format of xml file to a 
 foreign server and get back the login result from that 
 server. So I can't use Realm to check the roles and password 
 and do authentication directly in my server. 
 
 Is there any method that can solve that problem ? or any 
 method instead of using Realm ? or override the current 
 settings of Realm ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

...
  
http://ringtone.yahoo.com.hk/


RE: Urgent pls help ! Protection problems of using Realm

2004-04-12 Thread Mark Thomas
You need to write a custom realm.

Mark

   My case is that I can't store the username and password of 
 the roles and users in my server. I need to send the 
 authenication information in a format of xml file to a 
 foreign server and get back the login result from that 
 server. So I can't use Realm to check the roles and password 
 and do authentication directly in my server. 
  
   Is there any method that can solve that problem ? or any 
 method instead of using Realm ? or override the current 
 settings of Realm ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent ! Pls help !

2004-02-02 Thread Tuan Luu
Try this:

netstat -a |grep 8009

If he finds something, than you should see that, tomcat is listening on
that port (8009). Next thing is try on your server locally:

telnet localhost 8009

If you can see the message 'escape with ^C' or similar msg, than tomcat
config is fine.

if tomcat is fine, you have to control your mod_jk configuration. have
you compiled mod_jk to apache or did you download a binary version? If
it's the binary it should match the version of your apache httpd,
otherwise it won't work. In any case, I think it's a good idea to
compile mod_jk for your apache.

kind regards
Tuan


Arnab Chakravarty wrote:

ajp13 and ajp14 and not ajp12...correction

-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:32 AM
To: Tomcat Users List
Subject: RE: Urgent ! Pls help !


Can u check ur server.xml config file and check if the port is correctly set for the 
ajp12 connector to server the request...

-Original Message-
From: a a [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 12:28 AM
To: [EMAIL PROTECTED]
Subject: Urgent ! Pls help !


Dear all,

  I have some problem when connecting apache to tomcat.
  I have installed both apache1.3 and tomcat4.
  I use mod_jk to do the connection. However some problems exists.
  Here is the log file of mod_jk.log when I run apachectl restart:

[Wed Jan 28 20:32:57 2004]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 111
[Wed Jan 28 20:32:57 2004]  [jk_ajp_common.c (757)]: Error connecting 
to tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 111

and here is the worker.properties:
workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr


  I don't know what the problem is. Could anyone please help me to 
solve the problem.

Regards,
John LEE




...
  
http://ringtone.yahoo.com.hk/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent ! Pls help !

2004-02-01 Thread Arnab Chakravarty
Can u check ur server.xml config file and check if the port is correctly set for the 
ajp12 connector to server the request...

-Original Message-
From: a a [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 12:28 AM
To: [EMAIL PROTECTED]
Subject: Urgent ! Pls help !


Dear all,

  I have some problem when connecting apache to tomcat.
  I have installed both apache1.3 and tomcat4.
  I use mod_jk to do the connection. However some problems exists.
  Here is the log file of mod_jk.log when I run apachectl restart:

[Wed Jan 28 20:32:57 2004]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 111
[Wed Jan 28 20:32:57 2004]  [jk_ajp_common.c (757)]: Error connecting 
to tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 111

and here is the worker.properties:
workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr


  I don't know what the problem is. Could anyone please help me to 
solve the problem.

Regards,
John LEE




...
  
http://ringtone.yahoo.com.hk/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent ! Pls help !

2004-02-01 Thread Arnab Chakravarty
ajp13 and ajp14 and not ajp12...correction

-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:32 AM
To: Tomcat Users List
Subject: RE: Urgent ! Pls help !


Can u check ur server.xml config file and check if the port is correctly set for the 
ajp12 connector to server the request...

-Original Message-
From: a a [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 12:28 AM
To: [EMAIL PROTECTED]
Subject: Urgent ! Pls help !


Dear all,

  I have some problem when connecting apache to tomcat.
  I have installed both apache1.3 and tomcat4.
  I use mod_jk to do the connection. However some problems exists.
  Here is the log file of mod_jk.log when I run apachectl restart:

[Wed Jan 28 20:32:57 2004]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 111
[Wed Jan 28 20:32:57 2004]  [jk_ajp_common.c (757)]: Error connecting 
to tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 111

and here is the worker.properties:
workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr


  I don't know what the problem is. Could anyone please help me to 
solve the problem.

Regards,
John LEE




...
  
http://ringtone.yahoo.com.hk/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [URGENT] Problems getting SSL 2-Way Authentication to work

2004-01-26 Thread Mark Thomas
I am not familiar with openssl but having reviewed your steps you might want to
try the following:

- Import your CA cert into the trusted CAs for your browser.
- You shouldn't need your CA cert in your keystore file, providing that the CA
cert is installed in cacerts. Try removing it from the keystore.

Good luck!

Mark



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent-Java webservers on iSeries and other platforms

2004-01-21 Thread Pete Stokes
Thanks for all your help.

Pete.



Peter Lin wrote:

My friend works at a shop that is heavily IBM centric. They use solaris, and iSeries. they had a similar issue with memory going crazy and not getting cleared correctly. Once they patched the VM, the memory issues went away.

it's possible you may have found a new GC issue, which has no fix yet. The problem he discovered was patched last year. I don't know the details, but the behavior you described sounded very similar to his experience.

this behavior sounds similar to other GC issues. sorry I can't provide more details about my friend's environment, since that information is beyond my reach. I believe he is using jdk1.3.1, since they are very slow with upgrades and typically wait a long time.

peter lin





Pete Stokes [EMAIL PROTECTED] wrote:
Peter,
Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM! ;) (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.
Peter Lin wrote:

 

I asked around and a close friend encountered a similar problem a year back. Try patching the VM and the problem should go away.

peter lin

Peter Stokes wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
   



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-21 Thread Peter Lin
 
good luck with your debugging. I hope  you're able to fix it. if you figure out the 
problem, I hope you post the solution. In case others are struggling with iSeries :)
 
peter lin


Pete Stokes [EMAIL PROTECTED] wrote:
Thanks for all your help.

Pete.



Peter Lin wrote:

 
My friend works at a shop that is heavily IBM centric. They use solaris, and iSeries. 
they had a similar issue with memory going crazy and not getting cleared correctly. 
Once they patched the VM, the memory issues went away.
 
it's possible you may have found a new GC issue, which has no fix yet. The problem he 
discovered was patched last year. I don't know the details, but the behavior you 
described sounded very similar to his experience.
 
this behavior sounds similar to other GC issues. sorry I can't provide more details 
about my friend's environment, since that information is beyond my reach. I believe 
he is using jdk1.3.1, since they are very slow with upgrades and typically wait a 
long time.
 
peter lin
 
 
 


Pete Stokes wrote:
Peter,

Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM! ;) (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.


Peter Lin wrote:

 

I asked around and a close friend encountered a similar problem a year back. Try 
patching the VM and the problem should go away.

peter lin


Peter Stokes wrote:
Hi,

I'm on a site where a third party application has been put on WebSphere 4.0.5 on an 
iSeries 820/V5R2. We have had horrendous performance / stability problems even with 
10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell 
desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about 
Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the 
iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended 
setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I 
then actually have some stats / papers to help recommendations, if IBM cannot fix 
this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.




***
This email and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. If you have 
received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper 
for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


 




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of 

Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Peter Lin
 
That sounds a bit odd to me. A well designed webapp or ejb shouldn't have horrible 
performance for 10 concurrent users. If you're using stateful EJB's you may want to 
profile it first. Without knowledge of what the app does, my first guess is something 
in the app is eating up all the CPU and memory.
 
If the app has been profiled aggressively and you know it's not the app itself, i 
would say install the app on JBoss and compare the performance. If you have hard 
numbers with the same app, it is much easier to get people to listen.
 
you can also d/l weblogic and see how it performs. keep in mind weblogic has a limit 
of 10 concurrent connections, so if you need to load test with more than 10 
connections, you'll have to smooze the BEA sales guys. You should be able to get them 
to give you a temporary one month license with unlimited connections, since they are 
trying to win customers from IBM.
 
there are several old benchmarks comparing various servlet containers, which may or 
may not help. If you use ejb, those results won't do much for you. if you provide more 
details, you'll get better help :)
 
peter lin
 
 
 


Peter Stokes [EMAIL PROTECTED] wrote:
Hi,

I'm on a site where a third party application has been put on WebSphere 4.0.5 on an 
iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 
users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop 
with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about 
Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the 
iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended 
setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I 
then actually have some stats / papers to help recommendations, if IBM cannot fix this 
in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes

Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Pete Stokes
The app is really a basic war file - it uses JTOpen to connect to 
iSeries. Nothing fancy, a few patterns used, no EJBs etc.

Production was rushed onto Tomcat 5.0.16 on a standard Dell desktop with 
1gig RAM running SuSE 9, load tested to 150 users. It flies! Page to 
page times (DB everytime) are incrediblely fast, basically instant even 
under 150 user load test.

On the iSeries, we get over (live objects) 2million Vector object, 
2million PCMLDocuments, and a whole host of other big figures. I used 
JProfiler on the app (Tomcat) and we get nothing like that. IBM seem now 
to say that we need to *dedicate* 2 processors, 4-6gig of RAM to 
continue to test the app on an iSeries (820). We are also totally 
patched up on the iSeries.

Interesting figure is that when the iSeries/WebSphere hangs, we shut off 
the load test and it recovers after 20-30mins with a collected object gc 
figure of 25million+ compared to a normal 5million. The gc cycles also 
intermingle. GC cycle 19 starts, and GC 20 then starts before 19 has 
finished.

I have collected loads of info - if you need anything else give me a shout.

Regards,
Pete.




Peter Lin wrote:

That sounds a bit odd to me. A well designed webapp or ejb shouldn't have horrible performance for 10 concurrent users. If you're using stateful EJB's you may want to profile it first. Without knowledge of what the app does, my first guess is something in the app is eating up all the CPU and memory.

If the app has been profiled aggressively and you know it's not the app itself, i would say install the app on JBoss and compare the performance. If you have hard numbers with the same app, it is much easier to get people to listen.

you can also d/l weblogic and see how it performs. keep in mind weblogic has a limit of 10 concurrent connections, so if you need to load test with more than 10 connections, you'll have to smooze the BEA sales guys. You should be able to get them to give you a temporary one month license with unlimited connections, since they are trying to win customers from IBM.

there are several old benchmarks comparing various servlet containers, which may or may not help. If you use ejb, those results won't do much for you. if you provide more details, you'll get better help :)

peter lin





Peter Stokes [EMAIL PROTECTED] wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Peter Lin
 
Ok, that makes sense. It sounds like there's a major problem with the iSeries jdk and 
VM garbage collection.  Unless IBM fixes the garbage collection, using another 
webserver on that box most likely won't help.
 
given that you've profiled it on Suse + tomcat and it performed well, the cause of the 
bad performance is simply a matter of the VM's GC algorithm on the iSeries. I haven't 
use the iSeries, but I believe it uses IBM's RISC processor.
 
unless there's another VM/jdk available for iSeries, I don't think there's much to do. 
only other option is use an older jdk like 1.3.1 and see if the iSeries continues to 
exhibit the same behavior.
 
peter lin
 
 


Pete Stokes [EMAIL PROTECTED] wrote:
The app is really a basic war file - it uses JTOpen to connect to 
iSeries. Nothing fancy, a few patterns used, no EJBs etc.

Production was rushed onto Tomcat 5.0.16 on a standard Dell desktop with 
1gig RAM running SuSE 9, load tested to 150 users. It flies! Page to 
page times (DB everytime) are incrediblely fast, basically instant even 
under 150 user load test.

On the iSeries, we get over (live objects) 2million Vector object, 
2million PCMLDocuments, and a whole host of other big figures. I used 
JProfiler on the app (Tomcat) and we get nothing like that. IBM seem now 
to say that we need to *dedicate* 2 processors, 4-6gig of RAM to 
continue to test the app on an iSeries (820). We are also totally 
patched up on the iSeries.

Interesting figure is that when the iSeries/WebSphere hangs, we shut off 
the load test and it recovers after 20-30mins with a collected object gc 
figure of 25million+ compared to a normal 5million. The gc cycles also 
intermingle. GC cycle 19 starts, and GC 20 then starts before 19 has 
finished.

I have collected loads of info - if you need anything else give me a shout.

Regards,
Pete.





Peter Lin wrote:

 
That sounds a bit odd to me. A well designed webapp or ejb shouldn't have horrible 
performance for 10 concurrent users. If you're using stateful EJB's you may want to 
profile it first. Without knowledge of what the app does, my first guess is something 
in the app is eating up all the CPU and memory.
 
If the app has been profiled aggressively and you know it's not the app itself, i 
would say install the app on JBoss and compare the performance. If you have hard 
numbers with the same app, it is much easier to get people to listen.
 
you can also d/l weblogic and see how it performs. keep in mind weblogic has a limit 
of 10 concurrent connections, so if you need to load test with more than 10 
connections, you'll have to smooze the BEA sales guys. You should be able to get them 
to give you a temporary one month license with unlimited connections, since they are 
trying to win customers from IBM.
 
there are several old benchmarks comparing various servlet containers, which may or 
may not help. If you use ejb, those results won't do much for you. if you provide 
more details, you'll get better help :)
 
peter lin
 
 
 


Peter Stokes wrote:
Hi,

I'm on a site where a third party application has been put on WebSphere 4.0.5 on an 
iSeries 820/V5R2. We have had horrendous performance / stability problems even with 
10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell 
desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about 
Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the 
iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended 
setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I 
then actually have some stats / papers to help recommendations, if IBM cannot fix 
this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 




***
This email and any files 

Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Peter Lin
 
I asked around and a close friend encountered a similar problem a year back. Try 
patching the VM and the problem should go away.
 
peter lin


Peter Stokes [EMAIL PROTECTED] wrote:
Hi,

I'm on a site where a third party application has been put on WebSphere 4.0.5 on an 
iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 
users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop 
with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about 
Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the 
iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended 
setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I 
then actually have some stats / papers to help recommendations, if IBM cannot fix this 
in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes

Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Pete Stokes
Peter,

Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM!  ;)   (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.
Peter Lin wrote:

I asked around and a close friend encountered a similar problem a year back. Try patching the VM and the problem should go away.

peter lin

Peter Stokes [EMAIL PROTECTED] wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Peter Lin
 
My friend works at a shop that is heavily IBM centric. They use solaris, and iSeries. 
they had a similar issue with memory going crazy and not getting cleared correctly. 
Once they patched the VM, the memory issues went away.
 
it's possible you may have found a new GC issue, which has no fix yet. The problem he 
discovered was patched last year. I don't know the details, but the behavior you 
described sounded very similar to his experience.
 
this behavior sounds similar to other GC issues. sorry I can't provide more details 
about my friend's environment, since that information is beyond my reach. I believe he 
is using jdk1.3.1, since they are very slow with upgrades and typically wait a long 
time.
 
peter lin
 
 
 


Pete Stokes [EMAIL PROTECTED] wrote:
Peter,

Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM! ;) (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.


Peter Lin wrote:

 
I asked around and a close friend encountered a similar problem a year back. Try 
patching the VM and the problem should go away.
 
peter lin


Peter Stokes wrote:
Hi,

I'm on a site where a third party application has been put on WebSphere 4.0.5 on an 
iSeries 820/V5R2. We have had horrendous performance / stability problems even with 
10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell 
desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about 
Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the 
iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended 
setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I 
then actually have some stats / papers to help recommendations, if IBM cannot fix 
this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes

RE: URGENT PLEASE HELP ME........................................

2003-12-17 Thread George Sexton
Try reading the documentation. The default invoker is disabled in 4.1.x.
Either re-enable it, or create servlet/servlet mapping pairs in the
web.xml file.

-Original Message-
From: Pinguti Sridevi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 1:22 AM
To: anand; javagroup; parvez; tomcat
Subject: URGENT PLEASE HELP ME


I could able to run servlets in tomcat 4.1. I created
a folder called webdev in webapps in that i created WEB-INF and 
classes. I stored web.xml in WEB-INF. as follows.
webapps/webdev/WEB-INF/classes
WEB-INF/web.xml
I configured web.xml with servletname,servletclass between webapps 
tags. After restarting the server when i say
http://localhost:8080/webdev/servlet/myservletfile
It showing 
404 Requested URI not found.
I tried like the below also
http://localhost:8080/webdev/myservletfile
But still it is not getting.
Let me tell anybody that tomcat4.1 have any bug in reading web.xml



-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URGENT PLEASE HELP ME........................................

2003-12-17 Thread Schalk
Pinguti

Can you post the xml code here or somewhere on the web where we can have a
look at it. I have not had any problems with Tomcat and web.xml.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Pinguti Sridevi [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, December 17, 2003 10:22 AM
:: To: anand; javagroup; parvez; tomcat
:: Subject: URGENT PLEASE HELP ME
:: 
:: I could able to run servlets in tomcat 4.1. I created
:: a folder called webdev in webapps in that i created WEB-INF and
:: classes. I stored web.xml in WEB-INF. as follows.
:: webapps/webdev/WEB-INF/classes
:: WEB-INF/web.xml
:: I configured web.xml with servletname,servletclass between webapps
:: tags. After restarting the server when i say
:: http://localhost:8080/webdev/servlet/myservletfile
:: It showing
:: 404 Requested URI not found.
:: I tried like the below also
:: http://localhost:8080/webdev/myservletfile
:: But still it is not getting.
:: Let me tell anybody that tomcat4.1 have any bug in reading web.xml
:: 
:: 
:: 
:: -
:: Do you Yahoo!?
:: New Yahoo! Photos - easier uploading and sharing



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URGENT PLEASE HELP ME........................................

2003-12-17 Thread qi zhang
You should change your server.xml, adding another context like

Context path=/webdev docBase=webdev debug=0
reloadable=true crossContext=true
/Context

Try to see if it will help.


 I could able to run servlets in tomcat 4.1. I created
 a folder called webdev in webapps in that i created WEB-INF and
 classes. I stored web.xml in WEB-INF. as follows.
 webapps/webdev/WEB-INF/classes
 WEB-INF/web.xml
 I configured web.xml with servletname,servletclass between webapps
 tags. After restarting the server when i say
 http://localhost:8080/webdev/servlet/myservletfile
 It showing
 404 Requested URI not found.
 I tried like the below also
 http://localhost:8080/webdev/myservletfile
 But still it is not getting.
 Let me tell anybody that tomcat4.1 have any bug in reading web.xml



 -
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URGENT PLEASE HELP ME........................................

2003-12-17 Thread Ben Souther
If his app is directly under the webapps directory, he shouldn't need to 
alter server.xml.

AutoDeploy will pick it up.

You will, however need to create a mapping for your servlet in your web.xml 
file under WEB-INF in your app's directory.





On Wednesday 17 December 2003 11:05 am, qi zhang wrote:
 You should change your server.xml, adding another context like

 Context path=/webdev docBase=webdev debug=0
 reloadable=true crossContext=true
 /Context

 Try to see if it will help.

  I could able to run servlets in tomcat 4.1. I created
  a folder called webdev in webapps in that i created WEB-INF and
  classes. I stored web.xml in WEB-INF. as follows.
  webapps/webdev/WEB-INF/classes
  WEB-INF/web.xml
  I configured web.xml with servletname,servletclass between webapps
  tags. After restarting the server when i say
  http://localhost:8080/webdev/servlet/myservletfile
  It showing
  404 Requested URI not found.
  I tried like the below also
  http://localhost:8080/webdev/myservletfile
  But still it is not getting.
  Let me tell anybody that tomcat4.1 have any bug in reading web.xml
 
 
 
  -
  Do you Yahoo!?
  New Yahoo! Photos - easier uploading and sharing

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison  Company, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent! Tomcat4 closed giving Out of Memory Error

2003-12-15 Thread qi zhang
I got Open too many files error when I set the max open files 4096, so
that I changed it to 9182. But I think no matter how large it is, it won't
affect the performace, right?

I'm not good at Java. But I don't think I reloaded the classes in Tomcat
manager. I didn't change web.xml. Is it the problem?

Now the problem is more and more confusing. I used -verbosegc to log GC
behavior and the memory usage. If I set CATALINA_OPTS=-server -Xmx1200M
-Xms1200M -Xss256k, I got OutOfMemory error quickly as

java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool.java:497)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:387)
at
org.apache.tomcat.util.threads.ThreadPool.runIt(ThreadPool.java:226)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:503)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
[GC 338409K-282510K(1215168K), 0.3190985 secs]


While if I set CATALINA_OPTS=-server -Xmx768M -Xms768M -Xss256k, I didn't
get any error message in catalina.out. But tomcat stopped, and I got Time
Out in browser. The final line in catalina.out was

[GC 412489K-360388K(28K), 0.1470509 secs]


Then I stopped tomcat4, and got the following error message in catalina.out.
#
Java HotSpot(TM) Server VM warning: Attempt to unguard stack red zone failed.
An irrecoverable stack overflow has occurred.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x40039203
Function=(null)+0x40039203
Library=/lib/libpthread.so.0

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.
#

I'm wondering if it is not good to set too large heap file size, which may
limit other required space. I am really confused about why tomcat stopped
without any error message. How can I find the error? Did anybody meet this
problem before?

Thank you very much.

Qi

Look at the open files  - it is 9182.  That IS already pretty high, but
you may be hitting that limit since in Unix, everything is a file.
Sockets, etc.

On Linux, is there a way in the JVM to tell the difference between
memory given to the new generation, old generation, and permanent
generation in the JVM?  There were users on this list posting weird
OutOfMemory errors last week that were doing class reloading, and the
permanent generation was filling up even though there was plenty of
space in the old and new gen.  Of course, I think these comments only
apply to a 1.4.x JVM.  Does your code do funky stuff with the
classloaders, or are you reloading your application in Tomcat's manager?
 (or changing web.xml, which would cause reloads??)

Have you profiled your application to find any memory leaks?


 I would hunt the archives, I did a search for outofmemoryerror native
 and saw  this -  I am sure there are more similar threads with this
 issue:

 http://marc.theaimsgroup.com/?l=tomcat-userm=105535455830487w=2

 If _POSIX_THREAD_THREADS_MAX=64 - then you would have problems since
 that  means tomcat can only have 64 threads at one time. Tomcat is a
 single process  living under the JVM. (But then again - this is Linux
 and the process vs  thread model is sometimes a little strange)

 (I don't use tomcat on linux too much so my trouble shooting skills
 there are  iffy)


 -Tim

 qi zhang wrote:

 I am using Linux2.4.20-smp. I think the limits for the entire system
 are not problem:

cat /proc/sys/kernel/threads-max

 14336

cat /proc/sys/fs/file-max

 209708

cat /proc/sys/fs/file-nr

 22311366209708

ulimit -a

 core file size(blocks, -c) 0
 data seg size (kbytes, -d) unlimited
 file size (blocks, -f) unlimited
 max locked memory (kbytes, -l) unlimited
 max memory size   (kbytes, -m) unlimited
 open files(-n) 9182
 pipe size  (512 bytes, -p) 8
 stack size(kbytes, -s) 8192
 cpu time (seconds, -t) unlimited
 max user processes(-u) 7168
 virtual memory(kbytes, -v) unlimited

 But I can't find where the limits for each process/user are. One
 message  found from google said PTHREAD_THREADS_MAX could be the max
 thread count per process. In my /usr/include/bits/local_lim.h, I have

 /* The number of threads per process.  */
 #define _POSIX_THREAD_THREADS_MAX   64
 /* This is the value this implementation supports.  */
 #define PTHREAD_THREADS_MAX 16384

 16384 is large enough, I 

Re: Urgent! Tomcat4 closed giving Out of Memory Error

2003-12-08 Thread Jeff Tulley
Look at the open files  - it is 9182.  That IS already pretty high, but
you may be hitting that limit since in Unix, everything is a file. 
Sockets, etc.

On Linux, is there a way in the JVM to tell the difference between
memory given to the new generation, old generation, and permanent
generation in the JVM?  There were users on this list posting weird
OutOfMemory errors last week that were doing class reloading, and the
permanent generation was filling up even though there was plenty of
space in the old and new gen.  Of course, I think these comments only
apply to a 1.4.x JVM.  Does your code do funky stuff with the
classloaders, or are you reloading your application in Tomcat's manager?
 (or changing web.xml, which would cause reloads??)  

Have you profiled your application to find any memory leaks?

 [EMAIL PROTECTED] 12/6/03 11:45:27 AM 
I am using Linux2.4.20-smp. I think the limits for the entire system
are
not problem:
cat /proc/sys/kernel/threads-max
14336
cat /proc/sys/fs/file-max
209708
cat /proc/sys/fs/file-nr
22311366209708
ulimit -a
core file size(blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size   (kbytes, -m) unlimited
open files(-n) 9182
pipe size  (512 bytes, -p) 8
stack size(kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes(-u) 7168
virtual memory(kbytes, -v) unlimited

But I can't find where the limits for each process/user are. One
message 
found from google said PTHREAD_THREADS_MAX could be the max thread
count
per process. In my /usr/include/bits/local_lim.h, I have

/* The number of threads per process.  */
#define _POSIX_THREAD_THREADS_MAX   64
/* This is the value this implementation supports.  */
#define PTHREAD_THREADS_MAX 16384

16384 is large enough, I believe. Then what could be the reason of the

error?

By the way, the Out of Memory error didn't appear all the time. 
Sometimes there was just no response without any error message. Do you

know where I can get more detailed bug files?

Thank you very much.

Qi


On Sat, 6 Dec 2003, Tim Funk wrote:

 When you get java.lang.OutOfMemoryError: unable to create new native
thread 
 it means you are running into an operating system limit. You can give
the JVM 
 1 Exabyte of memory and you'll still get this error.
 
 Look at the kernel parameters for your machine and the following
limits:
 1) Threads allowable on the system
 2) Threads run by a user
 3) Threads run by a process
 4) File handles per process
 5) File handles per user
 
 Use your OS manual or Google to tweak these parameters.
 
 http://jakarta.apache.org/tomcat/faq/memory.html#why 
 
 -Tim
 
 qi zhang wrote:
  Hi,
  
  I have stunk on this problem for almost 2 weeks. :-( 
  In these two weeks, I have tried many methods, but it still doesn't
work.
  
  I built a system to run TPCW benchmark. One web and application
server, 
  with tomcat4.0 running, one database with mysql4.0 running on it
and 
  several client machines. The Jave version is j2sdk1.4.0_03. The
system 
  worked perfect under light load. But when the number of clients 
  exceeded some number (like 600), the tomcat4 didn't work anymore.
  I checked catalina.out. Sometimes no error message appear, while in
some 
  time it appeared the error:
  
  SEVERE: Caught exception executing 
  [EMAIL PROTECTED], terminating
thread
  java.lang.OutOfMemoryError: unable to create new native thread
  at java.lang.Thread.start(Native Method)
  at 
 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool.java:497)
  at 
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED]

 

-- 
Qi Zhang, Ph.D Student

Department of Computer Science,
College of William and Mary
P.O. Box 8795
Williamsburg, VA 23187-8795



-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent! Tomcat4 closed giving Out of Memory Error

2003-12-06 Thread Tim Funk
When you get java.lang.OutOfMemoryError: unable to create new native thread 
it means you are running into an operating system limit. You can give the JVM 
1 Exabyte of memory and you'll still get this error.

Look at the kernel parameters for your machine and the following limits:
1) Threads allowable on the system
2) Threads run by a user
3) Threads run by a process
4) File handles per process
5) File handles per user
Use your OS manual or Google to tweak these parameters.

http://jakarta.apache.org/tomcat/faq/memory.html#why

-Tim

qi zhang wrote:
Hi,

I have stunk on this problem for almost 2 weeks. :-( 
In these two weeks, I have tried many methods, but it still doesn't work.

I built a system to run TPCW benchmark. One web and application server, 
with tomcat4.0 running, one database with mysql4.0 running on it and 
several client machines. The Jave version is j2sdk1.4.0_03. The system 
worked perfect under light load. But when the number of clients 
exceeded some number (like 600), the tomcat4 didn't work anymore.
I checked catalina.out. Sometimes no error message appear, while in some 
time it appeared the error:

SEVERE: Caught exception executing 
[EMAIL PROTECTED], terminating thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool.java:497)
at 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent! Tomcat4 closed giving Out of Memory Error

2003-12-06 Thread qi zhang
I am using Linux2.4.20-smp. I think the limits for the entire system are
not problem:
cat /proc/sys/kernel/threads-max
14336
cat /proc/sys/fs/file-max
209708
cat /proc/sys/fs/file-nr
22311366209708
ulimit -a
core file size(blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size   (kbytes, -m) unlimited
open files(-n) 9182
pipe size  (512 bytes, -p) 8
stack size(kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes(-u) 7168
virtual memory(kbytes, -v) unlimited

But I can't find where the limits for each process/user are. One message 
found from google said PTHREAD_THREADS_MAX could be the max thread count
per process. In my /usr/include/bits/local_lim.h, I have

/* The number of threads per process.  */
#define _POSIX_THREAD_THREADS_MAX   64
/* This is the value this implementation supports.  */
#define PTHREAD_THREADS_MAX 16384

16384 is large enough, I believe. Then what could be the reason of the 
error?

By the way, the Out of Memory error didn't appear all the time. 
Sometimes there was just no response without any error message. Do you 
know where I can get more detailed bug files?

Thank you very much.

Qi


On Sat, 6 Dec 2003, Tim Funk wrote:

 When you get java.lang.OutOfMemoryError: unable to create new native thread 
 it means you are running into an operating system limit. You can give the JVM 
 1 Exabyte of memory and you'll still get this error.
 
 Look at the kernel parameters for your machine and the following limits:
 1) Threads allowable on the system
 2) Threads run by a user
 3) Threads run by a process
 4) File handles per process
 5) File handles per user
 
 Use your OS manual or Google to tweak these parameters.
 
 http://jakarta.apache.org/tomcat/faq/memory.html#why
 
 -Tim
 
 qi zhang wrote:
  Hi,
  
  I have stunk on this problem for almost 2 weeks. :-( 
  In these two weeks, I have tried many methods, but it still doesn't work.
  
  I built a system to run TPCW benchmark. One web and application server, 
  with tomcat4.0 running, one database with mysql4.0 running on it and 
  several client machines. The Jave version is j2sdk1.4.0_03. The system 
  worked perfect under light load. But when the number of clients 
  exceeded some number (like 600), the tomcat4 didn't work anymore.
  I checked catalina.out. Sometimes no error message appear, while in some 
  time it appeared the error:
  
  SEVERE: Caught exception executing 
  [EMAIL PROTECTED], terminating thread
  java.lang.OutOfMemoryError: unable to create new native thread
  at java.lang.Thread.start(Native Method)
  at 
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool.java:497)
  at 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
Qi Zhang, Ph.D Student

Department of Computer Science,
College of William and Mary
P.O. Box 8795
Williamsburg, VA 23187-8795



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent! Tomcat4 closed giving Out of Memory Error

2003-12-06 Thread Tim Funk
I would hunt the archives, I did a search for outofmemoryerror native and saw 
this -  I am sure there are more similar threads with this issue:

http://marc.theaimsgroup.com/?l=tomcat-userm=105535455830487w=2

If _POSIX_THREAD_THREADS_MAX=64 - then you would have problems since that 
means tomcat can only have 64 threads at one time. Tomcat is a single process 
living under the JVM. (But then again - this is Linux and the process vs 
thread model is sometimes a little strange)

(I don't use tomcat on linux too much so my trouble shooting skills there are 
iffy)

-Tim

qi zhang wrote:

I am using Linux2.4.20-smp. I think the limits for the entire system are
not problem:
cat /proc/sys/kernel/threads-max
14336

cat /proc/sys/fs/file-max
209708

cat /proc/sys/fs/file-nr
22311366209708

ulimit -a
core file size(blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size   (kbytes, -m) unlimited
open files(-n) 9182
pipe size  (512 bytes, -p) 8
stack size(kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes(-u) 7168
virtual memory(kbytes, -v) unlimited
But I can't find where the limits for each process/user are. One message 
found from google said PTHREAD_THREADS_MAX could be the max thread count
per process. In my /usr/include/bits/local_lim.h, I have

/* The number of threads per process.  */
#define _POSIX_THREAD_THREADS_MAX   64
/* This is the value this implementation supports.  */
#define PTHREAD_THREADS_MAX 16384
16384 is large enough, I believe. Then what could be the reason of the 
error?

By the way, the Out of Memory error didn't appear all the time. 
Sometimes there was just no response without any error message. Do you 
know where I can get more detailed bug files?

Thank you very much.

Qi

On Sat, 6 Dec 2003, Tim Funk wrote:


When you get java.lang.OutOfMemoryError: unable to create new native thread 
it means you are running into an operating system limit. You can give the JVM 
1 Exabyte of memory and you'll still get this error.

Look at the kernel parameters for your machine and the following limits:
1) Threads allowable on the system
2) Threads run by a user
3) Threads run by a process
4) File handles per process
5) File handles per user
Use your OS manual or Google to tweak these parameters.

http://jakarta.apache.org/tomcat/faq/memory.html#why

-Tim

qi zhang wrote:

Hi,

I have stunk on this problem for almost 2 weeks. :-( 
In these two weeks, I have tried many methods, but it still doesn't work.

I built a system to run TPCW benchmark. One web and application server, 
with tomcat4.0 running, one database with mysql4.0 running on it and 
several client machines. The Jave version is j2sdk1.4.0_03. The system 
worked perfect under light load. But when the number of clients 
exceeded some number (like 600), the tomcat4 didn't work anymore.
I checked catalina.out. Sometimes no error message appear, while in some 
time it appeared the error:

SEVERE: Caught exception executing 
[EMAIL PROTECTED], terminating thread
java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start(Native Method)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool.java:497)
   at 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [URGENT] Tomcat SSL crash on start-up

2003-10-23 Thread Bruno Morin
Thank you Bill.
Everything is allright now.

- Original Message - 
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 4:32 AM
Subject: Re: [URGENT] Tomcat SSL crash on start-up


 You are missing 'keystoreFile=/path/to/servercerts.ks' in the Factory
 element.

 Bruno Morin [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Hi,
 
  I tried to configure Tomcat 4.1.27 with SSL
 
  I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in
  JAVA_HOME/jre/lib/ext/
  I had security.provider.3=com.sun.net.ssl.internal.ssl.Provider in
  JAVA_HOME/jre/lib/ext/java.security
 
 
  Then I generate a certificate whith those instructions :
  keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks
  keytool -export -rfc -alias server -keystore servercerts.ks -file
  server.cert
  keytool -import -file server.cert -keystore client.ks
  and put servercerts.ks in CATALINA_HOME
 
 
  Then I modified the connector in CATALINA_HOME/conf/server.xml like this
:
  Connector className=org.apache.catalina.connector.http.HttpConnector
 
  port=8443 minProcessors=5 maxProcessors=75
 
  enableLookups=true acceptCount=10 debug=0 scheme=https
  secure=true
 
  Factory className=org.apache.catalina.net.SSLServerSocketFactory
 
  clientAuth=false
 
  protocol=TLS
 
  keystorePass=serverpassword/
 
  /Connector
 
 
  Then I lauched the server but it crash on start-up with the exception :
  java.io.IOException: Keystore was tampered with, or password was
incorrect
 
  What's wrong ?




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [URGENT] Tomcat SSL crash on start-up

2003-10-22 Thread Bill Barker
You are missing 'keystoreFile=/path/to/servercerts.ks' in the Factory
element.

Bruno Morin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 I tried to configure Tomcat 4.1.27 with SSL

 I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in
 JAVA_HOME/jre/lib/ext/
 I had security.provider.3=com.sun.net.ssl.internal.ssl.Provider in
 JAVA_HOME/jre/lib/ext/java.security


 Then I generate a certificate whith those instructions :
 keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks
 keytool -export -rfc -alias server -keystore servercerts.ks -file
 server.cert
 keytool -import -file server.cert -keystore client.ks
 and put servercerts.ks in CATALINA_HOME


 Then I modified the connector in CATALINA_HOME/conf/server.xml like this :
 Connector className=org.apache.catalina.connector.http.HttpConnector

 port=8443 minProcessors=5 maxProcessors=75

 enableLookups=true acceptCount=10 debug=0 scheme=https
 secure=true

 Factory className=org.apache.catalina.net.SSLServerSocketFactory

 clientAuth=false

 protocol=TLS

 keystorePass=serverpassword/

 /Connector


 Then I lauched the server but it crash on start-up with the exception :
 java.io.IOException: Keystore was tampered with, or password was incorrect

 What's wrong ?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Mike Curwen
what database are you using?
 
If it's MSAccess, then make sure you set up your DSN to be a 'system'
DSN.

 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 20, 2003 11:24 AM
 To: '[EMAIL PROTECTED]'
 Subject: Urgent please -crazy error when turnning tomcat a 
 NT4.0 Servi ce
 
 
 
 Hi Guys,
 i am still having problems since Tomcat 4.1.18 was configured 
 as a NT 4.0's service. This error (showed below) always 
 happens whenever my app try to work with the result set. Is 
 it a hint? Of course, if i stop  making TomCat a NT service, 
 the problem doesnt happen anymore and my app runs fine... A 
 hint: no logs are generated by NT and the Tomcat service is 
 UP! Thanks in advance, Euclides.  
 
 -Mensagem original-
 De: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED]
 Enviada em: sexta-feira, 17 de outubro de 2003 21:19
 Para: 'Tomcat Users List'
 Assunto: RES: Urgent help -crazy error when turnning tomcat a 
 NT4.0 Servi ce
 
 Hi guys,
 BELOW IS SHOWED THE ERROR! The problems happens at my 
 Servlet, whenever it tries to deal with the result set.Very 
 strange! Another problem: since i remove tool.jar from 
 classpath, neither static nor dinamics pages are loaded. 
 Still needing help.
 
 
 
 
 
 HTTP Status 500 - 
 
 --
 --
 
 
 type Exception report
 
 message 
 
 description The server encountered an internal error () that 
 prevented it from fulfilling this request.
 
 exception 
 
 java.lang.NullPointerException
   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
   at BancoServlet.service(BancoServlet.java:249)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(Application
 FilterChain.java:247)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:193)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:260)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:191)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardContext.invoke(StandardContex
 t.java:2415)
   at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:180
 )
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at 
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
 spatcherValve.
 java:170)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:641)
   at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
 Valve.java:172
 )
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:641)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at org.apache
 
 
 -Mensagem original-
 De: John Corrigan [mailto:[EMAIL PROTECTED]
 Enviada em: sexta-feira, 17 de outubro de 2003 21:00
 Para: Tomcat Users List
 Assunto: RE: Urgent help -crazy error when turnning tomcat a 
 NT4.0 Service
 
 
 If Jose is using a 4.1.x version of Tomcat and using the 
 tools which are included with Tomcat for running it as a 
 service then environment variables are irrelevant other than 
 during the service installation process.  To change CLASSPATH 
 or any other Java environment settings, he would have to edit 
 the registry.
 
 It is not clear as to whether by dynamic pages he is 
 referring to JSPs, servlets, or those which access the 
 database.  If it is only JSPs which fail, then I would 
 suspect that the jvm.dll pointed to is incorrect (common 
 problem with 4.1.24).  If it is only database access (which 
 the original post implied) then I would stick with my 
 original hunch that it is a permissions issue, depending upon 
 the database/driver.
 
 -Original Message-
 From: Filip Hanik [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 4:51 PM
 To: Jose Euclides da Silva Junior - DATAPREVRJ; 'Tomcat Users List'
 Subject: Re: Urgent help -crazy error when turnning tomcat a 
 NT4.0 Service
 
 
 no, set your
 
 JAVA_HOME=c

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Wade Chandler
I would say it is a permissions error.  You are getting a
NullPointerException.  Which probably means something was not found.  It
could even be a targeting error.  The service is probably being ran as a
user with no permissions.  What are you doing on the lines in the code
from here:
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
This is the link to your problem.  It is not actually because of Tomcat.
I don't believe.  It is permissions and system administration.  Paste
your code.  We could help you better.  What type of database are you
using?  Are you accessing any files or directories?  That is the key to
your problem.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent please -crazy error when turnning tomcat a NT4.0 Servi
ce



Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT
4.0's service. This error (showed below) always happens whenever my app
try to work with the result set. Is it a hint? Of course, if i stop
making TomCat a NT service, the problem doesnt happen anymore and my app
runs fine... A hint: no logs are generated by NT and the Tomcat service
is UP! Thanks in advance, Euclides.  

-Mensagem original-
De: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:19
Para: 'Tomcat Users List'
Assunto: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Servi ce

Hi guys,
BELOW IS SHOWED THE ERROR! The problems happens at my Servlet, whenever
it tries to deal with the result set.Very strange! Another problem:
since i remove tool.jar from classpath, neither static nor dinamics
pages are loaded. Still needing help.





HTTP Status 500 - 





type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at org.apache


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:00
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


If Jose is using a 4.1.x version of Tomcat and using the tools which are
included with Tomcat for running it as a service then environment
variables are irrelevant other than during the service installation
process.  To change CLASSPATH or any other Java environment settings, he
would have to edit the registry.

It is not clear as to whether by dynamic pages he is referring to
JSPs, servlets, or those which access the database.  If it is only JSPs
which fail, then I would suspect that the jvm.dll pointed to is
incorrect (common problem with 4.1.24).  If it is only

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Wade Chandler
Jose,

I understand that the error is occuring on line 413 from this
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)

But what that fails to tell me is the exact call it is failing on.  Can
you paste that actual code to the list.  Then we could pin point the
issue.  As in, soon after the statement rs.next()...are you calling
getString or getFloat or some ResultSet method, are you calling new
java.io.File(pathToFile) then some other functions for some reason?
What is the exact call on line 413?  That is where it is failing.  The
code is the key to gettting help in this situation.  Maybe you can post
a whole block around the failing line.  That would be more helpful.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 1:36 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: ENC: Urgent please -crazy error when turnning tomcat a NT4.0
Servi ce


Answering your question...
DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 4.0 SP6.0a
Place where the error occurs: line 413 -- soon after the statement
rs.next()

con.prepareStatement(query);
  rs = pstmt.executeQuery();
  if ( !rs.next() ) 
LINE 413-  {

If you have any other doubt let me know,
Regards, Euclides.

-Mensagem original-
De: Wade Chandler [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 20 de outubro de 2003 13:50
Para: 'Tomcat Users List'
Assunto: RE: Urgent please -crazy error when turnning tomcat a NT4.0
Servi ce


I would say it is a permissions error.  You are getting a
NullPointerException.  Which probably means something was not found.  It
could even be a targeting error.  The service is probably being ran as a
user with no permissions.  What are you doing on the lines in the code
from here:
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
This is the link to your problem.  It is not actually because of Tomcat.
I don't believe.  It is permissions and system administration.  Paste
your code.  We could help you better.  What type of database are you
using?  Are you accessing any files or directories?  That is the key to
your problem.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent please -crazy error when turnning tomcat a NT4.0 Servi
ce



Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT
4.0's service. This error (showed below) always happens whenever my app
try to work with the result set. Is it a hint? Of course, if i stop
making TomCat a NT service, the problem doesnt happen anymore and my app
runs fine... A hint: no logs are generated by NT and the Tomcat service
is UP! Thanks in advance, Euclides.  

-Mensagem original-
De: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:19
Para: 'Tomcat Users List'
Assunto: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Servi ce

Hi guys,
BELOW IS SHOWED THE ERROR! The problems happens at my Servlet, whenever
it tries to deal with the result set.Very strange! Another problem:
since i remove tool.jar from classpath, neither static nor dinamics
pages are loaded. Still needing help.





HTTP Status 500 - 





type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Mike Curwen
You've posted code for:
recuperaDicaTopico
but the stack trace shows the problem is in:
recuperaTopicoAssunto



 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 20, 2003 1:41 PM
 To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
 Subject: RES: Urgent please -crazy error when turnning tomcat 
 a NT4.0 Servi ce
 
 
 Ok, here it is:
 
  private void recuperaDicaTopico( String topico1 , String id, 
 HttpServletRequest request, HttpServletResponse response, 
 DataSource ds)
 throws ServletException,IOException
 {
 try
  {
   //  NOVO Connection con = null;
   this.ds = ds;
   //con = ds.getConnection();
   PreparedStatement pstmt = null;
   ResultSet rs = null;
   String topico2 = topico1;
   System.out.println( topico1 );
   ArrayList al = new ArrayList();
   String query = Select * FROM DICAS WHERE ID_TOPICO =  
 + topico2;
   pstmt = con.prepareStatement(query);
   rs = pstmt.executeQuery();
   if ( !rs.next() ) 
  {   // -- THIS IS LINE 413 --
 fechaconection( pstmt,rs,con);
 chamadevolta = 
 getServletContext().getRequestDispatcher(/semconteudo.jsp);
 chamadevolta.forward(request,response);
  }
   else 
 {
do 
  {
 Dica total = getDica(rs);
 al.add(total);
  } while (rs.next());
  System.out.println ( passei query);
  //fechaconection( con,pstmt,rs);
  fechaconection( pstmt,rs,con);
  String resultado1 = Resultado da consulta pelo 
 Topico --  + vetorTopico[Integer.parseInt(topico2)];
  request.setAttribute(origem,resultado1);
  request.setAttribute(array,al);   
  chamadevolta = 
 getServletContext().getRequestDispatcher(/rodrigo2.jsp);
  chamadevolta.forward(request,response);
 
 }
 }
 
 catch(SQLException se)
 {
   System.out.println( Erro na consulta a dicas: 
 BancoServlet  +  se);
 }
}
 
 t0
 -Mensagem original-
 De: Wade Chandler [mailto:[EMAIL PROTECTED]
 Enviada em: segunda-feira, 20 de outubro de 2003 15:34
 Para: 'Tomcat Users List'
 Assunto: RE: Urgent please -crazy error when turnning tomcat 
 a NT4.0 Servi ce
 
 
 Jose,
 
 I understand that the error is occuring on line 413 from this
   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
   at BancoServlet.service(BancoServlet.java:249)
 
 But what that fails to tell me is the exact call it is 
 failing on.  Can you paste that actual code to the list.  
 Then we could pin point the issue.  As in, soon after the 
 statement rs.next()...are you calling getString or getFloat 
 or some ResultSet method, are you calling new
 java.io.File(pathToFile) then some other functions for some 
 reason? What is the exact call on line 413?  That is where it 
 is failing.  The code is the key to gettting help in this 
 situation.  Maybe you can post a whole block around the 
 failing line.  That would be more helpful.
 
 Wade
 
 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 20, 2003 1:36 PM
 To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
 Subject: ENC: Urgent please -crazy error when turnning tomcat 
 a NT4.0 Servi ce
 
 
 Answering your question...
 DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 
 4.0 SP6.0a Place where the error occurs: line 413 -- soon 
 after the statement
 rs.next()
 
 con.prepareStatement(query);
   rs = pstmt.executeQuery();
   if ( !rs.next() ) 
 LINE 413-  {
 
 If you have any other doubt let me know,
 Regards, Euclides.
 
 -Mensagem original-
 De: Wade Chandler [mailto:[EMAIL PROTECTED]
 Enviada em: segunda-feira, 20 de outubro de 2003 13:50
 Para: 'Tomcat Users List'
 Assunto: RE: Urgent please -crazy error when turnning tomcat 
 a NT4.0 Servi ce
 
 
 I would say it is a permissions error.  You are getting a 
 NullPointerException.  Which probably means something was not 
 found.  It could even be a targeting error.  The service is 
 probably being ran as a user with no permissions.  What are 
 you doing on the lines in the code from here:
   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
   at BancoServlet.service(BancoServlet.java:249)
 This is the link to your problem.  It is not actually because 
 of Tomcat. I don't believe.  It is permissions and system 
 administration.  Paste your code.  We could help you better.  
 What type of database are you using?  Are you accessing any 
 files or directories?  That is the key to your problem.
 
 Wade
 
 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 20, 2003 12:24 PM
 To: '[EMAIL PROTECTED]'
 Subject: Urgent please -crazy

RE: Urgent help -crazy error when turnning tomcat a NT4.0 Service

2003-10-17 Thread John Corrigan
Perhaps the service needs to run as a different user?

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:13 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me - http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides. 
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent help -crazy error when turnning tomcat a NT4.0 Service

2003-10-17 Thread John Corrigan
No.

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:13 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me - http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides. 
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent help -crazy error when turnning tomcat a NT4.0 Service

2003-10-17 Thread Filip Hanik
the only thing I can think of is that JAVA_HOME (tools.jar in CLASSPATH)
is not set correctly when running as a service, this
would cause static pages to show up, but compiled pages to fail during
compilation

Filip

- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:44 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Ok, i will try to find out something like that...


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:38
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


No.

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:13 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me - http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides.






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent help -crazy error when turnning tomcat a NT4.0 Service

2003-10-17 Thread Filip Hanik
no, set your

JAVA_HOME=c:\j2sdk1.4.1_01

nothing else
then set

PATH=%JAVA_HOME%\bin;%PATH%

in your computer environments, not the user environment

- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:40 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


I ve put tools.jar at my JAVA HOME - like that --
c:\j2sdk1.4.1_01\lib\tools.jar. Unfortunatelly, this problem goes on
I am still needing help. Euclides.
-Mensagem original-
De: Filip Hanik [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:45
Para: Tomcat Users List
Assunto: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


the only thing I can think of is that JAVA_HOME (tools.jar in CLASSPATH)
is not set correctly when running as a service, this
would cause static pages to show up, but compiled pages to fail during
compilation

Filip

- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:44 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Ok, i will try to find out something like that...


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:38
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


No.

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:13 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me - http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides.






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent help -crazy error when turnning tomcat a NT4.0 Service

2003-10-17 Thread John Corrigan
If Jose is using a 4.1.x version of Tomcat and using the tools which are
included with Tomcat for running it as a service then environment variables
are irrelevant other than during the service installation process.  To
change CLASSPATH or any other Java environment settings, he would have to
edit the registry.

It is not clear as to whether by dynamic pages he is referring to JSPs,
servlets, or those which access the database.  If it is only JSPs which
fail, then I would suspect that the jvm.dll pointed to is incorrect (common
problem with 4.1.24).  If it is only database access (which the original
post implied) then I would stick with my original hunch that it is a
permissions issue, depending upon the database/driver.

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:51 PM
To: Jose Euclides da Silva Junior - DATAPREVRJ; 'Tomcat Users List'
Subject: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


no, set your

JAVA_HOME=c:\j2sdk1.4.1_01

nothing else
then set

PATH=%JAVA_HOME%\bin;%PATH%

in your computer environments, not the user environment

- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:40 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


I ve put tools.jar at my JAVA HOME - like that --
c:\j2sdk1.4.1_01\lib\tools.jar. Unfortunatelly, this problem goes on
I am still needing help. Euclides.
-Mensagem original-
De: Filip Hanik [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:45
Para: Tomcat Users List
Assunto: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


the only thing I can think of is that JAVA_HOME (tools.jar in CLASSPATH)
is not set correctly when running as a service, this
would cause static pages to show up, but compiled pages to fail during
compilation

Filip

- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:44 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Ok, i will try to find out something like that...


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:38
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


No.

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:13 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me - http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides.






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL

RE: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Arnaud HERITIER
You should close your pool connection because the pool doesn't close the
real connection.
this doc can help you :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how
to.html#Random%20Connection%20Closed%20Exceptions

Arnaud

 -Message d'origine-
 De : Jose Euclides da Silva Junior - DATAPREVRJ
 [mailto:[EMAIL PROTECTED]
 Envoyé : jeudi 9 octobre 2003 15:27
 À : '[EMAIL PROTECTED]'
 Objet : Urgent help, please!Best practices using Connection Pool


 Hi gurus, help me please.
 i am using DBCP 1.0 to make connection pool avaiable. My
 question can be
 easy: since DBCP 1.0 doesnt create a singleton object ( just
 a datasource
 object), what should i do whenever my sql queries are done?
 Should i close
 the connection after each sql command is completed? But, if i
 do this, will
 i loose my connection pool facility, so my next sql command
 will spend more
 time since the connection process ( with the database ) would
 be started
 before the sql running. I really need to improve my database
 response time!
 Thanks in advance,
 Euclides.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Edson Alves Pereira
Usually you should return every connection to your Persistence
mechanism, you cannot close the connection, because if do that other process
won´t use it.

 --
 De:   Jose Euclides da Silva Junior -
 DATAPREVRJ[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  quinta-feira, 9 de outubro de 2003 10:26
 Para: '[EMAIL PROTECTED]'
 Assunto:  Urgent help, please!Best practices using Connection Pool
 
 Hi gurus, help me please.
 i am using DBCP 1.0 to make connection pool avaiable. My question can be
 easy: since DBCP 1.0 doesnt create a singleton object ( just a datasource
 object), what should i do whenever my sql queries are done? Should i close
 the connection after each sql command is completed? But, if i do this,
 will
 i loose my connection pool facility, so my next sql command will spend
 more
 time since the connection process ( with the database ) would be started
 before the sql running. I really need to improve my database response
 time!
 Thanks in advance,
 Euclides.  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


RE: Urgent help, please!Best practices using Connection Pool

2003-10-08 Thread Nathan Christiansen
DBCP wraps the connection object. When you call conn.close(); on the connection object 
given to you by the DataSource.getConnection(); method, it just releases it back into 
the pool, it dosen't actually close the connection.

-- Nathan Christiansen
   Tahitian Noni International
   http://www.tahitiannoni.com


-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 5:19 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent help, please!Best practices using Connection Pool


Hi,
i am using DBCP 1.0. My question is simple: since DBCP doesnt create a
singleton object ( just a data source object), what should i do whenever my
sql queries are done? Should i close the connection after that? But, if i do
this, will i loose my connection pool facility, so my next connection time
will waste more time...
Thanks in advance,
Euclides.  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent help, please!Best practices using Connection Pool

2003-10-08 Thread Adam Hardy
Hi Jose,
the connection that you are served by your data source is a connection 
wrapper where the close method will not really close the connection, 
rather it will tell the connection pool that this connection is free and 
can be put back in the pool.

HTH
Adam
PS I wouldn't flag your email as urgent - I doubt it makes much 
difference to how quickly you get an answer, and often it only serves to 
put people off from reading your mail at all, simply because it annoys 
them that you consider your email should have higher priority for some 
reason than everyone else's. As if everyone is sitting around happily 
chatting about really non-urgent things. (which they do sometimes, but 
mostly not).

On 10/09/2003 01:18 AM Jose Euclides da Silva Junior - DATAPREVRJ wrote:
Hi,
i am using DBCP 1.0. My question is simple: since DBCP doesnt create a
singleton object ( just a data source object), what should i do whenever my
sql queries are done? Should i close the connection after that? But, if i do
this, will i loose my connection pool facility, so my next connection time
will waste more time...
Thanks in advance,
Euclides.  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Shapira, Yoav

Howdy,
You should post the logs with the full error and your relevant source
code.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:40 AM
To: '[EMAIL PROTECTED]'
Subject: URGENT, PLEASE. The old Bug with bean cache?

Hi gurus,
a little helping hand, please! I have updated my bean and so, i have
put
this new bean version  in right package. However, the problem begins
whenever a new  bean object is created (instanced) by a servlet and
captured
by a jsp later. The browser returns me error - 500. Probably, i guess
my
TomCat 4.1.18 is working with old bean version, instead of the newer.
What
should i do?
Euclides.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Mike Curwen
)
   at 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
 org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
 ionDispatcher.
 java:684)
   at 
 org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
 cationDispatch
 er.java:432)
   at 
 org.apache.catalina.core.ApplicationDispatcher.forward(Applica
 tionDispatcher
 .java:356)
   at BancoServlet.recuperaDicaTopico(BancoServlet.java:370)
   at BancoServlet.service(BancoServlet.java:228)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(Application
 FilterChain.java:247)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:193)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:260)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:191)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
 
 
 HERE IS WHERE TOMCAT SHOWS THE ERROR.
 
 The  bean name is dica. I made a test, putting a line with a 
 condition like
 this:
 if (dica == null) // NEW !
   System.out.println(valorrr+dica.getteDescricaodica());
 and this condition is true when this app runs!!! Why? 
 __
 __
 _
 
  System.out.println( passei no getatribute  + autorizacao);
  
   for(int i = 0;pega.hasNext()i10;i++)
   {
 dica = (Dica)pega.next();
 int limite = 0;
 if (dica == null) // NEW !
   System.out.println(valorrr+dica.getteDescricaodica());
 if (dica.getteDescricaodica().length() = 40 )
   limite = dica.getteDescricaodica().length(); 
 else
limite = 40;
 if (limite == 0) limite = 1;
   
 
 if ( autorizacao == null )
 
 { %
 font class=Style_1a href=# 
 onClick='javascript:window.open(http://wtrjo210/apresentaDica
 .jsp?num=%=pa
 gina_atual%pos=%=i+1%,,width=640,height=450,resizable=
 no,location=no
 ,status=no,scrollbars=no,left=0,top=0);'b%=dica.getnomeDi
 ca()%/b/a
 /font 
 %
 } 
  else   
 { %
font class=Style_1a href=# 
 onClick='javascript:window.open(http://wtrjo210/apresentaaltD
 ica.jsp?num=%
 =pagina_atual%pos=%=i+1%,,width=640,height=450,resizab
 le=no,location
 =no,status=no,scrollbars=no,left=0,top=0);'b%=dica.getnom
 eDica()%/b
 /a/font
 %
 } %
  font 
 class=Style_1nbsp;nbsp;nbsp;nbsp;i%=dica.getNmAutor(
 )%/i/font
 
  br
  font 
 class=Style_1%=dica.getteDescricaodica().substring(0,limit
 e)%.../font
 
  br

 %
   } 
 
 
 -Mensagem original-
 De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 25 de setembro de 2003 11:53
 Para: Tomcat Users List
 Assunto: RE: URGENT, PLEASE. The old Bug with bean cache?
 
 
 
 Howdy,
 You should post the logs with the full error and your 
 relevant source code.
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 25, 2003 10:40 AM
 To: '[EMAIL PROTECTED]'
 Subject: URGENT, PLEASE. The old Bug with bean cache?
 
 Hi gurus,
 a little helping hand, please! I have updated my bean and so, i have
 put
 this new bean version  in right package. However, the problem begins 
 whenever a new  bean object is created (instanced) by a servlet and 
 captured by a jsp later. The browser returns me error - 500. 
 Probably, 
 i guess
 my
 TomCat 4.1.18 is working with old bean version, instead of the newer.
 What
 should i do?
 Euclides.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential 
 business communication, and may contain information that is 
 confidential, proprietary and/or privileged.  This e-mail is 
 intended only for the individual(s) to whom it is addressed, 
 and may not be saved, copied, printed, disclosed or used by 
 anyone else.  If you are not the(an) intended recipient, 
 please immediately delete this e-mail from your computer 
 system and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e

RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Mike Curwen
No WORRY about that. It's incredibly bad coding practice, it is what
is throwing the NullPointerException. 
 
What you have to do is investigate:
dica = (Dica)pega.next();

What is pega?  What populates the pega objects with dica objects?  Look
in *that* code.


 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ 
 [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 25, 2003 10:13 AM
 To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
 Subject: RES: URGENT, PLEASE. The old Bug with bean cache?
 
 
 Dont worry about that! The condition statement is just a test 
 that i have included in my the original code... The real 
 problem is why the dica object doesnt exist?! Euclides.
 
 -Mensagem original-
 De: Mike Curwen [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 25 de setembro de 2003 12:10
 Para: 'Tomcat Users List'
 Assunto: RE: URGENT, PLEASE. The old Bug with bean cache?
 
 
 Well uhh
 
 if (dica == null) // NEW !
   System.out.println(valorrr+dica.getteDescricaodica());
 
 You check an object, determine it is null, and then try to 
 call a method
 (gettDescricaodica()) on that object.. but you just 
 determined it was null!!
  
 That's why you get java.lang.NullPointerException as the root 
 cause of your servlet exception.
 
 
 
  -Original Message-
  From: Jose Euclides da Silva Junior - DATAPREVRJ
  [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, September 25, 2003 10:01 AM
  To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
  Subject: RES: URGENT, PLEASE. The old Bug with bean cache?
  
  
  HERE IS THE ERROR MESSAGE . Thanks in advance, Euclides.
  
  The server encountered an internal error () that prevented it
  from fulfilling this request.
  
  exception
  
  org.apache.jasper.JasperException
  at
  org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
  Wrapper.java:2
  48)
  at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
  .java:295)
  at 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at 
  org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
  ionDispatcher.
  java:684)
  at 
  org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
  cationDispatch
  er.java:432)
  at 
  org.apache.catalina.core.ApplicationDispatcher.forward(Applica
  tionDispatcher
  .java:356)
  at BancoServlet.recuperaDicaTopico(BancoServlet.java:370)
  at BancoServlet.service(BancoServlet.java:228)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
  er(Application
  FilterChain.java:247)
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
  cationFilterCh
  ain.java:193)
  at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
  rapperValve.ja
  va:260)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.invok
  eNext(StandardPipeline.java:643)
  at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:480)
  at
  
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardC
  ontextValve.ja
  va:191)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.invok
  eNext(StandardPipeline.java:643)
  at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:480)
  at
  
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
  org.apache.catalina.core.StandardContext.invoke(StandardContex
  t.java:2415)
  at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHost
  Valve.java:180
  )
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.invok
  eNext(StandardPipeline.java:643)
  at 
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
  spatcherValve.
  java:170)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.invok
  eNext(StandardPipeline.java:641)
  at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
  Valve.java:172
  )
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.invok
  eNext(StandardPipeline.java:641)
  at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:480)
  at
  
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
  gineValve.java
  :174)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.invok
  eNext(StandardPipeline.java:643)
  at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:480)
  at
  
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995

RE: URGENT!! Changing URLs with tomcat

2003-09-25 Thread Shapira, Yoav

Howdy,
In your server.xml, say path=javapps/xyz for your context.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 12:32 PM
To: [EMAIL PROTECTED]
Subject: URGENT!! Changing URLs with tomcat

Hi All
I am currently running tomcat4.1.27 and apache1.3.x. I am using struts.
I
used call my webapplication xyz using www.abc.org/xyz. Now company
has
decided that pople should be able to access this webapplication through
the URL

www.abc/javapps/xyz. Do i need to change the whole architecture now or
should i be able to do it easily. I have tried to create a directory
under
/var/tomcat4/webapps/ as japps/xyz and pointed my .war file to this
directory. But tomcat is not able to map this URL at all. Please help
me
find a solution to this problem.


Thanx in advance

--Mohan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URGENT!! Changing URLs with tomcat

2003-09-25 Thread mohan
Cool, it works thanx a lot Shapira



 Howdy,
 In your server.xml, say path=javapps/xyz for your context.

 Yoav Shapira
 Millennium ChemInformatics


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 12:32 PM
To: [EMAIL PROTECTED]
Subject: URGENT!! Changing URLs with tomcat

Hi All
I am currently running tomcat4.1.27 and apache1.3.x. I am using struts.
 I
used call my webapplication xyz using www.abc.org/xyz. Now company
 has
decided that pople should be able to access this webapplication through
 the URL

www.abc/javapps/xyz. Do i need to change the whole architecture now or
 should i be able to do it easily. I have tried to create a directory
 under
/var/tomcat4/webapps/ as japps/xyz and pointed my .war file to this
 directory. But tomcat is not able to map this URL at all. Please help
 me
find a solution to this problem.


Thanx in advance

--Mohan



-
 To unsubscribe, e-mail: [EMAIL PROTECTED] For
 additional commands, e-mail: [EMAIL PROTECTED]




 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.


 - To
 unsubscribe, e-mail: [EMAIL PROTECTED] For
 additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URGENT!! Changing URLs with tomcat

2003-09-25 Thread mohan
What u said really works Shapira. Thanx a lot again. Thats the easiest
way, add a context in the Context tag


--mohan


 Hi All
 I am currently running tomcat4.1.27 and apache1.3.x. I am using struts.
 I used call my webapplication xyz using www.abc.org/xyz. Now company
 has decided that pople should be able to access this webapplication
 through the URL

 www.abc/javapps/xyz. Do i need to change the whole architecture now or
 should i be able to do it easily. I have tried to create a directory
 under /var/tomcat4/webapps/ as japps/xyz and pointed my .war file to
 this directory. But tomcat is not able to map this URL at all. Please
 help me find a solution to this problem.


 Thanx in advance

 --Mohan



 - To
 unsubscribe, e-mail: [EMAIL PROTECTED] For
 additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URGENT!! Changing URLs with tomcat

2003-09-25 Thread Shapira, Yoav

Howdy,
No problem, glad to help ;)


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: Re: URGENT!! Changing URLs with tomcat

What u said really works Shapira. Thanx a lot again. Thats the easiest
way, add a context in the Context tag


--mohan


 Hi All
 I am currently running tomcat4.1.27 and apache1.3.x. I am using
struts.
 I used call my webapplication xyz using www.abc.org/xyz. Now
company
 has decided that pople should be able to access this webapplication
 through the URL

 www.abc/javapps/xyz. Do i need to change the whole architecture now
or
 should i be able to do it easily. I have tried to create a directory
 under /var/tomcat4/webapps/ as japps/xyz and pointed my .war file
to
 this directory. But tomcat is not able to map this URL at all. Please
 help me find a solution to this problem.


 Thanx in advance

 --Mohan



 -
To
 unsubscribe, e-mail: [EMAIL PROTECTED] For
 additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent plz...modjk2, Tomcat 4.1.27, apache 1.3.24 integration

2003-09-24 Thread Goehring, Chuck Mr., RCI - San Diego
Mohan,

I believe this Address already in use message always means something else is already 
listening on the port/LAN card/IP address.  Could be another Tomcat or another web 
server.  Doc at www.johnturner.com/howto is best instruction on modjk2/Tomcat/apache.  
If on Windows, check services and use netstat (dos box) to check the system.

Chuck


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 9:32 AM
To: [EMAIL PROTECTED]
Subject: Urgent plz...modjk2, Tomcat 4.1.27, apache 1.3.24 integration


Hi All
I am having apache 1.3.27, tomcat 4.1.27, i have compiled mod_jk2 on my
machine, when i open the URL it says document contains no data the
tomcat looks to be starting fine saying:
Starting service Tomcat-Apache
Apache Tomcat/4.1.27
Sep 23, 2003 9:17:17 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Sep 23, 2003 9:17:17 AM org.apache.jk.common.ChannelSocket in

The httpd logs give out this error. Please help me if anyone knows
anything about this error:

aught SIGTERM, shutting down
[Tue Sep 23 09:25:12 2003] [error] Cannot remove module mod_jk2.c: not
found in module list
[Tue Sep 23 09:25:13 2003] [error] Cannot remove module mod_jk2.c: not
found in module list
[Tue Sep 23 16:25:13 2003]  ( info) [mod_jk2.c (208)]: Set serverRoot
/etc/httpd
Create config for main host
[Tue Sep 23 09:25:14 2003] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux)
mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.1.2
mod_perl/1.26 FrontPage/5.0.2.2510 configured -- resuming normal
operations
[Tue Sep 23 09:25:14 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Tue Sep 23 09:25:14 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)



[Tue Sep 23 09:25:34 2003] [notice] child pid 1328 exit signal
Segmentation fault (11)
[Tue Sep 23 09:25:35 2003] [notice] child pid 1331 exit signal
Segmentation fault (11)


Thank you very much, please help me i am on a tight deadline

--Mohan






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent plz...modjk2, Tomcat 4.1.27, apache 1.3.24 integration

2003-09-23 Thread Shapira, Yoav

Howdy,

machine, when i open the URL it says document contains no data the
tomcat looks to be starting fine saying:
Starting service Tomcat-Apache
Apache Tomcat/4.1.27
Sep 23, 2003 9:17:17 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Sep 23, 2003 9:17:17 AM org.apache.jk.common.ChannelSocket in

This is not a fine startup.  It's a failed startup because the port
was still in use.  Make sure the tomcat processes are dead and nothing
is using your tomcat ports before you start tomcat.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent plz...modjk2, Tomcat 4.1.27, apache 1.3.24 integration

2003-09-23 Thread mohan

 Howdy,

machine, when i open the URL it says document contains no data the
 tomcat looks to be starting fine saying:
Starting service Tomcat-Apache
Apache Tomcat/4.1.27
Sep 23, 2003 9:17:17 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use Sep
 23, 2003 9:17:17 AM org.apache.jk.common.ChannelSocket in

 This is not a fine startup.  It's a failed startup because the port
 was still in use.  Make sure the tomcat processes are dead and nothing
 is using your tomcat ports before you start tomcat.

 Yoav Shapira



 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.


 - To
 unsubscribe, e-mail: [EMAIL PROTECTED] For
 additional commands, e-mail: [EMAIL PROTECTED]




Hi i am not getting the port already in use exception now. But i still get
the 'document contains no data' and when say this start httpd

/etc/rc.d/init.d/httpd start
Starting httpd: [Tue Sep 23 17:18:14 2003]  ( info) [mod_jk2.c (208)]: Set
serverRoot /etc/httpd
Create config for main host
   [  OK  ]

The errors i get for httpd are still the same,

caught SIGTERM, shutting down
[Tue Sep 23 10:17:47 2003] [error] Cannot remove module mod_jk2.c: not
found in module list
[Tue Sep 23 10:18:17 2003] [error] Cannot remove module mod_jk2.c: not
found in module list
[Tue Sep 23 17:18:17 2003]  ( info) [mod_jk2.c (208)]: Set serverRoot
/etc/httpd
Create config for main host
[Tue Sep 23 10:18:18 2003] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux)
mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.1.2
mod_perl/1.26 FrontPage/5.0.2.2510 configured -- resuming normal
operations
[Tue Sep 23 10:18:18 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Tue Sep 23 10:18:18 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Sep 23 10:18:49 2003] [notice] child pid 2275 exit signal
Segmentation fault (11)

please let me know where i am going wrong, any ideas will be help ful


--mohan









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I am about to download and run JMP (Java Memory Profiler) to test my
application for memory leaks to prevent this from happening again.  

However, I'm searching and searching on how to fix it for now.

What I have come across is adding the following flags to the java
execution command:   -ms64M -mx512M

So my questions are:
1.  Will adding this allow me to deploy Tomcat, or is there some other
way I have to free up the memory.
2.  I apparently have to add this to my catalina.sh, but I am not
exactly sure where to add it... Any idea?  I can post file if necessary.

Thanks for any help :)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 9:31 AM
To: to
Subject: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Hi all.  I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH
Linux 7.3 box with j2sdk 1.4.2.  We had a power outage last night, and I
have been trying to restart Tomcat and Apache, but Tomcat will not
start.  I have tried searching the archives, but I can't seem to figure
out where to start with trying to fix this problem.  Any help is GREATLY
appreciated... It's urgent that I get this up and running asap.  This is
the output from my catalina.out:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
... 5 more
Exception in thread main java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)


Denise Mangano 
Complus Data Innovations, Inc. 
914-747-1200 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Peter Lin
 
in catalina.sh
 
JAVA_OPTS=-Xms64m -Xmx512m
 
hope that helps.
 
peter

Denise Mangano [EMAIL PROTECTED] wrote:
I am about to download and run JMP (Java Memory Profiler) to test my
application for memory leaks to prevent this from happening again. 

However, I'm searching and searching on how to fix it for now.

What I have come across is adding the following flags to the java
execution command: -ms64M -mx512M

So my questions are:
1. Will adding this allow me to deploy Tomcat, or is there some other
way I have to free up the memory.
2. I apparently have to add this to my catalina.sh, but I am not
exactly sure where to add it... Any idea? I can post file if necessary.

Thanks for any help :)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 9:31 AM
To: to
Subject: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Hi all. I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH
Linux 7.3 box with j2sdk 1.4.2. We had a power outage last night, and I
have been trying to restart Tomcat and Apache, but Tomcat will not
start. I have tried searching the archives, but I can't seem to figure
out where to start with trying to fix this problem. Any help is GREATLY
appreciated... It's urgent that I get this up and running asap. This is
the output from my catalina.out:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
... 5 more
Exception in thread main java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)


Denise Mangano 
Complus Data Innovations, Inc. 
914-747-1200 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Jon Wingfield
Most JVMs limit the number of concurrent threads that can be created. 
That will be the OutOfMemoryError. As to why it is happening: Have you 
tweaked the server.xml settings for min/maxProcessors? Have you upped 
things like ulimit before the power outage and are now reset?

Denise Mangano wrote:

Hi all.  I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH
Linux 7.3 box with j2sdk 1.4.2.  We had a power outage last night, and I
have been trying to restart Tomcat and Apache, but Tomcat will not
start.  I have tried searching the archives, but I can't seem to figure
out where to start with trying to fix this problem.  Any help is GREATLY
appreciated... It's urgent that I get this up and running asap.  This is
the output from my catalina.out:
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
... 5 more
Exception in thread main java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)
Denise Mangano 
Complus Data Innovations, Inc. 
914-747-1200 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Peter - thanks for the response.  Can I just add that at the very
beginning of the script, or do I have to put that anywhere in
particular?  I don't want to override anything else that might be
happening to JAVA_OPTS throughout the script?

Thanks again.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 9:53 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


 
in catalina.sh
 
JAVA_OPTS=-Xms64m -Xmx512m
 
hope that helps.
 
peter

Denise Mangano [EMAIL PROTECTED] wrote:
I am about to download and run JMP (Java Memory Profiler) to test my
application for memory leaks to prevent this from happening again. 

However, I'm searching and searching on how to fix it for now.

What I have come across is adding the following flags to the java
execution command: -ms64M -mx512M

So my questions are:
1. Will adding this allow me to deploy Tomcat, or is there some other
way I have to free up the memory. 2. I apparently have to add this to my
catalina.sh, but I am not exactly sure where to add it... Any idea? I
can post file if necessary.

Thanks for any help :)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 9:31 AM
To: to
Subject: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Hi all. I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH
Linux 7.3 box with j2sdk 1.4.2. We had a power outage last night, and I
have been trying to restart Tomcat and Apache, but Tomcat will not
start. I have tried searching the archives, but I can't seem to figure
out where to start with trying to fix this problem. Any help is GREATLY
appreciated... It's urgent that I get this up and running asap. This is
the output from my catalina.out:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.OutOfMemoryError: unable to create new native
thread at java.lang.Thread.start(Native Method) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
... 5 more
Exception in thread main java.lang.OutOfMemoryError: unable to create
new native thread at java.lang.Thread.start(Native Method) at
java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)


Denise Mangano 
Complus Data Innovations, Inc. 
914-747-1200 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
It looks to me like something screwed up your system.

The main cause is not within tomcat.

The important part of the traceback is this:

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.OutOfMemoryError: unable to create new native
thread


(Very) wild guess:

Is ist possible that something like

export LD_ASSUME_KERNEL=2.2.5

or other options where set in the past manually and got lost through 
the restart ?

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 3:31 PM
 To: to
 Subject: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 Hi all.  I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH
 Linux 7.3 box with j2sdk 1.4.2.  We had a power outage last 
 night, and I
 have been trying to restart Tomcat and Apache, but Tomcat will not
 start.  I have tried searching the archives, but I can't seem 
 to figure
 out where to start with trying to fix this problem.  Any help 
 is GREATLY
 appreciated... It's urgent that I get this up and running 
 asap.  This is
 the output from my catalina.out:

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Jon - Thanks for the response.

I did not change ulimit at all... Actually I did not change anything in
server.xml besides making the configurations for mod_jk.  Are there any
settings I should consider changing?  Perhaps, you can point me to a
good resource where I can learn about optimizing?

Thanks again!

Denise



-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 9:57 AM
To: Tomcat Users List
Subject: Re: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Most JVMs limit the number of concurrent threads that can be created. 
That will be the OutOfMemoryError. As to why it is happening: Have you 
tweaked the server.xml settings for min/maxProcessors? Have you upped 
things like ulimit before the power outage and are now reset?

Denise Mangano wrote:

 Hi all.  I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH

 Linux 7.3 box with j2sdk 1.4.2.  We had a power outage last night, and

 I have been trying to restart Tomcat and Apache, but Tomcat will not 
 start.  I have tried searching the archives, but I can't seem to 
 figure out where to start with trying to fix this problem.  Any help 
 is GREATLY appreciated... It's urgent that I get this up and running 
 asap.  This is the output from my catalina.out:
 
 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.27
 Sep 19, 2003 9:01:25 AM 
 org.apache.struts.util.PropertyMessageResources
 init
 INFO: Initializing, config='org.apache.struts.util.LocalStrings',
 returnNull=true
 Sep 19, 2003 9:01:25 AM
org.apache.struts.util.PropertyMessageResources
 init
 INFO: Initializing, config='org.apache.struts.action.ActionResources',
 returnNull=true
 Sep 19, 2003 9:01:26 AM
org.apache.struts.util.PropertyMessageResources
 init
 INFO: Initializing,
 config='org.apache.webapp.admin.ApplicationResources', returnNull=true
 Exception during startup processing
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
 at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 Caused by: java.lang.OutOfMemoryError: unable to create new native
 thread
 at java.lang.Thread.start(Native Method)
 at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadP
 ool.java:582)
 at

org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
 0)
 at
 org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
 at

org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
 .java:300)
 at
 org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
 at

org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
 0)
 at

org.apache.catalina.core.StandardService.start(StandardService.java:506)
 at

org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
 at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at
 org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at
 org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 ... 5 more
 Exception in thread main java.lang.OutOfMemoryError: unable to
create
 new native thread
 at java.lang.Thread.start(Native Method)
 at java.lang.Shutdown.runHooks(Shutdown.java:126)
 at java.lang.Shutdown.sequence(Shutdown.java:165)
 at java.lang.Shutdown.exit(Shutdown.java:210)
 at java.lang.Runtime.exit(Runtime.java:90)
 at java.lang.System.exit(System.java:715)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)
 
 
 Denise Mangano
 Complus Data Innovations, Inc. 
 914-747-1200 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Ralph - thank you for your reply.  I have not made any export settings
like that.  Honestly, for the most part I took the Tomcat distribution
and went mostly with the defaults because everything was working fine.
Probably a newbie mistake, I'm sure - but I made very few settings /
changes.

Thanks.
Denise

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 9:58 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


It looks to me like something screwed up your system.

The main cause is not within tomcat.

The important part of the traceback is this:

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.OutOfMemoryError: unable to create new native
thread


(Very) wild guess:

Is ist possible that something like

export LD_ASSUME_KERNEL=2.2.5

or other options where set in the past manually and got lost through 
the restart ?

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 3:31 PM
 To: to
 Subject: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 Hi all.  I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH

 Linux 7.3 box with j2sdk 1.4.2.  We had a power outage last night, and

 I have been trying to restart Tomcat and Apache, but Tomcat will not
 start.  I have tried searching the archives, but I can't seem 
 to figure
 out where to start with trying to fix this problem.  Any help 
 is GREATLY
 appreciated... It's urgent that I get this up and running 
 asap.  This is
 the output from my catalina.out:

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
I think it's not the right time to think about optimizing.

If tomcat isn't even starting, I don't think that the 
problem is a 'normal' memory leak especially if the server 
has run before. I think that something has changed through 
the reboot.

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 3:59 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 I did not change ulimit at all... Actually I did not change 
 anything in
 server.xml besides making the configurations for mod_jk.  Are 
 there any
 settings I should consider changing?  Perhaps, you can point me to a
 good resource where I can learn about optimizing?
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav

Howdy,
I tend to agree, and ulimit or a similar facility to control max number
of threads allowed to the account running tomcat seems like the most
likely candidate.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 10:05 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

I think it's not the right time to think about optimizing.

If tomcat isn't even starting, I don't think that the
problem is a 'normal' memory leak especially if the server
has run before. I think that something has changed through
the reboot.

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 3:59 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

 I did not change ulimit at all... Actually I did not change
 anything in
 server.xml besides making the configurations for mod_jk.  Are
 there any
 settings I should consider changing?  Perhaps, you can point me to a
 good resource where I can learn about optimizing?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Mike Curwen
Particularly because it wasn't a 'friendly' reboot.
 
Something may have gotten corrupted, it's not unheard of.  Just for the
heck of it, you could re-install the JDK and the Tomcat binaries (while
keeping your server.xml and webapps directories safely backed up BEFORE
you do any of that).
 
 -Original Message-
 From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 19, 2003 9:05 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 I think it's not the right time to think about optimizing.
 
 If tomcat isn't even starting, I don't think that the 
 problem is a 'normal' memory leak especially if the server 
 has run before. I think that something has changed through 
 the reboot.
 
  -Original Message-
  From: Denise Mangano [mailto:[EMAIL PROTECTED]
  Sent: Friday, September 19, 2003 3:59 PM
  To: Tomcat Users List
  Subject: RE: Urgent! Cannot start Tomcat - 
 java.lang.OutOfMemoryError
  
  I did not change ulimit at all... Actually I did not change
  anything in
  server.xml besides making the configurations for mod_jk.  Are 
  there any
  settings I should consider changing?  Perhaps, you can point me to a
  good resource where I can learn about optimizing?
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
May setting these values will help:

ulimit -s 2048
export LD_ASSUME_KERNEL=2.2.5

Either put them in the environment of the user that starts tomcat
or put it in the startscript of tomcat.

BTW: Have you looked what processes are running and
how the memory usage is, before you try to start tomcat ?
(Maybe there is some other process missbehaving)

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 4:02 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 Ralph - thank you for your reply.  I have not made any export settings
 like that.  Honestly, for the most part I took the Tomcat distribution
 and went mostly with the defaults because everything was working fine.
 Probably a newbie mistake, I'm sure - but I made very few settings /
 changes.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Thank you everyone for your responses.  So, you are saying that the
problem is not with Tomcat.  Are you suggesting that the problem is with
the server itself (Linux) or possibly with the JDK?  

I tried adding the JAVA_OPT flags to the catalina.sh but that did not
due the trick.  I also tried adding the values you suggested to the
user's environment, but I am still getting the errors on startup.
Reinstalling wouldn't hurt to try I guess...

It doesn't look like any process is behaving abnormally but then again,
I am a newbie... This is the output of ps -ef:
UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  0 08:57 ?00:00:03 init
root 2 1  0 08:57 ?00:00:00 [keventd]
root 3 1  0 08:57 ?00:00:00 [ksoftirqd_CPU0]
root 4 1  0 08:57 ?00:00:00 [kswapd]
root 5 1  0 08:57 ?00:00:00 [bdflush]
root 6 1  0 08:57 ?00:00:00 [kupdated]
root 7 1  0 08:58 ?00:00:00 [mdrecoveryd]
root13 1  0 08:58 ?00:00:00 [scsi_eh_0]
root14 1  0 08:58 ?00:00:00 [scsi_eh_1]
root17 1  0 08:58 ?00:00:00 [kjournald]
root82 1  0 08:58 ?00:00:00 [khubd]
root   148 1  0 08:58 ?00:00:00 [kjournald]
root   149 1  0 08:58 ?00:00:00 [kjournald]
root   150 1  0 08:58 ?00:00:00 [kjournald]
root   151 1  0 08:58 ?00:00:00 [kjournald]
root   152 1  0 08:58 ?00:00:00 [kjournald]
root   153 1  0 08:58 ?00:00:00 [kjournald]
root   477 1  0 08:58 ?00:00:00 syslogd -m 0
root   482 1  0 08:58 ?00:00:00 klogd -x
root   595 1  0 08:58 ?00:00:00 /usr/sbin/sshd
root   628 1  0 08:58 ?00:00:00 gpm -t ps/2 -m
/dev/mouse
root   646 1  0 08:58 ?00:00:00 crond
root   653 1  0 08:58 tty1 00:00:00 /sbin/mingetty tty1
root   654 1  0 08:58 tty2 00:00:00 /sbin/mingetty tty2
root   655 1  0 08:58 tty3 00:00:00 /sbin/mingetty tty3
root   656 1  0 08:58 tty4 00:00:00 /sbin/mingetty tty4
root   657 1  0 08:58 tty5 00:00:00 /sbin/mingetty tty5
root   658 1  0 08:58 tty6 00:00:00 /sbin/mingetty tty6
root   661   595  0 08:59 ?00:00:00 /usr/sbin/sshd
weblogin   662   661  0 08:59 pts/000:00:00 -bash
root   697   662  0 08:59 pts/000:00:00 su -
root   698   697  0 08:59 pts/000:00:00 -bash
root   990 1  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 991   990  0 09:09 ?00:00:00
/usr/local/apache/bin/fcgi-
nobody 992   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 993   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 994   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 995   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 996   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 998   990  0 09:10 ?00:00:00
/usr/local/apache/bin/httpd
nobody 999   990  0 09:10 ?00:00:00
/usr/local/apache/bin/httpd
nobody1000   990  0 09:10 ?00:00:00
/usr/local/apache/bin/httpd
root  1314   698  0 10:14 pts/000:00:00 bash
root  1364  1314  0 10:16 pts/000:00:00 ps -ef

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:13 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


May setting these values will help:

ulimit -s 2048
export LD_ASSUME_KERNEL=2.2.5

Either put them in the environment of the user that starts tomcat or put
it in the startscript of tomcat.

BTW: Have you looked what processes are running and
how the memory usage is, before you try to start tomcat ? (Maybe there
is some other process missbehaving)

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 4:02 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 Ralph - thank you for your reply.  I have not made any export settings

 like that.  Honestly, for the most part I took the Tomcat distribution

 and went mostly with the defaults because everything was working fine.

 Probably a newbie mistake, I'm sure - but I made very few settings / 
 changes.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Yes, that is my assumption.

The processlist looks uncritical.

What about the memory usage ?

(I'm not familiar with red hat, 'top' or 'cat /proc/meminfo'
should work)

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 4:22 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 Thank you everyone for your responses.  So, you are saying that the
 problem is not with Tomcat.  Are you suggesting that the 
 problem is with
 the server itself (Linux) or possibly with the JDK?  
 
 I tried adding the JAVA_OPT flags to the catalina.sh but that did not
 due the trick.  I also tried adding the values you suggested to the
 user's environment, but I am still getting the errors on startup.
 Reinstalling wouldn't hurt to try I guess...
 
 It doesn't look like any process is behaving abnormally but 
 then again,
 I am a newbie... This is the output of ps -ef:
 UIDPID  PPID  C STIME TTY  TIME CMD
 root 1 0  0 08:57 ?00:00:03 init
 root 2 1  0 08:57 ?00:00:00 [keventd]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
From what I can tell memory usage looks ok as well... According to the
output there is still memory free...

total:used:free:  shared: buffers:  cached:
Mem:  261988352 114282496 1477058560 18583552 68141056
Swap: 5346017280 534601728
MemTotal:   255848 kB
MemFree:144244 kB
MemShared:   0 kB
Buffers: 18148 kB
Cached:  66544 kB
SwapCached:  0 kB
Active:  86620 kB
Inact_dirty:  3004 kB
Inact_clean:96 kB
Inact_target:17944 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:   255848 kB
LowFree:144244 kB
SwapTotal:  522072 kB
SwapFree:   522072 kB
Committed_AS:11736 kB

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:35 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Yes, that is my assumption.

The processlist looks uncritical.

What about the memory usage ?

(I'm not familiar with red hat, 'top' or 'cat /proc/meminfo' should
work)

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 4:22 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 Thank you everyone for your responses.  So, you are saying that the 
 problem is not with Tomcat.  Are you suggesting that the problem is 
 with the server itself (Linux) or possibly with the JDK?
 
 I tried adding the JAVA_OPT flags to the catalina.sh but that did not 
 due the trick.  I also tried adding the values you suggested to the 
 user's environment, but I am still getting the errors on startup. 
 Reinstalling wouldn't hurt to try I guess...
 
 It doesn't look like any process is behaving abnormally but
 then again,
 I am a newbie... This is the output of ps -ef:
 UIDPID  PPID  C STIME TTY  TIME CMD
 root 1 0  0 08:57 ?00:00:03 init
 root 2 1  0 08:57 ?00:00:00 [keventd]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do a
complete FSCHK on all disks.

(1) Test some other Java applications...are they working?  If not
reinstall the RPM for the JRE you are using...try again.

(2) load up another copy of Tomcat in your user account?  Does this work
(don't try to run them together)?  If so...save your XML and WEBAPP
directories and reinstall Tomcat.

Good Luck.
-- 
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Yes, that looks fine to me.

I think now you have to consider the other tip like
- run fsck
- Reinstall java
- Reinstall tomcat (but I can't believe that this really helps)

if that doesn't help it getting hard, as there is some knowledge
required. (I would try to play with strace to find out what the 
exact system call is that causes the failure, but as you say you 
are a newby that's quite hard (and there is no garanty that you 
will see anything usefull))

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 4:39 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 From what I can tell memory usage looks ok as well... According to the
 output there is still memory free...
 
 total:used:free:  shared: buffers:  cached:
 Mem:  261988352 114282496 1477058560 18583552 68141056
 Swap: 5346017280 534601728

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Some other recommendations:

- Try to diable as much as possible in server.xml and web.xml.
- Try to run tomcat standalone.

Just to see if it starts. If it starts, try to find out
which feature caused the error.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
The filesystem check returns that everything is clean.

I ran the test versions of the java programs that are part of my webapp
from the command line, and the program executes without a hitch.  It
makes a URL connection to a remote server and sends data, and then
receives a response...  So I would assume there is no problem with the
java installation??

How do I load a second instance of Tomcat without it interfering with
the current installation?

Thanks!

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:43 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do a
complete FSCHK on all disks.

(1) Test some other Java applications...are they working?  If not
reinstall the RPM for the JRE you are using...try again.

(2) load up another copy of Tomcat in your user account?  Does this work
(don't try to run them together)?  If so...save your XML and WEBAPP
directories and reinstall Tomcat.

Good Luck.
-- 
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.
 
 I ran the test versions of the java programs that are part of my webapp
 from the command line, and the program executes without a hitch.  It
 makes a URL connection to a remote server and sends data, and then
 receives a response...  So I would assume there is no problem with the
 java installation??
 
 How do I load a second instance of Tomcat without it interfering with
 the current installation?

Use the TGZ version not RPM and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

 Thanks!
 
 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200
 
 
 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do a
 complete FSCHK on all disks.
 
 (1) Test some other Java applications...are they working?  If not
 reinstall the RPM for the JRE you are using...try again.
 
 (2) load up another copy of Tomcat in your user account?  Does this work
 (don't try to run them together)?  If so...save your XML and WEBAPP
 directories and reinstall Tomcat.
 
 Good Luck.
-- 
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt

Install the second instance in a new directory tree.
Diasble all unneeded ports.
Set the rest of the port to unique values.
Start this instance.

As first step I wouldn't add any of your applications.
Just get the plain tomcat to run. (In the first run with
the least possible set of features, those can be added 
later if all is up)

If that succeeds you can try to port your application to
the new instance.

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 5:19 PM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 The filesystem check returns that everything is clean.
 
 I ran the test versions of the java programs that are part of 
 my webapp
 from the command line, and the program executes without a hitch.  It
 makes a URL connection to a remote server and sends data, and then
 receives a response...  So I would assume there is no problem with the
 java installation??
 
 How do I load a second instance of Tomcat without it interfering with
 the current installation?
 
 Thanks!
 
 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200
 
 
 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 RH7.3 was EXT2 filesystem I think?  (you probably did this) 
 but I'd do a
 complete FSCHK on all disks.
 
 (1) Test some other Java applications...are they working?  If not
 reinstall the RPM for the JRE you are using...try again.
 
 (2) load up another copy of Tomcat in your user account?  
 Does this work
 (don't try to run them together)?  If so...save your XML and WEBAPP
 directories and reinstall Tomcat.
 
 Good Luck.
 -- 
 Timothy Halloran [EMAIL PROTECTED]
 Carnegie Mellon University
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Ok, here is something interesting   

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise 


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.
 
 I ran the test versions of the java programs that are part of my 
 webapp from the command line, and the program executes without a 
 hitch.  It makes a URL connection to a remote server and sends data, 
 and then receives a response...  So I would assume there is no problem

 with the java installation??
 
 How do I load a second instance of Tomcat without it interfering with 
 the current installation?

Use the TGZ version not RPM and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

 Thanks!
 
 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200
 
 
 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do

 a complete FSCHK on all disks.
 
 (1) Test some other Java applications...are they working?  If not 
 reinstall the RPM for the JRE you are using...try again.
 
 (2) load up another copy of Tomcat in your user account?  Does this 
 work (don't try to run them together)?  If so...save your XML and 
 WEBAPP directories and reinstall Tomcat.
 
 Good Luck.
-- 
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps 
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error.
2.  What is the best procedures for restoring my configuration?  I'm
concerned that possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise 


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting   

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise 


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.
 
 I ran the test versions of the java programs that are part of my
 webapp from the command line, and the program executes without a 
 hitch.  It makes a URL connection to a remote server and sends data, 
 and then receives a response...  So I would assume there is no problem

 with the java installation??
 
 How do I load a second instance of Tomcat without it interfering with
 the current installation?

Use the TGZ version not RPM and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

 Thanks!
 
 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200
 
 
 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do

 a complete FSCHK on all disks.
 
 (1) Test some other Java applications...are they working?  If not
 reinstall the RPM for the JRE you are using...try again.
 
 (2) load up another copy of Tomcat in your user account?  Does this
 work (don't try to run them together)?  If so...save your XML and 
 WEBAPP directories and reinstall Tomcat.
 
 Good Luck.
-- 
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I think it might be safe to assume the problem was with the user I was
running tomcat as, if that makes any sense at all???  After I did what I
said below, I realized that I was testing this out as root, and I should
try it as other users.  I tried it with my login, and I can start Tomcat
just fine...  I tried it with the user that was running it previously,
and that is when Tomcat will not start and I get the same errors...

Is it possible for a user to become corrupt??

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps 
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error. 2.  What is the
best procedures for restoring my configuration?  I'm concerned that
possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise 


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting   

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise 


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.
 
 I ran the test versions of the java programs that are part of my 
 webapp from the command line, and the program executes without a 
 hitch.  It makes a URL connection to a remote server and sends data, 
 and then receives a response...  So I would assume there is no problem

 with the java installation??
 
 How do I load a second instance of Tomcat without it interfering with 
 the current installation?

Use the TGZ version not RPM and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

 Thanks!
 
 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200
 
 
 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
 
 
 RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do

 a complete FSCHK on all disks.
 
 (1) Test some other Java applications...are they working?  If not 
 reinstall the RPM for the JRE you are using...try again.
 
 (2) load up another copy of Tomcat in your user account?  Does this 
 work (don't try to run them together)?  If so...save your XML and 
 WEBAPP directories and reinstall Tomcat.
 
 Good Luck.
-- 
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav

Howdy,
It's very a possible for a user to have much lower ulimit/thread
limit/kernel sym version settings than root does...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 1:33 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

I think it might be safe to assume the problem was with the user I was
running tomcat as, if that makes any sense at all???  After I did what
I
said below, I realized that I was testing this out as root, and I
should
try it as other users.  I tried it with my login, and I can start
Tomcat
just fine...  I tried it with the user that was running it previously,
and that is when Tomcat will not start and I get the same errors...

Is it possible for a user to become corrupt??

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working
fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error. 2.  What is
the
best procedures for restoring my configuration?  I'm concerned that
possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting 

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml
and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the
same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.

 I ran the test versions of the java programs that are part of my
 webapp from the command line, and the program executes without a
 hitch.  It makes a URL connection to a remote server and sends data,
 and then receives a response...  So I would assume there is no
problem

 with the java installation??

 How do I load a second instance of Tomcat without it interfering with
 the current installation?

Use the TGZ version not RPM and put it in another
directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

 Thanks!

 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200


 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


 RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd
do

 a complete FSCHK on all disks.

 (1) Test some other Java applications...are they working?  If not
 reinstall the RPM for the JRE you are using...try again.

 (2) load up another copy of Tomcat in your user account?  Does this
 work (don't try to run them together)?  If so...save your XML and
 WEBAPP directories and reinstall Tomcat.

 Good Luck.
--
Timothy Halloran [EMAIL PROTECTED]
Carnegie Mellon University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I restored my Tomcat Installation to the way it was previously with my
config and webapps.  I am going to delete the user 'tomcat'.  I am going
to create a new user to run Tomcat as.  My question now is, should I
make any special settings for this user (i.e.  Such as Ralph had
suggested: ulimit -s 2048  export LD_ASSUME_KERNEL=2.2.5)?

Thanks!!

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 1:40 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError



Howdy,
It's very a possible for a user to have much lower ulimit/thread
limit/kernel sym version settings than root does...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 1:33 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

I think it might be safe to assume the problem was with the user I was 
running tomcat as, if that makes any sense at all???  After I did what
I
said below, I realized that I was testing this out as root, and I
should
try it as other users.  I tried it with my login, and I can start
Tomcat
just fine...  I tried it with the user that was running it previously, 
and that is when Tomcat will not start and I get the same errors...

Is it possible for a user to become corrupt??

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I did as you all suggested, and installed a second instance of tomcat. 
Without changing anything in the configuration, and using the default 
example webapps everything worked fine.  So instead of trying to map my

webapp to run off this second instance, I backed up the existing tomcat

installation and moved the working one to the original location.  I am 
not sure if doing so was a newbie mistake, but it is still working
fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how 
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and 
webapps 1.  I would like to test my java app to make sure that the 
program is not causing (or will not cause) the out of memory error. 2.

What is
the
best procedures for restoring my configuration?  I'm concerned that 
possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting 

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,

but I wasn't exactly sure what I could or couldn't touch in server.xml.

So what I did was backuped up my server.xml - then renamed the 
server-noexamples.xml.config (shipped with the distro) to server.xml
and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND

I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the
same
errors...  Does that shed any light? Or should I go with the second 
install of Tomcat?

Thanks again so much for everyone's posts.

Denise


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.

 I ran the test versions of the java programs that are part of my 
 webapp from the command line, and the program executes without a 
 hitch.  It makes a URL connection to a remote server and sends data, 
 and then receives a response...  So I would assume there is no
problem

 with the java installation??

 How do I load a second instance of Tomcat without it interfering with

 the current installation?

Use the TGZ version not RPM and put it in another
directory...you'll
have to change some variables (as I recall) and save your others.  Just

run the second tomcat as your local user.  I haven't done this in a 
while but it works fine as long as you don't run them together (if you 
do you'll need to change ports and such).

 Thanks!

 Denise Mangano
 Complus Data Innovations, Inc.
 914-747-1200


 -Original Message-
 From: Timothy Halloran [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 19, 2003 10:43 AM
 To: Tomcat Users List
 Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


 RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd
do

 a complete FSCHK on all disks.

 (1) Test

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread King,Daniel
A problem I have experienced over the years with WebLogic, is that I will run it as a 
non root user such as 'weblogic'.  To do so, I will change owner for the whole 
directory where WebLogic is stored.  Then when trouble shooting I forget and run the 
server as root, which causes it to create a variety of configuration and log files as 
owned by root.  Then when I subsequently try to run the server as weblogic, it fails, 
because user 'weblogic' does not have privileges on the files created by root.  I am 
relatively new to Tomcat, but I suspect that the same thing can happen.

-Original Message- 
From: Denise Mangano [mailto:[EMAIL PROTECTED] 
Sent: Fri 9/19/2003 11:33 AM 
To: Tomcat Users List 
Cc: 
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError



I think it might be safe to assume the problem was with the user I was
running tomcat as, if that makes any sense at all???  After I did what I
said below, I realized that I was testing this out as root, and I should
try it as other users.  I tried it with my login, and I can start Tomcat
just fine...  I tried it with the user that was running it previously,
and that is when Tomcat will not start and I get the same errors...

Is it possible for a user to become corrupt??

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error. 2.  What is the
best procedures for restoring my configuration?  I'm concerned that
possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting  

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
 The filesystem check returns that everything is clean.

 I ran the test versions of the java programs that are part of my
 webapp from the command line, and the program executes without a
 hitch.  It makes a URL connection to a remote server and sends data,
 and then receives a response...  So I would assume there is no problem

 with the java installation??

 How do I load a second instance of Tomcat without it interfering with
 the current installation?

Use the TGZ version not RPM and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second

Re: URGENT!!!mod_jk2 and apache 1.3.27

2003-09-17 Thread Bill Barker
Don't use it myself, but it is supposed to work fine.  Of course, you
probably don't want to enable the JNI Channel with this config.

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi All
 I would like to know if the mod_jk2 works for apache1.3.27 and tomcat
 4.1.27. I know it sure works for apache 2.x and tomcat4.1.27 and i have
 configured it  successfully for this combination. Please also let me know
 if the same configuration for mod_jk2 works for apache 1.3.x as apache 2.x
 if mod_jk2 works at all for apache 1.3.

 Thanks in Advance

 --Mohan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URGENT!!! Tomcat 4 download

2003-09-11 Thread Phillip Qin
Download binary from Jakarta.apache.org/tomcat

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: September 11, 2003 4:17 PM
To: [EMAIL PROTECTED]
Subject: URGENT!!! Tomcat 4 download

Hi All
I am trying to download tomcat 4.1.24 rpm thro apt-get.
I am using apt-get install tomcat4 command. It gives me a bunch of
dependecies which it needs to install tomcat4. But if i download a tar
ball everything does just fine. I tried to get rpm from jakarta site but i
had no luck finding the rpms on there. Please help me solve this issue.I
think rpms is the best way to go but i'm just not able to get it to work

thanks in advance

--mohan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  1   2   3   4   5   >