Re: Resin parser and transformers configuration
Frederico Faria <[email protected]> Wed, 31 May 2006 21:32:20 +0000 (GMT)
| Newsgroups | gmane.text.xml.resin.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Mattias,
I have put the libbraries in both directories :
1-) HTTPSERVERHOME/lib
2-) HTTPSERVERHOME/webapps/axis/WEB-INF/lib
When I set the CLASSPATH as below before restart resin
everything works fine:
AXIS_BASE=HTTPSERVERHOME/webapps/axis/WEB-INF/lib
CLASSPATH=$AXIS_BASE/activation.jar;export CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/axis.jar; export
CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/axis-ant.jar:$AXIS_BASE/commons-discovery-0.2.jar;export
CLASSPAT
H
CLASSPATH=$CLASSPATH:$AXIS_BASE/axis-schema.jar:$AXIS_BASE/axis.jar
export CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/commons-logging-1.0.4.jar;export
CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/jaxrpc.jar:$AXIS_BASE/log4j-1.2.8.jar;export
CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/mail.jar:$AXIS_BASE/resolver.jar;export
CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/saaj.jar:$AXIS_BASE/wsdl4j-1.5.1.jar;export
CLASSPATH
CLASSPATH=$CLASSPATH:$AXIS_BASE/xercesImpl.jar:$AXIS_BASE/xercesSamples.jar:$AXIS_BASE/xml-apis.j
ar
CLASSPATH=$CLASSPATH:/opt/IMS-WebServer/5.1.1.2/webapps/axis:.
CLASSPATH=$CLASSPATH:$AXIS_BASE/../classes/mms/ChSDKapi.jar
Thank you,
Faria
--- Mattias Jiderhamn
<[email protected]> escreveu:
> Where are the Xerces and Xalan JARs located?
>
> At 2006-05-26 18:05, Frederico Faria wrote:
>
> >I am using Apaches AXIS 1.3 ant I have configured
> the
> >Resin Parsers changing the resin.conf to use Apache
> >parsers. However I yet continue receiving the
> >exception
> >when deploying the web service.
> > I only am able to solve the problem when I
> change
> >the
> >start Resin with the CLASSPATH pointing for the
> >Apache Parser classes.
> > Below I send the resin.conf slice with the
> parser
> >configuration and the error I have got.
> >
> >Thank you,
> >
> >Frederico Faria
> >
> >
> > <server>
> ><!-- xml -->
> ><system-property
> >javax.xml.parsers.DocumentBuilderFactory=
> >
>
>"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
> ><system-property
> javax.xml.parsers.SAXParserFactory=
> >
> >"org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
> >
> ><!-- xslt -->
> >
> ><system-property
> >javax.xml.transform.TransformerFactory=
> >
>
>"org.apache.xalan.processor.TransformerFactoryImpl"/>
> > <system-property org.xml.sax.driver=
> >
> "org.apache.xerces.parsers.SAXParser"/>
> > </server>
> >
> >
> >
>
>-----------------------------------------------------
> >
> >Processing file deploy.wsdd
> >Exception: AxisFault
> > faultCode:
>
>{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > faultSubcode:
> > faultString: org.w3c.dom.DOMException: `null'
> prefix
> >expects a namespace uri
> > faultActor:
> > faultNode:
> > faultDetail:
> > {http://xml.apache.org/axis/}hostname:tech
>
>
>
_______________________________________________________
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas
de e-mail no celular e anti-spam realmente eficaz.
http://mail.yahoo.com.br/
_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/