Hi Ali, Ameet,
we found that the services.xml file shipped in the security samples is
slightly erroneous. We are planning to post the correct security
sample in the downloads soon.
BTW thanks a lot for the quick notification. We appreciate your keen
interest in this

Ajith

On 3/24/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote:
> Hi Ameet,
>
> Could you manage to run "securitySample" without any problem? If you are ok,
> which java version do you use? Or, did you need any undocumented change to
> make it to run?
>
> I'm having difficulties with securitySample comes with 0.94 and 0.95. I
> posted my problems with "[Axis2] - 0.95 - Couldn't get security sample to
> work" subject yesterday.
>
> Any help would be appreciated.
>
> Ali Sadik Kumlali
>
>
> Ameet Hasmucrai Amarchande <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I found the problem. It was this line in service.xml:
>
> <acionMapping>urn:echo</<acionMapping>
>
> I changed to this, and it is working now:
>
> <actionMapping>urn:echo</actionMapping>
>
> Thanks,
>
> Ameet
>
>
>  ________________________________
>
> From: Ameet Hasmucrai Amarchande [mailto:[EMAIL PROTECTED]
>  Sent: sexta-feira, 24 de Mar�o de 2006 11:18
>
>  To: [email protected]
>  Subject: [axis2] - 0.95 - Security Sample
>
>
>
> Hi all,
>
> I am trying to run the security sample, but when I am setting up the
> service, I get the error below, from Tomcat 5.5.16 console.
> The steps I have followed so far are:
> -          I have engaged the security module
> -          Copied SecurreService.aar to the services directory
> -          Copied all jars from the sample/security/lib to axis2/web-inf/lib
> -          And copied security-0.95.mar to the modules directory.
>
> Can anyone help me please.
>
> Thanks,
>
> Ameet
>
>
> INFO: Deploying web application archive axis2.war
> - Deploying module : addressing-0.95
> - Deploying module : security-0.95
> - Invalid service  SecureService.aar due to
> com.ctc.wstx.exc.WstxUnexpectedCharE
> xception: Unexpected character '<' (code 60); expected an element name.
>  at [row,col {unknown-source}]: [5,37]; nested exception is:
>         org.apache.ws.commons.om.OMException:
> com.ctc.wstx.exc.WstxUnexpectedCha
> rException: Unexpected character '<' (code 60); expected an element name.
>  at [row,col {unknown-source}]: [5,37]
> org.apache.axis2.deployment.DeploymentException:
> com.ctc.wstx.exc.WstxUnexpected
> CharException: Unexpected character '<' (code 60); expected an element name.
>  at [row,col {unknown-source}]: [5,37]; nested exception is:
>         org.apache.ws.commons.om.OMException:
> com.ctc.wstx.exc.WstxUnexpectedCha
> rException: Unexpected character '<' (code 60); expected an element name.
>  at [row,col {unknown-source}]: [5,37]
>         at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processServ
> iceGroup(ArchiveReader.java:134)
>         at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin
> e.java:428)
>         at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoL
> ist.java:195)
>         at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListe
> ner.java:195)
>         at
> org.apache.axis2.deployment.RepositoryListener.checkServices(Reposito
> ryListener.java:145)
>         at
> org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.ja
> va:571)
>         at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfigurati
> on(FileSystemConfigurator.java:59)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContext(ConfigurationContextFactory.java:33)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContextFromFileSystem(ConfigurationContextFactory.java:82)
>         at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisSer
> vlet.java:237)
>         at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:204
> )
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1105)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
> 2)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3917)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 197)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
>
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698
> )
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
> )
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :310)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:119)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
> )
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 50)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709
> )
>         at
> org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>         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:275)<
> /div>
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.apache.ws.commons.om.OMException:
> com.ctc.wstx.exc.WstxUnexpected
> CharException: Unexpected character '<' (code 60); expected an element name.
>  at [row,col {unknown-source}]: [5,37]
>
>       & nbsp; at
> org.apache.ws.commons.om.impl.builder.StAXOMBuilder.next(StAXOMBuilde
>
> r.java:279)
>         at
> org.apache.ws.commons.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:3
> 07)
>         at
> org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui
> lder.java:86)
>         at
> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServic
> eGroup(ArchiveReader.java:61)
>         at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processServ
> iceGroup(ArchiveReader.java:128)
>         ... 36 more
> Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException:
> Unexpected character '<
> ' (code 60); expected an element name.
>  at [row,col {unknown-source}]: [5,37]
>         at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:
> 546)
>         at
> com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:
> 3036)
>         at
> com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java
> :2743)
>         at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:988)
>         at
> org.apache.ws.commons.om.impl.builder.StAXOMBuilder.next(StAXOMBuilde
> r.java:196)
>         ... 40 more
>
>
>
>
>  ________________________________
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2�/min or less.
>
>


--
Ajith Ranabahu

Reply via email to