Deployment Error in OC4J Preview

Help. We are having problems deploying our application to OC4J developer preview. We have successfully deployed numerous times before now, but the error we our seeing makes no sense. Could anyone point me in the right direction? I have copied of the stack trace from the oc4j server. I get this message during a manual deployment of our EJBs.
java.lang.NullPointerException:
     at com.evermind.util.ClassUtils.getSourceNotation(ClassUtils.java:280)
     at com.evermind.server.ejb.compilation.CMPObjectCompilation.processContainerManagedField(CMPObjectCompilation.java:299)
     at com.evermind.server.ejb.compilation.CMPObjectCompilation.processFields(CMPObjectCompilation.java:242)
     at com.evermind.server.ejb.compilation.PersistenceManagerCompilation.compile(PersistenceManagerCompilation.java:53)
     at com.evermind.server.ejb.compilation.EntityBeanCompilation.compile(EntityBeanCompilation.java:324)
     at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:215)
     at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:545)
     at com.evermind.server.Application.postInit(Application.java:429)
     at com.evermind.server.Application.setConfig(Application.java:136)
     at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1479)
     at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1436)
     at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1099)
     at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
     at java.lang.Thread.run(Thread.java:484)
     at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
Thanks,
David

I found the problem. This error is generated when attributes are defined in the orion-ejb-jar.xml that do not exist in the bean.

