ADF Faces Tutorial Demo Application to JBoss 4.0.4 GA (JDeveloper 10.3.1.0)
549152Nov 30 2006 — edited Jan 29 2007Hello everybody,
After completing the SRDemo tutorial in OC4J I just want to see what is it doing in JBoss and as you may guess I hit some problems.
So I am trying to deploy SRDemo tutorial to the JBoss 4.0.4 GA.
After some small fights, I managed to deploy to JBoss without any exception.
At the begining I have to fight subjects like
- First Jboss complained about not able to find SRPublicFacade at JNDI tree, after adapting JNDI tree to the EJB3 standards (because JBoss place the Session Bean to the JNDI tree with '/local' added on it), that is solved, so web.xml looks like
<ejb-local-ref>
<ejb-ref-name>ejb/local/SRPublicFacade/local</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>oracle.srdemo.datamodel.SRPublicFacadeLocal</local>
<local-home>org.jboss.ejb3.test.servlet.Session30LocalHome</local-home>
<ejb-link>SRPublicFacade</ejb-link>
</ejb-local-ref>
-Then JBoss start complaining that web.xml is missing the <local-home> entry, I figure out for EJB3 we have to use this dummy home 'org.jboss.ejb3.test.servlet.Session30LocalHome'
and this in jboss-web.xml
ejb-local-ref>
<ejb-ref-name>ejb/local/SRPublicFacade/local</ejb-ref-name>
<local-jndi-name>Session30LocalHome</local-jndi-name>
</ejb-local-ref>
After these changes and some small things like security and pattern url problems application started without any expection.
But that is not the end of the story, after I called the SRList.jspx page, I am getting this error messages without any exception trace or anything like that, they are just there.
WARNUNG: JBO-25221: Die Methode RPublicFacadeLocal.dataProvider.findUserByEMail() wird nicht unterstützt. (it basicly says findUserByEMail method is not supported)
Anybody has an idea about that, I could not find anything on the net about it, it is looking like Datacontrol binding is not able to find the methods on the Session Bean, which in my opinion happening because of some EJB 3 features.
Another interesting thing, when I say JDeveloper to deploy ADF Runtime it is copying a datatags.ear, which has a reference to oracle.jbo.server.EMDServlet inside of the web.xml and the funny part inside of the ear(actually inside of the war file contained inside of ear) there is the classes directory and necessary package structure but directory server is empty, what is the use of this datatags.ear and is anybody has a version containing EMDServlet
Thx in advance
here is the all problem aread
12:17:51,735 DEBUG [LifecycleImpl] Skipping rest of execute() because of a reload
12:17:51,735 DEBUG [LifecycleImpl] render(com.sun.faces.context.FacesContextImpl@1172c5)
12:17:51,735 ERROR [STDERR] 30.11.2006 12:17:51 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNUNG: JBO-25221: Die Methode SRPublicFacadeLocal.dataProvider.findUserByEMail() wird nicht unterst³tzt.
12:17:51,735 DEBUG [FacesContextImpl] Adding Message[sourceId=<<NONE>>,summary=JBO-25221: Die Methode SRPublicFacadeLoca
l.dataProvider.findUserByEMail() wird nicht unterst³tzt.)
12:17:51,766 ERROR [STDERR] 30.11.2006 12:17:51 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNUNG: JBO-25221: Die Methode SRPublicFacadeLocal.dataProvider.findServiceRequests() wird nicht unterst³tzt.
12:17:51,766 DEBUG [FacesContextImpl] Adding Message[sourceId=<<NONE>>,summary=JBO-25221: Die Methode SRPublicFacadeLoca
l.dataProvider.findServiceRequests() wird nicht unterst³tzt.)
12:17:51,797 DEBUG [RenderResponsePhase] Entering RenderResponsePhase
12:17:51,797 DEBUG [RenderResponsePhase] About to render view /app/SRList.jspx