RE: Connector

2001-05-28 Thread GASNIER Lise

Yes The HTTPConnectionHandler on port 8080 is used by TOMCAT running in
standalone mode

> -Message d'origine-
> De:   Andrea Mari [SMTP:[EMAIL PROTECTED]]
> Date: lundi 28 mai 2001 14:44
> À:[EMAIL PROTECTED]
> Objet:Connector
> 
> Hi,
> 
> I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable
> the
> http connector on port 8080 without any problems?
> 
> I'm not sure.
> 
> Thanks
> Andrea



IIS and virtual directory

2001-04-26 Thread GASNIER Lise

Hi,
I use Tomcat in addition to IIS.
I have a WAR: bookstore.war.
I want to create a virtual directory. But using IIS, when I define the
document root path, it must relate to a real physical path which doesn't
exist before the expansion of the WAR.
The problem is if I create a directory named bookstore under webapps before
starting TOMCAT, the  War file won't expand.
So What do I have to do?
Thanks in advance for your help.
Lise



JNI problem

2001-04-19 Thread GASNIER Lise

[GASNIER Lise]  Hi,
I am trying to set-up IIS so that Tomcat (3.2.0) will run  in-process .
I manage to use IIS with  out-process workers. I followed the In-process
How-to to configure IIS redirector.
But when starting the server, I got these messages in isapi.log:

isapi.lo file:
[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 4
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/servlet/=in_process was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /chat/servlet/=in_process was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /tomsamples/servlet/=in_process was added
[jk_uri_worker_map.c (255)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /tomsamples/jsp/.jsp=in_process was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 4 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker in_process
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance in_process
of jni
[jk_jni_worker.c (610)]: Into jni_worker_factory
[jk_jni_worker.c (678)]: Done jni_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init in_process
[jk_jni_worker.c (347)]: Into validate
[jk_jni_worker.c (845)]: Into detect_jvm_version
[jk_jni_worker.c (856)]: In detect_jvm_version, found: 10002, done
[jk_jni_worker.c (914)]: Into open_jvm2
[jk_jni_worker.c (921)]: In open_jvm2, setting classpath to
c:\Serveurs\Tomcat\classes;c:\Serveurs\Tomcat\lib\jaxp.jar;c:\Serveurs\Tomca
t\lib\parser.jar;c:\Serveurs\Tomcat\lib\jasper.jar;c:\Serveurs\Tomcat\lib\se
rvlet.jar;c:\Serveurs\Tomcat\lib\webserver.jar
[jk_jni_worker.c (944)]: In open_jvm2, setting c:\Serveurs\Tomcat
[jk_jni_worker.c (965)]: In open_jvm2, the JVM will ignore unknown options
[jk_jni_worker.c (972)]: In open_jvm2, about to create JVM...
[jk_jni_worker.c (975)]: Fail-> could not create JVM, code: -5 
[jk_jni_worker.c (424)]: Fail-> can't open jvm
[jk_jni_worker.c (567)]: Into destroy
[jk_jni_worker.c (578)]: In destroy, JVM not intantiated
[jk_worker.c (164)]: wc_create_worker validate failed for in_process
[jk_worker.c (229)]: build_worker_map failed to create workerin_process

Here is my worker.properties file:


worker.list=in_process

worker.in_process.type=jni

#
#-- CLASSPATH DEFINITION -
#-
#

#
# Additional class path components.
#
worker.in_process.class_path=c:\Serveurs\Tomcat\classes

#
# The XML parser provided with Tomcat
#
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\jaxp.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\parser.jar

#
# Tomcat's implementation
#
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\jasper.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\servlet.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\webserver.jar

#
# Javac as available from Java2SE
#
#worker.in_process.class_path=C:\EDI\Java\jdk1.3.0\lib\tools.jar

#
# Setting the command line for tomcat
# Note: The cmd_line string may not contain spaces.
#
worker.in_process.cmd_line=-config
worker.in_process.cmd_line=c:/Serveurs/Tomcat/conf/jni_server.xml


#
# The JVM that we are about to use
#
# This is for Java2
#
worker.in_process.jvm_lib=C:\EDI\Java\jdk1.3.0\jre\bin\classic\jvm.dll

#
# And this is for jdk1.1.X
#
#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll
#

#
# Setting the tomcat.home Java property
#
worker.in_process.sysprops=c:\Serveurs\Tomcat



I use the jdk1.3.0...
Has someone any idea???

Thanks
Lise

 
 



RE: please unsubscribe me

2001-04-17 Thread GASNIER Lise

To be unsubscribed: send an e-mail to:
[EMAIL PROTECTED]

> -Message d'origine-
> De:   Gottwald, Oliver [SMTP:[EMAIL PROTECTED]]
> Date: mardi 17 avril 2001 15:30
> À:'[EMAIL PROTECTED]'
> Objet:RE: please unsubscribe me
> 
> me too for the 15th time...
> 
> -Original Message-
> From: Maura TAYLOR [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 17, 2001 8:05 AM
> To: '[EMAIL PROTECTED]'
> Subject: please unsubscribe me
> 
> 
> please take me off this list.



Problem with JNI and IIS

2001-04-17 Thread GASNIER Lise

Hi,
I am trying to set-up IIS so that Tomcat (3.2.0) will run  in-process .
I manage to use IIS with  out-process workers. I followed the In-process
How-to to configure IIS redirector.
But when starting the server, I got these messages in isapi.log:

isapi.lo file:
[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 4
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/servlet/=in_process was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /chat/servlet/=in_process was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /tomsamples/servlet/=in_process was added
[jk_uri_worker_map.c (255)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /tomsamples/jsp/.jsp=in_process was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 4 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker in_process
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance in_process
of jni
[jk_jni_worker.c (610)]: Into jni_worker_factory
[jk_jni_worker.c (678)]: Done jni_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init in_process
[jk_jni_worker.c (347)]: Into validate
[jk_jni_worker.c (845)]: Into detect_jvm_version
[jk_jni_worker.c (856)]: In detect_jvm_version, found: 10002, done
[jk_jni_worker.c (914)]: Into open_jvm2
[jk_jni_worker.c (921)]: In open_jvm2, setting classpath to
c:\Serveurs\Tomcat\classes;c:\Serveurs\Tomcat\lib\jaxp.jar;c:\Serveurs\Tomca
t\lib\parser.jar;c:\Serveurs\Tomcat\lib\jasper.jar;c:\Serveurs\Tomcat\lib\se
rvlet.jar;c:\Serveurs\Tomcat\lib\webserver.jar
[jk_jni_worker.c (944)]: In open_jvm2, setting c:\Serveurs\Tomcat
[jk_jni_worker.c (965)]: In open_jvm2, the JVM will ignore unknown options
[jk_jni_worker.c (972)]: In open_jvm2, about to create JVM...
[jk_jni_worker.c (975)]: Fail-> could not create JVM, code: -5 
[jk_jni_worker.c (424)]: Fail-> can't open jvm
[jk_jni_worker.c (567)]: Into destroy
[jk_jni_worker.c (578)]: In destroy, JVM not intantiated
[jk_worker.c (164)]: wc_create_worker validate failed for in_process
[jk_worker.c (229)]: build_worker_map failed to create workerin_process

Here is my worker.properties file:


worker.list=in_process

worker.in_process.type=jni

#
#-- CLASSPATH DEFINITION -
#-
#

#
# Additional class path components.
#
worker.in_process.class_path=c:\Serveurs\Tomcat\classes

#
# The XML parser provided with Tomcat
#
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\jaxp.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\parser.jar

#
# Tomcat's implementation
#
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\jasper.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\servlet.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\webserver.jar

#
# Javac as available from Java2SE
#
#worker.in_process.class_path=C:\EDI\Java\jdk1.3.0\lib\tools.jar

#
# Setting the command line for tomcat
# Note: The cmd_line string may not contain spaces.
#
worker.in_process.cmd_line=-config
worker.in_process.cmd_line=c:/Serveurs/Tomcat/conf/jni_server.xml


#
# The JVM that we are about to use
#
# This is for Java2
#
worker.in_process.jvm_lib=C:\EDI\Java\jdk1.3.0\jre\bin\classic\jvm.dll

#
# And this is for jdk1.1.X
#
#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll
#

#
# Setting the tomcat.home Java property
#
worker.in_process.sysprops=c:\Serveurs\Tomcat



I use the jdk1.3.0...
Has someone any idea???

Thanks
Lise

 



RE: IIS redirect

2001-04-11 Thread GASNIER Lise

Hello,
Did you insert the full path to isapi_redirect in the lists of dlls in the
registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters?
If you did so, that's the origin of your problem: you don't have to insert
the full path but the path up until the directory containing
isapi_redirect.dll
Hope it will help
Bye
Lise

> -Message d'origine-
> De:   Faisal Mehtab Hussain [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 11 avril 2001 11:08
> À:[EMAIL PROTECTED]
> Objet:IIS redirect
> 
> Hello,
> 
> I have installed tomcat-3.2.1 (release) in my NT machine, I have defined
> all
> the possible setting that the document defined for Tomcat IIS how to?,
> Tomcat running fine with its given servlets and jsp examples as
> http://localhost:8080/examples/jsp/index.html, but when I try to access it
> through IIS it doesn't work. The following error occurs in IIS log file.
> 
> 127.0.0.1, -, 4/11/01, 11:58:31, W3SVC1, DEV-01, 127.0.0.1, 10, 342, 0,
> 500,
> 126, GET, /jakarta/isapi_redirect.dll, -,
> 127.0.0.1, -, 4/11/01, 11:58:33, W3SVC1, DEV-01, 127.0.0.1, 0, 342, 0,
> 500,
> 126, GET, /jakarta/isapi_redirect.dll, -,
> 127.0.0.1, -, 4/11/01, 11:58:33, W3SVC1, DEV-01, 127.0.0.1, 10, 342, 0,
> 500,
> 126, GET, /jakarta/isapi_redirect.dll, -,
> 
> Please, help me to solve this problem.
> 
> Regards,
> Faisal Mehtab Hussain
> 
> OgerTel Internet Services
> Tel: (966-1) 465-0300 Ext.(138)
> Fax: (966-1) 464-5200
> Email: [EMAIL PROTECTED]



RE: 1 Worker= 1 JVM?

2001-04-10 Thread GASNIER Lise

Torsten, Ralph, Kaneda K  Thanks

I manage to start the two tomcat instances using "tomcat.bat start" for the
first one and "tomcat.bat run" for the second following Kaneda K advice,

Thanks again guys...
Lise 

> -Message d'origine-
> De:   Ralph Einfeldt [SMTP:[EMAIL PROTECTED]]
> Date: mardi 10 avril 2001 16:14
> À:'[EMAIL PROTECTED]'
> Objet:AW: 1 Worker= 1 JVM?
> 
> Did you change both ports for the second tomcat or did you
> disable the web connector ?
> 
> Tomcat uses 2 ports, one (default 8080) to connect
> to the web and one (default 8007) to connect to a 
> connector (This port is also used by the stop script)
> 
> Are the ports you assigned free ?
> (From your description I guess that you're using windows.
>  For that I can't give advise how you can verify that,
>  for linux it's lsof -i :
> 
> Please tell a bit more about your configuration.
> (OS, Standalone/With Webserver (Which one), which tomcat)
> 
> > -Ursprüngliche Nachricht-
> > Von: GASNIER Lise [mailto:[EMAIL PROTECTED]]
> > Gesendet: Dienstag, 10. April 2001 15:46
> > An: [EMAIL PROTECTED]
> > Betreff: RE: 1 Worker= 1 JVM?
> 
> > I tried to start 2 tomcat with two server.xml different 
> > (server1.xml and
> > server2.xml) with two different connectors  on two different 
> > ports and  with
> > two different log files  but the second instance failed to 
> > start: the window
> > in which it should have started opened and disappeared immediately.
> > Have you ever started 2 Tomcat?
> > Do you know what the problem is?
> > Thanks again
> > lise
> 



RE: 1 Worker= 1 JVM?

2001-04-10 Thread GASNIER Lise

Hallo torsten 
Danke Schön für deine Antwort.
I tried to start 2 tomcat with two server.xml different (server1.xml and
server2.xml) with two different connectors  on two different ports and  with
two different log files  but the second instance failed to start: the window
in which it should have started opened and disappeared immediately.
Have you ever started 2 Tomcat?
Do you know what the problem is?
Thanks again
lise


> -Message d'origine-
> De:   Torsten Glunde [SMTP:[EMAIL PROTECTED]]
> Date: mardi 10 avril 2001 15:23
> À:[EMAIL PROTECTED]
> Objet:Re: 1 Worker= 1 JVM?
> 
> Hi,
> 
> for running multiple JVMs or Tomcat Instances you have to start and setup
> them manually.
> 
> For each jvm there will be one server.xml file with the corresponding port
> numbers of the workers.
> 
> Thats because the workers are established during the apache process in the
> mod_jk and have nothing to do with the jvms and corresponding server.xml
> files.
> 
> 
> Greetings
> Torsten
> 
> - Original Message -
> From: "GASNIER Lise" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 3:15 PM
> Subject: 1 Worker= 1 JVM?
> 
> 
> >
> > Hi,
> > Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs
> section,
> > 1 instance of Tomcat= 1 JVM ("you have to be running two separate
> instances
> > of Tomcat, hence the "multiple JVMs").
> > And the Tomcat workers.properties doc says  "a tomcat worker is a tomcat
> > instance".
> > So, 1 worker = 1JVM...
> > But when running Tomcat with a workerlist composed of two workers, I can
> see
> > only one JVM (using TaskInfo).
> > Can someone tell me if this assertion is correct: 1 worker= 1 JVM.
> >
> > thanks a lot,
> > Lise
> >



1 Worker= 1 JVM?

2001-04-10 Thread GASNIER Lise


Hi,
Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs section, 
1 instance of Tomcat= 1 JVM ("you have to be running two separate instances
of Tomcat, hence the "multiple JVMs").
And the Tomcat workers.properties doc says  "a tomcat worker is a tomcat
instance".
So, 1 worker = 1JVM...
But when running Tomcat with a workerlist composed of two workers, I can see
only one JVM (using TaskInfo).
Can someone tell me if this assertion is correct: 1 worker= 1 JVM.

thanks a lot,
Lise



RE: Tomcat/LoadBalancing.

2001-04-05 Thread GASNIER Lise

you have to add your worker loadbalancer in the worker list...:
worker.list = loadbalancer and mount your servlets and jsps to loadbalancer

Lise

> -Message d'origine-
> De:   Vikas Bansal [SMTP:[EMAIL PROTECTED]]
> Date: jeudi 5 avril 2001 20:16
> À:[EMAIL PROTECTED]
> Objet:Tomcat/LoadBalancing.
> 
> Hello,
> I want to enable the load balancer worker on Apache/Tomcat. Even though
> I have configured the workers.properties file as -
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=myajp12_1, myajp13_1, myajp12_2,
> myajp13_2
> 
> The load balancer worker is not invoked, for I do see the debug
> statements for lb worker in mod_jk.log.
> 
> Could you tell me, what is it that I am doing. What additional
> configuration do I need to do to enable load balancer.
> 
> Any help in this regard is appreaciated.
> -Vikas.



Solutions to problems with iis redirection

2001-04-05 Thread GASNIER Lise


Hi,
I had some troubles with Tomcat working with IIS.
I found an answer to my problem on the developper mailing list:

http://marc.theaimsgroup.com/?l=tomcat-dev&m=98072686213739&w=2

I was particularly happy to find this comment:
In your registry when you add to the
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters --
Filter DLLs key. Make sure that you DO NOT include the isapi_redirect.dll in
this string. For example if you have put the dll in a bin\win32\i386
directory in your jakarta-tomcat directory the key value should be
c:\jakarta-tomcat-3.2.1\bin\win32\i386This was a major headache for me, even
though the directions say FULL PATH they only mean PATH. For all of you that
were always getting a 404 error because tomcat was always looking for
/jakarta/isapi_redirect.dll instead of the URL you typed in, this is the
answer.

I hope this will help other users ...
Lise
PS: pardon me  for my bad English...