multiple instance of tomcat4.0

2002-01-22 Thread Ashish kulkarni

Hi,

I want to create multiple instance of tomcat, so how
can i do it???
i have read the RUNNING.txt in the tomcat-docs
directory, but is not very clear, 
can anyone explain in detail about it.???

Ashish

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: multiple instance of tomcat4.0

2002-01-22 Thread Bo Xu

- Original Message - 
From: "Ashish kulkarni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 2:37 PM
Subject: multiple instance of tomcat4.0


> Hi,
> 
> I want to create multiple instance of tomcat, so how
> can i do it???
> i have read the RUNNING.txt in the tomcat-docs
> directory, but is not very clear, 
> can anyone explain in detail about it.???
> 
> Ashish
>[...]


from:
http://jakarta.apache.org/site/mail2.html
go to:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/

then search: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

you can find emails :-)

Bo
Jan222002



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




web_mod is stable????

2002-01-22 Thread Ashish kulkarni

Hi,
I have configured tomcat4.0 with apache 1.3.22 using
web_mod,
it works fine but some times i get 5oo internal server
error while serving jsp. but when i refresh the page
it works again
so i want to know is this configuration stable on
win2000 andd winnt server
or should i go back to using mod_jk???
I get this error log
[org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
at java.net.SocketInputStream.socketRead(Native
Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:233)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:112)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Unknown Source)

Ashish

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 4.0, + apache 1.3.22 + web_mod configuration

2002-01-22 Thread Tamim, Samir

must be in webapps, which is a built-in in tomcat

-Original Message-
From: Ashish kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 14:33
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0, + apache 1.3.22 + web_mod configuration


Hi,

If i have to configure tomcat4.0 with apache1.3.22
using web_mod 
1 . I have to add these lines in httpd.conf of apache
WebAppConnection conn  warp  pfizer-maps:8018
WebAppDeploy examples conn  /examples

does examples have to be in webapps directory of
apache tomcat4.0, or can be anywhere else in the the
directory structure of my win2000 server
2. which is better to use for production mod_jk or
web_mod???

Thanx for help
Ashish


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 



Re: startup and core dump

2002-01-22 Thread David Smith

Sure -- I just upgraded my desktop system to Mandrake 8.1 and am sorting 
things out.  I'll try to send it a little later this aftenoon.

--David

On Monday 21 January 2002 03:21 pm, you wrote:
> Thanks, David,
>
> Could I ask you to send me the script you use in startup.sh?  That would be
> super.  I am quite adept at Java and C++ but have limited scripting
> abilities.
>
> -- micael
>
> At 01:40 PM 1/21/02 -0500, you wrote:
> >JDK 1.4?  I haven't worked with that yet since last I checked it was still
> > a beta release.   As far as the ulimit... line goes, I was being literal
> > (except for the quote marks :-).  At least that's the command for the
> > bash shell to limit stack space for executed commands.  It may be
> > different depending on the shell you use and I thought the seg fault
> > problem was fixed in 1.4.  Maybe not??  Hopefully someone more familiar
> > with the Bug Parade on JDK 1.4 can offer some insight.
> >
> >Anyway, if you use it, just make sure it's before the java command
> > that actually starts Tomcat itself.  I put it in the startup.sh script
> > before the call to catalina.sh since that's how I start Tomcat on the dev
> > machine.  It's in the script for starting tomcat from /etc/init.d as well
> > on my production server (Mandrake 8).
> >
> >--David
> >
> >On Monday 21 January 2002 12:40 pm, you wrote:
> > > At 10:27 AM 1/21/02 -0500, you wrote:
> > > >I believe this one is well documented, but there is an issue with JDK
> > > > 1.3.x and Linux where a stack set to unlimited will cause a seg
> > > > fault. To fix, use 'ulimit -s 2048' in either startup.sh or
> > > > catalina.sh.
> > > >
> > > >If this doesn't fix it, please post more info (OS dist, JDK version,
> > > > exact error text, etc...)
> > > >
> > > >--David
> > >
> > > I am using JDK1.4.  Would you expand on what "use 'unlimit -s 2048' in
> > > either startup.sh or catalina.sh" means in practice?  Where do I put
> > > that in startup.sh, if you are being literal?  Or, if you are not being
> > > literal, do I just put it in the command line?
> > >
> > > Should I go back to JDK1.3.1?  I really like the new stuff in JDK1.4
> > > and would like to use that if there is a possibility.
> > >
> > > Thanks for your help.
> > >
> > > - Micael
> > >
> > >
> > >
> > > --
> > > To unsubscribe:   
> > > For additional commands: 
> > > Troubles with the list: 
> >
> >--
> >To unsubscribe:   
> >For additional commands: 
> >Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




xml parsing error in tomcat3.3.a/jdk1.1.8

2002-01-22 Thread Jaishankar Jayaram

   I searched the archives, but couldn't determine if this is a known issue.
When starting tomcat, I kept getting an error saying there was an error
parsing the server.xml. I am using the default files, as downloaded, and
have not added any web apps either. Finally, I tried starting with the
estart switch, and tomcat did start, but it threw an XML parsing error for
all the web apps' web.xml files (even the built in examples and admin ones).
However the example servlets all worked properly.

   I can post the log error message w/ the stack trace if need be, but first
wanted to check if this is a known issue.

   I am using the jdk1.1.8 compatible mrj2.2.5 and mrjsdk 2.2 on mac os 9.1
and have been successfully running tomcat 3.2.x (1 through 4).

Jai


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: xml parsing error in tomcat3.3.a/jdk1.1.8

2002-01-22 Thread Larry Isaacs

The stack trace and log would be helpful.  I would need
to address this issue in Tomcat 3.3.1 before it releases.

Cheers,
Larry

> -Original Message-
> From: Jaishankar Jayaram [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 22, 2002 3:22 PM
> To: Tomcat Users List
> Subject: xml parsing error in tomcat3.3.a/jdk1.1.8
> 
> 
>I searched the archives, but couldn't determine if this is 
> a known issue.
> When starting tomcat, I kept getting an error saying there 
> was an error
> parsing the server.xml. I am using the default files, as 
> downloaded, and
> have not added any web apps either. Finally, I tried starting with the
> estart switch, and tomcat did start, but it threw an XML 
> parsing error for
> all the web apps' web.xml files (even the built in examples 
> and admin ones).
> However the example servlets all worked properly.
> 
>I can post the log error message w/ the stack trace if 
> need be, but first
> wanted to check if this is a known issue.
> 
>I am using the jdk1.1.8 compatible mrj2.2.5 and mrjsdk 2.2 
> on mac os 9.1
> and have been successfully running tomcat 3.2.x (1 through 4).
> 
> Jai
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat 4.0.2-b2 + JSSE + Security Manager

2002-01-22 Thread Renato

Hi all,

I'm installing Tomcat 4.0.2B2. Everything is fine except for the following:

- I try to run a servlet that uses JSSE. If I start Catalina without the '-
security' it works fine, if I start with the '-security' it generates the 
error: 

java.net.SocketException: SSL implementation not available
(...)

The JSSE libraries are on ${java.home}/jre/lib/ext and this path has 
permission to all.

I also tried on Tomcat 3.3 and the servlet works with or without the 
security manager.

Any hint ?

Thanks
Renato - Brazil

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat 4.0 with SSL

2002-01-22 Thread Henry Lu

I followed the every steps in the doc for how-to do ssl. But I got
failure when I start the tomcat.
Since I couldn't see all error message, here is the on on the screen:

at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.io.IOException: java.security.UnrecoverableKeyException: Cannot
recover key

at
org.apache.catalina.net.SSLServerSocketFactory.initProxy(SSLServerSoc
ketFactory.java:422)
at
org.apache.catalina.net.SSLServerSocketFactory.initialize(SSLServerSo
cketFactory.java:334)
at
org.apache.catalina.net.SSLServerSocketFactory.createSocket(SSLServer
SocketFactory.java:287)
at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava:946)
at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1114)
at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:552)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:775)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Is there any answer?

Thanks, Henry

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Interceptor in Tomcat 4.0 ???

2002-01-22 Thread Renato

Hi all,

I have an Interceptor I wrote for Tomcat 3.3 and I want to migrate to 
Catalina. I think the concept know is a Valve, right ? Is there a guideline 
how to migrate an interceptor ?

Thanks
Renato - Brazil.

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Interceptor in Tomcat 4.0 ???

2002-01-22 Thread Craig R. McClanahan



On Tue, 22 Jan 2002, Renato wrote:

> Date: Tue Jan 22 16:57:45 2002
> From: Renato <[EMAIL PROTECTED]>
> Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Interceptor in Tomcat 4.0 ???
>
> Hi all,
>
> I have an Interceptor I wrote for Tomcat 3.3 and I want to migrate to
> Catalina. I think the concept know is a Valve, right ?

That's probably the right concept to look at, depending on what you are
using your interceptor for.  You can see lots of examples of Valve
implementations in the org.apache.catalina.authenticator and
org.apache.catalina.valves packages in the Tomcat 4 source tree.

> Is there a guideline
> how to migrate an interceptor ?
>

Because the processing models are very different (interceptors call your
module lots of times for different events, while a valve is called once
and you pass the request on or not as appropriate), there is not going to
be much in the way of useful porting advice -- depending on what your
interceptor is doing, it will be anywhere from trivially easy to something
that requires multiple valves to accomplish the same functionality.
Without details, it's not possible to be more specific.

> Thanks
> Renato - Brazil.
>

Craig


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




<    1   2