-
1. Re: Tomcat, Seam 2.0.0.GA with no embedded?
andrew.rw.robinson Dec 8, 2007 10:20 PM (in response to andrew.rw.robinson)Also,
Is it possible to run Seam 2.0 with the Embedded EJB3 instead of JBoss Embedded (As I mentioned, that configuration was *much* better)? -
2. Re: Tomcat, Seam 2.0.0.GA with no embedded?
matt.drees Dec 8, 2007 11:46 PM (in response to andrew.rw.robinson)Do you really need EJB3 (beyond JPA)? If not (and it sounds like you don't, if you're exclusively using Seam Pojos), then you don't need Embedded Jboss. Take a look at the JPA example, which deploys to tomcat.
-
3. Re: Tomcat, Seam 2.0.0.GA with no embedded?
matt.drees Dec 8, 2007 11:55 PM (in response to andrew.rw.robinson)And yes, you'd still have page flows, drools, etc. You'd only loose EJB3 stuff (though I think you'd consequently loose the Seam Remoting functionality that uses JMS).
-
4. Re: Tomcat, Seam 2.0.0.GA with no embedded?
andrew.rw.robinson Dec 10, 2007 9:04 AM (in response to andrew.rw.robinson)Thanks,
That was all I needed to know. Now I just need to figure out what jar provides LocalOnlyContextFactory besides the embedded:Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.LocalOnlyContextFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
-
5. Re: Tomcat, Seam 2.0.0.GA with no embedded?
techieexchange Dec 10, 2007 11:24 AM (in response to andrew.rw.robinson)Hi,
If you would like to work with Seam 2 + Tomcat without EJB3,
then take a look at this step-by-step tutorial.
Use JPA example as your template and replace
src and web (view) files with your existing ones.
http://techieexchange.wordpress.com/2007/11/11/rad-seam-development-with-eclipse-and-tomcat-step-by-step-tutorial-screencast/
Hope this helps. -
6. Re: Tomcat, Seam 2.0.0.GA with no embedded?
andrew.rw.robinson Dec 10, 2007 12:41 PM (in response to andrew.rw.robinson)I used the JPA as an example. I did find the problem though. I had a few extra config files still around from before, so I deleted them and that fixed the issue