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: 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
D:/Documents and Settings/Administrator>g: G:/>cd jdev9052/jdev/bin G:/jdev9052/jdev/bin>start_oc4j
正常情况下,将显示以下信息:
Starting OC4J with command: D:/Java/jdk1.5.0/bin/java.exe -jar oc4j.jar 04/11/20 22:44:37 Auto-deploying file:/G:/jdev9052_org/j2ee/home/applications/dm s0/ (New server version detected)... 04/11/20 22:44:37 Auto-deploying file:/G:/jdev9052_org/j2ee/home/default-web-app / (New server version detected)... 04/11/20 22:44:37 Auto-deploying file:/G:/jdev9052_org/j2ee/home/applications/dm s/ (New server version detected)... 04/11/20 22:44:37 Auto-deploying file:/G:/jdev9052_org/BC4J/redist/bc4j/webapp/ (New server version detected)... 04/11/20 22:44:37 Auto-deploying file:/G:/jdev9052_org/soap/lib/soap/soap/ (New server version detected)... 04/11/20 22:44:45 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized