cancel
Showing results for 
Search instead for 
Did you mean: 

Standard Port for Visual Administrator

Former Member
0 Kudos

Hi,

I´m trying to login to WebAS with the Visual Administrator and everytime I get the Errormessage:

javax.security.auth.login.LoginException: com.sap.engine.services.rmi_p4.P4IOException: Unable to Open Connection.

Root Exception :java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine

I Login with the parameters:

Port 500

Layers: No Layer

I think this is not the right port. Which port should I choose, to get a successful login.

I want to debug my webservice and look, what´s going wrong.

I tried to communicate with the webservice with a Java-Client now... the Stub has been generatet fine... but when I try to call a method of the service I get back an HTML-Page containig the Error:

Internal Server Error 500 -

Element /myWS_Calculat or/Config/myWS_Calculator not found in com.sap.engine.services.webservices.runti me.registry.RuntimeRegistry! Additional information: No details available.

what I´m doing wrong?

Thanks and Regards

Jürgen

PS: can you provide me with some more Information about the soon coming WebAS 6.40; I´m writing a seminar paper about "SAP and Webservices" .... it would be very nice to have some information what´s going on in this field.

Accepted Solutions (0)

Answers (5)

Answers (5)

stefan_seemann
Employee
Employee
0 Kudos

Hello,

unfortunately there is a bug inside of the webdbm. So it is not possible to change passwords or create further DBM users via WEBDBM. It will be fixed in version 7.5.0 Build 14. But you can always use the Database Manager GUI ( DBMGUI ).

You can download the latest version of MaxDB tools from

the SAP Service Marketplace:

http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000059278&;

Best regards, Stefan Seemann

For questions about MaxDB please browse to

the new SDN MaxDB forum:

Former Member
0 Kudos

When I unlocked the Administrator account, I changed the password to "sap". When I tried to deploy a .ear file in NetWeaver, it returned a DeployManagerException (see below). How can I see or change the password that NetWeaver sends to the deploy manager?

-


Execution of deployment action for "QuickCarRentalApplication" aborted:

Caught exception during application deployment from SAP J2EE Engine's deploy API:

com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [...] with UserName: [Administrator] Check your Login Info. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials

Former Member
0 Kudos

Unfortunately, I have a same problem. How can I solve this problem ?

Former Member
0 Kudos

