cancel
Showing results for 
Search instead for 
Did you mean: 

Major.Minor Exception when deploying from NWDS, No exception when using CBS

Former Member
0 Kudos

Hello all,

I have set up a track to develop in Web Dynpro 7.0 using the track wizard.

I've inserted the 3 software components that a WD DC depends on from our portal (We're using Portal 7 SP 18).

Im currently testing the NWDI Configuration so the Deploy server that is set up in NWDS (7.0.14) is the same as the one that is set up in the track as development system.

If I use the NWDS context menu to deploy the DC (Development Component->BUILD, DEPLOY), I get the following error:

"'Unsupported major.minor version 49.0'.

However, If i check-in the track, release the activity and then activate it (thus use the CBS in the nwdi to deploy the track), everything works fine.

According to my basis team, the java sdk version for 7.0 in the NWDI is 1.4.2.18, I previously had 1.5.0.16 on my computer but I downloaded 1.4.2.18 and it still doesnt work.

I cant figure out this error, since it is the same system that builds the DC.

thanks for any help,

Eli

Edited by: Eli Eren on Jan 10, 2011 4:01 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member214355
Contributor
0 Kudos

Hello Eli

The issue occurs on the because many of the class files were

compiled with the 1.5 JDK. Now that you've reverted back to the 1.4.2

JDK these previously compiled class files are not compatible.

To fix the issue we need to force the regeneration of the class

files under the 1.4.2 JDK. You've already reverted the JDK, so

to force the regeneration of the class files you will need to stop

the central instance. In the directory structure of j2ee please

move or rename the server node directories (./j2ee/cluster/server<#>).

Once the directories are moved please restart the central instance.

During startup the server node directories and all sub directories

will be recreated along with class recompilation. Keep the backed

up server node directories until you are sure that the applications

are functioning correctly.

Thanks

Kenny

Former Member
0 Kudos

Hi ,

How does deleting files from the server0 make sense if it doesnt work on re-deplioying the project ?

I rebuilt the project (this should recompile the project using the current JDK on my computer).

Also, if the CBS builds the project, it does work , and this should also happen using the project's files.

thanks again.

former_member214355
Contributor
0 Kudos

Hi Eli

To document how the problem was solved for the benefit of other users;

NWDS build is done locally on your machine using the build plugin

shipped with your NWDS. CBS contrarily executes the build separately

on the CBS server using the configured JDK version.

CBS seems to be configured correctly in your case.

NWDS seems to use wrong version (1.5) of JDK to build the same DCs.

Check the shortcut you use to start NWDS - That

shortcut should contain a "-vm" parameter pointing to the correct JVM

version.

Thanks

Kenny

Answers (0)