Deployment to Beta 10G OC4J

I deployed a working simple ADF project to the server and I get this. I thought that I had it fixed when I remembered the data connection was 'localhost',and changed it in the XML on the server but it did not correct the error. Please indicate what types of things to look for.
Error:
500 Internal Server Error
JBO-30003: The application pool (business.AppModuleLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.domain.DataCreationException, msg=JBO-25029: Data class (a domain?) {0} not found     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1759)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)     at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)     at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205)     at java.lang.Thread.run(Thread.java:536)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.domain.DataCreationException, msg=JBO-25029: Data class (a domain?) {0} not found     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:524)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)     at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)     at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205)     at java.lang.Thread.run(Thread.java:536)## Detail 0 ##oracle.jbo.domain.DataCreationException: JBO-25029: Data class (a domain?) {0} not found     at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:207)     at oracle.jbo.server.AttributeDefImpl.initFromXML(AttributeDefImpl.java:2048)     at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:2000)     at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2810)     at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2774)     at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2357)     at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2102)     at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:499)     at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277)     at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643)     at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:328)     at oracle.jbo.server.ViewDefImpl.addEntityUsage(ViewDefImpl.java:2560)     at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2628)     at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1931)     at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1765)     at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:503)     at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277)     at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643)     at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369)     at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:2798)     at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:359)     at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:356)     at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:135)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:76)     at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2124)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:515)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)     at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)     at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205)     at java.lang.Thread.run(Thread.java:536)## Detail 0 ##java.lang.ClassNotFoundException: oracle.jbo.domain.Number     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.findClass(ContextClassLoader.java:315)     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.loadClass(ContextClassLoader.java:140)     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:217)     at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)     at oracle.jbo.common.JBOClass.forName(JBOClass.java:161)     at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:203)     at oracle.jbo.server.AttributeDefImpl.initFromXML(AttributeDefImpl.java:2048)     at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:2000)     at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2810)     at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2774)     at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2357)     at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2102)     at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:499)     at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277)     at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643)     at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:328)     at oracle.jbo.server.ViewDefImpl.addEntityUsage(ViewDefImpl.java:2560)     at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2628)     at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1931)     at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1765)     at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:503)     at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320)     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277)     at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643)     at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369)     at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:2798)     at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:359)     at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:356)     at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:135)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:76)     at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2124)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:515)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)     at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)     at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205)     at java.lang.Thread.run(Thread.java:536)

I found the source of the previous error was caused by changing from localhost Oracle database to a one out on a server. There were many XML files to change manually!!, and I was wondering if there was an easy way to repoint an app to new data sources?
I have a 'new' error now when deploying to the 10G Beta OC4J running on Win2000 on another machine:
500 Internal Server Error
java.lang.SecurityException: sealing violation
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1130)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.findClass(ContextClassLoader.java:392)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:155)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.loadClass(ContextClassLoader.java:134)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
     at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:207)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:199)
     at java.lang.Thread.run(Thread.java:536)
????

