The issue mentioned above is shown below:
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console
*
***************************************************
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32, compiled mode)
Starting WLS with line:
/u01/apps/oracle/product/bea/WLI103/jrockit_160_05/bin/java -jrockit -Xms256m -Xmx512m -da
-Dplatform.home=/u01/apps/oracle/product/bea/WLI103/wlserver_10.3
-Dwls.home=/u01/apps/oracle/product/bea/WLI103/wlserver_10.3/server
-Dweblogic.home=/u01/apps/oracle/product/bea/WLI103/wlserver_10.3/server
-Dweblogic.management.discover=true -Dwlw.iterativeDev=false
-Dwlw.testConsole=false -Dwlw.logErrorsToConsole=
-Dweblogic.ext.dirs=/u01/apps/oracle/product/bea/WLI103/patch_wlw1030/profiles/d
efault/sysext_manifest_classpath:/u01/apps/oracle/product/bea/WLI103/patch_wls10
30/profiles/default/sysext_manifest_classpath:/u01/apps/oracle/product/bea/WLI10
3/patch_wlp1030/profiles/default/sysext_manifest_classpath:/u01/apps/oracle/prod
uct/bea/WLI103/patch_cie670/profiles/default/sysext_manifest_classpath:/u01/apps/oracle/product/bea/WLI103/patch_alsb1031/profiles/default/sysext_manifest_classpath -Dweblogic.Name=oerServer
-Djava.security.policy=/u01/apps/oracle/product/bea/WLI103/wlserver_10.3/server/
lib/weblogic.policy weblogic.Server
Version R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32 from BEA Systems, Inc.>
WebLogic Server Temporary Patch for 8408837 Fri Apr 03 17:01:18 EDT 2009
WebLogic Server Temporary Patch for CR378781, CR380313 Fri Sep 19 13:34:16 PDT 2008
WebLogic Server Temporary Patch for CR381056 Mon Oct 06 10:48:50 EDT 2008
WebLogic Server Temporary Patch for CR374413, CR378680 Tue Sep 02 09:55:36 PDT 2008
WebLogic Server Temporary Patch for CR378102 Wed Sep 10 23:28:48 PDT 2008
WebLogic Server Temporary Patch for CR378741 Tue Sep 09 13:08:51 PDT 2008
WebLogic Server Temporary Patch for CR376251 Wed Aug 06 09:19:34 PDT 2008
WebLogic Server Temporary Patch for CR371247 Sat Aug 09 20:10:38 PDT 2008
WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
WebLogic Server Temporary Patch for CR376759 Thu Aug 14 14:53:02 PDT 2008
WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
Enter username to boot WebLogic server:admin
-bash: admin: command not found
[1]+ Stopped ./startWebLogic.sh
The weblogic startup script prompts for a username. On typing the username the script fails.
Cause:
The weblogic startup script is expecting the weblogic admin username and password which it should be picking from the boot.properties file.The file should be present in the following location:
/u01/apps/oracle/product/bea/WLI103/user_projects/domains/oer_domain/servers/oerServer/security/
The file was not present here as the installation by some chance/error does not create it. So it was unable to start the weblogic server.
Resolution:
1. Go to directory /u01/apps/oracle/product/bea/WLI103/user_projects/domains/oer_domain/servers/oerServer/security/
2. Create a file using vi command named boot.properties
3. Enter the following to the file:
Username=weblogic #Weblogic admin username
Password=weblogic #Weblogic admin password
4. Save the file
5. Go to /u01/apps/oracle/product/bea/WLI103/user_projects/domains/wl_server/bin
6. Issue the command ./startWeblogic.sh &
This time the issue is resolved.You will be able to start the weblogic server without issues.
Let me know if you have any doubts...
Happy Learning
Soumya
Oracle Fusion middleware
No comments:
Post a Comment