Install OEPE for WebLogic 12c
Deploy JSF shared library
Create EAR, EJB, Model and Web Eclipse projects
Configuration:
Add JSF facet and capabilities
add to weblogic.xml
<wls:library-ref>
<wls:library-name>jsf</wls:library-name>
<wls:specification-version>2.0</wls:specification-version>
<wls:exact-match>true</wls:exact-match>
</wls:library-ref>
Upgraded the default EclipseLink 2.3.2 provider to the latest EclipseLink 2.5 to take advantage of the new features in 2.5 that don't require container changes - like JPA-RS in http://wiki.eclipse.org/EclipseLink/Development/2.4.0/JPA-RS/REST-API.
change from EclipseLink 2.3.2
[EL Info]: 2013-04-07 18:59:12.282--ServerSession(14413904)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
by modifying the library jar in the modules directory.
in your $Weblogic\wls12110\modules dir
ignore org.eclipse.persistence_2.0.0.0_2-3.jar
but overwrite
javax.persistence_2.0.0.0_2-0.jar
with
eclipselink.jar
from
http://www.eclipse.org/eclipselink/downloads/milestones.php
After restarting Eclipse OEPE and Weblogic 12c we see the latest version of EclipseLink
[EL Info]: 2013-04-07 19:09:23.109--ServerSession(18669924)--Thread(Thread[[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--EclipseLink, version: Eclipse Persistence Services - 2.5.0.v20130403-740364a
[EL Info]: 2013-04-07 19:09:23.109--ServerSession(18669924)--Thread(Thread[[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Server: 12.1.1.0
Enabling JSF 2.0 on WebLogic 10.3.5.0
<14-Jan-2014 3:25:43 o'clock PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>14-Jan-2014 3:26:04 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
14-Jan-2014 3:26:05 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
after deploying a JSF 2.0 war
14-Jan-2014 3:40:12 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.4 (FCS b05) for context '/WeblogicWeb'
<14-Jan-2014 3:40:14 o'clock PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
14-Jan-2014 3:40:15 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.4 (FCS b05) for context '/console'
14-Jan-2014 3:40:15 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Mojarra (2.0.4 (FCS b05)) for context '/console'
Upgrading a WebLogic 10.3.5 cluster to 12.1.2 - WebLogic 12c
This section details issues surrounding an upgrade of WebLogic 10.3.5 past 10.3.6 and 12.1.1 to 12.1.2.References
http://docs.oracle.com/middleware/1212/wls/WLDCW/intro.htmhttp://docs.oracle.com/middleware/1212/wls/WLSRN/issues.htm#BCFHBHDD
http://docs.oracle.com/middleware/1212/wls/WLUPG/compat.htm
http://docs.oracle.com/middleware/1212/wls/WLUPG/upgrade_dom.htm#WLUPG388
No comments:
Post a Comment