Jdev 10.1.3.2 and Standalone OC4J 10.1.2

Hi,
I am trying to create an application server connection to a standalone OC4J (10.1.2) in JDeveloper 10.1.3.2.
In step 1 of the Create App Server connection I select Standalone OC4J 10.1.3. (Thinking that OC4J version 10.1.2 is configured similarly).
I fill in the required information in the remaining steps
(username and password, hostname etc..) but when I go to test the connection, the Testing Connection Status window just hangs, it appears no connection is being made and it just remains that way.
My standalone OC4J is up and running. It was started using the command java -jar oc4j.jar
Anyone have any ideas as to what is wrong ?
Are there any log files I can look at to try and resolve the problem ?
Thanks,

You can create EAR/WAR file from JDeveloper and then use the OC4J 10.1.2 managment console to deploy them to the server, there is no one-click-deploy support from JDev 10.1.3 to OC4J stand-alone 10.1.2

Similar Messages

  • Where do we set flag -D... for embedded and standalone oc4j?

    hi,
    I want to set flag -Doc4j.formauth.redirect=true in embedded and standalone oc4j. Where should I add this definition for both environments?

    Hi,
    stand-alone its
    java -jar -Doc4j.formauth.redirect=true oc4j.jar
    in embedded OC4J,
    double click the project node in JDeveloper and select the Run/Debug option. Then press edit on the "Default" configuration and add -Doc4j.formauth.redirect=true to the "Java Options" field
    Frank

  • CommandButton action method invoked multiple times in standalone OC4J

    Hi,
    We've developed an application in JDeveloper 10.1.3.3.0 (ADF Business Components version 10.1.3.41.57). In one page we have a commandButton with an action method:
    <af:commandButton action="#{MyBean.myActionMethod}"
    blocking="false"
    textAndAccessKey="#{nls['MY_LABEL']}"
    id="myButtonId" >
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.ResetBreadcrumbStackActionListener"/>
    </af:commandButton>
    This method is defined in a managed bean:
    public String myActionMethod() {
    /* some code */
    return "indexPage";
    There is a navigation-rule for outcome "indexPage". When we run our application in the JDeveloper embedded OC4J instance and click on the commandButton, the action method is invoked once and then the .jspx in the navigation-rule is navigated to.
    We deployed our application to a standalone OC4J instance. Both embedded and standalone OC4J have version: Oracle Containers for J2EE 10g (10.1.3.3.0) (build 070610.1800.23513)
    When we run our application in the standalone OC4J and click on the commandButton, the action method is repeatedly invoked in a seemingly infinite loop.
    We'd appreciate it if someone could shed some light on the matter. Please note that we cannot use <redirect /> in our navigation-rule for "indexPage" because in production we have an Oracle webcache server upstream of our OC4J. Users can only submit HTTPS requests to the webcache, which in turn forwards these requests as HTTP requests.
    Kind regards,
    Ibrahim

    Dear All,
    We'd really appreciate it if somebody would suggest some possible causes even if these might seem fare-fetched. Perhaps compare certain .jar files or something to that effect.
    Anything ????
    Thanks and regards,
    Ibrahim

  • Deploy app on standalone OC4J running on jdk1.6.0_04

    Hi all!
    I am trying to deploy an application on standalone OC4J running on jdk1.6.0_04. The application runs well when started on embedded oc4j (which is running on java 1.6). I know that jdk1.6 is not supported, but the application works smoother and faster on 1.6 and I want to try and find the reason why it won't work on standalone oc4j. When I start the server (start_oc4j.bat with JAVA_HOME set to c:\Program Files\Java\jdk1.6.0_04) I get these messages:
    Starting OC4J with command: "c:\Program Files\Java\jdk1.6.0_04\bin\java.exe" -XX
    :MaxPermSize=256m -Xmx512m -XX:+DisableExplicitGC -XX:+UseParallelGC -Xss128k -j
    ar oc4j.jar
    Jan 28, 2008 4:55:26 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jan 28, 2008 4:55:26 PM oracle.oc4j.util.SystemLog logNoStack
    WARNING: Could not initialize thread locals accessor: java.lang.ThreadLocal$Thre
    adLocalMap.get(java.lang.ThreadLocal)
    08/01/28 16:55:31 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Al
    ternate DocumentChangeNotifier in use!
    08/01/28 16:55:32 JMS server will listen on port 9127.
    08/01/28 16:55:33 oracle.j2ee.jms.oc4j.JMSServer startup complete
    08/01/28 16:55:35 Don't know how to map non-serializable type: interface javax.m
    anagement.j2ee.statistics.Stats to Open MBean Type.
    08/01/28 16:55:36 WARNING: J2EE JNDI-00002
    08/01/28 16:55:36 WARNING: No javax.jms.ConnectionFactory found at null
    08/01/28 16:55:38 WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destinatio
    n, {0}, does not exist
    08/01/28 16:55:39 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
    When I try to deploy the application, I get the following error:
    Operation failed with error:
    oracle.oc4j.admin.deploy.spi.exceptions.DeploymentRuntimeException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
    ; nested exception is:
         oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:328)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
         at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
         at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
    ; nested exception is:
         oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
         at __Proxy2.invoke(Unknown Source)
         at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
         at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
         ... 3 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2134)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1699)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1655)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1640)
         at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader(ClassLoaderQuery.java:613)
         at com.evermind.util.ClassUtils.findClass(ClassUtils.java:298)
         at oracle.oc4j.rmi.MethodSpecification.getMethod(MethodSpecification.java:69)
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification(ServerRmiMethodCache.java:101)
         at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec(ServerRmiMethodCache.java:70)
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod(ServerRmiMethodCache.java:44)
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:591)
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:339)
         at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:302)
         at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:169)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:150)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
         at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands(RMIServerConnection.java:235)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
         at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:112)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:136)
         ... 13 more
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
         at __Proxy2.invoke(Unknown Source)
         at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
         at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
         at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
         at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
         Nested exception is:
    oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2124) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1699) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1655) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1640) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader (ClassLoaderQuery.java:613) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at com.evermind.util.ClassUtils.findClass (ClassUtils.java:298) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.MethodSpecification.getMethod (MethodSpecification.java:69) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification (ServerRmiMethodCache.java:101) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec (ServerRmiMethodCache.java:70) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod (ServerRmiMethodCache.java:44) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation (ServerRmiMessageHandler.java:591) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest (ServerRmiMessageHandler.java:339) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest (ServerRmiMessageHandler.java:302) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand (RMIServerConnection.java:169) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIConnection.handleCommand (RMIConnection.java:150) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands (RMIConnection.java:126) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands (RMIServerConnection.java:235) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIConnection.run (RMIConnection.java:105) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:885) [jre bootstrap, by jre.bootstrap:1.6.0_04]
         at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907) [jre bootstrap, by jre.bootstrap:1.6.0_04]
         at java.lang.Thread.run (Thread.java:619) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    #### Deployment incomplete. #### Jan 28, 2008 5:08:47 PM
    Deployment Failed
    Can anyone help me, am I doing something wrong?
    Thanks,
    Pedja

    Running into the same issues; been juggling between JDK 5/6, Embedded and Standalone OC4J on various platforms; still no answer...
    Here's what I do know:
    OC4J on TN is for TP1 only, JDeveloper is for TP3 or later, so you must use the bundled OC4J with JDeveloper cross platform as well - including all patches like SOA and friends.
    JDK 6u4 is very bad; use anything but that; u5 seems good.
    A good start might be to go with the Emedded OC4J, take a look at the classpath and startup commands given by the IDE for the server in the logs and simply match with some bat file if you can - from the looks of it the Standalone OC4J is behind thus the reason it's only released for TP1.
    I'm not bothering with this till they pair a release with a Standalone OC4J.

  • How Standalone OC4J and the Oracle Application Server linked to each other

    Hi ,
    Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
    In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
    Please tell me how they are linked to each other .
    Thank you .

    It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
    OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
    For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
    So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
    PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
    Hope this helps.
    Thanks
    Shail

  • [HELP] CRL in standalone OC4J SSL and ws-security x.509 token profile?

    Dear all,
    i have a question about setting up the OC4J server to check against a cert revocation list (CRL) when:
    1. SSL in standalone OC4J (no oracle http server) (i.e. using secured-web-site.xml)
    2. ws-security x.509 token profile (authenticate user by cert)
    ***i can create a crl list, but i don't know how can i import this list into the keystore
    ***and setup the system to validate cert against the crl.
    i can't find the information in oracle's manual/documentation.
    could anyone give me the solution under the 2 situations??
    thank you.
    lsp
    Message was edited by:
    lsp

    Hi,
    i have a question about setting up the OC4J server to
    check against a cert revocation list (CRL) when:
    1. SSL in standalone OC4J (no oracle http server)Probably not supported.
    2. ws-security x.509 token profile (authenticate user by cert)OC4J + WS_SECURITY doesn't support CRL-s, sorry.
    Hubert M.

  • JDev 10g : deploy to standalone OC4J

    hi
    (using JDeveloper 10g Preview, build 1375)
    I have been trying to deploy an application to a standalone OC4J, based on the JDeveloper help topics:
    - "Deploying ADF Business Components Web Applications to Oracle Application Server or Standalone OC4J"
    - "About ADF Business Components Deployment Prerequisites for OC4J and Oracle Application Server Deployment"
    After that I got:
    java.lang.NoClassDefFoundError: oracle/jbo/uicli/graph/JUSingleTableGraphDefThis class is in adfm.jar, which is part of the "ADF Model Runtime" library, which I configured to be deployed in my EAR file. I checked the files for my application in my standalone OC4J and adfm.jar was there. Even after restarting the OC4J, the class NoClassDefFoundError persisted.
    (Oh, by the way, I wouldn't know where I am using the class JUSingleTableGraphDef in my application. At least non of my classes was in the stack trace.)
    What should be my next step?
    tnx
    -Jan

    hi
    I'm not sure if this is related to what I have found in readme.html that is part of JDeveloper 10g preview:
    --8&lt;----------
    Oracle Application Development Framework Issues
    Struts Application Standalone is not Automatic (2996626)
    Running a struts application in standalone OC4J results in NoClassDefFound exception
    The workaround is to check the library in the deployment profile.
    --8&lt;----------If it is related, the workaround doesn't seem to apply because adfm.jar has been deployed with the application.
    Any suggestions (from Oracle)?
    Has anyone been able to deploy an ADF Business Components based application to a standalone OC4J?
    tnx
    -Jan

  • Standalone oc4j and oracle 9i database on the same windows xp machine

    I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

    user549113,
    Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • Deploy ADF application to standalone OC4J 11g

    Hi people!
    I found some threads into the forums that deal with the subject but I did not find any solution, so I post a new thread...
    In fact, I'd like to deploy a "war" on a standalone oc4j 11g.
    The application was built with jdev 11g TP4.
    I can't use the ADF runtime Installer of jdev, so I have to copy all the files by myself, but the problem is that I do not find the files in jdev11/BC4J/lib/ that I have to copy in oc4j/BC4J/lib...
    There is no adfcm.jar, bc4jdomorcl.jar, etc ...
    Is it normal ? Could someone indicate me how to configure the standalone oc4j 11g in order to deploy my "war" ?
    Thanks a lot,
    romain.
    Edited by: Romain Testu on 24 sept. 2008 09:28

    Hi,
    TP4 doesn't have a standalone OC4J.
    Try to start embedded oc4j from jdeveloper in standalone mode.
    see e.g. Re: Can Jdeveloper TP4 deploy apps to OC4J standalone TP4
    BTW: The production release 11g is announced within next week and this release will contain Weblogic Server 10gR3 instead of OC4J.
    JDeveloper 11g release this month?
    regards
    Peter

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Debugging JSP with standalone OC4J

    Hi All,
    I am trying to debug a JSP using JDeveloper 10.1.3.2 on standalone OC4J 10.1.3.2 . I find that it is not stopping at the breakpoints I have set. My settings in the global-web-application.xml are as follows
    <servlet>
    <servlet-name>JDevOJSP</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
         <param-name>check_page_scope</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>debug_mode</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>developer_mode</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>encode_to_java</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>     
         <param-name>emit_debuginfo</param-name>     
         <param-value>true</param-value>     
    </init-param>     
    <init-param>
         <param-name>jspjavacompiler</param-name>     
         <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>
    </init-param>     
    <init-param>     
         <param-name>jspcompiler</param-name>
         <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>     
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    However when I try accessing the JSP(test.jsp) from the browser, I get an error saying _test.class is not found.
    I verified this by checking under the application-deployments folder and I found that the .java & .class files are not created under the persistence\_pages folder.
    So I changed the entry in global-web-application.xml as follows to get the .java & .class files generated
    <servlet>
         <servlet-name>JDevOJSP</servlet-name>
         <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    </servlet>
    Once they are generated, I reverted the setting back to as it was before and tried to debug the JSP. But still it does not find the break points
    I have jdev-rt.jar,xmlparserv2.jar,ojc.jar & jdev-remote.jar in <OC4J_HOME>/lib folder.
    I am starting OC4J with OJVM option debug mode listening to port 4000 and I have configured my project in JDeveloper for remote debugging.Please let me know where I am going wrong.
    Thanks in advance,
    Prasanna

    http://blogs.oracle.com/shay/2005/10/24#a55

  • 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

  • Can Standalone OC4j 11g TP4 be runned on RedHat Linux  ?

    Hi , i have a web application(ADF/ADF Faces) developed with JDev 11g TP4. Iwant to install and run it on Standalone OC4J 11g, under Linux RedHat OS.
    In the OC4j release note it's written "Requires SUN JDK 5.0.11". However i want to ensure that the only thing i need is to install a specific JDK version.
    Thanks in advance ,
    Krasimir

    IBM JRE wont work with OC4J. Install Sun JRE1.3. It works fine for us.

  • Has anyone had a WebService running on standalone OC4J 101300 / 101310

    I am trying to run the most basic of webservices on these containers - what was achieved within minutes on IBM WAS 6.0, JBoss 4.0 and WLS 9.1 is just not getting possible with this release of the container!
    Initially thought it was a deployment / code issue - but have been consistently able to take the same WSDL and generate the WebService (and deploy) on other containers except OC4J. The same service runs successfully within JDev embedded OC4J.
    Using JDeveloper, I was able to generate both top-down and bottom-up services. Neither got deployed - either through uploading the EAR file, ANT build file, JDeveloper deploy to connections etc...
    Even tried changed entries in the server.xml and the default-web-site.xml file - but it is of no use.
    No extra libraries were added - same results were obtained even with a fresh install of the container in this environment: WinXP Pro + JDK 1.5.2_09 + OC4J 101300 / 101310.
    All these come back with the same error:
    06/11/16 20:01:15 SEVERE: ProgressObjectImpl.reportError java.lang.ClassCastExce
    ption: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImploracle.oc4j.a
    dmin.jmx.shared.exceptions.InternalException: java.lang.ClassCastException: com.
    sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(Notif
    icationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.ClassCastExce
    ption: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:214)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
    Deployer.java:541)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:197)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.
    DeferredElementNSImpl
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(W
    ebServiceEndpoint.java:660)
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServi
    ceEndpoint.java:616)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService
    .java:382)
    at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:
    374)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServic
    es(WebServicesDescriptor.java:447)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(
    WebServicesDescriptor.java:426)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConf
    ig(WebServicesDescriptor.java:401)
    at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.
    java:403)
    at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:
    494)
    at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts
    (WrapperClassGenerator.java:93)
    at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(
    HttpApplication.java:8403)
    at com.evermind.server.http.HttpApplication.populateLoaderWithWebService
    sDeploymentCache(HttpApplication.java:5465)
    at com.evermind.server.http.HttpApplication.populateLoader(HttpApplicati
    on.java:5394)
    at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplicat
    ion.java:5333)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    645)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
    ationStateRunning.java:428)
    at com.evermind.server.Application.getHttpApplication(Application.java:5
    12)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
    ateHttpApplicationFromReference(HttpSite.java:1975)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
    it>(HttpSite.java:1894)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:15
    91)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:206)
    ... 8 more
    2006-11-16 20:01:15.642 ERROR java.lang.ClassCastException: com.sun.org.apache.x
    erces.internal.dom.DeferredElementNSImpl
    2006-11-16 20:01:15.764 NOTIFICATION Application UnDeployer for tanfsandbox COMP
    LETES.
    06/11/16 20:01:15 WARNING: DeployerRunnable.run java.lang.ClassCastException: co
    m.sun.org.apache.xerces.internal.dom.DeferredElementNSImploracle.oc4j.admin.inte
    rnal.DeployerException: java.lang.ClassCastException: com.sun.org.apache.xerces.
    internal.dom.DeferredElementNSImpl
    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(Deplo
    yerRunnable.java:81)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.
    DeferredElementNSImpl
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(W
    ebServiceEndpoint.java:660)
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServi
    ceEndpoint.java:616)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService
    .java:382)
    at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:
    374)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServic
    es(WebServicesDescriptor.java:447)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(
    WebServicesDescriptor.java:426)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConf
    ig(WebServicesDescriptor.java:401)
    at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.
    java:403)
    at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:
    494)
    at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts
    (WrapperClassGenerator.java:93)
    at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(
    HttpApplication.java:8403)
    at com.evermind.server.http.HttpApplication.populateLoaderWithWebService
    sDeploymentCache(HttpApplication.java:5465)
    at com.evermind.server.http.HttpApplication.populateLoader(HttpApplicati
    on.java:5394)
    at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplicat
    ion.java:5333)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    645)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
    ationStateRunning.java:428)
    at com.evermind.server.Application.getHttpApplication(Application.java:5
    12)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
    ateHttpApplicationFromReference(HttpSite.java:1975)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
    it>(HttpSite.java:1894)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:15
    91)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:206)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
    Deployer.java:541)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:197)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    2006-11-16 20:01:15.764 WARNING java.lang.ClassCastException: com.sun.org.apache
    .xerces.internal.dom.DeferredElementNSImpl
    BTW, the service interface is added below:
    package botupws;
    public class SayHello {
    public SayHello() {
    public String say(String name) {
    return ("Hello" + name);
    The WSDL file is added below:
    <definitions
    name="MyWebService1"
    targetNamespace="http://botupws/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://botupws/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://botupws/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://botupws/types/"
    elementFormDefault="qualified" xmlns:tns="http://botupws/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <element name="sayElement">
    <complexType>
    <sequence>
    <element name="name" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="sayResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="MyWebService1_say">
    <part name="parameters" element="tns0:sayElement"/>
    </message>
    <message name="MyWebService1_sayResponse">
    <part name="parameters" element="tns0:sayResponseElement"/>
    </message>
    <portType name="MyWebService1">
    <operation name="say">
    <input message="tns:MyWebService1_say"/>
    <output message="tns:MyWebService1_sayResponse"/>
    </operation>
    </portType>
    <binding name="MyWebService1SoapHttp" type="tns:MyWebService1">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="say">
    <soap:operation soapAction="http://botupws//say"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="MyWebService1">
    <port name="MyWebService1SoapHttpPort" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://192.168.5.100:8888/tanfsandbox-BotUpWS-context-root/MyWebService1SoapHttpPort"/>
    </port>
    </service>
    </definitions>
    Thanks in advance!

    This doesn't help with your specific issue, but it's an example of a WS being generated in JDeveloper then deployed to a separate standalone OC4J 10.1.3.1.0 instance.
    The WS was created from a simple Java class like yours, then deployed using JDeveloper remote connection to a separate OC4J instance.
    ---- Deployment started. ---- 17/11/2006 12:31:49
    Target platform is Standalone OC4J 10g 10.1.3 (local).
    Wrote WAR file to C:\java\jdev-10131-prod\jdev\mywork\webservices\simplest\deploy\WebServices.war
    Wrote EAR file to C:\java\jdev-10131-prod\jdev\mywork\webservices\simplest\deploy\webservices-simplest-WS.ear
    Uploading file webservices-simplest-WS.ear ...
    Application Deployer for webservices-simplest-WS STARTS.
    Copy the archive to C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear
    Initialize C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear begins...
    Unpacking webservices-simplest-WS.ear
    Done unpacking webservices-simplest-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear ends...
    Starting application : webservices-simplest-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : webservices-simplest-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application webservices-simplest-WS to site default-web-site under context root webservices-simplest-context-root
    Initializing Servlet: oracle.j2ee.ws.server.JAXRPCServlet for web application WebServices
    Binding web application(s) to site default-web-site ends...
    Application Deployer for webservices-simplest-WS COMPLETES. Operation time: 3905 msecs
    Elapsed time for deployment: 7 seconds
    ---- Deployment finished. ---- 17/11/2006 12:31:56
    Here's the WSDL
    <definitions name="HelloWorldService" targetNamespace="http://sab.demo.webservices/">
         <types>
         <schema targetNamespace="http://sab.demo.webservices/types/" elementFormDefault="qualified">
         <element name="sayHelloElement">
         <complexType>
    <sequence/>
    </complexType>
    </element>
         <element name="sayHelloResponseElement">
         <complexType>
         <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
         <message name="HelloWorldService_sayHello">
    <part name="parameters" element="tns0:sayHelloElement"/>
    </message>
         <message name="HelloWorldService_sayHelloResponse">
    <part name="parameters" element="tns0:sayHelloResponseElement"/>
    </message>
         <portType name="HelloWorldService">
         <operation name="sayHello">
    <input message="tns:HelloWorldService_sayHello"/>
    <output message="tns:HelloWorldService_sayHelloResponse"/>
    </operation>
    </portType>
         <binding name="HelloWorldServiceSoapHttp" type="tns:HelloWorldService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="sayHello">
    <soap:operation soapAction="http://sab.demo.webservices//sayHello"/>
         <input>
    <soap:body use="literal"/>
    </input>
         <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
         <service name="HelloWorldService">
         <port name="HelloWorldServiceSoapHttpPort" binding="tns:HelloWorldServiceSoapHttp">
    <soap:address location="http://localhost:8888/webservices-simplest-context-root/HelloWorldServiceSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    So it does work. What the specific problem is with your situation, one of our WS PMs most likely be able to help with.
    The error you have:
    2006-11-16 20:01:15.764 WARNING java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
    Is strange -- can you check your WAR file and see if there are other libraries in the WEB-INF/lib that may be being loaded?
    Do you have xerces-impl.jar or anything like that in the JRE/lib directory of your JDK?
    cheers
    -steve-

  • JHS 1012 with Standalone OC4J 904

    Has anyone got this to work? I can deploy JHS 10.1.2 to standalone OC4J 10.1.2 (without ADF runtime installed) but standalone 9.0.4 OC4J gives an HTTP 500 error (without ADF runtime installed, no additional messages appear; with ADF runtime installed yields this: java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String)java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String)
    DCUtil.java:293).
    These results are after applying the workaround for iAS 9.0.4 on Steve Muench's blog at: http://radio.weblogs.com/0118231/stories/2005/05/27/workaroundForDeployingAdf1012AppUsingIntermediaDomainsToOracleAs904.html

    Here are some details about the solution:
    1. In the j2ee\home\config\application.xml file, remove all references to libraries from the bottom of the file, such as:
    <library path="../../../ord/jlib/ordim.jar"/>2. Add the following libaries to the project properties for the ViewController project
    - ADF Web Runtime
    - ADF Toplink Runtime
    - Oracle Intermedia JClient
    3. Create a WAR deployment profile for the ViewController project. In the WEB-INF\lib node of the File Groups node in the properties, select all libraries. Click OK and deploy the file to an EAR file using the right click menu on that deployment profile.
    4. Copy the EAR file to the j2ee\home\applications manually and add entries in the server.xml and http-web-site.xml. See entries that JDeveloper adds when you do right-click deployments to the server for the pattern.
    5. Bounce the OC4J server (if it did not pick up the new application).
    Note: The steps above load more libraries than are needed. The following list has also been proven to work but it still may be more than is needed.
    adf-controller.jar
    adfm.jar
    adfmtl.jar
    adfmweb.jar
    adftags.jar
    bc4jct.jar
    bc4jdomorcl.jar
    bc4jhtml.jar
    bc4jimdomains.jar
    bc4jmt.jar
    bc4juixtags.jar
    classes12.jar
    collections.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-el.jar
    commons-fileupload.jar
    commons-lang.jar
    commons-logging.jar
    commons-logging.jar
    commons-validator.jar
    datatags.jar
    graphtags.jar
    jakarta-oro.jar
    jaxen-full.jar
    jhsadfrt.jar
    jdev-cm.jar
    ojmisc.jar
    ordhttp.jar
    ordim.jar
    jsp-el-api.jar
    jstl.jar
    log4j-1.2.7.jar
    nls_charset12.jar
    oracle-el.jar
    regexp.jar
    saxpath.jar
    share.jar
    standard.jar
    struts.jar
    uix2.jar
    uixadfrt.jar
    xalan.jar

Maybe you are looking for

  • Huge CPU using : where does it come from ?

    Hi, I programm this beginning of game. It's prettty simple , a charachter which rotates following the mouse pointer. The problem is that this simple application uses about 66% of my Athlon 2200+ when I move the mouse.I don't understand , ok there are

  • TS4022 why when i log in to my icloud account is there not the photo icon?

    Hi, Right I'm fairly new to this and a bit behind on current technology. In simple terms is Icloud a website that i can log on to on any computer? And if i do will i find all of my photos and phone information on my account? If so, when i log on to m

  • Control hints tab for an attribute of a view object shows null pointer erro

    hi I am using j developer 11g. I have a view object and it is working fine and i set control hints for an attribute , i set display label and length etc there. now i am taking the view object the control hints tab for the particular tab didnt shows a

  • Pages locked.

    I built my website several years ago using Dreamweaver 4. I just got a new Vista machine and have been upgrading my software. I transferred my website local file folder to the new machine but when I open a page in DWCS3 I could not edit any pages. In

  • Licensing for my photoshop on Mac has stopped working

    I am getting the Error 150:30 message when I try to open Photoshop. This has happened right after upgrading my Mac OSX to Mountain Lion. However, the solution posted by Adobe - mainly the Licensing Repair Tool - doesn't work. I am on Mac Mountain Lio