Hi,
I am trying to work out with the sample examples provided with
Apache ODE.I followed the steps as described at:
http://ode.apache.org/user-guide.html#UserGuide-Examples
Deploying the WAR
Unzip the distribution <http://ode.apache.org/getting-ode.html> somewhere on
your disk, everything needed is inside.
Get the WAR file in the distribution root directory, rename it to *ode.war* and
copy this file to Tomcat <http://tomcat.apache.org/>'s webapp directory.
Start Tomcat and Ode should be up and running. You should get the
Axis2<http://ws.apache.org/axis2> welcome
page under http://localhost:8080/ode. The Ode WAR includes its own embedded
database (Derby <http://db.apache.org/derby>) so you don't have to worry
about configuring any external database for now.
Examples
Copy the content of the *examples* directory in the distribution (the 3
sub-directories) to*tomcat/webapps/ode/WEB-INF/processes*, this will
automatically deploy the 3 example processes. Use the sendsoap command
located in the distribution *bin* directory to send test messages. The
messages to run each of the 3 examples are provided in their respective
directory (testRequest.soap). For each example type something like:
bin/sendsoap http://localhost:8080/ode/processes/helloWorld
examples/HelloWorld2/testRequest.soap
The *sendsoap* executable can be found in the distribution *bin* directory.
The urls should be updated according to the address defined in the WSDL file
for the process service.
I can see the Axis2 <http://ws.apache.org/axis2> welcome page under
http://localhost:8080/ode but could not deploy the examples.
I get the error as:
14:47:30,253 ERROR [DeploymentPoller] Deployment of HelloWorld2 failed,
aborting
for now.
*org.w3c.dom.DOMException: FEATURE_NOT_SUPPORTED: The parameter
error-handler is*
*recognized but the requested value cannot be set.*
at org.apache.xerces.impl.xs.XMLSchemaLoader.setParameter(Unknown
Source
)
at
org.apache.ode.utils.xsd.SchemaModelImpl.newModel(SchemaModelImpl.jav
a:67)
at
org.apache.ode.bpel.compiler.v2.WSDLRegistry.getSchemaModel(WSDLRegis
try.java:107)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.resolveXsdType(BpelC
ompilerImpl.java:422)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl$2.apply(BpelCompiler
Impl.java:402)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl$2.apply(BpelCompiler
Impl.java:397)
at
org.apache.ode.utils.stl.CollectionsX.transform(CollectionsX.java:167
)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.resolveMessageType(B
pelCompilerImpl.java:395)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompiler
Impl.java:1362)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.access$900(BpelCompi
lerImpl.java:132)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl$8.run(BpelCompilerIm
pl.java:1122)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompiler
Impl.java:1068)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compileScope(BpelCom
pilerImpl.java:1118)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompiler
Impl.java:724)
at
org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompiler
Impl.java:132)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:268)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:338)
at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java
:171)
at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java
:134)
at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:18
3)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
ava:144)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPol
ler.java:55)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
mentPoller.java:188)
Please guide me.
Thanks and Regards,
Nitin.