473,807 Members | 2,766 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JDBC-ODBC, ERROR - Security Violation, attempt to use Restricted Class: sun.jdbc.odbc.J dbcOdbcDriver

mp
I just upgraded to Tomcat 4.1.29 and I am receiving the following
error when I connect via ODBC to an oracle database:

java.lang.Class NotFoundExcepti on: Security Violation, attempt to use
Restricted Class: sun.jdbc.odbc.J dbcOdbcDriver

This is a JSP application (NOT an applet).

Does anyone have any idea's what I need to do to fix this?

Thanks in advance :)
Jul 17 '05 #1
1 4118
Did the location of the JDBC driver (the JDBC-ODBC Bridge driver that comes
with Sun JVM) change when you upgraded to the newer version of TomCat?
Maybe a classpath problem?

Larry

"mp" <ni*******@yaho o.com> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
I just upgraded to Tomcat 4.1.29 and I am receiving the following
error when I connect via ODBC to an oracle database:

java.lang.Class NotFoundExcepti on: Security Violation, attempt to use
Restricted Class: sun.jdbc.odbc.J dbcOdbcDriver

This is a JSP application (NOT an applet).

Does anyone have any idea's what I need to do to fix this?

Thanks in advance :)

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6277
by: Melanie | last post by:
Hi For my company I work for I have to read and process files from Excel, Access or MS SQL. This way is no poblem. I use the JDBC/ODBC bridge to make a delimited file (*.csv) and work with that. But now I have to export the processed delimited files back to an Excel file, Access file or in MS SQL. How this will work? Is their a way to use also the JDBC/ODBC bridge? Has anyone some links or tutorials?
4
13877
by: Riccardo | last post by:
Hi, This jsp code doesn't run. Why ? ----------------------------------------------------------- <%@ page import="java.sql.*" %> <%! String Query(String SQL, String DSN) {
0
3306
by: Turloch O'Tierney | last post by:
Hi, I was wondering if the unicode datatypes can be retrieved through the jdbc-odbc bridge using a java client, I am currently getting question marks from NCHAR and NVARCHAR fields, and numbers from my NTEXT field. The server is sql server 2000. Any assistance would be much appreciated. Regards,
1
4118
by: Dr X | last post by:
I have a problem updating date values using Java via JDBC-ODBC to Access. <snip rs.updateTimestamp(theIndex,theTimeStamp); rs.updateRow(); <snip> (where theTimeStamp is a valid Java Timestamp and theIndex is the column index in the resultset.) is the way specified in the Java API. The (very non-specific) error reported
4
4155
by: Izak van Langevelde | last post by:
Shocks. Today I came to learn that Suns jdbc-odbc bridge driver isn't meant for serious purposes; it's experimental. I already knew it isn't thread safe, but didn't think of this as problematic for the relatively simple system I'm using it. However, I suspect there are other issues. Currently I'm stuck with a query which takes less than one second if I run it somewhere in my program's main thread, while it takes easily 40 seconds when I...
7
10569
by: Simon Bond | last post by:
In C# we can go: <foo.cs> // Create a serializable class public class Foo : ISerializable { public void GetObjectData(SerializationInfo info, StreamingContext context) {};
1
2062
by: Larry Epn | last post by:
I've created a project from Microsoft's "club.vsi". I don't want inline code so I've separated all aspx and ascx pages into code-behind pages. I'm compiling the project and continue to get this error: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). It is referring to "LoginBanner" on the first line of the code below. public...
2
2359
by: RAG2007 | last post by:
Hi, I'm running an ADP with SQL Server as back end. On a main form, my subform is coming up blank. When I was running as an mdb with no back end I didn't have this problem. I get an error "Syntax error access violation", and the subform is all white, not even any empty fields. I'm not even sure where to begin to look for the issue. Thanks, any help is appreciated.
8
3074
by: Geoff Cox | last post by:
Hello, I have been using Javascript to access some audio files from another server and there has been no associated problem with IE or FF but Opera gave an error message which led me to read that accessing files from a "foreign" domain name is a security violation for Javascript. This true? If yes, why do all above browsers allow it to happen?! The reason for putting the audio files on another server was to cope
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.