Re: [Win2000pro] mod_jk2 crash

2002-11-07 Thread M. Hockings
For me that meant that I had some bad stuff in one of the config files 
(forget which it was now).  Review the changes that you have in your 
server.xml, worker2.properties  http.conf wrt to tomcat.  Maybe back 
out your changes and put them in a piece at a time to determine what the 
culprit is.

Kind regards,

Mike

Peter Nabbefeld wrote:

Hi,

when I'm stopping or restarting the httpd service (Apache httpd 2.0.43,
running as a service, mod_jk2-2.0.43 from 2.0.1 directory, Tomcat 4.1.12-LE,
Sun-JVM 1.4.1),
the Windows 2000 agent called DrWatson alerts a problem and writes the
following log:


Microsoft (R) Windows 2000 (R) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. Alle Rechte vorbehalten.



Anwendungsausnahme aufgetreten:
   Anwendung:  (pid=2092)
   Wann: 05.11.2002 @ 12:13:40.593
   Ausnahmenummer: c005 (Zugriffsverletzung)

* Systeminformationen *
   Computername: TUCHOLA
   Benutzername: SYSTEM
   Prozessoranzahl: 1
   Prozessortyp: x86 Family 6 Model 8 Stepping 6
   Windows 2000-Version: 5.0
   Aktuelles Build: 2195
   Service Pack: 3
   Aktueller Typ: Uniprocessor Free
   Firma:
   Besitzer: pn

* Taskliste *
  0 Idle.exe
  8 System.exe
136 SMSS.exe
164 CSRSS.exe
184 WINLOGON.exe
212 SERVICES.exe
224 LSASS.exe
416 svchost.exe
448 spoolsv.exe
480 AVGUARD.exe
496 Apache.exe
516 AVWUPSRV.exe
532 Ctsvccda.exe
548 svchost.exe
608 mysqld-max-nt.e.exe
680 regsvc.exe
692 mstask.exe
724 tcpsvcs.exe
772 WinMgmt.exe
808 svchost.exe
2120 explorer.exe
2024 CTNotify.exe
2128 Ctmix32.exe
2176 cfosdnt.exe
2188 Mediadet.exe
2200 cdplayer.exe
2216 AVGNT.exe
2228 qttask.exe
2236 internat.exe
2264 DSLMON.exe
2276 ApacheMonitor.e.exe
2300 soffice.exe
848 mozilla.exe
2084 taskmgr.exe
2092 Apache.exe
2496 Apache.exe
2488 DRWTSN32.exe
  0 _Total.exe

(0040 - 00405000)
(7788 - 77901000)
(6EE0 - 6EE1E000)
(77E7 - 77F33000)
(77DA - 77DFD000)
(77D2 - 77D91000)
(74FA - 74FB3000)
(7800 - 78046000)
(74F9 - 74F98000)
(74F6 - 74F73000)
(77E0 - 77E5F000)
(77F4 - 77F79000)
(7797 - 77994000)
(74FC - 74FC9000)
(06ED - 06EF6000)
(6FF0 - 6FF3F000)
(75DF - 75E0A000)
(6C92 - 6C928000)
(664B - 66504000)
(7758 - 777CC000)
(77C6 - 77CAA000)
(77B4 - 77BC9000)
(74F4 - 74F5D000)
(74F8 - 74F87000)
(6FCF - 6FCF6000)
(6FCE - 6FCE6000)
(6FCD - 6FCD6000)
(6FCC - 6FCC6000)
(6FCB - 6FCB6000)
(6FCA - 6FCA8000)
(6FC9 - 6FC97000)
(6FC8 - 6FC86000)
(6FC7 - 6FC76000)
(6FC6 - 6FC67000)
(6FC5 - 6FC5A000)
(6FC4 - 6FC48000)
(6FC3 - 6FC37000)
(6FC2 - 6FC27000)
(6FC1 - 6FC19000)
(6FC0 - 6FC06000)
(6FBF - 6FBF6000)
(1000 - 1001E000)
(6D33 - 6D45C000)
(7754 - 77571000)
(6D1D - 6D1D7000)
(6D30 - 6D30D000)
(6D21 - 6D229000)
(6D32 - 6D32D000)
(7783 - 7783C000)
(7731 - 77323000)
(774F - 774F5000)
(772F - 77307000)
(750C - 750D)
(750E - 7512F000)
(77BD - 77BDF000)
(7513 - 75136000)
(7794 - 7796B000)
(77A4 - 77B35000)
(779A - 77A3B000)
(7738 - 773AF000)
(7735 - 77372000)
(7782 - 7782E000)
(7831 - 783A)
(77C0 - 77C5E000)
(774B - 774E2000)
(7749 - 774A1000)
(7750 - 77522000)
(7733 - 77349000)
(777D - 777D8000)
(777E - 777E5000)

