-
1. Re: has anybody deploy CAS 3.4 on JBoss5 successfully ?
alesj Aug 9, 2010 3:37 AM (in response to jasonming).war should already do child-first lookup, so most of those libs/classes should be your local ones.
The logging is always a pita, so I would suggest you try diff approach:
* http://community.jboss.org/wiki/Logging
AS6 has new better logging layer, which allows you more control.
* http://community.jboss.org/message/521813 (and search for similar)
-
2. Re: has anybody deploy CAS 3.4 on JBoss5 successfully ?
jasonming Aug 9, 2010 6:15 AM (in response to alesj)I do appreciate your suggestion.
I'll try that.
thanks again.
-
3. Re: has anybody deploy CAS 3.4 on JBoss5 successfully ?
mtb2ride Sep 23, 2010 1:30 AM (in response to jasonming)1 of 1 people found this helpfulI just now successfully deployed CAS 3.4.2 in Jboss6-m4 Should be similar for Jboss5.1.x. Several things:
1. add a jboss-scanning.xml
{code:xml}<scanning xmlns="urn:jboss:scanning:1.0">
<path name="WEB-INF/classes">
</path>
<path name="WEB-INF/lib/jdom-1.0.jar">
<include name="org.jdom" />
</path></scanning>{code}
This is to avoid a continual StringIndexOutOfBoundsException when the scanner comes accross the jdom.jar file and scans a class in the root package.
2. Use maven's pom war overlay feature and do an overlay of your own version of web.xml.. just take a copy of the existing web.xml and remove all references to Log4j and Log4Configurator.
3. Remove from WEB-INF/lib all log4j, slf4j, xml-apis, hibernate-jpa. These will cause numerous errors as they conflict with jboss provided classes and Jboss provided logging.
4. Also I simply deleted the WEB-INF/class/META-INF/persistence.xml as it was causing jboss to complain about compliance. You might need this if you are features of cas that are persisted. Also you may be able to just ignore presistence.xml using the jboss-ignores.txt here http://community.jboss.org/wiki/JBoss5custommetadatafiles, I din't try the ignores approach.
-
4. Re: has anybody deploy CAS 3.4 on JBoss5 successfully ?
jasonming Sep 24, 2010 11:12 AM (in response to mtb2ride)Thanks for your answer~~~
I'll try that ^_^