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: '[email protected]' 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 Braunviehzuchtverband Fax : ++41-(0)41-729 33 77 Chamerstrasse 56 http://www.braunvieh.ch 6300 Zug Email: [EMAIL PROTECTED] _____________________________________________________________ > -----Ursprüngliche Nachricht----- > Von: Roy, Ansuman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 30. Januar 2006 08:02 > An: [email protected] > 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.<init>(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.<init>(AxisEngine.java:156) > at > org.apache.axis.client.AxisClient.<init>(AxisClient.java:52) > at > org.apache.axis.client.Service.getAxisClient(Service.java:104) > at org.apache.axis.client.Service.<init>(Service.java:113) > at > org.apache.axis.client.AdminClient.initAdminClient(AdminClient > .java:148) > at > org.apache.axis.client.AdminClient.<init>(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. >
