Oc4j server embeded in Jdeveloper 10g is not ruuning

hi,
1.
I am trying to run ocrj server embede in Jdeveloper from command promt
for which as given step in Jdevelioper handbook , i proceeded as executing
setvars -go from directory jdev\bin , but i am getting the following error
D:\JDev\jdev\bin>setvars -go
Using JDeveloper installation in "D:\JDev\jdev\"
Using JDeveloper root in "D:\JDev\"
'findstr' is not recognized as an internal or external command,
operable program or batch file.
2. if i proceed next step without caring the previous step , the server is start but vanished instantly
i am using Windows XP(sp 2) jdk 1.4
pz can any one will guide me
log file showing the following message
06/02/13 20:25:11 Auto-unpacking D:\JDev\BC4J\redist\bc4j.ear...
06/02/13 20:25:12 Auto-unpacking D:\JDev\BC4J\redist\bc4j.ear... done.
06/02/13 20:25:19 Auto-unpacking D:\JDev\soap\lib\soap.ear...
06/02/13 20:25:19 Auto-unpacking D:\JDev\soap\lib\soap.ear... done.
06/02/13 20:25:19 9.0.4.0.0 Started
06/02/13 20:26:34 9.0.4.0.0 Started
06/02/14 18:23:07 9.0.4.0.0 Started
06/02/14 18:23:14 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
06/02/14 18:23:14 Recovery completed, 0 connections committed and 0 rolled back...
06/02/14 18:23:14 9.0.4.0.0 Started
06/02/15 09:58:49 9.0.4.0.0 Started
06/02/15 09:58:55 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
06/02/15 09:58:55 Recovery completed, 0 connections committed and 0 rolled back...
06/02/15 09:58:55 9.0.4.0.0 Started
06/02/15 10:03:58 9.0.4.0.0 Started
06/02/15 10:03:58 9.0.4.0.0 Stopped (JVM termination)
06/02/15 10:04:13 9.0.4.0.0 Started
06/02/15 10:04:14 9.0.4.0.0 Stopped (JVM termination)
06/02/15 10:41:12 9.0.4.0.0 Started
06/02/15 10:41:13 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:20:46 9.0.4.0.0 Started
06/02/15 12:20:46 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:21:02 9.0.4.0.0 Started
06/02/15 12:21:02 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:21:26 9.0.4.0.0 Started
06/02/15 12:21:27 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:21:34 9.0.4.0.0 Started
06/02/15 12:21:35 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:21:43 9.0.4.0.0 Started
06/02/15 12:21:44 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:28:23 9.0.4.0.0 Started
06/02/15 12:28:23 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:29:45 9.0.4.0.0 Started
06/02/15 12:29:46 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:30:37 9.0.4.0.0 Started
06/02/15 12:30:37 9.0.4.0.0 Stopped (JVM termination)
06/02/15 12:43:34 9.0.4.0.0 Started
06/02/15 12:43:35 9.0.4.0.0 Stopped (JVM termination)
06/02/15 13:01:43 9.0.4.0.0 Started
06/02/15 13:01:43 9.0.4.0.0 Stopped (JVM termination)
06/02/15 14:59:13 9.0.4.0.0 Started
06/02/15 14:59:13 9.0.4.0.0 Stopped (JVM termination)
06/02/15 14:59:32 9.0.4.0.0 Started
06/02/15 14:59:33 9.0.4.0.0 Stopped (JVM termination)
06/02/15 15:05:39 9.0.4.0.0 Started
06/02/15 15:05:39 9.0.4.0.0 Stopped (JVM termination)
Waiting for your response
Rgds
nripa

Thaks Frank ! I did as your suggestion and in the command line the following message comes
D:\JDev\j2ee\home>java -jar oc4j.jar
06/02/16 10:53:01 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
initialized
I Assumed that oc4j server statrted , I test the server using the browser to connect to http://localhost:8888 i got
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.
HTTP Error 403 - Forbidden
Internet Explorer
i checked the port number in relevent xml file
pz if possible support me
Rgds
nripa

