这是tomcat输出的:
- Unable to find config file.  Creating new servlet engine config file: /WEB-INF
/server-config.wsdd
HttpConnector[80] Starting background thread
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
DEBUG - getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
                    DEBUG - loadBundle: Ignoring MissingResourceException: Can't
 find bundle for base name org.apache.axis.resource, locale zh_CN
                    DEBUG - Created org.apache.axis.i18n.resource, linked to par
ent null
                    DEBUG - getBundle(org.apache.axis,org.apache.axis.utils,reso
urce,null,...)
                    DEBUG - loadBundle: Ignoring MissingResourceException: Can't
 find bundle for base name org.apache.axis.utils.resource, locale zh_CN
                    DEBUG - loadBundle: Ignoring MissingResourceException: Can't
 find bundle for base name org.apache.axis.resource, locale zh_CN
                    DEBUG - Root package not found, cross link to org.apache.axi
s.i18n.resource
                    DEBUG - Root package not found, cross link to org.apache.axi
s.i18n.resource
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(engin
eFactory)
                    DEBUG - Got EngineFactory: org.apache.axis.configuration.Eng
ineConfigurationFactoryDefault
                    DEBUG - Enter: AxisEngine::init
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(warni
ng00)
                    DEBUG - Warning: URI=null Line=1: URI was not reported to pa
rser for entity [document]
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(attac
hEnabled)
                    DEBUG - Attachment support is enabled?  true
                    DEBUG - Enter/Exit: JAFDataHandlerDeserializerFactory(class
java.lang.String, {http://xml.apache.org/xml-soap}PlainText)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(oddDi
gits00)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(badCh
ars01)
                    DEBUG - Enter/Exit: JAFDataHandlerDeserializerFactory(class
java.awt.Image, {http://xml.apache.org/xml-soap}Image)
                    DEBUG - Enter/Exit: JAFDataHandlerDeserializerFactory(class
javax.mail.internet.MimeMultipart, {http://xml.apache.org/xml-soap}Multipart)
                    DEBUG - Enter/Exit: JAFDataHandlerDeserializerFactory(interf
ace javax.xml.transform.Source, {http://xml.apache.org/xml-soap}Source)
                    DEBUG - Enter/Exit: JAFDataHandlerDeserializerFactory(class
org.apache.axis.attachments.OctetStream, {http://xml.apache.org/xml-soap}octetst
ream)
                    DEBUG - Enter/Exit: JAFDataHandlerDeserializerFactory()
                    DEBUG - Exit: AxisEngine::init
                    DEBUG - @1ca209e added parameter >name:       {http://tempur
i.org/}code
typeEntry:  null
mode:       IN
isReturn:   false
typeQName:  {http://www.w3.org/2001/XMLSchema}string
javaType:   class java.lang.String
inHeader:   false
outHeader:  false
@123a389<total parameters:1
                    DEBUG - @1ca209esetReturnType({http://tempuri.org/}Quote)
                    DEBUG - @1594a88setReturnType({http://tempuri.org/}ArrayOfAn
yType)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(trans
port00)
                    DEBUG - Transport is org.apache.axis.transport.http.HTTPTran
sport@1f217ec
                    DEBUG - Enter: Call::invoke(ns, meth, args)
                    DEBUG - operation=name:        getQuote
returnQName: {http://tempuri.org/}getQuoteResult
returnType:  {http://tempuri.org/}Quote
returnClass: class com.stock.hqclient.Quote
elementQName:null
soapAction:  null
style:       wrapped
use:         literal
numInParams: 1
method:null
 ParameterDesc[0]:
  name:       {http://tempuri.org/}code
  typeEntry:  null
  mode:       IN
  isReturn:   false
  typeQName:  {http://www.w3.org/2001/XMLSchema}string
  javaType:   class java.lang.String
  inHeader:   false
  outHeader:  false
                    DEBUG - operation.getNumParams()=1
                    DEBUG - getParamList number of params: 1
                    DEBUG - Enter: Call::invoke(RPCElement)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(attac
hEnabled)
                    DEBUG - Attachment support is enabled?  true
                    DEBUG - Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(setMs
gForm)
                    DEBUG - Setting current message form to: FORM_SOAPENVELOPE (
currentMessage is now org.apache.axis.message.SOAPEnvelope)
                    DEBUG - Exit: SOAPPart ctor()
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(addBo
dy00)
                    DEBUG - Adding body element to message...
                    DEBUG - Enter: Call::invoke()
                    DEBUG - MessageContext: setTargetService(HQServiceSoap)
                    DEBUG - MessageContext: setServiceHandler(null)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(targe
tService)
                    DEBUG - Target service:  HQServiceSoap
                    DEBUG - Enter: SOAPPart::getAsSOAPEnvelope()
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(currF
orm)
                    DEBUG - current form is FORM_SOAPENVELOPE
                    DEBUG - MessageContext: setTargetService(http://tempuri.org/
getQuote)
                    DEBUG - MessageContext: setServiceHandler(null)
                    DEBUG - org.apache.axis.i18n.resource::handleGetObject(regis
ter00)
                    DEBUG - register 'soapenv' - 'http://schemas.xmlsoap.org/soa
p/envelope/'

解决方案 »

  1.   


                        DEBUG - NSPush (32)
                        DEBUG - NSPush (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(regis
    ter00)
                        DEBUG - register 'soapenv' - 'http://schemas.xmlsoap.org/soa
    p/envelope/'
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(regis
    ter00)
                        DEBUG - register 'xsd' - 'http://www.w3.org/2001/XMLSchema'
                        DEBUG - NSPush (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(regis
    ter00)
                        DEBUG - register 'xsi' - 'http://www.w3.org/2001/XMLSchema-i
    nstance'
                        DEBUG - NSPush (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(start
    Elem00)
                        DEBUG - Start element [http://schemas.xmlsoap.org/soap/envel
    ope/]:Envelope
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(heade
    rs00)
                        DEBUG - 0 headers
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(start
    Elem00)
                        DEBUG - Start element [http://schemas.xmlsoap.org/soap/envel
    ope/]:Body
                        DEBUG - NSPush (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(regis
    ter00)
                        DEBUG - register '' - 'http://tempuri.org/'
                        DEBUG - NSPush (32)
                        DEBUG - NSPush (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(start
    Elem00)
                        DEBUG - Start element [http://tempuri.org/]:getQuote
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(start
    Elem00)
                        DEBUG - Start element [http://tempuri.org/]:code
                        DEBUG - NSPush (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(endEl
    em00)
                        DEBUG - End element code
                        DEBUG - NSPop (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(endEl
    em00)
                        DEBUG - End element getQuote
                        DEBUG - NSPop (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(endEl
    em00)
                        DEBUG - End element soapenv:Body
                        DEBUG - NSPop (32)
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(endEl
    em00)
                        DEBUG - End element soapenv:Envelope
                        DEBUG - org.apache.axis.i18n.resource::handleGetObject(empty
    00)
                        DEBUG - NSPop (empty)
                        DEBUG - <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmln
    s:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSc
    hema-instance">
     <soapenv:Body>
      <getQuote xmlns="http://tempuri.org/">
       <code>600030</code>
      </getQuote>
     </soapenv:Body>
    </soapenv:Envelope>
                        DEBUG - Enter: AxisClient::invoke
                        DEBUG - EngineHandler: null
                        DEBUG - Enter: SimpleChain::invoke
                        DEBUG - Exit: SimpleChain::invoke
                        DEBUG - Exit: AxisClient::invoke
                        DEBUG - Exit: Call::invoke()
                        DEBUG - Exit: Call::invoke(ns, meth, args)
                        DEBUG - axis.Call.invoke: 320 {http://tempuri.org/}getQuote
                        HQ.getStockHQ java.lang.NullPointerException
      

  2.   

    以上问题找到了,是因为有多个log4j,后来我删除只留一了一个!!但是还是出不来,这是新打印的,难道application应用程序 和tomcat jsp调用不同????