Re: apache2 crashes when using connectors - nobody?

2004-07-06 Thread David Smith
Sorry, I don't know.  I haven't had that problem (one of the few I 
haven't had the pleasure of).  It would most likely cause that last 
error message in your mod_jk.log file though:

[jk_uri_worker_map.c (619)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong 
parameters

--David
Andy Spiegl wrote:
The name you gave your workers in workers.properties has to be used in
you JkMount statements.
   

Oops, thanks.
But could that be the reason for a complete crash?
Andy.
 

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


Re: apache2 crashes when using connectors - nobody?

2004-07-06 Thread Andy Spiegl
> The name you gave your workers in workers.properties has to be used in
> you JkMount statements.
Oops, thanks.
But could that be the reason for a complete crash?
 Andy.

-- 
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 Linux. Because life is too short to reboot.

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



Re: apache2 crashes when using connectors - nobody?

2004-07-06 Thread David Smith
Well, a quick off the bat error:
   JkMount /examples/servlet/* ajp13
   JkMount /examples/*.jsp ajp13
These should read:
JkMount /examples/servlet/*  worker1
JkMount /examples/*.jsp   worker1
The name you gave your workers in workers.properties has to be used in you JkMount 
statements.
--David

Andy Spiegl wrote:
Hi David,
thanks for your reply.
 

Someone might be able to help if you would be so kind as to provide more 
information like relevant parts of your Apache config
   

---8<---8<--

   JkWorkersFile /opt/jakarta/tomcat/conf/workers.properties
   JkLogFile /opt/jakarta/tomcat/logs/mod_jk.log
   # Log level to be used by mod_jk
   JkLogLevel debug
#JkLogLevel error
   # The following line makes apache aware of the location of
   # the /examples context
   Alias /examples "/opt/jakarta/webapps/examples"
   
   Options Indexes FollowSymLinks
   allow from all
   
   # The following line mounts all JSP files and the /servlet/ uri to tomcat
   JkMount /examples/servlet/* ajp13
   JkMount /examples/*.jsp ajp13
   # The following line prohibits users from directly accessing WEB-INF
   
   AllowOverride None
   deny from all
   

---8<---8<--
 

and the workers.properties file.
   

---8<---8<--
# Define some properties
workers.apache_log=/var/log/apache2/
workers.tomcat_home=/opt/jakarta/
#workers.java_home=/opt/IBMJava2-131/
ps=/
# Define 1 worker
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
---8<---8<--
 

Also was the mod_jk connector package you installed built for this
version of Apache?
   

Hm, I think so.  I tried:
apache2-jakarta-tomcat-connectors-4.1.27-63.i586.rpm
apache2-jakarta-tomcat-connectors-4.1.27.tgz
and
http://www.apache.de/dist/jakarta/tomcat-connectors/jk2/binaries/linux/Suse-9.0-i386.tar.gz
Thank you for any help!
Andy.
 

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


Re: apache2 crashes when using connectors - nobody?

2004-07-06 Thread Andy Spiegl
Hi David,

thanks for your reply.

> Someone might be able to help if you would be so kind as to provide more 
> information like relevant parts of your Apache config
---8<---8<--


JkWorkersFile /opt/jakarta/tomcat/conf/workers.properties
JkLogFile /opt/jakarta/tomcat/logs/mod_jk.log

# Log level to be used by mod_jk
JkLogLevel debug
#JkLogLevel error

# The following line makes apache aware of the location of
# the /examples context
Alias /examples "/opt/jakarta/webapps/examples"

Options Indexes FollowSymLinks
allow from all


# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

# The following line prohibits users from directly accessing WEB-INF

AllowOverride None
deny from all



---8<---8<--

> and the workers.properties file.
---8<---8<--
# Define some properties
workers.apache_log=/var/log/apache2/
workers.tomcat_home=/opt/jakarta/
#workers.java_home=/opt/IBMJava2-131/
ps=/
# Define 1 worker
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
---8<---8<--

> Also was the mod_jk connector package you installed built for this
> version of Apache?
Hm, I think so.  I tried:
 apache2-jakarta-tomcat-connectors-4.1.27-63.i586.rpm
 apache2-jakarta-tomcat-connectors-4.1.27.tgz
and
 
http://www.apache.de/dist/jakarta/tomcat-connectors/jk2/binaries/linux/Suse-9.0-i386.tar.gz

Thank you for any help!
 Andy.

-- 
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 Do not marry a person that you know that you can live with;
 only marry someone that you cannot live without.(Unknown)

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



RE: apache2 crashes when using connectors - nobody?

2004-07-02 Thread Cox, Charlie
Please do not "flag" messages for follow-up. I would try to help, but your
message flag tells me that I am 222 years late (year=1782) - your project
has probably moved on since then. 

I think I'm more amazed that Outlook didn't crash. Wow.

Charlie

> -Original Message-
> From: Andy Spiegl [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 02, 2004 4:46 AM
> To: [EMAIL PROTECTED]
> Subject: apache2 crashes when using connectors - nobody?
> 
> Hm, nobody out there who has seen this problem before and might
> be able to help me?
> 
> 
> I installed tomcat-4.1.30 on a SuSE 9 box.  So far so good.
> But then I tried to install the connector modules into the apache
> (version 2.0.49-23) but didn't succeed.
> 
> I find this type of lines in the apache error.log:
>  [notice] child pid 21721 exit signal Segmentation fault (11)
> 
> and these lines in the mod_jk.log:
>  [jk_uri_worker_map.c (485)]: Into jk_uri_worker_map_t::map_uri_to_worker
>  [jk_uri_worker_map.c (619)]: In jk_uri_worker_map_t::map_uri_to_worker,
wrong
> parameters
> 
> I checked all available documentation and web resources but couldn't find
> any pointers to why that is so.  I have tried pretty much all versions of
> the connector modules I could find but apache always crashes like this.
> 
> For now I chose the mod_proxy method to serve the jsp files, but I'd
prefer
> the connectors.  Could some kind soul please point me to the solution.
> 
> Thanks in advance,
>  Andy.
> 
> --
>   o  _ _ _
>   --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
>   - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
>    (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
>  
>  Programmers - Use Safer Hex !
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


Re: apache2 crashes when using connectors - nobody?

2004-07-02 Thread David Smith
Someone might be able to help if you would be so kind as to provide more 
information like relevant parts of your Apache config and the 
workers.properties file.  Also was the mod_jk connector package you 
installed built for this version of Apache?

--David
Andy Spiegl wrote:
Hm, nobody out there who has seen this problem before and might
be able to help me?
I installed tomcat-4.1.30 on a SuSE 9 box.  So far so good.
But then I tried to install the connector modules into the apache
(version 2.0.49-23) but didn't succeed.
I find this type of lines in the apache error.log:
[notice] child pid 21721 exit signal Segmentation fault (11)
and these lines in the mod_jk.log:
[jk_uri_worker_map.c (485)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (619)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong 
parameters
I checked all available documentation and web resources but couldn't find
any pointers to why that is so.  I have tried pretty much all versions of
the connector modules I could find but apache always crashes like this.
For now I chose the mod_proxy method to serve the jsp files, but I'd prefer
the connectors.  Could some kind soul please point me to the solution.
Thanks in advance,
Andy.
 

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


apache2 crashes when using connectors - nobody?

2004-07-02 Thread Andy Spiegl
Hm, nobody out there who has seen this problem before and might
be able to help me?


I installed tomcat-4.1.30 on a SuSE 9 box.  So far so good.
But then I tried to install the connector modules into the apache
(version 2.0.49-23) but didn't succeed.

I find this type of lines in the apache error.log:
 [notice] child pid 21721 exit signal Segmentation fault (11)

and these lines in the mod_jk.log:
 [jk_uri_worker_map.c (485)]: Into jk_uri_worker_map_t::map_uri_to_worker
 [jk_uri_worker_map.c (619)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong 
parameters

I checked all available documentation and web resources but couldn't find
any pointers to why that is so.  I have tried pretty much all versions of
the connector modules I could find but apache always crashes like this.

For now I chose the mod_proxy method to serve the jsp files, but I'd prefer
the connectors.  Could some kind soul please point me to the solution.

Thanks in advance,
 Andy.

-- 
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 Programmers - Use Safer Hex !

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