RE: Tomcat on Netware
Still gave the same trouble... I ended up recompiling from source with the same version of java as on the server (1.3.1_08), and now it works just fine. thanks for you help. Aziz Yacoub [EMAIL PROTECTED] 1/10/2003 5:10:53 pm Thanks for the info. Will try them and let you know. I've actually been using a simple ncf script to start tomcat 4.0.4 (I think it was in some of the docs off the tomcat site): envset CATALINA_HOME=VOL1:\tomcat41 envset CATALINA_BASE=VOL1:\tomcat41 envset CATALINA_CLASSPATH=$CATALINA_HOME\bin\bootstrap.jar envset CATALINA_CLASSPATH=$CATALINA_CLASSPATH;sys:\java\lib\tools.jar java -nsac -snCatalina -envCWD=$CATALINA_HOME -classpath $CATALINA_CLASSPATH -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap %1 %2 %3 %3 %5 %6 %7 %8 %9 It looks like the scripts you sent are quite a bit more involved. PS yes java is 13.1_08. thx Jeff Tulley [EMAIL PROTECTED] 1/10/2003 5:04:03 am There are a few possibilities: 1) That JVM version has some weird bug that effects Tomcat uniquely (But, did you say the version number incorrectly; is it really 1.3.1_08, not 1.1.3.8??). Officially we don't support Tomcat on NetWare 5.x, but I've seen it work there before I think. 2) There are some peculiarities that you need to get right for a JVM on NetWare; namely the current working directory needs to be set. (NetWare itself has no notion of this). For this, set -envCWD=sys:/tomcat/4 (for instance) in the startup command line. I've attached the startup scripts we used on NetWare 6.5, where we put Tomcat in sys:/tomcat/4 by default. I've been meaning to get these submitted to jakarta, but have not done so yet. If Tomcat is not in sys:/tomcat/4 (and the scripts in sys:/tomcat/4/bin), then you will have to edit each of these files and adjust the paths appropriately. Also, I hope that the perl scripts work fine on NetWare 5.1, they have not had much testing there. (oh, rename the scripts from the .txt ending; I added that so that they wouldn't be stripped from the mail list). Let me know if you have further questions and/or concerns with getting this working. Jeff Tulley ( [EMAIL PROTECTED] ) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com [EMAIL PROTECTED] 9/30/03 8:19:06 AM Hi There, Sorry I don't, you may have to raise a bug report for this problem. I am positive that it will be an easy fix so it should be solved relatively quickly. Hope this is ok Thanks Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 15:08 To: [EMAIL PROTECTED] Subject: RE: Tomcat on Netware Thanks... do you know why tomcat would be doing this on startup?? Peter Guyatt [EMAIL PROTECTED] 30/09/2003 11:04:36 pm Yeah, The fact that you need to have the call to the method synchronized its the same as using the wait() method implemented in the Object class you need to own the lock before you can call this method eg. some method { synchronized (this) { //this is ok wait(); } } where as some method { wait(); } would throw an IllegalMonitorStateException. Hope this helps Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:51 To: Subject: Tomcat on Netware I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c
RE: Tomcat on Netware
Thanks for the info. Will try them and let you know. I've actually been using a simple ncf script to start tomcat 4.0.4 (I think it was in some of the docs off the tomcat site): envset CATALINA_HOME=VOL1:\tomcat41 envset CATALINA_BASE=VOL1:\tomcat41 envset CATALINA_CLASSPATH=$CATALINA_HOME\bin\bootstrap.jar envset CATALINA_CLASSPATH=$CATALINA_CLASSPATH;sys:\java\lib\tools.jar java -nsac -snCatalina -envCWD=$CATALINA_HOME -classpath $CATALINA_CLASSPATH -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap %1 %2 %3 %3 %5 %6 %7 %8 %9 It looks like the scripts you sent are quite a bit more involved. PS yes java is 13.1_08. thx Jeff Tulley [EMAIL PROTECTED] 1/10/2003 5:04:03 am There are a few possibilities: 1) That JVM version has some weird bug that effects Tomcat uniquely (But, did you say the version number incorrectly; is it really 1.3.1_08, not 1.1.3.8??). Officially we don't support Tomcat on NetWare 5.x, but I've seen it work there before I think. 2) There are some peculiarities that you need to get right for a JVM on NetWare; namely the current working directory needs to be set. (NetWare itself has no notion of this). For this, set -envCWD=sys:/tomcat/4 (for instance) in the startup command line. I've attached the startup scripts we used on NetWare 6.5, where we put Tomcat in sys:/tomcat/4 by default. I've been meaning to get these submitted to jakarta, but have not done so yet. If Tomcat is not in sys:/tomcat/4 (and the scripts in sys:/tomcat/4/bin), then you will have to edit each of these files and adjust the paths appropriately. Also, I hope that the perl scripts work fine on NetWare 5.1, they have not had much testing there. (oh, rename the scripts from the .txt ending; I added that so that they wouldn't be stripped from the mail list). Let me know if you have further questions and/or concerns with getting this working. Jeff Tulley ( [EMAIL PROTECTED] ) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com [EMAIL PROTECTED] 9/30/03 8:19:06 AM Hi There, Sorry I don't, you may have to raise a bug report for this problem. I am positive that it will be an easy fix so it should be solved relatively quickly. Hope this is ok Thanks Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 15:08 To: [EMAIL PROTECTED] Subject: RE: Tomcat on Netware Thanks... do you know why tomcat would be doing this on startup?? Peter Guyatt [EMAIL PROTECTED] 30/09/2003 11:04:36 pm Yeah, The fact that you need to have the call to the method synchronized its the same as using the wait() method implemented in the Object class you need to own the lock before you can call this method eg. some method { synchronized (this) { //this is ok wait(); } } where as some method { wait(); } would throw an IllegalMonitorStateException. Hope this helps Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:51 To: Subject: Tomcat on Netware I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (250)]: build_worker_map, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (111)]: wc_open, done 1 [Tue Sep 30 22:28:28 2003] [jk_nsapi_plugin.c (298
Tomcat on Netware
I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (250)]: build_worker_map, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (111)]: wc_open, done 1 [Tue Sep 30 22:28:28 2003] [jk_nsapi_plugin.c (298)]: jk_init, a second passed [Tue Sep 30 22:29:22 2003] [jk_worker.c (118)]: Into wc_close [Tue Sep 30 22:29:22 2003] [jk_worker.c (199)]: close_workers got 1 workers to destroy [Tue Sep 30 22:29:22 2003] [jk_worker.c (206)]: close_workers will destroy worker worker1 [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1324)]: Into jk_worker_t::destroy [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1331)]: Into jk_worker_t::destroy up to 1 endpoint to close [Tue Sep 30 22:29:22 2003] [jk_worker.c (120)]: wc_close, done The server setup is Netware 5.1 sp6, JVM 1.1.3.8, NES 5.1. Does anyone know what would cause an IllegalMonitorStateException ??? TIA
RE: Tomcat on Netware
Yeah, The fact that you need to have the call to the method synchronized its the same as using the wait() method implemented in the Object class you need to own the lock before you can call this method eg. some method { synchronized (this) { //this is ok wait(); } } where as some method { wait(); } would throw an IllegalMonitorStateException. Hope this helps Pete -Original Message- From: Aziz Yacoub [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:51 To: Subject: Tomcat on Netware I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (250)]: build_worker_map, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (111)]: wc_open, done 1 [Tue Sep 30 22:28:28 2003] [jk_nsapi_plugin.c (298)]: jk_init, a second passed [Tue Sep 30 22:29:22 2003] [jk_worker.c (118)]: Into wc_close [Tue Sep 30 22:29:22 2003] [jk_worker.c (199)]: close_workers got 1 workers to destroy [Tue Sep 30 22:29:22 2003] [jk_worker.c (206)]: close_workers will destroy worker worker1 [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1324)]: Into jk_worker_t::destroy [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1331)]: Into jk_worker_t::destroy up to 1 endpoint to close [Tue Sep 30 22:29:22 2003] [jk_worker.c (120)]: wc_close, done The server setup is Netware 5.1 sp6, JVM 1.1.3.8, NES 5.1. Does anyone know what would cause an IllegalMonitorStateException ??? TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat on Netware
Thanks... do you know why tomcat would be doing this on startup?? Peter Guyatt [EMAIL PROTECTED] 30/09/2003 11:04:36 pm Yeah, The fact that you need to have the call to the method synchronized its the same as using the wait() method implemented in the Object class you need to own the lock before you can call this method eg. some method { synchronized (this) { //this is ok wait(); } } where as some method { wait(); } would throw an IllegalMonitorStateException. Hope this helps Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:51 To: Subject: Tomcat on Netware I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (250)]: build_worker_map, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (111)]: wc_open, done 1 [Tue Sep 30 22:28:28 2003] [jk_nsapi_plugin.c (298)]: jk_init, a second passed [Tue Sep 30 22:29:22 2003] [jk_worker.c (118)]: Into wc_close [Tue Sep 30 22:29:22 2003] [jk_worker.c (199)]: close_workers got 1 workers to destroy [Tue Sep 30 22:29:22 2003] [jk_worker.c (206)]: close_workers will destroy worker worker1 [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1324)]: Into jk_worker_t::destroy [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1331)]: Into jk_worker_t::destroy up to 1 endpoint to close [Tue Sep 30 22:29:22 2003] [jk_worker.c (120)]: wc_close, done The server setup is Netware 5.1 sp6, JVM 1.1.3.8, NES 5.1. Does anyone know what would cause an IllegalMonitorStateException ??? TIA
RE: Tomcat on Netware
Hi There, Sorry I don't, you may have to raise a bug report for this problem. I am positive that it will be an easy fix so it should be solved relatively quickly. Hope this is ok Thanks Pete -Original Message- From: Aziz Yacoub [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 15:08 To: [EMAIL PROTECTED] Subject: RE: Tomcat on Netware Thanks... do you know why tomcat would be doing this on startup?? Peter Guyatt [EMAIL PROTECTED] 30/09/2003 11:04:36 pm Yeah, The fact that you need to have the call to the method synchronized its the same as using the wait() method implemented in the Object class you need to own the lock before you can call this method eg. some method { synchronized (this) { //this is ok wait(); } } where as some method { wait(); } would throw an IllegalMonitorStateException. Hope this helps Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:51 To: Subject: Tomcat on Netware I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (250)]: build_worker_map, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (111)]: wc_open, done 1 [Tue Sep 30 22:28:28 2003] [jk_nsapi_plugin.c (298)]: jk_init, a second passed [Tue Sep 30 22:29:22 2003] [jk_worker.c (118)]: Into wc_close [Tue Sep 30 22:29:22 2003] [jk_worker.c (199)]: close_workers got 1 workers to destroy [Tue Sep 30 22:29:22 2003] [jk_worker.c (206)]: close_workers will destroy worker worker1 [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1324)]: Into jk_worker_t::destroy [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1331)]: Into jk_worker_t::destroy up to 1 endpoint to close [Tue Sep 30 22:29:22 2003] [jk_worker.c (120)]: wc_close, done The server setup is Netware 5.1 sp6, JVM 1.1.3.8, NES 5.1. Does anyone know what would cause an IllegalMonitorStateException ??? TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat on Netware
There are a few possibilities: 1) That JVM version has some weird bug that effects Tomcat uniquely (But, did you say the version number incorrectly; is it really 1.3.1_08, not 1.1.3.8??). Officially we don't support Tomcat on NetWare 5.x, but I've seen it work there before I think. 2) There are some peculiarities that you need to get right for a JVM on NetWare; namely the current working directory needs to be set. (NetWare itself has no notion of this). For this, set -envCWD=sys:/tomcat/4 (for instance) in the startup command line. I've attached the startup scripts we used on NetWare 6.5, where we put Tomcat in sys:/tomcat/4 by default. I've been meaning to get these submitted to jakarta, but have not done so yet. If Tomcat is not in sys:/tomcat/4 (and the scripts in sys:/tomcat/4/bin), then you will have to edit each of these files and adjust the paths appropriately. Also, I hope that the perl scripts work fine on NetWare 5.1, they have not had much testing there. (oh, rename the scripts from the .txt ending; I added that so that they wouldn't be stripped from the mail list). Let me know if you have further questions and/or concerns with getting this working. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com [EMAIL PROTECTED] 9/30/03 8:19:06 AM Hi There, Sorry I don't, you may have to raise a bug report for this problem. I am positive that it will be an easy fix so it should be solved relatively quickly. Hope this is ok Thanks Pete -Original Message- From: Aziz Yacoub [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 15:08 To: [EMAIL PROTECTED] Subject: RE: Tomcat on Netware Thanks... do you know why tomcat would be doing this on startup?? Peter Guyatt [EMAIL PROTECTED] 30/09/2003 11:04:36 pm Yeah, The fact that you need to have the call to the method synchronized its the same as using the wait() method implemented in the Object class you need to own the lock before you can call this method eg. some method { synchronized (this) { //this is ok wait(); } } where as some method { wait(); } would throw an IllegalMonitorStateException. Hope this helps Pete -Original Message- From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:51 To: Subject: Tomcat on Netware I've been successfully running Tomcat 4.0.4 on Novell Netware with the Novell (ie Netscape) Enterprise Server (using nsapi_rd.nlm) for many months, and now I want to upgrade to Tomcat 4.1.27. I installed and configured 4.1.27 just like 4.0.4 (ajp13, workers etc), and now it's giving the following error when I try to start it: Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner The log file shows: [Tue Sep 30 22:27:31 2003] [jk_worker.c (88)]: Into wc_open [Tue Sep 30 22:27:31 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Tue Sep 30 22:27:31 2003] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Tue Sep 30 22:27:31 2003] [jk_worker.c (148)]: Into wc_create_worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Tue Sep 30 22:27:31 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Tue Sep 30 22:27:31 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1219)]: Into jk_worker_t::validate [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker worker1 contact is localhost:8009 [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Tue Sep 30 22:27:31 2003] [jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0 [Tue Sep 30 22:27:31 2003] [jk_worker.c (187)]: wc_create_worker, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Tue Sep 30 22:27:31 2003] [jk_worker.c (250)]: build_worker_map, done [Tue Sep 30 22:27:31 2003] [jk_worker.c (111)]: wc_open, done 1 [Tue Sep 30 22:28:28 2003] [jk_nsapi_plugin.c (298)]: jk_init, a second passed [Tue Sep 30 22:29:22 2003] [jk_worker.c (118)]: Into wc_close [Tue Sep 30 22:29:22 2003] [jk_worker.c (199)]: close_workers got 1 workers to destroy [Tue Sep 30 22:29:22 2003] [jk_worker.c (206)]: close_workers will destroy worker worker1 [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1324)]: Into jk_worker_t::destroy [Tue Sep 30 22:29:22 2003] [jk_ajp_common.c (1331)]: Into jk_worker_t::destroy up to 1 endpoint to close [Tue Sep 30 22:29:22 2003] [jk_worker.c (120)]: wc_close, done The server setup is Netware 5.1 sp6, JVM 1.1.3.8, NES 5.1. Does anyone know what would cause an IllegalMonitorStateException ??? TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Tomcat - JNDILDAP - Netware
Hey All, I got an modified Tomcat JNDIRealm to work by connecting with Netware 5. I am pretty sure my solution stinks for several reasons which would become apparent. It does however verify a login and return the groupMemberships as Roles into Tomcat so it has accomplished my purposes. If someone can review it and let me know if there is a better way - especially for getting the groupMemberships (I am tokenizing it now). There is a jar file at developed for 4.0.4 (or 4.0.3) http://www.explosivo.com/bill/downloads/tomcat/ That has the code. Any comments or suggestions for improvements are more than welcome. if I ever update it I will post it to the same place (in case someone somewhere down the line needs it). I hear 4.1 will have the authentication by connecting that netware needs... Hopefully it will also handle the groups! Thanks Bill -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tomcat on Netware
Can someone please provide the URL where the Netware version of Tomcat can be downloaded fromit is not in the downloads area. Thanks, Regards, Mark Currie (CNE)Senior Consulting EngineerNetwork Integration and Design Austnet Support Group Pty Ltd88 St Kilda RoadSt Kilda. Vic. 3182. Australia. Phone: +61 3 9525-5755 Fax: +61 3 9525-5979Mobile: +61 438-883-771eMail: [EMAIL PROTECTED]web: http://www.austnet.com.au
RE: tomcat on Netware
The NetWare binaries are there now. I can't build the binaries for every platform, so other volunteers build them and send them to me to be posted. Binaries for additional platforms will appears over the next few days. -Original Message- From: Mark Currie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 1:24 AM To: Subject: tomcat on Netware Can someone please provide the URL where the Netware version of Tomcat can be downloaded fromit is not in the downloads area. Thanks, Regards, Mark Currie (CNE) Senior Consulting Engineer Network Integration and Design Austnet Support Group Pty Ltd 88 St Kilda Road St Kilda. Vic. 3182. Australia. Phone: +61 3 9525-5755 Fax:+61 3 9525-5979 Mobile: +61 438-883-771 eMail: [EMAIL PROTECTED] web: http://www.austnet.com.au
tomcat on netware documentation
Is there any document about installing Tomcat on Netware? Thank you all! PS I'm sorry for posting this message on the tomcat developer mailing list. It was an accident! andrea -- _ __/ \ | Andrea Caltroni RD Software Engineer | aeonware Inc. | the leader in e-business automation | colony park, 290 south main street, suite 300 | alpharetta, GA 30004 USA | Tel. +1(678)624-9794, Fax. +1(678)624-9795 | email: [EMAIL PROTECTED], www.aeonware.com | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Starting Tomcat under Netware 5.x
Could somebody tell me what I need to do to start tomcat running on a Netware server? I downloaded and unzipped files to the SYS volume, but there are only scripts for unix and win32 in the bin directory. I have JVM for netware, and the sdk. Do I just need to load the lib/webserver.jar via java on the server console? Thanks, -Aaron Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat on NetWare... done, now I need to get the NSAPI_RD working...
Hello all, I have just set up tomcat to run on netware 5.1 sp1, all the samples work fine. Next step is to get the NSAPI_RD.nlm working with the Enterprise server running on NetWare. I have made the following modifications to the obj.conf file: Init fn="load-modules" funcs="jk_init,jk_service" shlib="/system/nsapi_rd.nlm" Init fn="jk_init" worker_file="sys:java/tomcat/conf/workers.properties" log_level="debug" log_file="sys:java/tomcat/nsapi.log" NameTrans fn="assign-name" from="/nwservlet/*" name="servlet" NameTrans fn="assign-name" from="/servlet/*" name="servlet" NameTrans fn="assign-name" from="/examples/*" name="servlet" Object name=servlet ObjectType fn=force-type type=text/plain Service fn="jk_service" worker="ajp12" /Object when the enterprise server is restarted, the nsapi_rd.nlm is loaded and points to the correct config files, but now my Enterprise server has quit working all together :( (no web serving at all)... I removed all entries for websphere, and turned off the servlet gateway built into the enterprise server maybe this is what killed the web server I have attached the whole obj.conf below (sorry for the bandwidth) Any ideas? Also is the source available to the NLMs? found in the binary tree under netware? any help appreciated... later, -b # Netscape Communications Corporation - obj.conf # You can edit this file, but comments and formatting changes # might be lost when the admin server makes changes. Init fn="load-types" mime-types="mime.types" Init fn="cache-init" PollInterval="10" MaxTotalCachedFileSize="13" MaxNumberOfOpenCachedFiles="13000" MaxNumberOfCachedFiles="13000" Init fn="load-modules" funcs="lcgi_map_init,lcgi_map" shlib="sys:/system/nslcgi.nlm" Init fn="lcgi_map_init" PERL_ROOT="SYS:novonyx/suitespot/docs/perlroot" CONFIG_DIR="/NOVONYX/SUITESPOT/https-EASPROJECTS/config/" Init funcs="nw_home" shlib="/novonyx/suitespot/plugins/nwhdir/nwhdir.nlm" fn="load-modules" Init funcs="dav-authtrans,dav-nametrans,dav-pathcheck,dav-objecttype,dav-service" shlib="SYS:SYSTEM/webdav.NLM" fn="load-modules" Init fn="load-modules" funcs="jk_init,jk_service" shlib="/system/nsapi_rd.nlm" Init fn="jk_init" worker_file="sys:java/tomcat/conf/workers.properties" log_level="debug" log_file="sys:java/tomcat/nsapi.log" Object name="default" AuthTrans fn="dav-authtrans" NameTrans fn="pfx2dir" from="/novellsearch" dir="sys:/nsearch/docs" NameTrans fn="assign-name" from="/nwservlet/*" name="servlet" NameTrans fn="assign-name" from="/servlet/*" name="servlet" NameTrans fn="assign-name" from="/examples/*" name="servlet" NameTrans fn="assign-name" name="asp2lcgi" from="*.asp" NameTrans fn="assign-name" name="asp2lcgi" from="*.nsp" NameTrans fn="assign-name" name="nds" from="/My Network*" NameTrans fn="pfx2dir" from="/ns-icons" dir="/novonyx/suitespot/ns-icons" NameTrans fn="pfx2dir" from="/mc-icons" dir="/novonyx/suitespot/ns-icons" NameTrans fn="pfx2dir" from="/lcgi" dir="/novonyx/suitespot/lcgi-bin" name="lcgi" NameTrans fn="pfx2dir" from="/webdav" dir="/novonyx/suitespot/bin/webdav" NameTrans fn="pfx2dir" from="/netbasic" dir="/netbasic/lcgi/cgi2nmx.nlm" name="lcgi" NameTrans fn="pfx2dir" from="/perl" dir="/perl/lcgi/cgi2perl.nlm" name="lcgi" NameTrans fn="pfx2dir" from="/nsn" dir="/nsn/lcgi/cgi2ucs.nlm" name="lcgi" NameTrans fn="pfx2dir" from="/san" dir="data:/san" NameTrans fn="pfx2dir" from="/sp" dir="/nsn/lcgi/scrptpgs.nlm" name="lcgi" NameTrans fn="pfx2dir" from="/se" dir="/novonyx/suitespot/lcgi-bin/sewse.nlm" name="lcgi" NameTrans fn="nw_home" from="/~" subdir="public.www" NameTrans fn="document-root" address="134.53.131.8" port="443" root="/novonyx/suitespot/docs" secure="1" ssl2="0" ssl3="0" secure_auth="0" NameTrans fn="document-root" root="/novonyx/suitespot/docs" NameTrans fn="dav-nametrans" PathCheck fn="find-pathinfo" PathCheck fn="nw-uri-clean" PathCheck fn="find-index" index-names="index.html,home.html" PathCheck fn="dav-pathcheck" PathCheck fn="auth_exit" ObjectType fn="type-by-extension" ObjectType fn="force-type" type="text/plain" ObjectType fn="dav-objecttype" Service fn="service_exit" Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap" Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" Service method="(GET|HEAD|POST)" type="magnus-internal/lcgi" fn="send-lcgi" Service fn="dav-service" method="(PROPFIND|PROPPATCH|MKCOL|DELETE|PUT|COPY|MOVE|LOCK|UNLOCK|OPTIONS)" Service fn="parse-html" type="magnus-internal/parsed-html" method="(GET|HEAD)" Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file" /Object Object name="asp2lcgi" ObjectType fn="force-type" type="magnus-internal/lcgi" Service fn="send-lcgi" lcgipath="/nsn/lcgi/scrptpgs.nlm" /Object Object name="lcgi" ObjectType fn="force-type" type="magnus-internal/lcgi" Service fn="send-lcgi" /Object Object name="nds" Service fn="dav-service"