RE: Please Help!! Tomcat 5 Clustering
Howdy, Looks like the Cluster code requires JDK 1.4, as java.lang.CharSequence is new in JDK 1.4. Are you running a 1.4 JDK and still getting this error? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, December 21, 2003 10:01 PM To: [EMAIL PROTECTED] Subject: Please Help!! Tomcat 5 Clustering Hi All, I am a Tomcat newbie running Tomcat 5 and I would like to implement clustering between 2 servers. I followed the instructions given at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html When I uncomment the cluster tag in server.xml and the replication valve (as per the instructions) I got the following error upon starting up Tomcat. Does anyone know why??? Thank You, Matt [ERROR] Digester - -Begin event threw error java.lang.NoClassDefFoundError: java/lang/CharSequencejava.lang.NoClassDefFoundError: java/lang/ CharSequence at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.jav a:25 3) at org.apache.commons.digester.Rule.begin(Rule.java:200) at org.apache.commons.digester.Digester.startElement(Digester.java:1273) at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester .jav a:112) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( Unkn own Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi spat cher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.Catalina.load(Catalina.java:515) at org.apache.catalina.startup.Catalina.load(Catalina.java:553) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please Help!! Tomcat 5 Clustering
Thank you very much for your response. Unfortunately we are using jdk 1.3. Do you know if it is possible for me to simply add the charsequence class into my jar? It will be a very big headache to move to 1.4. Thanks, Matt -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Mon 22/12/2003 9:27 AM To: Tomcat Users List Cc: Subject: RE: Please Help!! Tomcat 5 Clustering Howdy, Looks like the Cluster code requires JDK 1.4, as java.lang.CharSequence is new in JDK 1.4. Are you running a 1.4 JDK and still getting this error? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, December 21, 2003 10:01 PM To: [EMAIL PROTECTED] Subject: Please Help!! Tomcat 5 Clustering Hi All, I am a Tomcat newbie running Tomcat 5 and I would like to implement clustering between 2 servers. I followed the instructions given at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html When I uncomment the cluster tag in server.xml and the replication valve (as per the instructions) I got the following error upon starting up Tomcat. Does anyone know why??? Thank You, Matt [ERROR] Digester - -Begin event threw error java.lang.NoClassDefFoundError: java/lang/CharSequencejava.lang.NoClassDefFoundError: java/lang/ CharSequence at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.jav a:25 3) at org.apache.commons.digester.Rule.begin(Rule.java:200) at org.apache.commons.digester.Digester.startElement(Digester.java:1273) at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester .jav a:112) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( Unkn own Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi spat cher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.Catalina.load(Catalina.java:515) at org.apache.catalina.startup.Catalina.load(Catalina.java:553) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the designated recipient only and may contain privileged, proprietary
RE: Please Help!! Tomcat 5 Clustering
Howdy, Thank you very much for your response. Unfortunately we are using jdk 1.3. Do you know if it is possible for me to simply add the charsequence class into my jar? It will be a very big headache to move to 1.4. I do happen to know that no it's not possible for you to add that class (it's an interface, and a number of the core JDK classes are retrofitted to implement it) to your jar. It might be possible, though Filip would have to chime in and want to do the work (unless you do it yourself), to make tomcat's clustering code work on JDK 1.3. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please Help!! Tomcat 5 Clustering
Howdy, I added a note about the JDK 1.4 requirement to the clustering how-to page. It'll show up next time we refresh the site. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, December 21, 2003 10:01 PM To: [EMAIL PROTECTED] Subject: Please Help!! Tomcat 5 Clustering Hi All, I am a Tomcat newbie running Tomcat 5 and I would like to implement clustering between 2 servers. I followed the instructions given at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html When I uncomment the cluster tag in server.xml and the replication valve (as per the instructions) I got the following error upon starting up Tomcat. Does anyone know why??? Thank You, Matt [ERROR] Digester - -Begin event threw error java.lang.NoClassDefFoundError: java/lang/CharSequencejava.lang.NoClassDefFoundError: java/lang/ CharSequence at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.jav a:25 3) at org.apache.commons.digester.Rule.begin(Rule.java:200) at org.apache.commons.digester.Digester.startElement(Digester.java:1273) at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester .jav a:112) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( Unkn own Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi spat cher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.Catalina.load(Catalina.java:515) at org.apache.catalina.startup.Catalina.load(Catalina.java:553) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please Help!! Tomcat 5 Clustering
Yoav, You've been an incredible help. Thank you very much. It seems my only options are to skip the clustering or move to 1.4 (I don't know how long it would take Filip to get clustering working on 1.3 but I doubt I have the time). Thanks again, Matt -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Mon 22/12/2003 10:12 AM To: Tomcat Users List Cc: Subject: RE: Please Help!! Tomcat 5 Clustering Howdy, Thank you very much for your response. Unfortunately we are using jdk 1.3. Do you know if it is possible for me to simply add the charsequence class into my jar? It will be a very big headache to move to 1.4. I do happen to know that no it's not possible for you to add that class (it's an interface, and a number of the core JDK classes are retrofitted to implement it) to your jar. It might be possible, though Filip would have to chime in and want to do the work (unless you do it yourself), to make tomcat's clustering code work on JDK 1.3. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please Help!! Tomcat 5 Clustering
Howdy, You've been an incredible help. Thank you very much. It seems my only options are to skip the clustering or move to 1.4 (I don't know how long it would take Filip to get clustering working on 1.3 but I doubt I have the time). No problem, glad to help. I wouldn't overestimate the complexity of the patch to the clustering code: the CharSequence interface isn't earth-shattering, it's methods are few, simple, and previously available. I bet a code change to compile and run under JDK 1.3 wouldn't be that hard. That said, I haven't looked at the code, so I can't tell for sure. I also don't know what your timeline is, i.e. if you can wait for a patch and a new release. Alternatively, I don't know (based on your organization) if you or your client would be willing to run with a patched, unofficial version of tomcat. So yeah, the bottom line might be that even though this is not a complicated patch, you have to move to JDK 1.4. It should not be a difficult move though, unless you're doing some crazy XML stuff ;) Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please Help!! Tomcat 5 Clustering
I'm working on a JDK1.3 version of the clustering, hopefully the next stable release Filip - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 22, 2003 7:33 AM Subject: RE: Please Help!! Tomcat 5 Clustering Yoav, You've been an incredible help. Thank you very much. It seems my only options are to skip the clustering or move to 1.4 (I don't know how long it would take Filip to get clustering working on 1.3 but I doubt I have the time). Thanks again, Matt -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Mon 22/12/2003 10:12 AM To: Tomcat Users List Cc: Subject: RE: Please Help!! Tomcat 5 Clustering Howdy, Thank you very much for your response. Unfortunately we are using jdk 1.3. Do you know if it is possible for me to simply add the charsequence class into my jar? It will be a very big headache to move to 1.4. I do happen to know that no it's not possible for you to add that class (it's an interface, and a number of the core JDK classes are retrofitted to implement it) to your jar. It might be possible, though Filip would have to chime in and want to do the work (unless you do it yourself), to make tomcat's clustering code work on JDK 1.3. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. - 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]