Statusabbild für Threadkennung 0x808

eax=0006fe34 ebx=0046b9c8 ecx= edx= esi=0006fdf0
edi=004edd28
eip=6d3943f7 esp=0006fdd4 ebp=0006fe20 iopl=0 nv up ei pl zr na po
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=
efl=0246


Funktion: nosymbols
   6d3943de 8bc1 mov eax,ecx
   6d3943e0 85c0 testeax,eax
   6d3943e2 740e jz  6d39cef2
   6d3943e4 8b4808   mov ecx,[eax+0x8] 
ds:00b7d406=
   6d3943e7 3b4c2404 cmp ecx,[esp+0x4] 
ss:00b7d3a7=
   6d3943eb 7407 jz  6d39cef4
   6d3943ed 8b4004   mov eax,[eax+0x4] 
ds:00b7d406=
   6d3943f0 ebee jmp 6d3977e0
   6d3943f2 33c0 xor eax,eax
   6d3943f4 c20400   ret 0x4
FEHLER -6d3943f7 8b01 mov eax,[ecx] 
ds:=
   6d3943f9 56   pushesi
   6d3943fa 57   pushedi
   6d3943fb 8b7908   mov edi,[ecx+0x8] 
ds:00b0d5d2=
   6d3943fe 8b7064   mov esi,[eax+0x64]
ds:00b7d406=
   6d394401 6a0c push0xc
   6d394403 e81709faff   call6d334d1f
   6d394408 03c7 add eax,edi
   6d39440a 59   pop ecx
   6d39440b 5f   pop edi
   6d39440c 8b0486   mov eax,[esi+eax*4]   
ds:0006fe34=00525c2c
   6d39440f 5e   pop 

Re: adding context

2002-11-01 Thread M. Hockings
Try using forward slashes for  the directory delimiter?

Context path= docbase=c:/Projects/calendar/htdocs debug=0/

Mike


Jonathan Zhang wrote:


hi Guys,
I'm running tomcat 4.x on windows xp and I'm trying to add a context to
Context path= docbase=c:\Projects\calendar\htdocs debug=0/

I get the following exception:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
java.lang.NullPointerException
   at java.io.File.init(File.java:180)
   at org.apache.catalina.core.StandardContext.getBasePath(StandardContext.
java:3833)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
397)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

   at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
   at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

thanks for the help

 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.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: adding context

2002-11-01 Thread M. Hockings
Yes, it is possible

Jonathan Zhang wrote:


So is it possible to add a context that's not within the tomcat root
directory. By tomcat root directory I mean C:\Program Files\Apache
Group\Tomcat 4.1\ as an example on my machine.
If I want to put my jsps in c:\some_dir, is that possible?

thanks for the help

-jonthan

