Re: tomcat-user Digest 30 Apr 2005 13:34:46 -0000 Issue 5590
Thanks for that piece of information, but you missed the part of my message that said it also failed the same way if I just configured for mod_jk. Here is the tail of the build with: ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=compile gcc -I/local/APACHE/Apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /a2/JAVA/java/include -I /a2/JAVA/java/include/unix -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -DHAVE_APR -I/a4/APACHE/httpd-2.0.54/srclib/apr/include -g -O2 -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -c mod_jk.c /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=link gcc -I/local/APACHE/Apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /a2/JAVA/java/include -I /a2/JAVA/java/include/unix -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -DHAVE_APR -I/a4/APACHE/httpd-2.0.54/srclib/apr/include -g -O2 -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT `/local/APACHE/Apache2/bin/apxs -q LDFLAGS` -o mod_jk.la -module -rpath /local/APACHE/Apache2/modules -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_status.lo /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. *** Error code 1 make: Fatal error: Command failed for target `mod_jk.so' Current working directory /a4/TOMCAT/jakarta-tomcat-connectors-1.2.11-src/jk/n ative/apache-2.0 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Message-ID: [EMAIL PROTECTED] Date: Fri, 29 Apr 2005 21:00:50 +0200 From: Mladen Turk [EMAIL PROTECTED] MIME-Version: 1.0 To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: mod_jk 1.2.11 build failure on solaris 2.8 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit J. W. Ballantine wrote: I'm trying to build mod_jk 1.2.11 on a solaris 2.8 system and it fails with: The configuration command is: ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs --enable-jni --with-java-home=/a2/JAVA/java --with-java-platform=2 jni will not work anyhow on any unix system. It can work in theory only for WIN32 on Netware, so just use: ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk 1.2.11 build failure on solaris 2.8
I'm trying to build mod_jk 1.2.11 on a solaris 2.8 system and it fails with: Making all in jni /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=compile gcc -I/local/APACHE/Apache2/include -g -O2 -DHAVE_JNI -I /a2/JAVA/java/include -I /a2/JAVA/java/include/solaris -I../common -D_REENTRANT -c jk_jnicb.c /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=link gcc -I/local/APACHE/Apache2/include -g -O2 -DHAVE_JNI -I /a2/JAVA/java/include -I /a2/JAVA/java/include/solaris -I../common -D_REENTRANT -module -o jk_jnicb.la -rpath `pwd` -g -O2 -avoid-version jk_jnicb.lo ../common/jk_map.lo ../common/jk_util.lo ../common/jk_pool.lo /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=install cp `pwd`/jni_connect.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. *** Error code 1 make: Fatal error: Command failed for target `jni_connect.so' Current working directory /a4/TOMCAT/jakarta-tomcat-connectors-1.2.11-src/jk/ native/jni *** Error code 1 make: Fatal error: Command failed for target `all-recursive' I also tried it with just mod_jk and foe 1.2.10 and they all fail on the /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=install cp. I can get it to complete if I modify the Makefile by adding .libs and a destination dir. The configuration command is: ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs --enable-jni --with-java-home=/a2/JAVA/java --with-java-platform=2 Thanks Jim Ballantine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
web.xml help
Hi, I'm new to this, and quickly going blind looking at a web.xml. When I start tomcat I get the following error message during start-up: Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jul 3, 2003 8:09:11 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 34 column 11: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context- param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-conf ig?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,reso urce-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref* ,ejb-local-ref*). org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-param*,filter*, filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,secur ity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref* ). The file in questions is: -top of file (not in xml) ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-name HelloWorld /servlet-name servlet-class HelloWorld /servlet-class /servlet servlet-mapping servlet-name HelloWorld /servlet-name url-pattern /HelloWorld /url-pattern /servlet-mapping servlet servlet-name HelloServlet /servlet-name servlet-class HelloServlet /servlet-class /servlet servlet-mapping servlet-name HelloServlet /servlet-name url-pattern /HelloServlet /url-pattern /servlet-mapping servlet servlet-name IntsServlet /servlet-name servlet-class IntsServlet /servlet-class /servlet servlet-mapping servlet-name IntsServlet /servlet-name url-pattern /IntsServlet /url-pattern /servlet-mapping /web-app - end of file (not in xml) Now the file is 34 lines long and the 11th column is after the p and is an end of line (same problem if it's a blank). If I add or delete blank line, the line number on the error changes, so I have the problem file. I've been staring at it for 8 hours and don't see anything wrong, will some xml expert take a look and see what I'm doing wrong?? Thanks Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: web.xml help
Thanks, Is there some place on the web that has this and like info? I've been scanning the xml tutorials and either missed it or they don't go into the amount of depth. -- In Response to your message - Date: Thu, 3 Jul 2003 08:25:58 -0400 To: Tomcat Users List [EMAIL PROTECTED] From: Ben Souther [EMAIL PROTECTED] Subject: Re: web.xml help You have to list all of your servlet elements before listing any of the servlet-mapping elements. On Thursday 03 July 2003 08:21 am, J. W. Ballantine wrote: Hi, I'm new to this, and quickly going blind looking at a web.xml. When I start tomcat I get the following error message during start-up: Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jul 3, 2003 8:09:11 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 34 column 11: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context- param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session - conf ig?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref* , reso urce-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb - ref* ,ejb-local-ref*). org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-param*,filter*, filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-m a ppin g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*, s ecur ity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local - ref* ). The file in questions is: -top of file (not in xml) ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-name HelloWorld /servlet-name servlet-class HelloWorld /servlet-class /servlet servlet-mapping servlet-name HelloWorld /servlet-name url-pattern /HelloWorld /url-pattern /servlet-mapping servlet servlet-name HelloServlet /servlet-name servlet-class HelloServlet /servlet-class /servlet servlet-mapping servlet-name HelloServlet /servlet-name url-pattern /HelloServlet /url-pattern /servlet-mapping servlet servlet-name IntsServlet /servlet-name servlet-class IntsServlet /servlet-class /servlet servlet-mapping servlet-name IntsServlet /servlet-name url-pattern /IntsServlet /url-pattern /servlet-mapping /web-app - end of file (not in xml) Now the file is 34 lines long and the 11th column is after the p and is an end of line (same problem if it's a blank). If I add or delete blank line, the line number on the error changes, so I have the problem file. I've been staring at it for 8 hours and don't see anything wrong, will som e xml expert take a look and see what I'm doing wrong?? Thanks Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Company, Inc. REGISTER NOW FOR THE SCORPEO USER CONFERENCE! September 18-19, 2003 in Boston/Brookline, MA Additional Training Sessions held September 17, 2003 More info http://www.fwdco.com/services/Uconf03/default.shtm - 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]
Digester error/SEVERE Parse starting point
Hello, When I start tomcat 4.1.24 I get the following error messages: Jul 2, 2003 11:11:45 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Jul 2, 2003 11:11:45 AM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Jul 2, 2003 11:11:50 AM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Jul 2, 2003 11:11:56 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jul 2, 2003 11:12:07 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 14 column 12: The content of element type servlet must match (icon?,servlet-name,display-name?,description?,(servlet-c lass|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*). org.xml.sax.SAXParseException: The content of element type servlet must match (icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file), init-param*,load-on-startup?,run-as?,security-role-ref*). at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispat cher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.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:1543) at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.j ava:282) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java :243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo rt.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Jul 2, 2003 11:12:07 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 23 column 20: The content of element type servlet-mapping must match (servlet-name,url-pattern). org.xml.sax.SAXParseException: The content of element type servlet-mapping must match (servlet-name,url-pattern). at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispat cher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
Re: Digester error/SEVERE Parse starting point
Thanks -- In Response to your message - Date: Wed, 2 Jul 2003 11:02:00 -0500 To: 'Tomcat Users List' [EMAIL PROTECTED] From: Mike Curwen [EMAIL PROTECTED] Subject: RE: Digester error/SEVERE Parse starting point It's in the stacktrace... SEVERE: Parse Error at line 14 column 12: The content of element type servlet must match ... SEVERE: Parse Error at line 23 column 20: The content of element type servlet-mapping must match ... You have two errors in web.xml possibly three... [Fatal Error] :-1:-1: Premature end of file. -Original Message- From: J. W. Ballantine [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: Digester error/SEVERE Parse starting point Followed by what appears to be more normal startup messages. Since I'm new to tomcat, I'd like so pointers to what file(s) is/are causing these errors. The previous messages pointed to a dtd mis-match, but I've check my web.xml and dtd numbers are they are 2.3. Pointers as to where to start are very appreciated. Thanks Jim - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]