ClassLoading in webapps

2005-05-12 Thread Narayan, Satya
Hi all,
   Is it possible to load few jars from an external directory
outside tomcat. The problem is I donot want this to be inside
WEB-inf/lib of the web application. 
Is it possible in any way ?
Kindly advise.

Thanks and Regards,
Satya



Nested tag problem in tomcat 5.0.29..Please help

2005-04-07 Thread Narayan, Satya


 Hi all,
 I am having problem compiling jsp pages with nested struts
 tags.
 Is this a known error ? I have a bean tag within a html tag which is
 causing a problem.
I tried the same web application in 4.1.29 it works perfectly fine but
with 5.0.29 and 5.0.28 it gives unable to compile class.

Somebody please help.

 Has anybody got this error.
 Kindly advise.
 
 Thanks and Regards,
 Satya


Nested tag problem in tomcat 5.0.29

2005-04-06 Thread Narayan, Satya
Hi all,
I am having problem compiling jsp pages with nested struts
tags.
Is this a known error ? It says 

Unable to compile class for JSP

 Generated servlet error:
%CATALINA_HOME%\work\Catalina\localhost\test\org\apache\jsp\ui\Showjsp.j
ava:124:
_jspx_meth_logic_equal_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.j
sp.PageContext) in org.apache.jsp.ui.ShowPricingConditionPanel_jsp
cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
  if (_jspx_meth_logic_equal_0(_jspx_th_html_form_0,
_jspx_page_context))


Has anybody got this error.
Kindly advise.

Thanks and Regards,
Satya


Latest Stable Release of tomcat 5.0 ?

2005-04-04 Thread Narayan, Satya
Hi all,
   Could somebody please tell me the latest stable release of
tomcat 5.0  ?
Is it 5.0.28 or 5.0.29 or 5.0.30 ? 

Kindly advise.

Thanks and Regards,
Satya


Replacing XML parser

2005-03-01 Thread Narayan, Satya
Hi all,
  I am using tomcat 5 for my web applications. I wanted my
webapplications to use my own xml parser so I looked into the docs of
tomcat and found that in jdk 1.4 supports Endorsed Standards Mechanism
wherein I could replace my own XML parser instead of the default one. Is
there any threat to the functioning of tomcat if I replace it with my
own parser ? Will tomcat internal classes be affected ? Has anybody had
any problems with regard to this ?

Thanks and Regards,
Satya


Tomcat doesnot shutdown properly

2005-02-10 Thread Narayan, Satya
Hi,
 Tomcat doesnot shutdown when one of the threads is in process. 
I type catalina stop to stop the tomcat but it does not work cos one of
the threads is in process
Is there any way out of this of tomcat forcibly killing all threads and
shutting down tomcat ?

Kindly advise.

Best Regards,
Satya


Help Required- tomcat doesn't shutdown properly

2005-02-04 Thread Narayan, Satya
Hi ,
I am having a weird problem. I have deployed a webapp which
basically runs a servlet in tomcat5. I can start and stop using the exe
file provided. But when I use the command line version ie when I open a
command shell and type catalina.bat start tomcat starts properly in a
new shell.
But when in the same command shell and I type catalina.bat stop It
tries to stop tomcat but doesnot stop it properly and doesnot close the
tomcat shell. 
The last message that appears on the tomcat shell while stopping is 

 Feb 4, 2005 2:35:29 PM org.apache.coyote.http11.Http11Protocol destroy
  INFO: Stopping Coyote HTTP/1.1 on http-8080

This problem doesn't occur when my webapp is not deployed.

Kindly advice as to wht could be wrong.Thanks in advance.

Best Regards,
Satya


Regarding silent installation of tomcat 5.0

2004-11-02 Thread Narayan, Satya
Hi all,
 I have a doubt regarding the doubt regarding the installation of tomcat 5.0 
I need to install tomcat 5.0 and also the NT service. I need to do all this silently 
ie without user input.
Is it possible ? Is there a silent option in tomcat installation exe file ?

Kindly advise.

Thanks and Regards,
Satya


RE: Regarding silent installation of tomcat 5.0

2004-11-02 Thread Narayan, Satya
Hi MT,
 Thanks a lot for the advise. Is it possible to give any other options 
alongwith this like the directory to install to ? And does it install the services 
also ? Kindly advise.

Best Regards,
Satya



-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 02, 2004 03:51 PM
To: Tomcat Users List
Subject: Re: Regarding silent installation of tomcat 5.0


Narayan, Satya wrote:
 Hi all,
  I have a doubt regarding the doubt regarding the installation of tomcat 5.0 
 I need to install tomcat 5.0 and also the NT service. I need to do all this silently 
 ie without user input.
 Is it possible ? Is there a silent option in tomcat installation exe file ?


'jakarta-tomcat-5.X.X.exe /S' (case Sensitive)

MT.

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



RE: Class loading in tomcat 5.0

2004-10-18 Thread Narayan, Satya
Hi,
   Thanks a lot for your comments. I tried out a few things regarding this.
I tried having different jars with the same class. As far my test goes the WebApp 
Class Loader picked up the jars in alphabetical order. 
I tried with tomcat 5.5 under Windows 2000 file system. 
I looked through the code of WebApp Class loader but couldnot gather much. 

Is picking jar files within a respository alphabetical or random ?

Kindly advise.

Thanks and Regards,
Satya

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 14, 2004 08:24 PM
To: Tomcat Users List
Subject: RE: Class loading in tomcat 5.0



Hi,

What I want to achieve is control the way jars are loaded.
I want to load a particular jar(say X.jar) before another jar(say
Y.jar) .
Can this be achieved ?

Only be putting X.jar in a repository that has higher priority than
Y.jar.  Within the same repository, you can't control loading order.
For what repositories are available to you and their priority from the
webapp's perspective, RTFM on the Classloader How-To.

Yoav



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: Class loading in tomcat 5.0

2004-10-14 Thread Narayan, Satya
Hi ,
  Thanks a lot for your help.
What I want to achieve is control the way jars are loaded. 
I want to load a particular jar(say X.jar) before another jar(say Y.jar) .
Can this be achieved ?

Thanks and Regards,
Satya

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 14, 2004 05:27 PM
To: Tomcat Users List
Subject: Re: Class loading in tomcat 5.0


On Thu, Oct 14, 2004 at 06:13:59AM +0200, Narayan, Satya wrote:
:   I have a doubt regarding class loading in tomcat 5.0 . Is it different from 
tomcat 4.0 ?

Compare the classloader docs for the two versions and see.  It's been a
while since I've used Tomcat 4, but my guess is that if you stick with
the standard locations (WEB-INF/lib, common/lib, etc.) then you should
be fine.


: Can I hav an order of class loading within a folder ?

I'm not sure what this means.  Are you trying to control which jar is
loaded first in the classpath?

What are you trying to do?

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



RE: Doubt regarding Confguring HTTP port

2004-10-06 Thread Narayan, Satya
Thanks a lot.
I tried setting the my_port variable and also setting on JAVA_OPTS on tomcat 4.1.30 it 
did not work. 
But it worked in 5.0 version.
Can it be done in 4.1 also ?
Could anybody tell me the reason as to why it cannot be done in 4.1?

Thanks and Regards,
Satya

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 05, 2004 05:03 PM
To: Tomcat Users List
Subject: Re: Doubt regarding Confguring HTTP port


This can be done in tomcat5. For example:
 Connector port=${my_port} address=${my_address}
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false redirectPort=8443 acceptCount=100
debug=0
disableUploadTimeout=true
compression=off
compressionMinSize=2048
noCompressionUserAgents=gozilla, traviata
compressableMimeType=text/html,text/xml /


[Assuming unix] - before running startup.sh - first set the JAVA_OPTS 
environment variable to set 2 system properties for the jvm.
For example:
export JAVA_OPTS='-Dmy_port=8080 -Dmy_address=10.0.0.23'

On windows - see the FAQ on setting JAVA_OPTS. (for cygwin, the above command 
works fine)

-Tim

Narayan, Satya wrote:

 Hi,
I have a doubt regarding configuring the HTTP port. I know that this can be 
 done in the conf/server.xml. But my doubt is whether this can be overridden by 
 giving it as a startup parameter of tomcat. Kindly advise.
 

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



Doubt regarding Confguring HTTP port

2004-10-05 Thread Narayan, Satya
Hi,
   I have a doubt regarding configuring the HTTP port. I know that this can be 
done in the conf/server.xml. But my doubt is whether this can be overridden by giving 
it as a startup parameter of tomcat. Kindly advise.

Thanks and Regards,
Satya

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