Unable to create Java Fact in JDeveloper

I'm unable to create a Java Facts for all of the classes I need to in a JDeveloper project. When I create the java fact I can see that the classpath shows my projects .../target/classes/ directory. In the classes panel I can see all my classes. However when I select classes to add as facts I do not get all the classes I selected. I do not get an error either. I have attempted to analyze the differences between classes that successfully get added as facts and those that simply do not get added as facts when selected but I can't find a method to the madness. I have done this successfully with simple "hello world" type example but when trying to expand to a larger corporate code base the wheels fall off.
I'm using JDeveloper 11.1.1.4, Windows 7, JDK 1.6 update 21.

I think this has to do with not having facts for all the dependent java classes in the dictionary already. I need to better understand the proper way to build dictionaries in a modular way. I don't think the "User's Guide for Oracle Business Rules" is detailed enough.
I'll try to explain.
Project A - has some base classes, interfaces and abstract classes
Project B - has some base classes, interfaces and abstract classes
Project C - uses project A (implements interfaces, extends classes etc.)
Project D - uses project D (implements interfaces, extends classes etc.)
Project E - uses projects A, B, C & D
When I build a dictionary for Project A it appears OK, same with Project B
When I build a dictionary for project C I like the dictionary from Project A.
When I build a dictionary for project D I like the dictionary from Project B.
When I build a dictionary for project E it appears I have to link dictionaries for projects A, B, C & D but I end up with the original problem I posted on.
I just took a class X from Project E with dependencies on projects A, B, C & D (by dependencies I mean used objects in any way, inheritance, method arguments, properties etc.). I could not create a fact for class X using the above described method.
I manually did a parent child graph of all the dependencies of class X. If create facts for all the classes at the lowest level (these classes are only dependent up on classes in rt.jar) first all the facts are created fine. If I then create facts for all the classes the next level up the graph, they are all fine. I can climb my way up the graph adding facts for the classes just fine all the way to class X. In this scenario I'm able to create a fact for class X.
This exercise is extremely slow and not maintainable. What I really need is a better understanding of how to modularize the dictionaries, ideally to match the code base and how to keep these dictionaries in sync with changes to the code base. Can anybody point me to some documentation on this or recommend a book?
-Thanks

