Error Message:
Dear All, My System was running fine for about last one month. Suddenly it start to malfunction. and I start to get following messages. I am not sure what they mean. I will appreciate if some one can throw some light on it. Thank you. Santos WebappClassLoader: Lifecycle error : CL stopped WebappClassLoader: Lifecycle error : CL stopped java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1071) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1329) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1289) at org.apache.xerces.util.ObjectFactory.findProviderClass(Unknown Source) at org.apache.xerces.util.ObjectFactory.newInstance(Unknown Source) at org.apache.xerces.util.ObjectFactory.findJarServiceProvider(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at com.npac.nmt.msg.XmlData.init(XmlData.java:21) at com.npac.nmt.msg.MessageDirector.messageSubType(MessageDirector.java:38) at com.npac.nmt.agentComm.AgentCommunicator.ExchangeMsg(AgentCommunicator.java: 645) at com.npac.nmt.agentComm.AgentCommunicator.run(AgentCommunicator.java:694) at java.lang.Thread.run(Thread.java:536) org.apache.xerces.util.ObjectFactory$ConfigurationError: Provider org.apache.xerces.parsers.XML11Configuration not found at org.apache.xerces.util.ObjectFactory.newInstance(Unknown Source) at org.apache.xerces.util.ObjectFactory.findJarServiceProvider(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at com.npac.nmt.msg.XmlData.init(XmlData.java:21) at com.npac.nmt.msg.MessageDirector.messageSubType(MessageDirector.java:38) at com.npac.nmt.agentComm.AgentCommunicator.ExchangeMsg(AgentCommunicator.java: 645) at com.npac.nmt.agentComm.AgentCommunicator.run(AgentCommunicator.java:694) at java.lang.Thread.run(Thread.java:536) WebappClassLoader: Lifecycle error : CL stopped WebappClassLoader: Lifecycle error : CL stopped java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1071) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1329) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1289) at org.apache.xerces.util.ObjectFactory.findProviderClass(Unknown Source) at org.apache.xerces.util.ObjectFactory.newInstance(Unknown Source) at org.apache.xerces.util.ObjectFactory.findJarServiceProvider(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at com.npac.nmt.msg.XmlData.init(XmlData.java:21) at com.npac.nmt.msg.MessageDirector.messageSubType(MessageDirector.java:38) at com.npac.nmt.agentComm.AgentCommunicator.ExchangeMsg(AgentCommunicator.java: 645) at com.npac.nmt.agentComm.AgentCommunicator.run(AgentCommunicator.java:694) at java.lang.Thread.run(Thread.java:536) org.apache.xerces.util.ObjectFactory$ConfigurationError: Provider org.apache.xerces.parsers.XML11Configuration not found at oppClassLoader: Lifecycle error : CL stopped WebappClassLoader: Lifecycle error : CL stopped java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1071) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1329) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1289) at org.apache.xerces.util.ObjectFactory.findProviderClass(Unknown Source) at org.apache.xerces.util.ObjectFactory.newInstance(Unknown Source) at org.apache.xerces.util.ObjectFactory.findJarServiceProvider(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at com.npac.nmt.msg.XmlData.init(XmlData.java:21) at com.npac.nmt.msg.MessageDirector.messageSubType(MessageDirector.java:38) at com.npac.nmt.agentComm.AgentCommunicator.ExchangeMsg(AgentCommunicator.java: 645) at
putting together all admin functionality together
Hello All, Currently tomcat provides two administrative functionality called admin. and manager. I have developed some functionality to see the userid ,ip and browser type of the currently logged on users. Now I want to put them together. i.e When some one one logs in as admin. he should be able to access all the functionality 1. admin. 2. manager 3. custom developed Is there any easy way to do this. Thank you. santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RedHat 9 tomcat
Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RedHat 9 tomcat
basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. I tried to use sun's jdk 1.4.2 and I also used IBM jdk 1.4 when I could not get the desired result. santos Darian Shimy wrote: What were you expecting to happen? What JDK versions were in 8 and 9 (java -version)? -Original Message- From: Santos Jha [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:33 PM To: Tomcat Users List Subject: RedHat 9 tomcat Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any contractors from HK, S.E.Asia or India in this forum ?
dude/dudess Why are u asking this question. Yes I am from SE Asia .so? [EMAIL PROTECTED] wrote: C'mon There are 7+ million people in HK, x-number of multi-nationals from y-number of industry sectors. I can't believe no HK person is contributing to or listening in on this forum. Don't be shy. [EMAIL PROTECTED] wrote: Hiya, all. Any contractors in this forum specializing in java applet/servlet, a2s, jndi in an apache2/tc4 environment and are from HK/China, S.E.Asia or India ? Got a website? TIA :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
log4j with tomcat
Hello all, I am new to log4j.Here is my problem In order to make log4j work with my servlet I wrote a xml configuration file as described in the log4j manual. I get the refrence of this file name through web xml and and try to log to this file. It creates a log file and all the calls in the servlet where I am refrencing this xml goes to this log file. Till now everything looks good. But all the calls that I make in the classes that I use in servlet don't go to this file. Do I have to do something special to make that happen. Any help will be highly appreciated. Thank you. Santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with Tomcat Apache running on Different IPs
Hello all, After successfully configuring mod_jk2 to enable communication in between Apache and tomcat, I have couple of questions. I will love to know the answers.: 1. With Ajp13 is it necessary to run tomcat apache on same IP? Here is the scenario: For me Apache is running of real IP(192.168.0.200) and tomcat is listening on localhost at port 8009. If I goto http://192.168.0.200:80, I can see the output from Apache. but If I type http://192.168.0.200:80/examples I get HTTP 400 However, If I goto http://localhost/examples i can see the all outputs. I think if I make changes in server.xml and workers.properties(make same IP), I should be able to get the output even on 192.168.0.200. I have not tried though. 2. What is the use of mod_jk2.conf. The default file that comes with tomcat has all the lines commented. If I get any line uncomented I get following error: SEVERE: can't create apr. ( Is this apr related to WARP protocol?) java could not find some logging class.? I even tried to make changes in catalina.sh to alter CLASSPATH but no avail After reading the documentation, it seems mod_jk2.conf can be automatically generated. In case of mod_jk there are certain parameter that kept in server.xml will generate in file, should be follow same direction/ 3.It seems to me if I want to use Unix domain socket ( which should be faster), all I need to do is to uncommnent releted lines in mod_jk2.properties. But for me tomcat never created any socket file ? please let me know if anyone knows the trick. Thanks you. Santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it necessary to use a jdk with tomcat?
Since at the run time you are using jars, It should not matter whether you use jdk o jre. santos [EMAIL PROTECTED] wrote: Hi all, Is it better to run tomcat with a jdk over a jre? Or it doesn't really matter... Thanks! Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mysteries of mod_jk2,linux,apache
Hi All, After reading abot the connectors on jakarta site I thought of using mod_jk2 to make tomcat and Apache communicate. Here is the description of my environment: OS: Linux,Redhat8 Apache: 2.0.40 tomcat: tomcat that comes with Jboss(3.0.x) I am trying to follow http://www.pubbitch.org/jboss.html Initially I downloaded the binary for mod_jk2 and tried to fit with Apache but I got mod_jk.c not compatible with Apache error. As suggested on this newsgroup I removed the apache that came with redhat and Downloaded the fresh source ,compiled and installed it. I did same for mod_jk2. It went seamless. Now I am trying to use these freshly build mod_jk2 and apache. But I am getting follwoing error which is making me clueless. This is the message in error_log [Sun Feb 16 22:58:24 2003] [notice] SIGHUP received. Attempting to restart [Sun Feb 16 22:58:25 2003] [notice] Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.6b mod_jk2/2.0.0 configured -- resuming normal operations [Sun Feb 16 22:59:15 2003] [error] workerEnv.init() create slot epStat.0 [Sun Feb 16 22:59:15 2003] [error] channelUn.connect() connect failed 13 Permission denied [Sun Feb 16 22:59:15 2003] [error] ajp13.connect() failed ajp13:/usr/jboss/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x/work/jk2.socket [Sun Feb 16 22:59:15 2003] [error] ajp13.service() failed to connect endpoint errno=13 Permission denied [Sun Feb 16 22:59:15 2003] [error] mod_jk.handler() Error connecting to tomcat 12 Any suggestion will be highly appreciated. Santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Integrating catalina(Tomcat) and apache
You are right MARC. Problem was Apache was not able to find the theread library. Once you define LD_PRELOAD=/usr/lib/libpthread. Problem is gone. Santos --- Marc G. Fournier [EMAIL PROTECTED] wrote: regardless, it sounds like the same sort of issue ... On Sun, 13 Jan 2002, Santos Jha wrote: I am using Apache 1.3.x --- Marc G. Fournier [EMAIL PROTECTED] wrote: Under freeBSD, with PHP4+Apache2, I get similar, where I have to recompile Apache2 with -lc_r to tell it to compile in the thread'd libraries ... might be similar under Linux? On Sun, 13 Jan 2002, Santos Jha wrote: I followed the advice and upgraded my system to Redhat 7.1. I recompiled the source code ant made entried in httpd.conf. However right now I am getting following error: can not load /etc/httpd/modules/mod_webapp.so into server :/etc/httpd/modules/mod_webapp.so undefined symbol: pthread_sigmask it seems to me system is not finding way to link with some library. Please let me know what you think about it. Thank you. santos --- Denny Chambers [EMAIL PROTECTED] wrote: The binaries for the linux version of WebApp are compiled for RH 7.1 I think. To make them work in a 6.x version of RedHat, you will need to download the source an compile it. You also need to make sure that you Apache distro supports DSO modules. Denny Santos Jha wrote: Hello, I am trying to integrate catalina and apache on Redhat 6.1 server using what they call Warp connector. Tomcat and Apache both work nice and fine if they have to work independently. In order to integrate I took following steps. 1. put mod_webapp.so in modules directory 2. put follwing lines in httpd.conf LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples Similarly I made changes in server.xml. However when I tried to restart apache I got following error Syntax error on line 1188 of /etc/httpd/conf/httpd.conf Invalid command 'WebAppDeploy' perhaps mis-spelled or defined my a module not included in the server configuration. Do you have any clue, what is wrong am I doing? any help will be highly appreciated. Thank you. Santos __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Integrating catalina(Tomcat) and apache
I followed the advice and upgraded my system to Redhat 7.1. I recompiled the source code ant made entried in httpd.conf. However right now I am getting following error: can not load /etc/httpd/modules/mod_webapp.so into server :/etc/httpd/modules/mod_webapp.so undefined symbol: pthread_sigmask it seems to me system is not finding way to link with some library. Please let me know what you think about it. Thank you. santos --- Denny Chambers [EMAIL PROTECTED] wrote: The binaries for the linux version of WebApp are compiled for RH 7.1 I think. To make them work in a 6.x version of RedHat, you will need to download the source an compile it. You also need to make sure that you Apache distro supports DSO modules. Denny Santos Jha wrote: Hello, I am trying to integrate catalina and apache on Redhat 6.1 server using what they call Warp connector. Tomcat and Apache both work nice and fine if they have to work independently. In order to integrate I took following steps. 1. put mod_webapp.so in modules directory 2. put follwing lines in httpd.conf LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples Similarly I made changes in server.xml. However when I tried to restart apache I got following error Syntax error on line 1188 of /etc/httpd/conf/httpd.conf Invalid command 'WebAppDeploy' perhaps mis-spelled or defined my a module not included in the server configuration. Do you have any clue, what is wrong am I doing? any help will be highly appreciated. Thank you. Santos __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Integrating catalina(Tomcat) and apache
I am using Apache 1.3.x --- Marc G. Fournier [EMAIL PROTECTED] wrote: Under freeBSD, with PHP4+Apache2, I get similar, where I have to recompile Apache2 with -lc_r to tell it to compile in the thread'd libraries ... might be similar under Linux? On Sun, 13 Jan 2002, Santos Jha wrote: I followed the advice and upgraded my system to Redhat 7.1. I recompiled the source code ant made entried in httpd.conf. However right now I am getting following error: can not load /etc/httpd/modules/mod_webapp.so into server :/etc/httpd/modules/mod_webapp.so undefined symbol: pthread_sigmask it seems to me system is not finding way to link with some library. Please let me know what you think about it. Thank you. santos --- Denny Chambers [EMAIL PROTECTED] wrote: The binaries for the linux version of WebApp are compiled for RH 7.1 I think. To make them work in a 6.x version of RedHat, you will need to download the source an compile it. You also need to make sure that you Apache distro supports DSO modules. Denny Santos Jha wrote: Hello, I am trying to integrate catalina and apache on Redhat 6.1 server using what they call Warp connector. Tomcat and Apache both work nice and fine if they have to work independently. In order to integrate I took following steps. 1. put mod_webapp.so in modules directory 2. put follwing lines in httpd.conf LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples Similarly I made changes in server.xml. However when I tried to restart apache I got following error Syntax error on line 1188 of /etc/httpd/conf/httpd.conf Invalid command 'WebAppDeploy' perhaps mis-spelled or defined my a module not included in the server configuration. Do you have any clue, what is wrong am I doing? any help will be highly appreciated. Thank you. Santos __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Integrating catalina(Tomcat) and apache
Hello, I am trying to integrate catalina and apache on Redhat 6.1 server using what they call Warp connector. Tomcat and Apache both work nice and fine if they have to work independently. In order to integrate I took following steps. 1. put mod_webapp.so in modules directory 2. put follwing lines in httpd.conf LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples Similarly I made changes in server.xml. However when I tried to restart apache I got following error Syntax error on line 1188 of /etc/httpd/conf/httpd.conf Invalid command 'WebAppDeploy' perhaps mis-spelled or defined my a module not included in the server configuration. Do you have any clue, what is wrong am I doing? any help will be highly appreciated. Thank you. Santos __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]