Skip to main content

BES 6.5 and STrace 3 integration issues with Security enabled in Partition.

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

BES 6.5 and STrace 3 integration issues with Security enabled in Partition.

Resolution:

  • Product Name:Borland AppServer?and ServerTrace 3.0
  • Product Version: BES 6.5 and BAS 6.6
  • Product Component: Security
  • Platform/OS Version: Solaris 8/9
  • JDK/Compiler Version: Sun JVM 1.5.0_06 (HotSpot Server VM) 32bit


Description:

Exception occurs when integrating BES 6.5 and Strace 3 when Security is enabled in the partition.

While trying to start the Partition after successfully done with the integration config setup with ServerTrace 3.0, the Partition fails to start with the following exception (please see the attached "stactrace.txt" for the entire list):

Error detected initializing the partition"s management ORB. Partition cannot be started.
?org.omg.CORBA.INITIALIZE: Could not initialize Could not read Subject from the Vault vmcid: 0x0 minor code: 0 completed: No
?at com.borland.security.core.Init.pre_init(Init.java:655)
?at com.inprise.vbroker.orb.ORB.initialize(Unknown Source)
?at com.inprise.vbroker.orb.ORB.set_parameters(Unknown Source)
?at org.omg.CORBA.ORB.init(ORB.java:337)
?at com.borland.enterprise.server.PartitionServer.run(PartitionServer.java:272)
?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
?at java.lang.reflect.Method.invoke(Method.java:585)
?at com.borland.enterprise.server.Partition.main(Partition.java:194)


Answer/Solution:

  • Ensure your "configuration.xml" has the proper "ServerTrace" stanza and entries (a sample is attached)
  • Now, try the following steps to see if it resolves the issue:
    1. Stop the partition
    2. Go to ${STrace}/ext/strace/audit directory, remove rejectClasses directory if exists
    3. Edit the "extensions.table" file in the same directory.
      • find the "lookAtClasses" entry in [libraryName="jdbc" session]if exists, add "#com/borland/datastore/driver/LDriverResult" to it
      • if not exist, add entries for lookAtClasses (please attached copy for your reference)
    4. Go to ${BES}/var/domains/base/configurations//mos/standard/adm/servertrace/ directory, edit the file optimizeit.xml: change the ignoreTraining="false" to ignoreTraining="true"
    5. Restart the partition.


  • Author: U Somanchi.

    Related documents:


Old KB# 26351

#VisiBroker
#Security