The moose likes Web Services and the fly likes Axis-SOAP sample and Weblogic 6.1 issue ! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Axis-SOAP sample and Weblogic 6.1 issue !" Watch "Axis-SOAP sample and Weblogic 6.1 issue !" New topic
Author

Axis-SOAP sample and Weblogic 6.1 issue !

herve attia
Ranch Hand

Joined: Sep 28, 2001
Posts: 138
Hello Folks,
I try to run the "HelloServer.jws" sample from this interesting article : http://www.javaworld.com/javaworld/jw-01-2002/jw-0125-axis.html
It works fine using Tomcat4.0 but with Weblogic 6.1 environnment, it fails with the following :
the mentioned "tools.jar" is in my classpath...so I'm stuck !
Any idea ?
thanks

E:\temp\BeaWeblogicDEV\axis>java javaworld.axis.Client1 toto
Exception in thread "main" java.lang.RuntimeException: No compiler found in your classpath. Make sure you added 'tools.jar'
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:134)
at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:671)
at weblogic.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:14
03)
at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(
XMLValidator.java:1444)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
.dispatch(XMLDocumentScanner.java:1274)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
at org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:204)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
at org.apache.axis.client.Call.invoke(Call.java:1268)
at org.apache.axis.client.Call.invoke(Call.java:1113)
at org.apache.axis.client.Call.invoke(Call.java:1043)
at org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:456)
at javaworld.axis.Client1.main(client1.java:16)
herve attia
Ranch Hand

Joined: Sep 28, 2001
Posts: 138
My class path :
.;E:\j2eeplatform\bea61\jdk131\lib\tools.jar;E:\j2eeplatform\bea61
\wlserver6.1\lib\weblogic_sp.jar;E:\j2eeplatform\bea61\wlserver6.1\lib\weblogic.
jar;E:\j2eeplatform\bea61\wlserver6.1\sam
ples\eval\cloudscape\frameworks\RmiJdbc\classes\RmiJdbc.jar;E:\j2eeplatform\xml-axis-alpha3\lib\axis.jar;E:\j2eeplatform\xml-axis-alpha3
\lib\log4j-core.jar
wang qi
Greenhorn

Joined: Dec 19, 2002
Posts: 1
I don't think this is caused by the tools.jar file,
I encountered the same problem.
when I use "http://localhost:7001/axis/Calculator.jws"
in a browser, I get:
星期四 十二月 20 19:22:23 CST 2001:<I> <WebAppServletContext-axis> AxisServlet:
init
- Problem with servlet engine config file: /WEB-INF/server-config.wsdd
where is this server-config.wsdd ?
xiang dong
Greenhorn

Joined: Sep 24, 2002
Posts: 1
why use axis in weblogic 6.1?
in fact ,java web service (Jws) is supported by wls 7.0 directly.
what you should do is copy the jws file into the folder ,just as what you are doing when you use axis with Tomcat
btw:server-config.wsdd is in the
whatyouinstallaxis\webapps\axis\WEB-INF
djyoti sahu
Greenhorn

Joined: Jan 28, 2003
Posts: 26
It requires tools.jar in lib folder of webapplication
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis-SOAP sample and Weblogic 6.1 issue !
 
Similar Threads
Printing PreparedStatements to log file
The AXIS engine could not find a target service (Axis/BEA WL 6.1)
Java World example
hello world webservices
How to check query within PreparedStatement object