Hello,

I have a RIFE/CRUD app which works fine on my local machine with JDK
1.6.  I am using the Rifejumpstart distribution v1.6 dated 29/6/07 with
Netbeans 5.5 (I downloaded the Rife JDK 1.6 JAR and have put that on the
classpath).  This works beautifully.

Because (at least temporarily) I am going to have to deploy on a live
server with JDK 1.5, I have tried building my app for this Java
platform.  I have downloaded the Rife JDK 1.5 JAR (the CRUD JARs are ok 
for 1.5/1.6 apparently), set my source level to 1.5 and switched
platform to JDK 1.5.  However, when I run my app I get the following
error:

com.uwyn.rife.database.exceptions.DatabaseException

java.lang.ClassNotFoundException: com.uwyn.rife.database.DbResultSet40

at  com.uwyn.rife.database.DbStatement     wrapWithDbResultSet  
        ( DbStatement.java : 1442 )
at  com.uwyn.rife.database.DbStatement     setResultset  
        ( DbStatement.java : 1418 )
at  com.uwyn.rife.database.DbPreparedStatement     executeQuery 
        ( DbPreparedStatement.java : 190 )
at  com.uwyn.rife.database.DbQueryManager          executeQuery  
        ( DbQueryManager.java : 198 )
at  com.uwyn.rife.database.DbQueryManager          executeHasResultRows 
        ( DbQueryManager.java : 275 )
at  com.uwyn.rife.database.DbQueryManager          executeGetFirstInt  
        ( DbQueryManager.java : 831 )
at  com.uwyn.rife.database.DbQueryManager          executeGetFirstInt  
        ( DbQueryManager.java : 790 )
at 
com.uwyn.rife.database.querymanagers.generic.AbstractGenericQueryManager
           _count       ( AbstractGenericQueryManager.java : 1382 )
at 
com.uwyn.rife.database.querymanagers.generic.databasedrivers.generic    
  count         ( generic.java : 326 )
at 
com.uwyn.rife.database.querymanagers.generic.GenericQueryManagerDelegate
           count        ( GenericQueryManagerDelegate.java : 169 )
at  com.uwyn.rife.crud.elements.admin.Browse       countEntities  
        ( Browse.java : 140 )
at  com.uwyn.rife.crud.elements.admin.Browse$1    
useTransactionWithoutResult     ( Browse.java : 70 )
at  com.uwyn.rife.database.DbTransactionUserWithoutResult         
useTransaction          ( DbTransactionUserWithoutResult.java : 43 )
at  com.uwyn.rife.database.DbQueryManager          inTransaction  
        ( DbQueryManager.java : 2784 )
at  com.uwyn.rife.crud.elements.admin.Browse       processElement  
        ( Browse.java : 55 )
at  com.uwyn.rife.engine.ElementContext            processContext  
        ( ElementContext.java : 460 )
at  com.uwyn.rife.engine.RequestState      service      (
RequestState.java : 368 )
22 more ...

java.lang.ClassNotFoundException

com.uwyn.rife.database.DbResultSet40

at  java.net.URLClassLoader$1      run          ( URLClassLoader.java :
200 )
at  java.security.AccessController         doPrivileged         (
AccessController.java )
at  java.net.URLClassLoader        findClass    ( URLClassLoader.java :
188 )
at  java.lang.ClassLoader          loadClass    ( ClassLoader.java : 306
)
at  sun.misc.Launcher$AppClassLoader       loadClass    ( Launcher.java
: 276 )
at  java.lang.ClassLoader          loadClass    ( ClassLoader.java : 251
)
at  java.lang.ClassLoader          findSystemClass      (
ClassLoader.java : 882 )
at  com.uwyn.rife.engine.EngineClassLoader         loadClass    (
EngineClassLoader.java : 665 )
at  com.uwyn.rife.engine.EngineClassLoader         loadClass    (
EngineClassLoader.java : 182 )
at  java.lang.ClassLoader          loadClass    ( ClassLoader.java : 251
)
at  java.lang.ClassLoader          loadClassInternal    (
ClassLoader.java : 319 )
at  java.lang.Class        forName0     ( Class.java )
at  java.lang.Class        forName      ( Class.java : 169 )
at  com.uwyn.rife.database.DbStatement     wrapWithDbResultSet  
        ( DbStatement.java : 1429 )
at  com.uwyn.rife.database.DbStatement     setResultset  
        ( DbStatement.java : 1418 )
at  com.uwyn.rife.database.DbPreparedStatement     executeQuery 
        ( DbPreparedStatement.java : 190 )
at  com.uwyn.rife.database.DbQueryManager          executeQuery  
        ( DbQueryManager.java : 198 )
35 more ...

This entry in the mail archives:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg03204.html 

Seems to suggest mixing of 1.5 and 1.6 JARs.  I am definitely using
rife-1.6-jdk15.jar in my deployed app.  Can anyone help here?

Thank you,

David Herbert
British Antarctic Survey.

--  
This message (and any attachments) is for the recipient only.  NERC is subject
to the Freedom of Information Act 2000 and the contents of this email and any
reply you make may be disclosed by NERC unless it is exempt from release under
the Act.  Any material supplied to NERC may be stored in an electronic
records management system.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to