[ Team LiB ] |
Creating Your Own Startup ScriptsTo start WebLogic Server, you can create your own startup scripts. When creating your scripts, use the generated default scripts as a guide. There are three issues to address when creating start scripts: classpath, config.xml, and weblogic.Server command. Ensure that you set your classpath properly to include the JDK certified for use with the WebLogic 8 series server, currently JDK 1.4.1_02. Ensure that server name used within your start scripts is reflected in your config.xml file, which is generated during your installation. Finally, pass the proper parameters to the weblogic.Server Java application that actually starts WebLogic Server as shown here Admin server e:\bea\jdk141_02\bin\java" -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Dweblogic .Name=admin -Dweblogic.management.username=<username> -Dweblogic.management .password=<password> -Dweblogic.ProductionModeEnabled=false -Djava.security.policy="e:\bea \weblogic81\server\lib\weblogic.policy" weblogic.Server Managed server e:\bea\jdk141_02\bin\java" -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Dweblogic.Name="server1" -Dweblogic.management.username=<username> -Dweblogic.management .password=<password> -Dweblogic.management.server="http://127.0.0.1:7001" -Dweblogic .ProductionModeEnabled=false -Djava.security.policy="e:\bea\weblogic81\server\lib\weblogic .policy" weblogic.Server Refer to Table 2.3 for descriptions of commonly used weblogic.Server parameters.
Further details about weblogic.Server parameters can be found on the BEA documentation site at http://e-docs.bea.com/wls/docs81/admin_ref/weblogicServer.html. |
[ Team LiB ] |