[Seasar-user:2589] SAXNotRecognizedExceptionについて

RedHat0j @ finepix6900z
2005年 9月 20日 (火) 22:30:26 JST


はじめまして。RedHat0jと申します。
OTNの方へも投稿しており、マルチになりますがご容赦ください。


環境
・windows2003server
・oracle10gAS(10.1.2)or(10.1.3)
・oracle10gDB(10.1.0.3)

・Seasar2 2.2.10
・S2Struts1.1.5
・S2DAO1.0.28
・JDK1.4.2_8


で運用予定のアプリケーションを構築しております。

アプリケーションの中でSeasar2を使用しているため、
中でcommons.digesterを使用していますが、パーサー取得関連で下記のログの通り
落ちてしまいます。

ログの内容からXerces2関連かなと思っています。
commons.digesterをよく知らず、ソースを解析しようと試みつつも
まだ、JAVAに慣れておらず、効率よく進みません。
そこで、玄人の皆さんのお知恵をいただければと思い投稿しました。


http://otndnld.oracle.co.jp/products/ias/htdocs/OC4J_FAQ_904/OC4J-FAQ-
904.htmlの25番(Oracle9用ですが)をみるとXerces2を使用するとサポートさ
れなくなるとあるため
、なんとかOracleのXMLパーサー群(xmlparserv2.jar)を使用して運用したいの
ですが、どなたか解決方法をご存知の方はいらっしゃませんでしょうか?




「エラーログ」10.1.3を使用している場合(デプロイ済みのため起動時にエラー)

D:\oc4j_extended_1013_dp4\bin>oc4j -start
Starting OC4J from D:\oc4j_extended_1013_dp4\j2ee\home ...
05/09/20 10:24:19 Node started with id=41852708523948
DEBUG 2005-09-20 10:24:53,494 [OC4J Launcher] interface 
org.seasar.struts.action
..ActionFactory has already been registered.
DEBUG 2005-09-20 10:24:53,504 [OC4J Launcher] interface 
org.seasar.struts.action
..ComponentNameCreator has already been registered.
DEBUG 2005-09-20 10:24:53,504 [OC4J Launcher] interface 
org.seasar.struts.util.C
lassRegister has already been registered.
DEBUG 2005-09-20 10:24:53,504 [OC4J Launcher] interface 
org.seasar.struts.proces
sor.Acceptor has already been registered.
DEBUG 2005-09-20 10:24:53,504 [OC4J Launcher] interface 
org.seasar.struts.proces
sor.ActionExecuteProcessor has already been registered.
DEBUG 2005-09-20 10:24:53,504 [OC4J Launcher] interface 
org.seasar.struts.proces
sor.RequestProcessorFactory has already been registered.
2005-09-20 10:24:53,755 [OC4J Launcher] ERROR 
org.apache.commons.digester.Digest
er - Digester.getParser:
org.xml.sax.SAXNotRecognizedException: 
http://apache.org/xml/features/validation
/dynamic
        at oracle.xml.jaxp.JXSAXParserFactory.setFeature
(JXSAXParserFactory.java
:128)
        at 
org.apache.commons.digester.parser.XercesParser.configureXerces(Xerce
sParser.java:185)
        at 
org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesPa
rser.java:138)
        at 
org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(P
arserFeatureSetterFactory.java:71)
        at org.apache.commons.digester.Digester.getParser
(Digester.java:692)
        at org.apache.commons.digester.Digester.getXMLReader
(Digester.java:899)
        at org.apache.commons.digester.Digester.parse
(Digester.java:1647)
        at 
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:738)
        at org.apache.struts.action.ActionServlet.initModuleConfig
(ActionServlet
..java:687)
        at org.apache.struts.action.ActionServlet.init
(ActionServlet.java:333)
        at org.seasar.struts.servlet.S2ActionServlet.init
(S2ActionServlet.java:4
6)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at com.evermind.server.http.HttpApplication.loadServlet
(HttpApplication.
java:2178)
        at com.evermind.server.http.HttpApplication.findServlet
(HttpApplication.
java:4514)
        at com.evermind.server.http.HttpApplication.findServlet
(HttpApplication.
java:4438)
        at 
com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
ication.java:4627)
        at com.evermind.server.http.HttpApplication.initDynamic
(HttpApplication.
java:982)
        at com.evermind.server.http.HttpApplication.<init>
(HttpApplication.java:
614)
        at 
com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:429)
        at com.evermind.server.Application.getHttpApplication
(Application.java:5
04)
        at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1957)
        at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1876)
        at com.evermind.server.http.HttpSite.initApplications
(HttpSite.java:620)

        at com.evermind.server.http.HttpSite.setConfig
(HttpSite.java:303)
        at com.evermind.server.http.HttpServer.setSites
(HttpServer.java:275)
        at com.evermind.server.http.HttpServer.setConfig
(HttpServer.java:181)
        at com.evermind.server.ApplicationServer.initializeHttp
(ApplicationServe
r.java:2045)
        at com.evermind.server.ApplicationServer.setConfig
(ApplicationServer.jav
a:816)
        at com.evermind.server.ApplicationServerLauncher.run
(ApplicationServerLa
uncher.java:98)
        at java.lang.Thread.run(Thread.java:534)
2005-09-20 10:24:53,775 [OC4J Launcher] ERROR 
org.apache.struts.action.ActionSer
vlet - Unable to initialize Struts ActionServlet due to an unexpected 
exception
or error thrown, so marking the servlet as unavailable.  Most likely, 
this is du
e to an incorrect or missing library dependency.
java.lang.NullPointerException
        at org.apache.commons.digester.Digester.getXMLReader
(Digester.java:899)
        at org.apache.commons.digester.Digester.parse
(Digester.java:1647)
        at 
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:738)
        at org.apache.struts.action.ActionServlet.initModuleConfig
(ActionServlet
..java:687)
        at org.apache.struts.action.ActionServlet.init
(ActionServlet.java:333)
        at org.seasar.struts.servlet.S2ActionServlet.init
(S2ActionServlet.java:4
6)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at com.evermind.server.http.HttpApplication.loadServlet
(HttpApplication.
java:2178)
        at com.evermind.server.http.HttpApplication.findServlet
(HttpApplication.
java:4514)
        at com.evermind.server.http.HttpApplication.findServlet
(HttpApplication.
java:4438)
        at 
com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
ication.java:4627)
        at com.evermind.server.http.HttpApplication.initDynamic
(HttpApplication.
java:982)
        at com.evermind.server.http.HttpApplication.<init>
(HttpApplication.java:
614)
        at 
com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:429)
        at com.evermind.server.Application.getHttpApplication
(Application.java:5
04)
        at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1957)
        at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1876)
        at com.evermind.server.http.HttpSite.initApplications
(HttpSite.java:620)

        at com.evermind.server.http.HttpSite.setConfig
(HttpSite.java:303)
        at com.evermind.server.http.HttpServer.setSites
(HttpServer.java:275)
        at com.evermind.server.http.HttpServer.setConfig
(HttpServer.java:181)
        at com.evermind.server.ApplicationServer.initializeHttp
(ApplicationServe
r.java:2045)
        at com.evermind.server.ApplicationServer.setConfig
(ApplicationServer.jav
a:816)
        at com.evermind.server.ApplicationServerLauncher.run
(ApplicationServerLa
uncher.java:98)
        at java.lang.Thread.run(Thread.java:534)
05/09/20 10:24:53 javax.servlet.UnavailableException
05/09/20 10:24:53       at org.apache.struts.action.ActionServlet.init
(ActionSer
vlet.java:368)
05/09/20 10:24:53       at 
org.seasar.struts.servlet.S2ActionServlet.init(S2Acti
onServlet.java:46)
05/09/20 10:24:53       at javax.servlet.GenericServlet.init
(GenericServlet.java
:256)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpApplication.loadServlet(
HttpApplication.java:2178)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpApplication.findServlet(
HttpApplication.java:4514)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpApplication.findServlet(
HttpApplication.java:4438)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpApplication.initPreloadS
ervlets(HttpApplication.java:4627)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpApplication.initDynamic(
HttpApplication.java:982)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpApplication.<init>(HttpA
pplication.java:614)
05/09/20 10:24:53       at 
com.evermind.server.ApplicationStateRunning.getHttpAp
plication(ApplicationStateRunning.java:429)
05/09/20 10:24:53       at 
com.evermind.server.Application.getHttpApplication(Ap
plication.java:504)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpSite$HttpApplicationRunT
imeReference.createHttpApplicationFromReference(HttpSite.java:1957)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpSite$HttpApplicationRunT
imeReference.<init>(HttpSite.java:1876)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpSite.initApplications(Ht
tpSite.java:620)
05/09/20 10:24:53       at com.evermind.server.http.HttpSite.setConfig
(HttpSite.
java:303)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpServer.setSites(HttpServ
er.java:275)
05/09/20 10:24:53       at 
com.evermind.server.http.HttpServer.setConfig(HttpSer
ver.java:181)
05/09/20 10:24:53       at 
com.evermind.server.ApplicationServer.initializeHttp(
ApplicationServer.java:2045)
05/09/20 10:24:53       at 
com.evermind.server.ApplicationServer.setConfig(Appli
cationServer.java:816)
05/09/20 10:24:53       at 
com.evermind.server.ApplicationServerLauncher.run(App
licationServerLauncher.java:98)
05/09/20 10:24:53       at java.lang.Thread.run(Thread.java:534)





Seasar-user メーリングリストの案内