Configuring WebLogic for Asynchronous Communications

ProcedureTo Configure WebLogic Server 9.2

  1. Verify that the system classpath contains weblogic.jar and weblogic.ejb.example.jar.

  2. Copy the following files to the root:\BEA-HOME\weblogic92\server\lib directory,

    • com.stc.jms.stcjms.jar

    • weblogic.ejb.example.jar

    • weblogic.startup.jar

    • weblogic.startup.properties

    com.stc.jms.stcjms.jar can be found in the Java CAPS 6 Repository at:


    root:\JavaCAPS6\repository\repository\data\files\InstallManager\
    javamodules\JMSJCA\com.stc.jms.stcjms.jar

    Note –

    Disable Security in STCMS for the JMS samples to work properly .


  3. Modify startExamplesServer.cmd and setExamplesEnv.cmd located at BEA-HOMEuser_projectsdomain name, appending com.stc.jms.stcjms.jar and weblogic.startup.jar to the classpath for each. For example:

    For startExamplesServer.cmd


    CLASSPATH=%WL_HOME%\server\lib\webservices.jar;
    %POINTBASE_CLASSPATH%;%CLIENT_CLASSES%;%SERVER_CLASSES%;%COMMON_CLASSES%;
    %CLIENT_CLASSES%\utils_common.jar;
    %WL_HOME%\server\lib\com.stc.jms.stcjms.jar;
    %WL_HOME%\server\lib\weblogic.startup.jar

    For setExampleEnv.cmd


    CLASSPATH=%WL_HOME%\server\lib\webservices.jar
    ;%CLIENT_CLASSES%;%SERVER_CLASSES%;%POINTBASE_CLASSPATH%;
    %POINTBASE_TOOLS%;%COMMON_CLASSES%;%CLIENT_CLASSES%\utils_common.jar;
    %WEBLOGIC_CLASSPATH%;%WL_HOME%\server\lib\com.stc.jms.stcjms.jar;
    %WL_HOME%\server\lib\weblogic.startup.jar
  4. The sample EJBs have been configured to reference the T3 naming service that is running on the localhost at port 7001. Each WebLogic Server instance is preset to listen on port 7001. If your server instance is running on a different port. You must modify the deployment descriptors for the EJBs to match this port.

    Follow these steps to modify the deployment descriptors.

    1. Extract weblogic.ejb.example.jar to a temporary file and edit META-INF\weblogic-ejb-jar.xml.

    2. Find the Provider_URL tag of the deployment descriptor for each Bean that is executed. Change the port number from 7001 to 7003. Also, change localhost to the name of your specific computer, if necessary.

    3. Save, re-jar (zip), and replace weblogic.ejb.example.jar.

  5. Start an instance of the application server (in this case, the user defined domain/server).

    Start the Administration Console after the server boots up.