RE: classpath for web applications

2002-11-12 Thread sonam singh
important jar file inside the lib folder. in server.xml specify add this docBase=/usr/web/ in host tag. 2) copy u'r classes in the TOMCAT_HOME/webapps/bdna/WEB-INF/classes berfore that create the folder . in that case u donot need to change the server.xml sonam singh [EMAIL PROTECTED

Re: Removing default Contexts in production...

2002-11-12 Thread sonam singh
TOMCAT_HOME/webaps/example but donot remove the admin context it is for administrator purpose . regards sonam singh I see a /conf/server-noexamples.xml.config file that seems to provide exactly what I'm looking for. Is this correct? May I also remove the Manager context/webapp without

Re: linux tomcat startup prob

2002-10-25 Thread sonam singh
u can use find or it should bi in the tomcat_home/bin regards Sonam Singh [EMAIL PROTECTED] --- maninder s batth [EMAIL PROTECTED] wrote: hii am new to linux. i installed tomcat but 4.1.12 and the docs mentioned there would be startup.sh and shutdown.sh in $CATALINA_HOME/bin , all i found

Re: where to put servlet classes

2002-10-25 Thread sonam singh
be url-pattern/xyz/url-pattern and u can access this servlet like http://IP/app/xyz or without url mapping http://IP/app/servlet/authenticateUser regards Sonam Singh [EMAIL PROTECTED] /servlet-mapping /web-app Then in my jsp code I have: form action=../servlets/authenticateUser

RE: Tomcat's connection pooling

2002-10-25 Thread sonam singh
as maxActive. Don't define 5 and ask it to grow ;) u can create u'r own connection pooling independent of application specific using singleton class.which will satisfy u'r need . if u need how to do this mail me in below mailid regards Sonam Singh [EMAIL PROTECTED] Yoav Shapira Millennium

Re: Setting up multiple ports HOWTO?

2002-10-21 Thread sonam singh
it is very simple just create another copy server.xml and change the default port of HttpConnector e.g 8081 regards Sonam Singh [EMAIL PROTECTED] --- Josh G [EMAIL PROTECTED] wrote: Hi, I was wondering if there's a simple way to have one instance of tomcat run two different applications

Re: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread sonam singh
u can use prinStackTrace() regards Sonam Singh [EMAIL PROTECTED] --- Nagpal, Vikas [EMAIL PROTECTED] wrote: Hello EveryBody, I have been trying to catch the ROOT cause of the exception. I am able to get the NULL for the number which caused this exception but not the NUMBER. Can anyone

Re: Setting up multiple ports HOWTO?

