problems with the tomcat 4.0
Hello all, A question about Tomcat 4 beta 5 issue. I just decide to move from Tomcat 3.2.1 to 4 because we are facing some insoluble sealing violations problems. Ok, I download all the required packages (jss2, jaxp, jmx, jndi, newer jdk 1.3, ant, regexp, jakarta-servletapi-4 and jakarta-tomcat-4.), using the CVS. All the packages are build correctly, and I put everything on my path, except tomcat, that show some errors on import RE.class and RESyntaxException.class. Once I´m sure that was not a path problem, I just copy this two classes from $REGEXP_HOME/bin/classes/org/apache/regexp to $CATALINA_HOME/catalina/build/classes/org/apache/regexp, and try to rebuild it. The build was successful. So, I copy the contents of the build directory to /usr/local/jakarta/tomcat-4.0. So I edit the catalina.sh to include all my classes, (equal than my tomcat.sh on the tomcat 3.2.1 version, that works fine, except from that sealing violation error that appear in our new jsp app). The problem is that 'catalina.sh start' command runs, but not work (ps -ef | grep java returns nothing). The only way to put something on the memory is using the option 'catalina.sh debug'. Could you tell me if there is something wrong with my configuration? Any idea would be helpful. Regards, Pedro Henrique São Paulo - Brazil
WHY http://servername:8080/myapp/index.htm?
Hello, I need to know how to set up my Tomcat or Apache to understand that myapp is a jsp application without the need to put the port number in the adress bar, because when I try to access it without the 8080, it fails ... (looks like the apache is trying to find the directory myapp inside the document root, instead of look at the $TOMCAT_HOME/webapps/myapps ...) The server is a RH7, Apache1.3.19, Tomcat3.2.1, mod_jk. THANKS!! Pedro Henrique Brazil - Sao Paulo
RES: WHY http://servername:8080/myapp/index.htm?
Well, here is my httpd.conf file: LoadModule jk_modulelibexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /usr/local/jakarta/dist/tomcat/conf/workers.properties JkLogFile /usr/local/jakarta/dist/tomcat/logs/mod_jk.log JkLogLevelnotice JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /otherworker/*.jsp remoteworker include /packages/tomcat/conf/mod_jk.conf-auto -Mensagem original- De: Steve Ruby [mailto:[EMAIL PROTECTED]] Enviada em: Friday, April 27, 2001 12:16 PM Para: [EMAIL PROTECTED] Assunto: Re: WHY http://servername:8080/myapp/index.htm? Pedro Henrique Ponchio wrote: Hello, I need to know how to set up my Tomcat or Apache to understand that myapp is a jsp application without the need to put the port number in the adress bar, because when I try to access it without the 8080, it fails ... (looks like the apache is trying to find the directory myapp inside the document root, instead of look at the $TOMCAT_HOME/webapps/myapps ...) The server is a RH7, Apache1.3.19, Tomcat3.2.1, mod_jk. THANKS!! Pedro Henrique Brazil - Sao Paulo What does your JkMount look like?
RES: RES: WHY http://servername:8080/myapp/index.htm?
THKS a lot! It works now! There´s some problems with my mod-jk.conf ... -Mensagem original- De: Milt Epstein [mailto:[EMAIL PROTECTED]] Enviada em: Friday, April 27, 2001 1:55 PM Para: [EMAIL PROTECTED] Assunto: Re: RES: WHY http://servername:8080/myapp/index.htm? On Fri, 27 Apr 2001, Pedro Henrique Ponchio wrote: Well, here is my httpd.conf file: LoadModule jk_modulelibexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /usr/local/jakarta/dist/tomcat/conf/workers.properties JkLogFile /usr/local/jakarta/dist/tomcat/logs/mod_jk.log JkLogLevelnotice JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /otherworker/*.jsp remoteworker include /packages/tomcat/conf/mod_jk.conf-auto What's in the mod_jk.conf-auto file? It looks like you haven't given the proper directives in there to tell Apache to pass the URL in question to Tomcat. Look at the sample Tomcat/Apache conf file for how it's done there. Roughly, for each context, there's an Alias directive, a Directory tag, a Location tag, and one or more JkMount directives. Basically, it's the JkMount's that control Apache knowing to pass the URL to Tomcat. -Mensagem original- De: Steve Ruby [mailto:[EMAIL PROTECTED]] Enviada em: Friday, April 27, 2001 12:16 PM Para: [EMAIL PROTECTED] Assunto: Re: WHY http://servername:8080/myapp/index.htm? Pedro Henrique Ponchio wrote: Hello, I need to know how to set up my Tomcat or Apache to understand that myapp is a jsp application without the need to put the port number in the adress bar, because when I try to access it without the 8080, it fails ... (looks like the apache is trying to find the directory myapp inside the document root, instead of look at the $TOMCAT_HOME/webapps/myapps ...) The server is a RH7, Apache1.3.19, Tomcat3.2.1, mod_jk. What does your JkMount look like? Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]
RES: problem using mod_jk.so
U need to compile your mod_jk. There is a rpm version too ( http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/rpms/tomc at-mod-3.2.1-1.i386.rpm http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/rpms/tom cat-mod-3.2.1-1.i386.rpm ), but could be not fully compatible with your system ... Read the mod_jk how-to document, could help you ( http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.htm l http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.ht ml ). -Mensagem original- De: Xiaofeng Chen [mailto:[EMAIL PROTECTED]] Enviada em: Thursday, April 19, 2001 4:27 PM Para: [EMAIL PROTECTED] Assunto: problem using mod_jk.so I have started my tomcat-3.2.1 and configured the Apache to use tomcat. I have problem to start Apache. When I started Apache, the following error shows: Syntax error on line 8 of /export/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto: API module structure `jk_module' in file /etc/httpd/libexec/mod_jk.so is garbled - perhap s this is not an Apache module DSO? I didn't edit mod_jk.conf-auto. I believe it was generated automatically after tomcat was started. the libexec directory is created by myself since in the document of Working with mod_jk, it says that you need copy the mod_jk.so to libexec, but I don't have a libexec directory in /etc/httpd directory, where /etc/httpd/conf directory is. Any clue? Appreciate your help. - Xiaofeng Chen Software Development Engineer/Analyst Interactive Media Group, Nebraska Educational Telecommunications 1800 N. 33rd, Lincoln, NE68583 (402) - 472-9333, ext. 569(voice); (402) - 472-3815(fax) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
RES: Apache/Tomcat integration issues
Put this few lines of code: LoadModule jk_modulelibexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /packages/tomcat/conf/workers.properties JkLogFile /usr/local/apache_1.3.14/logs/mod_jk.log JkLogLevelwarn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /otherworker/*.jsp remoteworker include /packages/tomcat/conf/mod_jk.conf-auto after the VirtualHost directives, into your httpd.conf file. Pedro Henrique -Mensagem original- De: Sam Newman [mailto:[EMAIL PROTECTED]] Enviada em: Monday, April 16, 2001 11:06 AM Para: [EMAIL PROTECTED] Assunto: Apache/Tomcat integration issues I've just followed the instructions to get Apache and Tomcat working together. I editied the workers.properties file (which by the way seems to assume you are on a win32 platform!) and the server.xml to include the ajpv13 protocol connector. Apache includes tomcats autogenerated config file and everything works fine - I can see and execute all the example code. I basically have two problems however: 1.) The autogenerated conf file for mod_jk makes no reference of ajpv13, which I assumed is the prefered protocol. The only place I can see to make ajpv13 the default is for JServ. I obviously would like to avoid editing httpd.conf by hand and would rather tomcat generated the file using ajpv13 as the default - is it simply a matter of inserting a directive in the servler.xml? I appreciate that not everyone will choose to use ajpv13, but if its explicitly referenced in the server.xml, couldn't it be put in? What do I loose by not using ajpv13 (apart from performance)? 2.) When displaying one of my login servlets (a simple form forwarding requests to another servlet) via apache (over standard http or https) under netscape on a linux box, I get displayed the source code for the page (e.g. the plain text html) rather than the rendered page. Accessing the page via the tomcat port solves this. MSIE on my laptop can view the page fine - either via http or https. If it was a problem with the format of html i would of expected the tomcat served page to likewise display the html sourcecode. Any ideas? Thanks in advance, sam newman p.s. I'm tempted to buy redhat's strongohld out of my own pocket rather than spend another week of hell getting SSL working myself!
=== files missing ... ? ====
Hello, Im trying to compile the source code of Tomcat, but I receive some errors. What have I have to do to make it? I known that are some files mising like moo.jar e dev.jar ... I already compile and install the apache, mod_ssl, servletapi, ant, jaxp, etc, etc ... here the build.sh file: #! /bin/sh # $Id: build.sh,v 1.11 2000/05/01 15:46:47 craigmcc Exp $ if [ -z "$JAVA_HOME" ] then JAVACMD=`which java` if [ -z "$JAVACMD" ] then echo "Cannot find JAVA. Please set your PATH." exit 1 fi JAVA_BINDIR=`dirname $JAVACMD` JAVA_HOME=$JAVA_BINDIR/.. fi if [ "$ANT_OPTS" = "" ] ; then ANT_OPTS="" fi JAVACMD=$JAVA_HOME/bin/java $ANT_OPTS cp=../jakarta-ant/lib/ant.jar:../jakarta-servletapi/lib/servlet.jar:../j akarta-tools/moo.jar:../build/tomcat/class es:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar $JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@" --- and here the error message that I receive: [javac] Compiling 5 source files to /usr/local/tomcat_3.2.1/build/tomcat/classes [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/compiler/JspCompiler.java:136: Method getClassName(java.lang.String) not found in class org.apache.jasper.compiler.ClassName. [javac] realClassName = ClassName.getClassName( getClassFileName() ); [javac] ^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/compiler/JspCompiler.java:137: Exception org.apache.jasper.JasperException is never thrown in the body of the corresponding try statement. [javac] } catch( JasperException ex) { [javac] ^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/compiler/JspParseEventListener.java:867: Wrong number of arguments in constructor. [javac] = new GeneratorWrapper(new ForwardGenerator(start, attrs, param), [javac]^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/compiler/JspParseEventListener.java:877: Wrong number of arguments in constructor. [javac] = new GeneratorWrapper(new IncludeGenerator(start, attrs, param), [javac]^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/JspC.java:367: Method compile() not found in class org.apache.jasper.compiler.CommandLineCompiler. [javac] clc.compile(); [javac]^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/servlet/JspServlet.java:462: Method compile() not found in class org.apache.jasper.compiler.Compiler. [javac] outDated = compiler.compile(); [javac]^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/servlet/JspServlet.java:467: Method compile() not found in class org.apache.jasper.compiler.Compiler. [javac] outDated = compiler.compile(); [javac]^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/servlet/JspServlet.java:471: Exception java.io.FileNotFoundException is never thrown in the body of the corresponding try statement. [javac] } catch (FileNotFoundException ex) { [javac] ^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja sper/servlet/JspServlet.java:473: Exception org.apache.jasper.JasperException is never thrown in the body of the corresponding try statement. [javac] } catch (JasperException ex) { [javac] ^ [javac] /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/to mcat/request/JspInterceptor.java:205: Method compile() not found in class org.apache.jasper.compiler.Compiler. [javac] compiler.compile(); [javac] ^ [javac] Note: /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/to mcat/request/JspInterceptor.java uses or overrides a deprecated API. Recompile with "-deprecation" for details. [javac] 10 errors, 1 warning BUILD FAILED /usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed, messages should have been provided. Total time: 4 seconds CAN ANYONE HELP-ME?? Thanks a lot 4 all!! Pedro
RES: Troubles with Tomcat
you can edit the hosts file under the C:\WINNT\system32\drivers\etc directory, like: 200.56.130.196 hostnam_of_your_machine and put the hostname_of_your_machine in the ServerName directive like this: ServerName hostname_of_your_machine and u can use the directive NameVirtualHost 192.168.167.2 At least, im using this configuration on my linux server, hope that this can works in the windows too... Regards, Pedro Henrique -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Thursday, March 15, 2001 12:18 PM Para: [EMAIL PROTECTED] Assunto: Troubles with Tomcat Hello, Ive installed Tomcat on Windows NT and it runs when I use the name of the machine in the URL (example: "http://server/example/jsp/index.html"), it doesnt run when I use the internal or external IP (e: "http://192.168.167.2/example/jsp/index.html" or "http://200.56.130.196/example/jsp/index.html"). I would thank if you could help me. Alejandro Panelli __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
RES: mod_jserv.so
You dont need to download this file, if you have the tomcat source code, u can compile it for your system. Take a look at this site, can be useful: http://www.ccl.net/cca/software/UNIX/apache/ http://www.ccl.net/cca/software/UNIX/apache/ Pedro Henrique -Mensagem original- De: Martin Mauri [mailto:[EMAIL PROTECTED]] Enviada em: Friday, March 09, 2001 12:01 PM Para: [EMAIL PROTECTED] Assunto: mod_jserv.so Hi, In the documentation of how to configure Tomcat-Apache integration, the name of the shared library that serves as the adapter is: mod_jserv.so, but when I follow the link to download the build for linux, what I see is 2 files, one named mod_jk.so and other named mod_jserv_tomcat.so, what does this mean? any help? thanks! Lic. Martin O. Mauri Profesion + Auge A.F.J.P Parana 666 - Cap. Federal TE: (011) - 43737786/7 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.profesi.com.ar http://www.profesi.com.ar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
documentation about cvs
Please, anyone can send me an url about CVS documentation? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RES: RES: apachectl start .... error message
Thks again, but where can I find the hosts files on my Red Hat 6.2 system? I already edit the name of the host to atechapp in the linuxconf utility, but even editing the httpd.conf file to accept this name, the error message about host name still appear ... So, any other suggestion?? Regards, Pedro -Mensagem original- De: lee fellows [mailto:[EMAIL PROTECTED]] Enviada em: Friday, February 23, 2001 9:34 AM Para: [EMAIL PROTECTED] Assunto: Re: RES: apachectl start error message Pedro, Put the server name and ip address in your hosts file. Hope this helps. Pedro Henrique Ponchio wrote: Helps a lot, thk u! However, Im facing another problem: now, only my apache arent starting up, shows the follow error message on my mod_jserv.log: ** [22/02/2001 11:23:19:124] (EMERGENCY) Error setting defaults: ApJServDefaultHost name "localhost" can't be resolved ** I already edit the httpd.conf and the "ServerName" directive to recognize the name properly, but ... still could not start. I put the IP address into the servername directive of the httpd file, once I dont have a valid DNS name. Can anyone help me?? -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:41 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message Looks something like this --with-java-platform=1 or 2 (generally no need to specify this) --with-java=/path/to/binary/java --with-javac=/path/to/binary/javac --with-javadoc=/path/to/binary/javadoc --with-jar=/path/to/binary/jar --enable-EAPI (Note the enable --enable-EAPI ) all from page http://java.apache.org/jserv/install/howto.unix_install.html Hope this helps Rory http://java.apache.org/jserv/install/howto.unix_install.html - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 2:18 PM Subject: RES: apachectl start error message 10x very much, I will try to find that documentation ... -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:01 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message I ran into the same problem some time back. Just recompile your mod_jserv with the -EAPI (not -DEAPI) switch. Check the docs for exact switches and make this is one of them. I do however recommend mod_jk.so instead of mod_jserv (unless you are trying to do load balancing with session replication) Hope this helps, Rory - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 1:40 PM Subject: apachectl start error message Hi all, this error message appear when I try to startup Apache: Starting httpd: [Tue Feb 20 14:37:58 2001] [warn] Loaded DSO libexec/mod_jserv.s o uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi le it with -DEAPI) [FAILED] How can I recompile the mod_jserv.so in my system?? Thks!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RES: RES: RES: apachectl start .... error message
Its works! I change the name in the host file and I have my apache and Tomcat working!!! Wow! I still have hope in the humanity!! ;) []s -Mensagem original- De: lee fellows [mailto:[EMAIL PROTECTED]] Enviada em: Friday, February 23, 2001 11:40 AM Para: [EMAIL PROTECTED] Assunto: Re: RES: RES: apachectl start error message Pedro, You will find the hosts file in the /etc directory. You will need root privilages to modify it. The hosts file has the following format: IP address[space or tab]hostname[space or tab]alias. I,E., 127.0.0.1 localhost 10.0.0.1my.server.net my You will need to add the IP address, if it is not already in there, and the hostname as reported in the error message from apache. Hope this helps. Pedro Henrique Ponchio wrote: Thks again, but where can I find the hosts files on my Red Hat 6.2 system? I already edit the name of the host to atechapp in the linuxconf utility, but even editing the httpd.conf file to accept this name, the error message about host name still appear ... So, any other suggestion?? Regards, Pedro -Mensagem original- De: lee fellows [mailto:[EMAIL PROTECTED]] Enviada em: Friday, February 23, 2001 9:34 AM Para: [EMAIL PROTECTED] Assunto: Re: RES: apachectl start error message Pedro, Put the server name and ip address in your hosts file. Hope this helps. Pedro Henrique Ponchio wrote: Helps a lot, thk u! However, Im facing another problem: now, only my apache arent starting up, shows the follow error message on my mod_jserv.log: ** [22/02/2001 11:23:19:124] (EMERGENCY) Error setting defaults: ApJServDefaultHost name "localhost" can't be resolved ** I already edit the httpd.conf and the "ServerName" directive to recognize the name properly, but ... still could not start. I put the IP address into the servername directive of the httpd file, once I dont have a valid DNS name. Can anyone help me?? -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:41 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message Looks something like this --with-java-platform=1 or 2 (generally no need to specify this) --with-java=/path/to/binary/java --with-javac=/path/to/binary/javac --with-javadoc=/path/to/binary/javadoc --with-jar=/path/to/binary/jar --enable-EAPI (Note the enable --enable-EAPI ) all from page http://java.apache.org/jserv/install/howto.unix_install.html Hope this helps Rory http://java.apache.org/jserv/install/howto.unix_install.html - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 2:18 PM Subject: RES: apachectl start error message 10x very much, I will try to find that documentation ... -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:01 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message I ran into the same problem some time back. Just recompile your mod_jserv with the -EAPI (not -DEAPI) switch. Check the docs for exact switches and make this is one of them. I do however recommend mod_jk.so instead of mod_jserv (unless you are trying to do load balancing with session replication) Hope this helps, Rory - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 1:40 PM Subject: apachectl start error message Hi all, this error message appear when I try to startup Apache: Starting httpd: [Tue Feb 20 14:37:58 2001] [warn] Loaded DSO libexec/mod_jserv.s o uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi le it with -DEAPI) [FAILED] How can I recompile the mod_jserv.so in my system?? Thks!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi
RES: apachectl start .... error message
Helps a lot, thk u! However, Im facing another problem: now, only my apache arent starting up, shows the follow error message on my mod_jserv.log: ** [22/02/2001 11:23:19:124] (EMERGENCY) Error setting defaults: ApJServDefaultHost name "localhost" can't be resolved ** I already edit the httpd.conf and the "ServerName" directive to recognize the name properly, but ... still could not start. I put the IP address into the servername directive of the httpd file, once I dont have a valid DNS name. Can anyone help me?? -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:41 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message Looks something like this --with-java-platform=1 or 2 (generally no need to specify this) --with-java=/path/to/binary/java --with-javac=/path/to/binary/javac --with-javadoc=/path/to/binary/javadoc --with-jar=/path/to/binary/jar --enable-EAPI (Note the enable --enable-EAPI ) all from page http://java.apache.org/jserv/install/howto.unix_install.html Hope this helps Rory http://java.apache.org/jserv/install/howto.unix_install.html - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 2:18 PM Subject: RES: apachectl start error message 10x very much, I will try to find that documentation ... -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:01 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message I ran into the same problem some time back. Just recompile your mod_jserv with the -EAPI (not -DEAPI) switch. Check the docs for exact switches and make this is one of them. I do however recommend mod_jk.so instead of mod_jserv (unless you are trying to do load balancing with session replication) Hope this helps, Rory - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 1:40 PM Subject: apachectl start error message Hi all, this error message appear when I try to startup Apache: Starting httpd: [Tue Feb 20 14:37:58 2001] [warn] Loaded DSO libexec/mod_jserv.s o uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi le it with -DEAPI) [FAILED] How can I recompile the mod_jserv.so in my system?? Thks!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
apachectl start .... error message
Hi all, this error message appear when I try to startup Apache: Starting httpd: [Tue Feb 20 14:37:58 2001] [warn] Loaded DSO libexec/mod_jserv.s o uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi le it with -DEAPI) [FAILED] How can I recompile the mod_jserv.so in my system?? Thks!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RES: apachectl start .... error message
10x very much, I will try to find that documentation ... -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:01 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message I ran into the same problem some time back. Just recompile your mod_jserv with the -EAPI (not -DEAPI) switch. Check the docs for exact switches and make this is one of them. I do however recommend mod_jk.so instead of mod_jserv (unless you are trying to do load balancing with session replication) Hope this helps, Rory - Original Message - From: "Pedro Henrique Ponchio" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 1:40 PM Subject: apachectl start error message Hi all, this error message appear when I try to startup Apache: Starting httpd: [Tue Feb 20 14:37:58 2001] [warn] Loaded DSO libexec/mod_jserv.s o uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi le it with -DEAPI) [FAILED] How can I recompile the mod_jserv.so in my system?? Thks!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RES: Tomcat Configuration
I think that the correct path is http://localhost:8080/ROOT/jsp/num/numguess.jsp if you want to be /jsp u need to put under the $tomcat_home/webapps/ directory ... and on server.xml file will apper something like this: Context path="/jsp" docBase="webapps/jsp" crossContext="true" debug="0" reloadable="true" trusted="false" /Context -Mensagem original- De: Don Ha [mailto:[EMAIL PROTECTED]] Enviada em: Wednesday, February 14, 2001 8:23 PM Para: [EMAIL PROTECTED] Assunto: Tomcat Configuration Hi, I copy all jsp files from "C:\jakarta-tomcat\webapps\examples\jsp\*.*" to "C:\jakarta-tomcat\webapps\ROOT\jsp\". When I make a request from browser "http://localhost:8080/jsp/num/numguess.jsp", I got these error messages "Page not found". How should I configure Tomcat to recognize JSP files? Thanks. Don Ha __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
java.lang.NullPointerException message error
Anybody know what the error message "java.lang.NullPointerException" means? My information screen appear this message when I shutdown TOMCAT: Stop tomcat fechando a conexo com o BD...2001-02-15 12:56:26 - ContextManager: Removing con text Ctx( /omir ) pronto! BC4J HTTP Container was timed out The binding listener for OmirModule was timed out java.lang.NullPointerException Signal ignored: 15 2001-02-15 12:56:26 - Ctx( ): IOException in: R( + / + null) Bad file descript or - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RES: java.lang.NullPointerException message error
The big question is when this error happens the TOMCAT didnt shutdown properly, still having some java process running in memory. So, I need to use kill -9 to can start TOMCAT again ... Please, anyone have any suggestion?? Pedro -Mensagem original- De: Pedro Henrique Ponchio Enviada em: Thursday, February 15, 2001 3:03 PM Para: [EMAIL PROTECTED] Assunto: java.lang.NullPointerException message error Anybody know what the error message "java.lang.NullPointerException" means? My information screen appear this message when I shutdown TOMCAT: Stop tomcat fechando a conexo com o BD...2001-02-15 12:56:26 - ContextManager: Removing con text Ctx( /omir ) pronto! BC4J HTTP Container was timed out The binding listener for OmirModule was timed out java.lang.NullPointerException Signal ignored: 15 2001-02-15 12:56:26 - Ctx( ): IOException in: R( + / + null) Bad file descript or - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
where can I put an images folder in Tomcat for my site?
I build an aplication with BC4J and some images on my navigation bar are pointing to "webapp/images" folder. How can I setup the server.xml file to reconigne the directory "webapp" under the /webapps directory as a part of my site, called "omir"? Please, taken a look at my server.xml file: Context path="/omir" docBase="webapps/omir" crossContext="true" debug="0" reloadable="true" trusted="false" /Context I added this lines to make the images appear, its works fine, but when I shutdown the Tomcat server always returns an error message like "removing ctx () context ( - null - ) Bad file description. Here the code: Context path="/webapp" docBase="webapps/webapp" crossContext="false" debug="0" reloadable="true" trusted="false" /Context Under my webapps directory I only have these directories: - admin - examples - omir (my site!) - ROOT - webapp (where are located some of the navigation bar images!) What can I do to solve this problem in the better way? THks a lot!!! Pedro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]