• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • Sample Apps
  • teck
  • Reporter: kkannaiy
  • March 20, 2009
  • 0
  • Watchers: 1
  • April 10, 2009
  • March 23, 2009

Description

Steps:

  1. start the demo server from samples
  2. start the spring web flow demo -> /samples/spring/webflow/start-jetty1.bat

Actual: java.lang.ClassNotFoundException: org.mortbay.xml.XmlConfiguration

Starting Terracotta client… 2009-03-20 18:04:39,125 INFO - Terracotta 3.0.0-stable1, as of 20090318-110315 ( Revision 12200 by [email protected] from 3.0) 2009-03-20 18:04:39,796 INFO - Configuration loaded from the file at ‘C:\Program Files\Terracotta-3.0.0-stable1\samples\spring\webflow\tc-config.xml’. 2009-03-20 18:04:40,031 INFO - Log file: ‘C:\Program Files\Terracotta-3.0.0-stab le1\samples\spring\webflow\terracotta\client-logs\spring\webflow\200903201804400 00\terracotta-client.log’. 2009-03-20 18:04:43,203 INFO - Connection successfully established to server at 10.0.0.173:9510 java.lang.ClassNotFoundException: org.mortbay.xml.XmlConfiguration at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.mortbay.start.Main.invokeMain(Main.java:179) at org.mortbay.start.Main.start(Main.java:523) at org.mortbay.start.Main.main(Main.java:119)

Comments

Tim Eck 2009-03-23

That was caused by a bug in the jetty start scripts for that demo in stable1. The script was accidentally setting jetty.home more than once (the second one should have been jetty.class.path). Anyway since the tim-jetty rollback has been done this script was fixed as a side effect and things work now.

Fiona OShea 2009-03-23

But this issue will still be in STable1 right? Is there any workaround?

Tim Eck 2009-03-23

no workaround in stable1 – the start script is just plain broken. The .sh version of the start scripts work fine

Kalai Kannaiyan 2009-03-25

Tested with Terracotta 3.0.0-nightly, as of 20090324-080326 (Revision 12293 by [email protected] from 3.0), the spring web flow demo is working fine.