axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.bai...@gamefederation.com
Subject Re: Newbie: EchoHeaders returns NullPointerException
Date Sun, 10 Oct 2004 19:05:36 GMT
in your server-config.wsdd within the <globalConfiguration> add  
<parameter name="axis.development.system" value="true"/>

alternatively refer to the Global Axis Configuration in the
docs\reference.html.

guess this is a jdk 1.5 related

/tom

>
> I'm new to web services as well as to axis. So far, my attempts at
> getting even the simplest of samples to work have been unsuccessful.
> Happyaxis validates my installation (output at EOM).
>
> But
>
> results in an error response
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  <soapenv:Body>
>   <soapenv:Fault>
>    <faultcode>soapenv:Server.userException</faultcode>
>    <faultstring>java.lang.NullPointerException</faultstring>
>    <detail/>
>   </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>
>
> I found that there's a setting, axis.development.system, that has the
> effect of enabling stack traces, but I don't understand where to change
> this setting.
>
> Michael
>
>
> Axis Happiness Page
>
>
> Examining webapp configuration
>
>
>
> Needed Components
>
>  Found SAAJ API (javax.xml.soap.SOAPMessage)
> at
> /usr/local/opt/java/jakarta-tomcat-5.5.1/webapps/axis/WEB-INF/lib/saaj.jar
> Found JAX-RPC API (javax.xml.rpc.Service)
> at
> /usr/local/opt/java/jakarta-tomcat-5.5.1/webapps/axis/WEB-INF/lib/jaxrpc.jar
> Found Apache-Axis (org.apache.axis.transport.http.AxisServlet)
> at
> /usr/local/opt/java/jakarta-tomcat-5.5.1/webapps/axis/WEB-INF/lib/axis.jar
> Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource)
> at
> /usr/local/opt/java/jakarta-tomcat-5.5.1/webapps/axis/WEB-INF/lib/commons-discovery.jar
> Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
> at /usr/local/opt/java/jakarta-tomcat-5.5.1/bin/commons-logging-api.jar
> Found Log4j (org.apache.log4j.Layout)
> at
> /usr/local/opt/java/jakarta-tomcat-5.5.1/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar
> Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl)
> at
> /usr/local/opt/java/jakarta-tomcat-5.5.1/webapps/axis/WEB-INF/lib/wsdl4j.jar
> Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an
> unknown location
> Found Activation API (javax.activation.DataHandler)
> at /usr/local/opt/java/jakarta-tomcat-5.5.1/shared/lib/activation.jar
>
>
> Optional Components
>
>  Found Mail API (javax.mail.internet.MimeMessage)
> at /usr/local/opt/java/jakarta-tomcat-5.5.1/shared/lib/mail.jar
>
> Warning: could not find class org.apache.xml.security.Init from file
> xmlsec.jar
>  XML Security is not supported
>  See http://xml.apache.org/security/
>
>
> Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at
> an unknown location
>
>
> The core axis libraries are present. 1 optional axis library is missing
>
> Note: On Tomcat 4.x and Java1.4, you may need to put libraries that
> contain java.* or javax.* packages into CATALINA_HOME/common/lib
> jaxrpc.jar and saaj.jar are two such libraries.
>
> Note: Even if everything this page probes for is present, there is no
> guarantee your web service will work, because there are many
> configuration options that we do not check for. These tests are
> necessary but not sufficient
>
>
>
> Examining Application Server
>
>
>
> Servlet version
> 2.4
>
>
> XML Parser
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
>
>
> XML ParserLocation
> an unknown location
>
>
> Examining System Properties
>
>
> java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
> sun.boot.library.path=/usr/lib/j2sdk1.5-sun/jre/lib/i386
> java.vm.version=1.5.0-b64
> shared.loader=${catalina.base}/shared/classes,
> ${catalina.base}/shared/lib/*.jar
> java.vm.vendor=Sun Microsystems Inc.
> java.vendor.url=http://java.sun.com/
> path.separator=:
> java.rmi.server.randomIDs=true
> java.vm.name=Java HotSpot(TM) Client VM
> file.encoding.pkg=sun.io
> user.country=US
> sun.os.patch.level=unknown
> java.vm.specification.name=Java Virtual Machine Specification
> user.dir=/home/michael/workspace/Stundenplan
> java.runtime.version=1.5.0-b64
> java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> java.endorsed.dirs=/usr/local/opt/java/tomcat/common/endorsed
> os.arch=i386
> java.io.tmpdir=/usr/local/opt/java/tomcat/temp
> line.separator=
>
> java.vm.specification.vendor=Sun Microsystems Inc.
> java.naming.factory.url.pkgs=org.apache.naming
> os.name=Linux
> sun.jnu.encoding=ANSI_X3.4-1968
> java.library.path=/usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386
> java.specification.name=Java Platform API Specification
> java.class.version=49.0
> sun.management.compiler=HotSpot Client Compiler
> os.version=2.6.7
> user.home=/home/michael
> user.timezone=Europe/Berlin
> catalina.useNaming=true
> java.awt.printerjob=sun.print.PSPrinterJob
> file.encoding=ANSI_X3.4-1968
> java.specification.version=1.5
> catalina.home=/usr/local/opt/java/tomcat
> user.name=michael
> java.class.path=/usr/lib/j2sdk1.5-sun/lib/tools.jar:/usr/local/opt/java/tomcat/bin/bootstrap.jar:/usr/local/opt/java/tomcat/bin/commons-logging-api.jar
> com.sun.management.jmxremote=
> java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
> package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
> java.vm.specification.version=1.0
> sun.arch.data.model=32
> java.home=/usr/lib/j2sdk1.5-sun/jre
> java.specification.vendor=Sun Microsystems Inc.
> user.language=en
> java.vm.info=mixed mode, sharing
> java.version=1.5.0
> java.ext.dirs=/usr/lib/j2sdk1.5-sun/jre/lib/ext
> stundenplan.root=/home/michael/workspace/Stundenplan/build/
> sun.boot.class.path=/usr/lib/j2sdk1.5-sun/jre/lib/rt.jar:/usr/lib/j2sdk1.5-sun/jre/lib/i18n.jar:/usr/lib/j2sdk1.5-sun/jre/lib/sunrsasign.jar:/usr/lib/j2sdk1.5-sun/jre/lib/jsse.jar:/usr/lib/j2sdk1.5-sun/jre/lib/jce.jar:/usr/lib/j2sdk1.5-sun/jre/lib/charsets.jar:/usr/lib/j2sdk1.5-sun/jre/classes
> java.vendor=Sun Microsystems Inc.
> server.loader=${catalina.home}/server/classes,
> ${catalina.home}/server/lib/*.jar
> catalina.base=/usr/local/opt/java/tomcat
> file.separator=/
> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
> common.loader=${catalina.home}/common/classes,
> ${catalina.home}/common/i18n/*.jar,
> ${catalina.home}/common/endorsed/*.jar,
> ${catalina.home}/common/lib/*.jar
> sun.cpu.endian=little
> sun.io.unicode.encoding=UnicodeLittle
> package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
> sun.cpu.isalist=
>
>
>
>
>  Platform: Apache Tomcat/5.5.1
>
> --
> Michael Schuerig                          Thinking is trying to make up
> mailto:michael@schuerig.de                for a gap in one's education.
> http://www.schuerig.de/michael/                          --Gilbert Ryle
>



Mime
View raw message