Apache+Tomcat with SSL?
Hi: I am using Apache 1.3.26 with JBoss ... it is working fine. Now I have installed SSL Certificates on my Servers and wondering how to configure Apache for SSL? Should I install mod_ssl or Apache-SSL? Are both these same ? which one is recommended? Thanks! _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache+Tomcat with SSL?
Hi Lajos, I have Apache 1.3.26 on IBM AIX 5.1L I also have mod_ssl 2.8.11-1.3.27 When I configure my APache (REF: Your Web article) as: - ./configure --with-layout=Apache --prefix=/opt --enable-module=ssl --enable-shared=ssl --enable-module=so - I get following ERROR: - Configuring for Apache 1.3.26 configure:Error: No Such module named 'ssl' - wher can I find mod_ssl for Apache 1.3.26 running on IBM AIX 5.1L OS? THANKS! From: Lajos [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Apache+Tomcat with SSL? Date: Tue, 18 Feb 2003 09:08:04 -0700 Hi Manoj - You'll want to compile Apache with mod_ssl in it. I have several FlashGuides on my site which will help you - http://www.galatea.com/flashguides/apache-ssl-win32.xml or http://www.galatea.com/flashguides/apache-ssl-unix.xml, depending on your OS. Let me know if something doesn't work. Regards, Lajos Manoj Kithany wrote: Hi: I am using Apache 1.3.26 with JBoss ... it is working fine. Now I have installed SSL Certificates on my Servers and wondering how to configure Apache for SSL? Should I install mod_ssl or Apache-SSL? Are both these same ? which one is recommended? Thanks! _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Simple WAR on Apache + Tomcat + JBoss
Hi: I have a simple WAR file 'mig.war' and want to see if that wokrs on Architecture - Apache + JBoss(Tomcat). I have my mig.war file in /jboss/server/default/deploy I have my mod_jk.so connector in /usr/local/apache/libexec directory My httpd.conf has following information at end: - LoadModule jk_module libexec/mod_jk.so JkWorkersFile /jboss/catalina/conf/jk/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13 JKMount /mig/servlet/* ajp13 JKMount /mig/*.jsp ajp13 JKMount /mig/* ajp13 - My workers.properties file contains - workers.tomcat_home=/jboss/catalina workers.java_home=/usr/java130 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=MY.IP.ADDR.ESS worker.ajp13.type=ajp13 --- My tomcat4-service.xml file has following: --- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=1/ -- By the way why should Port be 8009...? should it be 8080? Can anyone see if the above process is proper? When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache Page...which shows Apache is working fine. Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig it works fine... How can I know if my Apache + Tomcat Integration is working fine and that Apache REDIRECTS my JSP/Servlets to Tomcat? Should I start my Jboss first or Apache first? THANK YOU ALL! _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Simple WAR on Apache + Tomcat + JBoss
I checked the mod_jk.log file and found following... [Fri Feb 14 09:44:47 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Feb 14 09:44:47 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/mig/' [Fri Feb 14 09:44:47 2003] [jk_uri_worker_map.c (502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -/mig/ [Fri Feb 14 09:44:51 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Feb 14 09:44:51 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/mig/' [Fri Feb 14 09:44:51 2003] [jk_uri_worker_map.c (502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -/mig/ [Fri Feb 14 09:52:43 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Feb 14 09:52:43 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/mig/test.jsp' [Fri Feb 14 09:52:43 2003] [jk_uri_worker_map.c (558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -*.jsp - From the LOG file above it seems that INTEGRATION is successful BUT when I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on BROWSER:-- - Forbidden You don't have permission to access /mig/test.jsp on this server --- Any guideline on this is appreciated! From: Manoj Kithany [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Simple WAR on Apache + Tomcat + JBoss Date: Fri, 14 Feb 2003 15:29:11 + Hi: I have a simple WAR file 'mig.war' and want to see if that wokrs on Architecture - Apache + JBoss(Tomcat). I have my mig.war file in /jboss/server/default/deploy I have my mod_jk.so connector in /usr/local/apache/libexec directory My httpd.conf has following information at end: - LoadModule jk_module libexec/mod_jk.so JkWorkersFile /jboss/catalina/conf/jk/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13 JKMount /mig/servlet/* ajp13 JKMount /mig/*.jsp ajp13 JKMount /mig/* ajp13 - My workers.properties file contains - workers.tomcat_home=/jboss/catalina workers.java_home=/usr/java130 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=MY.IP.ADDR.ESS worker.ajp13.type=ajp13 --- My tomcat4-service.xml file has following: --- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=1/ -- By the way why should Port be 8009...? should it be 8080? Can anyone see if the above process is proper? When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache Page...which shows Apache is working fine. Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig it works fine... How can I know if my Apache + Tomcat Integration is working fine and that Apache REDIRECTS my JSP/Servlets to Tomcat? Should I start my Jboss first or Apache first? THANK YOU ALL! _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Simple WAR on Apache + Tomcat + JBoss
Hi Dennis, Thank you for your reply. My /mig/WEB-INF/web.xml follows: --- ?xml version=1.0 encoding=UTF-8? !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-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping session-config session-timeout 30 /session-timeout /session-config welcome-file-list welcome-file index.jsp /welcome-file welcome-file index.html /welcome-file welcome-file index.htm /welcome-file welcome-file welcome.html /welcome-file welcome-file test.jsp /welcome-file /welcome-file-list /web-app Thanks! From: Dennis Cartier [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple WAR on Apache + Tomcat + JBoss Date: Fri, 14 Feb 2003 14:19:54 -0500 Please post your web.xml from the WEB-INF dir in mig.war -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Simple WAR on Apache + Tomcat + JBoss I checked the mod_jk.log file and found following... [Fri Feb 14 09:44:47 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Feb 14 09:44:47 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/mig/' [Fri Feb 14 09:44:47 2003] [jk_uri_worker_map.c (502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -/mig/ [Fri Feb 14 09:44:51 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Feb 14 09:44:51 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/mig/' [Fri Feb 14 09:44:51 2003] [jk_uri_worker_map.c (502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -/mig/ [Fri Feb 14 09:52:43 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Feb 14 09:52:43 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/mig/test.jsp' [Fri Feb 14 09:52:43 2003] [jk_uri_worker_map.c (558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -*.jsp - From the LOG file above it seems that INTEGRATION is successful BUT when I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on BROWSER:-- - Forbidden You don't have permission to access /mig/test.jsp on this server --- Any guideline on this is appreciated! From: Manoj Kithany [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Simple WAR on Apache + Tomcat + JBoss Date: Fri, 14 Feb 2003 15:29:11 + Hi: I have a simple WAR file 'mig.war' and want to see if that wokrs on Architecture - Apache + JBoss(Tomcat). I have my mig.war file in /jboss/server/default/deploy I have my mod_jk.so connector in /usr/local/apache/libexec directory My httpd.conf has following information at end: - LoadModule jk_module libexec/mod_jk.so JkWorkersFile /jboss/catalina/conf/jk/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13 JKMount /mig/servlet/* ajp13 JKMount /mig/*.jsp ajp13 JKMount /mig/* ajp13 - My workers.properties file contains - workers.tomcat_home=/jboss/catalina workers.java_home=/usr/java130 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=MY.IP.ADDR.ESS worker.ajp13.type=ajp13 --- My tomcat4-service.xml file has following: --- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=1/ -- By the way why should Port be 8009...? should it be 8080? Can anyone see if the above process is proper? When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache Page...which shows Apache is working fine. Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig it works fine... How can I know if my Apache + Tomcat
AHP13 Error (Apache/Tomcat/JBoss)...?
Hi: I am using APache + JBoss + Tomcat and INTEGRATED these with MOD_JK connector. I have a WAR file mig.war which is stored in /jboss/server/default/deploy/ When I try to access my hellowworld JSP page (test.jsp) as www.host-name/mig/test.jsp, I get following message --- 14:54:52,638 INFO [Engine] Ajp13Processor[8009][1] An incoming request is being assigned 14:54:52,638 INFO [Engine] Ajp13Processor[8009][1] The incoming request has been awaited 14:54:52,639 INFO [STDOUT] [Ajp13] setSocket() 14:54:52,639 INFO [STDOUT] [Ajp13] receiveNextRequest() 14:54:52,639 INFO [STDOUT] [Ajp13] receive() 14:54:52,639 INFO [STDOUT] [Ajp13] receive: total read = 413 14:54:52,639 INFO [STDOUT] [Ajp13] Received 2 JK_AJP13_FORWARD_REQUEST 14:54:52,639 INFO [Engine] Ajp13Processor[8009][1] invoking... 14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) . 14:54:52,708 ERROR [Engine] - Root Cause - java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java(Compiled Code)) at org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled Code)) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) . 14:54:52,751 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [Engine] Ajp13Processor[8009][1] done invoking, finishing request/response 14:54:52,753 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [Engine] Ajp13Processor[8009][1] finished handling request. 14:54:52,753 INFO [STDOUT] [Ajp13] recycle() 14:54:52,753 INFO [STDOUT] [Ajp13] receiveNextRequest() --- Can anyone point out what is the problem? My HTTPD.CONF file has: -- LoadModule jk_module libexec/mod_jk.so JkWorkersFile /jboss/catalina/conf/jk/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JKMount /mig/servlet/* ajp13 JKMount /mig/*.jsp ajp13 JKMount /mig/* ajp13 - THANKS! _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AJP13 Error (Apache/Tomcat/JBoss)...?
Sorry ...sending againthere was a typo in earlier email. I am getting AJP13 Error as explained below: - Hi: I am using APache + JBoss + Tomcat and INTEGRATED these with MOD_JK connector. I have a WAR file mig.war which is stored in /jboss/server/default/deploy/ When I try to access my hellowworld JSP page (test.jsp) as www.host-name/mig/test.jsp, I get following message --- 14:54:52,638 INFO [Engine] Ajp13Processor[8009][1] An incoming request is being assigned 14:54:52,638 INFO [Engine] Ajp13Processor[8009][1] The incoming request has been awaited 14:54:52,639 INFO [STDOUT] [Ajp13] setSocket() 14:54:52,639 INFO [STDOUT] [Ajp13] receiveNextRequest() 14:54:52,639 INFO [STDOUT] [Ajp13] receive() 14:54:52,639 INFO [STDOUT] [Ajp13] receive: total read = 413 14:54:52,639 INFO [STDOUT] [Ajp13] Received 2 JK_AJP13_FORWARD_REQUEST 14:54:52,639 INFO [Engine] Ajp13Processor[8009][1] invoking... 14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) . 14:54:52,708 ERROR [Engine] - Root Cause - java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java(Compiled Code)) at org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled Code)) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) . 14:54:52,751 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,752 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [Engine] Ajp13Processor[8009][1] done invoking, finishing request/response 14:54:52,753 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [STDOUT] [Ajp13] send() 14:54:52,753 INFO [Engine] Ajp13Processor[8009][1] finished handling request. 14:54:52,753 INFO [STDOUT] [Ajp13] recycle() 14:54:52,753 INFO [STDOUT] [Ajp13] receiveNextRequest() --- Can anyone point out what is the problem? My HTTPD.CONF file has: -- LoadModule jk_module libexec/mod_jk.so JkWorkersFile /jboss/catalina/conf/jk/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JKMount /mig/servlet/* ajp13 JKMount /mig/*.jsp ajp13 JKMount /mig/* ajp13 - THANKS! _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
Simple WAR file for Apache+Tomcat+JBoss
Hi: I have a simple WAR file 'mig.war' and want to see if that wokrs on Architecture - Apache + JBoss(Tomcat). I have my mig.war file in /jboss/server/default/deploy I have my mod_jk.so connector in /usr/local/apache/libexec directory My httpd.conf has following information at end: - LoadModule jk_module libexec/mod_jk.so JkWorkersFile /jboss/catalina/conf/jk/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13 JKMount /mig/servlet/* ajp13 JKMount /mig/*.jsp ajp13 JKMount /mig/* ajp13 - My workers.properties file contains - workers.tomcat_home=/jboss/catalina workers.java_home=/usr/java130 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=MY.IP.ADDR.ESS worker.ajp13.type=ajp13 --- My tomcat4-service.xml file has following: --- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=1/ -- By the way why should Port be 8009...? should it be 8080? Can anyone see if the above process is proper? When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache Page...which shows Apache is working fine. Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig it works fine... How can I know if my Apache + Tomcat Integration is working fine and that Apache REDIRECTS my JSP/Servlets to Tomcat? Should I start my Jboss first or Apache first? THANK YOU ALL! _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat NOT Running (org/xml/sax/HandlerBase)
Hi: I Integrated my Tomcat with IDEA IDE and when I run my Tomcat I get following error- wonder why? Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.catalina.startup.Catalina.createStartMapper(Catalina.java:280) at org.apache.catalina.startup.Catalina.start(Catalina.java:722) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Process terminated with exit code 2 I have set Tomcat parameters in IDEA IDE with following Parameters: .. C:\jdk1.3\bin\javaw.exe -Djava.endorsed.dirs=C:\jboss-3.0.0_tomcat-4.0.3\catalina\bin;C:\jboss-3.0.0_tomcat-4.0.3\catalina\common\lib -Dcatalina.base=C:\Documents and Settings\mkithany\.IntelliJIdea\system\tomcat_kithany_c6c7ed18 -Dcatalina.home=C:\jboss-3.0.0_tomcat-4.0.3\catalina -Djava.io.tmpdir=C:\jboss-3.0.0_tomcat-4.0.3\catalina\temp -classpath C:\jdk1.3\lib\tools.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\bin\bootstrap.jar;;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\catalina.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\jakarta-regexp-1.2.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-common.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-default.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-invoker.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-manager.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-snoop.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-webdav.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\tomcat-ajp.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\tomcat-util.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\warp.jar;C:\jboss-3.0.0_tomcat-4.0.3\server\default\deploy\kithany.war\WEB-INF\classes;C:\jboss-3.0.0_t omcat-4.0.3\catalina\bin\bootstrap.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\common\lib\naming-common.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\common\lib\naming-resources.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\common\lib\servlet.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\catalina.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\jakarta-regexp-1.2.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-common.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-default.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-invoker.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-manager.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-snoop.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\servlets-webdav.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\tomcat-ajp.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\ser ver\lib\tomcat-util.jar;C:\jboss-3.0.0_tomcat-4.0.3\catalina\server\lib\warp.jar;C:\jdk1.3;C:\jdk1.3\jre\lib\i18n.jar;C:\jdk1.3\jre\lib\jaws.jar;C:\jdk1.3\jre\lib\rt.jar;C:\jdk1.3\jre\lib\sunrsasign.jar org.apache.catalina.startup.Bootstrap start .. Any related information on above is appreciated. THANKS! _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat + IntelliJ Integration NOT WORKING
Hello: I am using IntelliJ IDE (v 3.0) for my J2EE applications. I am also using Tomcat 4.0. When in my IntelliJ IDE specify my location of my Tomcat Class files, and then try to RUN my TOMCAT from within IntelliJ IDE I get following ERROR - wonder why? I read the DOCUMENTATION posted at www.phasesoft.com/articles/tomcat4idea/2.html --- Information: 1 error Information: 0 warnings Error: javac: invalid argument: C:\Program Files\Apache_Tomcat_4.0\webapps\examples\WEB-INF\classes\compressionFilters\CompressionResponseStream.java Information: use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path][-nowrite][-deprecation][-d dir][-Jruntime flag] file.java... --- Any related information on above is appreciated. Thanks! _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Errors with IntelliJ (REF: CompressionResponseStream.java)
Hello: I am using IntelliJ IDE for my J2EE applications. I am also using Tomcat 4.0. When in my IntelliJ IDE specify my location of my Tomcat Class files, and then try to RUN my TOMCAT from within IntelliJ IDE I get following ERROR - wonder why? --- Information: 1 error Information: 0 warnings Error: javac: invalid argument: C:\Program Files\Apache_Tomcat_4.0\webapps\examples\WEB-INF\classes\compressionFilters\CompressionResponseStream.java Information: use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path][-nowrite][-deprecation][-d dir][-Jruntime flag] file.java... --- Any related information on above is appreciated. Thanks! _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Errors-Tomcat Integration with IntelliJ (Ref:CompressionResponseStream.java)
Hello: I am using IntelliJ IDE for my J2EE applications. I am also using Tomcat 4.0. When in my IntelliJ IDE specify my location of my Tomcat Class files, and then try to RUN my TOMCAT from within IntelliJ IDE I get following ERROR - wonder why? --- Information: 1 error Information: 0 warnings Error: javac: invalid argument: C:\Program Files\Apache_Tomcat_4.0\webapps\examples\WEB-INF\classes\compressionFilters\CompressionResponseStream.java Information: use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path][-nowrite][-deprecation][-d dir][-Jruntime flag] file.java... --- Any related information on above is appreciated. Thanks! _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache + mod_ssl - Install/config
Hi Experts! I want to INSTALL and CONFIGURE my APACHE 1.3.27 for SSL. SO, I got mod_ssl from the site and installed it using #pwd /opt/freeware/src/packages/SOURCES/mod_ssl-2.8.11-1.3.27 # ./configure --with-apache=../apache_1.3.27 --with-ssl=/Downloads/openssl-0.9.6g --with-crt=/usr/local/ssl/bin/cert.cer --with-key=/usr/local/ssl/bin/private.key --prefix=/kit --enable-shared=ssl #cd .. #cd apache_1.3.27 #make #make certificate #make install This DOCUMENTATION was given in README file in the above directory. Later when I check if my APACHE was configured for SSL by using: # ./httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c suexec: disabled; invalid wrapper /kit/bin/suexec # As Seen above, MOD_SSL Module is NOT LISTED above. When I Installed/configured (as shown above) I did not receive any ERROR - but still could NOT see if MOD_SSL was configured? Any suggestions/hints _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
SSL Config on Tomcat (Error)
Hi Experts: I want to Configure my TOMCAT for SSL and was reading the SSL Config How-To posted at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html#Edit%20the%20Tomcat%20Configuration%20File; I made all the changes as was mentioned above and when excute Catalina I get following error--- - # ./catalina.sh run Using CATALINA_BASE: /tom Using CATALINA_HOME: /tom Using CATALINA_TMPDIR: /tom/temp Using JAVA_HOME: /usr/java130 Starting service Tomcat-Standalone Apache Tomcat/4.0.4 Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file Starting service Tomcat-Apache Apache Tomcat/4.0.4 StandardServer.await: create[8005]: java.net.BindException: The socket name is already in use. java.net.BindException: The socket name is already in use. at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Thanks! _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
SSL Config on Tomcat (Error)
Hi: Here is the transcripts of my SERVER.XML file: --- Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone !-- Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75enableLookups=true redirectPort=8443acceptCount=10 debug=0 connectionTimeout=6/ -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS keystorePass=kithany108/ /Connector /Service Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ /Engine /Service /Server --- -Original Message- From: Peter Romianowski [mailto:megapero;gmx.de] Sent: Wednesday, November 13, 2002 11:53 AM To: 'Tomcat Users List' Subject: RE: SSL Config on Tomcat (Error) The error message you got indicates that there is already a service listening on that port. Please send your server.xml for further investigation and try to figure out what listens on which port and if you have other software running (like apache) that might listen to a port specified in your server.xml. Peter -Original Message- From: Manoj Kithany [mailto:manojkithany108;hotmail.com] Sent: Wednesday, November 13, 2002 5:23 PM To: [EMAIL PROTECTED] Subject: SSL Config on Tomcat (Error) Hi Experts: I want to Configure my TOMCAT for SSL and was reading the SSL Config How-To posted at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.htm l#Edit%20the%20Tomcat%20Configuration%20File I made all the changes as was mentioned above and when excute Catalina I get following error--- -- --- # ./catalina.sh run Using CATALINA_BASE: /tom Using CATALINA_HOME: /tom Using CATALINA_TMPDIR: /tom/temp Using JAVA_HOME: /usr/java130 Starting service Tomcat-Standalone Apache Tomcat/4.0.4 Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file Starting service Tomcat-Apache Apache Tomcat/4.0.4 StandardServer.await: create[8005]: java.net.BindException: The socket name is already in use. java.net.BindException: The socket name is already in use. at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) -- --- Thanks! _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat Application on Port 443 or 8080?
Hi Experts: My Apache+SSL is working now - thanks to you all. I checked it using https://www.kithany.com. However, I have a small Application which contains JSP+Servlets which calls Oracle DB via JDBC. This application is working fine when I type http://www.kithany.com:8080/kithany/index.jsp but when I try HTTPS as https://www.kithany.com:8080/kithany/index.jsp it does'nt work - ie page does'nt shows up. I know that HTTPS listens to port 443 and my Application(Tomcat+JBoss) listens to port 8080 - so how do I integrate both the ports to work together? Any useful information on above is appreciated. THANKS! _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat Application on Port 443 or 8080?
Hi Experts: THANK YOU for your reply. I am using mod_jk.so as a Connector for Apache(1.3.27) and Tomcat. In httpd.conf, I have added following information (after reading the documentation): --- LoadModule jk_module /opt/freeware/apache/libexec/mod_jk.so JkWorkersFile /usr/local/apache1326/conf/workers.properties JkLogFile /jboss/conf/catalina/log JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13 JKMount /uno/* ajp13 --- Later, when check LOG files it shows following: -- Filename: error_log [Tue Nov 12 16:09:22 2002] [error] Cannot remove module mod_jk.c: not found in module list [Tue Nov 12 16:09:22 2002] [warn] Loaded DSO /opt/freeware/apache/libexec/mod_jk.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) [Tue Nov 12 16:09:23 2002] [notice] Apache/1.3.27 (Unix) mod_ssl/2.8.11 OpenSSL/0.9.6e configured -- resuming normal operations [Tue Nov 12 16:09:23 2002] [notice] Accept mutex: pthread (Default: pthread) -- Later when I try https://www.kithany.com it works but when I try https://www.kithany.com/kithany/register.jsp or even https://www.kithany.com:8443/kithany/register.jsp - it shows Not Found - wonder why. However, in NORMAL mode it works just by http://www.kithany.com:8080/kithany/register.jsp Any related information is appreciated. THANKS! From: Milt Epstein [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Tomcat Application on Port 443 or 8080? Date: Tue, 12 Nov 2002 15:42:46 -0600 (CST) On Tue, 12 Nov 2002, Manoj Kithany wrote: Hi Experts: My Apache+SSL is working now - thanks to you all. I checked it using https://www.kithany.com. However, I have a small Application which contains JSP+Servlets which calls Oracle DB via JDBC. This application is working fine when I type http://www.kithany.com:8080/kithany/index.jsp but when I try HTTPS as https://www.kithany.com:8080/kithany/index.jsp it does'nt work - ie page does'nt shows up. If you're using the default ports that are set in Tomcat's out of the box server.xml, 8080 is the port Tomcat standalone uses for direct http communication. This means that it's not going through Apache, and it's not for https/SSL communication. That explains why the first one works and the second one doesn't. I know that HTTPS listens to port 443 and my Application(Tomcat+JBoss) listens to port 8080 - so how do I integrate both the ports to work together? Any useful information on above is appreciated. Well, do you want to use Tomcat integrated with Apache, or Tomcat standalone (or both)? If you don't want to use Tomcat standalone, I suggest you disable it's HTTP Connector -- you can do this by commenting it out in server.xml. Now, assuming you set up Apache+SSL for a reason, you probably want to use that for your https communication. That means the URL you should use is: https://www.kithany.com/kithany/index.jsp This will go through Apache (on port 443, the default for https). But for this to work, that is, to get to Tomcat, you have to make sure you have the proper configuration set up, mostly in terms of the connector directives in your Apache httpd.conf file. (You don't say what connector you're using, perhaps it's mod_jk.) _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Simple Bean not working but Servlet/JSP Working
Hi Everyone! As you all mentioned, I tried to use package for my beans/servlets. My modified directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean) /kithany/WEB-INF/classes/mybean/FormBean.class (package mybean) /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:534) at org.apache.jsp.process$jsp.jspInit(process$jsp.java:17) at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:90) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:142) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:178) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) My process.jsp file is: %@ page import=java.util.*, mybean.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=mybean.FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % My web.xml file is as shown below: --- web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app --- I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] From: Ron Day [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 10:20:30 -0400 You have to put your java classes in a package. If you do not, and put the class files in WEB-INF/classes then Tomcat cannot find them because this is not the default package location for Tomcat. Bottom line: always use pacjages for your classes ! ron _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] tsdok -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Simple Bean not working but Servlet/JSP Working
Hi Everyone! As you all mentioned, I tried to use package for my beans/servlets. My modified directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean) /kithany/WEB-INF/classes/mybean/FormBean.class (package mybean) /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:534) at org.apache.jsp.process$jsp.jspInit(process$jsp.java:17) at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:90) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:142) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:178) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) My process.jsp file is: %@ page import=java.util.*, mybean.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=mybean.FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % My web.xml file is as shown below: --- web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app --- I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] From: Ron Day [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 10:20:30 -0400 You have to put your java classes in a package. If you do not, and put the class files in WEB-INF/classes then Tomcat cannot find them because this is not the default package location for Tomcat. Bottom line: always use pacjages for your classes ! ron _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] tsdok -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Simple Bean not working but Servlet/JSP Working
Hi Everyone! As you all mentioned, I tried to use package for my beans/servlets. My modified directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean) /kithany/WEB-INF/classes/mybean/FormBean.class (package mybean) /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:534) at org.apache.jsp.process$jsp.jspInit(process$jsp.java:17) at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:90) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:142) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:178) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) My process.jsp file is: %@ page import=java.util.*, mybean.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=mybean.FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % My web.xml file is as shown below: --- web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app --- I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] From: Ron Day [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 10:20:30 -0400 You have to put your java classes in a package. If you do not, and put the class files in WEB-INF/classes then Tomcat cannot find them because this is not the default package location for Tomcat. Bottom line: always use pacjages for your classes ! ron _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] tsdok -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: JBoss-2.4.8_Tomcat-4.0.4 not working by default
Hi Rajesh, I was also facing same problem for over 2 weeks or so - finally figured out (after taking some help from this list and JOHN) Anyways, when you install JBoss 3.0+ there is no DEFAULT WEB application and no DEFAULT CONTEXT set up (READ JBOSS FAQ...its' mentioned there). What you have to do is create a simple WEB application, make WAR file and put that in /jboss/server/default/deploy directory and it should work. This is what I did and it worked. Say I ahve following directory struct: /kithany (root - this is my application directory) /kithany/*.html (any html files) /kithany/*.jsp (any jsp files) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/*.java (any JAVA files) /kithany/WEB-INF/classes/*.class (any CLASS files) /kithany/META-INF/application.xml The you creat WAR file as: #cd /kithany #jar -cvfM kithany.war . (notice the DOT here!!!) Then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/index.html (or whatever html file) The other approach is to have a DIRECTORY named say TEST.WAR (notice .WAR extension!!!) just under webapps directory. Hope this information helps. Manoj G. Kithany From: Rajeshkumar.R [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: JBoss-2.4.8_Tomcat-4.0.4 not working by default Date: Wed, 25 Sep 2002 08:37:46 +0530 _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Simple Bean not working but Servlet/JSP Working
Hi Mr. Reynir, THANKS for reply. I have already removed the package name from the FormBean.java file. Please help. Thanks! Manoj G. Kithany From: Reynir Hübner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean not working but Servlet/JSP Working Date: Sun, 22 Sep 2002 20:47:21 - do you have the bean specified in a package ? either put it into a package (and the correct folder) as /classes/com/domain/packagename/FormBean.class and then use this (with import line), or remove the package com.domain.packagename; from the file, and it should work. hope it helps [EMAIL PROTECTED] -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: 22. september 2002 20:47 To: [EMAIL PROTECTED] Subject: Simple Bean not working but Servlet/JSP Working Hi Experts, I tried a simple JSP/Servlet applications and it worked. I am using Apache 1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle) Now, I am trying for simple Bean Application with JSP/Servlets and Html pages. My directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/FormBean.java /kithany/WEB-INF/classes/FormBean.class /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. -- -- Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/proc ess$jsp.java:72: Class org.apache.jsp.FormBean not found. FormBean formHandler = null; ^ An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/proc ess$jsp.java:75: Class org.apache.jsp.FormBean not found. formHandler= (FormBean) ^ An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/proc ess$jsp.java:80: Class org.apache.jsp.FormBean not found. formHandler = (FormBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), FormBean); -- -- My process.jsp file is: -- -- %@ page import=java.util.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % -- -- My web.xml file is as shown below: -- - web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app -- - I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
RE: Simple Bean not working but Servlet/JSP Working
Hi Everyone! As you all mentioned, I tried to use package for my beans/servlets. My modified directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean) /kithany/WEB-INF/classes/mybean/FormBean.class (package mybean) /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:534) at org.apache.jsp.process$jsp.jspInit(process$jsp.java:17) at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:90) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:142) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:178) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) My process.jsp file is: %@ page import=java.util.*, mybean.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=mybean.FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % My web.xml file is as shown below: --- web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app --- I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] From: Ron Day [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 10:20:30 -0400 You have to put your java classes in a package. If you do not, and put the class files in WEB-INF/classes then Tomcat cannot find them because this is not the default package location for Tomcat. Bottom line: always use pacjages for your classes ! ron _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Simple Bean not working but Servlet/JSP Working
Hi David, THANKS for your reply. I have the following directory struct (it had forms.properties file in my directory which I missed to mention in email). It is still giving me same error: /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean) /kithany/WEB-INF/classes/mybean/FormBean.class(package mybean) /kithany/WEB-INF/classes/forms.properties /kithany/WEB-INF/classes/mybean/forms.properties /kithany/META-INF/application.xml The error it gives is: -- java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key /kithany/retry.jsp at java.util.ResourceBundle.getObject(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getString(ResourceBundle.java(Compiled Code)) at org.apache.jsp.process$jsp._jspService(process$jsp.java:142) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) -- THANKS again. Manoj G. Kithany From: David Cassidy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 16:13:57 +0100 Manoj, the error message says it all... 'java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US' Where is your file that you reference ... bundle = ResourceBundle.getBundle(forms); The error message is 'I can't find this file' you don't list the forms file in your directory listing ... David _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Simple Bean not working but Servlet/JSP Working
Hi David, THANKS again. My forms.properties file contains only: -- process.success=success.jsp process.retry=retry.jsp - DO you think the file name should be forms.properties or we can have anything? THANKS again! Manoj G. Kithany From: David Cassidy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 16:45:30 +0100 What's in this properties file ? The error message mentions a java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key /kithany/retry.jsp Like it's trying to use /kithany/retry.jsp as a key within the resources file ?. David Manoj Kithany wrote: Hi David, THANKS for your reply. I have the following directory struct (it had forms.properties file in my directory which I missed to mention in email). It is still giving me same error: /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean) /kithany/WEB-INF/classes/mybean/FormBean.class(package mybean) /kithany/WEB-INF/classes/forms.properties /kithany/WEB-INF/classes/mybean/forms.properties /kithany/META-INF/application.xml The error it gives is: -- java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key /kithany/retry.jsp at java.util.ResourceBundle.getObject(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getString(ResourceBundle.java(Compiled Code)) at org.apache.jsp.process$jsp._jspService(process$jsp.java:142) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) -- THANKS again. Manoj G. Kithany From: David Cassidy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Simple Bean not working but Servlet/JSP Working Date: Mon, 23 Sep 2002 16:13:57 +0100 Manoj, the error message says it all... 'java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US' Where is your file that you reference ... bundle = ResourceBundle.getBundle(forms); The error message is 'I can't find this file' you don't list the forms file in your directory listing ... David _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JSP working but Servlets not working
Hi Experts, Greetings! I am using Apache 1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle) I treid to creat a small Web Application. My JSP files are WORKING properly BUT when Servlet is called (from JSP Page), I get No Context COnfigured Error My Directory structure is as follows: /kithany (root) /kithany/register.htm /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/HelloWorldExample.java /kithany/WEB-INF/classes/HelloWorldExample.class /kithany/META-INF/application.xml I have my APPLICATION.XML file as follows: - ?xml version=1.0 encoding=ISO-8859-1? application display-nameKITHANY/display-name module web web-urikithany.war/web-uri context-root/kithany/context-root /web /module /application - And, my WEB.XML file is as: - ?xml version=1.0 encoding=UTF-8? !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-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet welcome-file-list welcome-file index.jsp /welcome-file /welcome-file-list /web-app - My JSP file register.htm is shown below. This file calls a SERVLET HelloWorldExample.class when user clicks. - html body form action=/HelloWorldExample method=post center table cellpadding=4 cellspacing=2 border=0 th bgcolor=#FF colspan=2 font size=5USER REGISTRATION/font br font size=1sup*/sup Required Fields/font /th tr bgcolor=#c8d8f8 td valign=top bFirst Namesup*/sup/b ...rest of the file is not shown. - I then create WAR file as follows: - #pwd #/kithany #jar -cvfM kithany.war . - Which I then, put it into /jboss/server/default/deploy and then start my JBOSS(Tomcat/Catalina) Server and then on browser, I type following: http://MY_IP_ADDR_ESS:8080/kithany/register.html which displays the file correctly. When the user clicks SUBMIT, the file should call HelloWorldExample.class file BUT it displays Error like: Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request Experts, could you please guide me on to this. THANKS! Manoj G. Kithany [EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JSP working but Servlets not working
Hi Experts, Greetings! I am using Apache 1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle) I treid to creat a small Web Application. My JSP files are WORKING properly BUT when Servlet is called (from JSP Page), I get No Context COnfigured Error My Directory structure is as follows: /kithany (root) /kithany/register.htm /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/HelloWorldExample.java /kithany/WEB-INF/classes/HelloWorldExample.class /kithany/META-INF/application.xml I have my APPLICATION.XML file as follows: - ?xml version=1.0 encoding=ISO-8859-1? application display-nameKITHANY/display-name module web web-urikithany.war/web-uri context-root/kithany/context-root /web /module /application - And, my WEB.XML file is as: - ?xml version=1.0 encoding=UTF-8? !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-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet welcome-file-list welcome-file index.jsp /welcome-file /welcome-file-list /web-app - My JSP file register.jsp is shown below. This file calls a SERVLET HelloWorldExample.class when user clicks. - form action=/HelloWorldExample method=post ...rest of the file is not shown. - I then create WAR file as follows: - #pwd #/kithany #jar -cvfM kithany.war . - Which I then, put it into /jboss/server/default/deploy and then start my JBOSS(Tomcat/Catalina) Server and then on browser, I type following: http://MY_IP_ADDR_ESS:8080/kithany/register.html which displays the file correctly. When the user clicks SUBMIT, the file should call HelloWorldExample.class file BUT it displays Error like: Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request Experts, could you please guide me on to this. THANKS! Manoj G. Kithany [EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: JSP working but Servlets not working
Hi Mr Dave and Lindomar, THANKS for your reply. I tried to give actin as /kithany/servlet/HelloWorldExample but now it is giving me following error - wonder why: - Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. java.util.MissingResourceException: Can't find bundle for base name LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:547) at HelloWorldExample.doPost(HelloWorldExample.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943 - THANKS again Experts! Mano From: Lindomar [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: JSP working but Servlets not working Date: Sun, 22 Sep 2002 16:26:10 -0300 What Dave said is ok, but try: form action=/kithany/HelloWorldExample method=post Because your context /HelloWorldExample was configurate in your web.xml. It was work too. - Original Message - From: Dave Ford [EMAIL PROTECTED] form action=/kithany/servlet/HelloWorldExample method=post _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Simple Bean not working but Servlet/JSP Working
Hi Experts, I tried a simple JSP/Servlet applications and it worked. I am using Apache 1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle) Now, I am trying for simple Bean Application with JSP/Servlets and Html pages. My directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/FormBean.java /kithany/WEB-INF/classes/FormBean.class /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/process$jsp.java:72: Class org.apache.jsp.FormBean not found. FormBean formHandler = null; ^ An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/process$jsp.java:75: Class org.apache.jsp.FormBean not found. formHandler= (FormBean) ^ An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/process$jsp.java:80: Class org.apache.jsp.FormBean not found. formHandler = (FormBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), FormBean); My process.jsp file is: %@ page import=java.util.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % My web.xml file is as shown below: --- web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app --- I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Simple Bean not working but Servlet/JSP Working
Hi Mr. Reynir, THANKS for reply. I have already removed the package name from the FormBean.java file. Please help. Thanks! Manoj G. Kithany From: Reynir Hübner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean not working but Servlet/JSP Working Date: Sun, 22 Sep 2002 20:47:21 - do you have the bean specified in a package ? either put it into a package (and the correct folder) as /classes/com/domain/packagename/FormBean.class and then use this (with import line), or remove the package com.domain.packagename; from the file, and it should work. hope it helps [EMAIL PROTECTED] -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: 22. september 2002 20:47 To: [EMAIL PROTECTED] Subject: Simple Bean not working but Servlet/JSP Working Hi Experts, I tried a simple JSP/Servlet applications and it worked. I am using Apache 1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle) Now, I am trying for simple Bean Application with JSP/Servlets and Html pages. My directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml /kithany/WEB-INF/classes/FormBean.java /kithany/WEB-INF/classes/FormBean.class /kithany/META-INF/application.xml Then, I create the kithany.war file as shown below: #cd /kithany #jar -cvfM kithany.war . I then put the kithany.war file in /jboss/server/default/deploy directory and In your browser type: http://IP_ADDR_ESS:8080/kithany/register.html which works fine. In my register.html file my action is form action=/kithany/process.jsp method=post When I click the SUBMIT button in register.html form (which then calls bean and servelte), I get following Error - wonder why. -- -- Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - that prevented it from fulfilling this request org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/proc ess$jsp.java:72: Class org.apache.jsp.FormBean not found. FormBean formHandler = null; ^ An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/proc ess$jsp.java:75: Class org.apache.jsp.FormBean not found. formHandler= (FormBean) ^ An error occurred at line: 10 in the jsp file: /process.jsp Generated servlet error: /jboss-3.0.0_tomcat-4.0.3/catalina/work/localhost/kithany/proc ess$jsp.java:80: Class org.apache.jsp.FormBean not found. formHandler = (FormBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), FormBean); -- -- My process.jsp file is: -- -- %@ page import=java.util.* % %! ResourceBundle bundle =null; public void jspInit() { bundle = ResourceBundle.getBundle(forms); } % jsp:useBean id=formHandler class=FormBean scope=request ** THIS IS MY LINE 10 jsp:setProperty name=formHandler property=*/ /jsp:useBean % if (formHandler.validate()) { % jsp:forward page=%=bundle.getString(\/kithany/process.success\)%/ % } else { % jsp:forward page=%=bundle.getString(\/kithany/process.retry\)%/ % } % -- -- My web.xml file is as shown below: -- - web-app servlet servlet-nameFormBean/servlet-name servlet-classFormBean/servlet-class /servlet servlet servlet-nameHelloWorldExample/servlet-name servlet-classHelloWorldExample/servlet-class /servlet servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/HelloWorldExample/*/url-pattern /servlet-mapping servlet-mapping servlet-nameFormBean/servlet-name url-pattern/FormBean/*/url-pattern /servlet-mapping web-app -- - I would really appreciate if any of you Experts could put some light onto this error. THANKS! Manoj G. Kithany [EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
Simple Question on (Tomcat+JBoss) and Apache
Hi, I am using Apache 1.3.26 + Tomcat 4.0.4 (Catalina) which is embedded with JBoss. When I start JBOSS, is Tomcat also started or do we have to explicity start Ctatalina...? Any information is appreciated. THANKS! Manoj G. Kithany _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: : Simple Question on (Tomcat+JBoss) and Apache
Thanks Stefan, My /jboss/server/default/deploy directory has following files: counter-service.xml ejb-management.jar hsqldb-service.xml jboss-local-jdbc.rar jboss-xa.rar jbossmq-destinations-service.xml jbossmq-service.xml jca-service.xml jms-ra.rar jms-service.xml jmx-ejb-adaptor.jar jmx-ejb-connector-server.sar jmx-html-adaptor.sar jmx-rmi-adaptor.sar mail-service.xml properties-service.xml scheduler-service.xml tomcat4-service.jar tomcat4-service.xml tomcat4-service.xml.save user-service.xml Thanks Manoj G. Kithany #From: Stefan Groschupf [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: AW: Simple Question on (Tomcat+JBoss) and Apache Date: Fri, 20 Sep 2002 00:10:43 +0200 When I start JBOSS, is Tomcat also started or do we have to explicity start Ctatalina...? So far your catalina service archive is in the jboss deploy directory its start with jboss. trace the start output! Hth, Stefan _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: : Simple Question on (Tomcat+JBoss) and Apache
Hi Stefan, Thanks again. I am using Apache as Web Server, Tomcat as Application Server (for JSP/Servlets) and JBoss for EJB Container. From the files listed in my last email, do you mena to say it is not proper combination...? Please clarify. THANKS for your time! Manoj G. Kithany From: Stefan Groschupf [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: AW: : Simple Question on (Tomcat+JBoss) and Apache Date: Fri, 20 Sep 2002 00:33:35 +0200 counter-service.xml auto keys ejb-management.jar enterprice beans, you some? hsqldb-service.xml you use hypersonic sql? jboss-local-jdbc.rar jboss-xa.rar jbossmq-destinations-service.xml jbossmq-service.xml jca-service.xml Jboss security. jms-ra.rar jms-service.xml you use jms? jmx-ejb-adaptor.jar you use ejbs? jmx-ejb-connector-server.sar jmx-html-adaptor.sar you want that someone can remote config xour machine on port 8082? jmx-rmi-adaptor.sar or via rmi? mail-service.xml you send mails? properties-service.xml jboss application property service scheduler-service.xml .. tomcat4-service.jar tomcat4-service.xml tomcat4-service.xml.save delete it! user-service.xml If that's is a production system, please read the jboss beginner pdf @ sourceforge.net Htht Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache+Tomcat Error (No Context configured)
Hi Experts, With reference to John's last email, I created the CONTEXT in SERVER.XML file and added a following CONTEXT: Context path=/kithany docBase=kithany debug=0 / Also, my Directory structure is as follows: /kithany /kithany/META-INF/application.xml /kithany/WEB-INF/web.xml /kithany/foo.jsp /kithany/index.html /kithany/kithany.war I have my APPLICATION.XML file as follows: - ?xml version=1.0 encoding=ISO-8859-1? application display-nameKITHANY/display-name module web web-urikithany.war/web-uri context-root/kithany/context-root /web /module /application - And, my WEB.XML file is as: - ?xml version=1.0 encoding=UTF-8? !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 session-config session-timeout 30 /session-timeout /session-config welcome-file-list welcome-file index.jsp /welcome-file welcome-file index.html /welcome-file welcome-file index.htm /welcome-file /welcome-file-list /web-app - I then creat WAR file as follows: - #pwd #/kithany #jar -cvfM kithany.war . - Which I then, put it into /jboss/server/default/deploy and then start my JBOSS(Tomcat/Catalina) Server and then on browser, I type following: http://MY_IP_ADDR_ESS:8080/kithany http://MY_IP_ADDR_ESS:8080/kithany/index.html but it gives still gives following message. Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request Experts, could you please guide me on to this. THANKS to you and to John. Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Apache+Tomcat+JBoss Error (No Context configured) Date: Tue, 17 Sep 2002 08:15:38 -0400 There are plenty of servlet and JSP examples, with source, in the examples directory of Tomcat, including a HelloWorld servlet. Your error message seems self-explanatory to me. With all due respect, I must suggest to you again (as others have) that you READ the documentation available before posting questions to the list. You cannot just create a directory and drop a WAR file in it and expect Tomcat to work. As your error message says, you need a Context element in server.xml for that file. Please consult the documentation and server.xml itself for help on how to setup a Context element (hint: do the same thing as done for the /examples Context). Setting up a Context is basic issue #1 in Tomcat configuration, it's worth learning. If you configure your Context, and still cannot access your application, then post back to the list with the error messages you get. John _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE:Ref: John's reply - Apache+Tomcat Error (No Context configured)
Hi Experts, Greetings! With reference to John's last email, I created the context in SERVER.XML file and added a following CONTEXT: Context path=/kithany docBase=/kithany debug=0 / When I run my Jboss(Tomcat) I get following ERROR at the console: - 16:51:52,986 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=/kithany, warUrl=file:/jboss-3.0.0_tomcat-4.0.3/server/default/tmp/deploy/server/default/deploy/kithany.war/76.kithany.war 16:51:53,070 ERROR [MainDeployer] could not start deployment: file:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java(Compiled Code)) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code)) - Also, my Directory structure is as follows: /kithany /kithany/META-INF/application.xml /kithany/WEB-INF/web.xml /kithany/foo.jsp /kithany/index.html /kithany/kithany.war I have my APPLICATION.XML file as follows: - ?xml version=1.0 encoding=ISO-8859-1? application display-nameKITHANY/display-name module web web-urikithany.war/web-uri context-root/kithany/context-root /web /module /application - And, my WEB.XML file is as: - ?xml version=1.0 encoding=UTF-8? !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 session-config session-timeout 30 /session-timeout /session-config welcome-file-list welcome-file index.jsp /welcome-file welcome-file index.html /welcome-file welcome-file index.htm /welcome-file /welcome-file-list /web-app - I then creat WAR file as follows: - #pwd #/kithany #jar -cvfM kithany.war . - Which I then, put it into /jboss/server/default/deploy and then start my JBOSS(Tomcat/Catalina) Server and then on browser, I type following: http://MY_IP_ADDR_ESS:8080/kithany http://MY_IP_ADDR_ESS:8080/kithany/index.html but it gives still gives following message. Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request Experts, could you please guide me on to this. THANKS to you and to John. Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Apache+Tomcat+JBoss Error (No Context configured) Date: Tue, 17 Sep 2002 08:15:38 -0400 There are plenty of servlet and JSP examples, with source, in the examples directory of Tomcat, including a HelloWorld servlet. Your error message seems self-explanatory to me. With all due respect, I must suggest to you again (as others have) that you READ the documentation available before posting questions to the list. You cannot just create a directory and drop a WAR file in it and expect Tomcat to work. As your error message says, you need a Context element in server.xml for that file. Please consult the documentation and server.xml itself for help on how to setup a Context element (hint: do the same thing as done for the /examples Context). Setting up a Context is basic issue #1 in Tomcat configuration, it's worth learning. If you configure your Context, and still cannot access your application, then post back to the list with the error messages you get. John _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache+Tomcat+JBoss Error (No Context configured)
Hi Mr. Phil, I am using Jboss+Tomcat Bundle. Thanks! Manoj G. Kithany From: Philippe de M. Sevestre [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Apache+Tomcat+JBoss Error (No Context configured) Date: Tue, 17 Sep 2002 14:22:09 -0300 Are you running the JBoss+Tomcat bundle or running them in two distinct VMs ? The drop-in deployment feature of wars in JBoss is only available when running the whole thing in a single VM. - Original Message - From: Manoj Kithany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: segunda-feira, 16 de setembro de 2002 20:16 Subject: Apache+Tomcat+JBoss Error (No Context configured) Hi Experts, Greetings! Can you provide me with the Simple HellowWorld JSP/Servlet? I want to TEST is my servers are working fine. I am using Apache 1.3.26, Tomcat 4.0.4, JBoss 3.0.3 Also, can you list the Directory structure of placing Class files, JSP files, Servlet files, WAR/EAR/JAR files? In httpd.conf I have following for Apache to know about Tomcat: LoadModule jk_module libexec/mod_jk.so JkWorkersFile /usr/local/apache1326/conf/workers.properties JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13 JKMount /uno/* ajp13 In workers.properties I have following: workers.tomcat_home=/jboss/catalina workers.java_home=/usr/java130 ps=/ worker.list=ajp12, ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=168.179.100.241 worker.ajp13.type=ajp13 I have a simple JSP file uno.jsp as follows: %@ page import=java.text.*,java.util.*% Greetings from Manoj I created the WAR/EAR file (uno.ear; uno.war) and put those in /jboss/server/default/deploy directory. I then start my JBoss (Tomcat)first and then Apache and then point my URL to http://IPADDRESS:8080/uno/uno.jsp on which I get following Error: Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request Do I have to follow the same procedure for Servlets? Do you know what this Error is about and how to tackle that. THANKS! Manoj G. Kithany _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
make HANGS execution !!!
Hi Experts, I am trying to build mod_jk for IBM AIX System - again ;=( . I am using Apache 2.0.39 with Tomcat 4.0.4 and JBOSS 3.0.3 on IBM AIX 5.1 System. I executed ./buildconf.sh and ./configure --with-apxs=/usr/local/apache2/bin/apxs without any problems. BUT, when I execute make, my execution simply HANGS and stops doing anything - wonder why? It HANGS at this point: gcc -I/usr/local/apache2/include -g -O2 -I /usr/java130/include -I /usr/java130/include/ -c ./jk_context.c -DPIC -o .libs/jk_context.l o mv -f .libs/jk_context.lo jk_context.o (cd . ln -s jk_context.o jk_context.lo) Target all is up to date. Making all in apache-2.0 /bin/sh /usr/local/apache2/build/libtool --silent --mode=compile xlc_r -I/usr/local/apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I /usr/java130/include/unix -D_REENTRANT -Wall -qHALT=E -DNO_DBM_REWRITEMAP -U__STR__ -D_USE_IRS -D _THREAD_SAFE -c mod_jk.c Any suggestion or information from the above execution output? THANKS. Manoj G. Kithany _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Donating mod_jk.so for IBM AIX System
Hi Friends, I would like to donate(email me) the much-talked-about mod_jk.so for IBM AIX 5.1 System. It took me around 2 weeks to get this done. THANKS to all you guys there at the mailing list to help out for this. Let me know if that works for you or so - beocs I am still having some problmes now on Apache side. This one is for Apache 2.0.40 for Tomcat 4.0.4 on IBM AIX 5.1 System. I could'nt send the file by this email since the email bounced back! THANKS. Manoj G. Kithany [EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
how to uninstall Apache?
Hi Experts, How can I uninstall Apache on Unix System...? Can 2 copies of Apache work on system or do I have to install one of them? THANKS! Manoj G. Kithany _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: how to uninstall Apache?
Hi John, I am confused between your previous reply and this one? Earlier you said I don't need to remove apache 1 if I have apache 2 and now you say about Apache Service - kindly clarify!!! THANKS! From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: how to uninstall Apache? Date: Fri, 6 Sep 2002 11:05:58 -0400 Right. Sorry, I have a habit of taking some things for granted. I assume someone who has root knows about services, etc. That's probably not a wise assumption to make. ;) John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 11:08 AM To: Tomcat Users List Subject: RE: how to uninstall Apache? If you have installed Apache to run as a service, it's better to remove the Apache service before uninstall. -Message d'origine- De : Turner, John [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 6 septembre 2002 16:59 À : 'Tomcat Users List' Objet : RE: how to uninstall Apache? Depends on the ports. You can have as many Apaches running as you have available ports. If you only want to use port 80, you can only have one Apache running at a time. There's no need to install Apache #1 to run Apache #2 on port 80...just don't start Apache #1 and instead start Apache #2. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Thanks!(RE: how to uninstall Apache?)
Hi John, THANKS for the detailed INformation - it's clear now - really appreciate that! THANKS again! Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: how to uninstall Apache? Date: Fri, 6 Sep 2002 11:28:58 -0400 Whew...you're root on this box? This is basic sys-admin stuff. Most people run Apache as a service on startup. If you take my comments literally, you might delete the apache directory tree without deleting the startup call to Apache. Then, the next time you reboot, you will get error messages about not being able to find Apache, etc and the Apache you DO want to start may not start. So, I guess if I have to be absolutely literal, the Apache uninstall procedure might be something like this, assuming you want to uninstall Apache 1 and leave Apache 2 alone: - make sure there are no startup scripts calling Apache 1. By startup I mean in /etc/rc.d/* or anywhere else, not the Apache 1 startup scripts in APACHE1_HOME/bin. - make sure you stop Apache 1 with APACHE1_HOME/bin/apachectl stop - delete Apache 1 dir tree Note that you DON'T have to delete ANYTHING if you don't want to. You can have Apache 1 and Apache 2 installed on your system, as long as you don't try to run BOTH on port 80. But if you WERE going to DELETE something, you would want to make sure that something else wasn't trying to call it at a later date (like a startup script in /etc/rc.d/*). John -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 11:19 AM To: [EMAIL PROTECTED] Subject: RE: how to uninstall Apache? Hi John, I am confused between your previous reply and this one? Earlier you said I don't need to remove apache 1 if I have apache 2 and now you say about Apache Service - kindly clarify!!! THANKS! From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: how to uninstall Apache? Date: Fri, 6 Sep 2002 11:05:58 -0400 Right. Sorry, I have a habit of taking some things for granted. I assume someone who has root knows about services, etc. That's probably not a wise assumption to make. ;) John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 11:08 AM To: Tomcat Users List Subject: RE: how to uninstall Apache? If you have installed Apache to run as a service, it's better to remove the Apache service before uninstall. -Message d'origine- De : Turner, John [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 6 septembre 2002 16:59 À : 'Tomcat Users List' Objet : RE: how to uninstall Apache? Depends on the ports. You can have as many Apaches running as you have available ports. If you only want to use port 80, you can only have one Apache running at a time. There's no need to install Apache #1 to run Apache #2 on port 80...just don't start Apache #1 and instead start Apache #2. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache 2.0.40 with DSO???
Hi Experts, How do I install Apache 2.0.40 with DSO? What options to include in configure? ./configure --prefix=/usr/local/apache --enable How can I check if it is installed for DSO??? THANKS! Manoj G. Kithany _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache 2.0.40 - NOT working
Hi Experts, I tried to install Apache 2.0.40 on IBM AIX System for DSO with: #./configure --prefix=/usr/local/apache --enable-module=mod_so After installation I tried to see if my Web Server is working. So, I tried to execute the following command but there was no reply. - # ./apachectl start # - I also check on the browser but it showed page not found. When I was using Apache 1.3 previously and executed apachectl start, it displayed the message httpd serevr started. Does this mean my Apache 2.0.40 Server installation is not complete? THANKS! Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat standalone Versus Apache
Hi Mr. Neal, Apache is a Web Server and Tomcat is a Servlet/JSP Container and one has to Integrate both Apache + Tomcat to use Java Servlets/JSP's. Hope this information helps. Manoj G. Kithany From: neal [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Tomcat standalone Versus Apache Date: Fri, 6 Sep 2002 14:24:21 -0700 What do most people run for production and why? Tomcat standalone or Tomcat with Apache? And for that matter, isn't the http server for Tomcat Apache - or is it something else? John Turner mentioned the possible concern with running Tomcat as root. Are there any other concerns? Performance? Security? Thanks. Neal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache 2.0.40 - NOT working
Hi Peter, THANKS! I tried to do ps -ef | grep httpd after I execute ./apachectl start but it did'nt show me any process with httpd-that was my concern. Also, I READ ALL the documentation and try it firet before shooting it on to the Message List - I apologize it that is bothering you. On web browser, I tried http://my_ip_address; on which it should show If you see this page it means Apache is working... but to me it says Page cannot be displayed THANKS again! Manoj G. Kithany From: Peter T. Abplanalp [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Apache 2.0.40 - NOT working Date: Fri, 6 Sep 2002 15:44:28 -0600 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 09:18:23PM +, Manoj Kithany wrote: After installation I tried to see if my Web Server is working. So, I tried to execute the following command but there was no reply. - # ./apachectl start # - I also check on the browser but it showed page not found. so what? was the page you are trying to get to there or not? if the httpd server was not running you would get a connection refused message, not page not found. When I was using Apache 1.3 previously and executed apachectl start, it displayed the message httpd serevr started. Does this mean my Apache 2.0.40 Server installation is not complete? how should we know? did you follow the directions? does ps - -ef | grep httpd show that there are httpd processes running? what do the logs say? you did check them, didn't you? btw - add some sort of linux documentation to the list of M's that you should FR. - -- Peter Abplanalp PGP: pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9eSG8ggA8sH0iRXQRApJiAJ9XiMNkBzPRGDoUW7h+imDDtm9VcwCgnHjH gKP3wfzQeDKN4xvlhLbMEbA= =Bng6 -END PGP SIGNATURE- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache 2.0.40 - NOT working
Hi Peter, I tried to check the logs but there were NO log files stored in /usr/local/apache/logs directory. I then checked httpd.conf for entry for Error Logs and it showed: -- ErrorLog /logs/error.log CustomLog logs/access_log -- but still no log files appear under /logs directory. Even the httpd.pid file is no seen? THANKS again! Manoj G. Kithany From: Peter T. Abplanalp [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Apache 2.0.40 - NOT working Date: Fri, 6 Sep 2002 16:07:34 -0600 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 09:51:29PM +, Manoj Kithany wrote: I tried to do ps -ef | grep httpd after I execute ./apachectl start but it did'nt show me any process with httpd-that was my concern. then apache is not running. what do the logs say? Also, I READ ALL the documentation and try it firet before shooting it on to the Message List - I apologize it that is bothering you. well, once or twice doesn't bother too much but you keep asking basic questions that aren't even related to tomcat. anyh... On web browser, I tried http://my_ip_address; on which it should show If you see this page it means Apache is working... but to me it says Page cannot be displayed well, page not found is a little different than what you are now saying which is page cannot be displayed. stop using ie for this stuff or turn off the friendly error messages. in any event, we need to see the logs. - -- Peter Abplanalp PGP: pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9eScmggA8sH0iRXQRAr85AJ9STPXHOARdN4u+OvXKy883NqWEFQCgmwgs bzljruGltAxcp33b3/ghHcE= =ShpT -END PGP SIGNATURE- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Libtool Error!!!- mod_jk
Hi Raja, Libtool simplifies the job by encapsulating both the platform-specific dependencies, and the user interface, in a single script. Libtool is designed so that the complete functionality of each host type is available via a generic interface, but nasty quirks are hidden from the programmer. Manoj G. Kithany From: Raja Sreekanth [EMAIL PROTECTED] Reply-To: Raja Sreekanth [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Libtool Error!!!- mod_jk Date: Thu, 5 Sep 2002 18:39:34 +0530 By the way what this LIBTOOL do. Sreekanth. - Original Message - From: Manoj Kithany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 6:15 PM Subject: Libtool Error!!!- mod_jk Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Libtool Error!!!- mod_jk
Hi John Good Morning! I knew only the basic information which I shared with others! Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Libtool Error!!!- mod_jk Date: Thu, 5 Sep 2002 09:29:30 -0400 If you know that much about libtool, you should be able to fix your own libtool errors!! LOL Just kidding. John -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 9:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Libtool Error!!!- mod_jk Hi Raja, Libtool simplifies the job by encapsulating both the platform-specific dependencies, and the user interface, in a single script. Libtool is designed so that the complete functionality of each host type is available via a generic interface, but nasty quirks are hidden from the programmer. Manoj G. Kithany From: Raja Sreekanth [EMAIL PROTECTED] Reply-To: Raja Sreekanth [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Libtool Error!!!- mod_jk Date: Thu, 5 Sep 2002 18:39:34 +0530 By the way what this LIBTOOL do. Sreekanth. - Original Message - From: Manoj Kithany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 6:15 PM Subject: Libtool Error!!!- mod_jk Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Libtool Error!!!- mod_jk
Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Libtool Error!!!- mod_jk
Hi Mr. John I tried running make clean and then ./buildconf.sh but still get Errors. You had also said to rerun libtool.sh - but my system does not have any such file? Also, what is the proper sequence of command execution? How do I specify HOST?: #./buildconfig.sh #./configure --with-apxs=/usr/local/apache/bin/apxs #make THANKS again! Manoj G. Kithany From: John P. Dodge [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Libtool Error!!!- mod_jk (fwd) Date: Thu, 5 Sep 2002 07:47:38 -0700 (PDT) sorry that should be make clean and rerun buildconf.sh. I had this same issue, try doing a make clean or make distclean and rerun libtool.sh. You could also specify HOST=systype on the configure line. It seemed to me that this comes up when configure or libtool is havinf trouble sniffing out the system type. I seem to remember that the make clean and rerun libtool is what worked. On Thu, 5 Sep 2002, Manoj Kithany wrote: Hi Raja, Libtool simplifies the job by encapsulating both the platform-specific dependencies, and the user interface, in a single script. Libtool is designed so that the complete functionality of each host type is available via a generic interface, but nasty quirks are hidden from the programmer. Manoj G. Kithany From: Raja Sreekanth [EMAIL PROTECTED] Reply-To: Raja Sreekanth [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Libtool Error!!!- mod_jk Date: Thu, 5 Sep 2002 18:39:34 +0530 By the way what this LIBTOOL do. Sreekanth. - Original Message - From: Manoj Kithany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 6:15 PM Subject: Libtool Error!!!- mod_jk Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Mon aéroglisseur est plein d'anguilles John P. Dodge Boeing Shared Services -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
LibTool Error (mod_jk)
Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Libtool Error!!!- mod_jk
Hi Mr. Jean, THANK YOU for your reply. You mentioned to modify following lines: But, where to modify these lines...I mean which file contains this? - mod_jk.so: mod_jk.la $(LIBTOOL) --mode=install cp $ `pwd`/$@ +++ The $ has been eaten. --- THANKS! Manoj G. Kithany From: jean-frederic clere [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Libtool Error!!!- mod_jk Date: Thu, 05 Sep 2002 18:41:55 +0200 Manoj Kithany wrote: Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination That is clearly a make problem (you need gnu make) but not a libtool problem. +++ mod_jk.so: mod_jk.la $(LIBTOOL) --mode=install cp $ `pwd`/$@ +++ The $ has been eaten. Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk.conf file is not created
Hi Experts, I am using Apache(2.0.40), JBOSS(3.0.3) and Tomcat(4.0.4) on IBM AIX 5.1 System. After spending 1 week on Integrating Apache and Tomcat on IBM AIX System (and getting HELP from you guys from Mailing List), I finally builded mod_jk.so file for this platform. I also configured Tomcat's server.xml and workers.properties file BUT when I start my JBOSS engine, mod_jk.conf file is NOT created automatically. I refereed the following document to configure that: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html Do you experts have any suggestion/information as to why mod_jk.conf file is not created automatically? The above document says the file is CREATED AUTOMATICALLY once you start Tomcat! Any related information on this would be appreciated. THANKS! Manoj G. Kithany _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk.conf file is not created
Hi Mr. Peter, Greetings! Thank You for the information. I tried to include following to tomcat4-service.xml file but in vain Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=1 / Any further information? THANKS again! Manoj G. Kithany From: Peter T. Abplanalp [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: mod_jk.conf file is not created Date: Thu, 5 Sep 2002 15:55:05 -0600 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 05, 2002 at 09:51:15PM +, Manoj Kithany wrote: I am using Apache(2.0.40), JBOSS(3.0.3) and Tomcat(4.0.4) on IBM AIX 5.1 System. I also configured Tomcat's server.xml and workers.properties file BUT when I start my JBOSS engine, mod_jk.conf file is NOT created automatically. I refereed the following document to configure that: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html this is actually a jboss issue. you need to modify the tomcat4-service.xml in the deploy directory of whichever server you are using. i.e. default or all. the catalina.home server.xml file is not used. - -- _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: configuring 4.0.4 with Apache 2.0.40 (mod_jk)
Hi John, Syntax Error Addmodule means that your Apache is NOT installed with DSO - Dynamic Shared Object - check on that. Try installing Apache using... ./configure --prefix=/usr/local/apache --enable-so I am also struggling integrating APache with Tomcat. I had been working for 7 days on this - still trying to figure it out. Anyways, good luck. Manoj G. Kithany From: Blackmore, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: configuring 4.0.4 with Apache 2.0.40 (mod_jk) Date: Thu, 05 Sep 2002 19:11:09 -0400 I'm struggling like mad trying to get this to work, and I've had nothing but problems. I'm in Solaris 8, Apache 2.0.40, and Tomcat 4.0.4. First, is this hopeless? Do I need to up/downgrade something? I'd be grateful for a success story at this point, someone that has this environment. After compiling mod_jk.so (took about 2 days), I added the lines from the mod_jk howto to httpd.conf: LoadModulejk_module libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevelinfo JkLogStampFormat [%a %b %d %H:%M:%S %Y] except there is no libexec, so I used lib. I copied the mod_jk.so by hand since 'ant install' didn't work. I also changed the dirs to what my dirs really are for JkWorkersFile and JkLogFile. I get the following error when starting Apache: Syntax error on line 232 of /Tools/Apache/conf/httpd.conf: Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration I have no idea what this means - can anyone help? Thanks, John ** This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk for Tomact 4.0.4/Apache 2.0
Hi Kishore, THANKS for information! I installed m4 and all other tools(libtool, autoconf,,,) I also tried running ./buildconf.sh on which it created configure file. I also executed ./configure but when I execute make it shows following errors - wonder why?: --- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. - I have installed libtool - but still it shows above errors. You simply executed make command or do you have to pass any paramneters? THANKS! Manoj G. Kithany Stop. # From: Shah, Kishor (Kishor) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Date: Tue, 3 Sep 2002 14:20:06 -0400 All, I was successful in creating mod_jk.so. Here's what I had just in case someone finds this useful: To make needed the following packages: 1) gcc 2.95.3 2) libtool 1.4 (I downloaded the src and made per gabriele's suggestions) 3) autoconf 2.53 4) automake 1.6 5) m4 1.4 6) Perl 5.005_003 7) JDK 1.4.0.01 When buildconf.sh runs, it creates the configure script. Then I used the configure, ./configure \ --with-apxs=/ust/local/apache2/bin/apxs \ --with-java-home=${JAVA_HOME} \ --with-java-platform=2 \ --enable-jni Kishor -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:30 PM To: 'Tomcat Users List' _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Errors for building mod_jk
Hi Experts, Greetings! I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. I am havin high time in integrating APache and Tomcat. Binary mod_jk is NOT available for IBM AIX System - so I try to build it using following procedure but get ERRORS. I tried to execute ./buildconf.sh and then execute ./configure without having any problems. But when I execute make I get following Error - wonder why? Can you please look into this problem - would really appreciate your precious time. The Error is: -- # make Making all in common Target all is up to date. Making all in apache-2.0 /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include -I/usr/local/apache /os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I /usr/java130/incl ude/ -D_REENTRANT -Wall -c mod_jk.c mkdir .libs cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include -I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I /usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c -DPIC -o . libs/mod_jk.lo ../libtool[847]: cc: not found make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # Any infor, from the above transcript would be appreciated! THANKS again. Manoj G. Kithany _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk.c Compilation Errors
Hi Experts, Greetings! I am using Apache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. I am havin high time in integrating APache and Tomcat. Binary mod_jk is NOT available for IBM AIX System - so I try to build it using following procedure but get ERRORS. I tried to execute ./buildconf.sh and then execute ./configure without having any problems. But when I execute make I get following Error - wonder why? It says header fiels are missing!!! Can you please look into this problem - would really appreciate your precious time. The Error is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=compile /usr/bin/gcc -DPACKAGE=\mod_jk\ -DVERSION=\1.2.0\ -DHAVE_DLFCN_H=1 -I. -I. -I../comm on -g -O2 -c -o mod_jk.lo `test -f mod_jk.c || echo './'`mod_jk.c rm -f .libs/mod_jk.lo /usr/bin/gcc -DPACKAGE=\mod_jk\ -DVERSION=\1.2.0\ -DHAVE_DLFCN_H=1 -I. -I. -I../common -g -O2 -c mod_jk.c -DPIC -o .libs/mod_jk.lo mod_jk.c:71: ap_config.h: No such file or directory mod_jk.c:72: httpd.h: No such file or directory mod_jk.c:73: http_config.h: No such file or directory mod_jk.c:74: http_request.h: No such file or directory mod_jk.c:75: http_core.h: No such file or directory mod_jk.c:76: http_protocol.h: No such file or directory mod_jk.c:77: http_main.h: No such file or directory mod_jk.c:78: http_log.h: No such file or directory mod_jk.c:79: util_script.h: No such file or directory mod_jk.c:80: util_date.h: No such file or directory mod_jk.c:81: http_conf_globals.h: No such file or directory In file included from jk_global.h:68, from jk_service.h:73, from mod_jk.c:97: jk_version.h:80: warning: `PACKAGE' redefined *Initialization*:1: warning: this is the location of the previous definition make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # Any infor, from the above transcript would be appreciated! THANKS again. Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
make Errors for Libtool - mod_jk
Hi Experts! I am getting fololowing Errors when configuring, making and building mod_jk for IBM AIX System. I am using Apache(1.3) and Tomcat(4.0.4) on IBM AIX (5.1) I started with executing ./buildconf.sh and ./configure --with-apxs=/usr/local/apache/bin/apxs which worked propewrly without any Errors. But when I execute make command I get following Error. Any information of how to eliminate that? -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # --- THANKS! Manoj G. Kithany _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: make Errors for Libtool - mod_jk
Hi Mr. John, THANKS! I tried to do what Error suggest - but got this message - do not know what this message suggest. I alread have libtool installed in the system. Any Suggestions / information on this? --- # ./libtool --help --mode=install Usage: libtool [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the `install' or `cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized). -- From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: make Errors for Libtool - mod_jk Date: Wed, 4 Sep 2002 16:34:05 -0400 Have you done as the error message suggests: Try `libtool --help --mode=install' for more information. John -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 4:31 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: make Errors for Libtool - mod_jk Hi Experts! I am getting fololowing Errors when configuring, making and building mod_jk for IBM AIX System. I am using Apache(1.3) and Tomcat(4.0.4) on IBM AIX (5.1) I started with executing ./buildconf.sh and ./configure --with-apxs=/usr/local/apache/bin/apxs which worked propewrly without any Errors. But when I execute make command I get following Error. Any information of how to eliminate that? -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # --- THANKS! Manoj G. Kithany _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
libtool Error!
Hi, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target all is up to date. Making all in apache-1.3 /bin/sh ../libtool --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # -- Would really appreciate if you could share it with me. THANKS! Manoj G. Kithany _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk for IBM AIX System
Hi Experts! I am havig problems in Integrating my Apache(1.3) with Tomcat(4.0.4) on IBM AIX (5.1) System. It seems that it needs mod_jk.so file which is very difficult to get for IBM AIX System. Does anyone know how and from where to get that file? Can anyone forward me the file and the instructions of configuring and installing the file? THANKS VERY MUCH. Manoj G. Kithany [EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8
Hi Kishore, THANKS for sharing this info. with others. I tried to DOwnload libtools and it created a DIrectory /libtools-1.3.3 Where do I need to put this direcorty and its files...? How to configuer libtool? When I use ./buildconf.sh, it stiill gives errors regarding Libtool? How do i tell ./buildtool that I have libtool in /libtool-1.3.3 directory? THanks! Manoj G. Kithany From: Shah, Kishor (Kishor) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Date: Tue, 3 Sep 2002 14:20:06 -0400 All, I was successful in creating mod_jk.so. Here's what I had just in case someone finds this useful: To make needed the following packages: 1) gcc 2.95.3 2) libtool 1.4 (I downloaded the src and made per gabriele's suggestions) 3) autoconf 2.53 4) automake 1.6 5) m4 1.4 6) Perl 5.005_003 7) JDK 1.4.0.01 When buildconf.sh runs, it creates the configure script. Then I used the configure, ./configure \ --with-apxs=/ust/local/apache2/bin/apxs \ --with-java-home=${JAVA_HOME} \ --with-java-platform=2 \ --enable-jni Kishor -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:30 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Check out README.configure, I neglected to mention that you need to run buildconf.sh first. John -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:28 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 John, Thanks for a qucik reply. Unfortunately, there is no 'configure' in the native dir or under jk tree. All I have under native are the following dirs/files: host:/var/downloads/jakarta-tomcat-connectors-4.0.4-src/jk/n ative/_# ls Makefile.am build.xml domino nt_service READMEbuildconf.sh iis scripts README.configure commonisapi apache-1.3configure.in jni apache-2.0docs netscape Makefile.am build.xml domino nohup.out READMEbuildconf.sh iis nt_service README.configure commonisapi scripts apache-1.3configure.in jni apache-2.0docs netscape Kishor Shah email - [EMAIL PROTECTED] Voice : 732-949-3403 -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:10 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 From /some/path/to/connector/src/jk/native, try this: [root@localhost]# ./configure --with-apxs=/some/path/to/apache2/bin/apxs --with-java-home=${JAVA_HOME} [root@localhost]# make This should dump mod_jk.so binaries for Apache 1.3 and Apache 2.0 in their respective directories, apache-1.3 and apache-2.0. I don't have access to a Solaris box at the moment, so I can't try it, but it should work. Ant is optional, and in my experience, not the cleanest way to compile the connectors. John Turner [EMAIL PROTECTED] -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 11:53 AM To: '[EMAIL PROTECTED]' Subject: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Friends, I am unable to compile the mod_jk for Tomact 4.0.4 / Apache 2.0 on Solaris 8 platform. I have both Tomat and Apache up and running. I have downloaded and untarred the connector source into ${basedir}/jakarta-tomcat-connectors-4.0.4-src. The mod_jk page from http://jakarta.apache.org don't apply as the instructions are for apache1.3. Has anyone built mod_jk in the above environment? I am really confused as to the next step. Do I need to get 'ant' and other build tools as recommended by a recent post from gabriele? Any help/suggestions are greatly appreciated because I am going in circles here. Thanks, Kishor Kishor Shah email - [EMAIL PROTECTED] Voice : 732-949-3403 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Send and
RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8
Hi John, Thanks for the info. I ahve installed libtool - how to configure and tell ./buildtool.sh script that I have libtool in /libtool-1.3.3 directory? Thanks again! Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Date: Tue, 3 Sep 2002 14:52:32 -0400 libtool is a utility like any other. It should be in your path. The same goes for autoconf, etc. Libtool, autoconf, and other software are critical for successfully compiling open source projects from source. I realize it's confusing, since the documentation doesn't typically explain why all of these things are necessary, but if you are going to compile something from (open) source, you need to have a full development environment, just like the developers themselves. This goes beyond having a C compiler. Once you get your environment set up with popular tools like libtool and autoconf (and even tools like ant), compiling from source for the Tomcat connectors as well as any other open source software will be much easier. John -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 2:42 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Hi Kishore, THANKS for sharing this info. with others. I tried to DOwnload libtools and it created a DIrectory /libtools-1.3.3 Where do I need to put this direcorty and its files...? How to configuer libtool? When I use ./buildconf.sh, it stiill gives errors regarding Libtool? How do i tell ./buildtool that I have libtool in /libtool-1.3.3 directory? THanks! Manoj G. Kithany -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk for Tomact 4.0.4/Apache 2.0
Hi Kishore, I installed libtools and it is giving errors when I install automake1.6, autoconf2.53 and m41.4. It says /bin/sh/makeinfo - NOT FOUND! Do you know from where can I get makeinfo? It is not there in GNU site? Thanks! Manoj G. Kithany From: Shah, Kishor (Kishor) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Date: Tue, 3 Sep 2002 14:20:06 -0400 All, I was successful in creating mod_jk.so. Here's what I had just in case someone finds this useful: To make needed the following packages: 1) gcc 2.95.3 2) libtool 1.4 (I downloaded the src and made per gabriele's suggestions) 3) autoconf 2.53 4) automake 1.6 5) m4 1.4 6) Perl 5.005_003 7) JDK 1.4.0.01 When buildconf.sh runs, it creates the configure script. Then I used the configure, ./configure \ --with-apxs=/ust/local/apache2/bin/apxs \ --with-java-home=${JAVA_HOME} \ --with-java-platform=2 \ --enable-jni Kishor -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:30 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Check out README.configure, I neglected to mention that you need to run buildconf.sh first. John -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:28 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 John, Thanks for a qucik reply. Unfortunately, there is no 'configure' in the native dir or under jk tree. All I have under native are the following dirs/files: host:/var/downloads/jakarta-tomcat-connectors-4.0.4-src/jk/n ative/_# ls Makefile.am build.xml domino nt_service READMEbuildconf.sh iis scripts README.configure commonisapi apache-1.3configure.in jni apache-2.0docs netscape Makefile.am build.xml domino nohup.out READMEbuildconf.sh iis nt_service README.configure commonisapi scripts apache-1.3configure.in jni apache-2.0docs netscape Kishor Shah email - [EMAIL PROTECTED] Voice : 732-949-3403 -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:10 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 From /some/path/to/connector/src/jk/native, try this: [root@localhost]# ./configure --with-apxs=/some/path/to/apache2/bin/apxs --with-java-home=${JAVA_HOME} [root@localhost]# make This should dump mod_jk.so binaries for Apache 1.3 and Apache 2.0 in their respective directories, apache-1.3 and apache-2.0. I don't have access to a Solaris box at the moment, so I can't try it, but it should work. Ant is optional, and in my experience, not the cleanest way to compile the connectors. John Turner [EMAIL PROTECTED] -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 11:53 AM To: '[EMAIL PROTECTED]' Subject: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Friends, I am unable to compile the mod_jk for Tomact 4.0.4 / Apache 2.0 on Solaris 8 platform. I have both Tomat and Apache up and running. I have downloaded and untarred the connector source into ${basedir}/jakarta-tomcat-connectors-4.0.4-src. The mod_jk page from http://jakarta.apache.org don't apply as the instructions are for apache1.3. Has anyone built mod_jk in the above environment? I am really confused as to the next step. Do I need to get 'ant' and other build tools as recommended by a recent post from gabriele? Any help/suggestions are greatly appreciated because I am going in circles here. Thanks, Kishor Kishor Shah email - [EMAIL PROTECTED] Voice : 732-949-3403 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For
m4 Error (RE: mod_jk for Tomact 4.0.4/Apache 2.0)
Hi Kishore, I am still having problms. WHen I try to install m4 it shows following Errors/Warnings cd . makeinfo m4.texinfo m4.texinfo:282: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:352: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:358: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:363: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:369: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:633: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:655: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:741: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:1574: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:1625: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:2889: warning: `.' or `,' must follow cross reference, not i. Target all is up to date. making all in lib - Later when I install autoconf-2.13, it says need GNU m4 1.1 or later Can you please guide me in to this? Thanks! Manoj G. Kithany From: Shah, Kishor (Kishor) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 Date: Tue, 3 Sep 2002 15:59:17 -0400 Manoj, I did not have this problem, nor do I have that file on the system. However, this may be related to which make you are using. I am not using Sun's make but GNU make 3.79.1. You can download the source and make it for your platform. Kishor -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 3:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 Hi Kishore, I installed libtools and it is giving errors when I install automake1.6, autoconf2.53 and m41.4. It says /bin/sh/makeinfo - NOT FOUND! Do you know from where can I get makeinfo? It is not there in GNU site? Thanks! Manoj G. Kithany From: Shah, Kishor (Kishor) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Date: Tue, 3 Sep 2002 14:20:06 -0400 All, I was successful in creating mod_jk.so. Here's what I had just in case someone finds this useful: To make needed the following packages: 1) gcc 2.95.3 2) libtool 1.4 (I downloaded the src and made per gabriele's suggestions) 3) autoconf 2.53 4) automake 1.6 5) m4 1.4 6) Perl 5.005_003 7) JDK 1.4.0.01 When buildconf.sh runs, it creates the configure script. Then I used the configure, ./configure \ --with-apxs=/ust/local/apache2/bin/apxs \ --with-java-home=${JAVA_HOME} \ --with-java-platform=2 \ --enable-jni Kishor -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:30 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 Check out README.configure, I neglected to mention that you need to run buildconf.sh first. John -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:28 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 John, Thanks for a qucik reply. Unfortunately, there is no 'configure' in the native dir or under jk tree. All I have under native are the following dirs/files: host:/var/downloads/jakarta-tomcat-connectors-4.0.4-src/jk/n ative/_# ls Makefile.am build.xml domino nt_service READMEbuildconf.sh iis scripts README.configure commonisapi apache-1.3configure.in jni apache-2.0docs netscape Makefile.am build.xml domino nohup.out READMEbuildconf.sh iis nt_service README.configure commonisapi scripts apache-1.3configure.in jni apache-2.0docs netscape Kishor Shah email - [EMAIL PROTECTED] Voice : 732-949-3403 -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:10 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8 From /some/path/to/connector/src/jk/native, try this: [root@localhost]# ./configure --with-apxs=/some/path/to/apache2/bin/apxs --with-java-home=${JAVA_HOME} [root@localhost]# make This should dump mod_jk.so binaries for Apache 1.3 and Apache 2.0 in their respective directories, apache-1.3 and apache-2.0. I don't have
mod_jk for IBM AIX System (Apache + Tomcat)
Hi Experts! I am havig problems in Integrating my Apache(1.3) with Tomcat(4.0.4) on IBM AIX (5.1) System. It seems that it needs mod_jk.so file which is very difficult to get for IBM AIX System. Does anyone know how and from where to get that file? Can anyone forward me the file and the instructions of configuring and installing the file? THANKS VERY MUCH. Manoj G. Kithany [EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk for IBM AIX System....?
Hi Experts! I am havig problems in Integrating my Apache(1.3) with Tomcat(4.0.4) on IBM AIX (5.1) System. It seems that it needs mod_jk.so file which is very difficult to get for IBM AIX System. Does anyone know how and from where to get that file? Can anyone forward me the file and the instructions of configuring and installing the file? THANKS VERY MUCH. Manoj G. Kithany [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]