Similar Messages

  • Error when deploying EAR in OC4J 10.1.3.0.0 with a deployment plan

    Hello!
    I try to deploy an ear file specifying a deployment plan generated from web interface using command line utilities. I try to use both admin_client.jar and oracle ant task and still get the same error. When i remove deployment plan argument, the application is successfully deployed.... Any Idea?
    My server:
    OC4J 10.1.3.0.0 on an AIX server
    The error raised during deployment:
    [MyServer] 08/04/07 12:46:56 Notification ==>Application Deployer for MyApp STARTS.
    [MyServer] 08/04/07 12:46:56 Notification ==>Copy the archive to /oracle/product/j2ee/home/applications/MyApp.ear
    [MyServer] 08/04/07 12:46:56 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear begins...
    [MyServer] 08/04/07 12:46:56 Notification ==>Unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Done unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Done unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear end
    s...
    [MyServer] 08/04/07 12:46:59 Notification ==>Starting application : MyApp
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing ClassLoader(s)
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing EJB container
    [MyServer] 08/04/07 12:46:59 Notification ==>Loading connector(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Starting up resource adapters
    [MyServer] 08/04/07 12:47:00 Notification ==>Initializing EJB sessions
    [MyServer] 08/04/07 12:47:00 Notification ==>Committing ClassLoader(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic ends...
    [MyServer] 08/04/07 12:47:00 Notification ==>Started application : MyApp
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding web application(s) to site default-web-site begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding ic web-module for application MyApp to site default-web-site under context root ic
    [MyServer] 70/01/01 00:00:00 Notification ==>Error deserializing return-value: unexpected reset; nested exception is:
    java.io.StreamCorruptedException: unexpected reset
    [Summary] There are total 1 instances in the operation.
    [Summary] Operation failed on MyServer
    [Summary] Operation on cluster FAILED since 1 instanced failed!
    Here my deployment plan generated by the Application Server Control Console
    moduleType=ear
    applicationID=MyApp
    bindWebApp=default-web-site
    parent=default
    moduleID=.
    doctype=orion-application
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/sch
    ema/orion-application-10_0.xsd">
    </orion-application>
    moduleID=myapp.war
    doctype=orion-web-app
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
    orion-web-10_0.xsd" context-root="myapp">
    <resource-ref-mapping name="jdbc/ds" location="jdbc/myapp/ds">
    </resource-ref-mapping>
    <web-app-class-loader>
    </web-app-class-loader>
    </orion-web-app>
    My Command line to deploy the application
    java -jar admin_client.jar deployer:cluster:opmn://MyServer/home oc4jadmin XXXXX -deploy -file ~/MyApp.ear -deploymentName MyApp -deploymentPlan ~/myapp_plan.dat
    Ant file used to deploy
    <project name="Deploy EAR in OC4J" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">
    <property name="server.host" value="MyServer"/>
    <property name="server.user" value="oc4jadmin"/>
    <property name="server.password" value="XXXXXX"/>
    <property name="deploy.filepath" value="/home/myhome/MyApp.ear"/>
    <property name="deploy.deployname" value="MyApp"/>
    <property name="deploy.logpath" value="${basedir}/deploy-ear.log"/>
    <property name="deploy.planpath" value="/home/myhome/myapp_plan.dat"/>
    <property name="deploy.uri" value="deployer:cluster:opmn://${server.host}/home"/>
    <target name="deploy-ear">
    <oracle:deploy
    deployerUri="${deploy.uri}"
    userId="${server.user}"
    password="${server.password}"
    file="${deploy.filepath}"
    deploymentName="${deploy.deployname}"
    bindAllWebApps="default-web-site"
    deploymentPlan="${deploy.planpath}"
    logFile="${deploy.logpath}"/>
    </target>
    </project>
    Thanks
    Message was edited by:
    Olivier MARTIN

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oc4j deployment error - admin.jar

    I am using JDeveloper 9.0.5.1, java_version 1.4.2_03
    When I deploy my J2EE application to our server (via JDeveloper) I get the following error:
    Error: Deploy error: Invocation error: java.lang.NoSuchMethodException; nested exception is:
         java.lang.NoSuchMethodException
    com.evermind.client.orion.AdminCommandException: Deploy error: Invocation error: java.lang.NoSuchMethodException; nested exception is:
         java.lang.NoSuchMethodException
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    com.evermind.server.rmi.OrionRemoteException: Invocation error: java.lang.NoSuchMethodException
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1497)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
         Nested exception is:
    java.lang.NoSuchMethodException
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1527)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1480)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    ---- Embedded exception
    java.lang.NoSuchMethodException
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1527)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1480)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    Exit status of OC4J admin tool (-deploy): 1
    **** Note: The OC4J connection 'XXX' is configured to use the default admin.jar be used when deploying.
    **** Note: However, the remote server version does not appear to be compatible with this admin.jar.
    **** Note: Please edit the connection to point to an admin.jar version that is compatible with the remote server.
    Elapsed time for deployment: 5 seconds
    #### Deployment incomplete. #### Jan 24, 2005 8:32:30 AM
    Must I replace the admin.jar file with a more newer version of it? How do I determine the version of the admin.jar and if I update it to a newer version will it still be compatible with the rest of the settings?
    Thank you

    The admin.jar for the OC4J connection should be the same as the admin.jar in the remote server.
    For version, is the zip file size and date the same.

  • Deployment problem in OC4J 9.0.4

    We try to deploy our application to OC4J 9.0.4 and have following problem with deployment:
    Error instantiating application 'elpos' at file:/C:/oc4j9.0.4/j2ee/home/applications/elpos-app.ear: UserManager class 'com.abilitydev.usermanager.orion.ServiceBasedUserManager' not found
    The application deploys and runs correctly on 9.0.3 release. The user manager class is inside EJB module jar file.
    Thanks for any comments.
    Marcel Straka

    Marcel -- the known-issues document for the 904 release describes how to workaround this issue.
    http://otn.oracle.com/tech/java/oc4j/904/release_notes/release-notes-904-preview.html
    Custom User Managers Deployed within EJB-JAR Files can not be found.
    OC4J is not able to load customer user managers when they are packaged within an EJB-JAR file.
    The workaround is to add an explicit <library> element to the orion-application.xml file for the application which points at the EJB-JAR file containing the custom user manager classes. This will allow the custom user manager to be resolved and instantiated.
    <orion-application ....>
    <library path="d:\oc4j904\j2ee\home\applications\XmlnewsEar\XmlnewsEjb.jar"/>
    </orion-application>
    cheers
    -steve-

  • Oracle Application Server 10.1.3 EJB Deployment Error

    Hi ,
    I am keep getting following error when try to deploy my ear files in 10.1.3. standalone env.
    my ejb-jar.xml looks is
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Facade Bean ( Stateless )</description>
    <display-name>FacadeBean</display-name>
    <ejb-name>FacadeBean</ejb-name>
    <home>com.sjrwmd.dmsap.ejb.FacadeBeanHome</home>
    <remote>com.sjrwmd.dmsap.ejb.FacadeBeanRemote</remote>
    <ejb-class>com.sjrwmd.dmsap.ejb.FacadeBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>FacadeBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Your help appriciated
    Thank You
    Jigar
    2006-02-08 17:13:40.670 NOTIFICATION JMS Router is initiating ...
    2006-02-08 17:13:55.702 NOTIFICATION Application Deployer for dmsap STARTS.
    2006-02-08 17:13:55.733 NOTIFICATION Copy the archive to C:\JDev1013\j2ee\home\applications\dmsap.ear
    2006-02-08 17:13:55.733 NOTIFICATION Initialize ./applications\dmsap.ear begins...
    2006-02-08 17:13:55.733 NOTIFICATION Removing everything under: C:\JDev1013\j2ee\home\.\applications\dmsap
    2006-02-08 17:13:55.733 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\.\applications\dmsap.ear...
    2006-02-08 17:13:55.733 NOTIFICATION Unpacking dmsap.ear
    2006-02-08 17:13:55.733 NOTIFICATION Unjar C:\JDev1013\j2ee\home\.\applications\dmsap.ear in C:\JDev1013\j2ee\home\.\applications\dmsap
    2006-02-08 17:13:55.998 NOTIFICATION Done unpacking dmsap.ear
    2006-02-08 17:13:55.998 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\.\applications\dmsap.ear
    2006-02-08 17:13:56.045 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web.war...
    2006-02-08 17:13:56.045 NOTIFICATION Unpacking dmsap-web.war
    2006-02-08 17:13:56.045 NOTIFICATION Unjar C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web.war in C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web
    2006-02-08 17:13:56.498 NOTIFICATION Done unpacking dmsap-web.war
    2006-02-08 17:13:56.498 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web.war
    2006-02-08 17:13:56.498 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp.jar...
    2006-02-08 17:13:56.498 NOTIFICATION Unpacking uploaddirapp.jar
    2006-02-08 17:13:56.498 NOTIFICATION Unjar C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp.jar in C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp
    2006-02-08 17:13:56.748 NOTIFICATION Done unpacking uploaddirapp.jar
    2006-02-08 17:13:56.748 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp.jar
    2006-02-08 17:13:56.748 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp.jar...
    2006-02-08 17:13:56.764 NOTIFICATION Unpacking downloadfileapp.jar
    2006-02-08 17:13:56.764 NOTIFICATION Unjar C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp.jar in C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp
    2006-02-08 17:13:56.967 NOTIFICATION Done unpacking downloadfileapp.jar
    2006-02-08 17:13:56.967 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp.jar
    2006-02-08 17:13:56.983 NOTIFICATION Initialize ./applications\dmsap.ear ends...
    2006-02-08 17:13:56.983 NOTIFICATION Starting application : dmsap
    2006-02-08 17:13:56.983 NOTIFICATION Initializing ClassLoader(s)
    2006-02-08 17:13:56.983 NOTIFICATION Initializing EJB container
    2006-02-08 17:13:56.983 NOTIFICATION Loading connector(s)
    2006-02-08 17:13:57.295 NOTIFICATION Starting up resource adapters
    2006-02-08 17:13:57.295 NOTIFICATION Processing EJB module: dmsap-ejb.jar
    2006-02-08 17:13:57.405 ERROR J2EE EJB3027 [dmsap] An error occured deploying EJB module: com.evermind.server.ejb.deployment.InvalidEJBAssemblyException: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
    2006-02-08 17:13:57.405 NOTIFICATION application : dmsap is in failed state
    Feb 8, 2006 5:13:57 PM com.evermind.server.Application setConfig
    WARNING: Application: dmsap is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
    06/02/08 17:13:57 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
    06/02/08 17:13:57      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:510)
    06/02/08 17:13:57      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:191)
    06/02/08 17:13:57      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    06/02/08 17:13:57      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    06/02/08 17:13:57      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    06/02/08 17:13:57      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    06/02/08 17:13:57      at java.lang.Thread.run(Thread.java:534)
    06/02/08 17:13:57 Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
    06/02/08 17:13:57      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1056)
    06/02/08 17:13:57      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:210)
    06/02/08 17:13:57      at com.evermind.server.Application.setConfig(Application.java:391)
    06/02/08 17:13:57      at com.evermind.server.Application.setConfig(Application.java:308)
    06/02/08 17:13:57      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
    06/02/08 17:13:57      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:507)
    06/02/08 17:13:57      ... 6 more
    06/02/08 17:13:57 Caused by: com.evermind.server.ejb.deployment.InvalidEJBAssemblyException: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
    06/02/08 17:13:57      at com.evermind.server.ejb.exception.ValidationExceptions.unableToLoadEJBClass(ValidationExceptions.java:36)
    06/02/08 17:13:57      at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:298)
    06/02/08 17:13:57      at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.initialize(ExposableBeanDescriptor.java:158)
    06/02/08 17:13:57      at com.evermind.server.ejb.deployment.SessionBeanDescriptor.initialize(SessionBeanDescriptor.java:190)
    06/02/08 17:13:57      at com.evermind.server.ejb.deployment.EJBPackage.initialize(EJBPackage.java:814)
    06/02/08 17:13:57      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:855)
    06/02/08 17:13:57      ... 11 more
    06/02/08 17:13:57 Caused by: oracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
    06/02/08 17:13:57      at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2268)
    06/02/08 17:13:57      at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1457)
    06/02/08 17:13:57      at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
    06/02/08 17:13:57      at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    06/02/08 17:13:57      at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1660)
    06/02/08 17:13:57      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
    06/02/08 17:13:57      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
    06/02/08 17:13:57      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    06/02/08 17:13:57      at java.lang.Class.forName0(Native Method)
    06/02/08 17:13:57      at java.lang.Class.forName(Class.java:219)
    06/02/08 17:13:57      at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:296)
    06/02/08 17:13:57      ... 15 more
    06/02/08 17:13:57 Caused by: java.lang.UnsupportedClassVersionError: com.sjrwmd.dmsap.ejb.FacadeBean
    06/02/08 17:13:57      at java.lang.ClassLoader.defineClass0(Native Method)
    06/02/08 17:13:57      at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    06/02/08 17:13:57      at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2224)
    06/02/08 17:13:57      ... 25 more
    2006-02-08 17:13:57.545 NOTIFICATION Application Deployer for dmsap FAILED.
    2006-02-08 17:13:57.545 NOTIFICATION Application UnDeployer for dmsap STARTS.
    2006-02-08 17:13:59.045 NOTIFICATION Removing all web binding(s) for application dmsap from all web site(s)
    2006-02-08 17:13:59.795 NOTIFICATION Application UnDeployer for dmsap COMPLETES.
    2006-02-08 17:13:59.795 WARNING java.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
         Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
         Loader: dmsap.root:0.0.0
         Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
         Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar

    A point of clarification: Using JDK 1.5, it compiles and "tries" to start, but then gives this error : Unable to load ejb-class com.MyTestEJB see section 23.2 of the EJB 2.1 specificationjava.lang.ExceptionInInitializerError: java.lang.NullPointerException
    There are other EJB which are deploying fine.
    I really can't tell why one is deploying but this one is not.
    Thanks

  • 10.1.3 HumanTask Forms deployment error is it a BUG

    Hi,
    Any one I am getting the following error. I have installed SOA 10.1.3 Midtier and am using OID as security provider. Now I am trying DocumentReview Sample but am getting the following error:
    Buildfile: C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/Oracle_Software/jdevstudio10132/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process DocumentReview on localhost, port 7779
    [deployProcess] Deploying process C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\output\bpel_DocumentReview_1.0.jar
    [deployProcess] Successfully deployed the process "DocumentReview" on server "localhost" and port "7779"
    deployTaskForm:
    [echo]
    | Deploying workflow form for DocumentReview on localhost, port 7779
    [deployTaskForm] 07/07/07 08:25:19 Notification ==>Application Deployer for default_DocumentReview_1_0_DocumentReview STARTS.
    [deployTaskForm]
    [deployTaskForm] 07/07/07 08:25:19 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 45 seconds
    Thanks for any feedbacks.

    Hi HEWizard,
    I have set the ORACLE_HOME that points to SOA install directory i.e.
    C:\Documents and Settings>echo %ORACLE_HOME%
    C:\Oracle_Software\1013\soa
    One more thing is that if I install the Developer Version and even though the ORACLE_HOME is not set this works fine i.e. DocumentReview it's only that in the Midtier install version it doesn't work.
    The BPELProcess gets deployed and even the task is assigned but when logging into worklist and selecting the task I see the following error:
    Not Found
    The requested URL /default/DocumentReview/1.0/DocumentReview/DocumentReview.jsp was not found on this server.
    Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at localhost Port 7779
    It's because at deployment time I get that security error and parent application not found and it never deploys the jsp's. Now in the logs I don't see anything. It's only in JDeveloper I see those errors at deployment time. Here is the domain.log:
    <2007-07-07 18:22:44,500> <INFO> <default.collaxa.cube> <ServerManager::loadDomain>
    Oracle BPEL Server version 10.1.3.1.0
    Build: 0
    Build time: Mon Oct 09 08:44:49 PDT 2006
    Build type: release
    Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    <2007-07-07 18:22:45,140> <INFO> <default.collaxa.cube.engine> <CubeEngine::load>
    Initializing BPEL domain from descriptor file
    "C:\Oracle_Software\1013\soa\bpel\domains\default\config\domain.xml"
    <2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <gsDomainSchemaManager::validateCompatibility> Detected database version '2.0.51'
    <2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <AdaptorManager::load> Loaded adaptors for platform 'ias_10g', datasource 'oracle'
    <2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <AdapterStats::init:Done initializing Adapter statistics holder for engine > default
    <2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <CubeEngine::init>
    OraBPEL "default" BPEL domain loaded.
    <2007-07-07 18:22:53,046> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    Loading processes for BPEL domain "default" ...
    <2007-07-07 18:22:55,500> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskManager" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:57,234> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskActionHandler" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:57,953> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:58,000> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    3 processes have been loaded for BPEL domain "default".
    <2007-07-07 18:23:33,062> <INFO> <default.collaxa.cube.services> <QuartzPublisherInit::init> Notification Retry publisher scheduled at every 15 minute(s)
    <2007-07-07 18:26:23,500> <INFO> <default.collaxa.cube.compiler> validating "C:\Oracle_Software\1013\soa\bpel\domains\default\tmp\.bpel_DocumentReview_1.0_e61483a0d5e873d381ae6bfbeaed5c60.tmp\DocumentReview.bpel" ...
    <2007-07-07 18:26:30,671> <INFO> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    Process "DocumentReview" (revision "1.0") successfully compiled.
    <2007-07-07 18:26:30,750> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
    Now even though the log says process deployed successfully it only deploys the BPEL Process but no jsp forms deployed. I hope there's nothing special we have to do. This issue can be recreated by installing the Midtier version of SOA and configure it with OID and then try deploying DocumentReview Process provided in the demos.
    I hope I have provided all the information.
    Thanks and waiting for a feedback as we have to decide on whether we go using BPEL 10.1.3 and this is a critical piece of it.

  • Problem in deploying EJBs in oc4j

    Hi folks,
    I am new to ejbs and now I am into support role for ejb2.0 project devoloped long ago. one of the module in that proj has ejb2.0 (Using CMP entity beans & Session beans(stateless))
    The problem I am facing currently is , while running the the ejb module (by running a jsp page in that module) I am getting the following error.
    In this log I found two things primarily
    1) All ejbs are not deployed successfully (due to IntialContext lookup failure)
    2) java.lang.NoSuchMethodError while calling the static method of a bean in the jsp
    I have cross checked about the second one I didn't find any issue..is there any issue about jar(?) versions and I have run another jsp having no call to that static method then it is worked fine and the jsp view came(but still the first problem is there)
    please help me...
    [Starting OC4J using the following ports: HTTP=9001, RMI=23904, JMS=9237.]
    D:\Robbin_Brothers\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
    D:\Robbin_Brothers\jdevstudio10132\jdk\bin\javaw.exe -client -classpath D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar;D:\Robbin_Brothers\jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Robbin_Brothers\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Jan 29, 2013 6:48:33 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Jan 29, 2013 6:48:34 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Jan 29, 2013 6:48:34 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\activation.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/activation.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\classes12.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\ejb.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/ejb.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\jms.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/jms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\jsse.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/jdk/jre/lib/jsse.jar (from system property sun.boot.class.path). 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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\mail.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/mail.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\servlet.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\soap.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/webservices/lib/soap.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\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 current-workspace-app.root:0.0.0.
    13/01/29 18:48:35 WARNING: EJBPackage.parseOrionBean Bean NoReasonType does not exist; skipping deployment
    13/01/29 18:48:35 WARNING: EJBPackage.parseOrionBean Bean CompetitorsList does not exist; skipping deployment
    13/01/29 18:48:40 Activity: Class 'com.osit.ejb.entity.ActivityLocal' has been updated since last deployment
    13/01/29 18:48:40 OccasionTypes: Class 'com.osit.ejb.entity.OccasionTypesLocal' has been updated since last deployment
    13/01/29 18:48:40 Rules: Class 'com.osit.ejb.entity.RulesLocal' has been updated since last deployment
    13/01/29 18:48:40 Messages: Class 'com.osit.ejb.entity.MessagesLocal' has been updated since last deployment
    Jan 29, 2013 6:48:47 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_ACTIVITY (ACTIVITY_ID NUMBER(22) primary key, ACTIVITY_DATE DATE, CALLBACK_DATE DATE, ACTIVITY_TYPE CHAR(50), STATUS_ID CHAR(50), COMMENTS VARCHAR2(300), NO_REASON_ID CHAR(50), COMPETITOR_ID CHAR(50), CALL_SEQ NUMBER(22), MAIL_SEQ NUMBER(22), EMAIL_SEQ NUMBER(22), FAX_SEQ NUMBER(22), TEXT_SEQ NUMBER(22), PRESENT_SEQ NUMBER(22), PERSON_ID NUMBER(22), CUSTOMER_ID NUMBER(22), OCCASSION CHAR(100), REASON CHAR(100), call_type VARCHAR2(255) null, MAIL_TYPE VARCHAR2(20), INCORRECTCONTACT_TYPE VARCHAR2(20), other_competitor VARCHAR2(500), CSF_NUMBER VARCHAR2(50), IS_COMPLETED CHAR(1)).
    13/01/29 18:48:47 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:48 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_OCCASION_TYPES (OCCASSION_ID CHAR(50) primary key, DESCRIPTION CHAR(200)).
    13/01/29 18:48:48 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:49 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_RULES (RULE_ID NUMBER(22) primary key, OCCASION_ID CHAR(20), OCCASION_STATUS CHAR(2), CONDITION CHAR(20), DAYS NUMBER(22), STATUS NUMBER(22), TYPE CHAR(20)).
    13/01/29 18:48:50 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:50 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_MESSAGES (MSG_ID NUMBER(22) primary key, PERSON_ID NUMBER(22), SUBJECT CHAR(500), DESCRIPTION VARCHAR2(3000), MSG_TO NUMBER(22), READ NUMBER(22)).
    13/01/29 18:48:51 Warning: ORA-00955: name is already used by an existing object
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 22360 ms.
    Target URL -- http://192.168.9.66:9001/STS/ActivitySummary.jsp
    Checking that EJBs were successfully deployed in embedded OC4J...
    13/01/29 18:48:54 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    **** Warning: The EJB Activity was not found via an InitialContext lookup. Error encountered: Activity not found.
    **** Warning: The EJB OccasionTypes was not found via an InitialContext lookup. Error encountered: OccasionTypes not found.
    **** Warning: The EJB Rules was not found via an InitialContext lookup. Error encountered: Rules not found.
    **** Warning: The EJB Messages was not found via an InitialContext lookup. Error encountered: Messages not found.
    **** Warning: Not all EJBs were successfully deployed. The EJB application may fail during testing.
    **** Please use the EJB Verifier to check your EJB modules for errors by right-clicking on ejb-jar.xml and choosing 'Verify Enterprise Beans'.
    13/01/29 18:48:55 log4j:ERROR Could not open [home/oracle/xmllog4jconfig.xml].
    13/01/29 18:48:55 java.io.FileNotFoundException: \home\oracle\xmllog4jconfig.xml (The system cannot find the path specified)
    13/01/29 18:48:55      at java.io.FileInputStream.open(Native Method)
    13/01/29 18:48:55      at java.io.FileInputStream.<init>(FileInputStream.java:106)
    13/01/29 18:48:55      at java.io.FileInputStream.<init>(FileInputStream.java:66)
    13/01/29 18:48:55      at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
    13/01/29 18:48:55      at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
    13/01/29 18:48:55      at com.osit.factory.LoggerFactory.<init>(LoggerFactory.java:19)
    13/01/29 18:48:55      at com.osit.factory.LoggerFactory.getInstance(LoggerFactory.java:30)
    13/01/29 18:48:55      at Error.<clinit>(Error.java:17)
    13/01/29 18:48:55      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    13/01/29 18:48:55      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    13/01/29 18:48:55      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    13/01/29 18:48:55      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    13/01/29 18:48:55      at java.lang.Class.newInstance0(Class.java:350)
    13/01/29 18:48:55      at java.lang.Class.newInstance(Class.java:303)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageInstFacade.createInst(JspPageInstFacade.java:157)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageInstFacade.getInstance(JspPageInstFacade.java:186)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:445)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:258)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
    13/01/29 18:48:55      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
    13/01/29 18:48:55      at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:790)
    13/01/29 18:48:55      at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:756)
    13/01/29 18:48:55      at ActivitySummary.jspService(_ActivitySummary.java:629)
    13/01/29 18:48:55      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    13/01/29 18:48:55      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    13/01/29 18:48:55      at java.lang.Thread.run(Thread.java:595)
    13/01/29 18:48:55 java.lang.NoSuchMethodError: com.osit.bean.Common.getUserDetails(Ljava/lang/String;)Ljava/util/Hashtable;
    13/01/29 18:48:55      at ActivitySummary.jspService(_ActivitySummary.java:80)
    13/01/29 18:48:55      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    13/01/29 18:48:55      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    13/01/29 18:48:55      at java.lang.Thread.run(Thread.java:595)
    13/01/29 18:48:55 log4j:WARN No appenders could be found for logger (Error.jsp).
    13/01/29 18:48:55 log4j:WARN Please initialize the log4j system properly.

    Thanks for quick reply dvohra16
    I have checked with the path of xmllog4jconfig.xml which is in classpath.I tried with changing the string in LoggerFactory class
    DOMConfigurator.configure("xmllog4jconfig.xml");
    but still I am facing the same error.
    from where this path "/home/oracle/xmllog4jconfig.xml" is taking I can't understand.....
    error:
    13/01/30 17:31:17 log4j:ERROR Could not open [home/oracle/xmllog4jconfig.xml].
    13/01/30 17:31:17 java.io.FileNotFoundException: \home\oracle\xmllog4jconfig.xml (The system cannot find the path specified)
    13/01/30 17:31:17      at java.io.FileInputStream.open(Native Method)
    My LoggerFactory class:
    import org.apache.log4j.Logger;
    import org.apache.log4j.xml.DOMConfigurator;
    import java.net.URL;
    public class LoggerFactory
    private static LoggerFactory loggerFactory= null;
    private LoggerFactory()
    try{
    DOMConfigurator.configure("xmllog4jconfig.xml");
    }catch (Exception e)
    e.printStackTrace();
         public static LoggerFactory getInstance() {
    if (loggerFactory == null){
    loggerFactory = new LoggerFactory();
    return loggerFactory;
    Thanks,
    Tej

  • Deployment error in OC4J_Portal instance during install of o9iASW

    Hi,
    After the installation of the 9.0.2 infrastructure I've installed wireless. During the deployment of the webtool, customization, wirelessSDK in the OC4J_Portal instance I got the following error:
    Deploying application 'webtool' to OC4J instance 'OC4J_Portal'...
    ERROR: Deploy failed.
    Error message returned is: Instance: orawireless.portal.ucc.nl Message: See base exception for details.
    Base Exception:
    java.lang.NullPointerException:nullSee base exception for details.
    Deploying application 'customization' to OC4J instance 'OC4J_Portal'...
    ERROR: Caught exception during deploy.
    Deploying application 'wirelessSDK' to OC4J instance 'OC4J_Portal'...oracle.ias.sysmgmt.exception.TaskException: The
    configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem
    is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * EMD and dcmctl running concurrently
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    ERROR: Caught exception during deploy.
    Deploying application 'studio' to OC4J instance 'OC4J_Portal'...oracle.ias.sysmgmt.exception.TaskException: The
    configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem
    is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * EMD and dcmctl running concurrently
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'OC4J_Portal'...oracle.ias.sysmgmt.exception.TaskException: The configuration files for this
    Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem
    is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * EMD and dcmctl running concurrently
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    done.
    DCM Terminated.
    The error in the file "log.xml" at ORACLE_HOME/dcm/logs shows the following error:
    [CDATA[oracle.ias.repository.schema.SchemaException: Unable to retrieve the requested
    attributes:javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name
    'orclReferenceName=iasdb.hostname ,cn=IAS Infrastructure Databases, cn=IAS, cn=Products, cn=OracleContext'
    On metalink I've found out that more people have had this problem. I've read about bug 2507365 and a patch in 9.0.3 but I couldn't find a real solution for the problem.
    Does this error has something to do with a confuguration of a previous installation of another user?
    Is there an easy way to work around this problem? Can I change something in the access rights and deploy the wireless administration tools in the OC4J_Portal instance manually? Would safe me a lot of time.
    Thanks in advance for your help.
    Regards,
    Thomas

    I've found a topic on Metalink named "Manually deploy oc4j_portal?" but I couldn't get access to it.
    (http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_id=265286.996)
    I have two application server instances on one machine with the Windows2000 Server OS (sp2)
    The infrastucture instance:
    ora9ias_home
    The wireless instance:
    ora9iasw_home
    * The following services are up and running in ora9ias_home:
    -HTTP Server
    -Internet Directory
    -OC4J_DAS
    -Single Sign-On:orasso:7777
    The Internet Directory instance:
    -Repository <hostname>:1521:iasdb :UP
    -Directory Integration :UP
    -Directory Replication :DOWN
    -LDAP Metrics (Configure) : DOWN
    I'm able to log on the OID via SSO with the orcladmin user
    * The following services are up and running in ora9iasW_home:
    -HTTP Server
    -OC4J_Portal (the instance is UP but the studio/customization/webtool instances need to be deployed)
    -OC4J_Wireless
    -Web Cache
    -Wireless
    The following schema is configured:
    WIRELESS Oracle iAS Wireless <hostname>:1521:iasdb
    So the instances in the OC4J_Portal were not deployed during installation. After trying to manually deploy
    the webtool.ear and associate the usermanager with JAZN LDAP User Manager (ldap://<hostname>:4032). I get the
    following error:
    "An error occurred while redeploying the application. The configuration files for this Oracle9iAS instance
    are inconsistent with the configuration stored in the repository. In order to protect the repository, no
    further configuration or deployment operations are allowed until the problem with the configuration on the
    filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the
    logs located at ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating the configuration
    files on disk. Some possible causes are: * permissions on files * file contention issues on Windows NT *
    EMD and dcmctl running concurrently * internal Oracle error After resolving the problem that prevented DCM
    from updating the configuration files, you may use the dcmctl resyncInstance command to resolve the
    problem. Alternatively, you can stop and then restart the active dcmctl or EMD process and resyncInstance
    will automatically be performed".
    Associating the instance with the JAZN XML User Manager gives the same error.
    In the emctl batch file I've created I can see the following error during the deployment:
    OBJECT CACHE: HttpSession=c7d93daf948143ffa173bd73ae6b0a60; getObject() name=Ins
    tanceAdminObject_oc4j_orawireless.<hostname>OC4JPortal, return value=oracle
    .sysman.eml.ias.oc4j.InstanceAdminObject@49153e
    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,image=null]
    Link name : ias/oc4j/deployWiz/roles
    Invalid Bread Crumbs, linkname = ias/oc4j/deployWiz/roles
    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,image=null]
    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,image=null]
    Link name : ias/oc4j/deployWiz/publishServices
    Invalid Bread Crumbs, linkname = ias/oc4j/deployWiz/publishServices
    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,image=null]
    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,image=null]
    Link name : ias/oc4j/deployWiz/summary
    Invalid Bread Crumbs, linkname = ias/oc4j/deployWiz/summary
    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,ima
    ge=null]
    oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem
    with the configuration on the filesystem is resolved. This condition arises when
    a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk.......
    Do you have any suggestions of things I could try? Do I have to check out the settings of the OC4J_portal instance? I've also checked the Access Rights for cn=IAS Infrastructure Databases, cn=IAS, cn=Products, cn=OracleContext user the Oracle Directory Manager.
    Instance Properties
    Server Properties
    Website Properties
    JSP Container Properties
    Replication Properties
    Advanced Properties
    Application Defaults
    Data Sources
    Security
    Global Web Module
    UDDI Registry
    Thanks!
    Regards,
    Thomas.

  • Problem in deploying to standalone oc4j 11TP4

    I developed standard web app in Jdeveloper 11g which contains web module and one ejb jar. App runs successfully on embedded oc4j in Jdev. Then I made EAR which packed this project and deployed it to standalone oc4j11 TP4. Deployment passed successfully, but when I tried to open my page I get following error:
    JspServlet error: Servlet unable to dispatch to the following requsted page: The following exception occurred:java.io.FileNotFoundException: C:\JAVA\jdevstudio1111\j2ee\home\default-web-app\App1-web\faces\login.jspx (The system cannot find the path specified)
    Now, I know this is a typical error when the location is wrong or we request non existing page. But this confused me a bit:
    \default-web-app\App1-web\
    I checked on file system and, of course, my app is not in default-web-app directory, but in applications diretctory. As I said, deployment went OK. Why is OC4J looking my app in default-web-app?
    Application was deployed using command line:
    java -jar C:\JAVA\jdevstudio1111\j2ee\home\admin_client.jar deployer:oc4j:makor:23791 fmwadmin adminadmin -deploy -file c:\TEMP\App1.ear -deploymentName App1
    I have noticed one more thing. After deployment I get following error oc oc4j console:
    SEVERE: XMLApplicationServerConfig.store application configuration parsing is failed. please correct the problem and restart oc4j.
    The same thing happens when I deploy another test web application which contains only web module.
    So, what is this supposed to mean? I haven't done anything with config files, I just used out of the box config from Jdev. Where should I look?

    Can you try and see if the following parameters for the command line help:
    -deploy -file c:\TEMP\App1.ear -deploymentName App1 -bindAllWebApps default-web-site

  • Deployment Error with jdk 5 and oc4j_extended_101320.zip

    Hello,
    I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
    This load was initiated at sim.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
         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:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:497)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jar

    For internal questions please use the internal mailing lists...
    --olaf                                                                                                                                                                                       

  • Unable to Deploy EJB to OC4J

    Greetings,
    Freinds I have installed Oracle 9i JDeveloper in Win 2000 with OC4J as the deployment tool. I am developing my EJbs and while deploying the .deploy file in OC4J server I prompted with this error....
    ---- Deployment started. ---- Apr 2, 2003 9:16:02 PM
    Wrote EJB JAR file to D:\JDeveloper\jdev\mywork\TestSpace\Hello\deploy\hello.jar
    Wrote EAR file to D:\JDeveloper\jdev\mywork\TestSpace\Hello\deploy\hello.ear
    Invoking OC4J admin tool...
    c:\jdk1.4\jre\bin\javaw.exe -jar D:\JDeveloper\j2ee\home\admin.jar ormi://kaushik/ admin **** -deploy -file D:\JDeveloper\jdev\mywork\TestSpace\Hello\deploy\hello.ear
    -deploymentName hello
    public class HelloHome_StatelessSessionHomeWrapper1 extends com.evermind.server.ejb.RemoteStatelessSessionEJBHome implements hellotest.HelloHome
    ^
    1 error
    com.evermind.compiler.CompilationException: Syntax error in source
    at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:118)
    at java.security.AccessController.doPrivileged(Native Method)
    Please help.... how to get rid of this ??????

    The error seems to be to do with deployed components clashing with each other or with something already deployed on the server.
    This chap suggests a solution, does it work for you?
    http://judahlim.blogspot.co.uk/2011/11/same-url-pattern-error-on-glassfish-ose.html
    Kevin

  • Deployment error in Jdeveloper - Unable to fix it. Need help.

    Dear Experts,
    I have been working in Jdeveloper for past 8 months, first time am seeing this deployment error. I am not able to fix that till now. Even not able to find a solution from the net. Please suggest me.
    Error1:
    Target platform is Oracle Application Server 10g 10.1.3 (AppServerConn).
    Wrote WAR file to F:\jdevstudio\jdev\mywork\TDProcess\TDInvoke\BpelInvoke\deploy\WebApp1.war
    Wrote EAR file to F:\jdevstudio\jdev\mywork\TDProcess\TDInvoke\BpelInvoke\deploy\WebApp1.ear
    java.lang.IllegalArgumentException: No Application Id
         at oracle.oc4j.admin.deploy.shared.util.DeploymentUtils.parseDeploymentPlan(DeploymentUtils.java:232)
         at oracle.oc4j.admin.deploy.shared.util.DeploymentUtils.parseDeploymentPlan(DeploymentUtils.java:110)
         at oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.internalDeploy(ConnectedDeploymentManagerBase.java:1665)
         at oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.distribute(ConnectedDeploymentManagerBase.java:457)
         at oracle.jdevimpl.deploy.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:376)
         at oracle.jdevimpl.deploy.Jsr88RemoteDeployer.deploy(Jsr88RemoteDeployer.java:125)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    Elapsed time for deployment: 19 seconds
    #### Deployment incomplete. #### Sep 18, 2009 4:21:05 PM
    Error2:
    Target platform is Oracle Application Server 10g 10.1.3 (AppServerConn).
    Wrote WAR file to F:\jdevstudio\jdev\mywork\TDProcess\TDInvoke\BpelInvoke\deploy\WebApp1.war
    java.io.IOException: There is not enough space on the disk
         at java.io.FileOutputStream.writeBytes(Native Method)
         at java.io.FileOutputStream.write(FileOutputStream.java:260)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
         at oracle.xml.parser.v2.XMLOutputStream.finalFlush(XMLOutputStream.java:733)
         at oracle.xml.parser.v2.XMLPrintDriver.flush(XMLPrintDriver.java:639)
         at oracle.xml.parser.v2.XMLDocument.print(XMLDocument.java:1407)
         at oracle.ide.xml.XMLUtil.writeXML(XMLUtil.java:180)
         at oracle.ide.xml.XMLUtil.writeXML(XMLUtil.java:159)
         at oracle.jdeveloper.xml.URLDomIO.save(URLDomIO.java:26)
         at oracle.jdeveloper.xml.BindingIO.save(BindingIO.java:80)
         at oracle.jdeveloper.xml.BindingIO.save(BindingIO.java:57)
         at oracle.jdevimpl.deploy.ApplicationAssembler$MergeOrGen.addDescriptor(ApplicationAssembler.java:488)
         at oracle.jdevimpl.deploy.Oc4jAssembler$3.mergeOrGen(Oc4jAssembler.java:153)
         at oracle.jdevimpl.deploy.Oc4jAssembler.addPlatformXmlFilesImpl(Oc4jAssembler.java:178)
         at oracle.jdevimpl.deploy.Oc4jAssembler.addPlatformXmlFiles(Oc4jAssembler.java:85)
         at oracle.jdevimpl.deploy.ApplicationAssembler.deploy(ApplicationAssembler.java:144)
         at oracle.jdevimpl.deploy.Oc4jAssembler.deploy(Oc4jAssembler.java:78)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    Elapsed time for deployment: 5 seconds
    #### Deployment incomplete. #### Sep 18, 2009 4:25:02 PM

    Hi Rajesh,
    See bold text in the stack, it clearly suggests you ran out of disk space.
    Thanks-
    [email protected]
    Target platform is Oracle Application Server 10g 10.1.3 (AppServerConn).
    Wrote WAR file to F:\jdevstudio\jdev\mywork\TDProcess\TDInvoke\BpelInvoke\deploy\WebApp1.war
    java.io.IOException: There is not enough space on the disk
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:260)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
    at oracle.xml.parser.v2.XMLOutputStream.finalFlush(XMLOutputStream.java:733)
    at oracle.xml.parser.v2.XMLPrintDriver.flush(XMLPrintDriver.java:639)
    at oracle.xml.parser.v2.XMLDocument.print(XMLDocument.java:1407)
    at oracle.ide.xml.XMLUtil.writeXML(XMLUtil.java:180)
    at oracle.ide.xml.XMLUtil.writeXML(XMLUtil.java:159)
    at oracle.jdeveloper.xml.URLDomIO.save(URLDomIO.java:26)
    at oracle.jdeveloper.xml.BindingIO.save(BindingIO.java:80)
    at oracle.jdeveloper.xml.BindingIO.save(BindingIO.java:57)
    at oracle.jdevimpl.deploy.ApplicationAssembler$MergeOrGen.addDescriptor(ApplicationAssembler.java:488)
    at oracle.jdevimpl.deploy.Oc4jAssembler$3.mergeOrGen(Oc4jAssembler.java:153)
    at oracle.jdevimpl.deploy.Oc4jAssembler.addPlatformXmlFilesImpl(Oc4jAssembler.java:178)
    at oracle.jdevimpl.deploy.Oc4jAssembler.addPlatformXmlFiles(Oc4jAssembler.java:85)
    at oracle.jdevimpl.deploy.ApplicationAssembler.deploy(ApplicationAssembler.java:144)
    at oracle.jdevimpl.deploy.Oc4jAssembler.deploy(Oc4jAssembler.java:78)
    at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
    at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
    at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
    at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
    at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
    at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
    at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
    at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
    at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    Elapsed time for deployment: 5 seconds
    #### Deployment incomplete. #### Sep 18, 2009 4:25:02 PM

  • Deployment error in 9.0.3 for app with local interface

    While attempting to port an EJB-application from jboss to oracle, I have encountered a deployment error in 9.0.3 9iASR2 which I cannot decipher. The same ear-file is successfully deployed on the 9.0.3. OC4J standalone version (both on a machine running winXP)
    I get a "syntax error in source" when I attempt the deployment and all my local-interface class-files end up on the j2ee_home root, i.e. <oracle-home>/j2ee/home/.
    Am I too early using local interface on version 9.0.3, is my packaging messed up or should I look for my bugs in some missed logfile?
    BTW: where do I find deployment stack traces for this version of 9iAS?
    Dag

    Hi,
    you can find deployment stack traces in the following location \ORACLE\806\opmn\logs. i think this might help u.
    I am also facing a problem like com.evermind.compiler.CompilationException: Syntax error in source,did u know cause for this.
    Thanks and Regards,
    Bala

  • JDev 10.1.2 Deployment Error

    I have a web application which works fine on my embeded OC4J. The same application works fine on a stand-alone TestServer1. Now I am supposed to deploy it on a differeent Test Server, where I get the following error.
    Wrote EAR file to C:\JDev_10g\jdev\mywork\LSHR_Ph1_Ver3.1\webservice\deploy\lshrph1.ear
    Invoking OC4J admin tool...
    C:\JDev_10g\jdk\jre\bin\javaw.exe -jar C:\JDev_10g\j2ee\home\admin.jar ormi://hco391mylitw001/ admin **** -deploy -file C:\JDev_10g\jdev\mywork\LSHR_Ph1_Ver3.1\webservice\deploy\lshrph1.ear -deploymentName lshrph1
    checkIsLocalHost() error: hco391mylitw001/: hco391mylitw001/
    Uploading file C:\JDev_10g\jdev\mywork\LSHR_Ph1_Ver3.1\webservice\deploy\lshrph1.ear to oc4j server side
    Error: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: d:\oc4j1012\j2ee\home\config\server.xml (Access is denied)
    Exit status of OC4J admin tool (-deploy): 1
    Elapsed time for deployment: 24 seconds
    #### Deployment incomplete. #### Jul 26, 2006 9:32:37 AM
    Please tell me what could the problem be. Is it some problem with my deployment profile or is it on the server where OC4J is running.
    Thanks.

    Hi Viani,
    It can be related to a version incompatibility between your JDev 10.1.2 and the version of OC4J you are deploying to.
    For instance, Oracle does not support to deploy JDev 10.1.2 ADF application in Application Server 10.1.3. If this is what you are trying to do, you would have to migrate your application to JDeveloper 10.1.3 and then deploy it to AS 10.1.3.
    My suggestion for you would be to create the web service in JDeveloper - 10.1.2
    to deploy to that particular platform (OC4J 10.1.2).
    I also believe there is an internal bug on a problem close to yours :
    "checkIsLocalHost() error message during deployment to OC4J"
    which does not seem to reproduce against JDev 10.1.3.0.4.
    JDev 10.1.3.0.4 should be worth trying in such case.
    Hope this will help you.
    Steff

  • Deployment Error in EJB

    I have downloaded Hotel Reservation System using EJB sample and trying deploy OneEJBHotel-Web.deploy to the Application Server connection. Connection looks fine. I get the following error in deployment:
    **** The current project does not contain an EJB Module to deploy.
    #### Deployment incomplete. ####
    Am I missing any setups steps? I have extracted files from OneEJBHotel.jar and directory structure is:
    D:\oracle\samples\EJB\OneEJBHotel\...
    Appreciate your help.

    Apparently I found that the new release of JDeveloper 9.0.3.1 did at least try to deploy the EJB in this sample. The previous version kept failing to deploy. Now, I am getting other deployment error. Seems like the deployment doesn't recognise my site. The standalone OC4J has been running successfully on port 8888, the standalone connection in JDeveloper is fine also. I can even hit on 8888 port from other machines. But deployment gives the following messages. Am I missing anything here? Appreciate all the help.
    ---- Deployment started. ---- Feb 28, 2003 3:45:02 PM
    Wrote EJB JAR file to C:\oracle\JDeveloper_Sample\OneEJBHotel\src\oracle\otnsamples\OneEJBHotel\OneEJBHotel.jar
    Wrote WAR file to C:\oracle\JDeveloper_Sample\OneEJBHotel\src\oracle\otnsamples\OneEJBHotel\OneEJBHotel-Web.war
    Wrote EAR file to C:\oracle\JDeveloper_Sample\OneEJBHotel\src\oracle\otnsamples\OneEJBHotel\OneEJBHotel-Web.ear
    Invoking OC4J admin tool...
    C:\oracle\JDev9031\jdk\jre\bin\javaw.exe -jar C:\oracle\JDev9031\j2ee\home\admin.jar ormi://W2K038825/ admin **** -deploy -file C:\oracle\JDeveloper_Sample\OneEJBHotel\src\oracle\otnsamples\OneEJBHotel\OneEJBHotel-Web.ear -deploymentName OneEJBHotel
    Auto-unpacking C:\oracle\JDev9031\j2ee\home\applications\OneEJBHotel-Web.ear... done.
    Auto-unpacking C:\oracle\JDev9031\j2ee\home\applications\OneEJBHotel-Web\OneEJBHotel-Web.war... done.
    Auto-deploying OneEJBHotel (Assembly had been updated)...
    Exit status of OC4J admin tool (-deploy): 0
    C:\oracle\JDev9031\jdk\jre\bin\javaw.exe -jar C:\oracle\JDev9031\j2ee\home\admin.jar ormi://W2K038825/ admin **** -bindWebApp OneEJBHotel OneEJBHotel-Web http://W2K038825:8888/ /OneEJBHotel
    default-web-site (full name: file:/C:/oracle/JDev9031/j2ee/home/config/default-web-site.xml)
    http-web-site (full name: file:/C:/oracle/JDev9031/j2ee/home/config/http-web-site.xml)
    Unknown site: http://W2K038825:8888/
    Active sites are:
    Exit status of OC4J admin tool (-bindWebApp): 1
    Use the following context root(s) to test your web application(s):
    http://W2K038825:????/OneEJBHotel
    Note: JDeveloper was unable to determine the HTTP port number of the remote server for the above URL(s).
    Elapsed time for deployment: 38 seconds
    ---- Deployment finished. ---- Feb 28, 2003 3:45:40 PM

