TP4: can not run application with ODBC-JDBC bridge
Hi,
I tried to connect to a oracle 10gR1 Database via ODBC-JDBC bridge.
Test connection in dialog "Edit Database Connection" is sucessfull.
When trying to run the application following error occures:
===========================================
08/05/09 11:48:57 SCHWERWIEGEND: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
08/05/09 11:48:57 SCHWERWIEGEND: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger logWithThrowable
SCHWERWIEGEND: J2EE JCA-07001
oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
at com.evermind.server.Application.setConfig(Application.java:538)
at com.evermind.server.Application.setConfig(Application.java:433)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
... 15 more
08/05/09 11:48:58 WARNUNG: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.InstantiationException: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1465)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
at com.evermind.server.Application.setConfig(Application.java:538)
at com.evermind.server.Application.setConfig(Application.java:433)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
... 10 more
Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
... 15 more
09.05.2008 11:48:58 com.evermind.server.ServerMessages severe
SCHWERWIEGEND: Exception beim Initialisieren der bereitgestellten Anwendung: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
java.lang.InstantiationException: Application: current-workspace-app is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:636)
at com.evermind.server.Application.setConfig(Application.java:433)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1465)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
at com.evermind.server.Application.setConfig(Application.java:538)
... 7 more
Caused by: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
... 10 more
Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
... 15 more
09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNUNG: J2EE JNDI-00002
09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger log
WARNUNG: Kein javax.jms.ConnectionFactory in null gefunden
09.05.2008 11:49:01 com.evermind.server.http.HttpMessages internalErrorWhileTryingToInstantiate
SCHWERWIEGEND: Interner Fehler ausgelöst beim Versuch, die Web-Anwendung zu instanziieren: GoodsReceipt-ViewController-webapp definiert in Website Default Web Site. Application: current-workspace-app does not exist. Error creating Web application: GoodsReceipt-ViewController-webapp
Ready message received from Oc4jNotifier.
Embedded OC4J Server startup time: 12375 ms.
=========================================
OC4J is up and running, but browser gives error message (404 Not found)
With JDBC connection this application works fine.
Here my jdev specific environment variables:
SET JOH=c:\software\Oracle_JDEV11gP4
SET JDEV_USER_DIR=c:\jdeveloper\home
SET JAVA_HOME=c:\software\Oracle_JDEV11gP4\jdk\bin
Can anybody help me?
br
Peter
Peter --
Can you please describe your use case? The JDBC-ODBC bridge driver is not all that reliable. Sun considers it "transitional" and it is not supported by them.
http://java.sun.com/j2se/1.5.0/docs/guide/jdbc/bridge.html
We still include the driver in JDev primarily to allow connections to MS datasources like Excel and Access that don't have free/open-source pure JDBC drivers. Why would you use the JDBC-ODBC bridge to connect to an Oracle database?
-- Brian
Similar Messages
-
I can not run application in Jdev 11g
hello,
I can not run my application in Jdev 11g.
[Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
[02:33:39 PM] ---- Deployment started. ----
[02:33:39 PM] Target platform is (Weblogic 10.3).
[02:33:40 PM] Retrieving existing application information
[02:33:40 PM] Running dependency analysis...
[02:33:40 PM] Deploying 3 profiles...
[02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
[02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
[02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
[02:33:42 PM] Deploying Application...
<01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
[02:33:42 PM] #### Deployment incomplete. ####
[02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
What is this?
Dema.Hi,
what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
Frank -
Can not Run Application from Client PC.
Hi,
I have a pc running on WinXP called "PC1". I have installed Oracle9i Database, Developer Suite 10g and services. I can run my application smoothly on "PC1".
My problem is that i can not run my application from client pc running on WinXP called "PC2". I have installed JINIT.exe on "PC2". I started OC4J also on "PC2". IE shows "Page can not be displayed" message.
What settings i have to do to run my application on Client i.e. "PC2".
Waiting for any kind of help.
Thanks.Hi all,
Thanks for the reply.
I have already install same JINI.exe on Client "PC2" which is on Server "PC1". And the version of the IE and JINI are same on Server "PC1" and Client "PC2".
I start OC4J on Server.
Should i make some settings on JINI Control Panel on Client ? Like Proxies.
I have enable all check box on "Basic" Tab of JINI.
Further, On client, the check Box of "Show Java Console" is also on, but when i try to connect my application from IE, the Java console does not appear.
I would like to inform u that, when i start additional Proxy driver like Analog proxy on my server and then i give that proxy address and port in Client IE connection LAN setting, i am able to run my application from that Client.
But i think that is not the solution.
Waiting for reply. -
I can not run firefox with old northern utility at same time
I CAN NOT RUN FIREFOX WHEN MY NORTHERN UTILITY IS RUNNING AT SAME, WHEN I SHUT DOWN THE NORTHERN UTILITY THEN THE FIRE FOX WILL RUN, PLEASE TELL ME WHAT CAN I DO KEEP THEM BOTH RUNNING AT SAME TIME! THANKS !
THE SYSTEM IS XP NOTE BOOK !You'll either have to modify yourself, ask the poster in that other thread for it, or use the LabVIEW driver.
-
Can not run application on Windows
What's wrong with my windows system.
I compile the java files in linux and put the class file to the windows system. But the class file can't run correctly. The error is following:
Exception in thread "main" java.lang.NullPointerException
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at FrameTest.<init>(FrameTest.java:10)
at FrameTest.main(FrameTest.java:17)
the FrameTest.java is following:
import java.util.*;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class FrameTest extends JFrame
public FrameTest()
super( "test" );
add( new JPanel() );
public static void main( String[] argv )
JFrame f = new FrameTest();
f.setSize( 400, 400 );
f.setVisible( true );
the version of JDK is 1.6.0b2 on linux
the version of JRE is 1.6.0b2 on windows
But if I compile the java file in windows, then it run ok on windows and linux.
Also the class file can run onther windows system.
I want to know what wrong with my windows system and how to find the solution.
thanksWell I can see a problem, though I don't know
why you should get the symptoms you are getting. You
shouldn't be adding components directly to a JFrame,
you should add them to the content pane
(getContentPane().add(..) )That was changed in JDK 1.5. It's now ok to add directly to the component.
Kaj -
Hello
APEX - 4.1.0.00.32
DB version - 10g
Web server architecture - OHS
Browser - IE8
Theme - 5
I have a working application that I am now trying to move to a production environment that has just been setup. I imported my application and when I try to run
it I get the following:
Error Workspace counld not be identified, please contact System Administrator.
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Technical Info (only visible for developers)
is_internal_error: false
ora_sqlcode: -6502
ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
component.type: APEX_APPLICATION_PROCESSES
component.id: 105096223827837817
component.name: pop_g_workspace
error_backtrace:
ORA-06512: at "SYS.WWV_DBMS_SQL", line 904
ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 618
ORA-06512: at "APEX_040100.WWV_FLOW_PROCESS", line 128
I have tried doing searches for "Workspace counld not be identified", but cannot find any information on
that exact error.
Thanks in advance for any assistance.Hi all,
Thanks for the reply.
I have already install same JINI.exe on Client "PC2" which is on Server "PC1". And the version of the IE and JINI are same on Server "PC1" and Client "PC2".
I start OC4J on Server.
Should i make some settings on JINI Control Panel on Client ? Like Proxies.
I have enable all check box on "Basic" Tab of JINI.
Further, On client, the check Box of "Show Java Console" is also on, but when i try to connect my application from IE, the Java console does not appear.
I would like to inform u that, when i start additional Proxy driver like Analog proxy on my server and then i give that proxy address and port in Client IE connection LAN setting, i am able to run my application from that Client.
But i think that is not the solution.
Waiting for reply. -
Can not run application on mobile
Hi Every One,
I Have developed a j2me web application using wtk 2.5, which takes url to connect in the 'user defined' fields.
Application runs on tool kit, but on installation to mobile(sony Ericson k810i) it doesn't work.
Probably it could not connect to server.
are there any other settings in mobile which I'm missing.
Please help I'm new to j2me.
Thanks in advance....Hi Thanks to reply,
Im using tomcat server to connect ,it dosent throws any exception ,but returns http status code 400.
It means 'The request had bad syntax or was inherently impossible to be satisfied. '
Im using MIDP 2.0 & cldc1.1 configuration. -
phone will not connect with iTunes, so you can not run, and I unlocked it and got the message that it is unlocked and I have to connect with the tunes.
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
Frozen or unresponsive iPad
Resolve these most common issues:
• Display remains black or blank
• Touch screen not responding
• Application unexpectedly closes or freezes
http://www.apple.com/support/ipad/assistant/ipad/
iPad Frozen, not responding, how to fix
http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
iPad: Basic troubleshooting
http://support.apple.com/kb/TS3274
Cheers, Tom -
I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???
Welcome to the Apple Community.
Enter the details of her second account at system preferences> mail, contacts & calendars. -
Hi, I got the problem with Firefox 27.0.1. I can not run Selenium on Firefox after login a website for automation testing. The browser is not responding. However when I close Nunit, the page is back to be normal. The title is returned to the name of website without "not responding". I sure this problem did not happen on Firefox version 26. I just got this problem when firefox upgrading automatically to version 27. Please help me fix this problem because it is very important for my work. If you need more information pls send your concerns via my email address.
Thanks so muchHi, the work around suggested above should put you in working mode in the meantime. However to help investigate the issue it is possible to analyze what is not loading or taking a long time by analyzing the network traffic or http headers of the Nunit web page.
*[https://addons.mozilla.org/en-us/firefox/addon/live-http-headers/]
*Web developer Tools > Web console
If you post the results with out the user data, we are happy to help. -
i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?
You run Windows in Parallels or Fusion. Then in Windows you install the program.
-
I have a pdf file with the added sounds, so I can not run the sound in adobe reader XI on my tablet samsung galaxi pro (android)
Thanks for writing to us. Unfortunately, such advanced javascript support is currently not provided by Adobe Reader for Android.
Thanks,
Adobe Reader Team -
After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!
I see this on Apple's support page:
Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1 -
how many iPhone I can install my application with my apple ID? and is it legal or not??
I believe the limit on how any times an application can be installed has been removed, but, as it stands, there is no limit to the number of installations you can have... just the number of activated installations. For what it sounds like you are doing, there is should not be an issue of hitting a limit even if there is one.
If you are reinstalling on new machines then you probably want to deactivate the current installations before you attempt to activate on the new machines. -
Can not run the J2EE application on webless iAS
Hi:
I have installed iAS on Salaris, and installed a webconnector on IIS which
hosted on different machine.
Now I can run the simple servlet sample, but I can not run the Helloworld
application that I deployed follow the guide. The error message was: socket
receive error (RecvBuffer 1)Don wrote:
Hi:
I have installed iAS on Salaris, and installed a webconnector on IIS which
hosted on different machine.Wow, I did not know that iAS support IIS as the web server. I think SP3
will
allow you to use Apache as well as iPlanet's web server, but I not think
IIS is
supported. Perhaps you should use a supported web server.
Kent
Maybe you are looking for
-
Arrow buttons not working.
Arrow buttons stopped working once I upgraded to Mountain Lion. I thought Mavericks would fix. No luck. Any ideas? If I look in input sources, there are no arrow keys on the keyboard illustrations for US or US extended keyboards.
-
The ipod is disabled when connected to the itunes
the ipod is disabled
-
3550 dot1.x+win2009radius+win7 supplicant
1.48 port Cisco 3550 Series 12.2 with enchanced feature set has to make dot1.x for the clients with windows 7 Pro OS. The radius must be W2008 Standart. 2.WInd2008 NPS is configured with Network policy and appropriate NPS client settings. It works wh
-
Hi, y'all Reckon where contract creation date is in SRM? What table is it on? I've Googled and Googled. Can't find a clue. Any documentation on the tables in SRM? Thanks.
-
Hi SAP gurus, In a construction Industry, projects can be handled by more than one company. In this scenario what is the best Business process to be mapped in SAP. Thanks & regards, Praveen.