2 Replies Latest reply on May 8, 2007 4:06 PM by bill.burke

    Can Embedded JBoss be used in OC4J???

    xiaocase_1528

      Can Embedded JBoss be used in OC4J???
      Thank you!

        • 1. Re: Can Embedded JBoss be used in OC4J???

          I've tried to do this, and I've asked on these forums as well...the answer I got from Gavin was, "No, use Oracle's EJB3 implementation instead."

          Now, having said that, I have not been able to successfully deploy *any* Seam application on OC4J at all, so if anyone out there has, please respond with how you did it.

          Here's what I've tried, and where it failed:
          (1) Deploying a WAR file that works in Tomcat, using JBoss's Embedded EJB3 jar, to OC4J using the management console...didn't work...OC4J says it can't find the EntityManager.
          (2) Deploying the Glassfish example to OC4J using the management console...didn't work...OC4J says "Invalid archive file: Jar file jboss-seam.jar is missing a standard deployment located at META-INF/application-client.xml" when trying to upload the EAR file; the WAR file uploads, but gives the error, "Error loading listener 'org.jboss.seam.servlet.SeamListener', class not found" when deploying.
          (3) Deploying the Glassfish example to OC4J by tweaking some xml files (server.xml, application.xml and default-web-site.xml)...didn't work...OC4J choked on the SeamInterceptor (No <around-invoke> or lifecycle callbacks were specified).
          (4) Deploying any example (Glassfish, even the one that works in Tomcat) to JDeveloper's internal OC4J...didn't work...it deploys, but the output is a blank, white screen (in FF...404 in IE) with no error in the output console. It seems the problem is it doesn't know what to do with a home.seam url.

          • 2. Re: Can Embedded JBoss be used in OC4J???
            bill.burke

            No, read wiki. We've only done work for standalone Java and Tomcat.