Created http://issues.apache.org/jira/browse/ODE-112 for this.
René
Citeren Alex Boisvert <[EMAIL PROTECTED]>:
Very strange indeed. I think it's worth filing an issue; the server should
be able to start regardless of the state of deployed processes. I glanced
at the code and didn't see anything obvious. It might be an issue with the
pmapi.wsdl, or maybe a compromised deployment state in Axis2, or both :)
alex
On 4/19/07, René Bos <[EMAIL PROTECTED]> wrote:
Hi!
I have something very strange here! When I have start Tomcat with the
attached process deployed, the ManagementAPI won't start (See error below).
When I undeploy it and restart Tomcat it works again. The process attached
is some crappy stuff for testing..
The error (the entire startup is attached)
INFO - BpelServerImpl.register(255) | Activated process {
http://ode/bpel/unit-test}TaskManagerTest-3.
DEBUG - ODEServer.init(168) | Initializing JCA adapter.
ERROR - WSDL11ToAxisServiceBuilder.populateService(249) |
java.lang.IllegalStateException: The prefix ns2 is not bound.
ERROR - ManagementService.enableService(95) | Couldn't start-up management
services!
org.apache.axis2.AxisFault: The prefix ns2 is not bound.; nested exception
is:
java.lang.IllegalStateException: The prefix ns2 is not bound.
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:250)
at org.apache.ode.axis2.hooks.ODEAxisService.createService(
ODEAxisService.java:79)
at org.apache.ode.axis2.service.ManagementService.enableService(
ManagementService.java:84)
at org.apache.ode.axis2.ODEServer.init(ODEServer.java:174)
at org.apache.ode.axis2.hooks.ODEAxisServlet.init(
ODEAxisServlet.java:47)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(
StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3951)
at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4225)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:739)
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:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.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:450)
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(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.IllegalStateException: The prefix ns2 is not bound.
at org.apache.ws.commons.schema.SchemaBuilder.getRefQName(
SchemaBuilder.java:517)
at org.apache.ws.commons.schema.SchemaBuilder.getRefQName(
SchemaBuilder.java:492)
at org.apache.ws.commons.schema.SchemaBuilder.handleElement(
SchemaBuilder.java:1343)
at org.apache.ws.commons.schema.SchemaBuilder.handleSequence(
SchemaBuilder.java:906)
at org.apache.ws.commons.schema.SchemaBuilder.handleComplexType(
SchemaBuilder.java:585)
at org.apache.ws.commons.schema.SchemaBuilder.handleElement(
SchemaBuilder.java:1370)
at
org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(
SchemaBuilder.java:143)
at org.apache.ws.commons.schema.XmlSchemaCollection.read(
XmlSchemaCollection.java:315)
at
org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(
WSDLToAxisServiceBuilder.java:132)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements
(WSDL11ToAxisServiceBuilder.java:1719)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:214)
... 30 more
INFO - DeploymentPoller.start(101) | Poller started.
INFO - ODEServer.init(179) | Process deployment polling started on path
C:\apache-tomcat-5.5.20-ode-2007-04-19\webapps\ode\WEB-INF\processes.
INFO - ODEServer.init(180) | ODE Service Engine has been started.
Shall I open a Jira issue for this? Or do you think its my own fault?
Rene
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.