- This topic has 9 replies, 2 voices, and was last updated 10 years, 2 months ago by support-pradeep.
-
AuthorPosts
-
hretterMemberI can start Websphere from within MyEclipse, but if I quit and restart MyEclipse, if I select the server and ‘Update Server Status’, I get this error. I suspect it’s because MyEclipse Blue is not running under the Websphere JRE. How can I modify the eclipse-blue.ini to run under the Websphere JRE?
ADMU0116I: Tool information is being logged in file
C:\IBM\WebSphere\wp_profile\logs\WebSphere_Portal\serverStatus.log
ADMU0128I: Starting tool with the wp_profile profile
ADMU0500I: Retrieving server status for WebSphere_Portal
ADMU0002E: Exception attempting to process server WebSphere_Portal:
javax.management.JMRuntimeException: ADMN0022E: Access is denied for
the getState operation on Server MBean because of insufficient or
empty credentials.
support-pradeepMemberhretter,
The error ‘ADMU0022E’ indicates that the WAS admin user or password has been changed or not authenticated correctly.
Do you have administrative security enabled on the WebSphere profile that you are using from MyEclipse? If yes, make sure that the username and password credentials are added correctly.
Please take a look at this thread which discusses the similar issue.
It is recommended that you don’t enable administrative security for a development system.
Hope this helps.
hretterMemberThanks, Pradeep. I switched off security in WAS but I still get the error. While installing a version of Eclipse, I remember getting a warning when trying to configure the connection to WAS that because security was enabled, Eclipse had to be running under the same jdk that WAS was running. With Eclipse, this is done in the eclipse.ini file. How can I do the same under MyEclipseIDE?
hretterMemberFound the solution. In myeclipse-blue.ini, change the line after -vm to point to IBM’s javaw.exe:
-vm
C:\IBM\WebSphere\AppServer\java\jre\bin\javaw.exeOur application depends on security being enabled, so we cannot run WAS without security.
hretterMemberActually, that did not work. It turns out I did not save the ini file.
support-pradeepMemberhretter,
Actually, that did not work. It turns out I did not save the ini file.
Can you please clarify whether the problem was solved after saving the myeclipseblue.ini file ?
If you are still facing problems, can you please check that the ‘user name’ doesn’t have any trailing or leading spaces ?
hretterMemberIt still does not work after saving .ini file. There are no spaces before nor after the name and password. Thanks.
support-pradeepMemberhretter,
As mentioned in one of my earlier response, the issue seems to be with credentials. Update server status is an IBMs process and it has nothing to do with Websphere JVM.
Can you please check your App server (Admin console, management, etc.) security settings and Portal app (Portlet deployment, Portal management) security settings (username and password) ?
If the App server and Portal server security settings are different, then on Portal preference page (Window > Preferences > MyEclipse > Servers > Websphere Blue connectors > Websphere Portal X) you need to add the App server username and password and on Websphere Portal X > Advanced Settings, you need to enable ‘Specify portal security’ and add the Portal server username and password.
If the App server and Portal server security settings are same, then there is no need to ‘Specify Portal Security’ under advanced settings
If you are still seeing issues, can you please share your MyEclipse installation details from MyEclipse > Installation Summary > Installation details. Also, share the Websphere portal server version you are using.
Hope this helps.
hretterMemberThis message appears when I try to add a WAS server while running the ide under Oracle jdk:
“Secure servers are only supported with IBM JRE 6.0 or above. Use the IBM JRE from the product installation image.”
I have checked and the login and password are correct.[/img]
Attachments:
You must be logged in to view attached files.
support-pradeepMemberhretter,
1. To help us investigate further, can you please share your MyEclipse Installation details from MyEclipse > Installation Summary > Installation details ? Also, please clarify how did you install MyEclipse. Is it using offline installer / online installer / eclipse update site ?
2. Please share the Websphere portal server version you are using.
3. Please send me a private message (pm) with your MyEclipse license information.
-
AuthorPosts