on 05-19-2006 9:12 PM
Hello,
I am trying to deploy our EAR file using deploymanager script. My EAR file is correctly packaged, I have also verified the java path and the xml and DTD structure. I am getting the following errors:
-
/DeployManager deploy-manager-config.xml
java.lang.NullPointerException
at java.io.File.<init>(File.java:203)
at com.sap.engine.deploy.manager.DeployConfigDocument.getAbsolutePath(DeployConfigDocument.java:990)
at com.sap.engine.deploy.manager.DeployConfigDocument.getInfoFromElement(DeployConfigDocument.java:1871)
at com.sap.engine.deploy.manager.DeployConfigDocument.initEarFile(DeployConfigDocument.java:398)
at com.sap.engine.deploy.manager.DeployConfigDocument.initDeployableObject(DeployConfigDocument.java:1792)
at com.sap.engine.deploy.manager.DeployConfigDocument.loadFieldsFromDocument(DeployConfigDocument.java:1496)
at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1866)
at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)
at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1947)
at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)
at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:178)
at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
NOT Deployed ! :
com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
-
Can anyone please help?
Thanks,
Sumod
The error is because the deploy-manager-config.xml is noy found in the classpath . please put the folder where deploy-manager-config.xml is placed in classpath .
It would be helpful , if you use it using ant scripts.
please have look at this pdf where it shows an example on how to deploy .also it very easy to do....
link to PDF
Hope this helps , please mark full points for helpful answers
regards
rajesh kr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.