在config.xml里可以有如下的配置:<ShutdownClass ClassName="com.bea.shutdown.stopPointBaseServer" Name="StopPointBaseServer" Notes="This class automatically stops PointBase when the server is shut down." Targets="petstoreServer"/> <StartupClass Arguments="port=7001" ClassName="com.bea.estore.startup.StartBrowser" FailureIsFatal="false" Name="StartBrowser" Notes="On Windows, this class automatically starts a browser after the server has finished booting." Targets="petstoreServer"/>
Name="StopPointBaseServer"
Notes="This class automatically stops PointBase when the server is shut down." Targets="petstoreServer"/>
<StartupClass Arguments="port=7001"
ClassName="com.bea.estore.startup.StartBrowser"
FailureIsFatal="false" Name="StartBrowser"
Notes="On Windows, this class automatically starts a browser after the server has finished booting." Targets="petstoreServer"/>