Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 3

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

View solution in original post

4 Replies

Avatar

Level 3

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!

Avatar

Level 2

Thanks for the response.

I would like to shift the the livecyclees2 installation away from the livecyle client such as workspace,desinger and all.

So i tried the same scenario in a seperate environmnet but i have almost the same problem.

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) Following are the additional details which you asked.

    a)Platform :Windows Server 2003 R2

    b)Database: Oracle 10g

    c)Type of Installation: Manual

    d) LCM :same location where JBoss resides

    e)Database :Remote ie away from JBoss

5)At  "Initialise LiveCycel ES2 Database " task in LCM  after  manually deployed the ear's created in "export" directory.

"Bootstrapping Error ALC-TTN-104-002 :Could not connect to bootstrap servlet,the request URL was not found on server. Is Adobe LiveCycle deployed ?

Please note that the error now is different as i tried in a seperate environment (not on workstation,but in windows server 2003)

Looking for your valuable reply...

Avatar

Correct answer by
Level 3

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

Avatar

Level 2

I guess the problem is with Jboss and its jar's deployed(to deploy folder).Should it allow login to lcds admin panel after successfull deployment independent of

LCM.If it should be,there i have stuck-up.I have tried increasing JVM options in jboss in run.bat "set JAVA_HEAP_ARGS=-XX:PermSize=512m -XX:MaxPermSize=512m -Xms1024m -Xmx1024m"

I had a successfull attempt with Turnkey but i don't know what's happening to this.

Continue to reply...