From: gxdev D. <gx...@ya...> - 2005-05-26 15:14:59
|
hi I checkout the bod source code from the CVS head at 3pm. Did a build using ANT everything went fine. Then did a setup using bodington.war everything went fine. But when I hit the browser at the following URL : http://mywebserver/bodington/site/ I get the following exception throw at me: java.lang.NoClassDefFoundError org.bodington.servlet.template.XmlTemplate.class$(XmlTemplate.java:96) org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java:630) org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java:747) org.bodington.servlet.template.XmlTemplate.getProcessor(XmlTemplate.java:413) org.bodington.servlet.template.Template.getXmlTemplateProcessor(Template.java:357) org.bodington.servlet.BuildingServlet.doProcessing(BuildingServlet.java:570) org.bodington.servlet.BuildingServlet.doGet(BuildingServlet.java:423) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) Thanks. ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com |
From: Alistair Y. <ali...@sm...> - 2005-05-26 15:27:40
|
did you build with shibb enabled? I had problems with log4j-1.2.5.jar being in WEB-INF/lib Alistair On 26 May 2005, at 16:14, gxdev Developer wrote: > hi > > I checkout the bod source code from the CVS head at > 3pm. > > Did a build using ANT everything went fine. > Then did a setup using bodington.war everything went > fine. > > But when I hit the browser at the following URL : > > http://mywebserver/bodington/site/ > > I get the following exception throw at me: > > java.lang.NoClassDefFoundError > > org.bodington.servlet.template.XmlTemplate.class$(XmlTemplate.java:96) > > org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java: > 630) > > org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java: > 747) > > org.bodington.servlet.template.XmlTemplate.getProcessor(XmlTemplate.jav > a:413) > > org.bodington.servlet.template.Template.getXmlTemplateProcessor(Templat > e.java:357) > > org.bodington.servlet.BuildingServlet.doProcessing(BuildingServlet.java > :570) > > org.bodington.servlet.BuildingServlet.doGet(BuildingServlet.java:423) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > Thanks. > > > > > > > ___________________________________________________________ > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Alexis O'C. <ale...@co...> - 2005-05-26 15:48:08
|
Alistair Young wrote: > did you build with shibb enabled? I had problems with log4j-1.2.5.jar > being in WEB-INF/lib > > Alistair > We're still trying to work out what it is here, but it's certainly worth trying to delete the jar file above. (We've now removed the offending jar from the repository as Alistair mooted a few days ago!). -- + - - - - - - - - - - - - - - - - - - - - - - - - - - - + | Alexis O'Connor, VLE Developer (http://bodington.org) | | OUCS, 13 Banbury Road, Oxford, OX2 6NN, UK. | | Tel. +44 (0)1865 283661 | + - - - - - - - - - - - - - - - - - - - - - - - - - - - + |
From: Matthew B. <mat...@co...> - 2005-05-26 15:49:18
|
Alistair Young wrote: > did you build with shibb enabled? I had problems with log4j-1.2.5.jar > being in WEB-INF/lib So that nobody hits the Log4J JAR problem again I've removed the log4j-1.2.5.jar from the shibbadd folder. I'm not sure that this error is related to an extra log4j JAR though. I've also removed the Log4J Logger from XmlTemplate as it wasn't being used. After doing this I still get an error when trying to run a WAR of HEAD which I'll have a look at fixing. > exception > > javax.servlet.ServletException: Servlet execution threw an exception > > root cause > > java.lang.ExceptionInInitializerError > org.bodington.servlet.template.Template.<init>(Template.java:314) > org.bodington.servlet.template.Template.privateGet(Template.java:247) > org.bodington.servlet.template.Template.get(Template.java:108) > org.bodington.servlet.Request.<init>(Request.java:246) > org.bodington.servlet.BuildingServlet.doGet(BuildingServlet.java:404) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Matthew B. <mat...@co...> - 2005-05-26 16:14:04
|
Matthew Buckett wrote: >> exception >> >> javax.servlet.ServletException: Servlet execution threw an exception >> >> root cause >> >> java.lang.ExceptionInInitializerError >> org.bodington.servlet.template.Template.<init>(Template.java:314) >> org.bodington.servlet.template.Template.privateGet(Template.java:247) >> org.bodington.servlet.template.Template.get(Template.java:108) >> org.bodington.servlet.Request.<init>(Request.java:246) >> org.bodington.servlet.BuildingServlet.doGet(BuildingServlet.java:404) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) My strange bug was due to having the System property bodington.home set to a path that didn't exist. Bah, I really need to push across my patch to get rid of this System property. I don't think this is related to the error that started this thread. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Adam M. <ada...@co...> - 2005-05-26 16:30:39
|
-- Adam Marshall: OUCS, 13, Banbury Rd. Oxford OX2 6NN. Shameless plug: Use the Bodington VLE http://bodington.org Blog: http://ramble.oucs.ox.ac.uk/blog/adamm/ Cheese of the month: Cheshire (not to be underestimated) | | My strange bug was due to having the System property bodington.home set | to a path that didn't exist. Bah, I really need to push across my patch | to get rid of this System property. | Should we be doing a v2.4.4 which includes this patch? adam |
From: Matthew B. <mat...@co...> - 2005-05-26 16:35:40
|
Adam Marshall wrote: > | > | My strange bug was due to having the System property bodington.home set > | to a path that didn't exist. Bah, I really need to push across my patch > | to get rid of this System property. > | > > > Should we be doing a v2.4.4 which includes this patch? Probably not as it's a large change that is tied into other stuff (SetupServlet, Context Listener, etc) and it's also rather beta. It's not a showstopper, just something that can cause problems if you don't restart tomcat between Bodington deployments/restarts. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Matthew B. <mat...@co...> - 2005-05-26 15:57:57
|
gxdev Developer wrote: > hi > > I checkout the bod source code from the CVS head at > 3pm. > > Did a build using ANT everything went fine. > Then did a setup using bodington.war everything went > fine. > > But when I hit the browser at the following URL : > > http://mywebserver/bodington/site/ > > I get the following exception throw at me: > > java.lang.NoClassDefFoundError Just a few background questions: What JVM are you using (eg: Sun 1.5)? What servlet container are you using (eg: Tomcat 5.0)? -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Matthew B. <mat...@co...> - 2005-05-26 16:33:07
|
gxdev Developer wrote: > hi > > I checkout the bod source code from the CVS head at > 3pm. > > Did a build using ANT everything went fine. > Then did a setup using bodington.war everything went > fine. > > But when I hit the browser at the following URL : > > http://mywebserver/bodington/site/ > > I get the following exception throw at me: > > java.lang.NoClassDefFoundError > > org.bodington.servlet.template.XmlTemplate.class$(XmlTemplate.java:96) This is the line that attempts to setup the Logger for the class which has now been removed in HEAD (a few minutes ago). You could try a CVS update and a new build, although my builds worked fine before and after removing this line. > org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java:630) This is the line that tries to call the Java compiler to compile the template. Are you running Tomcat with the JDK rather than the JRE? One way round this might be to turn template compilation on in the build.properties so that it doesn't happen in the servlet container world. If you have somewhere (website?) you can put the WAR you built that I can grab it from I'll have a look and see if I can figure out what is wrong. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |