Skip navigation
Currently Being Moderated

Bad Version number in .class file Oracle driver during configuring livecycle ES2 for jboss

Aug 28, 2010 3:40 AM

1)I have ojbdc6.jar in preconfigured jboss 4.2.1 lib folder

2)I have JAVA_HOME set to jdk6 update 21,JBOSS_HOME to jboss

3)Created oracle database user,password...configured oracle-ds.xml ,adobe-ds.xml and login-config.xml as given in the installation guides

4)I have stuck-up at "LiveCycel ES2 Database Initialisation".I have the following...

 

Unable to connect to database;casued by [Could not create connection...

 

Caused by: org.jboss.resource.JBossResourceException: Failed to register driver for: oracle.jdbc.driver.OracleDriver; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: oracle.jdbc.driver.OracleDriver, msg=Bad version number in .class file)

 

Can anyone troubleshoot this...

 

Thanks in advance.

 
Replies
  • Currently Being Moderated
    Aug 28, 2010 10:55 AM   in reply to chandra100100

    Hi,

     

    I would like to know a bit more detail about the environment before I can suggest anything.

     

    1) Operating System

    2) Database Version

    3) Type of installation (Partial Turnkey or Manual, if using Windows)

    4) How are you running the LCM? (Local or Remote mode)

    5) Is your database on the same machine as your application server?

     

    And where exactly are you stuck in the installation?

    The title of the issue says it is during 'Configuring LiveCycle ES2' for JBoss

    However, in the problem description you mention it is at 'LiveCycle ES2 Database Initialization'

     

    If you could provide us a snippet of both the LCM and Server logs then it would really help us troubleshoot the issue.

    Thanks!

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 30, 2010 5:35 AM   in reply to chandra100100

    Hi,

     

    As you must have observed in the 'Task Selection' screen in LCM 'Deploy LiveCycle EARs' option is disabled.

    What this means is that once you have completed the configuration of LiveCycle EARs you would have to manually copy the EARs to JBoss and then start the application server.

    This can be achieved following the steps mentioned below:

     

    1) Copy EARs from /servers/lc_oracle/logs folder.

     

    Once the server is up and running you should proceed with the bootstrap step.

     

    N.B

    A useful suggestion is trying the Partial Turnkey installation which is quick and easy.

    Just one thing to keep in mind though, use ojdbc6.jar because LCM starts with JDK 1.6 in this case.

    In case you give ojdbc5.jar by mistake, verify connection would give Bad .class version errors.

    You'd have to exit LCM, re-launch it and point to the ojdbc6.jar to avoid this issue.

     

    Thanks and Regards

    Hina Rastogi

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points