Sun OpenSSO Enterprise Policy Agent 3.0 Guide for JBoss Application Server 4.x/5.x

ProcedureTo Configure the JBoss Application Server 4.x/5.x Agent for Apache CXF

  1. After you download and unzip the JBoss Application Server 4.x/5.x agent distribution file, locate the openssoclientsdk.jar file in the following directory:


    Agent-Home is where you unzipped the agent distribution file.

  2. Extract the files from openssoclientsdk.jar. For example:

    cd /agents/j2ee_agents/jboss_v42_agent/lib
    jar xvf openssoclientsdk.jar
  3. In each file, set the javax.xml.bind.context.factory property to the v2 ContextFactory class:

    Old value: javax.xml.bind.context.factory=com.sun.xml.bind.ContextFactory_1_0_1

    New value: javax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory

    Note: The openssoclientsdk.jar contains a number of different files in various subdirectories. You must edit each of these files, so consider writing a script to edit the files.

  4. Generate a revised openssoclientsdk.jar file. For example:

    jar uvf openssoclientsdk.jar *