Re: problems setting up tomcat on debian sarge
Hello, I used tomcat4 with Sun and blackdown JVM in the past. And they work fine. On sarge, you can use the java-package package to build a .deb with sun jdk. If you want to use tomcat5, you can test my packages (only tested with 1.4 jvm): http://debian.gallet.info/search.do?config=htdigwords=jakarta+apache+org+tomcat Sebastien Jim Buttafuoco a écrit : good questions, all I did was have apt-get install tomcat4 + all needed packages. I know I have kaffe installed. here is a list from dpkg of what I have installed. let me know if I should look for and/or install another package. thanks for you help Jim ii gjdoc 0.7.3-1documentation generation framework for java ii java-common0.22 Base of all Java packages ii jikes 1.22-2 Fast Java compiler adhering to language and ii kaffe 1.1.5-3A JVM to run Java bytecode ii libant1.6-java 1.6.2-2.1 Java based build tool like make -- library ii libapache-mod- 1.2.5-2Apache 1.3 connector for the Tomcat Java ser ii libbcel-java 5.1-4 Analyze, create, and manipulate (binary) Jav ii libcommons-bea 1.6.1-4utility for manipulating JavaBeans ii libcommons-dig 1.5.0.1-4 Rule based XML Java object mapping tool ii libcommons-lan 2.0-6 Extension of the java.lang package ii libcommons-mod 1.1-4 A convenience library to use Java Management ii libjaxp1.2-jav 1.2.01-1 Java XML parser and transformer APIs (DOM, S ii liblog4j1.2-ja 1.2.9-1Logging library for java ii libmx4j-java 2.0.1-4An open source implementation of the JMX(TM) ii liboro-java2.0.8-3Regular expression library for Java ii libregexp-java 1.3-1 regular expression library for Java ii libservlet2.3- 4.0-6 Servlet 2.3 and JSP 1.2 Java classes and doc ii libstruts1.1-j 1.1-2 Java Framework for MVC web applications ii libstruts1.2-j 1.2.4-1Java Framework for MVC web applications ii libtomcat4-jav 4.1.31-3 Java Servlet engine -- core libraries ii libxerces2-jav 2.6.2-2Validating XML parser for Java with DOM leve ii tomcat44.1.31-3 Java Servlet 2.3 engine with JSP 1.2 support ii tomcat4-admin 4.1.31-3 Java Servlet engine -- admin web interfaces ii tomcat4-webapp 4.1.31-3 Java Servlet engine -- documentation and exa -- Original Message --- From: [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org, [EMAIL PROTECTED] Sent: Mon, 12 Sep 2005 23:43:25 + Subject: Re: problems setting up tomcat on debian sarge Which JDK are you using? Hi all, I am trying to setup tomcat 4.1 (comes with debian sarge in contrib) inside a vserver also running debian sarge. I am getting the following error after I login into the adminstration tool, the sample apps and the manage tool both seems to be working. I am new to java and tomcat so please be gentle. Thanks Jim HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet action threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:916) at org.apache.catalina.core.StandardWrapper.allocate (StandardWrapper.java:621) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex t (StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:144) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex t (StandardPipeline.java:596) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:504) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex t (StandardPipeline.java:594) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948) at org.apache.catalina.core.StandardContext.invoke (StandardContext.java:2358) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:133) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex t (StandardPipeline.java:596) at org.apache.catalina.valves.ErrorDispatcherValve.invoke (ErrorDispatcherValve.java:118) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex t (StandardPipeline.java:594) at
[Fwd: IO Error while parsing file '/WEB-INF/tiles.xml'. Connection timed out]
Hi, I've got a problem with my struts application. Here is the trace : *Type* Rapport d'exception *message* *description* _Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête._ *exception* javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles.xml'. Connection timed out org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:235) org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139) org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839) org.apache.struts.action.ActionServlet.init(ActionServlet.java:332) javax.servlet.GenericServlet.init(GenericServlet.java:211) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658) org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:51) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) *cause mère* org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles.xml'. Connection timed out org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:538) org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:467) org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:271) org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:246) org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:196) org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:104) org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:138) org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:167) org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:224) org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139) org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839) org.apache.struts.action.ActionServlet.init(ActionServlet.java:332) javax.servlet.GenericServlet.init(GenericServlet.java:211) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658) org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:51) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) *note* _La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/5.5.7._ All i can say is that the tiles config (/WEB-INF/tiles.xml) is present and ok. Any idea ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Fwd: IO Error while parsing file '/WEB-INF/tiles.xml'. Connection timed out]
Thank you Tim. Everything works fine. I've create an apache site which holds my dtds... but ... Is there a way to include dtds in tomcat application ? Tim Funk a écrit : It looks like your tiles file contains external references for DTD or schema validation. The timeout occurs when your server is trying to download those resources. -Tim Sébastien GALLET wrote: Hi, I've got a problem with my struts application. Here is the trace : - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compile jk2 error on Redhat Enterprise 3
pratak a écrit : I try to compile jk2 for apache httpd-2.0.46-25.ent. configuration is run ok but I found error when I compile it. What happen on it? got the same on debian (look in archives). I think there's a but when creating Makefile list=' server/apache2'; \ ... /usr/bin/libtool --mode=compile gcc -O2 -g -pipe -march=i386 -mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../../include -I/usr/include/httpd -I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr-util/incl ude /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr-util/include ^^^remove this directive in Makefile ( appears twice) -I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr/include /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr/include -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -c ../../common/jk_channel_apr_socket.c -o ../../../build/jk2/apache2/jk_channel_apr_socket.lo rm -f ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo gcc -O2 -g -pipe -march=i386 -mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../../include -I/usr/include/httpd -I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr-util/incl ude /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr-util/include ^^^remove this directive in Makefile ( appears twice) -I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr/include /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr/include ^^^remove this directive in Makefile ( appears twice) -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -c ../../common/jk_channel_apr_socket.c -fPIC -DPIC -o ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo gcc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [../../../build/jk2/apache2/jk_channel_apr_socket.lo] Error 1 make[1]: Leaving directory `/root/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK 1.2.6 compilation obstacles
TL C a écrit : Hi all, hi I really need help in this cause we have used 1.2.5 on our production server but we have faced alot problem. Yet we feel the bug fix done may help to solve some problem that we face like POST recovery in 1.2.6 version. I tried with the compilation and every checkout the CVS jakarta-tomcat-connectors and tried to compile and this time I really CANNOT do it. I need help. Please help for this. Regards, TLC --- TL C [EMAIL PROTECTED] wrote: --- TL C [EMAIL PROTECTED] wrote: I not quite sure how to post the questions on the problem I faced with tomcat-connector-jk-1.2.6 to tomcat group mailing list? Hope this is the one. I have serious problem with compilation on Redhat Enterprise AS 3.0. When I tried to compile, I got this errors /bin/sh /usr/bin/libtool --silent --mode=compile gcc -I/usr/include/httpd -g -O2 -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 -g -pipe -march=i386 -mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DHAVE_APR -I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr/include /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr/include remove the 2 includes above from your Makefile in APXSCFLAGS variable (in native, native/common, native/apache-2.0, ...) after running buildconf.sh and configure. And compilation will success. Maybe a missing -I at begin of the second include -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -c mod_jk.c gcc: cannot specify -o with -c or -S and multiple compilations make: *** [mod_jk.lo] Error 1 I am not sure whether I miss any environment setting or library required apart from httpd-devel. Regards, Regards Sebastien TLC __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail - 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: JK 1.2.6 released
I can't compile mod_jk with my debian (sarge) Here is the log make[2]: entrant dans le répertoire « /var/data1/neo/apache/TMP/libapache2-mod-jk/src/jk/native/common » /bin/sh /usr/share/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -DHAVE_JNI -I/usr/include/apr-0 -pipe -I/usr/include/xmltok -I/usr/include/openssl -O2 -pipe -I/usr/include/xmltok -I/usr/include/openssl -O2 -pthread -DHAVE_APR -I/home/thom/packages/apache2-2.0.49/build-tree/apache2-build/worker/srclib/apr/include /home/thom/packages/apache2-2.0.49/build-tree/apache2/srclib/apr/include -g -O2 -DHAVE_JNI -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include/linux -c jk_ajp12_worker.c gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [jk_ajp12_worker.lo] Erreur 1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK 1.2.6 released
Mario Guenterberg a écrit : On Tue, Jul 27, 2004 at 11:25:03AM +0200, Sébastien GALLET wrote: I can't compile mod_jk with my debian (sarge) Here is the log make[2]: entrant dans le répertoire « /var/data1/neo/apache/TMP/libapache2-mod-jk/src/jk/native/common » /bin/sh /usr/share/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -DHAVE_JNI -I/usr/include/apr-0 -pipe -I/usr/include/xmltok -I/usr/include/openssl -O2 -pipe -I/usr/include/xmltok -I/usr/include/openssl -O2 -pthread -DHAVE_APR -I/home/thom/packages/apache2-2.0.49/build-tree/apache2-build/worker/srclib/apr/include /home/thom/packages/apache2-2.0.49/build-tree/apache2/srclib/apr/include -g -O2 -DHAVE_JNI -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include/linux -c jk_ajp12_worker.c gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [jk_ajp12_worker.lo] Erreur 1 First of all, sorry for my english. Mine is not better than yours ;) On debian sarge you need the apache2-dev package. package apache2-threaded-dev is installed on my sarge. I've made a package for the 1.2.5 release, and when i try to update to 1.2.6 ... that doesn't work This is not installable - at this time. mod_jk needs the APR source for compile. I be solved this problem: 1. Removed the debian apache2 packages and the dependencies I can't do that. I use many apache2 modules (mod_ldap_userdir, ..) installed as package. And i need to recompile all of them 2. Installed the apache-2.0.x by hand (configure/make/make install) 3. Installed the Tomcat-4.x/5.x 4. Installed the mod_jk It works fine. I use Apache-2.0.50/Tomcat-5.0.27/ jakarta-tomcat-connectors-jk2-2.0.4, but the problem you've write is on other versions the same. greetings Mario greetings Sébastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK 1.2.6 released
Mario Guenterberg a écrit : Hi, libapache2-mod-jk2 (2.0.4-1) is available for testing. thanks, but I use mod-jk not mod-jk2 Maybe I will update my sites to mod-jk2 but I can't do it now You can download it or updating your sources.list. Sorry for my incorrect previous message...;-) greetings Mario Greetings Sébastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]