I expect it will be pretty straightforward to take the GlassFish example and deploy it on OC4J.
But if you ask Michael Yuan very nicely, he might be able to find the time to test it and compile precise instructions.
I will give OC4J a try shortly. Which version of the Oracle server do you target? Do you want to run an EJB3-based Seam app on OC4J?
I think it will be quite easy to get a POJO-based Seam app running on OC4J (using JPA or Hibernate). EJB3 session beans would require the preview version of Oracle EJB3.
Thanks yuan for your quick response ,
I am using
Oracle J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) with ejb3 and Database is Oracle 10g.
I need both with EJB and with POJO I have to evaluate what to use in our project. If possible please include ajax4j or icefaces too.
I did not get any response from your side, regarding deployment of seam application on oc4j , even I had provided you required configuration of
I have also tried to deploy application glassfish to OC4J but fail. It throws following error:
[2007?2?8? ??05:20:48] Application Deployer for jboss-seam-glassfish STARTS.
[2007?2?8? ??05:20:48] Copy the archive to C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear
[2007?2?8? ??05:20:48] Initialize C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear begins...
[2007?2?8? ??05:20:48] Unpacking jboss-seam-glassfish.ear
[2007?2?8? ??05:20:49] Done unpacking jboss-seam-glassfish.ear
[2007?2?8? ??05:20:49] Unpacking jboss-seam-glassfish.war
[2007?2?8? ??05:20:50] Done unpacking jboss-seam-glassfish.war
[2007?2?8? ??05:20:50] Initialize C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear ends...
[2007?2?8? ??05:20:50] Starting application : jboss-seam-glassfish
[2007?2?8? ??05:20:50] Initializing ClassLoader(s)
[2007?2?8? ??05:20:51] Initializing EJB container
[2007?2?8? ??05:20:51] Loading connector(s)
[2007?2?8? ??05:20:51] Starting up resource adapters
[2007?2?8? ??05:20:51] Processing EJB module: jboss-seam-glassfish.jar
[2007?2?8? ??05:20:52] application : jboss-seam-glassfish is in failed state
[2007 ?2?8? ??05:20:52] Operation failed with error: [jboss-seam-glassfish:jboss-seam-glassfish] - No or lifecycle callbacks were specified for interceptor org.jboss.seam.ejb.SeamInterceptor.
I didn't change anything in this EAR. Anything need i further configure. Thanks.
download oc4j 10g (10.1.3.1.0) (build 061009.1800.29721).
and deploy it, it will be deployed successfuly,
but as far as execution is concerned, I am not able to execute it.
Thanks merajcal, I can deploy GlassFish successfully.
However, when i access the index page, it is forwarded to home.seam. Then it show a blank page. There is no error threw in the console and log file.
Besides, i check the database, i found there is not table generated even i set create/drop in the persistence xml. Do you know why?
Same problem I have been facing for long time, and I had logged the problem but did not get any response,
so I dont know what to do, I have to start my project also,
The concept provided by the seam is excellent but I am sorry to say that the support provided by the forum is not very good, so I have to look for some other option like shale etc.
Is there a JIRA issue for this? I couldn't find one. If there isn't please create one :)