Re: Huge tomcat memory footprint

2004-11-04 Thread Surendra Kumar
Anand
The pmap command itself gives some good info on this huge memory
footrpint.  There will be
jars, some libraries (JVM specifc) are loaded into the memory that
can cause this footprint. You
can find the list of jars/files loaded by using the inode number.

In addition sometime i observed that if the System memory (RAM) is
low, it tends to show
a larger footprint.

-Surendra

- Original Message -
From: Anand Narasimhan [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 11:52 PM
Subject: RE: Huge tomcat memory footprint




  -Original Message-
  From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
  Sent: Thursday, November 04, 2004 9:59 AM
  To: Tomcat Users List
  Subject: RE: Huge tomcat memory footprint
 
 
  Hi,
  BTW, have you moved from JDK 1.4.1 to 1.4.2 yet, and if so
  has that made a difference?  IIRC your OP said you're using
  JDK 1.4.1..
 
  Yoav Shapira http://www.yoavshapira.com
 
 

 Yes. I did upgrade to JDK 1.4.2_06. It did not make much difference. In
fact
 it increased the memory footprint.

 Anand


 -
 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]



Tomcat 4.1.29 - Special chars in a file name

2004-08-31 Thread Surendra Kumar
Hi
   I am using Tomcat 4.1.29 + Apache 1.3.31.  In one of my webapp i have a file named 
test+.gif
   When i try to access this gif file, tomcat throws resource not available message. 
All other gif files in the same
   dir are accessible. Even the directory listing shows the file is available. But 
when i select that file it's failing.
   I have tried encoding the url also, but it not working .

Does any one know how to access this file ?

Thanks
Surendra

Re: Tomcat 4.1.29 - Special chars in a file name

2004-08-31 Thread Surendra Kumar
Hi Greg
I tried with test%2B.gif also.  If the file is located in Apache, it
docodes properly.
But if the file is in Tomcat, it throws resource not available
error.

-Surendra

- Original Message -
From: Greg Ward [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 8:02 PM
Subject: Re: Tomcat 4.1.29 - Special chars in a file name


 On 31 August 2004, Surendra Kumar said:
  Hi
 I am using Tomcat 4.1.29 + Apache 1.3.31.  In one of my webapp i have
a file named test+.gif

 Probably a URL encoding problem -- if a web page includes

   a href=test+.gif

 then the browser will ask for test .gif, because test+.gif is one of
 the ways to encode test .gif so it's a legal URL.  (The other is
 test%20.gif.)

 Whatever code is generating

   a href=test+.gif

 is wrong -- it should be

   a href=test%2B.gif

 which the browser will decode to test+.gif.

 Greg

 -
 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: precompiling jsp files gives error

2004-07-23 Thread Surendra Kumar
Well i used the jspc.sh shipped with Tomcat 4.1.29 and it compiles the
included jsp files within jsp.
Even i have tried with ANT and it works fine.

Does this jsp compile in the rutime / tomcat ?

-Surendra

