|
From: Geetika S. <gee...@gm...> - 2007-08-01 12:40:08
|
Hi
I am trying to run the demo server (version 0.3) on a windows xp machine. I
have downloaded and installed all the pre-requisites. When I startup tomcat,
I can get to the login page and I am able to login with library and og1234.
After that I get a page saying loading for profile, your spaces and
membership and then nothing happens. The edit and create a new space buttons
also dont work. I get the following errors from the java console.
WARN Configurator: 126 - No configuration found. Configuring ehcache from
ehcache-failsafe.xml found in the classpath.....
ERROR [/og]:674 - StandardWrapper.Throwable
java.lang.NoClassDefFoundError:
com/ogoglio/site/AccountServlet$TemplatesResource...
and similar errors for SpaceServlet$SpaceMemberResource and some other
servlets.
I also tried running the server. It compiles ok but when I run it I get the
following error.
Aug 1, 2007 5:21:33 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 46 column 1: XML document structures must
start and end within the same entity.
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.endEntity(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.endEntity(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.start(Catalina.java :544)
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.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Aug 1, 2007 5:21:33 PM org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml:
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.Catalina.load (Catalina.java:490)
at org.apache.catalina.startup.Catalina.start(Catalina.java:544)
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.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:433)
Aug 1, 2007 5:21:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
Please Help!!!
Geetika
|
|
From: Ian S. <ian...@ac...> - 2007-08-01 14:09:36
|
Hm. I checked in the code last night that moved "AccountServlet $TemplateResource" into it's own file. If what you put below is a cut-n-paste (without a typo) then that isn't your problem since you are referring to the plural (note 's') version which is the resource that lists the templates for a given user. Further, I don't believe that this change affects the 0.3 release--only folks using the current source from the repo. Perhaps you should try to using the command line tools and doing "ant clean" and then "ant war" to make sure you have everything built that you need to before trying to run the server? Other than that I'm kinda out of ideas... The latter XML errors look like they might be something to do with your server.xml... can you post that to the list so folks can look at it? ------------------------------------------------------------------- Ian Smith ian...@ac... ----------------------------------------------------------- I asked a gas station employee if he ever had trouble breathing// He said, 'it varies from season to season.' On Aug 1, 2007, at 5:40 AM, Geetika Sharma wrote: > > Hi > > I am trying to run the demo server (version 0.3) on a windows xp > machine. I have downloaded and installed all the pre-requisites. > When I startup tomcat, I can get to the login page and I am able to > login with library and og1234. After that I get a page saying > loading for profile, your spaces and membership and then nothing > happens. The edit and create a new space buttons also dont work. I > get the following errors from the java console. > > WARN Configurator: 126 - No configuration found. Configuring > ehcache from ehcache-failsafe.xml found in the classpath..... > ERROR [/og]:674 - StandardWrapper.Throwable > java.lang.NoClassDefFoundError: com/ogoglio/site/AccountServlet > $TemplatesResource... > > and similar errors for SpaceServlet$SpaceMemberResource and some > other servlets. > > I also tried running the server. It compiles ok but when I run it > I get the following error. > > Aug 1, 2007 5:21:33 PM org.apache.tomcat.util.digester.Digester > fatalError > SEVERE: Parse Fatal Error at line 46 column 1: XML document > structures must start and end within the same entity. > org.xml.sax.SAXParseException: XML document structures must start > and end within the same entity. > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXP > arseException(Unknown Source) > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError ( > Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > .endEntity(Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.endEnti > ty(Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLEntityManager.endEntity > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > .scanComment (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDriver.next(Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > .scanDocument(Unknown Source) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > (Unknown Source) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > (Unknown Source) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse > (Unknown Source) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse > (Unknown Source) > at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl > $JAXPSAXParser.parse (Unknown Source) > at org.apache.tomcat.util.digester.Digester.parse(Digester.java: > 1562) > at org.apache.catalina.startup.Catalina.load(Catalina.java:490) > at org.apache.catalina.startup.Catalina.start(Catalina.java :544) > 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.start(Bootstrap.java:295) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) > Aug 1, 2007 5:21:33 PM org.apache.catalina.startup.Catalina load > WARNING: Catalina.start using conf/server.xml: > org.xml.sax.SAXParseException: XML document structures must start > and end within the same entity. > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse > (Unknown Source) > at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl > $JAXPSAXParser.parse(Unknown Source) > at org.apache.tomcat.util.digester.Digester.parse(Digester.java: > 1562) > at org.apache.catalina.startup.Catalina.load (Catalina.java:490) > at org.apache.catalina.startup.Catalina.start(Catalina.java:544) > 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.start(Bootstrap.java:295) > at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:433) > Aug 1, 2007 5:21:33 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 0 ms > > > Please Help!!! > > Geetika > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Ogoglio-developers mailing list > Ogo...@li... > https://lists.sourceforge.net/lists/listinfo/ogoglio-developers |