- Original Message -
From: Jan-Michael Ong [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Tomcat Users
List [EMAIL PROTECTED]
Sent: Friday, November 01, 2002 5:13 PM
Subject: Re: adding context


 

Hi there,

path is for url so your example below will fail
Context path=C:/ docbase=Projects/calendar/htdocs debug=0/

http://localhost:8080/context_path/path/to/servlet

Does the examples work for you? http://localhost:8080/examples?

How about removing this context and sticking with the basic build and
enabling debugging (i.e. change debug from 0 to 1 on the Context)

Finally check for stray characters in your MANIFEST-MF file. At least with
ATG/Dynamo its very picky about its manifest file with ^M control chars.

Good luck

JM


At 05:02 PM 11/1/2002 -0800, Jonathan Zhang wrote:
   

I tried that, and a couple of other variations like
Context path=C:/ docbase=Projects/calendar/htdocs debug=0/
but it still gave me the same nullPointer exception.why?
thanks for the help

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 01, 2002 4:13 PM
Subject: Re: adding context


 

Try using forward slashes for  the directory delimiter?

Context path= docbase=c:/Projects/calendar/htdocs debug=0/

Mike


Jonathan Zhang wrote:

   

hi Guys,
I'm running tomcat 4.x on windows xp and I'm trying to add a context
 

to
 

Context path= docbase=c:\Projects\calendar\htdocs debug=0/

I get the following exception:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
java.lang.NullPointerException
  at java.io.File.init(File.java:180)
  at
 

org.apache.catalina.core.StandardContext.getBasePath(StandardContext.
 

java:3833)
  at
 

org.apache.catalina.core.StandardContext.start(StandardContext.java:3
 

397)
  at
 

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 

  at
 

org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 

  at
 

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 

  at
 

org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
 

)
  at
 

org.apache.catalina.core.StandardService.start(StandardService.java:4
 

97)
  at
 

org.apache.catalina.core.StandardServer.start(StandardServer.java:218
 

9)
  at
 

org.apache.catalina.startup.Catalina.start(Catalina.java:510)
 

  at
 

org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 

  at
 

org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 

Method)
 

  at
 

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 

java:39)
  at
 

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 

sorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at
 

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 

thanks for the help



 

--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org




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

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

 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org





auto config listener not working with jk2/Apache2/Tomcat4.1.12 ?

2002-11-01 Thread M. Hockings
Hi all,

I am trying to get the auto config stuff working between Apache and 
Tomcat.  This is with Apache 2.0.43 and Tomcat 4.1.12 with mod_jk2.

I have my server.xml using listeners with 
org.apache.ajp.tomcat4.config.ApacheConfig but it appears to generate a 
config file tailored to mod_jk.  That is there are statements generated like

IfModule !mod_jk.c
Loadmodule k_module modules/mod_k.dll
/IfModule

and

