[ALSB 3.0] where is the org.apache.xmlbeans.XmlObject class ?

Hi all,
in ALSB 2.6 the org.apache.xmlbeans.XmlObject class was located in the weblogic\common\lib\apache_xbean.jar jar file.
Where is now in ALSB 3.0 ?
I'm using jarbrowser tool for looking for it but I'm not able to find it!
That class is used in a javacallout of mine and I'm migrating to ALSB 3.0 ...
Regards
ferp

I did a search and that is my result:
/software/bea100 > find . -name "*xbean*.jar"
./modules/com.bea.cie.gpr-xbean_2.6.0.0.jar
./modules/com.bea.cie.gpr-xbean_2.3.0.0.jar
./modules/com.bea.cie.gpr-xbean_2.4.0.0.jar
./modules/com.bea.cie.gpr-xbean_2.1.0.0.jar
./tools/eclipse_pkgs/1.1/pkgs/eclipse/plugins/com.bea.al.sam.dsp25adapter_1.0.20.200801301412/jars/xbean.jar
./tools/eclipse_pkgs/1.1/pkgs/eclipse/plugins/com.bea.workshop.thirdparty.xmlbeans.v21_1.0.20.200802230114/lib/xbean.jar
./tools/eclipse_pkgs/1.1/pkgs/eclipse/plugins/com.bea.workshop.thirdparty.xmlbeans.v22_1.0.20.200802230114/lib/xbean.jar
./tools/eclipse_pkgs/1.1/pkgs/eclipse/plugins/com.bea.workshop.common.usagetrack.protocol_1.0.20.200802230115/lib/xbean.jar
./weblogic/server/lib/wlxbean.jar
Only tools\eclipse_pkgs\1.1\pkgs\eclipse\plugins\com.bea.workshop.thirdparty.xmlbeans.v22_1.0.20.200802230114\lib\xbean.jar contains the org.apache.xmlbeans.XmlObject !
So I don't have any bea10\wlserver_10.0\server\lib\xbean.jar ...
But is it correct to use that jar that is located under pkgs\eclipse\plugins ?
Regards
ferp

Similar Messages

  • ClassCastException: org.apache.xmlbeans.impl.values.XmlComplexContentImpl

    Hi
    I ran into a issue where i am able to parse an xml in a weblogic workspace using xmlbeans. but when i deploy to weblogic workshop domain and having the same xbean.jar that from the eclipse features folder with name com.bea.workshop.thirdparty.xmlbeans.v22_1.0.30.200904250221 its throwing java.lang.ClassCastException: org.apache.xmlbeans.impl.values.XmlComplexContentImpl.
    Any help in this is appretiated. Will update the post if i get a solution.
    Thanks & Regards,
    Rajanikanth R

    Hi,
    I am using weblogic 10, Axis2 1.5.1 and jsk 1.5.02_14. this is server configuration.
    I am having client implementation for our one of web service. I am using XML beans to generate my stub classes & data beans. My document is not returning the object of XmlComplexContentImpl instead of DocumnetImpl in the server, But when I try to execute as a standalon program i am getting the correct object which is DocumentImpl.
    can some body advise please. Its quite urgent.
    Thanks

  • Where to find org.apache package?

    I build ibatis source code in eclipse, but it reported many problems:
    import org.apache can not be resolved.
    import net. can not be resolved.
    could anyone tell me where to find these package?
    thanks very much!

    There are tons of packages that begin with org.apache. You will have to be more specific. Why are you building from source? Why not simply use the binaries?

  • Org.apache.fop.apps classes wanted

    in what *.jar files do these classes exist?
    The following lines give an error:
    import org.apache.fop.apps.Driver;
    import org.apache.fop.apps.Version;
    I currently get an error as I don't have the right jar files in my machine. So where to get them?
    Or could somebody possibly send them to my e-mail?
    [email protected]
    OK!
    AUlo

    fop.jar, under the Apache fop installation directory

  • Where is the JavaDoc for depreciated API classes

    I have a v3.2.3 wizard that I'm trying to convert to v9.0.2.
    It uses the ClassPickerPanel class. I get
    Warning (175,21): constructor ClassPickerPanel ()
    in class oracle.jdeveloper.common.ClassPickerPanel has been deprecated.
    Where is the JDeveloper Javadoc (on-line, downloadable or in the Help system) so I can try to update the code (remove all the Borland JBuilder imports)?

    We're working on the answer.
    In the meanwhile, here is some code sample to address your need:
    ==================== file SampleTen.java ====
    package jdevextensions.sampleten;
    import oracle.ide.addin.Addin;
    import oracle.ide.addin.Context;
    import oracle.ide.addin.ContextMenuListener;
    import oracle.ide.addin.Controller;
    import oracle.ide.ContextMenu;
    import oracle.ide.Ide;
    import oracle.ide.IdeAction;
    import oracle.ide.MainWindow;
    import oracle.ide.model.Element;
    import oracle.jdeveloper.model.JProject;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JMenuItem;
    import javax.swing.JSeparator;
    import oracle.bali.ewt.dialog.JEWTDialog;
    import oracle.ide.dialogs.OnePageWizardDialogFactory;
    import oracle.ide.dialogs.WizardLauncher;
    import java.awt.Component;
    import javax.swing.JPanel;
    import oracle.ide.controls.tree.JMutableTreeNode;
    import oracle.ide.controls.tree.JTreeCellData;
    import java.util.Enumeration;
    import oracle.ide.util.TriStateBoolean;
    import oracle.ide.model.Document;
    import javax.swing.JOptionPane;
    public final class SampleTen
    implements Addin,
    Controller
    public static final int JPR_DIALOG_CMD_ID = Ide.newCmd("IdeMenu.JPR_DIALOG_CMD_ID");
    public SampleTen()
    oracle.jdeveloper.common.ClassPickerPanel cpp = new oracle.jdeveloper.common.ClassPickerPanel();
    public Controller supervisor()
    return null;
    public boolean handleEvent(IdeAction action, Context context)
    int cmdId = action.getCommandId();
    if (cmdId == JPR_DIALOG_CMD_ID)
    Element element = ((context==null)?null:context.getElement());
    if (element != null)
    if (element.getClass().getName().equals("oracle.jdeveloper.model.JProject"))
    // Get Current Project
    JProject jpr = (oracle.jdeveloper.model.JProject)Ide.getActiveProject();
    // Show Dialog
    TreePanel treePanel = new TreePanel(jpr);
    if (showTreeDialog(treePanel, null, "Project files"))
    // Do the job if OK has been clicked
    JMutableTreeNode root = treePanel.getRoot();
    Enumeration children = root.children(); // We have only one level here...
    String mess = "";
    while (children.hasMoreElements())
    JMutableTreeNode jmtn = (JMutableTreeNode)children.nextElement();
    JTreeCellData data = jmtn.getModel();
    TriStateBoolean selected = data.getCheckBoxState();
    if (selected == TriStateBoolean.TRUE)
    mess += (((Document)data.getUserObject()).getURL().toString() + "\n");
    JOptionPane.showMessageDialog(null, mess, "Selected", JOptionPane.INFORMATION_MESSAGE);
    return true;
    private static boolean showTreeDialog(JPanel panel, Component defComp, String title)
    JEWTDialog dlg = OnePageWizardDialogFactory.createJEWTDialog(panel, defComp, title);
    dlg.setDefaultButton(JEWTDialog.BUTTON_OK);
    dlg.setOKButtonEnabled(true);
    return WizardLauncher.runDialog(dlg);
    private static final void LogMessage(String msg)
    oracle.ide.Ide.getLogManager().showLog();
    oracle.ide.Ide.getLogManager().getMsgPage().log(msg + "\n");
    static boolean EnableJPRInfo(Context context)
    Element element = (context != null ? context.getElement() : null);
    boolean bEnable = ((element != null) && (element instanceof oracle.jdeveloper.model.JProject));
    System.out.println("EnableJPRInfo : " + bEnable);
    return bEnable;
    public boolean update(IdeAction action, Context context)
    int cmdId = action.getCommandId();
    if (cmdId == JPR_DIALOG_CMD_ID)
    action.setEnabled(EnableJPRInfo(context));
    return true;
    return false;
    public void checkCommands(Context context, Controller activeController)
    this.supervisor().checkCommands(context, activeController);
    protected static IdeAction eiAction; // Element Info Action
    private static JMenuItem CreateTableInfoMenuItem(Controller ctrlr)
    if (eiAction == null)
    Icon mi = new ImageIcon(SampleTen.class.getResource("spy.gif"));
    eiAction = IdeAction.create(JPR_DIALOG_CMD_ID, // int cmdId,
    null, // String cmdClass,
    "Project Tree", // String name,
    new Integer('P'), // Integer mnemonic,
    null, // KeyStroke accelerator,
    mi, // Icon icon,
    null, // Object data,
    true // boolean enabled
    eiAction.setController(ctrlr);
    JMenuItem menuItem = Ide.getMenubar().createMenuItem(eiAction);
    return menuItem;
    //private static IdeAction actionTM;
    public void shutdown()
    // Do any necessary cleanup here
    public void initialize()
    Controller ctrlr = this;
    final NamedContextMenu CMenus[] =
    new NamedContextMenu("Project Tree", null), // Manual Override!
    // new NamedContextMenu("Table Explorer", Ide.getExplorerManager().getContextMenu()), // OK = Structure Pane
    for (int i = 0; i < CMenus.length; i++)
    NamedContextMenu nmcm = CMenus;
    ContextMenu menu = nmcm.getMenu();
    String menuName = nmcm.getName();
    ctxMenuListener cml = new ctxMenuListener(ctrlr,
    menuName);
    if (menu == null)
    final Class nodeClass = null; // Passing in the appropriate class
    // where you want this context menu to appear on will optimize this operation
    Ide.getNavigatorManager().addContextMenuListener(cml, nodeClass);
    else
    menu.addContextMenuListener(cml);
    MainWindow.View.add(CreateTableInfoMenuItem(ctrlr));
    public float version()
    return 1.0f;
    public float ideVersion()
    return oracle.ide.Ide.IDE_VERSION;
    public boolean canShutdown()
    return true;
    private static final class ctxMenuListener implements ContextMenuListener
    private Controller ctrlr;
    private String clsName;
    // Simple Menu Item
    private static JSeparator miSeparator = null;
    private JMenuItem miTableInfo = null;
    ctxMenuListener(Controller controller, String className)
    ctrlr = controller;
    clsName = className;
    public void poppingUp(ContextMenu popup)
    Context context = (popup == null) ? null : popup.getContext();
    if (context == null)
    return;
    if (miSeparator == null)
    miSeparator = new JSeparator();
    // popup.add(miSeparator);
    // Insert Simple MenuItem in the Menu
    if (EnableJPRInfo(context))
    // If it should be enabled, then display it!
    // Otherwise, dont bother showing gray menu!
    if (miTableInfo == null)
    miTableInfo = CreateTableInfoMenuItem(ctrlr);
    popup.add(miTableInfo);
    return;
    public void poppingDown(ContextMenu popup)
    // Do any necessary clean up!
    public boolean handleDefaultAction(Context context)
    return false;
    private static final class NamedContextMenu
    private String nm;
    private ContextMenu cm;
    NamedContextMenu(String nm, ContextMenu cm)
    this.nm = nm;
    this.cm = cm;
    String getName() { return nm; }
    ContextMenu getMenu() { return cm; }
    ======================== File TreePanel.java =============
    package jdevextensions.sampleten;
    import javax.swing.JPanel;
    import java.awt.BorderLayout;
    import javax.swing.JScrollPane;
    import oracle.ide.controls.tree.CustomJTree;
    import oracle.ide.controls.tree.JMutableTreeNode;
    import javax.swing.tree.DefaultTreeModel;
    import java.net.URL;
    import oracle.ide.controls.tree.JTreeCellData;
    import oracle.jdeveloper.model.JProject;
    import java.util.HashSet;
    import oracle.ide.model.Document;
    import javax.swing.Icon;
    import oracle.ide.util.TriStateBoolean;
    import oracle.jdeveloper.deploy.common.SelectedProjectFiles;
    import oracle.jdevimpl.deploy.common.JProjectSelectionFilter;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.Comparator;
    import oracle.ide.model.Element;
    import java.util.Collections;
    public class TreePanel
    extends JPanel
    BorderLayout borderLayout1 = new BorderLayout();
    JScrollPane scrollPane = new JScrollPane();
    JMutableTreeNode root = new JMutableTreeNode();
    DefaultTreeModel treeModel = new DefaultTreeModel(root, true);
    CustomJTree customJTree = new CustomJTree(treeModel);
    JProject prj = null;
    private HashSet spfFiles;
    private SelectedProjectFiles spf;
    private ArrayList filtersList;
    private JProjectSelectionFilter[] filtersArray;
    public TreePanel()
    this(null);
    public TreePanel(JProject jpr)
    this.prj = jpr;
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    public JMutableTreeNode getRoot()
    { return this.root; }
    private void jbInit() throws Exception
    this.setLayout(borderLayout1);
    scrollPane.getViewport().add(customJTree, null);
    this.add(scrollPane, BorderLayout.CENTER);
    customJTree.setRootVisible(true);
    root = getTreeNode(prj);
    filtersArray = null;
    spfFiles = null; // Release reference for gc.
    treeModel.setRoot(root);
    root.descendingUpdateNodes();
    private boolean canBeSelected(Object object)
    if (filtersArray != null)
    return JProjectSelectionFilter.canBeSelected(object, filtersArray);
    else if (filtersList != null)
    return JProjectSelectionFilter.canBeSelected(object, filtersList);
    else
    return JProjectSelectionFilter.canBeSelected0(object);
    private JMutableTreeNode getTreeNode(Document document)
    final Icon icon = document.getIcon();
    final String text = document.getShortLabel();
    final TriStateBoolean checkedState;
    if (spfFiles != null)
    final URL documentURL = document.getURL();
    if (documentURL == null)
    checkedState = TriStateBoolean.FALSE;
    else if (spf.isAutoInclude())
    checkedState = spfFiles.contains(documentURL)?TriStateBoolean.FALSE:TriStateBoolean.TRUE;
    else
    checkedState = spfFiles.contains(documentURL)?TriStateBoolean.TRUE:TriStateBoolean.FALSE;
    else
    checkedState = TriStateBoolean.TRUE;
    final JTreeCellData treeCellData = new JTreeCellData(icon, text, true, checkedState);
    treeCellData.setUserObject(document);
    final JMutableTreeNode treeNode = new JMutableTreeNode(treeCellData);
    final ArrayList listOfChildren = new ArrayList();
    final Iterator childrenIter = document.getChildren();
    if (childrenIter != null)
    while (childrenIter.hasNext())
    listOfChildren.add(childrenIter.next());
    // Sort children by short label.
    final Comparator childComparator = new Comparator()
    public int compare(Object o1, Object o2)
    final Element e1 = (Element) o1;
    final Element e2 = (Element) o2;
    final String l1 = e1.getShortLabel();
    final String l2 = e2.getShortLabel();
    if (l1 == l2) { return 0; }
    else if (l1 == null) { return -1; }
    else { return l1.compareTo(l2); }
    Collections.sort(listOfChildren, childComparator);
    final Iterator iter = listOfChildren.iterator();
    while (iter.hasNext())
    final Object child = iter.next();
    if (canBeSelected(child))
    final JMutableTreeNode childNode = getTreeNode((Document) child);
    treeNode.add(childNode);
    return treeNode;

  • Which jar file has the org.apache.xml.serialize.*

    classes ?

    found here
    C:\bea\jrockit81sp1_141_03\console\lib\xercesImpl.jar
    and
    also C:\bea\weblogic81\workshop\lib\xerces.jar

  • The import org.apache cannot be resolved

    Hi All,
    I am a Java\Eclipse newbie. I am trying to import the org.apache.xerces package, and the import is failing with this error:The import org.apache cannot be resolved
    I am not using Maven\Ant for building the project. I know I need to download some class files\jar files to get this to work, but I am not sure where to download these packages from. Could someone please help me out here?
    import org.w3c.dom.Node;
    import org.apache.xerces.parsers.DOMParser;
    import org.apache.xerces.dom.traversal.TreeWalkerImpl;
    import org.apache.xerces.domx.traversal.NodeFilter;
    import org.apache.xerces.dom.DocumentImpl;
    THanks a lot!

    Well, if you are in fact looking to download the JARs for the Apache Xerces project, you should be able to find them at the Apache Xerces project page.
    If you already have the JARs downloaded, you need to make sure that they appear on your CLASSPATH, otherwise your application will never find them. Since you are using an IDE, this should be as easy as adding the JARs to your project.

  • Java.lang.NoClassDefFoundError: org/apache/axis/client/Service

    Hi,
    I am developing a WebService Client and for that i am using the Apache axis client. but when i am trying to instnatiate the org.apache.axis.client.Service class it says a NoClassDefinition Found error.
    Can anyone tell me the reason for this? Is there any settings for axis client in the Portal-App.xml or any other place?
    Thanks
    Kiran

    Have you included all the Axis client jars in your /dist/PORTAL-INF/lib folder and added them to to .classpath?
    axis.jar , commons-discovery.jar , commons-logging.jar , crimson.jar , jaxp.jar , jaxrpc.jar , log4j.jar , saaj.jar , wsdl4j.jar , xalan.jar , xerces.jar .

  • Error: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

    HI.
    I embed tomcat in my application.when i start embed tomcat ,the following message appears :
    javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
    at org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)
    at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:130)
    at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:120)
    i set System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    ,but not work.
    by the way :my classpath include xercesImpl.jar & xmlParserAPIs.jar, when i remove them ,my application
    work well.

    by the way my classpath include xercesImpl.jar & xmlParserAPIs.jar, when i remove them ,my application work well.
    Is another jar file which has the org.apache.xerces.jaxp.DocumentBuilderFactoryImpl clas in the Classpath.?

  • Use org.apache.catalina.FileLogger

    Hi All,
    Does any1 know of a neat way to implement the org.apache.catalina.logger.FileLogger class in a JSP ?
    I have referred to a number of sites and all I got was to configure the server.xml file's Context for the org.apache.catalina.logger.FileLogger class.
    But that's not what I want.
    What I want is to be able to implement the logging thru JSP code so that I can write my own errors in the log file.
    Any suggessions ??
    Thanx.
    Sherbir

    Hi,
    you must to try whit this
    in the web.xml
    <init-param>
         <param-name>FileLog</param-name>
    <param-value>/log/logfile.log</param-value>
    </init-param>
    <init-param>
         <param-name>log4j-init-conf</param-name>
    <param-value>log4j.properties</param-value>
    </init-param>
    in your class
    String directory = this.getServlet().getInitParameter("FileLog");
    System.out.print(directory);
    System.setProperty("log.directory", directory);
    String prefix = this.getServlet().getServletContext().getRealPath("/");
    String file = this.getServlet().getInitParameter("log4j-init-conf");
    System.out.println(prefix+file);
    if(file == null|| file.trim().length()==0 ||(new File(prefix+file).isFile())){
    System.out.println("ERROR: no se puede leer el archivo ");

  • Org.apache.catalina.connector.ClientAbortException

    HI
    How to catch ClientAbortException, when I am adding the following line it is showing error. Its not identifying the org.apache.catalina, do I need to add any jar files to my path to identify this exception Please respond..
    org.apache.catalina.connector.ClientAbortException

    I am facing the same problem.
    Can you tell how did you resolve it?

  • JDeveloper overwriting org.apache.myfaces.trinidad.CHANGE_PERSISTENCE?

    We're using some Web Center features, notably Composer, but require a custom change manager (our change manager chains to oracle.adf.view.page.editor.change.ComposerChangeManager)
    I'm seeing strange behavior in jdev when running our app in WLS (jdev 11.1.1.5.0):
    Doing a simple test, before starting jdev, make web.xml writable. Modify the org.apache.myfaces.trinidad.CHANGE_PERSISTENCE parameter and then start jdev. Do a Make All & then run your main web project – when the app is fully running, open web.xml from a terminal and the modification to the CHANGE_PERSISTENCE parameter has disappeared.
    (you need MDS enabled and Composer as a library for this to happen)
    Has anyone else noticed this behavior / is aware of a work around?
    Thanks,
    Colm.

    @John had replied to this in one of my post and i take it from that
    This is by default in Integrated weblogic Server so trackand show the changes on the spot. Once deployed on Standalone WS this error will go of. You cannot control this behavior in JDev 11.1.2.1

  • Error/Warning Messages. via org.apache.myfaces.trinidad.................

    Hi,
    I use Jdeveloper Studio version 11.1.2.3.0
    Each time i open the Jdeveloper to build my app i get these warning messages....
    WARNING: Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Mar 27, 2013 5:23:12 PM org.apache.myfaces.trinidad.component.UIXEditableValue _isBeanValidationAvailable
    WARNING: A Bean Validation provider is not present, therefore bean validation is disabled
    Mar 27, 2013 5:23:23 PM org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl
    WARNING: The User-Agent "null" is unknown; creating an agent with "unknown" agent attributes.
    Mar 27, 2013 5:23:23 PM org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl
    WARNING: The User-Agent "null" is unknown; creating an agent with "unknown" agent attributes.
    Despite these messages, when i run my application on Integrated Weblogic Server, it runs just fine.... Also i tried accessing the WEB-INF/web.xml for "org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION" and it was set to FALSE..... then i changed it to TRUE restarted the Jdeveloper but the Warning message kept showing, so later changed it back to FALSE...
    Please any suggestion on how i can rectify these before deploying my app to Standalone Weblogic Server on a production environment?
    Thanks..
    OBI

    Also i tried accessing the WEB-INF/web.xml for "org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION" and it was set to FALSEAs I recall, the integrated WLS (the one that runs when you run from JDeveloper) always automagically sets this to TRUE, regardless of the web.xml settings.
    The other warnings:
    WARNING: A Bean Validation provider is not present, therefore bean validation is disabledYou can ignore
    WARNING: The User-Agent "null" is unknown; creating an agent with "unknown" agent attributes.You can probably ignore - this seems to me to be related to the browser you're using
    John

  • Where is the WLSTUtil API documentation

    I've been playing around with Python/Jython and WLST.
    But I cannot seem to find the API for the WLST commands.
    I can get code completion in eclipse that gives me all the possible commands for a certain variable for a dataSource say. But where are the commands/API of each Jython class that WLST defines, documented?
    For instance, if I run a configToScript, I get a script that has the following lines:
    jdbcSR = create(dsName,"JDBCSystemResource")
    theJDBCResource = jdbcSR.getJDBCResource()
    theJDBCResource.setName(dsName)
    And in eclipse, theJDBCResource code completion shows me the methods on that member variable. But where is the documentation for that jython class.
    I looked here (http://download.oracle.com/docs/cd/E13222_01/wls/docs92/javadocs/index.html?weblogic/deploy/api/spi/WebLogicDeploymentManager.html) but that again does not contain the WLSTUtil class.
    BTW: I ran writeToIniFile and got:
    from weblogic.management.scripting.utils import WLSTUtil
    import sys
    origPrompt = sys.ps1
    theInterpreter = WLSTUtil.ensureInterpreter();
    WLSTUtil.ensureWLCtx(theInterpreter)
    execfile(WLSTUtil.getWLSTScriptPath())
    execfile(WLSTUtil.getOfflineWLSTScriptPath())
    exec(WLSTUtil.getOfflineWLSTScriptForModule())
    execfile(WLSTUtil.getWLSTCommonModulePath())
    theInterpreter = None
    sys.ps1 = origPrompt
    modules = WLSTUtil.getWLSTModules()
    for mods in modules:
    execfile(mods.getAbsolutePath())
    wlstPrompt = "false"
    ~
    That tells me that all the jython classes are in WLSTUtl class. Just need to get at the javadoc for it.
    The weblogic.management.scripting.utils package does not contain WLSTUtil as expected.
    Thanks
    Pankaj
    Edited by: [email protected] on Sep 28, 2009 8:42 AM
    Edited by: [email protected] on Sep 28, 2009 8:43 AM

    i couldn't find the api either however if you implement the class you will simply get compiler errors explaining what you left out.

  • Apache xmlbeans + jdk1.6 crashes in different kind of settings

    I am migrating project from jdk1.5 and jdk1.6.
    The project was quite stable under jdk1.5.
    After migrating to jdk1.6 (without any code change), jdk1.6 always gets crashed.
    The testing environment is:
    1) Sun Sparc T5220
    $uname -a
    SunOS box1 5.10 Generic_137137-09 sun4v sparc SUNW,SPARC-Enterprise-T5220
    2) JDK 1.6.0_14 (also try jdk 1.6.0_13, not different regarding the crash problem)
    $java -version
    java version "1.6.0_14-ea"
    Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b05)
    After days of investigation, I am able to narrow down the cause to "apache xmlbeans + jdk1.6"
    There are different kinds of crashes. Do anyone have more experience tell me what the issues could be?
    What is the work around or fix?
    Crash type 1:
    # Problematic frame:
    # J org.apache.xmlbeans.impl.values.XmlObjectBase.newCursor()Lorg/apache/xmlbeans/XmlCursor;
    JVM argument:
    jvm_args: -d64 -server -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintClassHistogram -verbose:gc
    (I also try other type of GC, such as -XX:+UseParNewGC -XX:+UseConcMarkSweepGC, results are same)
    Core dump’s adb output:
    core file = core -- program ``/data/qasmp40/java/jdk1.6.0_14/bin/sparcv9/java'' on platform SUNW,SPARC-Enterprise-T5220
    SIGABRT: Abort
    $C
    ffffffff6f0fd2d1 libc.so.1`_lwp_kill+8(6, 0, ffffffff7ef45538, ffffffffffffffff, ffffffff7ef3a000, 0)
    ffffffff6f0fd851 libc.so.1`call_user_handler+0x3e0(ffffffff75402a00, ffffffff75402a00, ffffffff6f0fe2f0, c, 0, 0)
    ffffffff6f0fd981 libc.so.1`sigacthandler+0x54(0, ffffffff6f0fe5d0, ffffffff6f0fe2f0, ffffffff75402a00, 0, ffffffff7ef3a000)
    ffffffff6f0fded1 0xffffffff784be694(fffffffeaf73da88, fffffffeb31a87f0, fffffffeb01c7308, 0, 1, 0)
    ffffffff6f0fed31 0xffffffff78000240(ffffffff6f0ff720, ffffffff6f0ffbd0, a, ffffffff3c0441e8, ffffffff7800bc00, ffffffff6f0ff9c8)
    ffffffff6f0fedf1 libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x1f4(1, 100bc1fe0, ffffffff6f0ff9b8, a, ffffffff780001e0, ffffffff6f0ff6f0)
    ffffffff6f0fef81 libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_+0x130(ffffffff6f0ffbc8, ffffffff7e6f23f0, fffffffe8007bf40, 4c3f0,
    ffffffff6f0ff9b8, ffffffffff6ed8d0)
    ffffffff6f0ff0f1 libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_+0x50(ffffffff6f0ffbc8, 100bc2790, 100bc2798, ffffffff7e7249e8, ffffffff7e724ed0,
    100bc1fe0)
    ffffffff6f0ff2e1 libjvm.so`__1cMthread_entry6FpnKJavaThread_pnGThread__v_+0xf0(fffffffe8007bf40, 100bc1fe0, 7e488, 866cdc, ffffffff7e724488, 7e400)
    Crash type 2:
    After I exclude xmlbeans library from compiling, JVM crashes of different reason
    #Problematic frame:
    # V [libjvm.so+0x734e3c]
    JVM argument:
    jvm_args: -d64 -server -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintClassHistogram -XX:CompileCommand=exclude,org/apache/xmlbeans/*,* -verbose:gc
    Core dump’s adb output:
    adb: core file data for mapping at ffffffff7d900000 not saved: Bad address
    core file = core -- program ``/data/qasmp40/java/jdk1.6.0_14/bin/sparcv9/java'' on platform SUNW,SPARC-Enterprise-T5220
    SIGABRT: Abort
    $C
    ffffffff73efe231 libc.so.1`_lwp_kill+8(6, 0, ffffffff7ef45538, ffffffffffffffff, ffffffff7ef3a000, 0)
    ffffffff73efe2e1 libc.so.1`abort+0x118(1, 1d8, ffffffff7e303250, 1ef13c, 0, 0)
    ffffffff73efe3c1 libjvm.so`__1cCosFabort6Fb_v_+0x58(1, 1, 2dbc8, ffffffff7e6a6000, 3ad03c, 2d800)
    ffffffff73efe471 libjvm.so`__1cHVMErrorOreport_and_die6M_v_+0xcb4(ffffffff7e708b30, 0, 1, ffffffff7e713390, ffffffff7e6d3b80, ffffffff7e56446b)
    ffffffff73efe5a1 libjvm.so`JVM_handle_solaris_signal+0xa6c(b, ffffffff73eff530, ffffffff73eff250, 1a1000, 100141000, 62000)
    ffffffff73efe701 libc.so.1`__sighndlr+0xc(b, ffffffff73eff530, ffffffff73eff250, ffffffff7ddf6d78, 0, a)
    ffffffff73efe7b1 libc.so.1`call_user_handler+0x3e0(ffffffff7f409200, ffffffff7f409200, ffffffff73eff250, c, 0, 0)
    ffffffff73efe8e1 libc.so.1`sigacthandler+0x54(0, ffffffff73eff530, ffffffff73eff250, ffffffff7f409200, 0, ffffffff7ef3a000)
    ffffffff73efee31 libjvm.so`__1cSPSPromotionManagerWcopy_to_survivor_space6MpnHoopDesc_b_2_+0x8c(1003f4630, fffffffd70000738, 1, ffffffff05057408, fffffffd70568268, 0)
    ffffffff73efef31 libjvm.so`__1cKPSScavengebAcopy_and_push_safe_barrier4CpnHoopDesc__6FpnSPSPromotionManager_pTA_v_+0x80(1003f4630, ffffffff20d70ae8, fffffffd70000738, 3701c8, ffffffff7e6a6000, 24e3)
    ffffffff73efefe1 libjvm.so`__1cSPSPromotionManagerSdrain_stacks_depth6Mb_v_+0x544(1003f4630, 24e3, 1003f4630, 1003f46d8, 91a288, 20)
    Crash type 3:
    If I use -XX:+UseParNewGC -XX:+UseConcMarkSweepGC instead of default GC, JVM crashes of almost same reason, but different adb output:
    # Problematic frame:
    # V [libjvm.so+0x4b17f0]
    JVM argument:
    jvm_args: -d64 -server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:SurvivorRatio=256 -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing
    -XX:CMSIncrementalDutyCycleMin=0 -XX:CMSIncrementalDutyCycle=10 -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60 -XX:+DisableExplicitGC
    -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintClassHistogram -XX:+UseSpinning -XX:-UseBiasedLocking -XX:-CMSConcurrentMTEnabled
    -XX:CompileCommand=exclude,org/apache/xmlbeans/*,* -verbose:gc
    Core dump’s adb output:
    adb: core file data for mapping at ffffffff7d900000 not saved: Bad address
    $Ccore file = core -- program ``/data/qasmp40/java/jdk1.6.0_14/bin/sparcv9/java'' on platform SUNW,SPARC-Enterprise-T5220
    SIGABRT: Abort
    $C
    ffffffff768fe5f1 libc.so.1`_lwp_kill+8(6, 0, ffffffff7ef45538, ffffffffffffffff, ffffffff7ef3a000, 0)
    ffffffff768feac1 libc.so.1`__sighndlr+0xc(b, ffffffff768ff8f0, ffffffff768ff610, ffffffff7ddf6d78, 0, a)
    ffffffff768feb71 libc.so.1`call_user_handler+0x3e0(ffffffff7f408a00, ffffffff7f408a00, ffffffff768ff610, c, 0, 0)
    ffffffff768feca1 libc.so.1`sigacthandler+0x54(0, ffffffff768ff8f0, ffffffff768ff610, ffffffff7f408a00, 0, ffffffff7ef3a000)
    ffffffff768ff1f1 libjvm.so`__1cNinstanceKlassSoop_oop_iterate_nv6MpnHoopDesc_pnZParScanWithBarrierClosure__i_+0x388(ffffffff6f968280, ffffffff6c2875f0, 10233bd60, ffffffff6f968c50, ffffffff6f968c58, 28)
    ffffffff768ff2a1 libjvm.so`__1cbBParEvacuateFollowersClosureHdo_void6M_v_+0x2d8(10233bea0, ffffffff6f968270, 10013fca0, ffffffff7e6a6000, ffffffffffffffff, 3fff)
    ffffffff768ff3a1 libjvm.so`__1cNParNewGenTaskEwork6Mi_v_+0x190(ffffffff74aff180, c, 100121d80, 10233bc70, 0, 100131f78)
    Crash type 4:
    If I run with default GC and 32 bit JVM, JVM crash with reason of:
    # Internal Error (nmethod.cpp:1836), pid=29565, tid=41
    # Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code")
    JVM argument:
    jvm_args: -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintClassHistogram -verbose:gc

    Hi,
    Have you tried using -XX:-ReduceInitialCardMarks
    Or JDK 1.6.0_21 ?
    Did you end up resolving the issue?
    I believe -XX:-ReduceInitialCardMarks would be the workaround for this crash.

Maybe you are looking for

  • Single item multilevel mrp run

    Hi , I have run the mrp for header level. Mrp generates the receipt element for the header level and it's all sublevel. But sometimes it is not generating the reciept element for sublevel. Please is there any possible reason for that? Sunil

  • Help!  I've done everything iPod support has told me to do, but my iPod....

    Still show the traingular sign with the exclamation sign in it with the unhappy iPod face. Is it the best thing to do to just take it in and get it fixed? PLEASE HELP!

  • How to deal with error 749,746,848?

    tterrors.log report list error and tt can't start, 02:17:34.84 Warn: : 168320: Warn 749: TT0749: Invalid log block found at location 18373.914341888 -- details: log block has incorrect lfn/lbn (actual: 18373.55806, expected: 18373/55807) -- file "log

  • Loading a window from nib

    Hi, let me try to explain what i want. I have an empty nib file and i've added a panel to it that is used as a sheet. Now normally what i wold do with multiple windows is as follows: a) user performs some action to activate the new window b) the wind

  • Downloading & installing Flash Player v11.9.900.152

    Please Help! I am trying to download but when I click install at step 1 I am taken directly to the adobe home page.  Does anyone know if there a problem on the site or am I doing something wrong?