Oc4j with xerces

Hi, i have to use xerces with oc4j but i get such an error when starting the application server:
org.apache.commons.digester.Digester - Digester.getParser:
org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:137)
at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)
at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)
at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:73)
at org.apache.commons.digester.Digester.getParser(Digester.java:682)
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
at org.apache.commons.digester.Digester.parse(Digester.java:1572)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
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(Thread.java:534)
what can i do about that?
i assumed that, the xml parser of oc4j is conflicting with xerces. Is it so?

user536800,
A search of this forum's archives for the word "xerces" returns 75 hits.
Perhaps one (or more) of those postings will help you?
The way to integrate Xerces into OC4J differs, depending on which OC4J version you are using.
Forgive me, but I couldn't find details of the version you are using in your post.
I also believe the way to do it would also depend on the version of Xerces you are using, the JDK version you are using and maybe even on the platform you are on.
Again, forgive me, but I could find none of those details in your post.
Good Luck,
Avi.

Similar Messages

  • How CAN I setup a custom local DTD to be used with XERCES

    Hi,
    can anyone help?
    I have to use a local DTD with XERCES which should be always used ("overwrite" the one specified in DOCTYPE if it exist, or should be used if no DOCTYPE is specified)
    I can not use EntityResolver because resolveEntity() is not called if there is no DOCTYPE specified.
    Also I can not use XSD because I have only DTD rules.
    Thanks,
    Cristian

    Thanks for your reply,
    what about using XERCES XNI?
    I could load a Grammar, as specified in the sample file xni.XMLGrammarBuilder from XERCES-J 2.8.1 samples, but I couldn't find a possibility to force it to be used with any document.
    Do you know? is it any possibility to do it?

  • Pre-configured standalone OC4J with PDK - ZIP corrupt - ??

    zip is corrupt, what can I do, who can I contact??
    pre-configured standalone OC4J with PDK
    http://www.oracle.com/technology/products/ias/portal/files/pdk_oc4j_extended.zip
    found at page http://www.oracle.com/technology/products/ias/portal/pdk.html

    Sorry for the multiple occurences of this posting, Got an error during posting!

  • Logging Garbage collector for an OC4J with 2JVM

    Hi, I have one OC4J with two JVM setted.
    If I put -verbose:gc it logs in the std Output file.
    I trying to log the garbage collector in two different file each one for one JVM.
    Anyone as an idea?

    Don't create massive amounts garbage memory. It's that simple. You should try to limit the creation of memory inside your animation loop. If there is a process inside the loop that creates memory, there is definitely some way to create that item staticly, rather than allocating new memory with each iteration. There shouldn't be any kind of problem that would involve the creation of THIS much memory, and it's deallocation. If you read about how the garbage collector is implemented, you'll notice that it stores all of it's memory on a single conveyor belt. This is for ALL memory in the program. Therefor once the garbage collector has gone through and marked all of the memory that needs to be reclaimed, it performs it's sweep and must feeze the entire program because that conveyor belt can not be manipulated while it's re-arranging the memory. The garbage collector will eliminate MOST memory leaks, but it does not eliminate any thought on the part of the programmer about memory.
    -Jason Thomas.

  • OC4J with EJB 2.1 release date?

    Is there any release date available for the OC4J with EJB 2.1 support?

    Hello Haug,
    it's planned for summer 2005.

  • Configuring OC4J with webcache

    Hi All,
    I have requirement of configuring OC4J with webcache.
    I got an OC4J903 standalone server and webcache is seperately installed.
    I am able to get the webchacheadmin screen and i am now stuck with how to go ahead.
    looking forward for help.
    thanks in advance,
    Sudha

    I assume the Web Cache you have is the 9.0.2.0 standalone. First of all, patch your Web Cache 9.0.2.0 standalone to the latest level you can find on Metalink. This is currently 9.0.2.2bp1 (on Solaris).
    (You can use Web Cache 9.0.2.x with OC4J 9.0.3.x.)
    Next, follow the steps in the Oracle9iAS Web Cache Administration and Deployment Guide, accessible from OTN. Chapter 6 of this guide is a good place to start, although Parts I and II are useful in their entirety.
    Your basic steps are going to be:
    - access the Web Cache Manager admin UI (hostname:4000 is the default); default uname/pwd is administrator/administrator
    - make sure Web Cache is listening on the desired port(s)
    - define a site
    - configure application web server settings (in this case, your OC4J standalone) from which to fetch fresh content
    - configure site-to-server mappings; you can map more than one application server to a site (enables load balancing)
    - configure caching, compression and expiration rules and/or modify your application to use ESI
    - don't forget to apply changes and restart
    Still, I would really advise using the manual and online help to get started. It's easy once you grasp the concepts described in the manual.

  • Unable to start OC4J with JDeveloper 903

    Hello,
    I got the following error message when I try to start the oc4j shipped with jdev903. Could anyone please let me know why I am getting the error message below, and how to fix it:
    Java path is poiting to e:\jdk1.3.1_07
    OS : windows /2000
    E:\JDeveloper\j2ee\home>java -jar oc4j.jar
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Error ID: 4649454C44345950450E4350500029
    # Problematic Thread: prio=5 tid=0x234a10 nid=0x9a0 runnable
    Do I need to report this error to Sun or Oracle?
    How do I fix this error?
    Thanks.
    ATN

    This one should go to Sun.
    Try OC4J with the VM installed with JDeveloper. Also, you might want to try 1.3.1_02 (just to see if that works on your machine)
    Rob

  • Unable to start OC4J with warning on 'adf.oracle.domain'

    Hi,
    I am getting this kind of error. Any advice? Thank you.
    WARNING: Application.setConfig Application: default is in failed state as initialization failedjava.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
    Nov 20, 2011 4:24:14 PM com.evermind.server.Application setConfig
    WARNING: Application: default is in failed state as initialization failedjava.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
    11/11/20 16:24:14 Error initializing server: Shared library "adf.oracle.domain" could not be found.
    Edited by: Samantha on Nov 20, 2011 4:30 PM

    This one should go to Sun.
    Try OC4J with the VM installed with JDeveloper. Also, you might want to try 1.3.1_02 (just to see if that works on your machine)
    Rob

  • OC4J with SSL

    AOA
    i want to know the complete the procedure to configure the OC4J with Digital Certificate.
    Regrads
    Aamar Nazir

    You must implement SSL using the mod_ssl Module of Apache. OC4J does not support SSL on it's own.
    Look for mod_ssl in the apache documentation for further details.

  • Standalone OC4J with SMS Portlet - Error

    I have installed the SMS Portlet (downloaded from OTN) onto Standalone OC4J with PDK. However, when I try to login, I get a No route to host error. What values should I set proxyHost and proxyPort to run it from my local desktop.
    Thanks.

    Hi,
    actually the error message doesn't point to the problem because its a generic message. The HTML page message is the one you build and modify when creating the Webstart project in JDeveloper.
    The configuration looks okay.
    Frank

  • DOM Level 3 Load/Save with xerces

    Hi there, was testing out DOM Level 3 Load/Save with Xerces 2.6.2:
    import java.util.Random;
    import org.apache.xerces.dom3.bootstrap.DOMImplementationRegistry;
    import org.w3c.dom.DOMConfiguration;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Text;
    import org.w3c.dom.ls.DOMImplementationLS;
    import org.w3c.dom.ls.LSParser;
    import org.w3c.dom.ls.LSSerializer;
    public class DOMLoadSaveTest {
         public void test(String xmlURI) throws ClassCastException, ClassNotFoundException, InstantiationException, IllegalAccessException {
              System.setProperty(DOMImplementationRegistry.PROPERTY,
                  "org.apache.xerces.dom.DOMImplementationSourceImpl");
              DOMImplementationRegistry registry =
                   DOMImplementationRegistry.newInstance();
              DOMImplementationLS impl =
                   (DOMImplementationLS)registry.getDOMImplementation("LS");
              LSParser builder = impl.createLSParser(
                        DOMImplementationLS.MODE_SYNCHRONOUS, null);
              Document document = builder.parseURI(xmlURI);
              Random r = new Random();
              Element rand = document.createElement("random");
              Text text = document.createTextNode(Integer.toString(r.nextInt()));
              rand.appendChild(text);
              document.getDocumentElement().appendChild(rand);
              LSSerializer writer = impl.createLSSerializer();
    //          DOMConfiguration config = writer.getDomConfig();
    //          config.setParameter("format-pretty-print", "true");
              writer.writeToURI(document, xmlURI);
         public static void main(String[] args) throws ClassCastException, ClassNotFoundException, InstantiationException, IllegalAccessException {
              DOMLoadSaveTest test = new DOMLoadSaveTest();
              test.test("foo.xml");
    }I was attempting to turn pretty-printing on, but when I uncomment the writer.getDOMConfig line, I get the following exception:
    Exception in thread "main" java.lang.AbstractMethodError: org.apache.xml.serialize.DOMSerializerImpl.getDomConfig()Lorg/w3c/dom/DOMConfiguration;
         at DOMLoadSaveTest.test(DOMLoadSaveTest.java:36)
         at DOMLoadSaveTest.main(DOMLoadSaveTest.java:43)Could anyone shed any light on this?
    Thanks, Neil

    java.lang.AbstractMethodError: org.apache.xml.serialize.DOMSerializerImpl.getDomConfig()
    getDomConfig() is not a abstract method.

  • Command line hangs when starting OC4J with MapViewer

    Hello,
    I have a simple development setup with a stand-alone oc4j instance installed via the MapViewer Quick Start Kit, on an 11g database, on a Windows XP workstation.
    The problem: When I start the oc4j instance everything seems to start up successfully - the AS Control, the MapViewer EAR, etc.., but the command line window hangs after the last command is executed. It does not return to the command prompt. And if I close the Command Prompt window the oc4j instance automatically shuts down. Any thoughts on why this is hanging? Or is this normal behavior? Thank you. The text of the startup is shown below.
    (Oh...and if you have any idea why I am getting a string of [ConverterRule] WARNINGS, please let me know. Thanks.)
    -Dan
    ------- Output below --------
    C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home>java -jar oc4j.jar
    WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
    tions\mapviewer\web\WEB-INF\lib\dms.jar (from WEB-INF/lib/ directory in C:\app\o
    racle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\l
    ib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0/
    db_1/oc4j_mv/lib/dms.jar (from <code-source> (ignore manifest Class-Path) in MET
    A-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\oc4j.jar).
    If it contains different versions of the same classes, it will be masked as the
    latter is already visible in the search path of loader mapviewer.web.web:0.0.0.
    WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
    tions\mapviewer\web\WEB-INF\lib\ojdl.jar (from WEB-INF/lib/ directory in C:\app\
    oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\
    lib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0
    /db_1/oc4j_mv/diagnostics/lib/ojdl.jar (from <code-source> (ignore manifest Clas
    s-Path) in META-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\h
    ome\oc4j.jar). If it contains different versions of the same classes, it will be
    masked as the latter is already visible in the search path of loader mapviewer.
    web.web:0.0.0.
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    2009-03-10 10:51:20.500 NOTIFICATION oms root path: C:\app\oracle\product\11.1.
    0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
    09/03/10 10:51:20 mbean domain: mapviewer
    2009-03-10 10:51:20.500 NOTIFICATION OMSConfig mbean regisred.
    2009-03-10 10:51:20.500 NOTIFICATION MapTileServer root path: C:\app\oracle\pro
    duct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
    09/03/10 10:51:20 mbean domain: mapviewer
    2009-03-10 10:51:20.515 NOTIFICATION MCSConfig mbean regisred.
    2009-03-10 10:51:20.515 NOTIFICATION MapViewer server version: Ver1033p5_B081010
    2009-03-10 10:51:20.515 NOTIFICATION using default config file: C:\app\oracle\pr
    oduct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\conf\mapV
    iewerConfig.xml
    2009-03-10 10:51:20.515 WARNING dcsf:true
    2009-03-10 10:51:20.531 WARNING destroying ALL mapmaker instances.
    2009-03-10 10:51:20.531 WARNING dcsf:true
    09/03/10 10:51:20 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    2009-03-10 10:51:20.578 NOTIFICATION Spatial Provider shapefileSDP has been regi
    stered.
    2009-03-10 10:51:20.578 NOTIFICATION Map Recycling thread started.
    2009-03-10 10:51:20.593 NOTIFICATION *** Oracle MapViewer started. ***
    2009-03-10 10:51:21.515 NOTIFICATION *** Oracle MapTileServer started. ***
    2009-03-10 10:51:21.531 NOTIFICATION *** Oracle Feature of Interest (FOI) Server started ***
    ---> This is where it hangs up. It just sits here and never returns to the command prompt.

    I guess I've come to the conclusion that it's normal for the command window to remain open while mapviewer is running. I just don't recall that from my previous installations.
    -- considered answered.

  • Weird error message from oc4j with EntityBean

    We have an J2EE application written originally to run on Orion 1.4.5.
    We have decided to try to port this to oc4j and the version we are using is 1.0.2.2
    There is some minor reconfiguration issue but nothing really major.
    All the servlet, jsp, and stateless session EJB runs without any problem.
    However, all the CMP EntityBean doesn't seem to like their new home.
    During deployment, the container will complaints about every single EntityBean with error message like the following:
    JavaApplication_EntityBeanWrapper33.java:358: Exception java.sql.SQLException is never thrown in the body of the corresponding try statement.
    catch(java.sql.SQLException e)
    JavaApplication is one of our CMP EntityBean and the Wrapper is supposingly created automatically by the container at deployment time.
    Has anyone encountered this before? Any work around/solutions?
    Thanks in advance
    Andrew
    null

    gday Andrew -
    I believe that this is caused by setting the attribute exclusive-write-access=false in the orion-ejb-jar.xml file for your EJBs.
    This is a known OC4J problem: a bug has been logged and it's been fixed here. The next minor release of OC4J will contain the fix for this.
    In the meantime as a workaround removing the exclusive-write-access=false attribute from the orion-ejb-jar.xml files for your beans should get you going.
    cheers!
    -steve.
    null

  • Deployement problem in oc4j with hibernate + JPA and Spring

    Dear All,
    From last 2 days I am facing a problem in deployment of our application in oc4j client of oracle app server.
    I am getting the following exception
    Operation failed with error: [mkclsets:mkclsets] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit mkclsetsPersistenceUnit.When I am deploying the same application in tomcat app server its working fine. But I am unable to deploy the same in oc4j.
    I am using the following technologies
    Spring 2.0
    Struts 2.0
    Hibernate 3.3
    JPA 1.0
    OC4J 10.1.3.3.0
    IDE : my eclipse 6.0
    My persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxxx.xxxx.xxxx.xxxx:1521/mydb</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>
              </property>
         </bean>
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Server.xml (oc4j/j2ee/home/config)
    <?xml version="1.0"?>
    <application-server  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd"  application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
         <shared-library name="global.libraries" version="1.0" library-compatible="true">
              <code-source path="../applib"/>
         </shared-library>
         <shared-library name="global.tag.libraries" version="1.0" library-compatible="true">
              <code-source path="../../home/jsp/lib/taglib/"/>
              <code-source path="../../../j2ee/home/jsp/lib/taglib/"/>
              <code-source path="../../../lib/dsv2.jar"/>
              <import-shared-library name="oracle.xml"/>
              <import-shared-library name="oracle.jdbc"/>
              <import-shared-library name="oracle.cache"/>
              <import-shared-library name="soap"/>
         </shared-library>
         <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
              <code-source path="../../../toplink/jlib/toplink-essentials.jar"/>
              <import-shared-library name="oracle.jdbc"/>
         </shared-library>
         <shared-library name="hibernatejpa" version="1.0">
              <code-source path="ejb3-persistence.jar"/>
              <code-source path="hibernate3.jar"/>
              <code-source path="hibernate-annotations.jar"/>
              <code-source path="hibernate-commons-annotations.jar"/>
              <code-source path="hibernate-entitymanager.jar"/>
              <code-source path="jboss-archive-browsing.jar"/>
              <code-source path="jta.jar"/>
         </shared-library>
         <shared-library name="db" version="1.0">
              <code-source path="ojdbc14.jar"/>
         </shared-library>
         <shared-library name="displaytab" version="1.0">
              <code-source path="commons-beanutils-1.7.0.jar"/>
              <code-source path="commons-lang-2.3.jar"/>
              <code-source path="displaytag-1.1.1.jar"/>
         </shared-library>
         <shared-library name="ehCache" version="1.0">
              <code-source path="backport-util-concurrent.jar"/>
              <code-source path="ehcache-1.4.0-beta2.jar"/>
              <code-source path="jsr107cache-1.0.jar"/>
         </shared-library>
         <shared-library name="json" version="1.0">
              <code-source path="ezmorph-1.0.4.jar"/>
              <code-source path="json.jar"/>
         </shared-library>
         <shared-library name="other_sets" version="1.0">
              <code-source path="commons-fileupload-1.1.jar"/>
              <code-source path="dom4j-1.6.1.jar"/>
              <code-source path="dwr.jar"/>
              <code-source path="javassist.jar"/>
              <code-source path="log4j-1.2.13.jar"/>
         </shared-library>
         <shared-library name="spring2" version="1.0">
              <code-source path="aspectjrt.jar"/>
              <code-source path="aspectjweaver.jar"/>
              <code-source path="cglib-nodep-2.1_3.jar"/>
              <code-source path="spring.jar"/>
         </shared-library>
         <shared-library name="struts2" version="1.0">
              <code-source path="antlr-2.7.2.jar"/>
              <code-source path="commons-collections.jar"/>
              <code-source path="commons-io-1.1.jar"/>
              <code-source path="commons-logging-1.0.4.jar"/>
              <code-source path="freemarker-2.3.8.jar"/>
              <code-source path="ognl-2.6.11.jar"/>
              <code-source path="struts2-core-2.0.9.jar"/>
              <code-source path="struts2-spring-plugin-2.0.9.jar"/>
              <code-source path="xwork-2.0.4.jar"/>
         </shared-library>
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <javacache-config path="../../../javacache/admin/javacache.xml" />
         <j2ee-logging-config path="./j2ee-logging.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" extdirs="C:\Program Files\Java\jdk1.5.0_07\jre\lib\ext" />
         <global-application name="default" path="application.xml" parent="system" start="true" />
         <application name="javasso" path="../../home/applications/javasso.ear" parent="default" start="false" />
         <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" />
         <application name="Test" path="../applications\Test.ear" parent="default" start="true" />
         <application name="OraTest" path="../applications\OraTest.ear" parent="default" start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <transaction-manager-config path="transaction-manager.xml" />
         <web-site default="true" path="./default-web-site.xml" />
         <cluster  id="6745699755968" />
    </application-server>Orion-application.xml (oc4j/j2ee/home/config)
    <?xml version="1.0"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" deployment-version="10.1.3.1.0" default-data-source="jdbc/OracleDS" component-classification="external"
    schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
         <import-shared-library name="hibernatejpa"/>
         <import-shared-library name="db"/>
         <import-shared-library name="displaytab"/>
         <import-shared-library name="ehCache"/>
         <import-shared-library name="json"/>
         <import-shared-library name="other_sets"/>
         <import-shared-library name="spring2"/>
         <import-shared-library name="struts2"/>
    </imported-shared-libraries>
    </orion-application>Please help to deploy my application, I created one application with struts2 and spring2 and that is working fine, but when I try to add JPA with hibernate 3.3 I am unable to deploy it.
    Thanks a lot in advance.
    With best regards,
    Ishaan

    Hi,
    Thank you very much for your reply. the previous Exception has gone but now I get the following one.
    Exception: NoClassDefFoundError: Missing class: org.dom4j.DocumentException Dependent class: org.hibernate.ejb.HibernatePersistence Loader: hibernatejpa:1.0 Code-Source: /C:/oracle123/j2ee/home/shared-lib/hibernatejpa/1.0/hibernate-entitymanager.jar Configuration: in /C:/oracle123/j2ee/home/config/server.xml The missing class is available from the following locations: 1. Code-Source: /C:/oracle123/j2ee/home/shared-lib/other_sets/1.0/dom4j-1.6.1.jar (from in /C:/oracle123/j2ee/home/config/server.xml) This code-source is available in loader other_sets:1.0.
    [Jun 2, 2008 10:57:17 AM] Operation failed with error: Missing class: org.dom4j.DocumentException Dependent class: org.hibernate.ejb.HibernatePersistence Loader: hibernatejpa:1.0 Code-Source: /C:/oracle123/j2ee/home/shared-lib/hibernatejpa/1.0/hibernate-entitymanager.jar Configuration: in /C:/oracle123/j2ee/home/config/server.xml The missing class is available from the following locations: 1. Code-Source: /C:/oracle123/j2ee/home/shared-lib/other_sets/1.0/dom4j-1.6.1.jar (from in /C:/oracle123/j2ee/home/config/server.xml) This code-source is available in loader other_sets:1.0. with bset regards,
    ishaan

  • OC4J with OAS Port questions

    We are using Oracle DB and OAS 10g. OAS is installed on a Windows2K server, with the Infrastructure and Portal instances. We created a new OC4J instance in the Infrastructure, and have deployed an EJB application to this instance. The port assigned for RMI access is 3205.
    We are having problems connecting to this port from a remote java client.
    From the local server, I can perform a telnet to localhost:3205. Thus, the service should be accessible. However, from a remote machine, the telnet to server:3250 gets a 'connection refused'. This also occurs from the java client attempting to connect to the server and port. It seems that the port is only accessible from the local server.
    Is this a configuration issue in OAS, or should remote systems be accessing the EJB application through a different port?
    Any suggestions? Thanks in advance.
    -- Rhonda

    There's a special lookup prefix you can use when accesing EJBs in an OracleAS installation from remote clients.
    The lookup is of the form opmn:ormi://host/app -- this basically tells the JNDI call to first contact the OPMN service which manages processes in OracleAS to obtain the correct ORMI port for the OC4J process.
    OPMN manages the processes in an OracleAS environment, and dynamically allocates ports so they don't conflict with one-another.
    You can hardcode the ORMI port settings, see:
    http://download-west.oracle.com/docs/cd/B14099_04/web.1012/b14012/ormi.htm#i1084416
    But if you let OPMN provide them at runtime, it'll help you in cases where you have more than one OC4J process running on the server as it will avoid the port conflicts for you automatically.
    The J2EE Services Guide has more info about this. See http://download-west.oracle.com/docs/cd/B14099_04/web.1012/b14012/ormi.htm#i1085120
    -steve-

Maybe you are looking for

  • Error while updating infocube

    Dear bw gurus, I have encountered a load problem. The source is a DSO and the target is Infocube. When i execute the DTP (DSO->Infocube), it hits an error. There is no error log and nothing in the error stack. The error from the monitor was right aft

  • Document ordering in attachment tab

    Hi all, I am a bit confused about the ordering of document in attachment tab of livecycle. My customers ask for a chronological order of document when they add attachment from the workflow. I think the easiest way to do is use a list of document, and

  • 5800 Application Issues

    Hi, Something strange has happened to my 5800, last week all of my text messages deleted themselves and the ringtone defaulted to the Nokia tune. Since then very few of the applications on my phone work correctly. The internal web browser works fine

  • Rendering - clips need rendering when they shoudn't

    I am working on a new sequence on FCE 3.5.1 (HD imported from sony hdr-hc5 - no previous problems). Now whenever I move a clip from one track to another (whether on top of another clip in another track or not) it requires rendering and when I move it

  • Videos not playing in Quicktime/iTunes

    Hi, I have the latest versions of iTunes and Quicktime installed on my PC. However, when I attempt to play a video, I can hear the audio but the video portion is displaying purple, blue, and green "static". I am fully updated on the Windows side and