RE: problems in AdminClient
Hi, I cant tell you how to solve your problem, but I can tell you what the problem is .) You lack the org.w3c.dom.DOMException on your classpath when you run AdminClient. This class is not in any Axis library, but should be a part of your Java installation. Java 2 Platform, SE 1.4 contains a Reference implementation for JAXP 1.1.2 that contains this class. See http://java.sun.com/webservices/jaxp/reference/faqs/index.html You might want to verify your Java installation client side, or if there eXception originated on the server, check your client side java installation. (correct JAVA_HOME etc). Best regards and good luck. -Original Message- From: Roy, Ansuman [mailto:[EMAIL PROTECTED] Sent: 30. januar 2006 09:45 To: axis-user@ws.apache.org Subject: RE: problems in AdminClient Hi, No i am using java 1.4 but still the problem persists. But if i write it into a simple build.xml file and run through ant it works fine. But since in the production you dont have ant installed so i have to go on with a batch file or an .sh file. regards, Anshuman Roy -Original Message- From: Berner Martin [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 1:03 PM To: 'axis-user@ws.apache.org' Subject: AW: problems in AdminClient Hi Are you using java 5? Cos i had a similar problem with java 5, can't find the dom-Classes.. Try it with an 1.4X java. mit freundlichen Grüssen Berner Martin _ Martin Berner, EDV Tel.: ++41-(0)41-729 33 46 Schweizer BraunviehzuchtverbandFax : ++41-(0)41-729 33 77 Chamerstrasse 56 http://www.braunvieh.ch 6300 ZugEmail: [EMAIL PROTECTED] _ > -Ursprüngliche Nachricht- > Von: Roy, Ansuman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 30. Januar 2006 08:02 > An: axis-user@ws.apache.org > Betreff: problems in AdminClient > > > Hi, > When i run my code for admin client for deployment using the > following command: > > java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient > -lhttp://localhost:8080/axis/services/AdminService > deploy_webservice.wsdd > > then i get the following error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/w3c/dom/DOMError > at > org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source) > at > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentB > uilder(Unknown Source) > at > org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder.init > ialValue(XMLUtils.java:98) > at > java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal. > java:368) > at > java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:341) > at > java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:219) > > at java.lang.ThreadLocal.get(ThreadLocal.java:121) > at > org.apache.axis.utils.XMLUtils.getDocumentBuilder(XMLUtils.java:237) > at > org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:358) > at > org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388) > at > org.apache.axis.configuration.FileProvider.configureEngine(Fil > eProvider.java:179) > at org.apache.axis.AxisEngine.init(AxisEngine.java:172) > at org.apache.axis.AxisEngine.(AxisEngine.java:156) > at > org.apache.axis.client.AxisClient.(AxisClient.java:52) > at > org.apache.axis.client.Service.getAxisClient(Service.java:104) > at org.apache.axis.client.Service.(Service.java:113) > at > org.apache.axis.client.AdminClient.initAdminClient(AdminClient > .java:148) > at > org.apache.axis.client.AdminClient.(AdminClient.java:116) > at > org.apache.axis.client.AdminClient.main(AdminClient.java:461) > > > I tried to put in all the jar files in the classpath but it's failing. > any pointers to this. > regards, > Anshuman Roy > > > This e-mail and any attachment is for authorised use by the > intended recipient(s) only. It may contain proprietary > material, confidential information and/or be subject to legal > privilege. It should not be copied, disclosed to, retained or > used by, any other party. If you are not an intended > recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. >
RE: problems in AdminClient
Hi, No i am using java 1.4 but still the problem persists. But if i write it into a simple build.xml file and run through ant it works fine. But since in the production you dont have ant installed so i have to go on with a batch file or an .sh file. regards, Anshuman Roy -Original Message- From: Berner Martin [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 1:03 PM To: 'axis-user@ws.apache.org' Subject: AW: problems in AdminClient Hi Are you using java 5? Cos i had a similar problem with java 5, can't find the dom-Classes.. Try it with an 1.4X java. mit freundlichen Grüssen Berner Martin _ Martin Berner, EDV Tel.: ++41-(0)41-729 33 46 Schweizer BraunviehzuchtverbandFax : ++41-(0)41-729 33 77 Chamerstrasse 56 http://www.braunvieh.ch 6300 ZugEmail: [EMAIL PROTECTED] _ > -Ursprüngliche Nachricht- > Von: Roy, Ansuman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 30. Januar 2006 08:02 > An: axis-user@ws.apache.org > Betreff: problems in AdminClient > > > Hi, > When i run my code for admin client for deployment using the > following command: > > java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient > -lhttp://localhost:8080/axis/services/AdminService > deploy_webservice.wsdd > > then i get the following error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/w3c/dom/DOMError > at > org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source) > at > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentB > uilder(Unknown Source) > at > org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder.init > ialValue(XMLUtils.java:98) > at > java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal. > java:368) > at > java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:341) > at > java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:219) > > at java.lang.ThreadLocal.get(ThreadLocal.java:121) > at > org.apache.axis.utils.XMLUtils.getDocumentBuilder(XMLUtils.java:237) > at > org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:358) > at > org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388) > at > org.apache.axis.configuration.FileProvider.configureEngine(Fil > eProvider.java:179) > at org.apache.axis.AxisEngine.init(AxisEngine.java:172) > at org.apache.axis.AxisEngine.(AxisEngine.java:156) > at > org.apache.axis.client.AxisClient.(AxisClient.java:52) > at > org.apache.axis.client.Service.getAxisClient(Service.java:104) > at org.apache.axis.client.Service.(Service.java:113) > at > org.apache.axis.client.AdminClient.initAdminClient(AdminClient > .java:148) > at > org.apache.axis.client.AdminClient.(AdminClient.java:116) > at > org.apache.axis.client.AdminClient.main(AdminClient.java:461) > > > I tried to put in all the jar files in the classpath but it's failing. > any pointers to this. > regards, > Anshuman Roy > > > This e-mail and any attachment is for authorised use by the > intended recipient(s) only. It may contain proprietary > material, confidential information and/or be subject to legal > privilege. It should not be copied, disclosed to, retained or > used by, any other party. If you are not an intended > recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. >
AW: problems in AdminClient
Hi Are you using java 5? Cos i had a similar problem with java 5, can't find the dom-Classes.. Try it with an 1.4X java. mit freundlichen Grüssen Berner Martin _ Martin Berner, EDV Tel.: ++41-(0)41-729 33 46 Schweizer BraunviehzuchtverbandFax : ++41-(0)41-729 33 77 Chamerstrasse 56 http://www.braunvieh.ch 6300 ZugEmail: [EMAIL PROTECTED] _ > -Ursprüngliche Nachricht- > Von: Roy, Ansuman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 30. Januar 2006 08:02 > An: axis-user@ws.apache.org > Betreff: problems in AdminClient > > > Hi, > When i run my code for admin client for deployment using the > following command: > > java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient > -lhttp://localhost:8080/axis/services/AdminService > deploy_webservice.wsdd > > then i get the following error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/w3c/dom/DOMError > at > org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source) > at > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentB > uilder(Unknown Source) > at > org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder.init > ialValue(XMLUtils.java:98) > at > java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal. > java:368) > at > java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:341) > at > java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:219) > > at java.lang.ThreadLocal.get(ThreadLocal.java:121) > at > org.apache.axis.utils.XMLUtils.getDocumentBuilder(XMLUtils.java:237) > at > org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:358) > at > org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388) > at > org.apache.axis.configuration.FileProvider.configureEngine(Fil > eProvider.java:179) > at org.apache.axis.AxisEngine.init(AxisEngine.java:172) > at org.apache.axis.AxisEngine.(AxisEngine.java:156) > at > org.apache.axis.client.AxisClient.(AxisClient.java:52) > at > org.apache.axis.client.Service.getAxisClient(Service.java:104) > at org.apache.axis.client.Service.(Service.java:113) > at > org.apache.axis.client.AdminClient.initAdminClient(AdminClient > .java:148) > at > org.apache.axis.client.AdminClient.(AdminClient.java:116) > at > org.apache.axis.client.AdminClient.main(AdminClient.java:461) > > > I tried to put in all the jar files in the classpath but it's failing. > any pointers to this. > regards, > Anshuman Roy > > > This e-mail and any attachment is for authorised use by the > intended recipient(s) only. It may contain proprietary > material, confidential information and/or be subject to legal > privilege. It should not be copied, disclosed to, retained or > used by, any other party. If you are not an intended > recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. >
problems in AdminClient
Hi, When i run my code for admin client for deployment using the following command: java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy_webservice.wsdd then i get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/DOMError at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source) at org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder.initialValue(XMLUtils.java:98) at java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal.java:368) at java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:341) at java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:219) at java.lang.ThreadLocal.get(ThreadLocal.java:121) at org.apache.axis.utils.XMLUtils.getDocumentBuilder(XMLUtils.java:237) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:358) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.(AxisEngine.java:156) at org.apache.axis.client.AxisClient.(AxisClient.java:52) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.(Service.java:113) at org.apache.axis.client.AdminClient.initAdminClient(AdminClient.java:148) at org.apache.axis.client.AdminClient.(AdminClient.java:116) at org.apache.axis.client.AdminClient.main(AdminClient.java:461) I tried to put in all the jar files in the classpath but it's failing. any pointers to this. regards, Anshuman Roy This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.