[JBoss Seam] - Re: Deploying EJB3 EAR File to WebLogic 9.2
by neilac333
I was thinking the same thing. Just follow the Tomcat sample and pray it works!
Now this may be a semantic thing, but I always planned on a JPA based deployment--whether I went with EJB3 or POJOs. The plan was to use a persistence archive with Hibernate JPA hitting a datasource created on WL 9.2 and making that archive part of the larger deployment package (EAR or WAR).
I was hoping to leverage EJB3 (or the reasonable facsimile provided by the embedded container) for management of session beans, transactions, managed persistence contexts, and all the other wondrous joys provided by the EJB3 spec. Not to mention that when and if my deployment environment (controlled by powers far outside my control) gets upgraded to WL 10 and certain EJB3 capability, then refactoring would be trivial.
Does that clarify things? What did you mean by "JPA based deployment"? I have found the JPA vs. EJB3 entity beans discussion is always tricky. Also, just to be clear, are you saying I should pursue a POJO-based deployment as the existing WL 9.2 samples have rather than attempt the Tomcat-like EJB3 deployment?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092061#4092061
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092061
18Â years, 6Â months
[Tomcat, HTTPD, Servlets & JSP] - JSF COnfiguration
by razmaspaz
I am attepting to use JSF on JBoss 4.2 It seems like it should be setup to go already. I am stuck getting this exception:
java.lang.RuntimeException: Cannot find FacesContext
javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1796)
javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1613)
org.apache.jsp.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:92)
org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
I found some info about adding a listener for MyFaces, but it looks like the RI is the default implementation for JBoss 4.2. So is there something Else I need to do to initialize the faces context?
Thanks
Razmaspaz
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092058#4092058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092058
18Â years, 6Â months