D:/Documents and Settings/Administrator>g: G:/>cd jdev9052/j2ee/home G:/jdev9052/j2ee/home>java -jar oc4j.jar –install 正常情况下,该命令将显示如下信息:
Auto-unpacking G:/jdev9052_org/j2ee/home/applications/dms0.war... done. Auto-unpacking G:/jdev9052_org/j2ee/home/applications/dms.war... done. Auto-unpacking G:/jdev9052_org/BC4J/redist/bc4j.ear... done. Auto-unpacking G:/jdev9052_org/BC4J/redist/bc4j/webapp.war... done. Auto-deploying bc4j (New server version detected)... Auto-unpacking G:/jdev9052_org/soap/lib/soap.ear... done. Auto-unpacking G:/jdev9052_org/soap/lib/soap/soap.war... done. Auto-deploying soap (New server version detected)... To enable in-process jsp compilation (which can be faster in some cases), please add the path to your tools.jar in application.xml Example: <library path="../../../jdk/lib/tools.jar" /> Enter an admin passWord to use: 1234 Confirm admin password: 1234 If you are using J2SE 1.4 or higher, please ensure that all your imported classe s are within packages, as required by the Java Language Specification. Installation done 在上述过程中,需要输入两次应用服务器治理员用户admin的密码,这里为了便于记忆,设置治理员密码为1234。