Similar Messages

  • Getting HTTP 500 Internal Server Error in JDeveloper 10g Release 3

    Hello,
    I had run a web page of JSF a month ago with no issues from the server. Now however whnever I try running any page from the IDE, I keep getting following message in the log:
    [i]Mar 1, 2008 10:06:25 AM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.OC4JRestarter.run(OC4JRestarter.java:35)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/Program Files/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    08/03/01 10:06:25 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Mar 1, 2008 10:06:25 AM com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    2008-03-01 10:06:25.109 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 22578 ms.
    Target URL -- http://192.168.1.2:8989/AVTproject-ViewController-context-root/faces/HomeLogin.jspx
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    **** Server startup cancelled by the user.
    I finally deleted the MYSQL Database connection to the application. Still it doesnt work. Please help me as I really cant track why this is so.

    Hello,
    Thank You very much for the solution. I had uninstalled the previous JDeveloper 10g installation and installed a new instance of the same. After which it worked without much of a problem.
    However, my application requires to use MySQL database, so how do I tackle such an error. What was wrong with the connection? I mean MySQL instance seemed to work fine. Is there any version with which JDeveloper can work? Right now am using MySQL 5.0.? Please do advise.

  • OC4J Instance included in Forms 10g R2 NOT Stable

    I am able to deploy a form for testing on WIndows 2003 Server.
    C:\Documents and Settings\Administrator>C:\oracle\product\Ora10gDSR2\jdk\bin\java -Doracle.security.jazn.config=C:\oracle\product\Ora10gDSR2\j2ee\DevSuite\config\jazn.xml -Doracle.home=C:\oracle\product\Ora10gDSR2 -DORACLE_HOME=C:\oracle\product\Ora10gDSR2 -jar C:\oracle\product\Ora10gDSR2\j2ee\home\oc4j.jar -userThreads -config C:\oracle\product\Ora10gDSR2\j2ee\DevSuite\config\server.xml
    06/10/25 00:00:06 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    06/10/25 00:03:54 FormsServlet init():
    configFileName: C:\oracle\product\Ora10gDSR2/forms/server/formsweb.cfg
    testMode: false
    06/10/25 00:04:04 ListenerServlet init()
    06/10/25 07:56:50 Forms session <3> aborted: unable to communicate with runtime process.
    I can run the Form initially but not after it has been deployed for about 8 hours. Is it true that OC4J supplied in Forms 10g R2 is only for testing purpose. How could I deploy the form in a more stable environment?

    Yes it is true.
    OC4J included in your iDS 10g is only for test or develop envrionment.
    Its basic function is to make your builder tool ready to test your forms and module as well as your reports.
    Just because iDS 10g its a web tool and it needs a web server to execute. So OC4J emulate the iAS (Internet Application Server) and give you the opportunity to TEST your modules without having a iAS.
    Abdel Miranda
    Panama.

  • JDeveloper 10g does not export .ear, it complains about a JSP

    There is a project on J2EE.
    JDeveloper 10g rejects to export .ear, .war и .jar (EJB jar), it complains about a JSP page, it writes the follwing:
    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    That is it complains about descriptors, but I the descriptors must be OK.
    How can I get it working to export .war and .ear successfully?
    May be I should switch off some checks?

    There is a project on J2EE.
    JDeveloper 10g rejects to export .ear, .war и .jar (EJB jar), it complains about a JSP page, it writes the follwing:
    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    That is it complains about descriptors, but I the descriptors must be OK.
    How can I get it working to export .war and .ear successfully?
    May be I should switch off some checks?

  • Jdeveloper 10g UI not starting.

    Hi All,
    I'm a new user of jdeveloper and using 10g.
    This is the problem which is happening everytime I start it second time after fresh installation. It works fine for the first time and shows problem and never loads in the subsequent attempts.
    I have installed it in E directory following is the path of .exe file which I run E:\Jdev10g\jdev\bin\jdev.exe
    Following is the logs which I have got from command window---
    java.lang.NullPointerException
    at javax.swing.border.EmptyBorder.<init>(EmptyBorder.java:54)
    at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRendere
    r.getTableCellRendererComponent(WindowsTableHeaderUI.java:63)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(BasicTabl
    eHeaderUI.java:394)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(BasicTableH
    eaderUI.java:428)
    at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(BasicTable
    HeaderUI.java:454)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTable
    HeaderUI.java:485)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
    at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:75
    at java.awt.Container.preferredSize(Container.java:1178)
    at java.awt.Container.getPreferredSize(Container.java:1162)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1277)
    at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.jav
    a:507)
    at java.awt.Container.preferredSize(Container.java:1178)
    at java.awt.Container.getPreferredSize(Container.java:1162)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1277)
    at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:572)
    at java.awt.Container.preferredSize(Container.java:1178)
    at java.awt.Container.getPreferredSize(Container.java:1162)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1277)
    at javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.
    getPreferredSizeOfComponent(BasicSplitPaneUI.java:1770)
    at javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.
    getPreferredSizes(BasicSplitPaneUI.java:2003)
    at javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.
    resetToPreferredSizes(BasicSplitPaneUI.java:2040)
    at javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.
    layoutContainer(BasicSplitPaneUI.java:1470)
    at java.awt.Container.layout(Container.java:1020)
    at java.awt.Container.doLayout(Container.java:1010)
    at java.awt.Container.validateTree(Container.java:1092)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validateTree(Container.java:1099)
    at java.awt.Container.validate(Container.java:1067)
    at java.awt.Window.show(Window.java:461)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at oracle.ideimpl.MainWindowImpl$11.run(MainWindowImpl.java:718)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    System configuration is "Intel core-2-duo" with 2 gb memory.
    after this it hangs and never loads...please suggest solution for this..I'm quite fed up of this.

    See if these old posts help-
    cannot start JDeveloper 10g: nullpointer exception
    http://programming.itags.org/development-tools/17231/

  • JMS Queue Works in JDeveloper 10g, but not in Oracle 10g AS

    Hello --
    I have set up a JMS Queue on my local OC4J included with JDeveloper. I added my ConnectionQueueFactory and ConnectionQueue to the JMS.XML file in my environment. Everything works the way it should using JDeveloper with the embedded OC4J.
    As soon as I deploy the application to Oracle Application Server, for some reason my MailSender Message Driven Bean cannot take delivery of the message. I don't know what I could be doing wrong but my JMS.XML file on the Application Server has been updated with the same ConnectionQueue information that is on my local JMS.XML file. In my log file I can see that the message is being posted to the queue, just no delivery.
    If anyone out there has a suggestion I would appreciate it. This is my first attempt at ever using JMS.
    Thanks,
    Frank

    Willy_B wrote:
    I removed the one that was listed, thinking that it was implicit to that line. BUT of course, I just went back and removed EVERY empty line, even between the comments and all...and it worked.
    So the lesson here is that PL/SQL could care less about white space, but SQLPlus is picky....
    Thanks. :)Exactly. And I have to make note of that in my written procedure for restoring some of our test databases from a cold backup of production. Turns out the control file trace script (backup controlfile to trace) inserts a blank line ... then sqlplus chokes on it when executing ..

  • IOracle JDeveloper 10G will not open on Windows 7 64 bit OS?

    Hi,
    I have a feeling this may have been asked before but here goes, I am using a Windows 7 64 bit OS laptop and JDeveloper will not open fpr me. I have tried setting it to Run as Administrator and compatibility mode for Windows XP SP 3 and neither of these help. I have very little knowledge of JDeveloper, all I do is use it to compile to an executable .jar file and then copy into the relevant environment. Could someone please let me know if there is a way to resolve this (without using Windows Virtual PC)? Please include step by step instructions, VERY much appreciated!!!
    Thanks,
    Rhonda

    Try invoking JDeveloper using the jdev.exe in the bin directory instead of the jdevw.exe to see a log of what the problem is.
    Also which JDK are you using?
    And also - why aren't you using the new JDeveloper 11g?

  • SQL not showing in Embedded OC4J Server window

    Previously, when we'd run a page through JDeveloper, the sql statements that were used to execute the query would appear in the Embedded OC4J Server window in JDeveloper. Now they no longer appear (along with a lot of other logging data that used to appear). Is there a configuration setting somewhere to make this info appear again?

    There is no such setting for OC4J log. Are you sure that you are looking at the right tab because there are generally 3 tabs on the bottom most log window which are Messages, Compiler and Embedded OC4J Server.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to run small struts module in OC4J embeded in Oracle Jdeveloper 10g

    hi ,
    As i am novice in Oracle JDeveloper10g i tried small module
    in Struts 1.2, i was able to compile sucessfully
    all action classes and actionfrom and jsp file
    , setting required libries . Now when i build
    my project which under my work space it shows
    same compilation suceesfull message which
    was shown in make.
    how my jsp page will run in ocrj server embeded
    in Jdeveloper , how to proceed , what is the wrong
    can any one will help me .
    rgds

    Hi,
    open the Struts page flow diagrammer, select a JSP file and choose run from teh context menu
    Frank

  • Failed deployment to standalone oc4j server from JDeveloper 10.1.2

    Built a simple application using JHeadStart 10.1.2
    I could deploy it when I defined the datasource connections inside the application. When I changed the datasource connections to refur to the jndi lookup values found in data-sources.xml it works only on the oc4j app server embedded into jdeveloper 10.1.2.
    When I deploy the ear file to my standalone version it fails with the following stack trace:
    JBO-30003: The application pool (com.bcaa.maint.model.common.AppNEATGlobalParameterLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=null
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1336)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1234)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:411)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
         at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
         at oracle.adf.model.BindingContext.get(BindingContext.java:427)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
         at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at com.bcaa.maint.view.filter.NEATUserFilter.doFilter(NEATUserFilter.java:65)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1385)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:271)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolConnect(ApplicationModuleImpl.java:8014)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7785)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1915)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1336)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1234)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:411)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
         at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
         at oracle.adf.model.BindingContext.get(BindingContext.java:427)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
         at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at com.bcaa.maint.view.filter.NEATUserFilter.doFilter(NEATUserFilter.java:65)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    ok - this is just wierd - I get an object back from the jndi context. .getClass().getName identifies it as an instance of OrionCMTDataSource, which is a subclass of OrionPooledDataSource which implements javax.sql.DataSource.
    I should be able to cast the object directly to a DataSource type, but when I try it throws a ClassCast exception.
    If I Cast to an OrionCMTDataSource then to a DataSource it casts correctly... WTF ?!?
    oh - and my ADF application is still broken...
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=null
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1385)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:271)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolConnect(ApplicationModuleImpl.java:8014)
    ???

  • Oracle Developer Day    Jdeveloper 10g early access not work

    Oracle Developer Day Workshop Materials
    Creating Persistence Services Using Toplink and POJOs
    I use Jdeveloper 10 ea :
    To create a new workspace with a new project for the model
    Application Name EmployeeRequisitionApplication
    Directory Name <JDEV_HOME>/mywork/EmployeeRequisitionApplication
    Application Package Prefix objectmodel
    Application Template No Template [All Technologies]
    rename Project1 to Lab1_PersistenceServices
    Set project properties
    Click the Technology Scope node: Select TopLink in the Available Technologies and click the shuttle button to move to Selected Technologies.
    see the following in the Applications Navigator:
    --EmployeeRequisitionApplication
    ----Lab1_PersistenceServices
    not like that :
    --EmployeeRequisitionApplication
    ----Lab1_PersistenceServices
    ---toplink
    ---toplink mappings
    I use Jdeveloper 1012 , Applications Navigator like :
    --EmployeeRequisitionApplication
    ----Lab1_PersistenceServices
    ---toplink
    ---toplink mappings
    why Jdeveloper 10g ea not work?

    I'm not able to reproduce it exactly. It seems to depend on either what I was doing beforehand or what I have open at the same time.
    I was able to make it happen on demand awhile ago, but I've closed and restarted the environment since then.
    The best I can remember, I had been going up the dialog, starting at the bottom. I was looking for where to enter the location of SQL*Plus. I didn't expect to see it in accelerators, but I was just curious what was in there when...boom. I might have finished one pass thru most of the tree, then started on a second pass when I encountered the problem. Best guess at this point on how to reproduce would be to simulate a user persistently looking for a setting and just not stopping until he found it.
    James Brockman

  • Embeded Oc4j server not starting up in Jdeveloper 10g 10.1.3.0.3

    hi,
    I have created simle hello.jsp , but i try to run it with the embedded OC4j server i get the following error .
    C:\jdk1.4\bin\javaw.exe -client -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=172.16.233.34 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=local.|localhost|127.0.0.1 -Dhttps.proxyHost=172.16.233.34 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=local.|localhost|127.0.0.1 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Sep 30, 2005 6:23:17 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:23 Application: system is in state FAILED
    05/09/30 18:23:23 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/jdev/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:24 Fatal error: server exiting
    Process exited with exit code 1.
    Can anyone help

    The 10.1.3 version of JDeveloper (and the embedded OC4J) requires JDK 5.0 to run.
    You can however set your project to work with JDK 1.4 in the project properties.

  • Embeded OC4J server within JDeveloper does not pick latest JAR files.

    Hi,
    Currently OC4J seems to be using an older version of JAXB1.0. Hence I created a shared library in my standalone OC4J server and imported the shared library while deploying my applicatoin in the ClassLoader task.I am trying to replicate the same in
    my embeded OC4J server within JDeveloper.
    I followed as indicated in readme.txt file in the \j2ee\home\shared-lib\ folder.
    1) I created a folder called "jaxb" within /j2ee/home/shared-lib/. I then created a folder with the name "2.0" indicating the version number of the API.
    2) I then added the relevant jaxb JARS to the jaxb/2.0 folder.
    3) In the server.xml file available under /j2ee/home/config/ , I added the following entries.
    <shared-library name="jaxb" version="2.0">
              <code-source path="jaxb-api.jar"/>
              <code-source path="activation.jar"/>
              <code-source path="jaxb1-impl.jar"/>
              <code-source path="jaxb-impl.jar"/>
              <code-source path="jsr173_1.0_api.jar"/>
              <code-source path="jaxb-xjc.jar"/>
         </shared-library>
    I am still facing the issue where my embedded OC4J server is picking up the jaxb version 1.0.
    What are the steps that needs to be taken to ensure that the embeded OC4J
    takes in the jaxb2.0 version.

    Refer
    Re: SUN Jaxb2.0 incompatible with OC4J included in JDEV/OC4J ??

  • JDeveloper 10.1.3.3 and Embedded OC4J server

    This is the Embedded OC4J server on JDeveloper 10.1.3.3 I have pointed it to compile in Java SDK 1.4.2_14
    I have set up the projects datasources to use the JDBC driver ojdbc14.jar
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdev\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\j2sdk1.4.2_14\bin\javaw.exe -ojvm -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    *WARNING: Code-source C:\jdev\jdbc\lib\ojdbc14.jar (from <library> in /C:/jdev/jdev/mywork/NJTransit/NJTransit-oc4j-app.xml) has the same filename but is not identical to /C:/jdev/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev\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.
    *Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 4421 ms.
    Target URL -- http://207.200.160.250:8988/NJTransit-NJTransit-context-root/index.jsp
    12/03/08 14:58:05 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    My question is why is it having trouble distinguishing between ojdbc14.jar and ojdbc14dms.jar
    as a result I am getting unexpected behavior from the Application
    Declaration in my code
    int mypidm;
    String sql1 = "SELECT SPRIDEN_PIDM FROM SPRIDEN WHERE SPRIDEN_ID = UPPER(?)";
    try{
    PreparedStatement pstmt = conn.prepareStatement(sql1);
    pstmt.setString(1, studid);
    ResultSet rs;
    rs = pstmt.executeQuery();
    //mypidm = rs.getInt("SPRIDEN_PIDM");
    This part of the code drops through i.e. rs.next() always gets a false result
    while (rs.next()) //evaluates to false so mypidm is always zero.
    mypidm = rs.getInt("SPRIDEN_PIDM");
    I am thinking that these two things are related.
    Any Thoughts.

    The tables are not created by default. You can configure your persistence.xml to define how you want tables to be created. The persistence.xml properties are defined in the TopLink class, EntityManagerFactoryProvider (oracle.toplink.<essentials>.ejb.cmp3).
    Set the property, "toplink.ddl-generation" to "drop-and-create-tables" if you want them recreated every time your redeploy. Note this will delete all previous data in the tables, so make sure you do not leave this setting on when you go into production.

  • How to configure JMS queue on OC4J server. Development in JDeveloper 10G

    Hi there,
    I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
    I am facing a problem on how to configure JMS queue.
    Steps Followed are:
    in the <JDevloperHome>/j2ee/home/config
    1. Made the new queue and connection factory's JMS entry in jms.xml.
    2. Specifed the queue in oc4j-connectors.xml.
    3. played around with application.xml
    and tried all combinations, but the message producer always failed to lookup the queue.
    Need help on the steps to follow so that the producer can post the message in the queue.
    Also please help how to configure the MDB to listen to the queue.
    Thanx and Regards
    Subham

    If you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
    One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool.

Maybe you are looking for

  • Bapi bapi_goodsmvt_create for goods receipt of process order

    Hello All , I am trying to a GR with MIGO for a process order .Its giving me error like Content of order 2000002339: 100001374 transferred to interface (IMSEG): 100001374 I am not able to trace the error out .I am passing the below parameters .pls ch

  • PO Ship to Address report

    Hi Experts Is there such a report that will tell me PO Number and what the ship to address is? Can t seem to find one Thanks in advance P

  • HP Support Assistant

    Pavillion p6720f / Windows 7 / 64 I installed sp58919.exe from this site: It won't complete the check list. It won't connect to the HP server. No problem with my internet connection. It just keeps 'checking' with the HP servers ad infinitum. Also, th

  • Message transformation using XSLT

    Hi OSB Gurus, We are trying to implement following functionality using OSB. 1. We have XML messages in a folder. 2. Need to create a proxy service to take these messages and apply transformations using XSLT. 3. After transformation, put the messages

  • Show alert command in adrci

    Hi all, I'm testing adrci utility in Oracle 11g R1 on Windows XP. Here is what I got: adrci> show alert Choose the alert log from the following homes to view: 1: diag\clients\user_system\host_2968435875_11 2: diag\clients\user_unknown\host_411310321_