Here's the solution:
1-from the command prompt, stop isqlplus: C:\>isqlplusctl stop
2-assuming that you install Oracle under C Drive, run the following comands: C:\>set oracle_home=c:\oracle\product\10.2.0\db_1
C:\>set JAVA_HOME=%ORACLE_HOME%\JDK
3-change directory to: CD%oracle_home%\oc4j\j2ee\isqlplus\application-deployments\isqlplus
4-suppose You need to create a new user with user name ' Yoyo ' and password ' ch51***** ', run the following command: %java_home%\bin\java-djava.security.properties=%oracle_home%\oc4j\j2ee\home\config\jazn.security.props-jar%O Racle_home%\oc4j\j2ee\home\jazn.jar-user "Isql*plus dba/admin"-password welcome-adduser "ISQL*Plus DBA" Yoyo ch51**** *
5-to Check that adding this new user is successful, run the following command: %java_home%\bin\java-djava.security.properties=%oracle_home%\oc4j\j2ee\home\config\jazn.security.props-jar%O Racle_home%\oc4j\j2ee\home\jazn.jar-user "Isql*plus dba/admin"-password welcome-listusers "ISQL*Plus DBA"
Results:
Admin
Yoyo
6-to grant a user access to the "WEBDBA role" in the command line, enter: %java_home%\bin\java-djava.security.properties=%oracle_home%\oc4j\j2ee\home\config\jazn.security.props-jar%O Racle_home%\oc4j\j2ee\home\jazn.jar-user "Isql*plus dba/admin"-password welcome-grantrole webDba "ISQL*Plus DBA" yoyo
7-now, run start isqlplus again and enjoy it: Isqlplusctl start
8. Revisit: HTTP://HOSTNAME:5560/ISQLPLUS/DBA, give username and password: Yoyo and ch51***** (all lowercase), you can see the Isqlplus login interface, Then provide user name: SYSTEM, Password: ch51*****, connection identification: (Description= (address_list= address= (protocol=tcp) (Host=kcsqlbi) (port=1521)) ) (Connect_data= (SERVICE_NAME=ORCL)), permission Sysdba, you can access it.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.