Paradox JDBC drivers + server?
I've been searching high and low for a small footprint program which contains JDBC drivers and a small DB server that would connect to Paradox DB format files.
So far, the only options that seems to be available for me is:
1. JDBC-ODBC connection, which still requires the Paradox DB or BDE
2. Using Corel's Paradox JDBC drivers, which adds a server and JDBC driver layer on top of the BDE.
These two options requires installation of the BDE, which I'm trying to avoid, since my client needs the software with the smallest possible footprint.
Just to give an idea of what I'm looking for:
http://www.atinav.com/products/aveconnect/DBF.htm
Help pls, anyone?
I thought they could give you best information for the first. Sounds like you don't trust them.
Anyway, your question remembers me to similiar ones asked about accessing e.g. Excel without using Excel itself.
The only possible solution then was to read (or also write - much more difficult) the foreign file format itself.
So you may not search a driver product, but a file format description.
A driver product accessing the files without using Paradox itself would have to re-implement the entire functionality of Paradox (regarding the access, not UI of course).
If someone really has done this, I don't think you'll get it for free.
So I would rather read them directly or - what may be the best - transform the data to another format or DBMS.
Similar Messages
-
Mysql jdbc drivers not found in weblogic server
I want to create a connection pool in weblogic server,
and use mysqldatabase.
My drivers is "org.gjt.mm.mysql.Driver"
I put the jar in "D:\bea\weblogic700\server\lib" ,but when i apply ,there is
an error blow:
Error creating connection pool
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:635)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:419)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)<2003-4-6 ����10��00��34��> <Error> <JDBC> <001060> <Cannot startup connection pool "mssqlserverPool" weblogic.common.ResourceException: Cannot load driver class: org.gjt.mm.mysql.Driver>
Can anybody tell me why,thanks!Weblogic has been designed for nannies...
I've developed a application which uses internally my own jdbc-driver.
After months of really hard work on tomcat (the application works fine) I've tried migrate it to weblogic.
But ...
In weblogic seems mandatory to put the jdbc drivers out of the war!!!. Brilliant!!!
If I move the driver out, I need move the 50% of the application out, also!
If I move part of the application out, nothing works, because... �are the class loaders distinct?. And I'll need to do a lot of extra work because one day one weblogic architect had a great great inspiration.
In the future I'll suggest to my customers to run and not stop when they listen the WEBLOGIC word.
Regards,
Pablo -
*****Error in Microsoft JDBC drivers for SQL Server 2000****
hi guys,
I am getting the following error in my application. The error seems to have thrown by Microsoft JDBC drivers for SQL Server 2000
The application tries to execute the the following query when the error is thorwn:
SELECT getDate(); // getDate is a function which returns currebt date time. The error is thrown occassionally. Other times the same query is executed correctly by the application.
Can any one help with this one.
The error is:
java.lang.NullPointerException
at com.microsoft.jdbc.base.BaseImplStaticCursorResultSet.setupTempFiles(Unknown Source)
at com.microsoft.jdbc.base.BaseImplStaticCursorResultSet.<init>(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.chainInServiceImplResultSets(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.getNextResultSet(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonGetNextResultSet(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
at com.sanderson.tallyman.util.TallymanDB.executeQuery(Unknown Source)
at com.sanderson.tallyman.util.TallymanDB.getCurrentDate(Unknown Source)
at com.sanderson.tallyman.operations.interfaces.RecordUpdateControl.updateRecord(Unknown Source)
at com.sanderson.tallyman.operations.interfaces.DebtInterfaceControl.processUpdate(Unknown Source)
at com.sanderson.tallyman.operations.interfaces.DebtInterfaceControl.processInterface(Unknown Source)
at com.sanderson.tallyman.operations.interfaces.InterfaceHandler$ProcessRecord.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
rgds,Hi,
Did you ever get an answer to this? I am also having this problem. -
How to add support for new JDBC Drivers in WebLogic Server?
Hi!
I am using WebLogic Server 10.
As we know,WebLogic Server contains some jdbc drivers itself,but if we want to use another drivers besides them,what can we do?(I am using Oracle 11g,but WebLogic Server 10 doesn't contain JDBC support for it.)
Just copy the .jar files of the drivers to the directoty "WL_HOME/server/lib" or need to configure something else?
Thanks!
HuangHi!
I am using WebLogic Server 10.
As we know,WebLogic Server contains some jdbc drivers itself,but if we want to use another drivers besides them,what can we do?(I am using Oracle 11g,but WebLogic Server 10 doesn't contain JDBC support for it.)
Just copy the .jar files of the drivers to the directoty "WL_HOME/server/lib" or need to configure something else?
Thanks!
Huang -
Our builds kick off and run integration tests. They are configured to hit a SQL Server Express server.
If the builds have been quiet for a while, the first test to connect fails after stalling for 20 minutes.
Subsequent tests are fine.
Reversing test order does the same thing, with a different test.
We noticed in the SQL Server express log the server saying it is waking up after being idle.
Microsoft SQL Server Express with Microsoft SQL Server JDBC Drivers 4.0.2206.
Connection times out after 20 minutes.Occurs with the first connection made after the SQL Server Express server wakes up from going to sleep.Connections after the first are just fine, until SQL Server Express sleeps.SSL enabled. Timeout duration for the connection failure is unaffected by setting timeout options for the connection. Work around:
cron-like job that runs every minute that makes a simple query on the server keeps the server from going to sleep.
Has anyone else run into this?Hello,
SQL Server Express will go to sleep if idle, this behavior is not configurable.
When SQL Express transitions from idle to active some of the memory that was released needs to be reclaimed; this results is a slight lag during "startup time" when you're first connecting to SQL Express.
The other sort of sleep occurs when a database with AUTO_CLOSE unloading itself after a period of inactivity. This can be resolved by setting AUTO_CLOSE to false.
You can refer to the following blog about more details about this:
http://blogs.msdn.com/b/sqlexpress/archive/2008/02/22/sql-express-behaviors-idle-time-resources-usage-auto-close-and-user-instances.aspx
You can try to upgrade the SQL Server Express to a non-free version to get rid of this.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Are there any JDBC Drivers for SQL Server 2000?
Hello Everyone,
Any news on the JDBC drivers for SQL Server 2000? I know it is not
certified yet but is there a date when it will be.
Which versions of WLS will they work with? Any help is appreciated.
Sincerely,
--LuisHello Michael,
Any news on the JDBC drivers for SQL Server 2000? I know it is not
certified yet but is there a date when it will be.
Which versions of WLS will they work with? Any help is appreciated.
Sincerely,
--Luis
"Michael Girdley" <[email protected]> wrote in message
news:3a6549bb$[email protected]..
Not yet, but they will appear on the web site in about two weeks.
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Stefano Picozzi" <[email protected]> wrote in message
news:[email protected]..
Are there any JDBC Drivers for SQL Server 2000 for Weblogic Server. -
Problem using production version of SQL Server 2005 JDBC drivers
A production version of the Microsoft SQL Server 2005 JDBC driver became available on 1/20/06, and we are having some issues getting it to work with WLS 9.1. The non-XA driver works fine, but when we attempt to use the XA version, we see the error below in our logs. (Note that in the text "status:0 msg:null", the "null" is actually an unprintable character that I was not able to copy/paste.)
We have successfully tested WLS 9.1 with the beta JDBC drivers that were released by Microsoft a number of months ago, so this appears to be a problem with the prod version only (although we had no trouble using the prod drivers with JBoss). We have actually opened a support case for this, but the response we have received thus far has been negligible at best and we really need to get this issue resolved, so I am posting the problem here as well to see if anyone else has encountered it.
Regards,
Sabrina
at ourpackage.OurMDB.onMessage(OurMDB.java:184)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Caused by: ourpackage.OurDBUtil.openConnection(OurDBUtil.java:130)
... 11 more
Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start() failed on resource 'OurXADataSource': XA_OK
javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: xp_sqljdbc_xa_init failure, status:0 msg:null.
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:679)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1160)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1093)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:496)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:428)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1390)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
at ourpackage.OurMDB.onMessage(OurMDB.java:184)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1395)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
at ourpackage.OurMDB.onMessage(OurMDB.java:184)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1327)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
... 12 moreSabrinaL wrote:
A production version of the Microsoft SQL Server 2005 JDBC driver became available on 1/20/06, and we are having some issues getting it to work with WLS 9.1. The non-XA driver works fine, but when we attempt to use the XA version, we see the error below in our logs. (Note that in the text "status:0 msg:null", the "null" is actually an unprintable character that I was not able to copy/paste.)
We have successfully tested WLS 9.1 with the beta JDBC drivers that were released by Microsoft a number of months ago, so this appears to be a problem with the prod version only (although we had no trouble using the prod drivers with JBoss). We have actually opened a support case for this, but the response we have received thus far has been negligible at best and we really need to get this issue resolved, so I am posting the problem here as well to see if anyone else has encountered it.
Regards,
SabrinaHi. Have you done all the XA-related install for the new MS driver? (put the XA
dll in the DBMS environment etc)? Is your DBMS on a 32-bit machine or 64-bit machine?
Does the driver present a dll for each of those? You can also get good JDBC help
from MS via their microsoft.public.sqlserver.jdbcdriver newsgroup.
Joe Weinstein at BEA
>
at ourpackage.OurMDB.onMessage(OurMDB.java:184)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Caused by: ourpackage.OurDBUtil.openConnection(OurDBUtil.java:130)
... 11 more
Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start() failed on resource 'OurXADataSource': XA_OK
javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: xp_sqljdbc_xa_init failure, status:0 msg:null.
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:679)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1160)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1093)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:496)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:428)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1390)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
at ourpackage.OurMDB.onMessage(OurMDB.java:184)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1395)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
at ourpackage.OurMDB.onMessage(OurMDB.java:184)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1327)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
... 12 more -
JDBC drivers for SQL Server 2008 and PI7.0
HI,
I have deployed the JDBC drivers (sqljdbc.jar and sqljdbc4.jar) available for the SQL Server 2008 from the microsoft website as described in the how to document for deploying and configuring JDBC and JMS adapters.
I am running a JDBC to FIle(XML) scenario. When I go and see on the RWB CC monitoring, I get this error
Error during database connection to the database URL 'jdbc:sqlserver://hostname:1433;databaseName=123_Nagasatya' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://hostname:1433;databaseName=123_Nagasatya': UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)'
WRT to the SQL server the port 1433 is open on the host and there is no firewall on the PI server as well as the SQL Server. Both are on different machines.Any help would be greatly appreciated.
Regards.Hi Sujan,
This is the link.
[JDBC|http://www.microsoft.com/downloads/details.aspx?familyid=c47053eb-3b64-4794-950d-81e1ec91c1ba&displaylang=en]
or
You can also use the one on the market place.
Go to http://service.sap.com/msplatforms -> SQL Server
get zip-file sqljdbc_12_hotfix.zip contains the sqljdbc.jar file.
It should work.
Please let me know if you have any questions.
Regards. -
JDBC drivers for SQL Server 2008 and NW 7.00 (UD connect)
HI, we recently updated a UD connect Source DB fronm SQL Server 2000 to 2008; currently struggling to find a compatible JDBC driver; does anyone have a UD connect or PI system connected to a SQL 2008 DB via JDBC drivers?
[http://go.microsoft.com/fwlink/?LinkId=144633&clcid=0x409]
[http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9#tm] -
Installing JDBC Drivers on SQL Server 2008 r2
I am unable to create JDBC data source on Web logic server ;the system displays the error that "can not load the jdbc drivers". The web logic server has to be configured to start or deploy the server for primavera contract management.
I am not getting why this configuration not possible.
Please let me know how to create the JDBC data source on the Web logic configuration for primavera contract management.Hello,
If you wan to connect to SQL Server 2008 R2 database from your java application, you should download and install Microsoft JDBC Driver for SQL Server from the following link:
http://www.microsoft.com/en-in/download/details.aspx?id=11774
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Microsoft JDBC SQL Server Drivers
I want to use the Microsoft JDBC SQL Server Drivers. I know they are not supported.
What do I need to do to my 9iAS install so that my reports can use this JDBC connection.
I have 5 simple reports I want to run from a very simnple menu. I want to hide the JDBC connection in the URL. But I want the report to use the URL to connect to a MS SQL Server 200 database and generate a report that was created using Reports Builder.
Obviosly I am new to all of this. And someone else is doing the 9iAS install.
What do I need to do to get this going?
Thanks for any help.
JeanneI am now using mth Merant SQL Server JDBC Driver.
But I still get the following error when running from the URL from my local OC4J.
I have added classpath of YM*.jar files to rwEng and rwUrlEng in rep_<myserver>.conf.
Why can't it find the drivers?
Thanks.
Reports Error Page
Wed May 28 10:08:52 PDT 2003
javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source. JDBCPDS-62008:com.oracle.ias.jdbc.sqlserver.SQLServerDriver
javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source.
JDBCPDS-62008:com.oracle.ias.jdbc.sqlserver.SQLServerDriver
at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
at test.WLBNTemp._jspService(_WLBNTemp.java:85)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:508)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:255)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64) -
Using INET and DATADIRECT JDBC Drivers to connect MS SQL Server 2005
Hi,
I have reqmt to connect SQL server 2005 from ODI using INET and DATADIRECT JDBC drivers to test Local characters Encoding.
In my case, Oracle is the Source and SQL Server 2005 is the Target. I have problem while interfacing Local Characters to SQL Server 2005 using com.microsoft.sqlserver.jdbc.SQLServerDriver driver( which is default driver provided by ODI). To fix local charatcters issue, I want to try using INET or DATADIRECT JDBC drivers. Please provide me the below of any one has used these Drivers to connect SQL Server 2005 from ODI.
We are trying to connect to MS SQL Server 2005 from ODI Topology Mgr using INET and DATADIRECT JDBC Drivers. We need the following info to connect to the same,
--> What are list of the drivers need to be placed in OraHome_1\oracledi\drivers path?
--> Where can i get the latest driver versions.
--> What are the JDBC DRIVER and URL formats.
--> Any other additional configurations?
--> Does these drivers support interfacing of Local character data.
Please respond...
Regards,
AnilCheck this article [HOW TO: SQL & JAVA|http://www.shahriarnk.com/Shahriar-N-K-Research-Embedding-SQL-in-C-Sharp-Java.html] for details on how to connect to SQL Server database from C#.NET database applications as well as Java database applications. It also describes how to pass embedded SQL queries (SELECT, INSERT, UPDATE, DELETE), calling stored procedures, pass parameters etc.
-
Hi everyone,
I use the following code to list JDBC drivers on my system.
private static void listDrivers() {
//Get all the JDBC drivers
Enumeration<Driver> driverList = DriverManager.getDrivers();
//print out all the drivers using a loop
while (driverList.hasMoreElements()) {
Driver jdbcDriver = (Driver)driverList.nextElement();
System.out.println("JDBC Driver: " + jdbcDriver);
It lists JDBC-ODBC bridge:
JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver@19efb05
After I installed Microsoft SQL Server JDBC driver. I ran the above program again. Expecting it would return this new driver as well. But, the output is still the same.
Why??? What did I do wrong? How do I get the program to list all the JDBC drivers on my system?
Thanks in advance for your help!
Ericjwenting wrote:
Where you went wrong was in assuming that just having a jar somewhere on your computer will automatically put it on the classpath of your little application.
Or maybe you went wrong in assuming that jdbc magically detects any jar anywhere on your computer that has a driver in it without being told where to look for that jar.Well, there's that. But, there is also the fact,OP, that the API docs says that the method getDrivers returns all currently loaded Drivers. In other words, OP, even if the jar is on your Classpath, getDrivers won't list it until you've done Class.forName("DriverClass") or DriverManager.registerDriver("DriverClass").
IOW, OP, read the API docs.
Edit: And, no, there is no Class/method (AFAIK) that will search your classpath for any/all possible Driver classes. -
JAR files for SQLJ and JDBC drivers: what is the best practice?
starting a migration from IAS 10 to WebLogic 11g.
Apparently the jar files for SQLJ are not on the classpath by default.
java.lang.NoClassDefFoundError: sqlj/runtime/ref/DefaultContextwhich is the better practice: putting the SQLJ runtime jar into the lib subdirectory of the domain directory, or using a shared library reference? (usage of SQLJ is pretty prevalent in our apps, though we may be getting away from it)
are the Oracle JDBC drivers on the classpath by default?
if not, then the same question: put them into the lib subdirectory of the domain directory, or use a shared library reference?I'm looking at the setDomainEnv, especially the big note at the top:
>
# WARNING: This file is created by the Configuration Wizard.
# Any changes to this script may be lost when adding extensions to this configuration.
>
and am getting squeamish about editing it...
http://www.bea-weblogic.com/how-do-i-disable-wls-automatically-adding-to-classpath.html looks like the default behaviour is for WebLogic to put $DOMAIN/lib;$WL_HOME/common/lib/ext;$WL_HOME/server/lib/ext on the classpath; there is also a reference to setting weblogic.ext.dirs= when starting weblogic (which means I set the WEBLOGIC_EXTENSION_DIRS environment variable).
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/libraries.html#wp1067450 also refers at the bottom to using the domain /lib subdirectory.
so am I correct that a good practice is to just put the jars I think I will globally need into $DOMAIN/lib, rather than putting them in $WL_HOME/common/lib/ext, $WL_HOME/server/lib/ext, or fiddling with the WEBLOGIC_EXTENSION_DIRS environment variable?
Edited by: user8652010 on Feb 10, 2011 1:08 PM -
Oracle10g Jdbc Drivers issue with EJB on Weblogic 7
Hi there,
We are facing a critical issue on production environment related to Oracle jdbc drivers.
We have a J2EE application with swing client. We are using MVC framework where client calls go to stateless session bean which redirect it to specific POJO which then uses Entity Beans for persistence.
We have following environment.
JDK1.4.2, Weblogic 7 with SP5, Oracle10g on AIX 5.2
Now the problem is that we were using Oracle 8 jdbc driver classes12.zip for our application. Everything was working smoothly. Recently we moved our weblogic and oracle Servers machines locations, after that movement we started to get an exception when weblogic initializing connection pool that makes connection to a different oracle10g database. Oracle supports ask us to upgrade the jdbc driver. So we moved to 10g driver ojdbc14.jar but during testing one functionality is failing with a exception where rest of application seems to be working fine. The exception occurs when we try to post a record and during the creation of a child entity bean the transactions rollback for some unknown reasons. Using the old oracle8 classes12.zip driver the same code working fine again. We have also tried the classes12.zip driver of Oracle10g but error persist. I have checked the code and deployment descriptors but they seems fine. If i comment the creation of that particular entity bean the parent bean get created successfully and transaction commit successfully. Please also note that we have not created any relation b/w both entity beans not even in the database. They both are sort of independent.
Can any one having any idea why Oracle10g driver not working or what might be the problem with our configuration. Any help will be highly appreciated. Please see the Exception below.
<Jan 29, 2008 6:03:10 PM PKT> <Info> <EJB> <010036> <Exception from ejbStore: javax.ejb.NoSuchEntityException: Instance
of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHist
oryEntityPK@93e447fa' not found.
javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup
.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.
at com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.__
WL_store(SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.java:2208)
at com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.ej
bStore(SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.java:2012)
at weblogic.ejb20.manager.DBManager.storeBean(DBManager.java(Compiled Code))
at weblogic.ejb20.manager.DBManager.beforeCompletion(DBManager.java(Compiled Code))
at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java(Compiled Code))
at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java(Compiled Code))
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager
$TxListener@44a824cd
Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityR
atingHistoryEntityPK@93e447fa' not found. - with nested exception:
[javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setu
p.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.]
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java(Compiled Code))
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java(Compiled Code))
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java(Compiled Code))
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java(Compiled Code))
at com.cdc.fms.server.common.ConsolidatorSessionBean_fz4673_ELOImpl.processRequest(ConsolidatorSessionBean_fz467
3_ELOImpl.java:57)
at com.cdc.fms.server.common.GatewaySessionBean.processRequest(Unknown Source)
at com.cdc.fms.server.common.GatewaySessionBean_oehtlw_EOImpl.processRequest(GatewaySessionBean_oehtlw_EOImpl.ja
va:407)
at com.cdc.fms.server.common.GatewaySessionBean_oehtlw_EOImpl_WLSkel.invoke(Unknown Source)
<Jan 29, 2008 6:03:10 PM PKT> <Info> <EJB> <010051> <EJB Exception during invocation from home: com.cdc.fms.server.commo
n.GatewaySessionBean_oehtlw_HomeImpl@3e13a4aa threw exception: javax.ejb.EJBException: nested exception is: weblogic.tra
nsaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@
44a824cd
Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityR
atingHistoryEntityPK@93e447fa' not found. - with nested exception:
[javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setu
p.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.]
javax.ejb.EJBException: nested exception is: weblogic.transaction.RollbackException: Unexpected exception in beforeCompl
etion: sync=weblogic.ejb20.internal.TxManager$TxListener@44a824cd
##################################################################weblogic 7? when the current production version is 10.2?
don't play yourself. fund a project to upgrade your weblogic version.
can't tell based on what you've posted, and I fear that the stuff you'll have to post to get an answer here will be too much. this isn't a good place to come for an answer.
%
Maybe you are looking for
-
How many posts can *you* create in one hour ?
s Raj has successfully created 7 posts within 30 minutes. Now I understand using this forum for getting config / errors resolved, but that kind of rapid fire posting does not seem right. It could be a newbie that is just trying to understand and get
-
I have an iPad, and connect to the internet through my verizon router. I would like to connect through my iMac's WiFi. I'm not sure how to set this up. Can anyone help me? I'm not a computer pro by any stretch of the imagination, so if you could keep
-
i just download and installed photoshop elements 13 and premiere 13 but it wont open/launch... help!?
-
Hi Group, I am using BAPI ,How to display the BAPI Error Message (eg:BAPIRET1) which is returning by BAPI
-
Delete serial number in adobe master collection cs5 the install again in Windows 7
Hi, I have a huge problem, when I formatting my pc (windows 7) and when i re-install the adobe master collection cs5 original, and the serial number what i have don´t serve Can i do something about this? Greetings from Chile