reference material

2003-02-28 Thread Deepa Raja
Could someone mail me a link about where I could find information that compares 
different type of connectors. 
i could not trace the archives of this group.

Thanks in advance
Deepa





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



accessing remote tomcat instance

2003-02-19 Thread Deepa Raja
Hi 

I have enabled loadbalancing with one local instance (isint1proc2) of tomcat and 
another remote instance (on isint1proc4.local - linux box). But my remote instance is 
not at all working (I checked it by removing the working worker isint1proc2 from the 
balanced workers and nothing was fetched). The host name on the server.xml for the 
remote instance is localhost.
Am I doing anything  wrong or am I missing out anything? I'm using tomcat 4.1.16, 
Apache 2 and JK connector. My workers.properties is as shown below. Please help.

#Default tomcat
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=isint1proc2,isint1proc4


#tomcat on isint1proc2.local
worker.isint1proc2.port=8009
worker.isint1proc2.host=localhost
worker.isint1proc2.type=ajp13
worker.isint1proc2.lbfactor=1
worker.isint1proc2.cachesize=5

#tomcat on isint1proc4.local
worker.isint1proc4.port=8009
worker.isint1proc4.host=isint1proc4.local
worker.isint1proc4.type=ajp13
worker.isint1proc4.lbfactor=1
worker.isint1proc3.cachesize=5


Thanks 
Deepa




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




RE: accessing remote tomcat instance

2003-02-19 Thread Deepa Raja
Hi Johan,

I'm sorry. Idid not pasye my entire workers.properties in the email.
I do have the following line in my workers.properties file

worker.list=loadbalancer.


I believe it is something to do with the virtual host. I did not define a virtual host 
in my mod_jk.conf (is not auto generated. I have added it manually in my httpd.conf)

My mod_jk.conf looks like below


# Load Mod_jk
LoadModule jk_module modules/mod_jk.so

#configure mod_jk
JkWorkersFile /usr/local/tomcat/conf/workers.properties
JkLogFile /usr/local/tomcat/logs/mod_jk.log
JkLogLevel info

