Haven't actually gotten that far yet, just anticipate problems... I've been trying to get our app running on Jetty but have immediately hit library problems...
I've removed code for the moment which references Websphere library code for now, and have been hitting this exception when Jetty starts running the app: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/emf/ecore/EFactory at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext.<init>(EventFactoryContext.java:82) at org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext.getInstance(EventFactoryContext.java:122) at com.ibm.ejs.ras.Tr.<clinit>(Tr.java:276) at com.ibm.websphere.naming.WsnInitialContextFactory.<clinit>(WsnInitialContextFactory.java:70) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:175) at com.opensymphony.module.sitemesh.Factory.getEnvEntry(Factory.java:96) at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:41) at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:86) at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71) at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310) at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.http.HttpServer.doStart(HttpServer.java:708) at org.mortbay.util.Container.start(Container.java:72) at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282) at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104) at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75) As you can see, there's still a Websphere library in there, as I haven't removed the websphere libraries from the class path. I imagine it's not going to work while they're still in there? James Mitchell-7 wrote: > > Actually, you can use Maven with any structure you like. As far as > dealing with funky jndi, combining the powers of Maven and Spring > would take care of those concerns. > > What issue are you having? > > > -- > James Mitchell > > > > On May 2, 2007, at 6:16 PM, Antony Stubbs wrote: > >> >> Yes, I was playing with Maven last night... Unfort this is a short >> term >> project, and the powers that be wouldn't let me rearrange our >> structure to >> fit Maven. Plus we have some funny security configuration and JNDI >> stuff on >> Websphere that I'm not sure Jetty would support.... >> But I'm definitely going to push for Maven on our next project - looks >> great! >> >> >> James Mitchell-7 wrote: >>> >>> Hi, for a 2 minute demo of how nice the maven jetty integration is, >>> try this: >>> >>> (You must have Maven and SVN client installed) >>> >>> $ svn co http://svn.apache.org/repos/asf/struts/struts2/tags/ >>> STRUTS_2_0_6/apps/mailreader/ >>> $ cd mailreader >>> $ mvn jetty:run >>> >>> Open your browser to localhost:8080/struts2-mailreader/ >>> >>> Have fun! >>> >>> >>> -- >>> James Mitchell >>> >>> >>> >>> On May 1, 2007, at 6:16 PM, Antony Stubbs wrote: >>> >>>> >>>> We're developing a Struts application which will be deployed onto >>>> Websphere >>>> eventually. >>>> >>>> However, I find Websphere very heavy weight do use during >>>> development - >>>> publishing seems to take for ever, and seems as thought for many >>>> changes it >>>> must be restarted. >>>> >>>> What's a common container to use during development that will >>>> facilitate the >>>> fastest (computer burden-wise) code, deploy, test, code, deploy, >>>> test cycles >>>> etc? >>>> >>>> I've tried Tomcat, and that seems to work better, but it still has >>>> to be >>>> restarted (well, eclipse (RAD actually) seems to insist on >>>> restarting it). >>>> Jetty? And are there any guides out there to guide in setting up >>>> the fastest >>>> environment? >>>> >>>> Is there anyway to get changes instantaneously viewable aka >>>> Grails / Rails >>>> etc? >>>> >>>> I will need to setup JNI for the datasource (DB2 and Oracle) in the >>>> container, and even better have the container support >>>> j_security_check. >>>> -- >>>> View this message in context: http://www.nabble.com/-S1-- >>>> Application-container-during-development-for-fastest-code-test- >>>> cycle--tf3677559.html#a10276929 >>>> Sent from the Struts - User mailing list archive at Nabble.com. >>>> >>>> >>>> -------------------------------------------------------------------- >>>> - >>>> 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] >>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/-S1-- >> Application-container-during-development-for-fastest-code-test- >> cycle--tf3677559.html#a10295860 >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/-S1--Application-container-during-development-for-fastest-code-test-cycle--tf3677559.html#a10351354 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]