Similar Messages

  • Does the Jheadstart application can deploy to Application 10g

    Hi Jhs team:
    Does the Jheadstart application can deploy to Application 10g ?

    Ting Rung,
    We did not test this yet, but assuming OC4J did not break backwards compatibility, it should work.
    I would say, give it a try, and let us know if you run into problems.
    Steven Davelaar,
    JHeadstart Team.

  • Can I deploy applications to embedded oc4j, manually?

    Hi.
    I created an application using JDeveloper 10g and deployed it on embedded oc4j server. I don't want to start Jdeveloper each time I have to run application, so I started the embedded server using:
    java -jar oc4j.jar
    and it runs fine but the application is not running when I give the URL in browser.
    Is the port different when u run the server manually? or the web.xml is not read in this mode?
    Can you guys help?
    Thanks.

    To run a application on the embedded server right-click on the application and select Run for which the JDeveloper is required to be started.
    Or, get the URL for the application with right-click>Run and specify the url in a browser after starting the embedded server separately if the embedded server gets started separately.

  • Admin error after deploying to Oracle 10g

    I'm trying to deploy Coldfusion 7.02 to Oracle 10g
    Application Server. I successfully installed CF as an ear file and
    deployed it to my OC4J instance. However, when I try to run the
    Administrator, after logging in, I get this error message:
    java.lang.ExceptionInInitializerError
    at com.verity.administration.VAdmin.<init>(Unknown
    Source)
    at
    com.verity.api.administration.VAdministration.<init>(Unknown
    Source).
    Caused by: java.lang.RuntimeException: Encryption algorithm
    not found
    at com.verity.security.k2.K2Encrypt.<clinit>(Unknown
    Source)
    ... 54 more
    Any idea what this has to do with? One thing I have been told
    is that this may have to do with ColdFusion needing to be run on
    its own OC4J instance. I am still working on figuring out how to do
    that setup.
    Any help would be appreciated.
    Thanks.

    See a couple of entries at
    http://blogs.sun.com/marcoscorner
    I hope they help you;-)
    Thanks,
    -- Marco

  • Problem of deployment Spring applicaiton to OC4J

    A application with Struts+Spring+Hibernate can be successfully runned in Tomcat. But when I deploy this application to OC4J 10.1.3.3, there are some errors. I have included xerces+xalan shared-library, taken off oracle.xml and choosen use self-library firstly.
    There are some warnings during deployment about can't parse tld files correctly:
    2007-11-26 01:47:00.265 NOTIFICATION 将档案复制到 D:\soft\oc4j_extended_101330\j
    2ee\home\applications\gxs.ear
    2007-11-26 01:47:01.203 NOTIFICATION 初始化 D:\soft\oc4j_extended_101330\j2ee\ho
    me\applications\gxs.ear 开始...
    2007-11-26 01:47:01.203 NOTIFICATION Auto-unpacking D:\soft\oc4j_extended_101330
    \j2ee\home\applications\gxs.ear...
    2007-11-26 01:47:01.203 NOTIFICATION 解压缩 gxs.ear
    2007-11-26 01:47:01.203 NOTIFICATION Unjar D:\soft\oc4j_extended_101330\j2ee\hom
    e\applications\gxs.ear in D:\soft\oc4j_extended_101330\j2ee\home\applications\gx
    s
    2007-11-26 01:47:02.500 NOTIFICATION 解压缩 gxs.ear 完成
    2007-11-26 01:47:02.515 NOTIFICATION Finished auto-unpacking D:\soft\oc4j_extend
    ed_101330\j2ee\home\applications\gxs.ear
    2007-11-26 01:47:02.515 NOTIFICATION Auto-unpacking D:\soft\oc4j_extended_101330
    \j2ee\home\applications\gxs\gxs.war...
    2007-11-26 01:47:02.515 NOTIFICATION 解压缩 gxs.war
    2007-11-26 01:47:02.515 NOTIFICATION Unjar D:\soft\oc4j_extended_101330\j2ee\hom
    e\applications\gxs\gxs.war in D:\soft\oc4j_extended_101330\j2ee\home\application
    s\gxs\gxs
    2007-11-26 01:47:21.265 NOTIFICATION 解压缩 gxs.war 完成
    2007-11-26 01:47:21.265 NOTIFICATION Finished auto-unpacking D:\soft\oc4j_extend
    ed_101330\j2ee\home\applications\gxs\gxs.war
    2007-11-26 01:47:21.296 NOTIFICATION 初始化 D:\soft\oc4j_extended_101330\j2ee\ho
    me\applications\gxs.ear 结束...
    2007-11-26 01:47:21.296 NOTIFICATION 启动应用程序: gxs
    2007-11-26 01:47:21.296 NOTIFICATION 初始化类加载程序
    2007-11-26 01:47:21.296 NOTIFICATION 初始化 EJB 容器
    2007-11-26 01:47:21.296 NOTIFICATION 加载连接器
    2007-11-26 01:47:21.515 NOTIFICATION 启动资源适配器
    2007-11-26 01:47:21.515 NOTIFICATION 初始化 EJB 会话
    2007-11-26 01:47:21.515 NOTIFICATION 提交类加载程序
    2007-11-26 01:47:21.515 NOTIFICATION 初始化 gxs 开始...
    2007-11-26 01:47:21.531 NOTIFICATION 初始化 gxs 结束...
    2007-11-26 01:47:21.531 NOTIFICATION 已启动的应用程序: gxs
    2007-11-26 01:47:21.531 NOTIFICATION 将 Web 应用程序绑定到站点 default-web-site
    开始...
    2007-11-26 01:47:21.546 NOTIFICATION 将应用程序 gxs 的 gxs Web 模块绑定到上下文
    根 gxs 下的站点 default-web-site
    警告: 代码源 D:\soft\oc4j_extended_101330\j2ee\home\applications\gxs\gxs\WEB-INF
    \lib\activation.jar (来自 WEB-INF/lib/ directory in D:\soft\oc4j_extended_101330
    \j2ee\home\applications\gxs\gxs\WEB-INF\lib) 与 /D:/soft/oc4j_extended_101330/j2
    ee/home/lib/activation.jar (from <code-source> (ignore manifest Class-Path) in M
    ETA-INF/boot.xml in D:\soft\oc4j_extended_101330\j2ee\home\oc4j.jar) 具有相同的
    文件名, 但与其不完全相同。如果前者包含相同类的不同版本, 则会被屏蔽掉, 因为后者在
    加载程序 gxs.web.gxs:0.0.0 的搜索路径中已是可见的。
    警告: 代码源 D:\soft\oc4j_extended_101330\j2ee\home\applications\gxs\gxs\WEB-INF
    \lib\jta.jar (来自 WEB-INF/lib/ directory in D:\soft\oc4j_extended_101330\j2ee\h
    ome\applications\gxs\gxs\WEB-INF\lib) 与 /D:/soft/oc4j_extended_101330/j2ee/home
    /lib/jta.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.x
    ml in D:\soft\oc4j_extended_101330\j2ee\home\oc4j.jar) 具有相同的文件名, 但与其
    不完全相同。如果前者包含相同类的不同版本, 则会被屏蔽掉, 因为后者在加载程序 gxs.w
    eb.gxs:0.0.0 的搜索路径中已是可见的。
    警告: 代码源 D:\soft\oc4j_extended_101330\j2ee\home\applications\gxs\gxs\WEB-INF
    \lib\mail.jar (来自 WEB-INF/lib/ directory in D:\soft\oc4j_extended_101330\j2ee\
    home\applications\gxs\gxs\WEB-INF\lib) 与 /D:/soft/oc4j_extended_101330/j2ee/hom
    e/lib/mail.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot
    .xml in D:\soft\oc4j_extended_101330\j2ee\home\oc4j.jar) 具有相同的文件名, 但与
    其不完全相同。如果前者包含相同类的不同版本, 则会被屏蔽掉, 因为后者在加载程序 gxs
    .web.gxs:0.0.0 的搜索路径中已是可见的。
    2007-11-26 01:47:22.125 WARNING J2EE JSP-0003 JSP Tld 高速缓存事件记录:
    2007-11-26 01:47:22.140 WARNING J2EE JSP-0027 对 jar:file:/D:/soft/oc4j_extended
    _101330/j2ee/home/applications/gxs/gxs/WEB-INF/lib/spring-modules-validation-0.5
    .jar!/META-INF/valang.tld 进行语法分析时出错
    2007-11-26 01:47:22.640 WARNING J2EE JSP-0003 JSP Tld 高速缓存事件记录:
    2007-11-26 01:47:22.640 WARNING J2EE JSP-0027 对 file:/D:/soft/oc4j_extended_101
    330/j2ee/home/applications/gxs/gxs/WEB-INF/tlds/c.tld 进行语法分析时出错
    2007-11-26 01:47:22.687 WARNING J2EE JSP-0003 JSP Tld 高速缓存事件记录:
    2007-11-26 01:47:22.687 WARNING J2EE JSP-0027 对 file:/D:/soft/oc4j_extended_101
    330/j2ee/home/applications/gxs/gxs/WEB-INF/tlds/displaytag.tld 进行语法分析时出

    2007-11-26 01:47:23.125 NOTIFICATION 初始化 Web 应用程序 gxs 的 Servlet org.apac
    he.struts.action.ActionServlet
    2007-11-26 01:47:23.843 NOTIFICATION 初始化 Web 应用程序 gxs 的 Servlet uk.ltd.g
    etahead.dwr.DWRServlet
    2007-11-26 01:47:24,015 WARN [uk.ltd.getahead.dwr.impl.DefaultConfiguration] - F
    ailed to load converter 'dom', classname=uk.ltd.getahead.dwr.convert.DOMConverte
    r: java.lang.ClassCastException: org.apache.xalan.processor.TransformerFactoryIm
    pl
    2007-11-26 01:47:25.078 NOTIFICATION 将 Web 应用程序绑定到站点 default-web-site
    结束...
    2007-11-26 01:47:25.078 NOTIFICATION gxs 的 Application Deployer 完成。操作时间:
    24828 msecs
    When I login into this application, 500 error happen on the browser:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    The information in the application.log is:
    07/11/26 01:47:21.296 10.1.3.3.0 Started
    07/11/26 01:47:23.0 gxs: Loading Spring root WebApplicationContext
    07/11/26 01:47:25.78 gxs: 10.1.3.3.0 Started
    07/11/26 01:48:11.31 gxs: Servlet error
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '/loginAction' is defined
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:355)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:800)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:646)
         at org.springframework.web.struts.DelegatingActionProxy.getDelegateAction(DelegatingActionProxy.java:122)
         at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:105)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at gxs.web.filter.InitializeFilter.doFilter(InitializeFilter.java:36)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    The definition of the login bean in web.xml is:
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
         classpath:applicationContext-action*.xml
    </param-value>
    </context-param>
    applicationContext-action*.xml are the definition of the beans.
    1. How to configure Spring in OC4J?
    2. How to solve these problems?
    Thanks,
    Melody

    Now, I alter the web.xml to the follow:
    <context-param>
         <param-name>contextConfigLocation</param-name>
         <param-value>/WEB-INF/classes/applicationContext-action-baseinfo.xml,/WEB-INF/classes/applicationContext-action-quartz.xml,/WEB-INF/classes/applicationContext-action-statistics.xml,/WEB-INF/classes/applicationContext-action-sys.xml,/WEB-INF/classes/applicationContext-action-trading.xml</param-value>
    </context-param>
    <!--
    <listener>
         <listener-class>
                   org.springframework.web.context.ContextLoaderListener
         </listener-class>
    </listener>
    -->
    <servlet>
         <servlet-name>context</servlet-name>
         <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
    </servlet>
    Then, the application is deployed to OC4J. But I still can't login in. There are some errors in application.log:
    07/11/26 03:34:53.703 10.1.3.3.0 Started
    07/11/26 03:34:55.31 gxs: Loading Spring root WebApplicationContext
    07/11/26 03:35:41.890 gxs: Error initializing servlet
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleMarketSale' defined in ServletContext resource [WEB-INF/classes/applicationContext-action-quartz.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [gxs.web.trading.action.ProcedureQuartzAction]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tradingService' defined in class path resource [app-service.xml]: Cannot create inner bean 'gxs.service.impl.TradingServiceImpl#1987b05' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [gxs.web.trading.action.ProcedureQuartzAction]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tradingService' defined in class path resource [app-service.xml]: Cannot create inner bean 'gxs.service.impl.TradingServiceImpl#1987b05' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tradingService' defined in class path resource [app-service.xml]: Cannot create inner bean 'gxs.service.impl.TradingServiceImpl#1987b05' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:355)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:800)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:642)
         at gxs.service.ServiceFactory.getTradingService(ServiceFactory.java:93)
         at gxs.web.trading.action.ProcedureQuartzAction.<init>(ProcedureQuartzAction.java:8)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:59)
         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:52)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:639)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:625)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
         at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    07/11/26 03:35:41.890 gxs: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4851)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    07/11/26 03:35:42.921 gxs: Closing Spring root WebApplicationContext
    07/11/26 03:35:43.281 gxs: 10.1.3.3.0 Started
    null

  • Problem in Deploying war file in oc4j

    I have developed an application using struts and packaged in war file. It runs ok in tomcat server. I want to deploy it in embedded oc4j server of E-Business Suite. Please give me directions................

    AFAIK, EBS 11.5.10 doesn't come with OC4J. It uses Apache Jserv which is Servlet 2.0 and with a special JSP engine. This doesn't support J2EE WAR files. It might support Struts but I'd not bet on that.
    Having said that, you need to get an OC4J standalone version installed (minimum) and started by the standard EBS startup scripts.
    Once this is done and if your WAR is self-contained, ie contains all the libraries, it is quite easy. Just deploy it using the command-line tools (all versions) or the web admin interface of OC4J (from 10.1.3).
    Only thing you have to change is the URL in the OAF page to point to the right server...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Deploying War File in OC4J

    Hi,
    I am a new bee to OC4J. I tried to deploy a war file OC4J server, which comes along with Jdeveloper release 10.1.3.
    Steps which I followed.
    1. Copied the war file to <10g-Jdev>\j2ee\home\applications\
    2. added <web-app application="testapp" name="testapp" root="/testapp" access-log="false"/> in <10g-Jdev>\j2ee\home\config\default-web-site.xml
    3. added <application name="testapp" path="../../home/applications/tesapp.war" parent="system" start="true" /> in <10g-Jdev>\j2ee\home\config\server.xml
    4. started the 0c4j using <10g-Jdev>\jdk\start_oc4j.bat
    I got following log
    Starting OC4J with command: "..\..\jdk\bin\java.exe" -jar oc4j.jar
    06/02/15 14:53:13 [SEVERE]: Error instantiating application at file:/X:/10g/j2ee/home/applications/webapp1.war: Unable to get ApplicationConfig for testapp : Unable to find/read file META-INF/application.xml in X:\10g\j2ee\home\applications\webapp1.war archive (META-INF/application.xml)
    2006-02-15 14:53:32.609 NOTIFICATION JMS Router is initiating ...
    2006-02-15 14:53:35.906 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: testapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: testapp does not exist. Error creating Web application: testapp
    06/02/15 14:53:35 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    06/02/15 14:58:03 Shutting down...
    Can anyone explain me wat should i do for deploying successfully.
    Thanks,
    Siva

    Hello,
    As a word of caution I would strongly recommend that you use proper deploy techniques when deploying WAR/EARs to OC4J (or any J2EE container). You should not be copying files into the applications directory and modifying xml files (even though it might be neccessary at times).
    Please try to follow good J2EE techiniques and write ANT scripts or batch files to do your deployment, its easy to do and reusable. Please also review the deployment guide to familiarise yourself with OC4J deployment tools.
    Thanks,
    Deepak

  • Deployment problems on 10g

    Using Jdev 10g, I created a simple ADF UIX/BC4j web application (excepting all the defaults). Even though it is deployed to iAS 10g, the ear file needs to be self contained, so I included the default libraries in the deployment profile. I received the "NoSuchMethod..." error, so I included some ADF libraries in addition to other lib it 'might' need in the ear. After the second deployment, I received the "sealing violation" Apparently, all the 'required' libraries are not included when using the app wizard. Does anyone know what libraries I should include in a simple default Model and ViewController project.
    **If your answer is 'run the ADF installer' please explain why I should run the installer if my ear is self-contained.
    Thanks in advance,
    Jen

    Jen,
    Your earlier applications should not be affected - existing applications will not be overwritten; and applications developed with older versions of BC4J have been tested against the new runtime. If you change your mind, you can always uninstall the new runtime and go back to the version you were using before.
    UIX does have some extra steps you need to do; see the supported app server document for details: http://otn.oracle.com/products/jdev/collateral/papers/10g/as_supportmatrix.html
    Thanks
    Blaise
    P.S. To stop your username appearing as a number, you can click the Forum Settings link near the top of the page, verify your name and click Save.

  • Step by Step Deploying ADF Faces to OC4J 10.1.2

    Hi there,
    I've already read the previous topic about deploying ADF Faces to OC4J 10.1.2.
    But I'm still getting failed to deploy it.
    Some clue that I know are:
    - Using JDK 1.4.2 (not 1.5)
    - Using J2ee 2.3 (not 2.4)
    - Using ADF Runtime installer to OC4J 10.1.2
    But i've got some problem, when I'm trying to run my project using jdk 1.4.2. It gives me an error like this:
    classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Loader: system.root:0.0.0
         Code-Source: /D:/av/src/Jdev1013/jdev/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
         Configuration: <ejb> in wrappers
         Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/av/src/Jdev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: &lt;code-source> in META-INF/boot.xml in D:\av\src\Jdev1013\j2ee\home\oc4j.jar
    Can anyone tell me how to deploy ADF Faces to 10.1.2 step by step?
    Thanx in advance :),
    Andre

    I have the same problem. My applications works fine with Jdev 10.1.3 but after deploying it on the application server I'm getting this error.
    Started
    adfmobile: jsp: init
    adfmobile: Started
    adfmobile: resources: init
    adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
    /index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
    /index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    Any hints?
    Regards,
    Thomas

  • Can Jdeveloper 10.1.3 deploy web service on OC4J 10.1.2?

    Hi all,
    Can I use jdeveloper 10.1.3 develop, and deploy web service on OC4J 10.1.2? My jdk version is 1.4.2. Thanks in advance.

    We don't have a direct connection from JDev 10.1.3 to OC4J 10.1.2 - we do have a connection to OAS 10.1.2.
    If you want to deploy to a stand alone OC4J 10.1.2 then just create the WAR file in JDeveloper - and then use the OC4J admin interface to deploy the WAR.

  • How to view the DDL script prior to object deployment in OWB 10g R2?

    How to view the DDL script prior to object deployment in OWB 10g R2?
    Here is what I' looking for: in 10gR2, let's say I've built dimension X, but it's not deployed yet. I've selected one of the deployment options, let's say: "Deploy to Catalog only". Now, I'd like to see a DDL script that will be executed at the deployment time. Where can I find this script? What screen? What menu?
    Thanks,
    vr

    Viewing the Scripts
    After you have generated scripts for your target objects, you can open the scripts and
    view the code. Warehouse Builder generates the following types of scripts:
    ■ DDL scripts: Creates or drops database objects.
    ■ SQL*Loader control files: Extracts and transports data from file sources.
    ■ ABAP scripts: Extracts and loads data from SAP systems.
    To view the generated scripts:
    1. From the Generation Results window, select an object in the navigation tree on the
    left of the Generation Results dialog.
    2. Select the Scripts tab on the right of this dialog.
    The Scripts tab contains a list of the generated scripts for the object you selected.
    3. Select a specific script and click the View Code button.
    Regards,
    Marcos

  • Got this error after deploying ear file into OC4J server.

    Hello Frnsz,
    Can any one help to resolve the following error :)
    Got this error after deploying ear file into OC4J server.
    2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
    2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
    2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
    2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
    Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
    Cheers,
    Cap

    Cross posted in correct forum
    [http://forum.java.sun.com/thread.jspa?threadID=5302192]

  • Deploying Error in 10G...See Error

    Hi
    I have created an EAR file in JDeveloper 9I and am deploying this
    in 10G.
    On deploying this,I get the flwg error:
    500 Internal Server Error
    javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
         at org.apache.struts.util.RequestUtils.message(RequestUtils.java:819)
         at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:295)
         at _login._jspService(_login.java:69)
         [SRC:/login.jsp:26]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)I downloaded the Jakarta Struts source and there is a file called 'installation-oas.xml'
    which states:
    Versions of Orion up to at least 1.0.3 have a bug related to ServletContext.getResource()
        calls that prevent the Struts example application from working out of the
        box. This manifests itself as a JSP error when you try to access the example
        application, with the following message:<br/>
        <code>javax.servlet.jsp.JspException: Missing resources attributeorg.apache.struts.action.MESSAGE</code><br/>
        followed by an error traceback. There will also be an initialization error
        message in the <code>ORION_HOME/log/global-application.log</code> log file.
        To work around this problem, you can take the following steps:
      <ul>
        <li>Go to the <code>$STRUTS_HOME/webapps</code> directory, where you will
          note that Orion has automatically expanded each web application into an
          unpacked directory structure.</li>Has anyone encountered this before?

    URL :
    http://naran.lhr.systemsltd.com:7779/pls/int_applink/w
    l_common.menu_page?p_major=wl_major_menu.exists_user&p
    minor=wlminor_menu.no_menu&p_entnameshort='LizLink'&
    p_request_id=137
    PARAMETERS :
    ===========
    p_major:
    wl_major_menu.exists_user
    p_minor:
    wl_minor_menu.no_menu
    p_entnameshort:
    'LizLink'
    p_request_id:
    137are you sure this url worked before? You pass 'LizLink', but I do not think that quotes ( ' ) are supported in url's. There should be no need for it anyway.

  • Deploying using ant to oc4j 10.0.3

    We previously deployed our application using ant to OC4J 902.
    Now we try to deploy to OC4J 10.0.3 but it seems that
    com.evermind.client.orion.OrionConsoleAdmin doesn't exist anymore.
    Could someone plz tell me by what it is replaced ?
    I found com.evermind.client.orion.OrionConsoleAdmin but i'm not shure of this is the right one

    Actually, I'd recommend that you not use the direct classname in your ant scripts (it's not really a public class) and instead fork off a Java process to run the public admin.jar utility. If Oc4JAdminConsole is ever changed, using admin.jar insulates you from it.
    It's basically the same, just runs the Jar file instead.
    <target name="deploy" depends="core">
    <java jar="${j2ee.home}/admin.jar" fork="yes">
    <arg value="${oc4j.deploy.ormi}"/>
    <arg value="${oc4j.deploy.username}"/>
    <arg value="${oc4j.deploy.password}"/>
    <arg value="-deploy"/>
    <arg value="-file"/>
    <arg value="${this.build}/${this.ear}"/>
    <arg value="-deploymentName"/>
    <arg value="${this.application.name}"/>
    </java>
    </target>
    See http://radio.weblogs.com/0132383/stories/2004/03/16/antDeploymentToOc4j.html
    for examples to do undeployent and webbindings.
    cheers
    -steve-

  • Automation of deployment on Oracle 10g App Server

    Hi,
    Iam trying for automation of deployment on Oracle 10g Application Server.
    Oracle 10g (10.1.3.1.0) ant-oracle-classes.jar
    Any pointers for the same will be very very helpful.
    I googled for the documentation of [i]ant-oracle-classes.jar. But could not get any valid results. Can someone please help me out.
    If anyone has used/implemented the automation either thru Ant Tasks or J2EE Deployment API.
    Iam kinda badly stuck and Iam not getting any kind of help in Oracle Forums or even by googling, please please help me out.
    Regards,
    Prashanth Babu.

    Duplicate post:
    Oracle 10g App Server
    regards

Maybe you are looking for

  • How to duplicate an iTunes Match Library File

    I had a 2007 iMac and used an external hard drive to store all my music, as I have over 9000 songs and I use AIFF and/or Lossless compression for audio purpuses.  All my playlists, etc, were set up exactly the way I wanted them.  I also subscribed to

  • Active Content for cfform in Flash format

    I have use <cfform> to generate flash forms. When the pages display these forms they are locked with the "Click to activate this control" message. Because these forms are dynamic and genrated in-line, I am unsure how to cause the form to display unlo

  • Why my wi-fi is not working, and it says bluetooth is not working too??

    Why my wi-fi is not working, and it says bluetooth is not working too?? My bluetooth n wi-fi are both unavailable! i had already restore my device, but it still doesn't work!! My name is juniper, i am from Taiwan! Any know what's wrong with this piec

  • No more Quicktime on Internet Explorer PCs

    When any PC with Internet Explorer reaches any page with Quicktime it will show the following message: An Error occured in an plugin contained on this page. This plugin did not initialize properly. You get this message for example when you reach the

  • Can´t import bought  Itunes songs to my libary

    Hi, after moving my songs to an external drive an update the libary, itunes do not import some songs I buyed in the Itunes store. Got no idea. The account is activated. Regards, Art