Similar Messages

  • Unable to Create PLSQL Webservice in JDeveloper 11g

    Hi,
    i have created webservice for PL/SQL for functions with out TYPE data types as parameter..
    but i am unable to create a webservice for procedure having
    Freight_Pkg.PROCEDURE get_freight(
    p_sbl_source_line_tab IN OUT SYK_SBL_SOURCE_LINE_TAB_TYPE
    ,l_total_freight OUT NUMBER
    ,l_err_code OUT NUMBER
    ,l_err_mesg OUT VARCHAR2
    and when i try to create web service it generates below Warning
    =========================================
    Log Message of WebService
    ========================================
    Generating PL/SQL Web Service
    Generating WSDL and mapping file
    WARNING: OWS-00077 The Value Type class: SykSblSourceLineBase does not have a valid Java Bean pattern.
    Adding service files to deployment profile
    Service generation finished
    Generation complete.
    Please let me know the procedure for creating Webservice for PLSQL of Table Type Parameters passing as IN parameter in Procedure.
    Thanks,
    Vijay

    Vijay,
    Is this configured with Oracle E-Business Suite? If yes, please note that JDeveloper 11g is not certified with Oracle Apps 11i/R12.
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    If this is not related to EBS, post your question in the appropriate forum for a better/faster response.
    JDeveloper and ADF
    JDeveloper and ADF
    Thanks,
    Hussein

  • Unable to create UCM Connection in JDeveloper

    I am trying to create UCM connection but getting the following error:
    oracle.stellent.ridc.protocol.ProtocolException: Unable to initialize connection idc://myhost:4444
    Unable to initialize connection idc://myhost:4444
    java.net.ConnectException: Connection refused: connect
    Connection refused: connect
    can any solve this problem?
    Regards:    

    I am trying to create UCM connection but getting the following error:
    oracle.stellent.ridc.protocol.ProtocolException: Unable to initialize connection idc://myhost:4444
    Unable to initialize connection idc://myhost:4444
    java.net.ConnectException: Connection refused: connect
    Connection refused: connect
    can any solve this problem?
    Regards:    

  • Creating Java Portlets without JDeveloper

    I am using Oracle AS 10g, and Portal. I have looked at the Portal Dev Guide (9.0.4), and have not found any information on how to create and deploy Java portlets without the use of JDeveloper. I was able to do this using earlier versions of Portal and JPDK.
    Does anyone know of any documentation that could help me with this? Thanks.

    I think this is the article you're looking for: Packaging and Deploying Your Providers.
    Peter

  • Forms 11g Win7 - Unable to create JAVA procedure

    Hi,
    When I click "Program Unit" -> "New", I see there is a possibilty to create a Java Source, but it is deactivated.
    Java is not installed in the Database, maybe that's the reason.
    Many thanks for your help.

    >
    Where s default.env located by default?
    When I searched for this file inside WebLogic (configured with Forms) , default.env could be located only in
    D:\Installs\WebLogic10.3.2\user_projects\domains\ClassicDomain\servers\WLS_FORMS\tmp\_WL_user\formsapp_11.1.1\wb1h9e\configThis is not the location of default.env. If you want u can update that using EM
    http://machine:port/em
    If you search for default.env in user_projects directory you might probably get two listed. Take the other an than the one you listed here. It will not be in tmp directory.

  • Unable to create java web service

    morning all
    Being new to ejbs I created a simple ejb project comprising one entity bean and one session bean. The session bean exposes two methods one to retrieve individual employee data (return object EmployeeData class which implements java.o.Serializable) and a second retrieving all employee data (return object java.util.Collection).
    When I attempt to create a Java Web Service and select the session bean to expose as a web service the method are grayed out, clicking 'Why Not?' displays a message box showing the message
    'The following parameter types do not have an XML Schema Mapping and\or serializer specified'
    What does this mean and how do I solve it?

    Hi,
    The java.io.Serializable marker is not consulted when determining whether a Java object can be transmitted in a web service invocation. Instead, each parameter and return value of a web service method must conform to one of the 3 rules below:
    1. It is a Java primitive (int, long, byte etc.), Java primitive wrapper (java.lang.Integer etc.), or a java.lang.String.
    2. It is a Java bean with a zero-argument constructor, and a pair of "get" and "set" methods for each property to be exposed. Each property must itself conform to one of these 3 rules.
    3. It is an array of a type that meets either rule 1 or rule 2.
    In the first case, I'd hazard a guess that your EmployeeData class doesn't have the form of a Java bean. Make sure it's got the zero-argument constructor, and that all of the "get" and "set" methods use types which are themselves publishable.
    In the second case, java.util.Collection doesn't conform to any of the 3 rules above. However, once you've fixed your EmployeeData class, you can convert the method that returns the Collection into a method that returns a EmployeeData[], which you will be able to publish in your web service.
    Hope that helps,
    Alan.

  • Unable to start java VM for JDeveloper

    I follwed the instruction in the release notes for JDeveloper 3.2.2 to use jdk 1.3.0.
    I Set up my Windows NT shortcut like this: "C:\Program Files\Oracle\JDeveloper 3.2\bin\jdeveloper.exe" -jdk=1.3.0
    I also tried the suggestion of modifying the jdeveloper.ini file. The result was the same.
    I now get the error shown above.
    Is there something else I have to do?

    Hi,
    Did you carry out the step which modifies the library.ini file make sure you have a
    [JDK_java version "1.3.0"]
    section?
    If you have done this, check that all the paths in this section are correct.
    Brian

  • Unable to Create Fact and Dimension tables from the Tools menu in EIS conso

    Hi All,
    In the EIS console, I am unable to create the fact table and the dimension tables to produce my OLAP model from the TOOLS menu whereas I am able to create them by dragging from the left panel where the tables are displayed. I am geeting the below error message:
    "An exception occured while retrieving OLAP model metadata. Please verify you are connected to the catalog and try again"
    Any help appreciated.
    Thanks,
    Raja

    I have fact and dimension tables in one server and i moved those stuff to another server.If I do that what happen to essbase and about totale EPM System.I want to know how to do this and what I can expect?
    Please reply

  • Adding Java Fact Classes not erroring, but not adding the facts/classes

    I'm attempting to build Rule dictionaries modeled after maven modules of the project I'm working on. First I created a dictionary "common" with common classes added as Java facts. Second I created a dictionary "domain". In the "domain" dictionary I linked the "common" dictionary and added some domain specific classes as java facts. Finally I created a "product" dictionary. The product dictionary links the "domain" dictionary. When I look at the facts in the "product" dictionary I see all the facts from "common" and "domain" linked in. When I attempt to add more facts to the "product" dictionary I can find the classes in the classpath without a problem. However when I select the classes I wanted added as java facts and click "OK" in JDevelopers 'Create Java Fact' Dialog none of the facts are added. I cannot find any error or explanation for why they were not added. I believe I have all class dependencies of these java facts already added in the "common" and "domain" dictionaries I have linked in. Any help in how to resolve this would be appreciated - or even some general guidelines on how to build and maintain dictionaries.
    Thanks,
    Mike

    Hello, I seem to have the same problem as you. Have you found a solution to this?
    See my thread here: Oracle Rules: Adding Java Facts - not showing up in list.

  • Unrecognized option -a could not create Java Virtual Machine..?

    while using "java -classpath <axis jar files> -a <mywsdlfile>
    i got the error message as 'Unrecognized option -a could not create Java Virtual Machine"
    plz help me how to get rid of this?? i've successfully installed axis1.4 & tomcat6.

    Sorry, I thought that you meant to pass "-a" to the java tool and not the WSDL2JAVA tool. "-a" is definitely a valid option for WSDL2Java.
    But your error indicates that it is indeed trying to pass "-a" as an option to java, which is why the error is "unable to create Java Virtual Machine".
    Try using the long format for the "-a" option which is "--async". (http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html).
    "java –classpath pathToJAR/Filename org.apache.axis.wsdl.WSDL2Java --async pathToWsdl/WsdlFilename"
    Edited by: javaguy on Sep 2, 2009 11:46 PM

  • JDeveloper: Unable to create an instance of the Java Virtual Machine

    Hi,
    I've got this
    Unable to create an instance of the Java Virtual Machine Located in path: C:\u01\app\Oracle\Middleware\JDev11g\jdk160_21\jre\bin\client\jvm.dll
    problem like many people else who use JDeveloper.
    The OS is Windows XP, I've got 4G memory but maybe just 3G of it works.
    But this is not the problem, because I've searched this problem on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work....
    Sometimes it just doesn't work....
    Sometimes it doesn't...and after rebooting it works again......
    Sometimes even rebooting doesn't help.......
    Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....
    Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again.....
    but next time you try to use it, it may not work..........again....
    I don't know what leads to these problems.....anyone could help, please?
    Thanks in advance....

    having mentioned that you have tried all possible options. can u try to change the jdk??

  • Unable o create an instance of the java virtual machine Located at path

    I am installing oracle sql developer on Windows XP SP2
    I have downloaded sqldeveloper-3.1.07.42 and extracted it.
    when i double click sqldeveloper it shows dialog box
    Unable o create an instance of the java virtual machine Located at path
    ..\..\jdk\jre\bin\client\jvm.dll
    and OK button
    i have tried a solution posted on a site
    1- Open the ide.conf file located under <Oracle SQL Developer>jdev\bin\
    2- Edit :
    AddVMOption -Xmx1024M
    AddVMOption -Xmx256M or 512 MB change into 512 instead of 1024
    it does not work for me
    What is the cause & how to resolve it please help
    I would be thankful to you guys

    Hi,
    I've got the exact same problem when launching to JDeveloper.
    And I've searched on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work. Sometimes it doesn't...and after rebooting it works again......Sometimes even rebooting doesn't help.......Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again...but next time you try to use it, it may not work..........
    I don't know what leads to these problems.....anyone could help? Thanks in advance....

  • Unable to create : com.mysql.jdbc.Driver error with JDeveloper 10.1.3

    Hi all,
    I got this error when I tried to execute a simple JSF app. I am using JDeveloper 10.1.3 release edition. Please advice
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\JDeveloper10g\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper10g\j2ee\home\oc4j.jar;C:\JDeveloper10g\jdev\lib\jdev-oc4j-embedded.jar -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:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-01-31 21:40:47.062 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
    2006-01-31 21:40:47.093 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
    2006-01-31 21:40:47.093 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
    2006-01-31 21:40:47.156 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
    2006-01-31 21:40:47.156 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
    2006-01-31 21:40:47.171 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
    2006-01-31 21:40:47.218 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
    2006-01-31 21:40:47.281 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
    2006-01-31 21:40:47.359 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
    2006-01-31 21:40:47.375 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
    2006-01-31 21:40:47.375 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
    2006-01-31 21:40:59.296 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
    2006-01-31 21:41:08.421 WARNING J2EE OJR0107 Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector 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.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         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:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\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
    Jan 31, 2006 9:41:08 PM 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.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         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:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\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
    06/01/31 21:41:08 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
    Jan 31, 2006 9:41:08 PM 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
    2006-01-31 21:41:08.531 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: 29125 ms.

    I did what Manu suggested with no success. Alternatively, I registered the driver jar with embedded OC4J preferences > global > libraries. Still does not work. Please, note, that when I run JUnit tests against my BC4J application modules with JDBC URL as connection type, everything works just fine. The problem comes while running the JSF application when the application module is using JDBC DataSource as connection type.

  • Trying to create a fact table,error:unable to extend temp segement

    Using Oracle 10.2g
    SQL>
    create materialized view facts_table
    (     s_id
    ,     g_id
    ,     sb_id
    ,     sc_id
    ,     y_id)
    refresh with rowid
    as      select s.s_id
    ,     g.g_id
    ,     sb.sb_id
    ,     sc.sc_id
    ,     y.academicyear
    from      student s
    ,     grade g
    ,     subject sb
    ,     school sc
    ,     comqdhb.teachinggroup y;
    ERROR at line 3:
    ORA-01652: unable to extend temp segment by 1024 in tablespace POSTGRADSI am creating the fact table as materialized view because its specified for us.
    I am trying to create a fact table from the dimension tables and its giving this error
    what is the mistake kindly help.
    Also when creating the fact table do all the columns need to be foreign keys compulsorily.
    Edited by: Trooper on Jan 10, 2009 5:25 AM
    Edited by: Trooper on Jan 10, 2009 6:37 AM

    Well basically what your saying is absolutely right
    I realized what i am doing right now is stupendous blunder.
    Basically my aim is there are 5 dimensional tables that are created
    Student->s_id primary key,upn(unique pupil no),name
    Grade->g_id primary key,grade,exam_level,values
    Subject->sb_id primary key,subjectid,subname
    School->sc_id primary key,schoolno,school_name
    year->y_id primary key,year(like 2008)
    s_id,g_id,sb_id,sc_id,y_id are sequences
    select * from student;
    S_ID UPN FNAME COMMONNAME GENDER DOB
    ==============================
    9062 1027 MELISSA ANNE       f  13-OCT-81
    9000 rows selected
    select * from grade;
          G_ID GRADE      E_LEVEL         VALUE
            73 A          a                 120
            74 B          a                 100
            75 C          a                  80
            76 D          a                  60
            77 E          a                  40
            78 F          a                  20
            79 U          a                   0
            80 X          a                   0
    18 rows selectedThese are basically the dimensional views
    Now according to the specification given, need to create a fact table as facts_table which contains all the dim tables primary keys as foreign keys in it.
    The problem is when i say,I am going to consider a smaller example than the actual no of dimension tables 5 lets say there are 2 dim tables student,grade with s_id,g_id as p key.
    create materialized view facts_table(s_id,g_id)
    as
    select  s.s_id,g.g_id
    from   (select distinct s_id from student)s
    ,         (select distinct g_id from grade)gThis results in massive duplication as there is no join between the two tables.But basically there are no common things between the two tables to join,how to solve it?
    Consider it when i do it for 5 tables the amount of duplication being involved, thats why there is not enough tablespace.
    I was hoping if there is no other way then create a fact table with just one column initially
    create materialized view facts_table(s_id)
    as
    select s_id
    from student;then
    alter materialized view facts_table add column g_id number;Then populate this g_id column by fetching all the g_id values from the grade table using some sort of loop even though we should not use pl/sql i dont know if this works?
    Any suggestions.
    Edited by: Trooper on Jan 10, 2009 6:38 AM

  • SOAP: call failed: java.io.IOException: unable to create a socket ??

    Hi
    I am getting the following error in PI for one of my sync interfaces.
    SOAP: call failed: java.io.IOException: unable to create a socket
    The interface works most of the time, but i get this error couple of times a day.
    Regards,
    XIer

    Hav you able to resolve this issue? Please let me know what was cause of this "unable to create a socket"
    Thanks,
    Sagar

Maybe you are looking for

  • Problem displaying checkbox in searchhelp + default fixed input-parameter

    Hello, At a CRM 7 project we are facing the following 2 problems with a 'customer'-searchhelp I have created the searchhelp in SE11, the data is fetched via a search-help exit, and I call the search-help via the GET_V method of my attribute This is w

  • Clear an input box with failed validation status

    My jdev version is 11.1.1.5.0 I have an input box with certain validation.If validation fails it doesnt clear its contents on button click. My button click code is : propButton.setValue(null); where propButton is binding name to button.

  • URGENT! PROBLEM WITH ADOBE FREE TRIAL PROGRAMS

    I created a new adobe id to renew my trial version of adobe programs but in adobe creative cloud it continues to inform me that i only have just 1 day to continue to use that programs. What should i do to start them from the first day?

  • Table for variable

    Hi gurus, Where can I find the definition of the variable in my queries ... in which table are they stored ? Thanks in advance Aleksi

  • No 'application' on my mac to start download of photoshop, what do I need?

    I have just bought photoshop and want to start down loading it but this message comes up - 'There is no application set to open the URL aam://SAPCode=PHSP?productVersion=14.0?passPhrase=W7MNUgZB97NrFrRPytwKMy/NfyL/oASgW6T6GKO ieWWLcQ6W0iWEN8fIZbhPkYH