Hi,

I emailed yesterday with my problems, I since followed the tutorial
provided very kindly by one of the respondents, but still no joy :(

So, what I'm trying to do is to get tomcat running as an apache process.
Tomcat appears to be sulking about this idea, and just won't have any of
it. Its perfectly happy running standalone if I uncomment the non-SSL
Coyote HTTP/1.1 Connector on port 8080 part of server.xml, but it seems
to take issue with the Coyote/JK2 AJP 1.3 Connector on port 8009.

If I run it as is from command prompt, without any of my further
attempts to fix it, I receive a 500 error in the browser. I noticed this
line in the Tomcat loading information:

        INFO: APR not loaded, disabling jni components:
java.io.IOException: no jkjni in java.library.path

I found a jkjni.dll in the nightly jk2 builds folder, so thought I'd try
and see if a 'apr.NativeSo=c:/Apache2/modules/jkjni.dll' in the
jk2.properties line would smooth things over...

...it seemed to do something, as now when tomcat started it presented me
with a dialog box 'java.exe - Unable to Locate Component' with the
message 'This application has failed to start because libapr.dll was not
found. Re-installing the application might solve this problem' - I wish!
Anyway, I noticed this DLL was also in the jk2 nightly builds, so
dropped a copy in the tomcat/bin directory...

...but no. Tomcat now informs me of more problems :( such as:

[Fri Jul 18 15:24:25 2003] (error ) [jk_config_file.c (279)]
config.update(): Can't find config file
${serverRoot}/conf/workers2.properties
[Fri Jul 18 15:24:25 2003] (info ) [jk_config.c (246)]
config.setAttribute(): Error setting config: file
${serverRoot}/conf/workers2.properties
[Fri Jul 18 15:24:25 2003] (info ) [jk_logger_file.c (177)] Initializing
lof file stderr
[Fri Jul 18 15:24:25 2003] (error ) [jk_shm.c (333)] shm.init(): No file
[Fri Jul 18 15:24:25 2003] (info ) [jk_workerEnv.c (403)]
workerEnv.init() ok ${serverRoot}/conf/workers2.properties

and still throws the same 500 error in the browser (I wasn't entirely
surprised though, its been showing me that page for 3 long days now!!).
I even set a serverRoot in system properties (didn't work)...

So, can anyone shed some light? I'd really appreciate some guidance.
Thank you very much in advance.

Tristan


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

Reply via email to