Re: Problems to org/richfaces/VersionBean.VERSION application in Websphere 8.5
Mar 10, 2012 in response to SystemAdmin
Under RAD - If you deployed the app with an ear.
1) Right click, menu JavaEE, Open Websphere Application Server Deployment
2) Choose the panel: Shared Library
2.1) button Add
2.2) Fill the required fields
3) Choose the panel: Application
3.1) Classloader mode: PARENT_LAST
3.2) WAR classloader policy: APPLICATION
3.3) You can also try these above steps by selecting the war entry
4) On you web project (war), right click, menu Properties
4.1) Projects facets
4.2) In my case, All JavaServer faces check boxes are unchecked
5) Redeploy your ear or restart your server
OR
Under WAS:
1) Under RAD produce a Ear File
2) Start the admin console
3) Panel: Environment (at right)
4) Sub-menu: Shared libraries
5) Button New and select the required fields. Read with attention the tooltip on each field
6) Check the box Class Loading - Use an isolated class loader for this shared library
7) Panel: Applications > Application Types > WebSphere enterprise applications
8) Button: Install, select your ear and Next
9) Select the radio button: Detailed - Show all installation options and parameters.
10) Follow the steps - moslty default value are ok
10.1) Step 4 Map shared libraries
10.2) Select your ear
10.3) Button: References Shared Libraries
10.4) Select your library previously created and OK button
10.5) Follow the next steps and start your ear file
10.a) If it does not work, then try to create a class loader
Panel: Servers > Server Types > WebSphere application servers > Your server (server1)
10.b) Panel: Server Infrastructure > Java and Process Management > Class loader
10.c) Button New: > Class loader order > Classes loaded with local class loader first (Parent Last)
10.d) Apply Button
10.e) Then at the same panel: Shared library references link
10.f) Button Add and select your shared library, OK and Save
10.g) Restart your server and your application
Other resources:
- http://publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.express.iseries.doc%2Finfo%2Fiseriesexp%2Fae%2Ftweb_jsf.html
- http://wasbehindtheglass.blogspot.com/2011/11/myfaces-20-and-websphere-application.html
- http://wiki.apache.org/myfaces/Websphere_Installation.
If IBM people can complete the answer, it would be nice.
1) Right click, menu JavaEE, Open Websphere Application Server Deployment
2) Choose the panel: Shared Library
2.1) button Add
2.2) Fill the required fields
3) Choose the panel: Application
3.1) Classloader mode: PARENT_LAST
3.2) WAR classloader policy: APPLICATION
3.3) You can also try these above steps by selecting the war entry
4) On you web project (war), right click, menu Properties
4.1) Projects facets
4.2) In my case, All JavaServer faces check boxes are unchecked
5) Redeploy your ear or restart your server
OR
Under WAS:
1) Under RAD produce a Ear File
2) Start the admin console
3) Panel: Environment (at right)
4) Sub-menu: Shared libraries
5) Button New and select the required fields. Read with attention the tooltip on each field
6) Check the box Class Loading - Use an isolated class loader for this shared library
7) Panel: Applications > Application Types > WebSphere enterprise applications
8) Button: Install, select your ear and Next
9) Select the radio button: Detailed - Show all installation options and parameters.
10) Follow the steps - moslty default value are ok
10.1) Step 4 Map shared libraries
10.2) Select your ear
10.3) Button: References Shared Libraries
10.4) Select your library previously created and OK button
10.5) Follow the next steps and start your ear file
10.a) If it does not work, then try to create a class loader
Panel: Servers > Server Types > WebSphere application servers > Your server (server1)
10.b) Panel: Server Infrastructure > Java and Process Management > Class loader
10.c) Button New: > Class loader order > Classes loaded with local class loader first (Parent Last)
10.d) Apply Button
10.e) Then at the same panel: Shared library references link
10.f) Button Add and select your shared library, OK and Save
10.g) Restart your server and your application
Other resources:
- http://publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.express.iseries.doc%2Finfo%2Fiseriesexp%2Fae%2Ftweb_jsf.html
- http://wasbehindtheglass.blogspot.com/2011/11/myfaces-20-and-websphere-application.html
- http://wiki.apache.org/myfaces/Websphere_Installation.
If IBM people can complete the answer, it would be nice.
No comments:
Post a Comment