我用weblogic10.3部署项目时 散装不没问题。当打成war包部署时出现出现以下问题 。盼望那位大侠救救我。
<2012-2-9 上午11时28分05秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\oracle\Middleware\user_projects\domains\sg186_base_domain\servers\AdminServer\logs\AdminServer.log00006. Log messages will continue to be logged in D:\oracle\Middleware\user_projects\domains\sg186_base_domain\servers\AdminServer\logs\AdminServer.log.>  
<2012-2-9 上午11时28分05秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file D:\oracle\Middleware\user_projects\domains\sg186_base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>  
<2012-2-9 上午11时28分07秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>  
<2012-2-9 上午11时28分09秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>  
<2012-2-9 上午11时28分09秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>  
<2012-2-9 上午11时28分13秒 CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.util.Log4jConfigListener failed: java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded.
java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:137)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>  
log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.XmlWebApplicationContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
<2012-2-9 上午11时28分13秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_SuperMap_war'.
weblogic.application.ModuleException:  
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:137)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>  
<2012-2-9 上午11时28分13秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\oracle\Middleware\user_projects\domains\sg186_base_domain\servers\AdminServer\logs\sg186_base_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>  
<2012-2-9 上午11时28分13秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\oracle\Middleware\user_projects\domains\sg186_base_domain\servers\AdminServer\logs\sg186_base_domain.log00005. Log messages will continue to be logged in D:\oracle\Middleware\user_projects\domains\sg186_base_domain\servers\AdminServer\logs\sg186_base_domain.log.>  
<2012-2-9 上午11时28分13秒 CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>  
<2012-2-9 上午11时28分13秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>  
<2012-2-9 上午11时28分13秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>  
<2012-2-9 上午11时28分20秒 CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.util.Log4jConfigListener failed: java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded.
java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:137)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>  
log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.XmlWebApplicationContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
<2012-2-9 上午11时28分20秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1328758094328' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:  
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:137)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>  
<2012-2-9 上午11时28分20秒 CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application '_appsdir_SuperMap_war'.>  
<2012-2-9 上午11时28分20秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_SuperMap_war'.>  
<2012-2-9 上午11时28分20秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:  
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:137)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>  
<2012-2-9 上午11时28分22秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:8080 for protocols iiop, t3, ldap, snmp, http.>  
<2012-2-9 上午11时28分22秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.17.36.73:8080 for protocols iiop, t3, ldap, snmp, http.>  
<2012-2-9 上午11时28分22秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "sg186_base_domain" running in Development Mode>  
<2012-2-9 上午11时28分22秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>  
<2012-2-9 上午11时28分22秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>