Jakarta-Tomcat 4.1.18 + FreeBSD + linux-sun-jdk14 won't start ...
When I try to start, using linux-sun-jdk14: Using CATALINA_BASE: /usr/local/jakarta-tomcat4.1 Using CATALINA_HOME: /usr/local/jakarta-tomcat4.1 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat4.1/temp Using JAVA_HOME: /usr/local/linux-sun-jdk1.4.1 Using CLASSPATH: /usr/local/linux-sun-jdk1.4.1/lib/tools.jar:/usr/local/jakarta-tomcat4.1/bin/bootstrap.jar it fails, missing a Class: Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176) If I switch to using the native JDK: Using CATALINA_BASE: /usr/local/jakarta-tomcat4.1 Using CATALINA_HOME: /usr/local/jakarta-tomcat4.1 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat4.1/temp Using JAVA_HOME: /usr/local/jdk1.3.1 Using CLASSPATH: /usr/local/jdk1.3.1/lib/tools.jar:/usr/local/jakarta-tomcat4.1/bin/bootstrap.jar it all starts beautifully: [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8042 Starting service Tomcat-Standalone Apache Tomcat/4.1.18 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8042 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8043 [INFO] JkMain - -Jk running ID=0 time=17/118 config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties I've tried using the linux-sun-jdk13, and get the same results as the jdk14 one ... is there a something that I need to add to my CLASSPATH that the linux version doesn't have? Thanks ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP/Servlet Hosting
We offer Virtual Machine hosting, so you can run whatever version of Jakarta-tomcat and accessories as you wish ... we have several v3.x and v4.x clients currently ... check us out at: http://www.hub.org On Fri, 1 Feb 2002, [iso-8859-1] Loïc Lefèvre wrote: These two sites offer servlets hosting: - www.mycgiserver.com - www.webappcabaret.com Loïc Lefèvre -Message d'origine- De : James C. McMaster (Jim) [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 1 février 2002 16:35 À : Tomcat Users List Objet : Re: JSP/Servlet Hosting In message 036701c1aadf$4b616eb0$[EMAIL PROTECTED], Andrew Bruno sai d: Hello All, I am looking for a JSP/Servlet provider that offers: servlets.com offers a list of servlet ISPs at: http://www.servlets.com/isps/servlet/ISPViewAll -- Jim McMaster mailto:[EMAIL PROTECTED] -- 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] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
xalan.jar problem with tomcat 4 ...
Trying not to embarress myself a second time with a 'spelling mistake', I think I've checked everything this time *cross fingers* First, xalan.jar is installed with the xalan-j port, and I have build.properties set right for it: reilly2001# grep xalan build.properties xalan.jar=/usr/local/xalan-j2.1.0/bin/xalan.jar reilly2001# ls -lt /usr/local/xalan-j2.1.0/bin/xalan.jar -rw-r--r-- 1 root wheel 732330 Jan 14 00:29 /usr/local/xalan-j2.1.0/bin/xalan.jar Build goes through to building what I believe is the docs ... and then fails looking for: /usr/local/java_misc/jakarta-tomcat-4.0.1-src/webapps/tomcat-docs/build.xml:80: java.lang.NoClassDefFoundError: javax/xml/transform/Source Which, from what I can tell, is part of xalan.jar: reilly2001# find /usr/local/xalan-j2.1.0 -name Source* -print | grep transform /usr/local/xalan-j2.1.0/docs/apidocs/javax/xml/transform/class-use/Source.html /usr/local/xalan-j2.1.0/docs/apidocs/javax/xml/transform/class-use/SourceLocator.html /usr/local/xalan-j2.1.0/docs/apidocs/javax/xml/transform/SourceLocator.html /usr/local/xalan-j2.1.0/docs/apidocs/javax/xml/transform/Source.html /usr/local/xalan-j2.1.0/src/javax/xml/transform/SourceLocator.java /usr/local/xalan-j2.1.0/src/javax/xml/transform/Source.java But, I'm also getting: build-main: [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. at the top ... but I am using xalan, aren't I? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Compiling latest 4.0.1 fails with 'not found in import' ...
Nice and simple, probably ... I *think* I've followed the instructions pretty much to the letter, have everything installed from ports that can be, downloaded the rest ... modifed build.properties for where everything is, but when I'm doing an 'ant dist', I'm getting: build-main: [javac] Compiling 4 source files to /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/build/server/classes [javac] Compiling 5 source files to /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/build/server/classes [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:71: Class javax.net.ServerSocketFactory not found in import. [javac] import javax.net.ServerSocketFactory; [javac]^ [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:72: Class javax.net.ssl.SSLServerSocket not found in import. [javac] import javax.net.ssl.SSLServerSocket; [javac]^ [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:73: Class javax.net.ssl.SSLSocket not found in import. [javac] import javax.net.ssl.SSLSocket; [javac]^ etc, etc, etc There are a total of 36 errors ... I can do searches for this stuff using find, and the various packages appear to be installed: reilly2001# find /usr/local -name *SSLServerSocket* -print /usr/local/jsse1.0.2/doc/apidoc/javax/net/ssl/SSLServerSocket.html /usr/local/jsse1.0.2/doc/apidoc/javax/net/ssl/SSLServerSocketFactory.html /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java And, according to build.properties, I believe things are set right: # - Java Secure Sockets Extension (JSSE), version 1.0.2 or later - jsse.home=${base.path}/jsse-1.0.2 jsse.lib=${jsse.home}/lib jcert.jar=${jsse.lib}/jcert.jar jnet.jar=${jsse.lib}/jnet.jar jsse.jar=${jsse.lib}/jsse.jar reilly2001# ls -lt /usr/local/jsse1.0.2/lib/ total 476 -rw-r--r-- 1 root wheel 463471 Aug 1 2000 jsse.jar -rw-r--r-- 1 root wheel7637 Aug 1 2000 jcert.jar -rw-r--r-- 1 root wheel3098 Aug 1 2000 jnet.jar Yet it can't find it? Help? Thanks ... -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Integrating catalina(Tomcat) and apache
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]
Re: Integrating catalina(Tomcat) and apache
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]