----------------------------- Please read the FAQ! <http://java.apache.org/faq/> ----------------------------- oops, bad enconding -- sending in again.. =/ --- Ulisses Montenegro NEWStorm - http://www.newstorm.com.br/ ----- Original Message ----- From: Ulisses Montenegro <[EMAIL PROTECTED]> To: Java Apache Users <[EMAIL PROTECTED]> Sent: Monday, October 04, 1999 4:54 PM Subject: JServ & ADO | first and foremost, i really cannot garantee that the problem i am having is | really related to jserv, but it is my last, because running the trouble code | locally gives me no problem at all, it just blows up when using jserv (btw, | jserv 1.0 -- ado is windows-only technology, and as there is no jserv-1.1 | for windows yet...) | | well, ado is a database access method for windows platforms, meant to | suplement odbc. our product supports local database access through the | jdbc-odbc bridge, but performance with that is almost ridiculous. so we | decided to give ado a try. our code runs just fine outside jserv -- i can | query sql server or access databases, and get the correct results. however, | when a servlet make exactly the same requests, i get an | 'IllegalAccessException'. The exact message is | | [04/10/1999 16:43:28:390 GMT-03:00] java.lang.IllegalAccessError: | com/ms/wfc/data/AdoException has been marked as nonpublic to untrusted code. | at org/apache/jserv/JServServletManager.load_init | (JServServletManager.java) | at org/apache/jserv/JServServletManager.loadServlet | (JServServletManager.java) | at org/apache/jserv/JServConnection.processRequest (JServConnection.java) | at org/apache/jserv/JServConnection.run (JServConnection.java) | at java/lang/Thread.run (Thread.java) | | this exception is throw whenever we try to use any of the com.ms.wfc.data | classes. something bad happens underneath, and jserv cannot even throw an | AdoException. browsing through microsoft's and jdk's documentation we | quickly found out that means we are having trouble with the security | manager. so we tried to check if we had any security manager at the time of | the call, but it is set to null. anyone has experience running jserv with | ado? | | btw, we are trying to make of this an jdbc-ado bridge, which should have | much better performance under windows than that possible with odbc, and | released for public use. if anyone is interested in helping us out, it would | be greatly appreciated. =) | | and as for those who saw my posts about linux previously -- well, you can't | always develop for what you love. =) | | []'s | Ulisses | | --- | Ulisses Montenegro | NEWStorm - http://www.newstorm.com.br/ | -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]