Monday, April 7, 2008

ANY_HOST_CONFIGURATION error in booting

I spend a whole day trying to figure out why the Abobe LiveCycle
DataServices did not run on our Jboss 4.0.4.GA. I kept getting "Field
ANY_HOST_CONFIGURATION not found" as a ClassLoader error. It turned out
that the version of commons-httpclient.jar that ships with Jboss is an
older version that what Flex requires. As the older jar is located in
the class path of Jboss ([jboss]/server/default/lib), this older version
is used and not the jar that comes with Flex.

These steps makes the flex applications deploy:
1. Unpack flex.war from the LiveCycle DataServices
2. Stop Jboss
3. Delete commons-httpclient.jar from Jboss classpath
([jboss]/server/default/lib)
4. Copy commons-httpclient-3.0.1.jar to Jboss classpath
5. Restart Jboss
6. Deploy flex.war

No comments: