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]