on 05-14-2010 7:34 AM
Hi All,
I am basically a java developer but trying to learn webdynpro on my own. For this purpose, i downloaded some tutorials from internet and installed SAP Netweaver Developer Studio 7.0. I developed one "hello world" kind application and tried to run but i got an error message like this. "The Java server name and port number are not configured properly. Please check your settings under Preferences->SAP J2EE Engine"
After this error, i configured J2EE engine with message server host as localhost and message server port as 3601. Still, i get the error as "Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !"
Now i am stuck with this error as dont know if i am required to install some other software or do some change in settings somewhere. Someone in this forum has advised to some other person to run mmc.exe in windows/system32 but when i run mmc.exe, it shows nothing.
Please suggest what am i supposed to do now. My teammates are completely unaware of webdynpro and i have just started.
Thanks in advance
Edited by: h.mohan on May 14, 2010 8:35 AM
Hi Mohan,
Once you update the SAP J2EE Engine Details in Wndow >> Preference >> SAP J2EE Engine .
You need to check J2EE Engine, Open Window >> Show View >> Others >> J2EE >> J2EE Engine. Check the server nodes or green or not.
For Message server host & port information
http://<host>:<port>/sap/monitoring/SystemInfo
If not, then you need to restart your server and reset your SDM password using below steps
SDM Password Change
1. enter SDM directory as: cd C:\usr\sap\<YOUR SERVER SID>\JC00\SDM\program
2. Execute the following sdm jstartup "sdmhome=C:\usr\sap\<YOUR SERVER SID>\JC00\SDM\program" "mode=standalone"
3. Execute following line sdm changepassword "sdmhome=C:\usr\sap/J2E/JC00/SDM/program" "newpassword=<ENTER NEW PASSWORD>"
4. SDM back to integrated mode
sdm jstartup "sdmhome=C:\usr\sap\<YOUR SERVER SID>\JC00\SDM\program" "mode=integrated"
5. Start SDM - StartServer.bat
Then try to deploy with new SDM password might helps.
Hope it helps
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Arun and deepak for your useful inputs but unfortunately i couldnt solve the problem. I have searched a lot on this forum about this problem but none of the solutions suggested seems to work for me even though i have followed the steps:
I have given message server host as localhost and message server port as 3601 under "windows->preferences->SAP J2EE engine is installed on remote host". If i try to select "SAP J2EE engine is installed on localhost" and browse afterwards, i get another error as "No local engine could be found......".
There is no directory as "c:/usr" or a file "startserver.bat" in my system. When i select the J2EE engine view, i can see an icon for a Remote engine but there is nothing inside it when i expand the node( it shows N/A). I have set the settings under "windows->preferences->SAP Enterprise Portal" by giving details as follows
alias-localhost
host-localhost
port-50000
login-administrator
description-admin
I read somewhere that if we go to "windows->preferences->SAP J2EE engine",we get something called "J2EE instance00" but in my system nothing is there.
When i type the url "http://localhost:50000/sap/monitoring/SystemInfo" the page is not opened.
Where do we provide entries for SDM host and port? I have logged in as administrator.
As in case of Eclipse,we specify path for the JBOss/Tomcat server after installing those, do we have to do the same thing in webdynpro too, i mean installing some server and providing the path in preferences?
Also, i am not developing for a client project but for my learning on my pc, hence i cant connect to any remote server;working with localhost is the only way for me.
Please help me out in this as i am stuck from many days and nothing seems to work out till now.
By d way, h.mohan is me only. I created that ID when i was unable to log in through this id.
Edited by: Harshit_in_SAP on May 14, 2010 1:12 PM
Edited by: Harshit_in_SAP on May 14, 2010 1:26 PM
Hi Harshit,
Please try to check whether your server is up or not in SAP MMC.
Then check you able to open http://<host - localhost or <SID>>:<port> or not.
Then update you host file with server IP and host name.
Then try to update SAP J2EE Engine details in NWDS once server is UP
Hope it helps
Regards
Arun
Thanks Arun,
I exactly dont know where to find SAP MMC. If you are taking about the one which is in windows->System32->mmc, then i have already tried that which shows nothing inside it.
Also when i type url http://localhost:3601 the page doesnt open.
Please excuse my ignorance about this but can you pls tell where to set the host details like name and port number.
Please suggest.
Edited by: Harshit_in_SAP on May 14, 2010 1:44 PM
Thanks Arun for the response,
I have not installed anything apart from Netweaver Studio and i want to deploy the application on my local computer. I guess, i need to install WAS server. Please confirm if i am right and guide if i am required to have any other software too for runing the application.
Hi Harshit,
Yes, you need to install SAP J2EE Engine Server for deploying from NWDS.
Download Trial Version : [EHP1 for SAP NetWeaver Composition Environment 7.1|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/00846edd-355b-2b10-f38c-df94ec96eb74]
[Install & Configure SAP NetWeaver Composition Environment 7.1 ehp1|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b057d7e3-b89e-2b10-1e9e-c426e967f8e1]
For that you need to install JDK Java EE 5 Edition FIRST before installing.
Hope it helps
Regards
Arun
Hi Mohan,
The Java server name and port number are not configured properly. Please check your settings under Preferences->SAP J2EE Engine---this error meaning is from Your NWDS editor you have to define the Web Application/J2EE servers details, name and message port number to deploy application.
Deployment exception: Cannot determine sdm host (is empty). Please configure your engine/sdm correctly--SDM mean software deployment manager you have to define this too.
IN your NWDS go to menu:- Windows>preferences>SAP J2EE Engine-->define SAP J2EE engine details.
Once you define this in the bottom of your NWDS editor J2EE Engine tab will be there , select this you will be able to see the server node icon with SDM details configured.
Take help of Basis team for the basic configuration.
/************************/
Check the following configuration .
1. Go to Menu Windows->Preferences. Select SAP J2EE Engine. Than Select the Option "SAP J2EE engine install on local host" and than Click on Browse button and Select Local Engine Installed on Your Machine.
2. After that Go to SAP Management Console. Start the Local Engine.
3. To do this all configurations you should be logged as an admin user.
/*********************/
Refer below links:-
Take help from www.help.sap.com-->sap netweaver and explore the SAP world. You will get lots of solution.
Hope this may help you.
Deepak!!!
Edited by: Deepak Arora on May 14, 2010 9:01 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.