In case anyone else encounters similar problems to mine, I have learnt several things: First I needed to disable the Oracle HTTP server auto startup, set Tomcat to manual startup, and rename any files not in the Tomcat path with the name server.jar. NOW it is working! There is a god!
-----Original Message----- From: p niemandt [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 11:06 AM To: Tomcat Users List Subject: RE: Still trying to just get going With a plain install of Oracle 9 you would have an Oracle XML application running on port 8080: I have had this problem a few times: My solution (which I know is far from correct, but hey, it works), is to stop Oracle (including the listener), start Tomcat first, and then start Oracle again. Oracle will not be able to start the XML application on port 8080, and you should be be able to continue as usual. You might need to stop and start Tomcat after this to ensure the database connection pool is connected properly, though I have never needed to do this. Try this: With only oracle running, point your browser to whatever:8080, you should get an Oracle XDM Authentication Form Logon. If you do, that's definitely your problem. If so, do as Shapira suggests, modify Tomcat to listen on another port, making sure it's high enough: Something like 9080 or something should work fine. As far as I know (I have never needed to do this myself, but all you need to do to change Tomcat is to edit your server.xml file ... Look for <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false" /> and change this to something like <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="9080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false" /> Hope this helps, Paul On Fri, 2003-03-14 at 18:39, Shapira, Yoav wrote: > Howdy, > You have something else using port 8080, so tomcat can't use it. > Either modify the something else or modify tomcat so that it doesn't > try to use port 8080. For tomcat, this is the port setting for the > Connector element in server.xml. > > Yoav Shapira > Millennium ChemInformatics > > > >-----Original Message----- > >From: Hunter, Sandra [mailto:[EMAIL PROTECTED] > >Sent: Friday, March 14, 2003 1:34 PM > >To: 'Tomcat Users List' > >Subject: RE: Still trying to just get going > > > >Sorry Jan > >I was continuing a conversation that started yesterday, and I forgot > that > >my > >reality might not be the same as others. > > > >I am running Windows2000 Pro on my local machine that is part of an > >ethernet network. > > > >I have downloaded Tomcat to my C: drive and set the path names thus: > > > > CATALINA_BASE: C:\jakarta-tomcat-4.0.6 > > CATALINA_HOME: C:\jakarta-tomcat-4.0.6 > > CATALINA_TMPDIR: C:\jakarta-tomcat-4.0.6\temp > > JAVA_HOME: C:\Program Files\Java\j2re1.4.1_02 > > > >And use this command to startup: > > > >F:\>%CATALINA_HOME%\bin\startup > >Using CATALINA_BASE: C:\jakarta-tomcat-4.0.6 > >Using CATALINA_HOME: C:\jakarta-tomcat-4.0.6 > >Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.0.6\temp > >Using JAVA_HOME: C:\Program Files\Java\j2re1.4.1_02 > > > >And this is what I get (more comments about what I have done below): > > > >Catalina.start: LifecycleException: null.open: > java.net.BindException: > >Address > > already in use: JVM_Bind:8080 > >LifecycleException: null.open: java.net.BindException: Address > already in > >use: > > JVM_Bind:8080 > > at > >org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne > >ctor.java:1130) > > at > >org.apache.catalina.core.StandardService.initialize(StandardService.j > >ava:454) > > at > >org.apache.catalina.core.StandardServer.initialize(StandardServer.jav > >a:553) > > at > org.apache.catalina.startup.Catalina.start(Catalina.java:780) > > at > org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > > at > org.apache.catalina.startup.Catalina.process(Catalina.java:179) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > >----- Root Cause ----- > >java.net.BindException: Address already in use: JVM_Bind:8080 > > at > >org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j > >ava:950) > > at > >org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne > >ctor.java:1128) > > at > >org.apache.catalina.core.StandardService.initialize(StandardService.j > >ava:454) > > at > >org.apache.catalina.core.StandardServer.initialize(StandardServer.jav > >a:553) > > at > org.apache.catalina.startup.Catalina.start(Catalina.java:780) > > at > org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > > at > org.apache.catalina.startup.Catalina.process(Catalina.java:179) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > > > > > >I have Oracle8i installed locally and have stopped (and started) the > HTTP > >server with the same results. > > > >I added a manager role to the server.xml file. > > > >I think I will have to modify the server.xml file but I am unsure of > what > >values to add or where... > > > >It's been too long since last I used this and I have never had to do > >it > on > >my own, always had a more experienced user holding my hand. *sigh* > >Sandra > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, > proprietary and/or privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not be saved, copied, > printed, disclosed or used by anyone else. If you are not the(an) > intended recipient, please immediately delete this e-mail from your > computer system and notify the sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- p niemandt <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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]
