[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
JBoss 4.2.3  XML
Forum Index -> Deployment
Author Message
saala

Power User

Joined: 14/04/2008 13:12:41
Messages: 85
Offline

Hi,

I tried to deploy the server part of the entclnt into JBoss 4.2.3 - and I failed.

My assumption is, that JBoss uses JSF 1.2 in contrary to entclnt that uses JSF 1.1. Futhermore JBoss seems to forbid to deploy another JSF Impementation.

Are there any experiences to deploy entclnt to Jboss 4.2.3?
Would it be possible to use JSF 1.2 for entclnt?

Michael
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Please check this post:

http://www.casabacdemo.com/forum/posts/list/159.page


Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

we tested again...: first against 4.2.2 - no problem when following the rules:

Code:
 (1) remove WEB-INF/lib/jsf-api.jar and WEB-INF/lib/jsf-impl.jar
 (2) remove WEB-INF/lib/log4j*.jar
 


4.2.3 needs some additional treatment - it does not like the crimson parser that comes with the web application. So the steps are:
Code:
 (1) remove WEB-INF/lib/jsf-api.jar and WEB-INF/lib/jsf-impl.jar
 (2) remove WEB-INF/lib/log4j*.jar
 ...and...
 (3) remove WEB-INF/lib/crimson.jar
 (4) replace by e.g. xerces parser, that you need to copy into WEB-INF/lib/ directory
 (5) create/edit /eclntjsfserver/config/system.xml and point it to the xerces parser:
 
 <system>
     <saxparserfactory name="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
     <layoutbuffer active="true"/>
 </system>
 
 


...and finally it deploys on our JBoss installation...

Björn

Björn Müller, CaptainCasa GmbH
saala

Power User

Joined: 14/04/2008 13:12:41
Messages: 85
Offline

Hmmm,

... this instruction does not work in my environment...

The variant I got to work is to add the jsf-libs to my ear file and to use the org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL parameter in the web.xml.

Michael
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team