You need to put the run arguement -----Original Message----- From: Sayeed [mailto:[EMAIL PROTECTED] Sent: 20 July 2004 17:17 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Error Starting Sample Tomcat Webapps
Dear Filip if I issues catalina.bat in DOS then this is all: C:\Apache\Tomcat\bin>catalina Using CATALINA_BASE: C:\APACHE\TOMCAT Using CATALINA_HOME: C:\APACHE\TOMCAT Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp Using JAVA_HOME: C:\jdk1.3 Usage: catalina ( commands ... ) commands: debug Start Catalina in a debugger debug -security Debug Catalina with a security manager embedded Start Catalina in embedded mode jpda start Start Catalina under JPDA debugger run Start Catalina in the current window run -security Start in the current window with security manager start Start Catalina in a separate window start -security Start in a separate window with security manager stop Stop Catalina C:\Apache\Tomcat\bin> ----- Original Message ----- From: "Filip Hanik - Dev" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 20, 2004 8:44 PM Subject: Re: Error Starting Sample Tomcat Webapps > in your dos window, instead of typing > startup.bat > > type > > catalina.bat run > > and tomcat will run in the same window, and show you the error > > Filip > > ----- Original Message ----- > From: "Sayeed" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, July 20, 2004 10:50 AM > Subject: Re: Error Starting Sample Tomcat Webapps > > > DEAR Yoav Shapira > > I have a question for you sir. > > I start learning JSP and ohter J2EE tools recently. > I buy a book of "Professional JSP 2nd Edition". > > Sir i am facing a problem: > > I dowload jakarta_tomcat 4.1.30.exe from the website. > > I already do have jdk1.3 at my PC ( iam using win98 OS). > > Now after installing jakarta_tomcat to a folder "c\apache\tomcat", > I create two environment variables into my Autoexe.bat file as under : > > set JAVA_HOME=C:\jdk1.3 > set CATALINA_HOME=C:\APACHE\TOMCAT > > Now when I Start Tomcat - a DOS base window is opened and remained active > for few seconds and then close automatically. Also i try Startup.bat file at > MS DOS promt, it shows some lines as follows: > > C:\Apache\Tomcat\bin>startup > Using CATALINA_BASE: C:\APACHE\TOMCAT > Using CATALINA_HOME: C:\APACHE\TOMCAT > Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp > Using JAVA_HOME: C:\jdk1.3 > C:\Apache\Tomcat\bin> > And in the mid also a new DOS base window shows a name 'Java' opened for few > seconds and automatically closed. > > Sir/Madam, whats the wrong with the tomcat? coz as per book instructions it > must shows a Catalina named window and remained active till I did not issue > a command Shutdown. > > So please guide me what I should do in this connection in detail. > > An early reply shall highly bhe appreicated. > > > Saeed > Programmer > > ----- Original Message ----- > From: "Shapira, Yoav" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, July 20, 2004 5:43 PM > Subject: RE: Error Starting Sample Tomcat Webapps > > > > Hi, > Make sure the java installations are clean, i.e. there are no extra xml > API or parser implementations (or Digester, come to think of it) in your > jre/lib/ext directory (off $JAVA_HOME). > > Yoav Shapira > Millennium Research Informatics > > > >-----Original Message----- > >From: Debra Bartling [mailto:[EMAIL PROTECTED] > >Sent: Monday, July 19, 2004 5:25 PM > >To: [EMAIL PROTECTED] > >Subject: Error Starting Sample Tomcat Webapps > > > >Tomcat 5.0.27, binary distribution, on two different servers, one > works, > >one doesn't. My development server (Solaris 8) works OK when I unpack > >Tomcat and start it up with the demo webapps (as well as with my own). > On > >my production server (Solaris 9) Tomcat does not start up correctly and > >gives the following: > > > >2004-07-19 12:11:25 StandardHost[localhost]: Error deploying > application at > >context path null > >java.lang.reflect.InvocationTargetException > > at > >org.apache.commons.digester.Digester.createSAXException(Digester.java:2 > 540) > > at > >org.apache.commons.digester.Digester.createSAXException(Digester.java:2 > 566) > > at > >org.apache.commons.digester.Digester.endElement(Digester.java:1061) > > at > >org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.j > ava: > >76) > > at > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > >Source) > > at > >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Un > know > >n > >Source) > > at > >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi > spat > >cher.dispatch(Unknown > >Source) > > at > >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn > own > >Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > > at > org.apache.commons.digester.Digester.parse(Digester.java:1567) > > at > >org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo > yer. > >java:488) > > at > >org.apache.catalina.core.StandardHost.install(StandardHost.java:863) > > at > >org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.jav > a:48 > >2) > > at > >org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) > > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:968) > > at > >org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3 > 49) > > at > >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS > uppo > >rt.java:119) > > at > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) > > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:789) > > at > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) > > at > >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) > > at > >org.apache.catalina.core.StandardService.start(StandardService.java:480 > ) > > at > >org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) > > at org.apache.catalina.startup.Catalina.start(Catalina.java:556) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja > va:3 > >9) > > at > >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso > rImp > >l.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja > va:3 > >9) > > at > >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso > rImp > >l.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > >org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java: > 218) > > > >My configurations are exactly the same except for the difference in the > >operating system. Any suggestions? > > > > > >--------------------------------------------------------------------- > >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] > > > --------------------------------------------------------------------- > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