I have no access to SAP Note(#669848). I having similar problems.

Please send the detailed description on how to unlock the password and log on to the Visual Administrator. I did not install the SAP EP 6.0 instance. But it is based on SAP J2EE I do not see SAP Web AS.

I tried to use configtool.bat to make UME LDAP settings but I do not see the functionality to let me do so

Thanks

Faisal

Former Member
0 Kudos

I just saw the weblog "How To Unlock Your Java Admin" by Benny Schaich-Lebek. This guided me to unlock the WAS Admin account.

I still cannot login with telnet localhost 50008, and still I have no valid DB users/password combination. I would appreciate your help.

Former Member
0 Kudos

I have installed WAS 6.40, and I want to use SQLStudio and the J2EE Admin tool, however, I do not know any working user/password combination for the DB, nor for the J2EE server.

1 - In SAPMMC I can bring up the Web DBM page, bring the database online. If I click the link "Users" (group "Configuration"), a list with the following users comes up: CONTROL, SUPERDBA and DOMAIN. I do not know the passwords of these DB users.

With the button "Add user" I can create a new user, but if I want to grant it any server right, or give it a non-empty password, saving results in an error message "-24996 Wrong parameter". The same happens when I wnat to change an existing users.

2 - Likewise, I cannot login using "telnet localhost 50008".

3 - In the ..\JC00\J2EE\Admin directory I can launch go.bat. Then a login dialog comes up with user name "Adminstrator". I can fill in the password "sap" but the result after pressing "Connect" is that the status area shows a red exclamation mark, and with the button next to it a Task Error dialog comes up showing the error message "com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized."

4 - I cannot find the note about unlocking (#669848). Where are these notes?

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Jürgen,

what made you think that anything works with port 500 on the server? (unless you configured it that way of course...).

The standard http port for the plain Java Engine is 50000. If you are connecting with Visual Admin you're using P4 protocoll and this is on 50004. (I'm talking about version 6.30/6.40, before that ist was acompletely different game)

However, this ports should be configured if you chose the default connection you are asked for in the very first start of VA.

Regards,

Benny

Former Member
0 Kudos

Hello Benny,

thanks a lot for your direct answer.

I don´t think that anything works with port 500, I only found this port in my VA when starting it... I have no idea how it changed from 5004 to 500...

My other problem was, trying to connect with a JAVA-Client to my webservice I got the errormessage: Internal server Error 500 - see above (also 500, but has nothing to do with the port

Now I tried to connect on port 50004, but got the same error.

--

javax.security.auth.login.LoginException: com.sap.engine.services.rmi_p4.P4IOException: Unable to Open Connection.

Root Exception :java.net.ConnectException: Connection refused: connect

--

Could you say me how to find out, which port is the right one.

I run sneak preview WebAS developer edition - sneak preview 2.0 von Win XP (so I have 6.30).

kind regards

Jürgen

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

there are several possibilities:

1. Are you sure your server does run at all? Watch the console and see if everything is green. If not start the server. If it doesn't start see if the DB runs and start it if necessary.

2.Did you login as Administrator password sap ?  This is somtehing that has changed since 6.20 and some people get tricked by this one.

If this also does not work, then please give me all the values you can see on the login screen.

Regards,

Benny

Former Member
0 Kudos

Hello Benny!

about 1.: server run´s at all... alle database-Icons in SAPMMC are green

about 2.: Here are the parameters I login with:

but today I got another failure-message:

com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.

--> this sounds like the password isn´t correct.

User Name: Administrator

Password: sap

Host: localhost

Port: 50004

Transport Layers: No Layer

Regards,

Jürgen

zubev
Employee
Employee
0 Kudos

Hi Jürgen,

Maybe this could help you:

Ports problem: In order to list the port numbers of all protocols, connect with telnet to the dispatcher and execute the LSP command.

The default telnet session can be opened with telnet localhost 50008 or right click on the dispatcher process in SAPMMC

WS problem: Unfortunately, in the Sneak preview debugging of WS is a little bit tricky operation. What you can do is:

1. Set the severity of all WS locations to level DEBUG, send a new request to the WS and see the log files. Set back the severity level to a higher, due to this will decrease the performance.

2. If the request does not passes via https, start a tunnel program between the client and the server.

Hope this helps

Best regards,

Alexander

Former Member
0 Kudos

Hi Alexander,

I tried to connect to the Telnet Administration of SAP J2EE Engine 6.30 like you said, but I have the same problem.

I will login with Administrator / sap and get the message, that User and Password Authorization failed!

---

Where can I set the severity of WS location to other levels (in Developer Studio, ?)

thanks and

regards,

Jürgen

Former Member
0 Kudos

Hello Jürgen,

I think that your Administrator user is locked due to all your unsuccessful previous attempts to login. There is a note how to unlock it (#669848).  If you don't have access to the notes I can write you a short description how to do it. Are you sure that your password is sap?

Kind Regards

Vyara

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

In addition it could be that your license has expired!

That means that the server just runs about half an hour (to give you a chance to add a license) and then goes down.

Regards,

Benny

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

And Again.

How did you get this version, by the way? Are you in ramp up?

If so there should be an SAP consultant or support at your side. Please contact them as this more and more seems to me be something weird.

Regards,

Benny

Former Member
0 Kudos

Hello Vyara, Hello Benny!

Vyara´s hint brought me to goal.

by trying to login with the false Admin-Password (i tried 06071992 and it was sap) I locked the account)... the procedure described in Hint (#669848) has the solution.

thanks a lot.

-

-


Furthermore I found out what caused the "500 Internal Server Errror-Failure"

Setting the severity of the webservice with VA to "Debug", I found out, while generating the JAVA-Proxy.jar the WebAS sets the endpoint-variable to a false value:

Coding from generated ConfigBindingStub.java

########

...

super._setEndpoint("http://192.168.10.7:50000/myWS_Calculator/Config/myWS_Calculator/Config?style=rpc");

...

########

this variable points to an URI with 2 times "myWS_Calculator/Config" (/Config)

canging this parameter in alle files with endpoint-variable to:

super._setEndpoint("http://192.168.10.7:50000/Config/myWS_Calculator/Config?style=rpc");

is the solution ... the Webservice works fine then

thanks all the people that helped me; geat job

kind regards

Jürgen

zubev
Employee
Employee
0 Kudos

Hi Jürgen,

Yes, long time ago we had this problem. I thought there was a fix for the Sneak Preview.

But never mind, get the new Sneak Preview once it is available.

Best regards,

Alexander

Former Member
0 Kudos

Hi,

seems that we're having the same problem:

I've installed WAS 6.40, SAPMMC shows everything green (except the DB is blue ), the first HTML page is ok, but I can't login (which login/pw should work?)

The visual admin (\usr\sap\J2E\JC00\j2ee\admin\go.bat) starts but I can't login using Administrator/sap.

Could you please post the description for unlocking the login.

Thanks,

Alex

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Alex

> Hi,

> seems that we're having the same problem:

> I've installed WAS 6.40, SAPMMC shows everything

> green (except the DB is blue ), the first HTML

> page is ok, but I can't login (which login/pw should

> work?)

Try Administrator pass: sap, or depending the version the password you gave the system on installation.

> The visual admin

> (\usr\sap\J2E\JC00\j2ee\admin\go.bat) starts but I

> can't login using Administrator/sap.

Then this one does not work and depends on the password you entered.

>

> Could you please post the description for unlocking

> the login.

It is in sap's oss system under the earlier mentioned number.

Regards,

Benny