2002-10-21 Thread sonam singh
. - Original Message - From: sonam singh [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 2:14 PM Subject: Re: Setting up multiple ports HOWTO? it is very simple just create another copy server.xml and change the default port

Re: Tomcat 4.1.12 with Apache 2.0.40

2002-10-16 Thread sonam singh
why donot u use mod_jk to intgrate tomcat with apache for better flexibilty regards Sonam Singh [EMAIL PROTECTED] --- Hendrik Coetzee [EMAIL PROTECTED] wrote: Hi I installed Apache 2.0.40 (Default with the new RH8 installation) with the RPMs of Tomcat 4.1.12 (including the latest web-apps

Re: SQL Server 2000, Tomcat and Connection pooling

2002-10-14 Thread sonam singh
MAIL ME TO [EMAIL PROTECTED] REGARDS SONAM SINGH --- Amitabh Dubey [EMAIL PROTECTED] wrote: Hello guys, I have been trying to use the deploytool from the latest jwsdk to configure a new datasource in tomcat. Although I was successful in creating a regular datasource, I am unable

Re: multiple tomcat instances...

2002-10-14 Thread sonam singh
CREATE U'R OWN SHELL SCRIPTS TO CHECK THE STATUS OF TOMCAT IF ANY ONE THEM FAIL IT WILL AUTOMATICALY MAIL U REGARDS SONAM SINGH [EMAIL PROTECTED] --- Raj Mettai [EMAIL PROTECTED] wrote: Hi, I am running multiple tomcat instances with load balancing worker on solaris 8. How would you know

RE: servlet with mod_jk

2002-10-14 Thread sonam singh
/CONTEXT/* JKW NOT JkMount /servlet/* jkw AND U CAN ACCESS THE SERVLET USING HTTP://IP/CONTEXT/SERVLET/FlashMenuServlet REGARDS SONAM SINGH [EMAIL PROTECTED] From my web.xml: web-app servlet servlet-nameFlashMenuServlet/servlet-name servlet

RE: Is Apache Httpd required

2002-10-14 Thread sonam singh
IF HAVE LOT IMAGE OR STATIC THEN OBVIOUSLY U HAVE TO USE APACHE TO SERVE THE STATIC PAGES OTHERWISE IT OK TO USE TOMCAT ALONE. BUT I STRONGLY RECOMMEND USE APACHE WITH TOMCAT FOR BETTER FLEXIBILTY . REGARDS SONAM SINGH [EMAIL PROTECTED] --- Turner, John [EMAIL PROTECTED] wrote: Tomcat

Re: servlet with mod_jk

2002-10-13 Thread sonam singh
use http://IP/jkw/servlet/FlashMenu regards Sonam Singh --- John Walstra [EMAIL PROTECTED] wrote: I've just written my first servlet. I have no problems access it through Tomcat via port 8080, but can't via Apache and mod_jk. I have no problems with JSPs, but receive a 404 error when i

RE: Why to use Apace as web server with TOMCAT

2002-10-12 Thread sonam singh
PROTECTED] regards Sonam Singh --- Nilesh Parmar [EMAIL PROTECTED] wrote: Other reasons: Performance: Tomcat is inherently slower than a web server, and therefore we want the static content to be served up by a web server, while tomcat handles the dynamic content. security: A web

Re: connector between tomcat apache

2002-10-11 Thread sonam singh
regards Sonam Singh --- unplug [EMAIL PROTECTED] wrote: Thanks for your example. But I am still confused to set it up. I think it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk. tomcat3.3+apache1.3+mod_jk: It needs a configuration file called mod_jk.conf

Re: connector between tomcat apache

2002-10-11 Thread sonam singh
use mount_msdos /dev/fd0 /mnt regards Sonam Singh --- unplug [EMAIL PROTECTED] wrote: Thanks for your example. But I am still confused to set it up. I think it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk. tomcat3.3+apache1.3+mod_jk: It needs a configuration file

Re: JSDK 1.3 or 1.4 on FreeBSD 4.1.1 - must I compile it?

2002-10-10 Thread sonam singh
u can install the jdk1.3.1 from the ports /usr/ports/java/jdk13 it will get the source and recompile install it . do not use jdk1.4 because it comes with hotsopt JVM which is not compatible with FreeBSD and do not try to run jdk1.4 with tomcat4x use jdk1.3 as mentioned. regards Sonam Singh

Re: Regarding tomcat access logs !!

2002-10-10 Thread sonam singh
check the logger tag in the server.xml and look at docs of the tomcat regards Sonam Singh --- [EMAIL PROTECTED] wrote: Hi All, Entires in my Tomcat access logs in logs directory are like 127.0.0.1 - - [26/Aug/2002:16:22:53 5050] GET /index.html HTTP/1.1 304

Re: Servlets not working with tomcat 4.1.12(4.0.4 error)

2002-10-10 Thread sonam singh
specify u'r server.xml and and web.xml so that i can helpu out regards Sonam Singh --- Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi, I was just trying to migrate to tomcat4.1.12 from tomcat 4.0.4, so created a web application in server.xml of tomcat4.1.12, pointing towards the extiting

Re: Cannot get mod_jk to work

2002-10-09 Thread sonam singh
= -D_REENTRANT because mod_jk uses the apxs for compilation regards Sonam Singh --- Henri Gomez [EMAIL PROTECTED] wrote: I am unable to get mod_jk to work. The following line in httpd.conf: LoadModule jk_module libexec/mod_jk-1.3-noeapi.so results in this error message: Cannot laod /usr/local

RE: One Context - two diffenrnt URLs

2002-10-09 Thread sonam singh
/u'r servlet. which type of connector u;r usinh in order to connct apache with tomcat mod_jk or mod_webapp or mod_jserv look at the docs of mentioned connector regards Sonam Singh /servlet-mapping servlet-mapping servlet-nameYourServlet/servlet-name url

Re: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k

2002-10-09 Thread sonam singh
get the latest jakarta-tomcat connectors from cvs compile mod_jk or mod_jk2 for apache2 . regards Sonam Singh --- none none [EMAIL PROTECTED] wrote: Hi all, I am trying to make working Apache 2.0.42 or 2.0.43 and Tomcat 4.1.10 or 4.1.12 with mod_jk or mod_jk2 on Windows 2K since last

Re: Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-09 Thread sonam singh
()) { String name=(String)objEnum.nextElement(); String value=req.getParameter(name); regards Sonam Singh --- Remy Maucherat [EMAIL PROTECTED] wrote: Russ Bonsall wrote: I am having a problem

Re: Error using ajp13 protocol

2002-10-09 Thread sonam singh
whih verison of mod_jk u'r using specify . when u try to run the apache is it showing any error . try to connect the tomcat directly nto through apache + tomcat . regards Sonam Singh --- Raj Saini [EMAIL PROTECTED] wrote: Hi Marc, Telnet to the port 8009 shows that your JK connecter

Re: connector between tomcat apache

2002-10-09 Thread sonam singh
use mod_jk to load balncing it is more reliable regards Sonam Singh --- Raj Saini [EMAIL PROTECTED] wrotsue e: You can use use the ajp13 with tomcat. (mod_jk at apache end). Warp connecter is not reliable and what I learnt is no more actively developed. There are loadbalancing and fault

Re: java.lang.OutOfMemoryError

2002-10-09 Thread sonam singh
\ -Dcatalina.base=$CATALINA_BASE \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$CATALINA_TMPDIR \ org.apache.catalina.startup.Bootstrap $@ start \ $CATALINA_BASE/logs/catalina.out 21 fi then it will not give u Error in then run the tomcat sh catalina.sh start regards Sonam

Re: AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread sonam singh
u can also use response.sendRedirect( url); regards Sonam --- Kwok Peng Tuck [EMAIL PROTECTED] wrote: Ok thanks. Ralph Einfeldt wrote: That's what the spec says. (It works for me in tc 4.0.3) -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]

Re: One Context - two diffenrnt URLs

2002-10-08 Thread sonam singh
--- Bala [EMAIL PROTECTED] wrote: I am Balu, working as a software engineer, I am having a problem in tomcat - apache configuration. If time permits , please help me. Here is the problem(UNIX). one context named GREAT is in TOMCAT 3.2.3. Apache 1.3.9 should service urls of two

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-07 Thread sonam singh
is like that .. ps=\ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp12 regards Sonam Singh --- Jacob Kjome [EMAIL PROTECTED] wrote: Whoops, I didn't read your whole message before I sent the last response. You are looking for auto

RE: Apache with Tomcat

2002-10-07 Thread sonam singh
u can use mod_jk to connect apache with tomcat . regards Sonam Singh --- Turner, John [EMAIL PROTECTED] wrote: Yes. Search the archives, this topic comes up all the time. It's the same setup as putting Apache and Tomcat on the same machine, except that you change the server name

Diff JVM Interection... How...??

2002-07-01 Thread sonam singh
Hi Can anybody tell me how to interact between the two diff JVM means two diff tomcat. How to get info about the objects, like HttpSessions in the two diff JVM ...?? regards Sonam __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free

Diff JVM Interaction... How...??

2002-07-01 Thread sonam singh
Hi Can anybody tell me how to interact between the two diff JVM means two diff tomcat. How to get info about the objects, like HttpSessions in the two diff JVM ...?? regards Sonam __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free

please help..Tomcat4+Ibm jdk1.3 get hang in FreeBSD

2002-06-10 Thread sonam singh
hi I installed the linux-jdk1.3 and linux-ibm-jdk1.3.1 using ports . When i tried to run tomcat4+with above JVM machine gets hang...Below is some of the parameter which i tried .. Os Jdk TomcatRun/Or Not FreeBSD Sun1.2 4xYes FreeBSD Sun1.3

please help..Tomcat4+Ibm jdk1.3 get hang in FreeBSD

2002-06-10 Thread sonam singh
hi I installed the linux-jdk1.3 and linux-ibm-jdk1.3.1 using ports . When i tried to run tomcat4+with above JVM machine gets hang...Below is some of the parameter which i tried .. Os Jdk TomcatRun/Or Not FreeBSD Sun1.2 4xYes FreeBSD Sun1.3

RE: AW: Strarting-up Error Message

2002-06-10 Thread sonam singh
--- Marek, Tomas [EMAIL PROTECTED] wrote: No, it happens on W2k box. Thanks anyway. It's been solved out. -Original Message- From: matt dilley [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:45 AM To: Tomcat Users List Subject: Re: AW: Strarting-up Error Message

Re: How many rows have a ResultSet?

2002-06-10 Thread sonam singh
--- Anibal Constante Brito [EMAIL PROTECTED] wrote: Hello: How can I know the rows that have a simple ResultSet, which method or attribute have to call? Best Regards. Owen. What dou mean by Simple ResultSet .. U can use while .. while(resultset.hasNext()) { ctr++ } -- To

Re: How to place JSP and HTML files in separate dir ofther than Tomcat docbase.

2002-06-10 Thread sonam singh
--- Rama [EMAIL PROTECTED] wrote: Hi!!, ITS VERY VERY URGENT... So please give me some suggestions.. I am using Linux OS for the Apache TOMCAT 4.0.3 configuration. I am using webapp_module(ie warpconnector) for connecting between apache web server and Tomcat Servlet engine. I am

Re: SSL question

2002-06-10 Thread sonam singh
--- Laura [EMAIL PROTECTED] wrote: Hi all, I have a question about SSL - HTTPS. I have a system with apache + 2 Tomcat instances with load balancer. Now my web application is over HTTP. Next week we are going to buy a Verisign Certificate and I have to move the web application from

Re: please help..Tomcat4+Ibm jdk1.3 get hang in FreeBSD

2002-06-10 Thread sonam singh
are about services .. Wishes RNivas - Original Message - From: sonam singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 1:25 PM Subject: please help..Tomcat4+Ibm jdk1.3 get hang in FreeBSD hi I installed the linux-jdk1.3 and linux-ibm-jdk1.3.1 using