Shoshin - Steve's blog

Java CAPS 6 post install check list

mercredi juil. 09, 2008

  • In Netbeans
    • Go to the Menu "Tools/Plugins"/"Settings tab" , select the "CAPS repository update center" , set the "Automatically Check for Updates" to "Every Startup"

    • Check the logs settings , and check Netbeans configuration at S:\netbeans\etc\netbeans.conf
    • In the "project" window / "CAPS Components Library" / "Business Process Manager" / "Download database scripts" / right click on your "DB-vendor".zip "Version Control --> Check Out ..." then "export" ; assuming you chose oracle.zip then check the content of "S:\scripts\BPM_DB_oracle\sql\schema\oracle_install.sql and verify the tablespace data file (ensure the path does exist) set your own password and run the script: :
      CREATE TABLESPACE BPM6USERdb DATAFILE 'C:\oracle\product\10.2.0\oradata\jcaps\BPM_file60db.dat' SIZE 512M REUSE AUTOEXTEND ON NEXT 2048M MAXSIZE UNLIMITED;


    • Note that if you want to come back to a fresh DB after months of work , you can run the S:\scripts\BPM_DB_oracle\sql\schema\clear_tables.sql script
    • In the "project" window / "CAPS Components Library" / "Business Process Manager" /  database scripts" / " WorkList Viewer " / " WorkList Viewer" right click Version Control --> Check Out ..." / " Database scripts " ( you can right click "properties" to set the JDBC URL of your database instance) ;

      assuming you chose Oracle Install Script then check the content of script and verify the tablespace data file (ensure the path does exist) , set your own password and run the script:
      create tablespace WLM6USERdb datafile 'C:\oracle\product\10.2.0\oradata\jcaps\WLM6USERdb.dat' size 500k reuse autoextend on next 500k maxsize UNLIMITED;




    • Then in the " Services window " / " CAPS Environments " , "my Environment" / "LogicalHost" / "My AppServer" / "eInsight Engine Configuration" , set the property "Atomatic Execution Of Database scripts" to false


  • AppServer
    • Check the log settings
    • Check S:\appserver\domains\domain1\config\server.policy , during development you can add

      // Grant for Dev only
         grant{ permission java.security.AllPermission;
      };

    • Check S:\appserver\domains\domain1\config\domain.xml , during development you can add under the java-config section :
      -Djava.util.logging.config.file=${com.sun.aas.instanceRoot}/config/myXXXXX-log-config.properties
      <!−− WS-AT: Added for debugging ssl handshake −−> -Djavax.net.debug=ssl,handshake,trustmanager
    • Configure the BPEL SE DB, following the open-esb wiki
    • See also Louis's entry to create a new domain if you need
    • If you want to create server instances et clusters, see my entry "creating standalone and clustered instances"
  • Enterprise Manager
    • on the left "Explorer" frame, on the "cog" on the right, right click "Configuration"


    • Then go to the "Web Applications Manager" / "Auto-Install from Repository" , set the URL, user and password of your repository



    • Then "select All" and "Install"



  •  Workflow Service
    • Download the  Workflow Service API , logging to the Java CAPS Uploader , going to "Downloads" tab / "Workflow Service API"


      Read the readme.txt ! :
      The Workflow Service API is provided to develop custom Work List
      Manager applications. Its expected User Activity APIs are used in
      the Business Processes. The following procedure outlines the steps
      for developing custom applications.

      Step 1: Obtain WorkflowService.
      Pick up WorkflowService.jar from the WorkflowService.zip

      Step 2: Modify the Connection properties.

          i)   Unzip WorkflowService.jar
          ii)  Modify connection.properties at com/stc/bpms/wlm to point to
               the needed resources-- Databases, LDAP, and Email server.
          iii) Zip it to WorkflowService.jar.

      Please see below for the help with the connection.properties.
      Step 3: Deploy WorkflowService.

      The WorkflowService.jar should be deployed command line to ensure needed stubs are generated :
      run S:\glassfish\bin\asadmin.bat get-client-stubs --user admin --passwordfile "S:\deployTool\Application_Server_scripts\passwordfile.txt" --appname WorkflowService S:\WorkflowService
  • For further tips on how to use the WLM API with VWP, see Andrew's Blog

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Setting up DB2 connect in jcaps6 thread (the Db2 connect third party installer doesn't work too well):

http://forum.java.sun.com/thread.jspa?threadID=5306361&tstart=15

Posted by Adam on juillet 09, 2008 at 11:32 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed