Xerces and Xalan in OC4j

I am using standalone OC4J 10.1.2.0.2 and would want to use Xerces and Xalan in place or Oracle XML parser. I did initialize the container using -Xbootclasspath flag of JRE. but when the application is brought up the transform activty still shows the oracle.xml.jaxp error messages. Our app is built to work with Xerces and Xalan.
Are there any tricks invovled to make Oc4J recognize these libraries and use them ? Thanks

I think you can work that within the orion-application.xml file:
<imported-shared-libraries>
     <remove-inherited name="oracle.xml"/>
     <import-shared-library name="xalan" />
     <import-shared-library name="xerces" />
</imported-shared-libraries>
Where you've defined shared-lib entries for the above.
Reference:
http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html
I don't know if this is handled in the same way for the version you are dealing with, however.

Similar Messages

  • Weblogic and xerces and xalan

    I understand that xerces and xalan are a part of the weblogic's distribution.
    Will BEA also upgrade to newer versions of these softwares as they are available?
    If not how do I use newer versions of these softwares with weblogic.
    This is becoming a critical issue for us as I already see a remarkable difference
    in performance while doing transformations. The newer versions of xalan and xerces
    are performing much better with the same xml and xsl documents as compared to
    the previous versions.

    According to that link your right it is not supported.
    Have you tried adding the xerces jars at the beginning of the classpath?

  • Xmlparserv2.jar with xerces and xalan

    Hello,
    I have a Spring/Spring Web Flow application. I also have a separate web application that's using the XML Publisher API to generate reports from RTF files. I am now in the process of merging these two into one application.
    The Spring app requires the xerces.jar and xalan.jar JARs in order to parse the various XML files required to configure Spring. The XML Publisher app requires the xmlparserv2.jar JAR in order to parse the XML required for generating reports.
    When I have all of these JARs in my one web application, I receive an error when I call the FOProcessor.generate() method. Here it is:
    oracle.xml.parser.v2.XMLParseException: Bad character (1).
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:292)
         at oracle.xml.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:590)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:260)
         at oracle.apps.xdo.common.xml.XSLTClassic.transform(XSLTClassic.java:200)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:174)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1022)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
    I was thinking this was because there was a conflict between xalan, xerces and xmlparserv2, so I removed the xalan and xerces JARs from the classpath. Now I get the following whenever I try to hit one of my spring MVC actions:
    DEBUG org.springframework.beans.factory.xml.DelegatingEntityResolver(99) - Attempting to resolve XML Schema [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd] using [org.springframework.beans.factory.xml.PluggableSchemaResolver]
    <Line 43, Column 57>: XML-24509: (Error) Duplicated definition for: 'identifiedType'
    <Line 60, Column 28>: XML-24509: (Error) Duplicated definition for: 'beans'
    <Line 145, Column 34>: XML-24509: (Error) Duplicated definition for: 'description'
    <Line 158, Column 29>: XML-24509: (Error) Duplicated definition for: 'import'
    <Line 180, Column 28>: XML-24509: (Error) Duplicated definition for: 'alias'
    <Line 209, Column 33>: XML-24509: (Error) Duplicated definition for: 'beanElements'
    <Line 223, Column 44>: XML-24509: (Error) Duplicated definition for: 'beanAttributes'
    <Line 486, Column 43>: XML-24509: (Error) Duplicated definition for: 'meta'
    <Line 494, Column 35>: XML-24509: (Error) Duplicated definition for: 'metaType'
    <Line 511, Column 27>: XML-24509: (Error) Duplicated definition for: 'bean'
    <Line 531, Column 38>: XML-24509: (Error) Duplicated definition for: 'constructor-arg'
    <Line 600, Column 51>: XML-24509: (Error) Duplicated definition for: 'property'
    <Line 611, Column 36>: XML-24509: (Error) Duplicated definition for: 'lookup-method'
    <Line 647, Column 38>: XML-24509: (Error) Duplicated definition for: 'replaced-method'
    <Line 684, Column 31>: XML-24509: (Error) Duplicated definition for: 'arg-type'
    <Line 711, Column 26>: XML-24509: (Error) Duplicated definition for: 'ref'
    <Line 749, Column 28>: XML-24509: (Error) Duplicated definition for: 'idref'
    <Line 783, Column 28>: XML-24509: (Error) Duplicated definition for: 'value'
    <Line 811, Column 27>: XML-24509: (Error) Duplicated definition for: 'null'
    <Line 825, Column 39>: XML-24509: (Error) Duplicated definition for: 'collectionElements'
    <Line 842, Column 48>: XML-24509: (Error) Duplicated definition for: 'list'
    <Line 853, Column 47>: XML-24509: (Error) Duplicated definition for: 'set'
    <Line 862, Column 41>: XML-24509: (Error) Duplicated definition for: 'map'
    <Line 869, Column 45>: XML-24509: (Error) Duplicated definition for: 'entry'
    <Line 877, Column 45>: XML-24509: (Error) Duplicated definition for: 'props'
    <Line 886, Column 26>: XML-24509: (Error) Duplicated definition for: 'key'
    <Line 897, Column 27>: XML-24509: (Error) Duplicated definition for: 'prop'
    <Line 916, Column 39>: XML-24509: (Error) Duplicated definition for: 'propertyType'
    <Line 960, Column 45>: XML-24509: (Error) Duplicated definition for: 'baseCollectionType'
    <Line 971, Column 46>: XML-24509: (Error) Duplicated definition for: 'typedCollectionType'
    <Line 987, Column 34>: XML-24509: (Error) Duplicated definition for: 'mapType'
    <Line 1008, Column 36>: XML-24509: (Error) Duplicated definition for: 'entryType'
    <Line 1047, Column 40>: XML-24509: (Error) Duplicated definition for: 'listOrSetType'
    <Line 1056, Column 36>: XML-24509: (Error) Duplicated definition for: 'propsType'
    <Line 1069, Column 45>: XML-24509: (Error) Duplicated definition for: 'defaultable-boolean'
    ERROR org.springframework.web.servlet.FrameworkServlet(229) - Context initialization failed
    org.springframework.beans.factory.BeanDefinitionStoreException: Line 10 in XML document from class path resource [spring/servlet/sellitem-webflow-config.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
    Caused by:
    oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:431)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:181)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
         at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
         at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    So it seems like these JARs are incompatible with each other. Is there any way I can use the Oracle DocumentBuilder for my XML Publisher classes and the xerces for the rest of the app?
    Thanks,
    Leo Hart

    Now one has any advice? :(

  • What versions of Xerces-J and Xalan-J does JDK 1.5 make use of

    Can any one tell me what versions of Xerces-J and Xalan-J does JDK 1.5 make use of.

    Hi all,
    I have a class which has a Vector<Vector> data
    member.
    I expect its collection to contain more collections
    hence the Vector<Vector> type.Everything is OK with your concept, except that you just declared a variable of type "Vector of Vectors". Instead, you need to declare it as "Vector of Vector of Objects":
    private Vector<Vector<Object>> coll;and initialize it with
    coll= new Vector<Vector<Object>>();

  • Using Zllib, Xerces and Boost (in release mode)

    I've developped a Export plugin which used Zlib, Xerces, and Boost libs. (This libs are used in a statically.)
    In debug mode, the plugin is loaded correctly, and worked fine.
    I want to build this plugin in a release mode, in order to test it on an designer's workstation.
    The compilation is executed without problems. the same for link operations. But when I tried to load at Illustrator's startup, a message box is shown, telling me my plugin was not loaded correctly, and not loaded at all.
    I've took a look at my project settings, to check if my settings were ok (used static libs in debug or release mode), if there was no conflicts in precompiled header............
    I did not find! So if someone would have some tips to help me, it would be great!
    Thx,
    Thomas.

    I have finally found the problem!
    After having unplugged all the code I have written and replugged the all by block of code,
    I have found where I was wrong! it has taken me almost a day of work!
    the probleme was in the using of #ifndef, define!
    just this few lines:
    #ifndef _XERCESSTRING_H
    #define _XERCESSTRING_H
    #include <xercesc/util/XMLString.hpp>
    #ifdef XERCES_CPP_NAMESPACE_USE
    XERCES_CPP_NAMESPACE_USE
    #endif
    I have fixed that! now project can be built in release.
    Thanks for helping me!
    thomas.

  • What are the Advantages and Disadvantages of OC4J ?

    Hi,
    I want to know what are the advantages and disadvantages of OC4J server .
    Can anyone tell me please..
    Regards,
    Ajay

    simple, reliable, extremely fast and low cost of development: re-start takes 10 - 15 seconds. Its disadvantage may be less flexibility in configuration then heavy-weight Weblogic

  • Cmdline start and stop separate OC4J

    Hi,
    We are working with OAS 10.1.2.0.2 (J2EE and Web Cache)
    On that OAS we have 7 OC4J's with different Webservices
    Is it possible to start and stop a OC4J sepratly using commandline functionalitt without using "opmnctl stopall" and startall
    Based on an event I just want to start and stop one component and not all components.
    Maybe the answer is already given here but please help.
    Hugo Perfors

    i found it in the manual

  • Can jaxp and xalan help

    hi
    i wants to create a wordprocessor. so can the jaxp and xalan help me in opening and converting files from one type to another. if you ppl know any open source word processor plz send me or if u can give me an example thanx........

    No, they can't help you.
    And if you want to find an open-source word processor, Google will do that for you.

  • Xmlparserv2 and xalan

    Hi
    I have deployed an XML based application on Oracle9iAS Release 2 (v9.0.2). Application Server is forcing me to user Oracle's xmlparserv2 (and saxon) whereas my application has been written according to xalan (and xerces).
    Can some one help me as how to instruct Oracle9iAS to use xalan insread of xmlparserv2.
    I may add here that if I (completely) replace the xmlparserv2.jar with xalan.jar then I am unable to start OC4J.
    I would appreciate if could also CC the response to my personal email [email protected]
    Atif

    I got a very similiar question. In order to use XMLmill I have to start OC4J with following java parameter:
    -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
    Could this have any unintentional consequences?
    thanks
    Klaus

  • REST and JSON in OC4J?

    Hi,
    Pardon my ignorance with web technologies as I'm still starting. Just wanted to ask, is it possible to create and deploy RESTful Web Services and JSON format in OC4J?
    Thanks,
    Allen

    I think you can work that within the orion-application.xml file:
    <imported-shared-libraries>
         <remove-inherited name="oracle.xml"/>
         <import-shared-library name="xalan" />
         <import-shared-library name="xerces" />
    </imported-shared-libraries>
    Where you've defined shared-lib entries for the above.
    Reference:
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html
    I don't know if this is handled in the same way for the version you are dealing with, however.

  • Apparent Weblogic 6.0 and Xalan 2.0.1 Incompatiblity

    Xalan 2 XSLT Engine does not appear to work with Weblogic 6.0. The reason
    seems to be that Weblogic includes and uses some classes in weblogic.jar
    which shadow the Xalan 2 files. This results in an NoSuchMethodError
    (segment shown below) during the transformation process.
    java.lang.NoSuchMethodError
    at
    org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:269)
    at
    org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
    erImpl.java:2202)
    at
    org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
    739)
    at
    org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
    erImpl.java:2202)
    If Xalan 2 is placed into JRE/lib/ext, so that it takes precedence over the
    weblogic Xalan classes, weblogic does not start at all because of:
    javax.xml.parsers.FactoryConfigurationError:
    java.lang.ClassNotFoundException: w
    eblogic.xml.jaxp.RegistrySAXParserFactory
    at
    javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
    150)
    at
    weblogic.xml.process.ProcessorDriver.setupSAXParser(ProcessorDriver.j
    ava:246)
    at
    weblogic.xml.process.ProcessorDriver.<init>(ProcessorDriver.java:52)
    at
    weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.<init>(EjbJarLoader_EJB11.ja
    va:491)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at
    weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.j
    ava:186)
    at
    weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.j
    ava:164)
    at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:6
    5)
    at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4
    7)
    at
    weblogic.ejb20.internal.EJBMBeanFactory.parseEjbJar(EJBMBeanFactory.j
    ava:215)
    at
    weblogic.ejb20.internal.EJBMBeanFactory.getMBeans(EJBMBeanFactory.jav
    a:138)
    at
    weblogic.management.mbeans.custom.Application.initializeMBean(Applica
    tion.java:529)
    at
    weblogic.management.mbeans.custom.Application.initializeMBeans(Applic
    ation.java:452)
    at
    weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:252)
    at
    weblogic.management.mbeans.custom.Application.load(Application.java:2
    05)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:559)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:545)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
    at $Proxy12.load(Unknown Source)
    at
    weblogic.management.mbeans.custom.ApplicationManager.loadApplications
    (ApplicationManager.java:274)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:236)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:121)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:559)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:545)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
    at $Proxy40.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:435)
    at weblogic.management.Admin.startApplicationManager(Admin.java:959)
    at weblogic.management.Admin.finish(Admin.java:459)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    Regards
    Ben Hutchison
    Finetix UK

    Hi,
    I solved the problem under WL 5.1.0 & WL 6.0 putting xalan.jar &
    xerces.jar before weblogicaux.jar (weblogic.jar in WL 6.0).
    WL include a DOM level 1 API while Xalan requires a DOM level 2.
    But putting xerces.jar before it in the path should fix it.
    set CLASSPATH=.\config\efgweb\wl_cp_lib\xalan.jar
    set CLASSPATH=%CLASSPATH%;.\config\efgweb\wl_cp_lib\xerces.jar
    set CLASSPATH=%CLASSPATH%;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    Regards
    Simone
    Ben Hutchison wrote:
    >
    Xalan 2 XSLT Engine does not appear to work with Weblogic 6.0. The reason
    seems to be that Weblogic includes and uses some classes in weblogic.jar
    which shadow the Xalan 2 files. This results in an NoSuchMethodError
    (segment shown below) during the transformation process.
    java.lang.NoSuchMethodError
    at
    org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:269)
    at
    org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
    erImpl.java:2202)
    at
    org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
    739)
    at
    org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
    erImpl.java:2202)
    If Xalan 2 is placed into JRE/lib/ext, so that it takes precedence over the
    weblogic Xalan classes, weblogic does not start at all because of:
    javax.xml.parsers.FactoryConfigurationError:
    java.lang.ClassNotFoundException: w
    eblogic.xml.jaxp.RegistrySAXParserFactory
    at
    javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
    150)
    at
    weblogic.xml.process.ProcessorDriver.setupSAXParser(ProcessorDriver.j
    ava:246)
    at
    weblogic.xml.process.ProcessorDriver.<init>(ProcessorDriver.java:52)
    at
    weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.<init>(EjbJarLoader_EJB11.ja
    va:491)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at
    weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.j
    ava:186)
    at
    weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.j
    ava:164)
    at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:6
    5)
    at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4
    7)
    at
    weblogic.ejb20.internal.EJBMBeanFactory.parseEjbJar(EJBMBeanFactory.j
    ava:215)
    at
    weblogic.ejb20.internal.EJBMBeanFactory.getMBeans(EJBMBeanFactory.jav
    a:138)
    at
    weblogic.management.mbeans.custom.Application.initializeMBean(Applica
    tion.java:529)
    at
    weblogic.management.mbeans.custom.Application.initializeMBeans(Applic
    ation.java:452)
    at
    weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:252)
    at
    weblogic.management.mbeans.custom.Application.load(Application.java:2
    05)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:559)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:545)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
    at $Proxy12.load(Unknown Source)
    at
    weblogic.management.mbeans.custom.ApplicationManager.loadApplications
    (ApplicationManager.java:274)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:236)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:121)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:559)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:545)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
    at $Proxy40.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:435)
    at weblogic.management.Admin.startApplicationManager(Admin.java:959)
    at weblogic.management.Admin.finish(Admin.java:459)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    Regards
    Ben Hutchison
    Finetix UK

  • Cannot test portlet using JDeveloper and built-in OC4J

    Hi everybody,
    I'm not trying to sound stupid but my problem seems to be very basic but i cannot solve it. I'm new to Jdeveloper. Here's my problem.
    I'm using Jdeveloper 10.1.2.1.0 (build 1913) to develope a portlet. I deployed it to the built-in Standalone OC4J of Jdeveloper and got the following messages:
    ---- Deployment started. ---- Sep 6, 2006 7:46:11 PM
    Target platform is Standalone OC4J (AppServerConnection2).
    Wrote WAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.war
    Wrote EAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear
    Invoking OC4J admin tool...
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -deploy -file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear -deploymentName UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Uploading file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear to oc4j server side
    Notification ==> Application Deployer for UmaPortlets STARTS [ 2006-09-06T19:46:17.406ICT ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\jdev1012\j2ee\home\applications\UmaPortlets.ear
    Notification ==> Unpack UmaPortlets.ear begins...
    Notification ==> Unpack UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets.ear begins...
    Notification ==> Initialize UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets begins...
    Notification ==> Initialize UmaPortlets ends...
    Notification ==> Application Deployer for UmaPortlets COMPLETES [ 2006-09-06T19:46:19.000ICT ]
    Exit status of OC4J admin tool (-deploy): 0
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -bindWebApp UmaPortlets UmaPortlets http-web-site /UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://cuongttlabtop:8888/UmaPortlets
    Elapsed time for deployment: 12 seconds
    ---- Deployment finished. ---- Sep 6, 2006 7:46:23 PM
    When i tried to access the URL: http://cuongttlabtop:8888/UmaPortlets by Mozilla Firefox nothing came up instead : 403 Forbidden Directory browsing not allowed
    Please help me everybody!!!!! It's urgent. My boss will check my work on this Friday :((.

    I tried to access both URL you gave me and got the error:
    404 Not Found
    Resource /UmaPortlets/providers not found on this server
    I really dont understand what's going wrong here?? I followed exactly what Oracle tutorials tell me :(

  • What create a QUEUE in IBM MQ and bind in OC4J without restart OC4J ??

    My problem is, When create a new Queue in IBM MQ Series, how to lookup the same in my J2EE application with container OC4J running ???
    I create a Queue in MQ Series and is necessary lookup the same by application deployed in OAS 10.1.3 without restart the OC4J container.
    this is possible ??
    I use the JCA 1.5 to connect to MQ Series.

    Hi,
    There is some demo for setup IBM MQ in oc4j, you may try that.
    OTN:http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html
    In order to apply the new MQ in oc4j, you need to restart the oc4j.
    Rocky

  • Jsf and oracle's oc4j

    I'm having trouble deploying jsf applications to oracle's java container (OC4J) version 9.0.4.
    I have developed an application using jsf, but when trying to access it I get the following error message in the global-application log:
    05/10/04 10:22:03 web-0.1: jsp: init
    05/10/04 10:22:03 web-0.1: SpringContextServlet: init
    05/10/04 10:22:03 web-0.1: Loading Spring root WebApplicationContext
    05/10/04 10:22:03 web-0.1: Error initializing servlet
    java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.
    A typical config looks like this;
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84)
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:73)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
         at com.evermind.server.Application.getHttpApplication(Application.java:886)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
         at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    05/10/04 10:22:03 web-0.1: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4574)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
         at com.evermind.server.Application.getHttpApplication(Application.java:886)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
         at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    Following an advice I found the servlets are not loaded on startup.
    To ensure that it is not my application that is at fault I tried one of Sun's sample apps (guessnumber), but when accessing this i get the following error:
    05/10/04 13:45:25 Started
    05/10/04 13:45:26 defaultWebApp: jsp: init
    05/10/04 13:45:26 defaultWebApp: 9.0.4.0.0 Started
    05/10/04 13:45:47 jsf-guessNumber: jsp: init
    05/10/04 13:45:47 jsf-guessNumber: Error initializing servlet
    java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
         at com.evermind.server.Application.getHttpApplication(Application.java:886)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
         at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    05/10/04 13:45:47 jsf-guessNumber: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4574)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
         at com.evermind.server.Application.getHttpApplication(Application.java:886)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
         at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    05/10/04 13:45:48 jsf-guessNumber: 9.0.4.0.0 Started
    Does anyone know if there is a bug in oc4j 9.0.4? Both apps work fine in both tomcat 4.x and in the latest early access release of oc4j (EA R3).

    typically this is because a context listener is not setup in your web.xml.[JSF README]
    * Some web containers don't follow the Servlet 2.3 Spec rule of calling
    ServletContextListeners listeners defined in tld files in the META-INF
    directory of a jar. Running a faces webapp in such a container
    requires you to manually declare the ServletContextListener. The
    listener-class you need to specify is
    com.sun.faces.config.ConfigureListener
    [Jacob Hookom of Facelet]
    If you would like to use JSF 1.2 with Resin: oc4j for that matter ...
    1. Delete the TLD files from the jsf-imp.jar!/meta-inf
    2. Specify at context-listener in your web.xml for:
    com.sun.faces.config.ConfigureListener
    As you see, both say a same thing.

  • Create a new set of skin and style for OC4J

    hi, I have created a new set of skin and style
    for example,
    just duplicated folders s_oracle10 , sk_oracle10 and rename them as s_oracle10b , sk_oracle10b (in \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res)
    however, I found that there is no new choice - oracle10b in the dropdownlist for selecting style.
    how to create a new set of skin and style ??

    I have read Oracle® Business Intelligence Suite Enterprise Edition Release Notes Version 10.1.3.4.1 E10404-25
    =====================================================================
    In Chapter 10, the section "About Skins and Styles" contains incomplete
    information. The following information should appear after the section's first
    paragraph:
    Respective Web servers require resource files like styles to be deployed
    appropriately for those applications. For example, when using OC4J as is common
    in Oracle BI deployments, skins, styles and images need to be duplicated in the
    following directories:
    – {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    – {OracleBI}\web\app\res
    As a rule, customer-specific files like custom styles should live in the
    {OracleBIData} folders so these are not lost during upgrades. In this case, the
    custom style would then be deployed to OC4J as described above and to the
    following directory: {OracleBIData}\web\res
    ===================================================================== copied from the pdf
    we need to copy the new set to two directories.
    however, I found that resources of the new set are from {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    not from {OracleBI}\web\app\res
    if there is a upgrade or redeployment, will the new set be removed or replaced.
    why isn't load from {OracleBI}\web\app\res?
    how to configure to make it load from {OracleBI}\web\app\res?
    thanks

Maybe you are looking for

  • Plant not visible in PR and PO

    Dear All I have defined new Plant and the same is showing when I create Quotation.However when I am trying to create PR or PO it is not showing in Purchase Requisition or Purchase Order. Any reason for this?

  • Where to find Pick Release Date After Ship Confirm in Order to Cash cycle

    Dear All, In Order to Cash cycle how to find Pick Release Date. After performing the Ship Confirm Transaction, how to view when we have performed Pick Release Transaction? Thanks in Advance. Regards, Aditya

  • Why last  4 lines of  every page in sap script are not coming ,it is not o

    pls give some solution why last  4 lines of  every page in sap script are not coming ,it is not over flowing to next page even? it is any page format related problem or coding problem?

  • Price control change

    Hi Experts, How to change the price control for a Raw material from Standard to Moving Avg Price (Material Ledger Active Status). This Raw materials having last year in Standard, now wants to change as per the requirement to MAP. Please advice. Regar

  • Unable to Choose Photos to Share with Apple TV

    I am trying to "Choose Photos to Share with Apple TV" within iTunes. However, I get the following error message Photos folder syncing has been disabled for the Apple TV "" because the folder "(Unknown)" cannot be found. Any help would be apprecited.