jsmetz_juneau Posted September 7, 2007 Share Posted September 7, 2007 I'm running Tomcat 5.5.20; WinXP sp2; java jdk1.5.0_10. I'm shooting for a "bare-bones" (standalone tomcat; no MySql) startup with http://localhost:8080/jasperserver/jasperserver <E> I get an HTTP 404 message back, and this has been added into the URL: .../flow.html?_flowId=repositoryFlow I did lucian's fix to the applicationContext.xml, but the error message didn't change. Any help? Link to comment Share on other sites More sharing options...
lucianc Posted September 7, 2007 Share Posted September 7, 2007 Check the Tomcat log file (under $TOMCAT/logs) and the JasperServer log file (under $TOMCAT/webapps/jasperserver/WEB-INF/logs) for any error messages/exception stacktraces. I don't think anyone would be able to tell what's wrong without seeing the logs. Regards,Lucian Link to comment Share on other sites More sharing options...
jsmetz_juneau Posted September 8, 2007 Author Share Posted September 8, 2007 I have read the jasperserver.log file. The most recent message is about 50 lines long. The first few lines are these: 13:37:11,937 ERROR ContextLoader,ContainerBackgroundProcessor[standardEngine[Catalina]]:205 - Context initialization failedorg.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 380 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.3: Element 'bean' cannot have character [children], because the type's content type is element-only.Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.3: Element 'bean' cannot have character [children], because the type's content type is element-only. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) Link to comment Share on other sites More sharing options...
lucianc Posted September 10, 2007 Share Posted September 10, 2007 It appears that somehow /WEB-INF/applicationContext.xml got corrupted. How did you apply the fix to this file? How does the file look right now? Regards,Lucian Link to comment Share on other sites More sharing options...
jsmetz_juneau Posted September 11, 2007 Author Share Posted September 11, 2007 Fixed it. Thanks for the tip on applicationContext.xml.:) Link to comment Share on other sites More sharing options...
jsmetz Posted October 1, 2007 Share Posted October 1, 2007 I am re-installing jasperserver on a new machine, and, once again, I need to do the fix to the applicationContext.xml file in order to overcome the problem with the jasperserver login on my localhost. I have searched, but cannot find the reference to the fix. Can you tell me again how to find the work-around for this problem. Thanks. I'll try and keep better notes next time. jsmetz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now