cancel
Showing results for 
Search instead for 
Did you mean: 

SDM Deployment problem

Former Member
0 Kudos

Hello,

I have recently setup the Netweaver Developer studio on my system.

To test the setup, I created a simple Web Dynpro Application and tried to deploy it on the Application server. I right clicked on the Web Dynpro App and selected "Deploy New Archive and Run".

On doing so, I got the following error in the pop-up -> "An internal error occurred during: "Deploying project(s) 'Test1'". java.lang.NullPointerException

Also I got the following messages on the Deploy View of the Netweaver Developer studio (they are in reverse chronological order) :

Looking for Deploy Controller deploy mechanism...

SDM port not defined or not found

Found SDM host: usdcadocb

Checking for SDM host...

Start deployment

I have also verified that the java application server is running properly and I could see the server process and the SDM process in the Application servers process List.

It would be great if anybody can provide some help on this issue.

Best Regards,

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gaurav,

If you are not able to deploy then check your J2EE Engine credentials.

Host Name and Port.

If you are getting not pointer exception then

Got the stayed line number and handle run time exception using try catch block.

As, Swati said you also check the cardinality and selection.

Regards,

Abhijeet

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

My issue has been resolved.

I think the problem was with the version of Netweaver Development studio that I have been using. I tried using the trial version of NWDS ( CE 7.1) which is available for download from SDN and my problem was solved.

Also I was able to deploy the application through the Deployment Console of the application server so this feature solved my purpose as well.

Best Regards,

Gaurav

Former Member
0 Kudos

hi guarav,

I am also facing the exact issue what you faced earlier with sdm...

how to solve this issue can you help me in that....

thanks,

viswa

Former Member
0 Kudos

Hi Viswa,

Did the developer studio prompt you for SDM password before the beginning of deployment?

If yes, did you enter the correct password?

The Developer studio needs to connect to the SDM with correct login credentials (SDM password) before you can start deploying your application.

The main problem with my setup was that the SDM password that I entered was incorrect.

Let me know about this and then we can proceed with the further steps.

Best Regards,

Gaurav

nitin_mahajan2
Contributor
0 Kudos

Just to reiterate, NWDS for netweaver will not work with CE server.

if your server is CE, use the appropriate NWDS for CE

~Nitin

Former Member
0 Kudos

Hi Gaurav,

I hope you have given the correct hostname & port while configuring SAP J2EE Engine for usage in NWDS. You can verify the same in NWDS (for releases <=7.0 / NW04s) under Window -> Show View -> J2EE Engine

Refer SAP Library http://help.sap.com/saphelp_nw04/helpdata/en/90/c1343e8c7f6329e10000000a114084/frameset.htm

(You can search 'Creating Your First Web Dynpro Application')

Hope this helps you.

Kind Regards,

Nitin

Former Member
0 Kudos

Hi,

Change the cordiality of the value node to 1..n and selection to 1...n

and check..

Regards,

H.V.Swathi

Former Member
0 Kudos

Hi,

From the exception you can find out the line in the code where this null pointer exception occurs.

Please share the code line so that we can help you.

Jithin

Former Member
0 Kudos

Hi,

Did you specify the correct host name and port number in your NWDS? and what is the code you have written in your sample application?