AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problema applet su oracle9

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Tommy Gun
Guest





PostPosted: Tue Jul 29, 2003 9:40 am    Post subject: problema applet su oracle9 Reply with quote



Sto avendo problemi astronomici per affettuare un porting di un'applet che
si collega ad un database oracle (tramite jdbc).

Da: Windows NT + oracle7.3 (jdk1.3) ------> A: Windows2000 + oracle
9.2.0.1 (jdk 1.4)

Su NT ed oracle7.3 tutto funzionava alla perfezione. Adesso (nel
funzionamento da applet) mi dice che non trova le cassi driver nel database
necessarie.

Ecco il messaggio di errore che mi da nella Java console di explorer:

Error loading class: oracle.jdbc.OracleDriver
java.lang.NoClassDefFoundError
Error loading class: oracle.jdbc.OracleDriver
java.lang.NoClassDefFoundError
Intercettata eccezione (on Logon - IntervApplet): oracle.jdbc.OracleDriver
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at interventi/IntervApplet.button1_actionPerformed
at interventi/IntervApplet$1.actionPerformed
at java/awt/Button.processActionEvent
at java/awt/Button.processEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Component.dispatchEvent
at java/awt/EventDispatchThread.run

Il jdbc del server funziona, infatti da applicazione si connette, quindi...

questa è la linea html che utilizzo per la mia applet:

<APPLET CODEBASE="." CODE="interventi.IntervApplet.class"
archive="interventi.zip" WIDTH="400" HEIGHT="250" HSPACE="0" VSPACE="0"
ALIGN="middle">
</APPLET>

e l'archivio zippato contiene pure le classi oracle (decompattate) con i
driver.

Grazie in anticipo per le risposte.


Fabio



** Articolo inviato tramite i servizi gratuiti di www.x-privat.org **

Back to top
Simone Sarzano
Guest





PostPosted: Fri Aug 01, 2003 8:32 am    Post subject: Re: problema applet su oracle9 Reply with quote



Prova a vedere se classes12.zip o classes12.jar è nel classpath.
Simone


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.