Is it possible to run Seam 2.0 with the Embedded EJB3 instead of JBoss Embedded (As I mentioned, that configuration was *much* better)?
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.
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).
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)
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.
Hope this helps.
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