Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis-SOAP sample and Weblogic 6.1 issue !  RSS feed

 
herve attia
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It requires tools.jar in lib folder of webapplication
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!