JkMount /examples loadbalancer
JkMount /examples/* loadbalancer


my host name in the server.xml is 'localhost' on both the boxes 
Could spot where I'm going wrong?


Thanks
Deepa




-Original Message-
From: Johan Bryssling [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2003 11:03
To: Tomcat Users List
Subject: RE: accessing remote tomcat instance 


Hi!

Perhaps you forgotten to declare the workerlist with worker.list? I have
tons of Apache servers with workers and Tomcats in my WWW-solution and
it works perfectly!

Example of a (almost, 'cause the last type doesnt exists ;) )working
worker.properties..:

worker.list=UN, tony, bush, saddam,kennytheclown

worker.UN.port=8123
worker.UN.host=peace.notwar.com
worker.UN.type=ajp13

worker.tony.port=8123
worker.tony.host=pets.bush.com
worker.tony.type=ajp13

worker.bush.port=8123
worker.bush.host=www.bush.com
worker.bush.type=ajp13

worker.saddam.port=8123
worker.saddam.host=mad.dictator.com
worker.saddam.type=maniac


... and so fourth...

Kind regards

/Johan

Software Deveoloper

(The name of the workers are purely a coincidence...)


-Original Message-
From: Deepa Raja [mailto:[EMAIL PROTECTED]]
Sent: den 19 februari 2003 11:19
To: [EMAIL PROTECTED]
Subject: accessing remote tomcat instance


Hi

I have enabled loadbalancing with one local instance (isint1proc2) of tomcat
and another remote instance (on isint1proc4.local - linux box). But my
remote instance is not at all working (I checked it by removing the working
worker isint1proc2 from the balanced workers and nothing was fetched). The
host name on the server.xml for the remote instance is localhost.
Am I doing anything  wrong or am I missing out anything? I'm using tomcat
4.1.16, Apache 2 and JK connector. My workers.properties is as shown below.
Please help.

#Default tomcat
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=isint1proc2,isint1proc4


#tomcat on isint1proc2.local
worker.isint1proc2.port=8009
worker.isint1proc2.host=localhost
worker.isint1proc2.type=ajp13
worker.isint1proc2.lbfactor=1
worker.isint1proc2.cachesize=5

#tomcat on isint1proc4.local
worker.isint1proc4.port=8009
worker.isint1proc4.host=isint1proc4.local
worker.isint1proc4.type=ajp13
worker.isint1proc4.lbfactor=1
worker.isint1proc3.cachesize=5


Thanks
Deepa




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

2003-01-10 Thread Deepa Raja
Sorry for asking some dumb question. I'm not a unix person.

What is wget and sendmail?
I cannot see those commands in UNIX.

Thanks
Deepa


-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 1:43 AM
To: Tomcat Users List
Subject: Re: JSP source


 From: Bodycombe, Andrew [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: JSP source


 Fetching the HTML is straightforward. Just create a URL connection and
read
 the data from the stream.

Yup, great idea Andy, but too much work.

Stick this in your cron tab

#!/bin/sh
wget -O - http://your.server.com/report.jsp?param1=xyzparam2=abc  |
sendmail [EMAIL PROTECTED]

P.S. -O - option of wget streams the output to stdout, sendmail does the
rest
P.P.S. I can't even spell 'sendmail', so this may do some really horrble
thing, but it's the right approach and a good start.

Have fun!





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




RE: difference between apache and tomcat webserver

2003-01-10 Thread Deepa Raja
Few more things I would like to add

1.With apache you could secure your application far better than directly
using tomcat.
(Don't ask me how. Some experts could help me substantiate this)

2.Load balancing and failover

With apache-tomcat integration we could have load balancing and fail over 
Apache could handle multiple instances of Tomcat and redirect request (ie
loadbalancing)
to various instances. Even if one of the instance is not available the rest
could serve
the page and as an when the instance is added back to the group apache
starts sending
requests to that instance totally without affecting anything.

Both the above are really important for live websites which would 
make them more secure and reliable.

Hope that helps

Deepa




-Original Message-
From: Julius Davies [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 10:28 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: RE: difference between apache and tomcat webserver



krip pane,

 I was under the impression that apache is needed to
 serve the jsp pages - looks like not.

Too many people are under that impression.

 what is the advantage or disadvantage of
 installing/using apache as your webserver and
 installing some connector (i.e. mod_jk) to use with
 tomcat.

Advantages of using apache with tomcat:

- Feels safer when using port  1024 on linux/unix.
- Works together very well with lots of other web stuff (cgi, perl, php).
- All the extra modules, for example: https.
- Everybody's doin' it.

Notice that I don't include speed of serving static files and images.
This is because, frankly, if you're hosting a dynamic web site, static files
are the least of your problems.  Tomcat is just as fast at sending a 304 -
Unmodified response as Apache is, and that's all that matters.

Disadvantages of using apache with tomcat:

- Much, much harder to get everything working.  As you've discovered, it
takes about 2 minutes to get Tomcat up and running!  You will spend hours,
if not days, learning to pair Tomcat up with Apache.  At least judging from
this mailing list.  I've never done it!

yours,


Julius Davies, Programmer, CUCBC
Email: [EMAIL PROTECTED], Ph: 604.730.6385

The contents of this message are my own personal opinions, and not those of
CUCBC.


 -Original Message-
 From: krip pane [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 09, 2003 2:05 PM
 To: tomcat
 Subject: difference between apache and tomcat webserver
 
 
 All,
 
 I hope I am understanding and asking this answer
 correctly.  I recently installed tomcat 4.1 with
 default values and was able to server jsp pages.
 
 I was under the impression that apache is needed to
 serve the jsp pages - looks like not.  So the question
 is what is the advantage or disadvantage of
 installing/using apache as your webserver and
 installing some connector (i.e. mod_jk) to use with
 tomcat.
 
 Thanks
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 --
 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]




RE: difference between apache and tomcat webserver

2003-01-10 Thread Deepa Raja
Hi Julius

could you please enlighten me on the following line please. 

'Feels safer when using port  1024 on linux/unix.'

Thanks
Deepa

-Original Message-
From: Julius Davies [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 10:28 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: RE: difference between apache and tomcat webserver



krip pane,

 I was under the impression that apache is needed to
 serve the jsp pages - looks like not.

Too many people are under that impression.

 what is the advantage or disadvantage of
 installing/using apache as your webserver and
 installing some connector (i.e. mod_jk) to use with
 tomcat.

Advantages of using apache with tomcat:

- Feels safer when using port  1024 on linux/unix.
- Works together very well with lots of other web stuff (cgi, perl, php).
- All the extra modules, for example: https.
- Everybody's doin' it.

Notice that I don't include speed of serving static files and images.
This is because, frankly, if you're hosting a dynamic web site, static files
are the least of your problems.  Tomcat is just as fast at sending a 304 -
Unmodified response as Apache is, and that's all that matters.

Disadvantages of using apache with tomcat:

- Much, much harder to get everything working.  As you've discovered, it
takes about 2 minutes to get Tomcat up and running!  You will spend hours,
if not days, learning to pair Tomcat up with Apache.  At least judging from
this mailing list.  I've never done it!

yours,


Julius Davies, Programmer, CUCBC
Email: [EMAIL PROTECTED], Ph: 604.730.6385

The contents of this message are my own personal opinions, and not those of
CUCBC.


 -Original Message-
 From: krip pane [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 09, 2003 2:05 PM
 To: tomcat
 Subject: difference between apache and tomcat webserver
 
 
 All,
 
 I hope I am understanding and asking this answer
 correctly.  I recently installed tomcat 4.1 with
 default values and was able to server jsp pages.
 
 I was under the impression that apache is needed to
 serve the jsp pages - looks like not.  So the question
 is what is the advantage or disadvantage of
 installing/using apache as your webserver and
 installing some connector (i.e. mod_jk) to use with
 tomcat.
 
 Thanks
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 --
 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]




RE: difference between apache and tomcat webserver

2003-01-10 Thread Deepa Raja
John and Mike Thanks the info

-Original Message-
From: Mike Millson [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 1:33 PM
To: Tomcat Users List
Subject: RE: difference between apache and tomcat webserver


This is a valuable security feature of unix/linux/solaris/free bsd/etc.
Because it impacts tomcat config shouldn't be misinterpreted as some kind of
limitation w/ the operating system. Windows may have caught up in some
respects, but these type features are why unix/linux/etc are more secure
than windows in a server environment.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 8:04 AM
To: 'Tomcat Users List'
Subject: RE: difference between apache and tomcat webserver



On UNIX/Linux, ports less than 1024 are privileged ports.  To run a service
on them, you have to run the service as root.  Running services as root is
generally a bad idea:  an exploit like a buffer overflow can allow access to
the operating system via that service, and since the service is running as
root, the exploiter now has root access.

Apache starts up as root, but uses child processes running as a non-root
user with (preferably) very limited access to actually serve HTTP and HTTPS
requests.  Tomcat does not do this, and even though there are security
measures built-in to the JVM, many people do not feel comfortable running
Tomcat as root on a publicly accessible port like port 80.  So, they use
Apache on port 80, and hide Tomcat behind Apache.

John


 -Original Message-
 From: Deepa Raja [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 10, 2003 4:38 AM
 To: Tomcat Users List
 Subject: RE: difference between apache and tomcat webserver


 Hi Julius

 could you please enlighten me on the following line please.

 'Feels safer when using port  1024 on linux/unix.'

 Thanks
 Deepa

 -Original Message-
 From: Julius Davies [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 09, 2003 10:28 PM
 To: Tomcat Users List
 Cc: [EMAIL PROTECTED]
 Subject: RE: difference between apache and tomcat webserver



 krip pane,

  I was under the impression that apache is needed to
  serve the jsp pages - looks like not.

 Too many people are under that impression.

  what is the advantage or disadvantage of
  installing/using apache as your webserver and
  installing some connector (i.e. mod_jk) to use with
  tomcat.

 Advantages of using apache with tomcat:

 - Feels safer when using port  1024 on linux/unix.
 - Works together very well with lots of other web stuff (cgi,
 perl, php).
 - All the extra modules, for example: https.
 - Everybody's doin' it.

 Notice that I don't include speed of serving static files
 and images.
 This is because, frankly, if you're hosting a dynamic web
 site, static files
 are the least of your problems.  Tomcat is just as fast at
 sending a 304 -
 Unmodified response as Apache is, and that's all that matters.

 Disadvantages of using apache with tomcat:

 - Much, much harder to get everything working.  As you've
 discovered, it
 takes about 2 minutes to get Tomcat up and running!  You will
 spend hours,
 if not days, learning to pair Tomcat up with Apache.  At
 least judging from
 this mailing list.  I've never done it!

 yours,


 Julius Davies, Programmer, CUCBC
 Email: [EMAIL PROTECTED], Ph: 604.730.6385

 The contents of this message are my own personal opinions,
 and not those of
 CUCBC.


  -Original Message-
  From: krip pane [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, January 09, 2003 2:05 PM
  To: tomcat
  Subject: difference between apache and tomcat webserver
 
 
  All,
 
  I hope I am understanding and asking this answer
  correctly.  I recently installed tomcat 4.1 with
  default values and was able to server jsp pages.
 
  I was under the impression that apache is needed to
  serve the jsp pages - looks like not.  So the question
  is what is the advantage or disadvantage of
  installing/using apache as your webserver and
  installing some connector (i.e. mod_jk) to use with
  tomcat.
 
  Thanks
 
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
  http://mailplus.yahoo.com
 
  --
  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]

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




JSP source

2003-01-09 Thread Deepa Raja
Hi 
 
I want to do some reporting that is to be called by a cron job.
 
I do not want to use a reporting tool. Can use JSP 
 

*   to talk to the database 
*   fetch the relevant details
*   format the details as a report
*   fetch the HTML  source of the generated report
*   and email it to intended recipients

My doubt is 
 
is it possible to fetch the HTML source of a  JSP?
 
I know I could use java mail to email if I could manage to get the source.
 
Please pour in your suggestions
 
Thanks
deepa






RE: JSP source

2003-01-09 Thread Deepa Raja
Hi John

With JSP it is like a template and I need not worry about placing the
content 
within the template. that is the only reason for me to use a JSP.

We have some applications already running Apache - Tomcat
and adding a JSP is not going to be difficult

Also with JSP I can alter the format very easily 

Please feel free to point out if I'm wrong.

how could I get the html source? Could you please explain it for me.

Thanks
Deepa


-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 3:02 PM
To: 'Tomcat Users List'
Subject: RE: JSP source



If you combine #3 and #4, your problem is solved.  Format the details as a
report...how would you format them if not HTML?  All you have to do is
stream the HTML into a buffer, then send that out as the body of a message.
You'll want to set the ContentType on your message to HTML.

You could do all of this from a JSP, but why would you want to?  A cron job
can call java and execute a class.

If, on the other hand, you are saying that you already have a JSP that
generates the report to a browser, and you want to sent that output to
someone as an email message, that's different. 

John

 -Original Message-
 From: Deepa Raja [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 09, 2003 8:30 AM
 To: [EMAIL PROTECTED]
 Subject: JSP source
 
 
 Hi 
  
 I want to do some reporting that is to be called by a cron job.
  
 I do not want to use a reporting tool. Can use JSP 
  
 
 * to talk to the database 
 * fetch the relevant details
 * format the details as a report
 * fetch the HTML  source of the generated report
 * and email it to intended recipients
 
 My doubt is 
  
 is it possible to fetch the HTML source of a  JSP?
  
 I know I could use java mail to email if I could manage to 
 get the source.
  
 Please pour in your suggestions
  
 Thanks
 deepa
 
 
 
 

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




RE: Error in autocompiling JSP files in 4.1.12 standalone

2002-12-23 Thread Deepa Raja
Hi Kailash,

I had same problem and mailed tomcat group. I was told that this is due to
the version of jdk. Please upgrade your j2sdk to 1.4.1.01 and it should sort
your compilation problem.

Thanks
Deepa

-Original Message-
From: Kailash Kalyani [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 22, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Error in autocompiling JSP files in 4.1.12 standalone


Dear all,

When running a jsp file for the first time, I get the following runtime
error 
from Tomcat.

I'm running Windows 98 with Java 1.4 SDK.

(error report at bottom of message)
My classpath and other relevant env settings in Windows 98
CATALINA_HOME=C:\jakarta-tomcat-4.1.12
JAVA_HOME=C:\j2sdk1.4.1_01
CLASSPATH=%JAVA_HOME%/jre/lib;%CATALINA_HOME%\common\lib;.;%CATALINA_HOME%\c
om
mon\lib\servlet.jar


However when I compile the Jsp file, now converted to a .java file in the
work 
directory, it compiles just fine and when I access the .jsp file after,
there 
are no problems.

Its just an irritating nag, but I wonder if there is a solution to it. I 
looked through the list questions and some of the Tomcat documentation for 
running and setting up Tomcat. I'd be happy if someone could guide me to a 
solution by pointing me to a page or suggesting a solution.

Thanks,
Kailash


Error report.
***
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file
at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.
java:120)
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93
)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
74
)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
84
)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
Fi
lterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ai
n.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va
:260)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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
eN
ext(StandardPipeline.java:643)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.j
ava:471)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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:2396)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
ja
va:170)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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
:1
74)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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:405)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ct
ion(Http11Protocol.java:380)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:
533)
at java.lang.Thread.run(Thread.java:536)


sample workers2.properties file

2002-12-23 Thread Deepa Raja
Could some one send a sample workers2.properties file used by mod_jk2.

Thanks
Deepa






This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com


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




lost request

2002-12-17 Thread Deepa Raja
Hi,

I'm using apache(1.3.26)-tomcat(4.1.12) (warp connector) for my application.
When I test my application with IE everything works fine until I press the
browser back button. once I press the back button I loose my request and I
could not fetch any form elements in my destination jsp.


Did anyone have the same problem? Please help.

Thanks
Deepa






This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com


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




RE: Load on Tomcat 4.1.12

2002-11-27 Thread Deepa Raja
Hi,

 If you are connecting to the database make sure it closes the connection. I
had a similar problem before when the database pooling failed to work
leaving behind several abandon connections. As time goes the number of open
connections increased and applications becomes very slow. 

Hope this helps
Deepa

-Original Message-
From: P Sasidhar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 10:54 AM
To: Tomcat Users List
Subject: Load on Tomcat 4.1.12


Hi All,

I need urgent help!
I have installed my small webapp on Tomcat 4.1.12 on Windows NT machine
but after few requests it is getting hung. Is there any load factor to
be configured? What is the maximum no of users it can take?

I had downloaded this Tomcat form Jakarta.apache.org site. Where I may
be going wrong?

Please help,

Thanks,
Sasi

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





This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com


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




RE: Autoreload of .war archives on Tomcat 4.0

2002-10-29 Thread Deepa Raja
This is not possible. War will not be deployed if the webapp folder for the
war already exist. It does not matter whether the war has been modified or
not. For a new war to be deployed the webapp folder for that war (if any
exist) is to be removed and tomcat is to be restarted. Also note : Tomcat
will not deploy wars if there are more than one wars placed in the tomcat
home directory.

Hope that makes sense
Deepa

-Original Message-
From: Andrea Carpani [mailto:ancarpan;vitaminic.net]
Sent: Tuesday, October 29, 2002 3:37 PM
To: Tomcat Users List
Subject: Autoreload of .war archives on Tomcat 4.0



Hi all,

I've got a standard tomcat layout where I can deploy war applications on
the webapps dir. This archive is decompressed and used by tomcat and
works fine. What I'd like to do is to change the war file (without
removing the expanded directory tree and without restarting tomcat) and
have tomcat reload the application: is this possible?

Thanks.

-- 
- .a.c.
- Andrea Carpani
- [EMAIL PROTECTED]

http://www.vitaminic.[it|com|co.uk|de|es|fr|nl|se|dk|ie]
http://www.peoplesound.com
http://www.iuma.com
http://www.zipmind.it
http://www.francemp3.com (www.mp3france.com)
___
DISCLAIMER, PLEASE NOTE: This communication is intended only for use by
the
addressee. It may contain confidential or privileged information.
Transmission, distribution and/or copy cannot be permitted. Please
notify
Vitaminic Spa immediately by reply e-mail if you are not the intended
recipient. Vitaminic Spa does not accept liability for corruption,
interception or amendment, if any, or the consequences thereof.
___



--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: where are messages from my system.out.print?

2002-10-28 Thread Deepa Raja
catalina.out with tomcat_home/logs/

-Original Message-
From: Peng Annie [mailto:Annie.Peng;KONE.com]
Sent: Monday, October 28, 2002 1:16 PM
To: 'Tomcat Users List'
Subject: where are messages from my system.out.print?


Hi,

When I try to upgrade my webapp from tomcat 3.2 to tomcat 4 (with apache2),
I don't know where my System.out.println go? Where can i find them?

BR,

Annie




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org