Tomcat in JBoss 4.0.3RC1 and Sun's Java Server Faces
Our application uses Sun's JSF implementation. On JBoss 4.0.2 it deploys fine, but on JBoss 4.0.3RC1 it throws a ClassCastException: at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711) ... at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) ... I tried not bundling the Sun faces api in the war and it deploys but it gives problems: - Sun's JSF doesn't work properly any more - The war also needs to be able to deploy on JBoss 4.0.2, Resin etc which don't have a version the faces api. Deleting the myfaces faces api from Tomcat isn't really a good solution either as other applications deployed on the same production instance might depend on it and it complicated the deployment procedure. Any other solutions? Thanks for any and all help, Geoffrey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Load all JSP pages on startup
In Tomcat 5.5 (or Jboss 4.0 using Tomcat 5.5), can I load all JSP pages on deployment? I don't want to precompile in my build script, but I do want the server to compile all jsp pages as soon as they are deployed. I can load one jsp page on startup like this: servlet servlet-nameHomeJsp/servlet-name jsp-file/home.jsp/jsp-file load-on-startup1/load-on-startup /servlet But I want to do something like jsp-property-group display-nameallJsp/display-name url-pattern*.jsp/url-pattern load-on-startup1/load-on-startup /jsp-property-group (this isn't allowed in the web.xml) Thanks for any and all help, Geoffrey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Load all JSP pages on startup
We have a custom (non-generated) web.xml, with some taglibs and servlets defined in there. Precompilation is tomcat dependend I suppose? Our application has to run on JBoss, Tomcat and Resin. Weblogic and others might be added in the future. I was hoping there was a simple way in the web deployment descriptor to load them all on startup, in a webserver independed way. Bernhard Slominski wrote: I don't want to precompile in my build script, With the precompilation you can do the stuff you need, it automatically creates the servlet mapping in the web.xml. The only thing you have to add is the load-on-startup1/load-on-startup part, but I think you can automate this as well. So why don't you want precompilation? Bernhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : AW: Load all JSP pages on startup
- setting the precompile parameter to true in the jsp-descriptor element of the weblogic.xml deployment descriptor to configure WebLogic Server to precompile your JSPs when a Web Application is deployed or re-deployed or when WebLogic Server starts up; Can I do that on Tomcat too? :) Tomcat will ignore weblogic.xml and Weblogic will ignore jboss-web.xml, unlike Tomcat compiled JSP's in weblogic or visa versa. Thanks for any help, Geoffrey LERBSCHER Jean-Pierre wrote: Hi, For WebLogic you can use: - ANT task (wlappc); - appc compiler; - setting the precompile parameter to true in the jsp-descriptor element of the weblogic.xml deployment descriptor to configure WebLogic Server to precompile your JSPs when a Web Application is deployed or re-deployed or when WebLogic Server starts up; -Message d'origine- De : Bernhard Slominski [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 juin 2005 15:40 À : 'Tomcat Users List' Objet : AW: AW: Load all JSP pages on startup We have a custom (non-generated) web.xml, with some taglibs and servlets defined in there. Precompilation is tomcat dependend I suppose? You're right precompliation is tomcat dependent, but it works like this that the ant task takes your (non-tomcat dependent) web.xml and just adds the mappings for the precompiled JSPs, so it would still be possible to use one single web.xml and then have a jsp server target-dependent precomplitation task, but I don't know how that works in resin or Weblogic, and I see your point now. Sorry, but I don't have a better solution for you! Bernhard I was hoping there was a simple way in the web deployment descriptor to load them all on startup, in a webserver independed way. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Newbie] Failed access to servlet via URL mapping (context setting problem?)
Still no success. This is what I have: $CATALINA_HOME/webapps/hi/WEB-INF/classes/hi.class $CATALINA_HOME/webapps/hi/WEB-INF/web.xml ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameHello, World Application/display-name description This is a simple web application with a source code organization based on the recommendations of the Application Developer's Guide. /description servlet servlet-nameHelloServlet/servlet-name servlet-classhi/servlet-class /servlet servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/h*/url-pattern /servlet-mapping /web-app $CATALINA_HOME/webapps/hi/META-INF/context.xml context docBase=hi /context I've also tried it with the context.xml file renamed as hi.xml and placed in $CATALINA_HOME/conf/Catalina/localhost. When I use http://localhost:8080/hi, I get a tomcat generated page with a blank directory for /. On Jan 17, 2005, at 6:35 PM, Parsons Technical Services wrote: I didn't do any setting up, other than to install the compatibility patch as directed. It is my understanding that this acts as a bridge between the new V5.5 tomcat architecture, and the old 1.4 JDK. From the success of the trial servlets, the installation seems to be working, and I just suspect that I have failed to configure something properly. Ok. Just wanted to be sure as this has been the issue on several posts lately. Now for your problem. There are two (or more) ways that you can deploy an application. One is by manual file and folder creation and the other is by WAR files. Either way there is a directory structure that needs to be followed. From a recent post: Quote Hi, I think it would be good practice to require your developers to create war file for you. http://java.sun.com/blueprints/guidelines/ designing_enterprise_applications_2e/technologies/ technologies3.html#1043856 Anyway, there is some links that might be useful http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html#basic look jar-tool, war file is same format that war file. I think you should read also servlet spefication specks http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html And maybe it would be worth of use tools like ant http://ant.apache.org/ - Jukka - Unquote This should get you the information on the structure you need to set up. From there you need to create a context.xml file that will solve your problem. In 5.5 you do not use the path field unless you put the context in the server.xml. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html gives you several locations to place the context files. If you are not using WAR files, then use the appname.xml per the above page place it in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory The path is then taken from the name of the xml file. OR context.xml and place it in /META-INF/context.xml inside the application files and the path will be based on the docBase. If you look there now you will find some files for the built in apps (I think) I do not run 5.5 but 5.0 and there are some changes as to what was included. Unless you want it to be the default app, that's in last weeks archives. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Newbie] Failed access to servlet via URL mapping (context setting problem?)
Doug wrote: I notice you are using 1.4.2 Does the compat install mean you set it up to use 1.4 in place of the 1.5 per RUNNING.txt? I didn't do any setting up, other than to install the compatibility patch as directed. It is my understanding that this acts as a bridge between the new V5.5 tomcat architecture, and the old 1.4 JDK. From the success of the trial servlets, the installation seems to be working, and I just suspect that I have failed to configure something properly. Thanks for responding. (BTW, I didn't actually receive your response via email, but discovered it in an archive. I'm getting notification of other postings to the list, but not this one. Weird.
[Newbie] Failed access to servlet via URL mapping (context setting problem?)
Mac OSX 10.3.7; Tomcat 5.5.4; JDK 1.4.2; compat installed I have installed Tomcat 5.5.4 with a view to using it to implement a web-based interface to a MySQL database. I began by following the guidelines here: http://developer.apple.com/internet/java/tomcat1.html, but as these related to V4 of tomcat, this has served to trip me up a little. I could not get any of the example servlets to function by following the directions given. I subsequently found further guidelines here: http://www.coreservlets.com/Apache-Tomcat-Tutorial/, I have got to the point where I can run all of the sample servlets described there. These involve directly copying resources into the $CATALINA_HOME/webapps/ROOT/WEB-INF(/classes) directories. I could now develop my application and copy it to the ROOT directory and access it through a URL like localhost:8080/hi, but this seems like poor structure to me. I could also place the app in a subdirectory and access it with localhost:8080/hi/servlet/hi, but that is not too tidy. What I would like to do, and what I think is possible, is somehow to advise tomcat of the location of my webapp in its own directory (not under ROOT) and access it with localhost:8080/hi. No amount of tweaking servlet mappings and URL patterns has worked, and I suspect that somewhere I need to have a context element. (I admit to confusion over the apparent need to specify the path both in the context and the servlet mapping, so I've missed a big point somewhere). The nearest I have got is to obtain an empty Directory listing for / page in response to my http://localhost:8080/hi request. I enabled request logging and obtained the following: Created MBeanServer with ID: c3e82b:10179d228c6:-8000:XarqiMac.local:1 Jan 16, 2005 5:40:16 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 16, 2005 5:40:16 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 4706 ms Jan 16, 2005 5:40:17 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jan 16, 2005 5:40:17 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.4 Jan 16, 2005 5:40:17 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Jan 16, 2005 5:40:22 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] Jan 16, 2005 5:40:23 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jan 16, 2005 5:40:23 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jan 16, 2005 5:40:24 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jan 16, 2005 5:40:24 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jan 16, 2005 5:40:25 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jan 16, 2005 5:40:27 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jan 16, 2005 5:40:27 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/77 config=null Jan 16, 2005 5:40:27 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 10702 ms Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: REQUEST URI =/hi/ Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: authType=null Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: characterEncoding=null Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: contentLength=-1 Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO:contentType=null Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO:contextPath=/hi Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: cookie=JSESSIONID=A1159716478A6F61B9760CCB58402392 Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: header=host=localhost:8080 Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: header=connection=keep-alive Jan 16, 2005 5:40:28 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: header=user-agent=Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5 (KHTML, like Gecko)
(OT) Cannot see Localhost on Apache
Title: Message Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ (or http://127.0.0.1/) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a "Pager cannot be displayed" error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a "Page cannot be displayed" error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening because as far as I can tell everything is fine and I haven't changed anything since the last time it worked OK? Please disregard the fact that I haven't loaded the PHP modules yet (and Coldfusion as well) as I will do this after I have managed to sort out the Localhost problem. Your help would be very much appreciated. Regards, Geoff Khan B.Sc (Hons)www.shining-path.com httpd.conf Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: (OT) Cannot see Localhost on Apache
John, I have Zone Alarm installed on my PC and it worked fine with Apache for a long time and I haven't changed any of the settings in this to prevent Apache from working. I've tried shutting down Zone Alarm, starting Apache and going to Localhost but still get a blank, white screen. I haven't changed any network settings in any shape or form or added any kind of hardware. I know Apache starts because I have a console window running saying Apache 1.3.26 running whenever I start it up (and it shows up in the Task Manager list when I do start it). Geoff -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:26 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Did you install a firewall? Did you change your network settings in any way, shape or form? Add a cable modem, DSL router, or other network hardware? Do you have some sort of virus filter running on port 80? Are you sure Apache even starts? Apache works out of the box in a default install...there could be any number of other reasons why it doesn't serve pages, none of them related to the Apache config file. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: (OT) Cannot see Localhost on Apache Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ (or http://127.0.0.1/) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a Pager cannot be displayed error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a Page cannot be displayed error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening because as far as I can tell everything is fine and I haven't changed anything since the last time it worked OK? Please disregard the fact that I haven't loaded the PHP modules yet (and Coldfusion as well) as I will do this after I have managed to sort out the Localhost problem. Your help would be very much appreciated. Regards, Geoff Khan B.Sc (Hons) www.shining-path.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]
RE: (OT) Cannot see Localhost on Apache
Michael, I pinged Localhost and got the message: Reply from 127.0.0.1: bytes=32 time10ms TTL64 I presume from this all is fine, as I have a reply? Geoff -Original Message- From: Kajen, Michael [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:31 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache HI, See if you can ping localhost. Maybe something happened to your dns settings. mk -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: (OT) Cannot see Localhost on Apache Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ http://localhost/ (or http://127.0.0.1/ http://127.0.0.1/ ) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a Pager cannot be displayed error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a Page cannot be displayed error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening because as far as I can tell everything is fine and I haven't changed anything since the last time it worked OK? Please disregard the fact that I haven't loaded the PHP modules yet (and Coldfusion as well) as I will do this after I have managed to sort out the Localhost problem. Your help would be very much appreciated. Regards, Geoff Khan B.Sc (Hons) http://www.shining-path.com www.shining-path.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: (OT) Cannot see Localhost on Apache
How do I check this? In my config file Apache is set to listen on Port 80. -Original Message- From: Chris Thompson [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:32 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Or, just a thought, have you checked whether it is listening on 8080 rather than 80? Chris -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:26 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Did you install a firewall? Did you change your network settings in any way, shape or form? Add a cable modem, DSL router, or other network hardware? Do you have some sort of virus filter running on port 80? Are you sure Apache even starts? Apache works out of the box in a default install...there could be any number of other reasons why it doesn't serve pages, none of them related to the Apache config file. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: (OT) Cannot see Localhost on Apache Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ (or http://127.0.0.1/) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a Pager cannot be displayed error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a Page cannot be displayed error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening because as far as I can tell everything is fine and I haven't changed anything since the last time it worked OK? Please disregard the fact that I haven't loaded the PHP modules yet (and Coldfusion as well) as I will do this after I have managed to sort out the Localhost problem. Your help would be very much appreciated. Regards, Geoff Khan B.Sc (Hons) www.shining-path.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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: (OT) Cannot see Localhost on Apache
Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began with the message: Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: jk.mshome.net is/was what I called my site when first installing Apache 1.3.26 - it asks you what you want to call the server, etc when you first install it. I have since changed it to shining-path.com in the Apache config file. Maybe this is a problem?? I have checked the Apache error log and there are no errors reported. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network installed properly. If you can not see the ping respone there must be some thing wrong with your network settings. You can also have a look on the apache error logs. See if you apache is accepting the browser request. Raj Geoffrey Khan wrote: John, I have Zone Alarm installed on my PC and it worked fine with Apache for a long time and I haven't changed any of the settings in this to prevent Apache from working. I've tried shutting down Zone Alarm, starting Apache and going to Localhost but still get a blank, white screen. I haven't changed any network settings in any shape or form or added any kind of hardware. I know Apache starts because I have a console window running saying Apache 1.3.26 running whenever I start it up (and it shows up in the Task Manager list when I do start it). Geoff -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:26 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Did you install a firewall? Did you change your network settings in any way, shape or form? Add a cable modem, DSL router, or other network hardware? Do you have some sort of virus filter running on port 80? Are you sure Apache even starts? Apache works out of the box in a default install...there could be any number of other reasons why it doesn't serve pages, none of them related to the Apache config file. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: (OT) Cannot see Localhost on Apache Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ (or http://127.0.0.1/) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a Pager cannot be displayed error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a Page cannot be displayed error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening because as far as I can tell everything is fine and I haven't changed anything since the last time it worked OK? Please disregard the fact that I haven't loaded the PHP modules yet (and Coldfusion as well) as I will do this after I have managed to sort out the Localhost problem. Your help would be very much appreciated. Regards, Geoff Khan B.Sc (Hons) www.shining-path.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] -- 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: (OT) Cannot see Localhost on Apache
I've checked the config file and the Server Name is 127.0.0.1, so I don't know why it says jk.mshome.net when I try to ping Localhost. I've attache my config file again. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:15 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, that's a problem. I don't have your httpd.conf any more, but there shouldn't be any hostnames in there whatsoever if all you are doing is accessing localhost. Instead of hostnames, it should say localhost. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:07 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: (OT) Cannot see Localhost on Apache Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began with the message: Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: jk.mshome.net is/was what I called my site when first installing Apache 1.3.26 - it asks you what you want to call the server, etc when you first install it. I have since changed it to shining-path.com in the Apache config file. Maybe this is a problem?? I have checked the Apache error log and there are no errors reported. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network installed properly. If you can not see the ping respone there must be some thing wrong with your network settings. You can also have a look on the apache error logs. See if you apache is accepting the browser request. Raj Geoffrey Khan wrote: John, I have Zone Alarm installed on my PC and it worked fine with Apache for a long time and I haven't changed any of the settings in this to prevent Apache from working. I've tried shutting down Zone Alarm, starting Apache and going to Localhost but still get a blank, white screen. I haven't changed any network settings in any shape or form or added any kind of hardware. I know Apache starts because I have a console window running saying Apache 1.3.26 running whenever I start it up (and it shows up in the Task Manager list when I do start it). Geoff -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:26 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Did you install a firewall? Did you change your network settings in any way, shape or form? Add a cable modem, DSL router, or other network hardware? Do you have some sort of virus filter running on port 80? Are you sure Apache even starts? Apache works out of the box in a default install...there could be any number of other reasons why it doesn't serve pages, none of them related to the Apache config file. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: (OT) Cannot see Localhost on Apache Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ (or http://127.0.0.1/) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a Pager cannot be displayed error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a Page cannot be displayed error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening
RE: (OT) Cannot see Localhost on Apache
I tried telnetting to Localhost and the Apache access file outputs this: 127.0.0.1 - - [30/Sep/2002:14:09:11 +0100] GET / HTTP/1.1 200 1588 127.0.0.1 - - [30/Sep/2002:14:09:11 +0100] GET /icons/blank.gif HTTP/1.1 200 148 127.0.0.1 - - [30/Sep/2002:14:09:12 +0100] GET /icons/folder.gif HTTP/1.1 200 225 127.0.0.1 - - [30/Sep/2002:14:09:12 +0100] GET /icons/text.gif HTTP/1.1 200 229 127.0.0.1 - - [30/Sep/2002:14:11:58 +0100] GET /shining%20path/ HTTP/1.1 200 965 127.0.0.1 - - [30/Sep/2002:14:12:00 +0100] GET /shining%20path/shining%20path%20(second%20design)/ HTTP/1.1 200 6434 127.0.0.1 - - [30/Sep/2002:14:12:01 +0100] GET /icons/unknown.gif HTTP/1.1 200 245 127.0.0.1 - - [30/Sep/2002:14:12:15 +0100] GET /index.htm HTTP/1.1 200 141 -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:59 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try telnetting to your apache server and open the access log and error log and watch the message there. telnet 127.0.0.1 80 If telnet connects to your server send a a get request get index.html you may not see the echo of your charachters on the console. But the apache should output some stuff. If you see thsi working, there is problem with your browser. Check your browser proxy settings. Raj Geoffrey Khan wrote: Michael, I pinged Localhost and got the message: Reply from 127.0.0.1: bytes=32 time10ms TTL64 I presume from this all is fine, as I have a reply? Geoff -Original Message- From: Kajen, Michael [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:31 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache HI, See if you can ping localhost. Maybe something happened to your dns settings. mk -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: (OT) Cannot see Localhost on Apache Hello, Sorry for the off topic manner of this email but I am having trouble with my Apache server and was wondering if anyone on this list can help me? For about a year I had Apache 1.3.20 set-up on my Windows 98SE machine running PHP 4.1.1 (and Coldfusion) on it with no problems. I would type http://localhost/ http://localhost/ (or http://127.0.0.1/ http://127.0.0.1/ ) in my browser and be able to see the directories with all my files in them and edit them accordingly. However, last week I started up Apache and opened a browser and typed Localhost but nothing happened! All I would get would be a white blank screen and if I typed in the address of a specific file within the directory I would get a Pager cannot be displayed error. I tested this in IE, Netscape and Mozilla (along with clearing the cache in each browser) and all of them were the same. I decided to uninstall Apache 1.3.20 and upgrade to 1.3.26 figuring that if I started with a newer version of Apache the problem would be eradicated and I would have a more up-to-date version of the server. This I have done, but still I cannot gain access to any of my files and still it gives me a blank white screen if I type Localhost and a Page cannot be displayed error message if I try and navigate to a specific file within the directory. I have scanned the Apache web site, trawled through the newsgroups, studied my config file indepth, but cannot see where the problem lies. Could someone please take a look at my config file and try to see why this is happening because as far as I can tell everything is fine and I haven't changed anything since the last time it worked OK? Please disregard the fact that I haven't loaded the PHP modules yet (and Coldfusion as well) as I will do this after I have managed to sort out the Localhost problem. Your help would be very much appreciated. Regards, Geoff Khan B.Sc (Hons) http://www.shining-path.com www.shining-path.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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: (OT) Cannot see Localhost on Apache
Well, that is what I'll do - reinstall Apache. However, as I said previously, this whole situation arose due to Apache not showing the Localhost directory. It was working fine for over a year on this PC and I didn't change ANY of the settings or add any hardware prior to it's not working. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:36 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, we're going around in circles. There are a couple of issues here. - if ServerName in httpd.conf is 127.0.0.1, then that is what you put in the URL - 127.0.0.1 = localhost, on every computer in the world, it's a standard - do you have a hosts file or some other DNS setting that is resolving jk.mshome.net to 127.0.0.1? Basically, things have to match. If jk.mshome.net = 127.0.0.1, then jk.mshome.net should be your ServerName in httpd.conf. My advice is to reinstall Apache, and don't answer _anything_ when asked for hostname, IP address, or anything else. Let the installer figure that stuff out on its own. You can't just type hostnames willy-nilly, they have to resolve correctly for services that are looking for them to work correctly. Since jk.mshome.net does not resolve publicly, either set up DNS on your LAN or a local hosts file on your PC to resolve the name. Otherwise, don't use it anywhere, in any configuration, because it won't work. Typing ping localhost should return an IP address of 127.0.0.1. Typing ping jk.mshome.net should return nothing. Apache should be set to defaults, across the board (localhost). John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:23 AM To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache I've checked the config file and the Server Name is 127.0.0.1, so I don't know why it says jk.mshome.net when I try to ping Localhost. I've attache my config file again. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:15 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, that's a problem. I don't have your httpd.conf any more, but there shouldn't be any hostnames in there whatsoever if all you are doing is accessing localhost. Instead of hostnames, it should say localhost. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:07 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: (OT) Cannot see Localhost on Apache Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began with the message: Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: jk.mshome.net is/was what I called my site when first installing Apache 1.3.26 - it asks you what you want to call the server, etc when you first install it. I have since changed it to shining-path.com in the Apache config file. Maybe this is a problem?? I have checked the Apache error log and there are no errors reported. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network installed properly. If you can not see the ping respone there must be some thing wrong with your network settings. You can also have a look on the apache error logs. See if you apache is accepting the browser request. Raj Geoffrey Khan wrote: John, I have Zone Alarm installed on my PC and it worked fine with Apache for a long time and I haven't changed any of the settings in this to prevent Apache from working. I've tried shutting down Zone Alarm, starting Apache and going to Localhost but still get a blank, white screen. I haven't changed any network settings in any shape or form or added any kind of hardware. I know Apache starts because I have a console window running saying Apache 1.3.26 running whenever I start it up (and it shows up in the Task Manager list when I do start it). Geoff -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:26 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Did you install a firewall? Did you change your network settings in any way, shape or form? Add a cable modem, DSL router, or other network hardware? Do you have some sort of virus filter running on port 80? Are you sure Apache even starts? Apache works out of the box in a default
RE: (OT) Cannot see Localhost on Apache
I pinged jk.mshome.net and the IP address is one I recognise. I'll just uninstall and reinstall Apache. Thanks for your help anyway. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:51 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache I won't debate you. You mentioned that you entered jk.mshome.net when the installer asked. That's fine, but that means that jk.mshome.net has to work. By work I mean resolve correctly and Apache has to be expecting requests for that hostname. If Apache is set to look for localhost, and instead sees a request for jk.mshome.net, it won't work. Conversely, if Apache is set to look for jk.mshome.net but instead receives requests for localhost or 127.0.0.1, it won't work then, either. As I said, things have to match. If a previous version handled things differently, that's something that was probably resolved in later versions (which you are using now), for better or worse. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:44 AM To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache Well, that is what I'll do - reinstall Apache. However, as I said previously, this whole situation arose due to Apache not showing the Localhost directory. It was working fine for over a year on this PC and I didn't change ANY of the settings or add any hardware prior to it's not working. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:36 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, we're going around in circles. There are a couple of issues here. - if ServerName in httpd.conf is 127.0.0.1, then that is what you put in the URL - 127.0.0.1 = localhost, on every computer in the world, it's a standard - do you have a hosts file or some other DNS setting that is resolving jk.mshome.net to 127.0.0.1? Basically, things have to match. If jk.mshome.net = 127.0.0.1, then jk.mshome.net should be your ServerName in httpd.conf. My advice is to reinstall Apache, and don't answer _anything_ when asked for hostname, IP address, or anything else. Let the installer figure that stuff out on its own. You can't just type hostnames willy-nilly, they have to resolve correctly for services that are looking for them to work correctly. Since jk.mshome.net does not resolve publicly, either set up DNS on your LAN or a local hosts file on your PC to resolve the name. Otherwise, don't use it anywhere, in any configuration, because it won't work. Typing ping localhost should return an IP address of 127.0.0.1. Typing ping jk.mshome.net should return nothing. Apache should be set to defaults, across the board (localhost). John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:23 AM To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache I've checked the config file and the Server Name is 127.0.0.1, so I don't know why it says jk.mshome.net when I try to ping Localhost. I've attache my config file again. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:15 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, that's a problem. I don't have your httpd.conf any more, but there shouldn't be any hostnames in there whatsoever if all you are doing is accessing localhost. Instead of hostnames, it should say localhost. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:07 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: (OT) Cannot see Localhost on Apache Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began with the message: Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: jk.mshome.net is/was what I called my site when first installing Apache 1.3.26 - it asks you what you want to call the server, etc when you first install it. I have since changed it to shining-path.com in the Apache config file. Maybe this is a problem?? I have checked the Apache error log and there are no errors reported. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network installed properly. If you can not see the ping respone there must be some
RE: (OT) Cannot see Localhost on Apache
Raj, I checked the HOSTS.sam file in the Windows directory and 127.0.0.1 Localhost is listed and nothing else. I do not have any Proxy server settings set-up (and didn't previously when Apache was working fine). I have a LAN card installed on this PC - the computer name is JK and the Workgroup is MSHOME. This is obviously where Apache got the jk.mshome.net configuration from. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:59 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache There is nothing wrong with the the apache Installation. telnet to port 80 shows that apache is configured properly and working. Few things to check are:- Check the hosts file int he window directory. See if you have setup any hosts in the host files. Check proxy setting of your browser. Do you have a LAN card installed on your PC? If yest what is the host name you have set in your LAN settings? There is a problem with network settings. Browser is not sending the correct hostname to the server and therefore you dont see any thing. THe telnet shows that it got the index.html and other image files. Raj Your browser proxy setting. Geoffrey Khan wrote: Well, that is what I'll do - reinstall Apache. However, as I said previously, this whole situation arose due to Apache not showing the Localhost directory. It was working fine for over a year on this PC and I didn't change ANY of the settings or add any hardware prior to it's not working. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:36 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, we're going around in circles. There are a couple of issues here. - if ServerName in httpd.conf is 127.0.0.1, then that is what you put in the URL - 127.0.0.1 = localhost, on every computer in the world, it's a standard - do you have a hosts file or some other DNS setting that is resolving jk.mshome.net to 127.0.0.1? Basically, things have to match. If jk.mshome.net = 127.0.0.1, then jk.mshome.net should be your ServerName in httpd.conf. My advice is to reinstall Apache, and don't answer _anything_ when asked for hostname, IP address, or anything else. Let the installer figure that stuff out on its own. You can't just type hostnames willy-nilly, they have to resolve correctly for services that are looking for them to work correctly. Since jk.mshome.net does not resolve publicly, either set up DNS on your LAN or a local hosts file on your PC to resolve the name. Otherwise, don't use it anywhere, in any configuration, because it won't work. Typing ping localhost should return an IP address of 127.0.0.1. Typing ping jk.mshome.net should return nothing. Apache should be set to defaults, across the board (localhost). John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:23 AM To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache I've checked the config file and the Server Name is 127.0.0.1, so I don't know why it says jk.mshome.net when I try to ping Localhost. I've attache my config file again. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:15 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, that's a problem. I don't have your httpd.conf any more, but there shouldn't be any hostnames in there whatsoever if all you are doing is accessing localhost. Instead of hostnames, it should say localhost. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:07 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: (OT) Cannot see Localhost on Apache Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began with the message: Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: jk.mshome.net is/was what I called my site when first installing Apache 1.3.26 - it asks you what you want to call the server, etc when you first install it. I have since changed it to shining-path.com in the Apache config file. Maybe this is a problem?? I have checked the Apache error log and there are no errors reported. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network installed properly. If you can not see the ping respone there must be some thing wrong with your network settings. You can also have a look on the apache error logs. See if you apache is accepting the browser request
RE: (OT) Cannot see Localhost on Apache
Yes, I am using this PC for internet access. Basically, I have an XP PC downstairs which connects directly to the net (and is the master PC in the network) and this one with the Apache server on it is connected as the slave. I did think I may have a virus, but haven't run a check yet because it takes so long - I mean REALLY long. -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:32 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache yes, that is where the trouble start. Are you using this card for Internet access? You can try re-installing the network. I can certainly tell you now that this is the problem of your network nothing else. If you can remove your card and network setting, try installing only dialup adapter. There is certainly some thing wrong with your network. Check for some virus attack. That may also be a possibitiy. Raj Geoffrey Khan wrote: Raj, I checked the HOSTS.sam file in the Windows directory and 127.0.0.1 Localhost is listed and nothing else. I do not have any Proxy server settings set-up (and didn't previously when Apache was working fine). I have a LAN card installed on this PC - the computer name is JK and the Workgroup is MSHOME. This is obviously where Apache got the jk.mshome.net configuration from. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:59 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache There is nothing wrong with the the apache Installation. telnet to port 80 shows that apache is configured properly and working. Few things to check are:- Check the hosts file int he window directory. See if you have setup any hosts in the host files. Check proxy setting of your browser. Do you have a LAN card installed on your PC? If yest what is the host name you have set in your LAN settings? There is a problem with network settings. Browser is not sending the correct hostname to the server and therefore you dont see any thing. THe telnet shows that it got the index.html and other image files. Raj Your browser proxy setting. Geoffrey Khan wrote: Well, that is what I'll do - reinstall Apache. However, as I said previously, this whole situation arose due to Apache not showing the Localhost directory. It was working fine for over a year on this PC and I didn't change ANY of the settings or add any hardware prior to it's not working. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:36 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, we're going around in circles. There are a couple of issues here. - if ServerName in httpd.conf is 127.0.0.1, then that is what you put in the URL - 127.0.0.1 = localhost, on every computer in the world, it's a standard - do you have a hosts file or some other DNS setting that is resolving jk.mshome.net to 127.0.0.1? Basically, things have to match. If jk.mshome.net = 127.0.0.1, then jk.mshome.net should be your ServerName in httpd.conf. My advice is to reinstall Apache, and don't answer _anything_ when asked for hostname, IP address, or anything else. Let the installer figure that stuff out on its own. You can't just type hostnames willy-nilly, they have to resolve correctly for services that are looking for them to work correctly. Since jk.mshome.net does not resolve publicly, either set up DNS on your LAN or a local hosts file on your PC to resolve the name. Otherwise, don't use it anywhere, in any configuration, because it won't work. Typing ping localhost should return an IP address of 127.0.0.1. Typing ping jk.mshome.net should return nothing. Apache should be set to defaults, across the board (localhost). John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:23 AM To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache I've checked the config file and the Server Name is 127.0.0.1, so I don't know why it says jk.mshome.net when I try to ping Localhost. I've attache my config file again. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:15 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, that's a problem. I don't have your httpd.conf any more, but there shouldn't be any hostnames in there whatsoever if all you are doing is accessing localhost. Instead of hostnames, it should say localhost. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:07 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: (OT) Cannot see Localhost on Apache Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began
RE: (OT) Cannot see Localhost on Apache
The HOSTS file (without .sam) lists an IP address of: 142.179.202.248 www.paramagnus.com I checked this URL out and it appears to be the URL of a software manufacturer (who specifically make SpeedNet - which I had installed on my PC some time ago). Why that is there I have no idea? And that is the only IP address in that file. The HOSTS.sam file has the 127.0.0.1 localhost listed and nothing else. -Original Message- From: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:44 To: Tomcat Users List Subject: RE: (OT) Cannot see Localhost on Apache The file is only hosts without .sam -Mensaje original- De: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 30 de septiembre de 2002 16:25 Para: 'Tomcat Users List' Asunto: RE: (OT) Cannot see Localhost on Apache Raj, I checked the HOSTS.sam file in the Windows directory and 127.0.0.1 Localhost is listed and nothing else. I do not have any Proxy server settings set-up (and didn't previously when Apache was working fine). I have a LAN card installed on this PC - the computer name is JK and the Workgroup is MSHOME. This is obviously where Apache got the jk.mshome.net configuration from. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:59 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache There is nothing wrong with the the apache Installation. telnet to port 80 shows that apache is configured properly and working. Few things to check are:- Check the hosts file int he window directory. See if you have setup any hosts in the host files. Check proxy setting of your browser. Do you have a LAN card installed on your PC? If yest what is the host name you have set in your LAN settings? There is a problem with network settings. Browser is not sending the correct hostname to the server and therefore you dont see any thing. THe telnet shows that it got the index.html and other image files. Raj Your browser proxy setting. Geoffrey Khan wrote: Well, that is what I'll do - reinstall Apache. However, as I said previously, this whole situation arose due to Apache not showing the Localhost directory. It was working fine for over a year on this PC and I didn't change ANY of the settings or add any hardware prior to it's not working. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:36 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, we're going around in circles. There are a couple of issues here. - if ServerName in httpd.conf is 127.0.0.1, then that is what you put in the URL - 127.0.0.1 = localhost, on every computer in the world, it's a standard - do you have a hosts file or some other DNS setting that is resolving jk.mshome.net to 127.0.0.1? Basically, things have to match. If jk.mshome.net = 127.0.0.1, then jk.mshome.net should be your ServerName in httpd.conf. My advice is to reinstall Apache, and don't answer _anything_ when asked for hostname, IP address, or anything else. Let the installer figure that stuff out on its own. You can't just type hostnames willy-nilly, they have to resolve correctly for services that are looking for them to work correctly. Since jk.mshome.net does not resolve publicly, either set up DNS on your LAN or a local hosts file on your PC to resolve the name. Otherwise, don't use it anywhere, in any configuration, because it won't work. Typing ping localhost should return an IP address of 127.0.0.1. Typing ping jk.mshome.net should return nothing. Apache should be set to defaults, across the board (localhost). John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:23 AM To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache I've checked the config file and the Server Name is 127.0.0.1, so I don't know why it says jk.mshome.net when I try to ping Localhost. I've attache my config file again. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:15 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, that's a problem. I don't have your httpd.conf any more, but there shouldn't be any hostnames in there whatsoever if all you are doing is accessing localhost. Instead of hostnames, it should say localhost. John -Original Message- From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:07 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: (OT) Cannot see Localhost on Apache Raj, I have pinged Localhost and 127.0.0.1 and have got responses. However, I did notice that when I started to ping Localhost it began with the message: Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: jk.mshome.net is/was what I called my site when first
RE: (OT) Cannot see Localhost on Apache
I ran ipconfig and see two 192 numbers on 1 Ethernet Adapter which I know are the XP PC and this PC. The 0 Ethernet Adapter has no listing of IP Address, Subnet Mask and Default Gateway, but I presume that is just the hub and the 1 Ethernet Adapter is the card in this PC. When I type this 192 IP address into a browser I see the same as if I were to type localhost ie. a blank, white screen. I'm running a virus check now. -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 16:01 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Run the following command on Dos prompt ipconfig Do you see an IP adress apart from 127.0.0.1? If you see some thing like 192... or 10.. try accessing your application by enterging this addess in ur browser. However, your network setting shows that your network is missconfigured. Your jk.mshome.net should have returned a private IP and not the localhost. I strongly recommed to run a virus scanner and re-install your network. This problem is related to network and not apache. Raj Geoffrey Khan wrote: Yes, I am using this PC for internet access. Basically, I have an XP PC downstairs which connects directly to the net (and is the master PC in the network) and this one with the Apache server on it is connected as the slave. I did think I may have a virus, but haven't run a check yet because it takes so long - I mean REALLY long. -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:32 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache yes, that is where the trouble start. Are you using this card for Internet access? You can try re-installing the network. I can certainly tell you now that this is the problem of your network nothing else. If you can remove your card and network setting, try installing only dialup adapter. There is certainly some thing wrong with your network. Check for some virus attack. That may also be a possibitiy. Raj Geoffrey Khan wrote: Raj, I checked the HOSTS.sam file in the Windows directory and 127.0.0.1 Localhost is listed and nothing else. I do not have any Proxy server settings set-up (and didn't previously when Apache was working fine). I have a LAN card installed on this PC - the computer name is JK and the Workgroup is MSHOME. This is obviously where Apache got the jk.mshome.net configuration from. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:59 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache There is nothing wrong with the the apache Installation. telnet to port 80 shows that apache is configured properly and working. Few things to check are:- Check the hosts file int he window directory. See if you have setup any hosts in the host files. Check proxy setting of your browser. Do you have a LAN card installed on your PC? If yest what is the host name you have set in your LAN settings? There is a problem with network settings. Browser is not sending the correct hostname to the server and therefore you dont see any thing. THe telnet shows that it got the index.html and other image files. Raj Your browser proxy setting. Geoffrey Khan wrote: Well, that is what I'll do - reinstall Apache. However, as I said previously, this whole situation arose due to Apache not showing the Localhost directory. It was working fine for over a year on this PC and I didn't change ANY of the settings or add any hardware prior to it's not working. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:36 To: 'Tomcat Users List' Subject: RE: (OT) Cannot see Localhost on Apache OK, we're going around in circles. There are a couple of issues here. - if ServerName in httpd.conf is 127.0.0.1, then that is what you put in the URL - 127.0.0.1 = localhost, on every computer in the world, it's a standard - do you have a hosts file or some other DNS setting that is resolving jk.mshome.net to 127.0.0.1? Basically, things have to match. If jk.mshome.net = 127.0.0.1, then jk.mshome.net should be your ServerName in httpd.conf. My advice is to reinstall Apache, and don't answer _anything_ when asked for hostname, IP address, or anything else. Let the installer figure that stuff out on its own. You can't just type hostnames willy-nilly, they have to resolve correctly for services that are looking for them to work correctly. Since jk.mshome.net does not resolve publicly, either set up DNS on your LAN or a local hosts file on your PC to resolve the name. Otherwise, don't use it anywhere, in any configuration, because it won't work. Typing ping localhost should return an IP address of 127.0.0.1. Typing ping jk.mshome.net should return nothing. Apache should be set to defaults, across the board (localhost). John
problem starting tomcat and apache on windows 95 for the first time
Hello, I posted this message a few days ago but didn't get a reply, so maybe if I post again I will. :-) I am having problems running Tomcat 4.0.3 with my Apache 1.3.20 web server and am emailing this list to see if any one can help me get it working. I am running both these applications on Windows 95 and both are working fine on their own ie. I can initialise Tomcat as a stand-alone no problem and can use Apache (for PHP, etc) no problem as well. Ive followed the steps in the Tomcat installation notes whereby I have: 1. Placed the mod_webapp.so file in the Modules directory of Apache 1.3.20. 2. Placed libapr.dll in the Modules directory of Apache 1.3.20. 3. Placed libapr.dll in C:\WINDOWS\system (as advised by the Galatea Flash Guide page (http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml). I have also tried to start Apache without copying this file to the WINDOWS directory and I still have error messages). 4. Added AddModule mod_webapp.c to Apache httpd.conf file. 5. Added LoadModule webapp_module modules/mod_webapp.so to Apache httpd.conf file. 6. Added: WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples WebAppInfo /webapp-info to VirtualHost * /VirtualHost tags at the end of the httpd.conf file. *Note these tags are # out. Is this correct? When I start up Apache I get the error message: Cannot add module via name 'mod_webapp.c' not in list of loaded modules When I # out the AddModule directive I get the error message: Cannot load c:program files/apache group/apache/modules/mod_webapp.so into server: (31) A device attached to the system is not functioning. Can someone please offer any advice as I have followed the directives listed in the Tomcat notes (plus the ones on the previously mentioned Galatea site) and it still isnt working? Additionally, when I do get the two working together will I have any problems if I upgrade my OS? I am looking to upgrade to Windows 98SE very soon and wonder if I may encounter problems if I do upgrade? Many thanks, Geoff Khan _ 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]
Class not found in import
When my JSPs compile, they can't find imported classes (for example javax.ejb.CreateException). The above example is in the j2ee.jar file and I've included it in my CLASSPATH. In fact, I've run javap javax.ejb.CreateException just to make sure. Is there so where in Tomcat (on NT) that you can specify global jar files to include, or some eniviroment variable I'm missing? Note, my J2EE_CLASSPATH, PATH, and CLASSPATH are all set. CLASSPATH=e:\j2sdkee1.3\bin\j2ee.jar The error is: E:\Program Files\Apache Tomcat 4.0\work\localhost\Fitch\EJBTester$jsp.java:9: Class javax.ejb.CreateException not found in import. javax.ejb.CreateException; Thanks for the help. -geoff
Re: Tomcat, PayFlow Pro(VeriSign) and JSP
Although I have not used it, my gut instinct tells me its bad. I mean, seriously, any product that has a name like PayFlow Pro, come on, you cant even say it 5 times fast! Just being a dork (for those without a sense of humor, I'm joking), Geoffeg This one time, at band camp, Chad wrote: Hi All, If any one of you have used PayFlow Pro(VeriSign) and JSP for your credit card transactions on Tomcat. I would really like to hear about your experience. Thanks in advance. Chad -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Geoffrey Gallaway || Rex unto my cleeb, and thou shalt have everlasting [EMAIL PROTECTED] || blort. D e v o r z h u n ||-- Zorp 3:16 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]