Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set deployment user/password when run a JSP file?

98161Aug 8 2006 — edited Sep 8 2006
I am in JDeveloper 10.1.3.04.
I have a simple web project with an index.jsp. When I right-click on it and run it, the project successfully deployed into the embedded OC4J server and opened default browser to show the web content.
Now, I modified something in the index.jsp and right clieck to run it. I expect it can be re-deployed (hot deploy), but got this error:
**** Unable to obtain password from principals.xml. Using default.
**** Unable to obtain password from principals.xml. Using default.
...\bin\javaw.exe -jar I:\java\JDev1013\j2ee\home\admin.jar ormi://111.111.111.111:23891 oc4jadmin **** -updateConfig
2006-08-08 10:48:30.207 NOTIFICATION J2EE RMI0004 Invalid username or password for default (oc4jadmin). Authentication failed.
Question: how can I reset the deployment username and password. If I have to use oc4jadmin, can I reset the password? If so, how can I change the deployment command to use the changed password?
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2006
Added on Aug 8 2006
3 comments
562 views