Troubleshooting
Problem
After using the J2EE migration wizard to migrate an application from WebSphere Application Server V5 to V6, starting the Application Server with the new application throws a WSVR0501E error.
Symptom
The new application throws the following error:
WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ResourceMgrImpl] com.ibm.ws.exception.WsRuntimeException: java.lang.IllegalArgumentException: resolve against non-hierarchical or relative base at com.ibm.ws.runtime.config.ResourceLocatorImpl.getResource (ResourceLocatorImpl.java:55) |
Cause
After gathering traces and recreating the problem with tracestring "com.ibm.ws.*=all"; you find the error is "resources.xml was not loaded":
ResourceLocat 3 C:\Program Files\...\config\cells\CELL\nodes\NODE\resources.xml was not loaded java.lang.IllegalArgumentException: resolve against non-hierarchical or relative base at org.eclipse.emf.common.util.URI.resolve(URI.java:1707) |
Resolving The Problem
Open the resources.xml file and find the following string:
<cmpDatasource href="tempworkarea.xmi#DataSource_1125683336050"/> |
[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"System Management\/Repository","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0;6.1;6.0;5.1","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21218587