OC4J 9.0.4 DMS API?

Does anyone have experience in using the dms api in an application, to obtain statistics about the container 'health'? For instance: we would like our application to log information about global-thread-pool usage. Is this possible? How should this be done?

Can you try the "-updateConfig" option of admin.jar?
java -jar admin.jar ormi://localhost admin Matrox -updateConfigTo my vague memory, the "-restart" option does not necessarily implies reading the config files again.

Similar Messages

  • DMS API

    Hi,
    I was just going through the Dynamic Monitoring Service provided by Oracle9ias. I am having a few doubts.
    Can I access the DMS Metrics from my application(e.g servlet)?If so, How? I need this since I want to display some of the DMS metrics from my application.
    Is the javadoc available for the DMS API? Is there a detailed document that explains the usage of the DMS API.
    Regards,
    jagannath

    I am also interested in this topic. I have done a little research on DMS and have not found anything conclusive.
    I might've missed a whitepaper but, if anyone knows, please kindly direct me towards the proper direction.
    Thanks,
    Maxime

  • Stand Alone OC4J  and Java's Comm API

    I am using the Java Comm API alongwith a servlet. The code simply gets the required ports and displays it in a JSP page. The program is developed using Jdeveloper 9. It works fine with embedded OC4J but a blank jsp page is displayed when deployed in in standalone OC4j instance on the same machine. I have correctly copied the required wincom32.dll, java.comm.properites and comm.jar to the jre/bin, jre/lib and jre/lib/ext respectively. What could be wrong.
    Thanks
    MMN

    Try setting the OS PATH env variable to the directory where the .DLL is located before you launch the container. Or else put the .DLL in a directory which is in the existing path.
    cheers
    -steve-

  • How can I get oracle.dms.* API  Javadoc

    Hi, every Oracle system expert,
    I am going to developing a servlet to get the all the performance matrics from the AggreSpy(a per-packeged servlet in Oracle9iAS).
    Is any one know how can I get oracle.dms.* package, How can get dms API.
    dms - dynamic monitoring service is a monitoring framwork of the Oracle9iAS.
    I have search everywhere on the Oracle web site, still cannot found. but I haven't install Oracle9iAS yet.
    Does it should be somewhere in the Oracle_home/lib
    Thanks in advance!
    Ely

    Ely,\\why don't you ask this question in one of the Oracle Application Server forums ?
    Frank

  • Composition of default shared libraries in Oc4j

    Hi,
    I'm trying to undestand the shared libraries in OC4J 10.1.3.
    Looking at the global application.xml (located in j2ee\home\config), I noticed the following element:
    <!-- The default set of application shared libraries. -->
    <imported-shared-libraries>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="soap"/>
    <import-shared-library name="global.libraries"/>
    <import-shared-library name="global.tag.libraries" />
    </imported-shared-libraries>
    For example, I suppose that the library named "oracle.xml" is made up of some JARS, but I can't understand where the jar list is defined.
    I looked in server.xml, but "oracle.xml" is not defined there. It seems that "oracle.xml" is not defined in a configutation file, but it's hard-coded somewhere.
    Please, notice that I perfectly know that it's possible to import a different XML parser (it's explained in a lot of documents).
    Please, help me.

    gday Claudio --
    Well the good news is that we've good a pretty good facility in OC4J 10g (10.1.3) that may help in this situation.
    We can query the classloading mechanism and have it report on quite a few different areas related to classloading.
    This is documented in the 10.1.3 Config and Admin Guide (http://download-west.oracle.com/otn/java/oc4j/1013/doc/web.1013/b14432.pdf) towards the end of Chapter 7.
    For example, if you want to see the full list of shared-libraries that are loaded by OC4J and what is visible to an application you can perform a query like this:
    java -Doc4j.start.query=LoaderTree+Exit -jar oc4j.jarOr you can restrain it to the loader for a specific application as follows:
    java -Doc4j.start.query=LoaderTree[b][AcmeOrderProcessor.root]+Exit -jar oc4j.jar
    These queries will display the classloader tree and will describe all of the loaded resources, the code-sources, the packages imported, etc. for each of the libraries that are loaded.
    Here's an example I picked out of a query report for the oracle.jdbc shared library
    | +- Name: oracle.jdbc:10.1.0_2
    | | Parent: jre.extension:0.0.0
    | | Scope: Global: API & Shared
    | | Creator:
    | | oracle.oc4j.loader.PolicyClassLoader.init(PolicyClassLoader.java:572)
    | | oracle.oc4j.loader.PolicyClassLoader.<init>(PolicyClassLoader.java:432)
    | | oracle.oc4j.loader.boot.XMLBootConfiguration.setCurrentLoader(XMLBootConfiguration.java:911)
    | | oracle.oc4j.loader.boot.XMLBootConfiguration.startElement(XMLBootConfiguration.java:498)
    | | org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674)
    | | org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
    | | org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
    | | org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
    | | org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    | | org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    | | oracle.oc4j.loader.boot.XMLBootConfiguration.configureLoaders(XMLBootConfiguration.java:258)
    | | oracle.oc4j.loader.boot.BootStrap.populateLoaders(BootStrap.java:477)
    | | oracle.oc4j.loader.boot.BootStrap.initLoaders(BootStrap.java:320)
    | | oracle.oc4j.loader.boot.BootStrap.createBootEnvironment(BootStrap.java:284)
    | | oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:216)
    | | Search-Policy: Standard[findLoadedClass -> askParent -> checkSharedLibraries -> findLocal]
    | | Supported-Configurations:
    | | <code-source> (e.g. "boot.xml")
    | | <code-source> (ignore manifest Class-Path) (e.g. "boot.xml")
    | | <import-shared-library> (e.g. "boot.xml")
    | | Buffer-Size: 25845
    | | Code-Sources: (# of subscribers) '.' = created, '-' = closed, '+' = open, '*' = suspended, '!' = orphaned
    | | 0. (1)+ /D:/java/oc4j-main-latest/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in boot.xml in D:\java\oc4j-main-latest\j2ee\home\oc4j.jar)
    | | 1. (1)+ /D:/java/oc4j-main-latest/jdbc/lib/orai18n.jar (from <code-source> (ignore manifest Class-Path) in boot.xml in D:\java\oc4j-main-latest\j2ee\home\oc4j.jar)
    | | 2. (1)+ /D:/java/oc4j-main-latest/opmn/lib/ons.jar (from <code-source> (ignore manifest Class-Path) in boot.xml in D:\java\oc4j-main-latest\j2ee\home\oc4j.jar)
    | | 3. (1)+ /D:/java/oc4j-main-latest/jdbc/lib/ocrs12.jar (from <code-source> (ignore manifest Class-Path) in boot.xml in D:\java\oc4j-main-latest\j2ee\home\oc4j.jar)
    | | Native-Code-Sources: (# of subscribers) '.' = created, '-' = closed, '+' = open, '*' = suspended, '!' = orphaned
    | | Imported-Shared-Libraries:
    | | oracle.dms:3.0
    | | Loaded-Packages:
    | | 1. oracle.jdbc
    | | 2. oracle.jdbc.driver
    | | 3. oracle.sql.converter
    | | 4. oracle.sql
    | | 5. oracle.i18n.text.converter
    | | 6. oracle.jdbc.pool
    | | Loaded-Classes:
    | | 1. class oracle.jdbc.pool.OracleDataSource
    | | 2. class oracle.jdbc.driver.OracleDriver
    | | 3. class oracle.sql.converter.CharacterConverterFactory
    | | 4. class oracle.sql.converter.CharacterConverterFactoryOGS
    | | 5. class oracle.sql.converter.CharacterConverters
    | | 6. class oracle.i18n.text.converter.CharacterConverterOGS
    | | 7. class oracle.i18n.text.converter.CharacterConverter12Byte
    | | 8. class oracle.i18n.text.converter.CharacterConverterSJIS
    | | 9. class oracle.sql.CharacterSet
    | | 10. class oracle.sql.CharacterSetWithConverter
    | | 11. class oracle.sql.CharacterSetFactory
    | | 12. class oracle.sql.CharacterSetFactoryThin
    | | 13. class oracle.sql.CharacterSetFactoryDefault
    | | 14. class oracle.sql.CharacterSet1Byte
    | | 15. class oracle.sql.CharacterSetSJIS
    | | 16. class oracle.sql.CharacterSetShift
    | | 17. class oracle.sql.CharacterSet2ByteFixed
    | | 18. class oracle.sql.CharacterSetGB18030
    | | 19. class oracle.sql.CharacterSet12Byte
    | | 20. class oracle.sql.CharacterSetJAEUC
    | | 21. class oracle.sql.CharacterSetZHTEUC
    | | 22. class oracle.sql.CharacterSetLCFixed
    | | 23. class oracle.sql.converter.CharacterConverterFactoryJDBC
    | | 24. interface oracle.sql.CharacterRepConstants
    | | 25. class oracle.sql.CharacterSetAL16UTF16
    | | 26. class oracle.sql.CharacterSetUTF
    | | 27. class oracle.sql.CharacterSetAL32UTF8
    | | 28. class oracle.sql.CharacterSetUTFE
    | | 29. class oracle.sql.CharacterSetAL16UTF16LE
    | | 30. class oracle.sql.CharacterSetUnknown
    | | 31. class oracle.jdbc.driver.OracleDriverExtension
    | | 32. class oracle.jdbc.pool.OracleConnectionCacheManager
    | | 33. class oracle.jdbc.pool.OracleFailoverWorkerThread
    | | 34. class oracle.jdbc.pool.OracleFailoverEventHandlerThread
    | | 35. class oracle.jdbc.pool.OracleImplicitConnectionCache
    | | 36. interface oracle.jdbc.OracleConnection
    | | 37. class oracle.jdbc.pool.OracleConnectionPoolDataSource
    | | 38. class oracle.jdbc.pool.OracleImplicitConnectionCacheThread
    | | 39. class oracle.jdbc.driver.DMSFactory
    | | 40. class oracle.sql.TypeDescriptor
    | | 41. class oracle.sql.ArrayDescriptor
    You can also run a query to determine the classpath which is made available to a specific application
    java -Doc4j.start.query=ClassPath[AcmeOrderProcessor.root]+Exit -jar oc4j.jarWhich results in output like this:
    D:\java\jdk142\jre\lib\rt.jar;
    D:\java\jdk142\jre\lib\sunrsasign.jar;
    D:\java\jdk142\jre\lib\jsse.jar;
    D:\java\jdk142\jre\lib\jce.jar;
    D:\java\jdk142\jre\lib\charsets.jar;
    D:\java\jdk142\jre\lib\ext\dnsns.jar;
    D:\java\jdk142\jre\lib\ext\ldapsec.jar;
    D:\java\jdk142\jre\lib\ext\localedata.jar;
    D:\java\jdk142\jre\lib\ext\sunjce_provider.jar;
    D:\java\oc4j-main-latest\j2ee\home\oc4j-api.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\oc4j-unsupported-api.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\activation.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\mail.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\ejb.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\javax77.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\javax88.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\servlet.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jms.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jta.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jacc-api.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\connector.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\cos.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jaas.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jaxp.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jmx_remote_api.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jax-qname-namespace.jar;
    D:\java\oc4j-main-latest\webservices\lib\wsdl-api.jar;
    D:\java\oc4j-main-latest\webservices\lib\orawsdl.jar;
    D:\java\oc4j-main-latest\webservices\lib\jaxr-api.jar;
    D:\java\oc4j-main-latest\webservices\lib\jaxrpc-api.jar;
    D:\java\oc4j-main-latest\webservices\lib\jaxb-api.jar;
    D:\java\oc4j-main-latest\webservices\lib\saaj-api.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\oc4j-internal.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\ojsp.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\commons-el.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\bcel.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\oc4j_orb.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\iiop_support.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\orbbase.jar;
    D:\java\oc4j-main-latest\j2ee\home\iiop_gen_bin.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jmxri.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jmxcluster.jar;
    D:\java\oc4j-main-latest\j2ee\home\jaccprovider.jar;
    D:\java\oc4j-main-latest\javavm\lib\jasper.zip;
    D:\java\oc4j-main-latest\j2ee\home\lib\adminclient.jar;
    D:\java\oc4j-main-latest\j2ee\home\jazn.jar;
    D:\java\oc4j-main-latest\j2ee\home\jazncore.jar;
    D:\java\oc4j-main-latest\jlib\jaxen.jar;
    D:\java\oc4j-main-latest\jlib\ojpse.jar;
    D:\java\oc4j-main-latest\jlib\ojpxml.jar;
    D:\java\oc4j-main-latest\jlib\ojpwss.jar;
    D:\java\oc4j-main-latest\jlib\ojpsaml.jar;
    D:\java\oc4j-main-latest\webservices\lib\wsserver.jar;
    D:\java\oc4j-main-latest\webservices\lib\wssecurity.jar;
    D:\java\oc4j-main-latest\webservices\lib\wsdl.jar;
    D:\java\oc4j-main-latest\webservices\lib\orajaxr.jar;
    D:\java\oc4j-main-latest\webservices\lib\jaxb-impl.jar;
    D:\java\oc4j-main-latest\webservices\lib\jaxb-libs.jar;
    D:\java\oc4j-main-latest\webservices\lib\orasaaj.jar;
    D:\java\oc4j-main-latest\webservices\lib\xsdlib.jar;
    D:\java\oc4j-main-latest\webservices\lib\relaxngDatatype.jar;
    D:\java\oc4j-main-latest\webservices\lib\commons-logging.jar;
    D:\java\oc4j-main-latest\webservices\lib\orawsrm.jar;
    D:\java\oc4j-main-latest\webservices\lib\wsclient.jar;
    D:\java\oc4j-main-latest\webservices\lib\wsif.jar;
    D:\java\oc4j-main-latest\rdbms\jlib\aqapi.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jem.jar;
    D:\java\oc4j-main-latest\jlib\jssl-1_1.jar;
    D:\java\oc4j-main-latest\toplink\jlib\toplink.jar;
    D:\java\oc4j-main-latest\toplink\jlib\antlr.jar;
    D:\java\oc4j-main-latest\diagnostics\lib\ojdl.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\jgroups-core.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\asm.jar;
    D:\java\oc4j-main-latest\lib\dmsapp.jar;
    D:\java\oc4j-main-latest\j2ee\home\applications\admin_ejb.jar;
    D:\java\oc4j-main-latest\j2ee\home\connectors\datasources\datasources\datasources.jar;
    D:\java\oc4j-main-latest\j2ee\home\connectors\OracleASjms\OracleASjms\gjra.jar;
    D:\java\oc4j-main-latest\j2ee\home\application-deployments\default\admin_ejb.jar\deployment-cache.jar;
    D:\java\oc4j-main-latest\lib\dms.jar;
    D:\java\oc4j-main-latest\jdbc\lib\ojdbc14dms.jar;
    D:\java\oc4j-main-latest\jdbc\lib\orai18n.jar;
    D:\java\oc4j-main-latest\opmn\lib\ons.jar;
    D:\java\oc4j-main-latest\jdbc\lib\ocrs12.jar;
    D:\java\oc4j-main-latest\lib\xmlparserv2.jar;
    D:\java\oc4j-main-latest\xdk\lib\xml.jar;
    D:\java\oc4j-main-latest\xdk\lib\xmlmesg.jar;
    D:\java\oc4j-main-latest\webservices\lib\soap.jar;
    D:\java\oc4j-main-latest\j2ee\home\lib\http_client.jar;
    D:\java\oc4j-main-latest\j2ee\home\applib;
    D:\java\oc4j-main-latest\j2ee\home\jsp\lib\taglib;
    D:\java\oc4j-main-latest\j2ee\home\jsp\lib\taglib\jaxen.jar;
    D:\java\oc4j-main-latest\j2ee\home\jsp\lib\taglib\ojsputil.jar;
    D:\java\oc4j-main-latest\j2ee\home\jsp\lib\taglib\standard.jar;
    D:\java\oc4j-main-latest\xdk\lib\xsu12.jar;
    D:\java\oc4j-main-latest\javacache\lib\cache.jar;
    D:\java\oc4j-main-latest\sqlj\lib\runtime12.jar;
    D:\java\oc4j-main-latest\sqlj\lib\translator.jar;
    D:\java\oc4j-main-latest\j2ee\home\applications\AcmeOrderProcessor\ApprovalMBean.jar
    cheers
    -steve-

  • Profiling and OC4J

    I'm trying to profile a servlet running inside OC4J using the Java Interactive Profiler (JIP). When I try and start OC4J I get the following failure
    OC4J startup failed
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: com.mentorgen.tools.profile.runtime.Profile
    Dependent class: oracle.j2ee.util.TraceLogger$TraceLoggerHandler
    Loader: api:1.4.0
    Code-Source: /scratch/cfreiwal/software/oc4j/j2ee/home/lib/oc4j-unsupported-api.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /scratch/cfreiwal/software/jip/profile/profile.jar (from system property java.class.path)
    This code-source is available in loader oc4j:10.1.3. This is a child of the dependent loader api:1.4.0.
    JIP requires Java 1.5 support, I'm using Oracle Containers for J2EE 10g (11.1.1.0.0). The way I'm reading the above error message is that OC4J is using 1.4. Does 11.1.1.0.0
    not have support for Java 1.5? If not where can I get a newer version that will? I guess the first question should be am I interpreting the error message correctly.
    Has anyone profiled code running inside OC4J using JIP. This profiler works great profiling standalone Java code, I'd like to give it a crack at this servlet running in OC4J.

    OK, I've dropped back to Oracle Containers for J2EE 10g (10.1.3.2) and what is failing has changed but it still fails in a similar fashion.
    What follows is the dump associate with the failed startup
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: com.mentorgen.tools.profile.runtime.Profile
    Dependent class: oracle.dms.instrument.DMSConsole
    Loader: oracle.dms:3.0
    Code-Source: /scratch/cfreiwal/software/oc4j/lib/dms.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /scratch/cfreiwal/software/jip/profile/profile.jar (from system property java.class.path)
    This code-source is available in loader oc4j:10.1.3.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at oracle.dms.instrument.DMSConsole.<init> (Unknown source file) [scratch/cfreiwal/software/oc4j/lib/dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar), by oracle.dms:3.0]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native method) [unknown, by unknown]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) [unknown, by unknown]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) [unknown, by unknown]
    at java.lang.reflect.Constructor.newInstance (Constructor.java:494) [unknown, by unknown]
    at java.lang.Class.newInstance0 (Class.java:350) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at java.lang.Class.newInstance (Class.java:303) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at com.evermind.server.ApplicationServer.initConsole (ApplicationServer.java) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at com.evermind.server.OC4JServer.main (OC4JServer.java) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknown]
    at oracle.classloader.util.MainClass.invoke (MainClass.java) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at oracle.oc4j.loader.boot.BootStrap.main (BootStrap.java) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    Aug 1, 2008 4:28:42 PM com.evermind.server.ServerMessages warningDMSInitializeFail
    WARNING: Unable to initialize DMS: {0}
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.dms.instrument_stub.DMSConsole
    Dependent class: com.evermind.server.ApplicationServer
    Loader: oc4j:10.1.3
    Code-Source: /scratch/cfreiwal/software/oc4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar
    This load was initiated at oc4j:10.1.3 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at java.lang.Class.forName0 (Native method) [unknown, by unknown]
    at java.lang.Class.forName (Class.java:164) [jre bootstrap, by jre.bootstrap:1.5.0_15]
    at com.evermind.server.ApplicationServer.initConsole (ApplicationServer.java) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.OC4JServer.main (OC4JServer.java) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknown]
    at oracle.classloader.util.MainClass.invoke (MainClass.java) [scratch/cfreiwal/software/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@27634497]
    at oracle.oc4j.loader.boot.BootStrap.main (BootStrap.java) [scratch/cfreiwal/software/oc4j/j2ee/home/oc4j.jar, by sun.misc.Launcher$AppClassLoader@27634497]
    OC4J startup failed

  • Error while installing the OC4J version oc4j_extended_101310

    Hi All,
    I am getting the following stacktrace when i run java -jar oc4j.jar
    I have set the foll env variables
    CLASSPATH :-C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\lib\tools.jar
    JAVA_HOME :-C:\j2sdk1.4.2_04
    PATH:-%JAVA_HOME%\bin;D:\Oracle\product\10.1.0\Client_1\bin;D:\ant\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\cvsnt
    2006-09-11 17:38:53.910 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\dms.war...
    2006-09-11 17:38:53.910 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\dms.war in D:\oc4j\j2ee\home\applications\dms
    2006-09-11 17:38:53.910 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\dms.war
    2006-09-11 17:38:53.910 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web.war...
    2006-09-11 17:38:53.926 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web.war in D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web
    2006-09-11 17:38:53.960 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web.war
    2006-09-11 17:38:54.076 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\jmsrouter.war...
    2006-09-11 17:38:54.076 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\jmsrouter.war in D:\oc4j\j2ee\home\applications\jmsrouter
    2006-09-11 17:38:54.110 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\jmsrouter.war
    2006-09-11 17:38:54.143 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\connectors\datasources\datasources.rar...
    2006-09-11 17:38:54.143 NOTIFICATION Unjar D:\oc4j\j2ee\home\connectors\datasources\datasources.rar in D:\oc4j\j2ee\home\connectors\datasources\datasources
    2006-09-11 17:38:54.143 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\connectors\datasources\datasources.rar
    2006-09-11 17:38:54.143 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar...
    2006-09-11 17:38:54.143 NOTIFICATION Unjar D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar in D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms
    2006-09-11 17:38:54.160 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar
    2006-09-11 17:38:54.193 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol.ear...
    2006-09-11 17:38:54.193 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\ascontrol.ear in D:\oc4j\j2ee\home\applications\ascontrol
    2006-09-11 17:38:54.593 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol.ear
    2006-09-11 17:38:54.610 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol\ascontrol.war...
    2006-09-11 17:38:54.693 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\ascontrol\ascontrol.war in D:\oc4j\j2ee\home\applications\ascontrol\ascontrol
    2006-09-11 17:39:01.542 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol\ascontrol.war
    06/09/11 17:39:01 Set OC4J administrator's password (password text will not be displayed as it is entered)
    Enter password:
    Confirm password:
    The password for OC4J administrator "oc4jadmin" has been set.
    06/09/11 17:39:12 The OC4J administrator "oc4jadmin" account is activated.
    [Fatal Error] :-1:-1: Premature end of file.
    2006-09-11 17:39:20.341 ERROR J2EE JCAC0006 Error initializing an ApplicationConnectionManager - ConnectorArchive and Application cannot be null
    2006-09-11 17:39:20.341 ERROR J2EE JCAC0004 {0}
    2006-09-11 17:39:20.341 WARNING J2EE JCAC0013 Error (Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException) while setting up RA for MCF (oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl) for standalone resource adapter 'Oracle JDBC Resource Adapter'
    2006-09-11 17:39:20.341 ERROR J2EE OJR0105 Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    06/09/11 17:39:20 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    Sep 11, 2006 5:39:20 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    06/09/11 17:39:20 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1551)
    at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1504)
    at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1968)
    at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
    at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
    at com.evermind.server.Application.setConfig(Application.java:391)
    at com.evermind.server.Application.setConfig(Application.java:308)
    at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1489)
    at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1470)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:864)
    at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:665)
    at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1193)
    at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:607)
    at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1546)
    ... 12 more
    Sep 11, 2006 5:39:20 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1551)
    at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1504)
    at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1968)
    at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
    at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
    at com.evermind.server.Application.setConfig(Application.java:391)
    at com.evermind.server.Application.setConfig(Application.java:308)
    at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1489)
    at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1470)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:864)
    at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:665)
    at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1193)
    at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:607)
    at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1546)
    ... 12 more
    06/09/11 17:39:20 WARNING: Application.setConfig Application: default is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    Sep 11, 2006 5:39:20 PM com.evermind.server.Application setConfig
    WARNING: Application: default is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    06/09/11 17:39:20 Error initializing server: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    06/09/11 17:39:21 Fatal error: server exiting
    Any suggestions are welcome.
    Regards,
    Ashaya

    FYI: I got this error in the process of trying the install xerces. (just placed it in the j2ee/lib folder) I'll just the default jvm installed with SOA suite 10.1.3.1.0
    [Fatal Error] :-1:-1: Premature end of file.
    06/11/30 20:21:30 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    06/11/30 20:21:30 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
         at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1605)
         at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1558)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2024)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1272)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:345)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
         at com.evermind.server.Application.setConfig(Application.java:413)
         at com.evermind.server.Application.setConfig(Application.java:314)
         at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1565)
         at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1547)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:974)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
         at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:890)
         at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:297)
         at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1140)
         at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:630)
         at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1600)
         ... 12 more
    06/11/30 20:21:30 WARNING: Application.setConfig Application: default is in failed state as initialization failed.
    java.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    06/11/30 20:21:30 Error initializing server: Application: default is in failed state as initialization failed
    06/11/30 20:21:32 Fatal error: server exiting

  • Which version of  OC4J works with the  FBS  demo app ?

    I've installed the latest, and it seems to have many discrepancies with the build.xml that comes with FBS.
    For example:
    <pathelement location="${oc4j.home}/jdk/jre/lib/ext/activation.jar"/>
    <pathelement location="${oc4j.home}/jdk/jre/lib/ext/jta.jar"/>
    There is no /jdk subdirectory.
    Or:
    <pathelement location="${oc4j.home}/webservices/lib/jaxrpc-api.jar"/>
    No such jar in the instalation.
    Also, would you know if the FBS application is tied to a certain Java runtime distribution version ?

    The "[https://addons.mozilla.org/en-us/firefox/addon/sothink-web-video-downloader/ Sothink Web Video Downloader]" extension author has not updated the extension since September and has a maxVersion set as15.* in the install.rdf. You could change it and force the install but it will not guarantee to just work properly and it looks like it has issues based on the comments.

  • Determining session size

    Does anyone know how to get live statistics of either the size of each servlet session or the average size? That is, while embedded OC4J is running, is there anyway for me to determine the total size of all objects sitting in a particular user's servlet session?
    Thanks,
    Jeff

    Not by default.
    We collect a range of stats for general OC4J operations and J2EE application execution via our DMS (dynamic monitoring service) but the size of a particular user's HttpSession object (or just the objects therein) is not covered there. We count sessions.established, sessions.open and sessions.closed to keep track of raw session usage.
    Probably not what you want to hear, but you could potentially do this yourself by implementing one of the session listener interfaces so you get notified when sessions are altered, and then publishing the session-id and size of objects in the session somewhere -- text file, xmlfile, straight to console, to a database table, etc..
    You could even look at using the DMS API we've exposed to make this available with the rest of the DMS statistics.
    cheers
    -steve-

  • Document Management - store and retrieve

    Currently we are running on SRM 4.0 with SRM 5.0 server and Netweaver 6.4.   Our screens were developed using BSPs and running in SAP Portal 5.0 (soon to be 6.0, hopefully).   What is the recommendation for storing and retrieving documents?  There are SEVERAL postings on different sites, but not getting anywhere.  Some of the postings contain specific function modules (like Bapi_document_create2, CVAPI, O_Document_…) but were not found in our system.  We did find CL_BDS_DOCUMENT, but found the following statement "SAP currently recommends not using BDS or DMF. Even use of the other Knowledge Provider services should be evaluated carefully." within this site's documentation under Knowledge Provider section.  Can anyone refer us to some technical documents and hopefully sample code?

    Your question is not easy to answer. There are different options to store and retrieve documents. First of all it depends on the functionality you need on your documents. Since I have no experience with SAP KM I can only talk about the options within SAP NetWeaver.
    The SAP Knowledge Provider is divided into different part. The most basic part is the CMS API(Content Management Service) (All function modules starting with SCMS_*). This API allows the retrieval and storage of documents in terms of the SAP Knowledge provider document model where a document consists of components and each component corresponds to the content. With the CMS API you can store and retrieve those documents in a Content Server via the HTTP 4.5 interface.
    Such a content server can be an external archive system that is certified for the HTTP 4.5 API (a list is provided by the ICC), the SAP data base or preferably the SAP content server (coming with SAP NetWeaver).
    All document management services in SAP (SAP ArchiveLink, Business Document Service, SAP Records Management, Document Management System) are clients of the SAP Knowledge Provider CMS API.
    Now, in order to model documents, the SAP Knowledge provider comes with the SAP DMS API. This DMS API is used to model complex document models (attributes, relations, ...) based on a so called content model that can be modelled via the document modeling workbench (DMWB). Here, the document management services mentioned above behave different. The SAP Knowledge provider is only infrastructure. This infrastructure has specializations using this infrastructure. Here are the most important ones I know about.
    SAP ArchiveLink: This services offers the storage and retrieval of simple images and the service of linking those images to business objects. Those links are for example contained in the table TOA01.
    So, the main focus here is to be able to navigate from a business object to the related images. It further has a workflow integration. The classical example is the invoice related to an FI document.
    SAP ArchiveLink does not support any kind of document management functionality such as versioning and indexing. But, with the introduction of the SAP Document Finder, this can be done project specifically.
    SAP ArchiveLink comes with a nice document viewer for viewing stored documents.
    SAP Business Document Service: The business object serevice was designed to be a simple API for managing documents including simple versioning and indexing of images and documents.
    SAP Document Management Service: This is the specialization with respect to PLM. So, DMS has the focus on engineering documents but can also be used to store other images and documents. SAP DMS offers document management functionalities such as check-in, check out of documents.
    SAP DMS is using a classification service for classifying documents. It also has a very large BAPI API for the external access on those documents. As far as I know, SAP DMS is not part of SAP NetWeaver (therefore, you did not find CVAPI*).
    SAP Records Management: SAP Records Management can be used for document management but is more than that.
    Within Records Management it is possible to create hierarchical structures and to fill them with all kinds of documents. You can either integrate scanned images (via ArchiveLink) or you can use the SAP Records Management Document service provider offering some basic DMS functionalities such as versioning and indexing. The nice thing is that you can keep a whole structure of documents and even any other SAP objects such as business objects, transactions or URL's.
    A typical application example is a HR personnel file. We've already done a lot of projects on that.
    In the end, the choice of the document management infrastructure depends on the needs you have.
    If you simply want to store and retrieve documents without any document management functionality ArchiveLink or simply the SAP CMS API will do.
    If you need hierarchical structures for your documents and an integration with various business objects SAP Records Management would be a good choice.
    You will find quite a lot of documentation in http://help.sap.com about these services.
    Now, a last remark for web applications. Most of the GUI's of the upper applications are made for SAPGUI. So, here it is necessary to extend the SAP functionality by developing own applications. Since all services are using the CMS HTTP API for storing and retrieving the content you can always generate a URL for displaying the documents. Use SCMS_DOC_URL_CREATE for creating such a URL for example.
    I hope, that helps a bit.
    Torsten

  • How to Link SRGBTBREL-BRELGUID with SOFFPHIO-PHIO_ID????

    Does anyone know this linking in ECC6.0?
    We need to attach document using GOS and stored in content server and also URL enabled.
    After attached,
    we will have data SRGBTBREL-BRELGUID : DDC767121B847DF1ACC9001A6431E09E
                              SOFFPHIO-PHIO_ID       : DDC7670B8D04C9F1ACC9001A6431E09E
    SRGBTBREL - Relationships in GOS Environment
    SOFFPHF - SOFF: Instances of Physical Information Objects
    FYI, we can display the file using browser with PHIO_ID ( physical id ), however we need to link this document to the PO which we can find in SRGBTBREL and SOOD.
    http://XXX.XXX.XXX.XXX/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=Z2&docId=DDC7670B8D04C9F1ACC9001A6431E09E&compId=13_mm_en.pdf
    How can we relate this two id?
    Pls advice

    Hi Allan,
    it seems to me, maybe I'm wrong, that SAP developed a one-way solution, that goes from to SAP to external software, but not the opposite. Not really surprising in fact.
    Here are a few trails to investigate, unfortunately I couldn't succeed. I feel there is probably another means to achieve your requirement. Anyway, I hope someone will find and describe the solution :-).
    1)  I tried to use the "instance attributes" of SOFFPHCL (so that to fill fields PROP01 to PROP10 of table SOFFPHIO). You must use  transaction DMWB
    1-a) I added 3 IO attributes ZCATID, ZTYPEID and ZINSTID (that I had to assign to a new Z document area too). Note: at least 2 attributes are needed as the maximum lengths of PROP01-10 are 15 to 40 characters.
    1-b) I assigned these 3 IO attributes to SOFFPHIO class (to select it, you must first switch to the Package View, and expand the SO package), as instance attributes, with Unique flag, and clicked the TAbulation button, to assign them respectively to PROP01, PROP02 and PROP08 fields (15, 15 and 40 characters).
    1-c) I created a function module to assign to PROPERTY_FUNCTION attribute of the SOFFPHIO class, which will set the values of these 3 properties. It must have this interface :
    *"  IMPORTING
    *"     REFERENCE(OBJECT_ID) TYPE  SDOKOBJECT
    *"     REFERENCE(CLIENT) TYPE  SYMANDT
    *"  TABLES
    *"      COMPONENTS STRUCTURE  SDOKCOMPRS
    *"      PROPERTIES STRUCTURE  SDOKPROPTY
    When I attached a document, with breakpoint on the function module, I realized that we don't have the information which business object it is about. The only way to get it, I think, is to do a modification of the standard of the GOS attachment service.
    2) I also tried to look at adding a new relationship attribute (in fact, a new table, based on a persistence class) for the ATTA link type, via SOBL_MODEL transaction. SAP provides an example with the FLIGHTCONN link type. Unfortunately, I didn't have enough time to spend on it, maybe it's worth looking a little bit further.
    3) The last solution is the simplest, based on the DMS API (this is the only one documented by SAP) : run a periodic background job that reads all new attachments, determines the PHIO IDs for each business object, and writes them to a table, that you can query from SharePoint.
    BR
    Sandra

  • NullPointerException when trying to run FopPrintServlet

    Dear All,
    I'm trying to run the FopPrintServlet shipped with Apache FOP 0.20.5 bin
    release but i got the following exception which is related to a bug in OracleAS OC4J instance 10.1.2.0.2 as in the FOP code i didn't reference Oracle XML parser but i got the exception from the Class : oracle.xml.jaxp.JXTransformer.reportXSLException
    So, how can i disable OC4J from referencing Oracle XML APIs which running Apache FOP java code.
    java.lang.NullPointerException
    at
    oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:776)
    at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:343)
    at
    oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:141)
    at
    oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:286)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:184)
    at oracle.xml.jaxp.JXXMLFilter.parse(JXXMLFilter.java:96)
    at org.apache.fop.apps.Driver.render(Driver.java:498)
    at
    ws.its.esc.bp.test.FopPrintServlet.renderXML(FopPrintServlet.java:100)
    at
    ws.its.esc.bp.test.FopPrintServlet.doPost(FopPrintServlet.java:68)
    at ws.its.esc.bp.test.FopPrintServlet.doGet(FopPrintServlet.java:47)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    This is a duplicate of the following post:
    NullPointerException when trying to run FopPrintServlet on JDeveloper
    user513949,
    If you are using OC4J stand-alone version 10.1.2.0.2, I suggest you refer to the following post:
    Class loading issue in 10.1.2?  commons-codec
    And you may need to set the following property:
    javax.xml.parsers.SAXParserFactoryGood Luck,
    Avi.

  • Webcache in 10.1?

    Hi Folks,
    I have run very well in the past using a 9.0.3 iAS install, which had a webcache included. I decided to install and use 10.1.3 Apps Server. Installed the Oracle HTTP Server, Oracle Containers for J2EE (OC4J), and Oracle Process Manager & Notification Server (OPMN)
    But I do not seem to have a webcache. Should I expect to have a webcache? If so how would I go about starting it up?
    In my previous installation a
    webcachectl start
    command started it OK and everything just worked.
    thanks,
    Derek

    Hi,
    I found the following information in the Installation Guide:
    "Oracle Application Server 10g Release 3 (10.1.3) provides a complete Java 2, Enterprise Edition (J2EE) 1.4-compliant environment. Specifically, this release provides a new version of Oracle Containers for J2EE (OC4J). OC4J provides all the containers, APIs, and services mandated by the J2EE specification. This release is designed for administrators who are using OC4J to deploy and manage J2EE applications.
    In addition to OC4J, this release also includes new releases of Oracle HTTP Server, Oracle Process Manager and Notification Server (OPMN), and Oracle Enterprise Manager 10g Application Server Control Console.
    You can integrate Oracle Application Server 10g Release 3 (10.1.3) with an existing Oracle Application Server environment that includes 10g (9.0.4) or 10g Release 2 (10.1.2) OracleAS Infrastructure, 10g Release 2 (10.1.2) Oracle HTTP Server, or 10g Release 2 (10.1.2) OracleAS Web Cache components. "
    For more details you may look into the following link:
    http://download-east.oracle.com/docs/cd/B25221_04/win.1013/install/topo.htm#sthref11
    Hope it helps!
    Regards,
    Sindhiya V.

  • Web Cache Invalidation & HA

    Hi Web Cache Team,
    We are currently using Webcache 9.0.3.1 cluster in our production environment with Oracle 9iAS as the app server. Now there is some critical content which is served (for better performance) through the Web Cache. We have implemented the invalidation mechnism using the invalidation APIs. But the problem is if for some reason the invalidation mechanism fails then what is the alternate route to invalidate the cached contents as they will be otherwise serving wrong data. Let me give an example:
    Case 1: Web cache is down
    Solution: Well in this case we are safe as even the users of the system will not be able to get the Stale data from cache.
    Case 2: The webcache is up but the link from n/w link from App Server to the webcache (via Load Balancers) is down. In this case our application will NOT be able to invalidate the cache if the underlying data changes. Moreover the users will continue to be served old content.
    Solution: How can we invalidate or notify cache in this case? Use DMS APIs ???
    Case 3: Both the Webcache & Network links are fine but in invalidation code (written in Java) throws an exception.
    Solution: POssibly we can trap all the exceptions in the invalidation logic and do something..... what???
    Any ideas will be highly appreciated.

    Hello,
    Thats one mechanism we are trying to explore at our end. The only thing is that we are not send the invalidation requests from EJB but from the classes provided by the Web framework we are using. What we are trying to achoeve is that if we make the invalidation as the first step of any Business Process transaction, and if it fails the entire transaction is rolled-back and we donot change the data. That way atleast web-cache is uptodate but the flip side is that Business Processes suffer.....

  • API for DMS Connector(KM)

    Hi,
    We configured the DMS Connector for KM on our portal. The DMS Document Explored Iview has document upload and DIR creation capabilities. We are trying to upload documents for browser(WD Java application) to DMS. We wanted to use the DMS connector functionalities. Is there a DMS Connector API which we can use in our WD Java application to create the DIRs and upload documents to DMS? Any help would be greatly appreciated.
    thanks,
    Venkatesh.K

    Hi Venkatesh,
    We had the same issue and raised an OSS message, But as per SAP there is no standard DMS Connector API's for KM at this time. They have proposed this one to be a standard for future releases. But here is a note which would give you an idea of all the Standard BAPI's in DMS. Note :766277
    Regards
    Krishna

