求救:Struts2.0+weblogic9.2的启动问题

hyalxm 2008-10-08 03:42:01
请各位帮忙看看什么问题,困扰的我要崩溃。
环境:Struts2+weblogic9.2+MyEclipse6.0
在MyEclipse中启动wlg总是报这错误(我已经把Struts2.0包引入了)
不胜感激。
<2008-10-8 下午03时34分20秒 CST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\bea9.2\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\bea9.2\weblogic92\platform\lib\p13n\p13n_common.jar;C:\bea9.2\weblogic92\platform\lib\p13n\p13n_system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\commerce_system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\content_system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\groupspace_system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\netuix_common.jar;C:\bea9.2\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\bea9.2\weblogic92\platform\lib\wlp\netuix_system-full.jar;C:\bea9.2\weblogic92\platform\lib\wlp\netuix_system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\nf-jspcmods.jar;C:\bea9.2\weblogic92\platform\lib\wlp\nf-system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\wlp-schemas.jar;C:\bea9.2\weblogic92\platform\lib\wlp\wps_system.jar;C:\bea9.2\weblogic92\platform\lib\wlp\wsrp-client.jar;C:\bea9.2\weblogic92\platform\lib\wlp\wsrp-common.jar>
<2008-10-8 下午03时34分21秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
<2008-10-8 下午03时34分21秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 >
<2008-10-8 下午03时34分23秒 CST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\bea9.2\license.bea>
<2008-10-8 下午03时34分23秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2008-10-8 下午03时34分23秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2008-10-8 下午03时34分23秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea9.2\user_projects\domains\opdomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<2008-10-8 下午03时34分24秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<2008-10-8 下午03时34分26秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2008-10-8 下午03时34分26秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
2008-10-08 15:34:27,906 (SetCharacterEncodingFilter.java:60) INFO com.csair.commons.filters.SetCharacterEncodingFilter - [系统初始化][初始化编码过滤器]编码字符集:GBK
<2008-10-8 下午03时34分27秒 CST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: weblogic.servlet.internal.WebAppServletContext@95f75 - appName: '_appsdir_OperWeb_dir', name: 'OperWeb', context-path: '' org.apache.Struts2.dispatcher.FilterDispatcher.
java.lang.ClassNotFoundException: org.apache.Struts2.dispatcher.FilterDispatcher
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<2008-10-8 下午03时34分27秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_OperWeb_dir'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: org.apache.Struts2.dispatcher.FilterDispatcher
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<2008-10-8 下午03时34分27秒 CST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<2008-10-8 下午03时34分28秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<2008-10-8 下午03时34分28秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<2008-10-8 下午03时34分29秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, http.>
<2008-10-8 下午03时34分29秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.108.19.66:7001 for protocols iiop, t3, ldap, http.>
<2008-10-8 下午03时34分29秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "opdomain" running in Development Mode>
<2008-10-8 下午03时34分29秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2008-10-8 下午03时34分29秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
...全文
747 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
taigx007 2010-09-08
  • 打赏
  • 举报
回复
应该是你配置出错,你的jdk应该用1.4版本的,并且编译环境应该是1.4,不能是5.0,可以改改看!
gamous 2010-05-08
  • 打赏
  • 举报
回复
顶,高手呢?
hyalxm 2008-10-08
  • 打赏
  • 举报
回复
请高手不吝赐教啊.......
hyalxm 2008-10-08
  • 打赏
  • 举报
回复
web.xml配置文件内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>OperWeb</display-name>
<filter>
<filter-name>SetCharacterEncodingFilter</filter-name>
<filter-class>com.csair.commons.filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>SetCharacterEncodingFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>SetCharacterEncodingFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.Struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>DbConnectionProviderInitServlet</servlet-name>
<servlet-class>com.csair.commons.properties.DbConnectionProviderInitServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>Log4jInitServlet</servlet-name>
<servlet-class>com.csair.commons.properties.Log4jInitServlet</servlet-class>
<init-param>
<param-name>log4j.init.filename</param-name>
<param-value>/WEB-INF/classes/log4j.properties</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>SysPropertiesLoaderServlet</servlet-name>
<servlet-class>com.csair.commons.properties.SysPropertiesLoaderServlet</servlet-class>
<init-param>
<param-name>system.properties.filename</param-name>
<param-value>/WEB-INF/classes/op.properties</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

67,538

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