Kodama Yasushi
canch****@hotma*****
2003年 8月 21日 (木) 09:39:26 JST
ありがとうございます。 指摘された内容「パーサまわり」をもとに調べたところ、 SOAP起動時にxercesImpl.jarが見えていないことが原因とわかりました。 AdminConsoleのクラスパスの設定に <InstallPath>\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\jetspeed_1\WEB-INF\lib\xercesImpl.jar を追加したところJetSpeedを起動することができました。 ただ、別件が発生しまして、 SOAPを再起動すると、JetSpeed(Turbine)の初期処理で「権限なし」で例外が発生し ました。 <jetspeed.logより抜粋> [21 8 2003 09:35:03 WARN] - IDBroker is being used with db 'default', which does not support transactions. IDBroker attempts to use transactions to limit the possibility of duplicate key generation. Without transactions, duplicate key generation is possible if multiple JVMs are used or other means are used to write to the database. [21 8 2003 09:35:06 ERROR] - org.apache.torque.TorqueException: access denied (java.io.FilePermission C:\java\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\jetspeed_1\WEB-INF\db\jetspeed.properties delete) [21 8 2003 09:35:06 ERROR] - A FATAL ERROR has occurred which should not have happened under any circumstance. Please notify the Turbine developers <turbi****@jakar*****> and give as many details as possible (including the error stack trace). java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): access denied (java.io.FilePermission C:\java\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\jetspeed_1\WEB-INF\db\jetspeed.properties delete) at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250) at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225) at org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineUserPeer.java:90) at org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurbineUser.java:36) (想像ですが)これはHSQLDBにて、データの矛盾チェックでエラーとなっているもよう です。 ただ、HSQLDBは実際に使用するDBではないので、以下の暫定対処で解決できました。 WEB-INF/db/jetspeed.properties の modified=yes を modified=no に変更する。 これをSOAP再起動前に毎回行うことにより正常にJetSpeedが起動できました。 ありがとうございました。 -=-=- Yasushi Kodama >From: Shinsuke SUGAYA <shins****@yahoo*****> >Reply-To: jetsp****@lists***** >To: jetsp****@lists***** >Subject: Re: [Jetspeed-japan-dev] SunOneAS7 + JetSpeed1.4b4 で NullPointerException >Date: Tue, 19 Aug 2003 23:15:31 +0900 > >こんにちは。 > >Jetspeed日本語版を使って、SunONE AS7 on Solaris で試してみましたが、 >同様のエラーがでました。基本的には、Castor が XML を Unmarshal する必要があ るものは >読み込めていない気がします。ですので、XML パーサまわりが原因かなっと思いま す。 >どうすればいいかは、今のところ、わかっていません・・・。 > >shinsuke > >Kodama Yasushi wrote: > > はじめまして。 > > > > 当方の環境は以下の通りです。 > > Windows2000 SP4 > > Sun One Application Server7 > > JetSpeed1.4B4(Turbine2.2) > > > > この状態でブラウザ(IE6SP1)で > > http://localhost/jetspeed/index.jsp > > を開こうとしたところ、 > > > > <jetspeed.logから抜粋> > > [19 8 2003 11:40:48 DEBUG] - CapabilityMap: useragent Mozilla/4.0 > > (compatible; MSIE 6.0; Windows NT 5.0; T312461)unknown, falling back to > > default > > [19 8 2003 11:40:48 ERROR] - CapabilityMap: Default agent not found in > > Client Registry ! > > [19 8 2003 11:40:48 DEBUG] - CapabilityMap: User-agent: Mozilla/4.0 mapped > > to null > > [19 8 2003 11:40:48 DEBUG] - CapabilityMap: User-agent: Mozilla/4.0 > > (compatible; MSIE 6.0; Windows NT 5.0; T312461) mapped to null > > [19 8 2003 11:40:48 ERROR] - Turbine.handleException: null > > [19 8 2003 11:40:48 ERROR] - > > java.lang.NullPointerException > > at > > org.apache.jetspeed.util.parser.DefaultJetspeedParameterParser.setRequest(DefaultJetspeedParameterParser.java:120) > > > > at > > org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(DefaultTurbineRunData.java:493) > > > > at org.apache.turbine.Turbine.doGet(Turbine.java:472) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > > となり、開くことができません。 > > > > TOMCAT+JetSpeed ではなにも手を加えることなく動作したのですが、 > > SunOneAS7+JetSpeed だと動作しません。 > > > > 当方で調べたところ、Turbineがclient.xregを読めていないのでは? > > となりました。 > > その根拠は動作していたTOMCAT+JetSpeedで、client.xregのファイル > > 名を変更したところ、同じ現象同じログとなりました。 > > > > *.properties や *.xml や *.xreg 等を見たのですが、どこを > > 直したらいいのかわかりませんでした。 > > > > どうか、わかる方をいらっしゃいましたら御教授願います。 > > > > -=-=- > > Yasushi Kodama > > > >__________________________________________________ >Do You Yahoo!? >Yahoo! BB is Broadband by Yahoo! >http://bb.yahoo.co.jp/ > >_______________________________________________ >Jetspeed-japan-dev mailing list >Jetsp****@lists***** >http://lists.sourceforge.jp/mailman/listinfo/jetspeed-japan-dev _________________________________________________________________ 最新のファイナンス情報とライフプランのアドバイス MSN マネー http://money.msn.co.jp/