- Original Message -
From: java only [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 23, 2004 11:17 AM
Subject: Re: precompiling jsp files gives error


 Yes it is there in the classpath...Moreover,when I try to run the
build.xml file as given in the tomcat docs , it runs fine until it
encounters the compile error problem because of the included jsp files
within jsp files.This was the reason I tried running the changed build.xml
file (tomcat-precompile-jsp.xml file)  as suggested by one of the developers
here, but it is giving me build failed as mentioned earlier...

 Can anybody please help ?

 Regards,

 javaonlyjava

 Surendra Kumar [EMAIL PROTECTED] wrote:
 Probably the jasper-compiler.jar not in the classpath.

 -Surendra

 - Original Message -
 From: java only
 To: Tomcat Users List
 Sent: Friday, July 23, 2004 10:46 AM
 Subject: Re: precompiling jsp files gives error


  Hi ,
 
  I have checked the archives and I have found that someone else has
 suggested to use their build.xml file (it was named
 tomcat-precompile-jsp.xml) ,and when I try to run it, it gives the
following
 error.
 
 

$ANT_HOME/bin/ant -Dtomcat.home=/usr/ezipin/jakarta-tomcat-5.0.25 -Dwebapp.n
 ame=mywebappname -Dwebapp.path=mywebapppath -buildfile
 tomcat-precompile-jsp.xml
  Buildfile: tomcat-precompile-jsp.xml
  jspc:
  BUILD FAILED
  /usr/local/apache-ant-1.6.2/tomcat-precompile-jsp.xml:7: taskdef A class
 needed by class org.apache.jasper.JspC cannot be found:
 org/apache/commons/logging/LogFactory
  Total time: 1 second
 
 
  can anybody please help?
 
  Regards,
 
  javaonlyjava
 
  java only wrote:
  Hi All,
 
  When I am precompiling my JSP files using the ant script provided in the
 documentation using jasper (ant script),I couldn't compile my whole
 _jsp.java files as those files have and the error says the dependent
object
 in the included file couldn't be found.
 
  Is there a way to work around ,as I am keen to get rid of these errors?
 
  Thanks in advance,
 
  JavaOnlyJava
 
 
  -
  Do you Yahoo!?
  Vote for the stars of Yahoo!'s next ad campaign!
  __
  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]



 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!


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



Re: precompiling jsp files gives error

2004-07-22 Thread Surendra Kumar
Probably the jasper-compiler.jar not in the classpath.

-Surendra

- Original Message -
From: java only [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 23, 2004 10:46 AM
Subject: Re: precompiling jsp files gives error


 Hi ,

 I have checked the archives and I have found that someone else has
suggested to use their build.xml file (it was named
tomcat-precompile-jsp.xml) ,and when I try to run it, it gives the following
error.


$ANT_HOME/bin/ant -Dtomcat.home=/usr/ezipin/jakarta-tomcat-5.0.25 -Dwebapp.n
ame=mywebappname -Dwebapp.path=mywebapppath -buildfile
tomcat-precompile-jsp.xml
 Buildfile: tomcat-precompile-jsp.xml
 jspc:
 BUILD FAILED
 /usr/local/apache-ant-1.6.2/tomcat-precompile-jsp.xml:7: taskdef A class
needed by class org.apache.jasper.JspC cannot be found:
org/apache/commons/logging/LogFactory
 Total time: 1 second


 can anybody please help?

 Regards,

 javaonlyjava

 java only [EMAIL PROTECTED] wrote:
 Hi All,

 When I am precompiling my JSP files using the ant script provided in the
documentation using jasper (ant script),I couldn't compile my whole
_jsp.java files as those files have and the error says the dependent object
in the included file couldn't be found.

 Is there a way to work around ,as I am keen to get rid of these errors?

 Thanks in advance,

 JavaOnlyJava


 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!
 __
 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: Tomcat process memory growth

2004-07-01 Thread Surendra Kumar
No I  am using md_jk to connect to Apache. Any other thoughts on this.

-Surendra

- Original Message - 
From: Adrian Barnett [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 8:11 PM
Subject: Re: Tomcat process memory growth


 On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar [EMAIL PROTECTED]  
 wrote:
 
  Hi
  I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application.  The  
  total memory of the process ( VM + Real Memory)
  keeps on increasing.  The heap size of VM is not increasing  
  ( verified by printing the free memory) , but the total memory
  used by the process increasing.
 Any ideas on how to fix it ?
 
 Are you using mod_jk2 to connect to Apache?
 If so, try adding the line
 request.registerRequests=false
 to your jk2.properties file.
 
 I was also getting a memory-creep until I set that flag.
 
 
 -- 
 Can you see the fnords yet?
 
 
 -
 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]



Tomcat process memory growth

2004-06-30 Thread Surendra Kumar
Hi
I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application.  The total memory of 
the process ( VM + Real Memory)
keeps on increasing.  The heap size of VM is not increasing ( verified by printing 
the free memory) , but the total memory 
used by the process increasing.

Any ideas on how to fix it ?

Thanks
Surendra

Re: Tomcat process memory growth

2004-06-30 Thread Surendra Kumar
I checked that. Only the total memory of the process is growing. The vm size
is not growing much.
i think normally all profilers gives information abt the VM. Is it correct ?

Thanks
Surendra

- Original Message -
From: STOCKHOLM, Raymond [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 6:09 PM
Subject: RE: Tomcat process memory growth


It seems your web application has a memory leak :
Use a Profiler to check the memory usage in your application.



-Message d'origine-
De : Surendra Kumar [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 30 juin 2004 14:35
À : Tomcat Users List
Objet : Tomcat process memory growth


Hi
I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application.  The total
memory of the process ( VM + Real Memory)
keeps on increasing.  The heap size of VM is not increasing ( verified
by printing the free memory) , but the total memory
used by the process increasing.

Any ideas on how to fix it ?

Thanks
Surendra

-
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]



HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Surendra Kumar
Hi Everyone
I am using Tomcat 4.1.29 and the getRemoteHost() call from HttpServletRequest 
is returning null. 
Do i need to need to configure anything for this api to work ?

Thanks
Surendra
 

Re: HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Surendra Kumar
Hi Carsten
I did that and it still returns null. Even if i haven't enabled, it
should return me the ip not null value.
I am using org.apache.ajp.tomcat4.Ajp13Connector connector.
Any clues ?

Thanks
Surendra

- Original Message -
From: Carsten Lex [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 2:55 PM
Subject: Re: HTTPRequest object returns null for getRemoteHost()



 Hi,

 by default enableLookups is  enabled (==true)
 You can add the parameter enableLookups=true to a Connector, then
 getRemoteHost() gives you the desired information

 Carsten

 Surendra Kumar wrote:

 Hi Everyone
 I am using Tomcat 4.1.29 and the getRemoteHost() call from
HttpServletRequest is returning null.
 Do i need to need to configure anything for this api to work ?
 
 Thanks
 Surendra
 
 
 

 --





 Mit freundlichen Grüßen

 Dipl.Inform. Carsten Lex
 Geschäftsführer
 DeepWeb GmbH

 
 DeepWeb GmbH
 Universität, Gebäude 30
 66123 Saarbrücken

 Tel.:  0681 - 302 6308
 Mobil: 0163 - 33 37 002



 -
 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: Order of WebApp Loading

2004-06-18 Thread Surendra Kumar
Hi  QM
Thanks for replying the mail. Can you provide more info about the
indirect way. I am not clear on this.
The App#1 needs to be started first because the other apps depends upon
the services provided by the App #1.

Thanks
Surendra

- Original Message -
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 5:36 PM
Subject: Re: Order of WebApp Loading


 Please create a *new* message when mailing the list.
 Responding to an unrelated message makes it difficult to follow the list
 with a thread-aware mailer.


 : I am using Tomcat 4.1.29 and i have several webapps in my
 : application.  I want to set one webapp to
 : load first and the rest of the webapps should be loaded
after
 : it. I have tried changing the order in server.xml, but it
 : didn'y help.
 : Is  there any way i can set the order of   webapp loading ?

 Directly, through Tomcat, no.  Not possible.
 Indirectly, put the special app in its own container and make sure
 that starts first (i.e. in your init scripts).

 What's the rationale behind App #1 starting first?

 -QM


 --

 software  -- http://www.brandxdev.net
 tech news -- http://www.RoarNetworX.com


 -
 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]



Order of WebApp Loading

2004-06-16 Thread Surendra Kumar
Hi Everybody
I am using Tomcat 4.1.29 and i have several webapps in my
application.  I want to set one webapp to
load first and the rest of the webapps should be loaded after
it. I have tried changing the order in server.xml, but it
didn'y help.
Is  there any way i can set the order of   webapp loading ?

Thanks
Surendra
.





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



Tomcat 4.1.29 getRemoteHost() returns null

2004-05-05 Thread Surendra Kumar
Hi
   I am using Tomcat 4.1.29 with JK connector. The api
request.getRemoteHost() returns null.
   I also made enableLookup=true in the connector properties  Is there
anything else i need to configure ?

Thanks
Surendra


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



Startup Servlet + Additional Jars Question

2003-12-05 Thread Surendra Kumar
Hi
We are using Tomcat 3.3.1 in one of our product. We have a startup
servlet in one of our webapp.
The necessary classfiles for the servlet are in a jar and it resides
outside tomcat direcotry structure. So, we  have used
additional jars   property to add the jar.  When the servlet starts
we are getting NoClassDefFound error. But the
   classfile are present in the  jar file.

When i placed the jar file in the lib/apps directory the servlet
started properly .

Is there any difference between these two approaches ?

Thanks for any information

Regards
Surendra


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



unable to start tomcat

2003-04-02 Thread Surendra Kumar
Hi,
   I am using Tomcat 3.3.1 and when i start i am getting the following
message and the tomcat process is not starting up.

##
ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
EmbededTomcat: No configuration found.
EmbededTomcat: The modules and/or server configuration files are missing.
EmbededTomcat: Init time 1685
##

  What could be the reason ?


Thanks
Surendra


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



Re: unable to start tomcat

2003-04-02 Thread Surendra Kumar
Yes i did set.

Thanks
Surendra

- Original Message -
From: Michael Mattox [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 1:45 PM
Subject: RE: unable to start tomcat


 Have you set your $TOMCAT_HOME variable to the path to tomcat?

  Hi,
 I am using Tomcat 3.3.1 and when i start i am getting the following
  message and the tomcat process is not starting up.
 
  ##
  ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
  EmbededTomcat: No configuration found.
  EmbededTomcat: The modules and/or server configuration files are
missing.
  EmbededTomcat: Init time 1685
  ##
 
What could be the reason ?



 -
 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: unable to start tomcat

2003-04-02 Thread Surendra Kumar
yes i have everything ( server.xml, modules.xml etc ) in place in conf
direcory.
The point here is, it was working before and suddenly it stopped.

-Surendra


- Original Message -
From: Jan Behrens [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 1:59 PM
Subject: RE: unable to start tomcat


 Hi,

   ##
   ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
   EmbededTomcat: No configuration found.
   EmbededTomcat: The modules and/or server configuration files are
missing.
   EmbededTomcat: Init time 1685
   ##

 if you set TOMCAT_HOME correctly, how about the initial Error-Message...
is
 there a server.xml file in /conf/ ???

 Regards Jan


 -
 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: unable to start tomcat

2003-04-02 Thread Surendra Kumar
I am using TOMCAT_HOME  in the startup script, it's properly identifying the
tomcat_home directory.
Even i made a check to verify the presence of server.xml and it passed.

It was working before and suddenly it got changed

Thanks for any help.

-Surendra

- Original Message -
From: Michael Mattox [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 3:19 PM
Subject: RE: unable to start tomcat


 I assume you're using UNIX, try this:

 echo $TOMCAT_HOME

 and tell us what the output is.  If you're running windows, try:

 SET TOMCAT_HOME

 I haven't used Tomcat 3.x in a long time, but it really looks like the
 TOMCAT_HOME isn't set or the server.xml file isn't in $TOMCAT_HOME/conf

 Michael

  -Original Message-
  From: Surendra Kumar [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 02, 2003 11:41 AM
  To: Tomcat Users List; [EMAIL PROTECTED]
  Subject: Re: unable to start tomcat
 
 
  yes i have everything ( server.xml, modules.xml etc ) in place in conf
  direcory.
  The point here is, it was working before and suddenly it stopped.
 
  -Surendra
 
 
  - Original Message -
  From: Jan Behrens [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Wednesday, April 02, 2003 1:59 PM
  Subject: RE: unable to start tomcat
 
 
   Hi,
  
 ##
 ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
 EmbededTomcat: No configuration found.
 EmbededTomcat: The modules and/or server configuration files are
  missing.
 EmbededTomcat: Init time 1685
 ##
  
   if you set TOMCAT_HOME correctly, how about the initial
Error-Message...
  is
   there a server.xml file in /conf/ ???
  
   Regards Jan
  
  
   -
   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]



Multiple jre's in single tomcat server

2003-03-31 Thread Surendra Kumar
Hi All
  We are using Tomcat version 3.3.1 in our application. We have 2 webapps. We want one 
of the web-app to run in
jre 1.3.1 and another web-app  in jre 1.4. 
  Is this possible  to do ? If yes please let me know how to do it.

Thanks
Surendra


Re: Multiple jre's in single tomcat server

2003-03-31 Thread Surendra Kumar
What should be the JAVA_HOME ? Is there anyway i can define this for each web-app.
Actually we have found a way to do it ie) by running Multiple Instances of Tomcat and 
each tomcat instance will have it's own
server.xml.But we are looking for a way with single instance of Tomcat.

Can you explain more about your approach ?

Thanks
Surendra

Bill Barker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 It's easy enough to do in general (you set 'tomcat.home' to be the Tomcat
 installation directory for both, and set 'tomcat.install' to point to the
 individual directories that have the web-apps defined.).  The tricky part is
 how you are accessing them.  If they are on seperate vhosts, then it is
 pretty simple.  Otherwise the rest of the setup depends on whether you are
 fronting Apache/IIS/iPlanet, or using Tomcat-Standalone.
 
 Surendra Kumar [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Hi All
   We are using Tomcat version 3.3.1 in our application. We have 2 webapps.
 We want one of the web-app to run in
 jre 1.3.1 and another web-app  in jre 1.4.
   Is this possible  to do ? If yes please let me know how to do it.
 
 Thanks
 Surendra
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


Re: Multiple jre's in single tomcat server

2003-03-31 Thread Surendra Kumar
Yes , We have kept that option open. If we can't do that in single instance,
we will proceed with multiple instances.

Thanks
Surendra

- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 8:16 PM
Subject: RE: Multiple jre's in single tomcat server



 Howdy,
 The general rule is one tomcat instance, one JVM.  Hence one JVM version
 for all webapps on one tomcat instance.  If you try to work around this,
 you are probably just cruising for a bruising... ;)

 How about using two separate tomcat instances?

 Yoav Shapira
 Millennium ChemInformatics


 -Original Message-
 From: Surendra Kumar [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 31, 2003 3:11 AM
 To: Tomcat Users List
 Subject: Multiple jre's in single tomcat server
 
 Hi All
   We are using Tomcat version 3.3.1 in our application. We have 2
 webapps.
 We want one of the web-app to run in
 jre 1.3.1 and another web-app  in jre 1.4.
   Is this possible  to do ? If yes please let me know how to do it.
 
 Thanks
 Surendra



 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]



Need Help in Server.XML

2003-03-26 Thread Surendra Kumar
Hi,
We were using Tomcat version 3.3.1 in our product and everything wad
working fine. Recently Tomcat released 3.3.1a with
security updates. To fix the security issue we have replaced the 4 jar files
(tomcat.jar, tomcat_modules.jar, tomcat_util.jar, facade22.jar)
mentioned in the report.
After updating the jar files our product is not working and throwing
class not found exception.
In server.xml we have the following configuration

#
LoaderInterceptor11 useApplicationLoader=true jarSeparator=;
additionalJars=C:\PROGRA~1\myclasspath;C:\PROGRA~1\classpath debug=10 /
#

After updating the tomcat jar files, the dir
C:\PROGRA~1\myclasspath;C:\PROGRA~1\classpath is not added in the
context's
classpath and all access to class files in this directory throws Class Not
Found Exception

We have narrowed down the problem to tomcat_modules.jar. If we replace
this jar file from 3.3.1 version, everything works
fine.

I have downloaded the source for 3.3.1 and 3.3.1a and i didn't find any
change in LoaderInterceptor11.java. But the size of classfiles
in both jar are not same.

I have enabled debug for this module and the only difference i could note is
an extra / character is missing at the end of classpath
with new jar files. following are diff

 LoaderInterceptor11: file:C:/PROGRA~1/myclasspath
 LoaderInterceptor11: file:C:/PROGRA~1//classpath
 LoaderInterceptor11: DEFAULT:/test adding: file:C:/PROGRA~1/myclasspath
 LoaderInterceptor11: DEFAULT:/test adding: file:C:/PROGRA~1/classpath
---
 LoaderInterceptor11: file:C:/PROGRA~1/myclasspath/
 LoaderInterceptor11: file:C:/PROGRA~1/classpath/
 LoaderInterceptor11: DEFAULT:/test adding:
file:C:/PROGRA~1/CSCOpx/myclasspath/
 LoaderInterceptor11: DEFAULT:/test adding:
file:C:/PROGRA~1/CSCOpx/classpath/


I need help on debugging this. Thanks for any help and suggestion.

Regards
Surendra


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



How to increase the stack memory for tomcat ?

2003-02-07 Thread Surendra Kumar
Hi All
   I want to increase the stack size allocated to my tomcat process. Is
there any configuration file where i can change this ?
   Besides is there any way i can configure the stack size for per Web
applications ?

   I am using Tomcat version 3.3.1

 Thanks for any help/pointers.

-Surendra


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




IPv6 Support in Tomcat

2003-01-08 Thread Surendra Kumar
Hi All
   Is IPv6 support  available  for any version of  Tomcat ?
   Where can i get the documentation related to this ?

Thanks
Surendra


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




Re: IPv6 Support in Tomcat

2003-01-08 Thread Surendra Kumar
Hi David
   Thanks for the info. Is there anything specially needs to be done from
tomcat side ?
   So  If the jdk supports then tomcat also supports Ipv6. Is this correct ?

Thanks
Surendra


- Original Message -
From: David Kavanagh [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 10:33 AM
Subject: Re: IPv6 Support in Tomcat


 IPv6 is a jdk1.4 feature, that is not availble on Windows (due to
 problems with the IPv6 support in the OS). I'd guess tomcat will work
 with IPv6 if you get JDK1.4 on Solaris or Linux.
 See this web page for details.
 http://java.sun.com/j2se/1.4/docs/guide/net/ipv6_guide/

 David

 Surendra Kumar wrote:

 Hi All
Is IPv6 support  available  for any version of  Tomcat ?
Where can i get the documentation related to this ?
 
 Thanks
 Surendra
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
 



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




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




Tomcat service is not starting

2002-12-03 Thread Surendra Kumar
Hi all
  I have installed Tomcat 3.3.1 in Win2K prof.  as a service.
  When we start this Service i am getting the following error in the event
viewer and the service is not starting

   Could not create a FileOutputStream for System.out redirect.  '

   What does this mean and how can i overcome this error ?

   Please clarify me

Thanks
Surendra




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




Tomcat 3.3.1 in Windows occupies 100 % CPU

2002-11-22 Thread Surendra Kumar
Hi all
  We are using Apache 1.3.26 + Tomcat 3.3.1 in W2K  Professional platform.
  During some servlet operations the CPU usage of Tomcat process becomes 100 % and it 
stays there for  long (even days).

  Did anyone face this kind of problems ? Please let me know how to debug this.

  I also like to know, how to take thread dump of tomcat process. Since tomcat is 
running as windows service i could not use
  the normal sequence ( ctrl + break).

  Thanks for any help on this regard.


-Surendra