cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to deploy Application using NWDS 7.31

Former Member
0 Kudos

Hi All ,

I am unable to deploy web dynpro java application using NWDS 7.31 in NW 7.4 Portal.

I am getting the following error screen.

i have attached the error screen shot and build.log file

Regards,

Nitesh

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

are u using jdk.1.7?

if yes, please change to jdk 1.6

Former Member
0 Kudos

Dear Jun Wu,

The java -version is showing 1.6 in cmd prompt but in the build file i also noticed the same

      [echo]        source: 1.7

      [echo]        target: 1.7

Does some configuration needs to be done in NWDS .

I have done the  required configuration in preferences.

TomXing
Contributor
0 Kudos

Hi Nitesh,

Which version did you set for the project?

BR, Tom

junwu
Active Contributor
0 Kudos

add

-VM

C:/jdk1.6x86/bin/javaw.exe

to your SapNetweaverDeveloperStudio.ini

Former Member
0 Kudos

That is already added in the SapNetweaverDeveloperStudio.ini file


-vm

C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe

0 Kudos

Hi Nitesh,

Are you using windows 7?

If yes, then please try adding JDK1.6  (JAVA_HOME) at the beginning of the Path, in the Environment variable setting.

Do a OS Log-off and login.

Then start the NWDS and  try deploying the application.

This should resolve the issue.

Regards,

Karthika S.

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nitesh,

As a quick workaround, can you use the telnet tool to deploy (check SAP NOTE 1715441).

Hope this helps.

Thank you and have a nice day!

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hi All,

Thanks for your valuable help.

I resolved this issue by re-extracting the nwds in a new folder .

I am able to deploy my application to Portal Now.

The Application is getting deployed and when i try to execute the application which accesses the data from ECC using BAPI it is showing an exception messages in the bottom of the page.

I have already configured the JCO and destinations an the are tested to be OK.

Kindly guide me to get this resolved.

Regards,

Nitesh

vdurgarao09
Contributor
0 Kudos

Hi Nitesh,

1. Check this thread may be help for you.

2. Otherwise Test the BAPI with the same input you gave.If it works, then check the data type of the field you gave in webdynpro.

3. Not resolved your issue means restart the server once after check.

Regards,

Durga Rao.

junwu
Active Contributor
0 Kudos

detail error please

Former Member
0 Kudos

Starting a new thread for this new issue as suggested by Ervin..

vdurgarao09
Contributor
0 Kudos

Hi Nitesh,

The SapNetweaverDeveloperStudio.ini file

-vm

C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe

Just try up to bin only.like C:\Program Files\Java\jdk1.6.0_07\bin

Other wise check the you jdk initialed in C drive   means.Check your system 32bit / 64 bit.

the above path for 64 bit only.

Other wise check this folder(C:\Program Files (x86)) java is available.Available means use this path.

C:\Program Files (x86)\Java\jdk1.6.0_07\bin

Regards,

Durga Rao V.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

JAVA_HOME does not count here.

Other environment variables like PATH does not count either i.e. java -version can be misleading too.

What counts as others mentioned previously is the -vm parameter in the ini file. However often mistyping this parameter (due to whitespace in path and other typos) often the parameter is ignored.

I can suggest this hint: delete the -vm parameter (as well as the next line if the path to javaw.exe is in the next line) and restart nwds. This case nwds will prompt you to browse the javaw.exe. Make sure you browse for a 32bit jdk1.6 one. If the jdk you browse for is not in the x86 version of the program files then you use a not supported 64bit version. JRE is not supported eiher.

Cheers

Ervin