JkMount /admin/*.jsp apj13

that are not well received by Apache

Peeking in the java for ApacheConfig I see that these sort of things are 
hard coded so I presume that ApacheConfig is designed specifically for 
mod_jk.  Is there a listener class tailored for mod_jk2 or should I 
tinker in the java to make it work for mod_jk2 ?

Or, and quite possibly, am I just confused?

Kind regards,

Mike




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



Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-31 Thread M. Hockings
Thanks Robert,

That almost did the trick.  With the path set up correctly then Tomcat 
seemed to init OK but still had errors in connecting.  To finally get it 
to work I found that I needed to explicitly state 
channelSocket.port=8009 in the jk2.properties.  For the classpath I 
defined it using the $(TOMCAT_HOME) variable to keep things as adaptive 
as possible and it worked fine.

I must say that your document was invaluable in getting this to work  -- 
it should be included in the official Tomcat docs (IMHO).

Kind regards,

Mike

Robert L Sowders wrote:

Don't know why but the classpath lines in the new workers2.properties file 
has changed.  I tried the old method and it works again.  Don't know why 
it pitched a fit.  Perhaps it needs to be quoted or something.

To fix it just replace both class path lines in the [VM] section of 
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar

Sorry for the confusion.

rls





M. Hockings [EMAIL PROTECTED]
10/30/2002 07:59 PM
Please respond to Tomcat Users List


   To: Tomcat Users List [EMAIL PROTECTED]
   cc: 
   Subject:Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( 
mod_jk2-2.0.43.dll)


Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar. 
I've tried hard-coding it with forward slashes but the result was the 
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:

 

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 
   

(
 

mod_jk2-2.0.43.dll)




   

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike


 

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



   


 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org





Re: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2( mod_jk2-2.0.43.dll)

2002-10-31 Thread M. Hockings
Hi Rainer,

I think that by replace both he means remove the two existing lines 
and insert the line like what you have below.  In my case I used the 
TOMCAT_ROOT var as follows:

OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}\server\lib\commons-logging.jar

It seems to work for me though I did have to explicitily point to the 
jvm.dll in the vm section of workers2.properties.  Also I had to set the 
channel socket in the jk2.properties.

Could be that all these things are not required but it now works for me.

Kind regards,

Mike

Rainer Bruch wrote:

hi rls,
before installing i read this e-mail and your corresponding installation
instruction.
your e-mail says:

To fix it just replace both class path lines in the [VM] section of
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/comm
ons-logging.jar

does that mean that there are 2 lines in [VM] with such a classpath ?
in your installation instruction there is only 1 class path line in the [VM]
section
of workers2.properties !
since i am a bit confused about that, and to avoid possible installation
errors before my
installation, please reply the correct [VM] class path line entries.

thanks
raibru

-Ursprungliche Nachricht-
Von: Robert L Sowders [mailto:rsowders;usgs.gov]
Gesendet: Donnerstag, 31. Oktober 2002 10:24
An: Tomcat Users List
Betreff: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2
( mod_jk2-2.0.43.dll)


Don't know why but the classpath lines in the new workers2.properties file
has changed.  I tried the old method and it works again.  Don't know why
it pitched a fit.  Perhaps it needs to be quoted or something.

To fix it just replace both class path lines in the [VM] section of
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/comm
ons-logging.jar

Sorry for the confusion.

rls





M. Hockings [EMAIL PROTECTED]
10/30/2002 07:59 PM
Please respond to Tomcat Users List


   To: Tomcat Users List [EMAIL PROTECTED]
   cc:
   Subject:Re: need help connecting Tomcat 4.1.12, Apache
2.0.43 using jk2 (
mod_jk2-2.0.43.dll)


Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar.
I've tried hard-coding it with forward slashes but the result was the
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:

 

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2
   

(
 

mod_jk2-2.0.43.dll)




   

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike


 

--
To unsubscribe, e-mail:
   

mailto:tomcat-user-unsubscribe;jakarta.apache.org
 

For additional commands, e-mail:
   

mailto:tomcat-user-help;jakarta.apache.org
 


   


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org






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

 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org





Re: AW: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 usingjk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread M. Hockings
Hi Rainer,

I think he has updated the document to reflect how it needs to be for 
the current stuff.  In any case, this is what works for me on Win2K pro.

[vm:]
info=Parameters used to load a JVM in the server process
JVM=C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}\server\lib\commons-logging.jar
disabled=0

The '\' slashes seem to work ok for Win2K but probably would not work 
for non-windows boxes.

Mike


Rainer Bruch wrote:

hi mike,
thanks for reply but i still do not understand which 'two lines' have to be
removed.
under [VM] section in r. sowders very good installation manual there is only
one
line with '-Djava.class.path='etc., namely

OPT=-Djava.class.path=C:/Tomcat/bin/tomcat-jni.jar;C:/Tomcat/server/lib/comm
ons-logging.jar

- maybe i am dumm, but where is the second line to be removed?
- in your example you use '\' slashes, r. sowders uses '/' slashes. which
are correct for win2k?

please mail me or to the list your complete functioning [VM] section
listing.
thanks in advance.
regards
Rainer



-Ursprungliche Nachricht-
Von: M. Hockings [mailto:veeshooter;hockings.net]
Gesendet: Donnerstag, 31. Oktober 2002 21:20
An: Tomcat Users List
Betreff: Re: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using
jk2 ( mod_jk2-2.0.43.dll)


Hi Rainer,

I think that by replace both he means remove the two existing lines
and insert the line like what you have below.  In my case I used the
TOMCAT_ROOT var as follows:

OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}\serve
r\lib\commons-logging.jar

It seems to work for me though I did have to explicitily point to the
jvm.dll in the vm section of workers2.properties.  Also I had to set the
channel socket in the jk2.properties.

Could be that all these things are not required but it now works for me.

Kind regards,

Mike

Rainer Bruch wrote:

 

hi rls,
before installing i read this e-mail and your corresponding installation
instruction.
your e-mail says:

To fix it just replace both class path lines in the [VM] section of
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/com
   

m
 

ons-logging.jar

does that mean that there are 2 lines in [VM] with such a classpath ?
in your installation instruction there is only 1 class path line in the
   

[VM]
 

section
of workers2.properties !
since i am a bit confused about that, and to avoid possible installation
errors before my
installation, please reply the correct [VM] class path line entries.

thanks
raibru

-Ursprungliche Nachricht-
Von: Robert L Sowders [mailto:rsowders;usgs.gov]
Gesendet: Donnerstag, 31. Oktober 2002 10:24
An: Tomcat Users List
Betreff: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2
( mod_jk2-2.0.43.dll)


Don't know why but the classpath lines in the new workers2.properties file
has changed.  I tried the old method and it works again.  Don't know why
it pitched a fit.  Perhaps it needs to be quoted or something.

To fix it just replace both class path lines in the [VM] section of
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/com
   

m
 

ons-logging.jar

Sorry for the confusion.

rls





M. Hockings [EMAIL PROTECTED]
10/30/2002 07:59 PM
Please respond to Tomcat Users List


  To: Tomcat Users List [EMAIL PROTECTED]
  cc:
  Subject:Re: need help connecting Tomcat 4.1.12, Apache
2.0.43 using jk2 (
mod_jk2-2.0.43.dll)


Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar.
I've tried hard-coding it with forward slashes but the result was the
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:



   

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
   ^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2


 

(


   

mod_jk2-2.0.43.dll)






 

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike




   

--
To unsubscribe, e-mail:


 

mailto:tomcat-user-unsubscribe;jakarta.apache.org


   

For additional commands, e-mail:


 

mailto:tomcat-user-help

Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-30 Thread M. Hockings
Hello,

I too am trying to get this configuration working to give me a test 
environment that duplicates a remote server.  I have followed the 
instructions pointed to by John Turner very closely and only modified 
the line in workers2.properties that points to the jvm.dll.  When I 
start Apache I see the following in logs\error.log.   If you have any 
hints or suggestions about what I have set up incorrectly please let me 
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike

[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Parent: Created child process 728
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Child 728: Child process is running
[Wed Oct 30 21:48:39 2002] [notice] vm.init(): Jni lib: 
C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: 
-Dtomcat.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: 
-Dcatalina.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: -Xmx128M
[Wed Oct 30 21:48:39 2002] [notice] vm.open2() done
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class= 
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class 
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed 
for worker.jni:onStartup
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class= 
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class 
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed 
for worker.jni:onShutdown
[Wed Oct 30 21:48:40 2002] [notice] workerEnv.init() ok 
C:/ApacheGroup/Apache2/conf/workers2.properties
[Wed Oct 30 21:48:40 2002] [notice] mod_jk child init 1 -1
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Acquired the start mutex.
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Starting 250 worker threads.





Turner, John wrote:

This should be all you need, courtesy of Robert Sowders:

ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip

John




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




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-30 Thread M. Hockings
Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar. 
I've tried hard-coding it with forward slashes but the result was the 
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
 ^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (
mod_jk2-2.0.43.dll)


 

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike
   



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

 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org