Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 71780 invoked from network); 2 Feb 2005 18:10:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Feb 2005 18:10:06 -0000 Received: (qmail 35037 invoked by uid 500); 2 Feb 2005 18:09:46 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 34996 invoked by uid 500); 2 Feb 2005 18:09:46 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 34960 invoked by uid 99); 2 Feb 2005 18:09:46 -0000 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=HTML_20_30,HTML_CONVERTED,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ssmtl104.axa-canada.com (HELO ssmtl104.axa-canada.com) (206.47.141.39) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Feb 2005 10:09:44 -0800 Received: (from SSMTL102 [10.1.2.253]) by ssmtl104.axa-canada.com (SMSSMTP 4.1.0.19) with SMTP id M2005020213113425278 for ; Wed, 02 Feb 2005 13:11:34 -0500 Received: from ([142.216.40.175]) by SSMTL102; Wed, 02 Feb 2005 13:09:39 -0500 (EST) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C50952.66C19880" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Transfer-Encoding: 7bit Subject: RE : Install/Setup/Test of Axis fails Date: Wed, 2 Feb 2005 13:09:56 -0500 Message-ID: X-MS-Has-Attach: yes Importance: normal Priority: normal X-MS-TNEF-Correlator: Thread-Topic: Install/Setup/Test of Axis fails thread-index: AcUJT7Br6KQm25rkRua4fR+KrkMfdwAAb1OAAAAWfqA= From: "Faucher, Christian" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C50952.66C19880 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C50952.66C19880" ------_=_NextPart_002_01C50952.66C19880 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The warning comes from log4j not being initialised. Although it does not preven your client app to work, it is noisy. Put the log4j.xml in attachment in "/WEB-INF/classes". Axis will pick it up there (as "/log4j.xml" resource). You can put it somewhere else, but you will have to configure log4j yourself instead. You will want ot configure the log4j.xml for your needs. Hope it helps. Christian Faucher -----Message d'origine----- De : Dave Hoffer [mailto:DHoffer@xrite.com] Envoy=E9 : mercredi, f=E9vrier 2, 2005 13:04 =C0 : axis-user@ws.apache.org Objet : RE: Install/Setup/Test of Axis fails Oops, the instructions didn't say to include wsdl4j.jar in my AXISCLASSPATH. (This should be updated.) Now I just have the warning! Any ideas on that? -dh -----Original Message----- From: Dave Hoffer [mailto:DHoffer@xrite.com] Sent: Wednesday, February 02, 2005 12:51 PM To: axis-user@ws.apache.org Subject: Install/Setup/Test of Axis fails Hello, I am following the Installation Instructions for Axis 1.2. I am installing on XP and have already installed and have running Tomcat 4.1.31. I am also using the optional Xerces parser and xmlsec.jar. When I validate the Axis installation with happyaxis all is well. The problems start when I test deploying a web service. Following the Installation Instructions, I attempt to deploy deploy.wsdd in the stock sample project. This process gives me a log4j warning stating that no appenders could be found. This does not seem serious because it seems to indicate that it deployed correctly stating "Done processing". I then back up two folders and attempt to call GetQuote like this: java -cp .;%AXISCLASSPATH% samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX This returns with a warning regarding log4j. It then throws and exception java.lang.NoClassDefFoundError: javax/wsdl/OperationType What is the cause of this error (and the warnings)? -dh _____ =20 "Ce message est confidentiel, =E0 l'usage exclusif du destinataire ci-dessus et son contenu ne repr=E9sente en aucun cas un engagement de = la part de AXA, sauf en cas de stipulation expresse et par =E9crit de la = part de AXA. Toute publication, utilisation ou diffusion, m=EAme partielle, doit =EAtre autoris=E9e pr=E9alablement. Si vous n'=EAtes pas = destinataire de ce message, merci d'en avertir imm=E9diatement l'exp=E9diteur." "This e-mail message is confidential, for the exclusive use of the addressee and its contents shall not constitute a commitment by AXA, except as otherwise specifically provided in writing by AXA. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately." ------_=_NextPart_002_01C50952.66C19880 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message

