on 2005 Jun 04 11:27 AM
Hello,
will any one of u give me the steps to deploy a servlet with eclipse on portal server(J2EE Engine),
in help of eclipse they given as, whole webapplication deployement, but that is also giving me a error, the procedure they given is, once we created a .war file for our servlet project we need to refer this to a .Ear file, and then this Ear can be deployed in to the server. Is it the same and only procedure to deploy a servlet with eclipse, or if there is any other method,please give me the steps also.
when i am deploying with the .Ear file, it is giving the error as,
Jun 4, 2005 11:34:31 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
but the sdm is working on the server with the same host, and local deployement is also done successfully, but from my system im not able to deploy!
Thanks&Regards,
Sireesha.
Hi
Open your Eclipe then
Window -> Preferences -> SAP J2EE Engine
If your system is not the SAP WAS system then select
"SAP J2EE engine is installed on remote system"
In Message server Host and port input box give your server name and port
server Host will be ip address of that pc
server port will be 3601
Click Apply and OK
Now when you deploy your .ear file first time it will ask you SDK password.. defult will be "sdk"
Rgds,
Raj
PS: Please consider rewarding points if the answer was helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for ur answer, but i did the same thing, J2EE engien communication is started and the sdm password is accepted, but when im trying to deploy, it is giving error as ,
Jun 4, 2005 11:34:31 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
but the sdm is working on the server with the same host, and local deployement is also done successfully, but from my system im not able to deploy!
so please help me in this error, what might be the problem here?
Thanks&Regards,
Sireesha.
Hi,
There may be problem with your message server host or port..
The port number of the message server. The default is the standard value 3600 plus the instance number of the SCS instance(not the J2EE instance). The default value is correct if no other programs or SAP Systems are running on the host.
Open You eclipe and goto Windows -> Show View -> J2EE Engine
Are you able to see your J2EE clusters in this view??
Rgds,
Raj
Yeah, i am able to see the J2EE engine clusters, there the message server port is given as 3601. becoz scs instance number is 1 here. so it is not the problem,
the error it is giving as,
Jun 6, 2005 11:37:28 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : obtdev9
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/sireesha.b/LOCALS1/Temp/temp56446MyServletEAR.ear
Deployment exception : Server obtdev9 did not accept login request as apiadmin on port 50018 - CmdXmlFactory could not find Top Element within String: "null".
Inner exception was :
Server obtdev9 did not accept login request as apiadmin on port 50018 - CmdXmlFactory could not find Top Element within String: "null".
is this may be the problem with port number?
i am not knowing what is happening here...
if you know the exact error based on the error messgae please help me,
thanks to u for helping in this problem,
Regards,
sireesha.
Hi,
Try this:
1. Open hosts file under WINNT\system32\drivers\etc folder.
2. Add the entry: <host_ip> sapportal, where <host_ip> is the ip of the machine of your portal installation. You should set the entry like the localhost entry you already have there.
3. Restart Netweaver Developer Studio and try to deploy.
Or instead of giving SDM host: obtdev9 give actual IP address
Rgds,
Raj
Hi,
I'm also trying to run a servlet using eclipse but I can't seem to find a documentation. I'm also running it in eportal 6.0 sp2.
Can some point me to a right direction for documentation.
Where do I change web.xml in portal.
An example of all *.par project.
do I have to use *.war or *.ear?
Please advise.
thanks
Jen
User | Count |
---|---|
59 | |
10 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.