Maybe you are looking for

  • Site Speed Improvements

    To All: I am looking for ways to improve my website loading speed. I have several albums on the site (www.lens-perspective.com) and I am wondering... 1.) if the site would load faster if limited my albums to 10-15 pictures. 2.) Should I optimize the

  • Why does empty folder reappear on desktop in XP when I use Save As command

    I'm running XP_SP3 with Firefox 8.0.1. I had an empty folder on my desktop named "D E M O " which I used to use for downloads. I moved it to another HD on my system and deleted it from the desktop. Now, any time I DL ANY type of file with Firefox, th

  • Use of Insert n Update Query

    Hello Friends, I have one internal table Loop like...... Loop at Itab. Write : / itab-matnr,itab-maktx. Endloop. Now i want to insert This Matnr and Maktx in to one Ztable. and later i want to Update it fro internal table loop. SO can any one help me

  • Photo files - where are they?

    I'm a new mac user, and trying to point my cloud service (Wuala) at the folder holding my photos (to backup and have access to on other computers), but it seems that I can only direct it to iPhoto, which uploads a whole host of files, none of which l

  • DAQmx channel browsing problem in exe

    Hi guys,  I created a project and added "Cont Acq&Graph Voltage-To File(Binary).vi" example in Labview 8.6. Then I tried to build an exe file using the default options. This is the result as you can see from the screenshot. I've tried this with sever