Hi frens,
I am using WAS5.1 and have defined a datasource in server configuration. I am getting following error at server startup.
[5/15/04 13:45:47:699 BST] 4ede784a RelativeURICo E WSVR0230E: Invalid uri format encountered while processing cross document link: #DataSource_1084553709629
[5/15/04 13:45:52:886 BST] 4ede784a WsServer E WSVR0003E: Server server1 failed to start
com.ibm.ws.exception.WsRuntimeException
at com.ibm.ws.runtime.config.ResourceLocatorImpl.getResource(ResourceLocatorImpl.java:45)
at com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(ResourceMgrImpl.java:395)
at com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrImpl.java:353)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:123)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
---- Begin backtrace for nested exception
com.ibm.ws.exception.WsRuntimeException
at com.ibm.ws.runtime.config.RelativeURIContextResolver.invalidURISegmentCount(RelativeURIContextResolver.java:260)
at com.ibm.ws.runtime.config.RelativeURIContextResolver.resolveRelativeURI(RelativeURIContextResolver.java:205)
at com.ibm.ws.runtime.service.ConfigRootImpl$3.normalize(ConfigRootImpl.java:361)
at com.ibm.etools.xmi.helpers.MappedXMIHelper.resolve(MappedXMIHelper.java:49)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleProxy(XMLHandler.java:1185)
at org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java(Compiled Code))
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:828)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:801)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:730)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:641)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:354)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:62)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:337)
at org.eclipse.emf.ecore.xmi.impl.SAXWrapper.startElement(SAXWrapper.java:71)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java(Compiled Code))
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:216)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:594)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:830)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java(Compiled Code))
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java(Compiled Code))
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:76)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:135)
at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:159)
at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:152)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:881)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:755)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:259)
at com.ibm.ws.runtime.config.ResourceLocatorImpl.getResource(ResourceLocatorImpl.java:38)
at com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(ResourceMgrImpl.java:395)
at com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrImpl.java:353)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:123)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[5/15/04 13:45:52:906 BST] 4ede784a WsServer E WSVR0009E: Error occurred during startup
Does anyone have any idea as to what is wrong. Any help would be highly appreciated. Thanks
regards,
Ravi
-
Problem in startup of WAS 5.1.0 server (4 messages)
- Posted by: Ravi Asthana
- Posted on: May 15 2004 09:43 EDT
Threaded Messages (4)
- Problem in startup of WAS 5.1.0 server by Michael Foley on May 17 2004 13:24 EDT
- Problem in startup of WAS 5.1.0 server by k d on November 02 2005 11:33 EST
- Problem in startup of WAS 5.1.0 server by Venugopal Juvvadi on November 03 2005 08:04 EST
- I have the same problem by Wesam Othman on November 16 2008 02:03 EST
-
Problem in startup of WAS 5.1.0 server[ Go to top ]
- Posted by: Michael Foley
- Posted on: May 17 2004 13:24 EDT
- in response to Ravi Asthana
Well...read the stack trace from the top this might provide a clue
at com.ibm.ws.runtime.config.ResourceLocatorImpl.getResource(ResourceLocatorImpl.java:45)
and then in the nested exception
com.ibm.ws.runtime.config.RelativeURIContextResolver.invalidURISegmentCount
Hard tellin', not knowin'...but maybe a configuration error. You write you just configured a new datasource. Did you test that datasource when you added it? Did it work? Does that datasource use some resource that perhaps it can't locate?
Mike -
Problem in startup of WAS 5.1.0 server[ Go to top ]
- Posted by: k d
- Posted on: November 02 2005 11:33 EST
- in response to Ravi Asthana
I had a similar problem .It's a strange thing happening with WAS. I overcame this problem by deleting the test environment(Server project) and creating a new one.Then configured datasource again.
That's it.Hope it helps u too if u have that option to recreate the Test Env. -
Problem in startup of WAS 5.1.0 server[ Go to top ]
- Posted by: Venugopal Juvvadi
- Posted on: November 03 2005 08:04 EST
- in response to k d
Deleting TestEnv and recreating it fixed the problem for me. Thanks. -
I have the same problem[ Go to top ]
- Posted by: Wesam Othman
- Posted on: November 16 2008 02:03 EST
- in response to k d
Hi, I have the same problem, but where can i find the testEnv under solaris ? Thanks, Wesam .