The warning comes from log4j = not being=20 initialised.  Although it does not preven your client app to work, = it is=20 noisy.

Put the log4j.xml in attachment = in=20 "/WEB-INF/classes".  Axis will pick it up there (as "/log4j.xml"=20 resource).  You can put it somewhere else, but you will have to = configure=20 log4j yourself instead.  You will want ot configure the = log4j.xml for=20 your needs.

Hope it helps.

Christian=20 Faucher

-----Message d'origine-----
De : Dave = Hoffer [mailto:DHoffer@xrite.com]
Envoy=E9= :=20 mercredi, f=E9vrier 2, 2005 13:04
=C0 : = axis-user@ws.apache.org
Objet : RE:=20 Install/Setup/Test of Axis fails


Oops, the instructions = didn't say to=20 include wsdl4j.jar in my AXISCLASSPATH.  (This should be = updated.) =20 Now I just have the warning! Any ideas on = that?

-dh

-----Original=20 Message-----
From: Dave Hoffer [mailto:DHoffer@xrite.com]
Sent: = Wednesday, February 02, 2005 12:51 PM
To: = axis-user@ws.apache.org
Subject:=20 Install/Setup/Test of Axis fails

Hello,

I am following the = Installation Instructions for Axis 1.2.  I am installing on XP and = have=20 already installed and have running Tomcat 4.1.31.  I am also using = the=20 optional Xerces parser and xmlsec.jar. When I validate the Axis = installation=20 with happyaxis all is well.

The problems start when I test = deploying a=20 web service.  Following the Installation Instructions, I attempt to = deploy=20 deploy.wsdd in the stock sample project.  This process gives me a = log4j=20 warning stating that no appenders could be found.  This does not = seem=20 serious because it seems to indicate that it deployed correctly stating = "Done=20 processing".

I then back up two folders and attempt to call = GetQuote like=20 this: java -cp .;%AXISCLASSPATH%=20 samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlet/AxisServle= t=20 -uuser1 -wpass1 XXX

This returns with a warning regarding = log4j.  It=20 then throws and exception java.lang.NoClassDefFoundError:=20 javax/wsdl/OperationType

What is the cause of this error (and the = warnings)?

-dh


"Ce = message est confidentiel, =E0 l'usage exclusif du destinataire ci-dessus = et son contenu ne repr=E9sente en aucun cas un engagement de la part de = AXA, sauf en cas de stipulation expresse et par =E9crit de la part de = AXA. Toute publication, utilisation ou diffusion, m=EAme partielle, doit = =EAtre autoris=E9e pr=E9alablement. Si vous n'=EAtes pas destinataire de = ce message, merci d'en avertir imm=E9diatement = l'exp=E9diteur."

"This e-mail message is confidential, for the = exclusive use of the addressee and its contents shall not constitute a = commitment by AXA, except as otherwise specifically provided in writing = by AXA. Any unauthorized disclosure, use or dissemination, either whole = or partial, is prohibited. If you are not the intended recipient of the = message, please notify the sender immediately."
------_=_NextPart_002_01C50952.66C19880-- ------_=_NextPart_001_01C50952.66C19880 Content-Type: text/xml; name="log4j.xml" Content-Transfer-Encoding: base64 Content-Description: log4j.xml Content-Disposition: attachment; filename="log4j.xml" PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+DQo8IURPQ1RZUEUgbG9nNGo6 Y29uZmlndXJhdGlvbiBTWVNURU0gImxvZzRqLmR0ZCI+DQoNCjxsb2c0ajpjb25maWd1cmF0aW9u IHhtbG5zOmxvZzRqPSJodHRwOi8vamFrYXJ0YS5hcGFjaGUub3JnL2xvZzRqLyI+DQogICAgICAg IA0KICAgIDxhcHBlbmRlciBuYW1lPSJDT05TT0xFIiBjbGFzcz0ib3JnLmFwYWNoZS5sb2c0ai5D b25zb2xlQXBwZW5kZXIiPg0KICAgICAgICA8bGF5b3V0IGNsYXNzPSJvcmcuYXBhY2hlLmxvZzRq LlBhdHRlcm5MYXlvdXQiPg0KICAgICAgICAgICAgPHB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