JDev 10.1.3 EA: Error initializing Embedded OC4J

I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
/home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
/home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -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 /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
[waiting for the server to complete its initialization...]
05/12/29 13:14:24 Application: system is in state FAILED
05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
05/12/29 13:14:24 Fatal error: server exiting
Process exited with exit code 1.
Anyone got any ideas?

Check to see if helps
Unable to start oc4j in Jdeveloper 10.1.3 EA1
In my case I got that error when trying to connect to MySQL database when using OC4J

Similar Messages

  • Error in Embeded OC4J while deploying SessionBean

    I am using Jdeveloper version 9.0.5.1, since the project have brought to production at 2004, I have been using the same version.
    The workspace a number of project each contains a number of entity and session beans(EJB 2.0), lately I added a new project which contains a new session bean that references another session bean and an entity bean, when I attempt to run the application in the Jdeveloper the embedded OC4J returns the following errors messages:
    07/07/11 21:15:17 Copying default deployment descriptor from archive at D:\<Pathes>/META-INF/orion-ejb-jar.xml to deployment directory D:\TraineeCD\JDeveloper\jdev\system9.0.5.1.1605\oc4j-config\application-deployments\current-workspace-app\classes...
    07/07/11 21:15:18 Auto-deploying - file:/D:/TraineeCD/JDeveloper/jdev/mywork07/07/11 21:15:17 Copying default deployment descriptor from archive at D:\JDeveloper\jdev\mywork\<Pathes>classes/META-INF/orion-ejb-jar.xml to deployment directory D:\TraineeCD\JDeveloper\jdev\system9.0.5.1.1605\oc4j-config\application-deployments\current-workspace-app\classes...
    07/07/11 21:15:18 Auto-deploying - file:/D://JDeveloper/jdev/mywork/<Path>/classes/ (No previous deployment found)...
    07/07/11 21:15:19 Auto-deploying - file:/D://JDeveloper/jdev/mywork/<Path>/classes/ (No previous deployment found)...
    07/07/11 21:15:19 Auto-deploying - file:/D:/TraineeCD/JDeveloper/jdev/mywork/<Pathes>
    07/07/11 21:03:27 Auto-deploying - compiling and loading...
    07/07/11 21:03:53 SQL error: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:21 Error creating table: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:35 SQL error: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:49 done.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 101828 ms.
    07/07/11 21:04:53 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    I dont know what is the meaning of this error, nor what is the cause as it never appeared before. Surprisingly the behaviour of the application seems to be behaving normally even though despite this error and when the Oc4J returns done does this mean it started successfully, this error is preventing me from deploying my application to production environment as I guess there's something abnormal going around.
    Note:When I get a fresh copy of the application without the new project which contain the session bean the OC4J starts with no errors.
    Any ideas what maybe the problem ?

    Is your new project trying to access the database?
    SQL error: Io exception: The Network Adapter could not establish the connection
    Seems to indicate that you have a problem accessing the database probably due to wrong settings of the database connection information.
    Also check your data-sources.xml file for any new entries.

  • XML validation errors in embedded OC4J jazn.xml

    hi
    If I open the jazn.xml of the embedded OC4J in JDeveloper 10.1.3.3.0 and select "Validate XML" from the context-menu on that file, I get these messages in the "XML Validation Errors - Log" :
    D:\oracle\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml
        Error(10,28): <Line 10, Column 28>: XML-24535: (Error) Attribute 'schema-major-version' not expected.
        Error(10,28): <Line 10, Column 28>: XML-24535: (Error) Attribute 'schema-minor-version' not expected.
        Error(10,28): <Line 10, Column 28>: XML-24536: (Error) Missing Attribute 'filepath'
        Error(10,28): <Line 10, Column 28>: XML-24536: (Error) Missing Attribute 'OC4J_INSTANCE_ID'Strange, because I'm not aware of any changes I've made to this file.
    Could someone (from Oracle) please confirm that this is "intended", so I can exclude it as possible cause for the "security configuration issue" that I'm having.
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    If "the content seems to be correct" then the XML schema jazn-10_0.xsd might not be what it should be.
    For the attributes "filepath" and "OC4J_INSTANCE_ID" it says they are "required", just like the validation by JDeveloper says, but they are not in the documentation.
    For the attributes "schema-major-version" and "schema-minor-version" the documentation says:
    "This attribute is not defined directly in the XSD for jazn.xml. It is according to the attributeGroup specification in the top-level OC4J XSD."
    Although there is no exact reference in that documentation, and also not in jazn-10_0.xsd, that XSD could be oc4j-10_0.xsd because it defines this:
        <xsd:attributeGroup name="oc4j-schemaVersionAttributeType">
            <xsd:annotation>
                <xsd:documentation>This type defines two different attributes which are intended to be used in the
                    root element of a schema document to define version 10.0 of the schema document.
                </xsd:documentation>
            </xsd:annotation>
            <xsd:attribute name="schema-major-version" type="xsd:integer" fixed="10"/>
            <xsd:attribute name="schema-minor-version" type="xsd:integer" default="0"/>
        </xsd:attributeGroup>I'm not sure if it is the validation by JDeveloper that went wrong here, or the XML schema jazn-10_0.xsd that is incomplete about these "schema version" attributes.
    Anyway, it seems OK to exclude it as possible cause for the "security configuration issue" that I'm having.
    regards
    Jan

  • Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j

    Hi,
    I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
    Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
    I am using Jdeveloper 11g TP 4 on windows XP.
    I have checked other links too related to above error and have checked following:
    Proper host name entry in host file
    No spaces in Jdveleoper installed directory name
    Proxy setting in Jdeveloper: excluded localhost and ip address
    Will be very thankful if anyone can help me to resolve this issue.
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
    --olaf                                                                                                                                                                                               

  • Error starting embedded OC4J

    I created a simple (one JSP page) web application inside JDeveloper 10.1.3 and tried to run it inside the embedded OC4J server. I get the following error. Anyone know how to resolve?
    06/08/16 18:00:51 java.lang.NoSuchFieldError: oracle.oc4j.admin.management.mbeans.StateManageable.VALID_STATES
    06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.isValidState(EJBContainer.java:260)
    06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.setState(EJBContainer.java:250)
    06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.<init>(EJBContainer.java:108)
    06/08/16 18:00:51      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:156)
    06/08/16 18:00:51      at com.evermind.server.Application.setConfig(Application.java:391)
    06/08/16 18:00:51      at com.evermind.server.Application.setConfig(Application.java:308)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1480)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1467)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
    06/08/16 18:00:51      at java.lang.Thread.run(Thread.java:534)

    I don't think it involves spaces in the JDeveloper installation folder. Other developers in my office have JDeveloper installed in a path with no spaces, and they see the same problem. Actually, we don't even need to create a web application to see the problem. We see it when creating a new application server connection with the standalone OC4J 10.1.3 and clicking Test Connection:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]

  • JDev 10.1.3: Problem deploying a session bean to embedded OC4J

    JDeveloper 10.1.3, TopLink, OC4J, WinXP, java 1.4.2_05.
    I used TopLink to create a set of Java objects from a DB Schema, then created a simple Session Bean to read some of the objects. Everything compiles fine.
    JAVA_HOME points to the JDK (not JRE) and CLASSPATH is empty (undefined).
    When I try to Run my session bean in the jdeveloper embedded oc4j, I get this message. Thanks in advance for your help.
    Milind
    ===============
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Tools\jdev_10_1_3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config>
    C:\Tools\jdev_10_1_3\jdk\bin\javaw.exe -ojvm -classpath C:\Tools\jdev_10_1_3\j2ee\home\oc4j.jar;C:\Tools\jdev_10_1_3\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Tools\jdev_10_1_3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    05/03/22 14:43:50 Node started with id=127765687050882
    05/03/22 14:43:52 Auto-deploying - applications/admin_ejb.jar (orion-ejb-jar.xml had been updated since the previous deployment)...
    05/03/22 14:43:52 Error initializing server: Error initializing ejb-module; Exception null
    05/03/22 14:43:53 Fatal error: server exiting
    Process exited with exit code 1.

    Error initializing ejb-module;
    Is the EJB Jar structured as
    META-INF/
    ejb-jar.xml
    Bean Class
    Home interface Class
    Remote interface Class
    Does the EJBdeploy in some other server?

  • Not stable Run of the project in Jdev 9.0.3.2 (c embedded OC4J 9.0.4)

    Hello, All!
    I use JDeveloper 9.0.3.2 and embedded OC4J 9.0.4.
    But frequently, at Run project, embedded OC4J (9.0.4) startup occurs to a mistake:
    Target URL -- http://192.168.1.104:8989/Log/index.html
    Copying default deployment descriptor from archive at C:\Work\PS_FRAMEWORK\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\jdev9032_2_oc4j904\jdev\system9.0.3.2.1145\oc4j-config\application-deployments\current-workspace-app\classes...
    Auto-deploying file:/C:/Work/PS_FRAMEWORK/classes/ (No previous deployment found)... done.
    Auto-deploying PS-tests (New server version detected)...
    Auto-deploying PS-tests (New server version detected)...
    Error initializing server: Error loading web-app 'Log' at C:\Work\PS_FRAMEWORK\web\framework: Error writing orion-descriptor: C:\jdev9032_2_oc4j904\jdev\system9.0.3.2.1145\oc4j-config\application-deployments\current-workspace-app\Log\orion-web.xml
    Process exited with exit code 1.
    Repeating it a few times, it is possible in a result to receive required, i.e.
    Oracle9iAS (9.0.4.0.0) Containers for J2EE initialized.
    Whether somebody met something similar and how it to correct?
    Thanks
    Alexandre.

    You might find the sample code which is part of OC4J-howto's useful.
    http://otn.oracle.com/tech/java/oc4j/904/index.html
    http://otn.oracle.com/tech/java/oc4j/904/how_to/how-to-ejb-mdb.zip
    raghu
    JDev Team

  • Error initializing server: IO Error: The device is not ready

    Hi, I copied JDev 10.1.3 on my notebook and when I tried to start embedded OC4J I get the following message:
    Error initializing server: IO Error: The device is not ready
    What should I do? Thanks

    If I read correctly, you just copy the existing jdev installation on your PC to your notebook. That sounds like a very dubious practice to me. As seen by you in this particular example, hard-coded non-relative paths, host information, environment settings and etc begin to creep into various configuration or preference files once a piece of software go alive.
    Any problem to start a new installation to your notebook?

  • Errors Deploying BMP to embedded OC4J

    I'm using JDeveloper 9.0.3.2. When trying to run a BMP Entity Bean in the embedded OC4J and the deployment process starts I am getting an error:
    CustomerLocalHome_EntityHomeWrapper5.java:1201: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1316: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1431: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1546: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1661: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    5 errors
    Error compiling H:\jdev\Freeport\Customer\classes: Syntax error in source
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    This code has been verified using the EJB Verifier and compiles cleanly.
    The java file mentioned in the error doesn't exist in my project nor can I find CustomerLocalHome_EntityHomeWrapper5.java anywhere on my machine.
    I cannot find any reason for this problem and any insight to a solution would be helpful and appreciated.

    Hi,
    I'm having exactly the same problem. I don't know why I get this error, but I figured out how to run application.
    My ebj's have finder methods returning collections, usually in LocalHome interface you declare that a methods throw FinderException. Try declaring also RemoteException, this is simple solution that make my beans work with OC4J. Unfortunately when I check ejb with verifier I get errors.
    Maybe someone knows what causes this problem and how to avoid it.
    Martin.

  • JDev 9.0.3.1035 - Error starting HTTP-Server: Address in use: JVM_BindHello

    Hello, we are unable to use JDev 9.0.3.1035.
    We installed your distribution and set it up as follows:
    1. Linked to CVS and checked out our project which works just fine under JDev 9.0.2
    2. Added libraries for Jakarta ECS and MS SQL Server JDBC drivers.
    Then we can run it once successfully. Close browser and terminate embedded OC4J Server and run project again and we get the following error:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\jdev\j2ee\home\oc4j.jar -Dhttp.proxyHost=APOLLO -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts= -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\jdev\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error creating the ORB :
    Error starting HTTP-Server: Address in use: JVM_Bind
    The IDE then sits there until it times out.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    **** Warning: JDeveloper timed out waiting for OC4J to startup.
    **** Please check your HTTP proxy server settings in the IDE Preferences dialog.
    Embedded OC4J startup time: 120190 ms.
    Target URL -- http://192.168.254.20:8988/Long postings are being truncated to ~1 kB at this time.

    Target URL -- http://192.168.254.20:8988/eStarGlobal-eStarGlobal-context-root/servlet/com.estar.servlet.eStarMainServlet
    We are now unable to continue running/testing/developing our project. We do not want to have to manually change the port number each time we run it. This problem occurs both in Win 2000 PRO and Win XP Pro. We have tried every combination of OC4J server host names, HTTP Server ports and Web Browser proxy settings.
    A similar problem was fixed in Rel 9.0.2 by changing the Host Name of the embedded OC4J server to localhost from the IP address.
    Would appreciate some help because we would like to take advantage of the new features in your product.

  • JDEV 9.0.3.1035 - Error starting HTTP-Server: Address in use: JVM_Bind

    Hi, we installed and configured JDEV 9.0.3.1035 and are experiencing this persistent problem, whenever we try to run our app the second or any subsequent time:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\JDEV\j2ee\home\oc4j.jar -Dhttp.proxyHost=DELL -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts= -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDEV\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Address in use: JVM_Bind
    Error creating the ORB :
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    **** Warning: JDeveloper timed out waiting for OC4J to startup.
    **** Please check your HTTP proxy server settings in the IDE Preferences dialog.
    Embedded OC4J startup time: 120156 ms.
    This is happening since we switched from JDEV 9.0.2 which always started up cleanly. It appears that the port is not being released on OC4J server termination. We are not running any other web servers and verified all open ports with netstat -a.

    Target URL -- http://192.168.254.20:8988/eStarGlobal-eStarGlobal-context-root/servlet/com.estar.servlet.eStarMainServlet
    We are now unable to continue running/testing/developing our project. We do not want to have to manually change the port number each time we run it. This problem occurs both in Win 2000 PRO and Win XP Pro. We have tried every combination of OC4J server host names, HTTP Server ports and Web Browser proxy settings.
    A similar problem was fixed in Rel 9.0.2 by changing the Host Name of the embedded OC4J server to localhost from the IP address.
    Would appreciate some help because we would like to take advantage of the new features in your product.

  • SMTP Server in JDev's Embedded OC4J

    I would like to send an email running an ADF/JSF web page (i.e. the email ADF email demo). One required parameter is the SMTP server. Does JDev's embedded OC4J server have included with it a SMTP server that I can use? If so, how do I get at its name? If not, do I need to download and run an SMTP server separately? If so, what are some recommended SMTP servers?
    Thanks!

    After adding a DB connection to the BPEL dehydration DB, in the JDEV dev environment, I could not run any application in the embedded OC4J Server. I get the following exception, even after removing the the connection.....
    07/03/20 11:57:15 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : oracle.lite.poljdbc.POLJDBCDriver
    I was able to resolve the issue copying the olite40.jar to the j2ee/home/applib folder.
    I couldn't understand why the embedded oc4j, would try to create connection pool for the db connection set up in the dev environment? also why it didn't go after deleted the same from the dev environment connection?
    .....

  • Error initializing PAPI with directory.xml

    Hi
    I am trying to initialize PAPI from my application (Stripes). In order to create the 'ProcessService' I need the directory.xml, which I obtained from the BPMHOME/conf directory.
    However, I get the following error when executing:
    WARNING: An exception was caught and handled by StripesExceptionHandler
    java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: directory.xml
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:33
    5)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
    at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    Any ideas !!
    Thanks

    +Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/tikona/Jd/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml
    Modify the path to the JDev installation directory in server.xml.
    l+[SOLVED] Error instantiating application
    Edited by: dvohra16 on Jan 22, 2011 11:51 AM

  • Setting up embedded OC4J in JDev to use P6Spy jdbc driver to Oracle

    I am currently working on an OC4J application using Oracle db, with JDeveloper. I'm having some trouble with the DataSourceUserManager, in that it appears to be emitting faulty SQL, but I don't know exactly what SQL is being emitted. Today, I'm trying to see if I can interject the P6Spy JDBC driver on the database client side so I can see exactly what SQL is being emitted. I've successfully used P6Spy in the past on other projects, so I believe it can work, although I didn't use it with Oracle before.
    Unfortunately, I'm having trouble figuring out how to inform JDeveloper of the location of the driver jar. I've added P6Spy as a library to my application, and I've found several XML files in my workspace and in the JDev configuration which contain an "orion-application" element, which contains "library" sub elements, several of which I've added "library" elements to specify the location of the driver jar. Despite that, when the embedded OC4J starts up, I still get this in the messages window:
    Error initializing data-source 'jdbc/OracleDS': DriverManagerDataSource driver 'com.p6spy.engine.spy.P6SpyDriver' not found
    Note that this occurs while OC4J is trying to initialize my UserManager subclass.
    I believe there is also some facility for turning on "tracing" with Oracle, but the person who knows about that isn't here today. It would be good if I could get P6Spy working today, so I can make some progress today (which is looking more unlikely by the second).

    You must place the p6spy.jar into <oc4j_home>/j2ee/home/lib directory.
    The datasources are initialized before any deployed application is started, and thus the p6spy.jar wont be in the classpath >when the appserver is started (if you put the jar in WEB-INF/lib).That's correct.
    Another question -- have anyone managed to get p6spy to work with a ConnectionPoolManager in a BC4J-project?? I get a ClassCastException from oracle.jbo.server.OracleSQLBuilder because it tries to cast a statement into an OracleStatement.You need to build the project using SQL92 and Java Type Map.
    See
    Re: Exp problem in Oracle 10gR2
    Re: error in form10g release 2

  • JBO-33001 bc4j.xcfg missing with Jdev 9.0.5.1 embedded OC4J

    I've got an application that I've been trying to migrate from Jdev 10g Preview (9.0.5) to Production (9.0.5.1) for a week now. The steps I've had to follow so far are:
    1) Install Jdev 9.0.5.1
    2) Run it and allow all workspaces/settings to be migrated
    3) Shut down and rename the system9.0.5.1.1605 to something else.
    4) Restart and say No to migrate
    5) Open my application workspaces again.
    This procedure seemed to get me correct library settings working with the correct XML schemas. However, now I can't test my BC4J/UIX application. I get the following message when I right-click on a DataAction and choose Run:
    500 Internal Server Error
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /com/paslists/model/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:344)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:328)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    This is happening in the embedded OC4J. How do I fix this?

    I've managed to resolve this error. Somehow, my entire Model project got mis-represented in my ViewController. The package name was "model" in my Model project, yet somehow all of the Binding Contexts (UImodel.xml) files contains "com_paslists_model_..." for the name of my Application Module. To resolve the error, I first had to fix the references to my Application Module in the DataBindings.cpx file. Then, I had to exit Jdev completely and edit the UImodel.xml files by hand, replacing the invalid reference to my DataControl using the correct entry in the DataBindings.cpx file.
    Now, everything seems to function correctly.
    I don't know how this got so messed up, unless it was an error with migration.

Maybe you are looking for

  • Upgraded to iTunes 7, get the error report window!

    I just upgraded to iTunes 7 from the most recent 6 version. When I tried to open iTunes, however, I got the Windows error message, "iTunes has encountered a problem and needs to close. " In the error report, it said that the file "C:\DOCUME~1\MAXWEN~

  • General Warning Message while creating po

    Hi Gurus, Good Morning. I want to pop-up a warning message while creating all types of PO saying that "Contact Person & Email ID text should be filled " This message should be applicable to all PO . How to create a message and assign in PO ? Thanks &

  • Using JMX and MBeans

    I've been experimenting with Java instrumentation with MBeans. I created a small app to try out some of the JMX features. The app has a class that I would like to monitor with MBeans. So I created to interfaces to function as MBeans and then had the

  • Stack trace gives line numbers when src is present in package hierachy?

    hi, does anyone know why the lines numbers of the source code are only given in exception traces when the source code is present alongside the class files in the package hierachy? I'm guessing this is because there is not enough information in the cl

  • OMR in Oracle Reports

    A customer of us has asked to integrate OMR (Optical Mark Recongnition) codes in the reports created for mass mailing. So that the specialized machine for OMR reading the codes can group the pages, folds and puts in the envelops. Any suggestions and