Re: Removing default Contexts in production...

2002-11-12 Thread sonam singh
t; yeah u can remoce the default context using rm -r 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 >

RE: classpath for web applications

2002-11-12 Thread sonam singh
ses u donnot need to specify the class path tomcat itself take its own classpath. copy u'r important jar file inside the lib folder. in server.xml specify add this docBase="/usr/web/" in tag. 2) copy u'r classes in the TOMCAT_HOME/webapps/bdna/WEB-INF/classes berfore

RE: Tomcat's connection pooling

2002-10-25 Thread sonam singh
p will need > 10 connections concurrently, define 10 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 b

Re: where to put servlet classes

2002-10-25 Thread sonam singh
classes > app\WEB-INF\classes\authenticateUser.class > > Then in my web.xml file I have: > > > > > > authenticateUser > authenticateUser > > > > authenticateUser > > /servlets/authenticateUser it should be /xyz an

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_

Re: Setting up multiple ports HOWTO?

2002-10-21 Thread sonam singh
't you see that it's late at night? > I'm very tired, and I'm not feeling right. > > - Original Message - > From: "sonam singh" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > <[EMAIL PROTECTED]> > Sent: Tuesday,

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

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 di

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

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 PROT

RE: servlet with mod_jk

2002-10-14 Thread sonam singh
> > The error message: > > > > HTTP Status 404 - /servlet/FlashMenu > > > > From my Apache http.conf ( inside Virutal Host ): > > > > JkMount /*.jsp jkw > > JkMount /servlet/* jkw IT SHOULD BE LI

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 s

Re: SQL Server 2000, Tomcat and Connection pooling

2002-10-14 Thread sonam singh
RTHER HELP 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 >

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

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 ha

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+apache

Re: connector between tomcat & apache

2002-10-11 Thread sonam singh
ajp13 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 confi

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.1

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 >

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 S

Re: java.lang.OutOfMemoryError

2002-10-09 Thread sonam singh
>> "$CATALINA_BASE"/logs/catalina.out 2>&1 & else "$_RUNJAVA" ....-Xmx400m... $JAVA_OPTS $CATALINA_OPTS \ -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \ -Dcatalina.base="$CATALINA_BASE" \

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. Th

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 th

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

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

RE: One Context - two diffenrnt URLs

2002-10-09 Thread sonam singh
x27;r domain/u'context/servlet(if u have not done any url mapping for particular servlet)/u'r servlet 2)http://u'r domain/servlet/u'r serlvet ( u can't access in this way ) why beacuse if u are using apache with tomcat apache does not about ur' /servlet dir in the url

Re: Cannot get mod_jk to work

2002-10-08 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 th

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

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 [mai

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 machi

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

2002-10-07 Thread sonam singh
/* ajp13 and worker.properties 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

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 h

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 h

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

2002-06-10 Thread sonam singh
well as Tomcat. What 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 h

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

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 engi

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: 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 Me

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