Maybe you are looking for

  • Why does Camera Raw goes back to CS5 settings?

    I just installed CS6. When I open my photos from Bridge in Camera Raw, the old window from CS5 opens (the one with Fill Light and Recovery), not the new one with Highlights/Shadows. I can get it to change to the new version by clicking on a fly out m

  • Time out problem for select query

    I am fetching data from BKPF for my report. I have written following query.But this query always time out. SELECT     BUKRS     BELNR     GJAHR     BLART     BLDAT     BUDAT     MONAT     XBLNR     BKTXT     WAERS     KURSF     HWAER     FROM BKPF   

  • Login issues with portable home directories

    We are using 10.4.8 of the OS X server and version 10.4.7 on the workstations. Students are unable to login to their PHD. After entering their username and password, they will get the following message: "You are unable to log in to the user account "

  • Using Sun Java System App Server Update 1 with JDK1.5's XML

    Hi, I have some new code that uses new XML features from JDK 1.5, e.g., the Validation API. However, this code fails to run on Sun Java System App Server Update 1, since the server uses the 'endorsed' mechanism to load outdated XML libraries. When I

  • What is meant by the "other" segment in my ipod's summary bar?

    My iPod 's memory is full but I noticed that a lot of it is taken up by "other" (1.47GB) I wondered what that is or if I can delete it somehow. My iPod is only 8GB so i need the space for music. I don't have many apps or photos and have deleted what