[Seasar-user:13246] [s2axis2] 0.3.0から0.5.0 へアップデートしたところテストが通らなくなりました

Mitsutaka Sato [E-MAIL ADDRESS DELETED]
2008年 3月 12日 (水) 18:13:35 JST


佐藤と申します。
いつもお世話になっております。

s2axis2を0.3.0から0.5.0へアップデートしたところ、テストケースが通らなくなりました。
エラーは、以下のとおりnamespaceのミスマッチです。
2008-03-12 17:33:38.156 [ERROR] http-8080-Processor24
org.apache.axis2.rpc.receivers.RPCMessageReceiver
    Exception occurred while trying to invoke service method withdraw
org.apache.axis2.AxisFault: namespace mismatch require
http://services.soap.valuecardservice.com/xsd found
http://services.soap.valuecardservice.com

アップデート方法は
mavenで環境を作っていましたので、pom.xmlを sampleを参考に整理して0.5.0へアップデートしました。

また、設定ファイル等を比べてみて、axis2.xmlが変更量多かったので
これを置き換えて再起動してみたところ、今度は起動時にエラーが発生しました。
2008-03-12 18:11:22.375 [ERROR] main
org.apache.axis2.deployment.WarBasedAxisConfigurator
    The following handler exists is not valid: phase rule has not been
specified
org.apache.axis2.deployment.DeploymentException: The following handler
exists is not valid: phase rule has not been specified
    at org.apache.axis2.deployment.DescriptionBuilder.processHandler(
DescriptionBuilder.java:415)
    at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(
AxisConfigBuilder.java:387)
    at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(
AxisConfigBuilder.java:418)
    at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(
AxisConfigBuilder.java:130)
    at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(
DeploymentEngine.java:640)
    at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(
WarBasedAxisConfigurator.java:136)
    at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:486)
    at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:406)
    at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1139)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
:966)
    at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3956)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4230)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java
:448)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java
:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2008-03-12 18:11:22.406 [ERROR] main
org.apache.axis2.deployment.WarBasedAxisConfigurator
    java.lang.NullPointerException: loading repository from classpath
2008-03-12 18:11:22.656 [ERROR] main org.apache.catalina.core.ContainerBase
.[Catalina].[localhost].[/vd_api]
    サーブレット /vd_api がload()例外を投げました
org.apache.axis2.deployment.DeploymentException: The "Dispatch" phase is not
found on the global "InFlow" phase of the axis2.xml file. Make sure the
phase is within the axis2.xml file.
    at org.apache.axis2.deployment.util.PhasesInfo.getGlobalInflow(
PhasesInfo.java:111)
    at
org.apache.axis2.engine.AxisConfiguration.validateSystemPredefinedPhases(
AxisConfiguration.java:1022)
    at org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(
DeploymentEngine.java:150)
    at
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
WarBasedAxisConfigurator.java:225)
    at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:60)
    at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:486)
    at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:406)
    at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1139)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
:966)
    at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3956)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4230)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java
:448)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java
:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

なにか対処方法等ご存知でしたら教えていただけますと幸いです。
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20080312/7278e191/attachment-0001.html 


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