Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Article about tomcat 5

Derek Mahar

2004-01-29


The article mentions that JavaServer Pages Standard Tag Library (1.1) is
bundled in Tomcat 5. Is this really true? As far as I know, JSTL has
never been bundled with Tomcat. Every time I've updated Tomcat 5, I've
had to copy jstl.jar and standard.jar into $CATALINA_HOME/common/lib.
Is JSTL hidden in some other Tomcat jar file?

Derek

-----Original Message-----
From: Ralph Einfeldt [mailto:ralph.einfeldt@(protected)]
Sent: January 29, 2004 4:45 AM
To: Tomcat Users List
Subject: Article about tomcat 5


Somebody may find this interesting:

What's New in Tomcat 5
by Jason Brittain
http://www.onjava.com/pub/a/onjava/2004/01/28/tomcat5.html


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


Return-path: <axis-user-return-21331-ant=junlu.com@(protected)>
Envelope-to: ant@(protected)
Delivery-date: Thu, 29 Jan 2004 12:38:42 -0800
Received: from [208.185.179.12] (helo=mail.apache.org)
 by pisces.lunarpages.com with smtp (Exim 4.24)
 id 1AmIvr-0007D4-E0
 for ant@(protected)
Received: (qmail 34862 invoked by uid 500); 29 Jan 2004 20:38:15 -0000
Mailing-List: contact axis-user-help@(protected)
Precedence: bulk
Reply-To: axis-user@(protected)
list-help: <mailto:axis-user-help@(protected)>
list-unsubscribe: <mailto:axis-user-unsubscribe@(protected)>
list-post: <mailto:axis-user@(protected)>
Delivered-To: mailing list axis-user@(protected)
Received: (qmail 34840 invoked from network); 29 Jan 2004 20:38:15 -0000
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
Subject: RE: WSDL2Java problem / Solution
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C3E6A7.D4729647"
Date: Thu, 29 Jan 2004 13:38:19 -0700
Message-ID: <9A162BA7E501894B907D143DBC99A1B102BA8C@(protected)>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: WSDL2Java problem / Solution
Thread-Index: AcPmpgkFj5xs2XpoQ2y1VxU7bdQtfAAAF4sQ
From: "Ransel Lopez" <rlopez@(protected)>
To: <axis-user@(protected)>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3E6A7.D4729647
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thank you very much!!!!

What we did was this, maybe you like this solution better....

We work directly with the java class as a task. Something like this:


  <java fork="yes" classname="org.apache.axis.wsdl.WSDL2Java" dir="${project.test.src}">
   <arg value="-p"/>
   <arg value="output.package (example: com.company.wsdl2java)"/>
   <arg value="your.wsdl.as.WSDL-file-URL"/ <http://localhost:8080/timeindustrial/services/TimeIndustrialService?wsdl"/> >
   <classpath refid="project.classpath"/>
  </java>

It works perfectly in that way...
I hope it helps


Ransel López, Web Services Developer

Time Industrial, Inc.
An Outsourced Contractor Time and Cost Tracking Service.
-----------------------------------------------------------------------------------------
tel: 780.413.1521 fax: 780.413.0474
http://www.TimeIndustrial.com <http://www.timeindustrial.com/>

-----------------------------------------------------------------------------------------
This message and attached files, if any, is (are) intended only for the addressee(s) and may
contain privileged or confidential information. Any unauthorized disclosure is strictly prohibited.
If destined to our legal counsel, this transmission is privileged communication as between an
attorney and its client.
If you have received this message in error, please notify us immediately so that we may correct
our internal records. Please then delete the original message. Thank you.




 -----Original Message-----
 From: axis-user-return-21330-rlopez=timeindustrial.com@(protected)
 Sent: Thursday, January 29, 2004 1:27 PM
 To: axis-user@(protected)
 Subject: Re: WSDL2Java problem / Solution
 
 
 Gourav, you are absolutely right.... for WSDL2Java utility, we don't need all these jars but just those jars that you mentioned..... I just showed the values of my classpath variables....
 and I forgot to write that modfiy these classpath variables according to your own jar files....
 
 Safdar.

   ----- Original Message -----
   From: Pani, Gourav <mailto:gourav.pani@(protected)>
   To: 'axis-user@(protected)'
   Sent: Thursday, January 29, 2004 9:02 PM
   Subject: RE: WSDL2Java problem / Solution

   That's odd. The only thing I use in my CLASSPATH to do WSDL2Java is
   
   
   C:\apache-axis-1_1\lib\axis.jar;C:\apache-axis-1_1\lib\commons-discovery.jar;C:\apache-axis-1_1\lib\commons-logging.jar;C:\apache-axis-1_1\lib\jaxrpc.jar;C:\apache-axis-1_1\lib\saaj.jar;C:\apache-axis-1_1\lib\log4j-1.2.8.jar;C:\apache-axis-1_1\lib\xml-apis.jar;C:\apache-axis-1_1\lib\xercesImpl.jar;.;C:\apache-axis-1_1\lib\wsdl4j.jar
   
   You seem to be using a heck of a lot more jars for just basic WSDL2Java.

     -----Original Message-----
     From: Safdar Ali [mailto:safdar@(protected)]
     Sent: Thursday, January 29, 2004 2:06 PM
     To: axis-user@(protected)
     Subject: Re: WSDL2Java problem / Solution
     
     
     Hi all, (especially Lopez, Kondapalli, Ashley)
     Finally, after doing 3 days of brain storming.. I have come to a solution for WSDL2Java problem where it throws Exception at different levels.....
     
     It involves two prblems....
     1) Your classpath variable limit; which is 1024 characters on Windows Sytems (2k professional and all)...
     2) Inclusion of all required .jars files into your classpath variable that come with Axis.
     
     For the solution... I have made two System variables... one is CLASSPATH and the other is CLASSPATH1
     Now, when I want to run this command (>java org.apache.axis.wsdl.WSDL2Java AddressBook.wsdl), I set the CLASSPATH variable before...like
     >set CLASSPATH=%CLASSPATH%%CLASSPATH1%
     
     My details of both variables are below:
     
     CLASSPATH=.;%JAVA_HOME%\lib\;%JAVA_HOME%\lib\tools.jar;%JAVA_ENDORSED%\jdbc-ext.jar;%JAVA_ENDORSED%\jta.jar;%JAVA_ENDORSED%\log4j.jar;%JAVA_ENDORSED%\saaj.jar;
     
     CLASSPATH1=%JAVA_ENDORSED%\active.jar;%JAVA_ENDORSED%\ant.jar;%JAVA_ENDORSED%\axis.jar;%JAVA_ENDORSED%\axis-ant.jar;%JAVA_ENDORSED%\com-coll.jar;%JAVA_ENDORSED%\com-disc.jar;%JAVA_ENDORSED%\com-log.jar;%JAVA_ENDORSED%\com-log-api.jar;%JAVA_ENDORSED%\com-pool.jar;%JAVA_ENDORSED%\jaxrpc.jar;%JAVA_ENDORSED%\nam-com.jar;%JAVA_ENDORSED%\nam-fac.jar;%JAVA_ENDORSED%\nam-res.jar;%JAVA_ENDORSED%\xerces.jar;%JAVA_ENDORSED%\xml-apis.jar;%JAVA_ENDORSED%\mail.jar;%JAVA_ENDORSED%\wsdl4j.jar;%JAVA_ENDORSED%\com-disc.jar;%JAVA_ENDORSED%\com-dbcp.jar;%JAVA_ENDORSED%\jas-comp.jar;%JAVA_ENDORSED%\jas-run.jar;%JAVA_ENDORSED%\jdbc-ext.jar;
     
     where JAVA_ENDORSED=C:\j2sdk1.4.2_03\jre\lib\endorsed
     
     (You can put all the files into lib folder of Java, but I prefer to put the files in endorsed folder...)
     
     I've shortened the names of all .jars files but these are still readable....I have made a .bat file which I exectue before using the WSDL2Java utility...and this .bat contains the command that I showed earlier... (>set CLASSPATH=%CLASSPATH%%CLASSPATH1%)
     
     Have fun!!!
     Safdar.
     

       ----- Original Message -----
       From: Ransel Lopez <mailto:rlopez@(protected)>
       To: axis-user@(protected)
       Sent: Monday, January 26, 2004 5:07 PM
       Subject: RE: WSDL2Java problem
       
       
       Hi Safdar,
       
       I have the same problem. I sent the same question and I didn't get any answer. Please, if you find the solution let me know. I'll do the same.
       
       Thank you very much
       
       
       Ransel López, Web Services Developer

       Time Industrial, Inc.
        An Outsourced Contractor Time and Cost Tracking Service.
        -----------------------------------------------------------------------------------------
       tel: 780.413.1521 fax: 780.413.0474
        http://www.TimeIndustrial.com <http://www.timeindustrial.com/>
       
        -----------------------------------------------------------------------------------------
        This message and attached files, if any, is (are) intended only for the addressee(s) and may
        contain privileged or confidential information. Any unauthorized disclosure is strictly prohibited.
        If destined to our legal counsel, this transmission is privileged communication as between an
        attorney and its client.
        If you have received this message in error, please notify us immediately so that we may correct
        our internal records. Please then delete the original message. Thank you.

       
       

         -----Original Message-----
         From: axis-user-return-21199-rlopez=timeindustrial.com@(protected)
         Sent: Monday, January 26, 2004 8:12 AM
         To: Axis User
         Subject: WSDL2Java problem
         
         
         Hello,
         I am getting the following error while using WSDL2Java tool...
         
         C:\axis-1_1\samples\addr>java org.apache.axis.wsdl.WSDL2Java Address.wsdl
         Exception in thread "main" java.lang.NoClassDefFoundError: javax.wsdl.Definition
              at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.class$(JavaGeneratorFactory.java:163)
              at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addDefinitionGenerators (JavaGeneratorFactory.java:163)
              at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addGenerators (JavaGeneratorFactory.java:133)
              at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.<init>(JavaGeneratorFactory.java:120)
              at org.apache.axis.wsdl.toJava.Emitter.<init>(Emitter.java:120)
              at org.apache.axis.wsdl.WSDL2Java.createParser (WSDL2Java.java:172)
              at org.apache.axis.wsdl.gen.WSDL2.<init>(WSDL2.java:113)
              at org.apache.axis.wsdl.WSDL2Java.<init>(WSDL2Java.java:161)
              at org.apache.axis.wsdl.WSDL2Java.main (WSDL2Java.java:289)
         
         All of the required .jar files exist in classpath... and even I have extracted the 3 .jar files into the Java_Home\lib folder... and it still doesn't work....
         I would be thankful if get the suggestion...
         
         Rgrds.
         Safdar.


------_=_NextPart_001_01C3E6A7.D4729647
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2>Thank you very much!!!!</FONT></SPAN></DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2>What&nbsp;we did was this, maybe you like this solution
better....</FONT></SPAN></DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff size=2>We
work directly with the java class as a task. Something like
this:</FONT></SPAN></DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff
size=2>&nbsp;&nbsp;&nbsp; &lt;java fork="yes"
classname="org.apache.axis.wsdl.WSDL2Java"
dir="${project.test.src}"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg
value="-p"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg value="output.package
(example: com.company.wsdl2java)"/&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;arg value="<A
href='http://localhost:8080/timeindustrial/services/TimeIndustrialService?wsdl"/'>your.wsdl.as.<FONT
color=#000000 size=3><FONT size=2><FONT
color=#0000ff>WSDL-file-URL</FONT></FONT></FONT>"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;classpath refid="project.classpath"/&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/java&gt;<BR></FONT></SPAN></DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff size=2>It
works perfectly in that way...</FONT></SPAN></DIV>
<DIV><SPAN class=718062820-29012004><FONT face=Verdana color=#0000ff size=2>I
hope it helps</DIV></FONT></SPAN>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT><BR><BR><FONT
face=Arial><FONT size=2><B>Ransel López</B>, Web Services
Developer</FONT></FONT></DIV>
<P align=left><FONT face=Arial><FONT size=2><B>Time Industrial,
Inc.</B></FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;An Outsourced
Contractor Time and Cost Tracking Service.</FONT></FONT><BR><FONT
face=Arial><FONT
size=2>&nbsp;-----------------------------------------------------------------------------------------</FONT></FONT><BR><FONT
face=Arial><FONT size=2>tel: 780.413.1521&nbsp; fax:
780.413.0474</FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;<A
href="http://www.timeindustrial.com/">http://www.TimeIndustrial.com</A>
</FONT></FONT><BR><FONT face=Arial><FONT size=2></FONT></FONT><BR><FONT
face=Arial><FONT
size=2>&nbsp;-----------------------------------------------------------------------------------------</FONT></FONT><BR><FONT
face=Arial><FONT size=2>&nbsp;This message and attached files, if any, is (are)
intended&nbsp;only for the addressee(s)
and&nbsp;may&nbsp;</FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;contain
privileged or&nbsp;confidential&nbsp;information. Any unauthorized disclosure
is&nbsp;strictly prohibited.&nbsp;</FONT></FONT><BR><FONT face=Arial><FONT
size=2>&nbsp;If destined to our legal counsel, this&nbsp;transmission is
privileged communication as between an&nbsp;</FONT></FONT><BR><FONT
face=Arial><FONT size=2>&nbsp;attorney&nbsp;and its
client.</FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;If you have
received this message in error, please notify&nbsp;us immediately so that we may
correct&nbsp;</FONT></FONT><BR><FONT face=Arial><FONT
size=2>&nbsp;our&nbsp;internal&nbsp;records. Please then delete the original
message. Thank you.</FONT></FONT></P>
<P><!-- $MVD$:spaceretainer() -->&nbsp;<BR><FONT face=Arial><FONT
size=2>&nbsp;</FONT></FONT> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
axis-user-return-21330-rlopez=timeindustrial.com@(protected)
[mailto:axis-user-return-21330-rlopez=timeindustrial.com@(protected)
Behalf Of </B>Safdar Ali<BR><B>Sent:</B> Thursday, January 29, 2004 1:27
PM<BR><B>To:</B> axis-user@(protected)
problem / Solution<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Gourav, you are absolutely right.... for
WSDL2Java utility, we don't need all these jars but just those jars that you
mentioned..... I just showed the values of my classpath
variables....</FONT></DIV>
<DIV><FONT face=Arial size=2>and I forgot to write that modfiy these classpath
variables according to your own jar files....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Safdar.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
  <A title=gourav.pani@(protected)
  href="mailto:gourav.pani@(protected)>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=axis-user@(protected)
  href="mailto:'axis-user@ws.apache.org'">'axis-user@(protected)>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 29, 2004 9:02
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: WSDL2Java problem /
  Solution</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=609380120-29012004><FONT face=Arial color=#0000ff
  size=2>That's odd.&nbsp; The only thing I use in my CLASSPATH to do
  WSDL2Java is</FONT></SPAN></DIV>
  <DIV><SPAN class=609380120-29012004><FONT face=Arial color=#0000ff
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=609380120-29012004><FONT face=Arial color=#0000ff
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=609380120-29012004><FONT face=Arial color=#0000ff
  size=2>C:\apache-axis-1_1\lib\axis.jar;C:\apache-axis-1_1\lib\commons-discovery.jar;C:\apache-axis-1_1\lib\commons-logging.jar;C:\apache-axis-1_1\lib\jaxrpc.jar;C:\apache-axis-1_1\lib\saaj.jar;C:\apache-axis-1_1\lib\log4j-1.2.8.jar;C:\apache-axis-1_1\lib\xml-apis.jar;C:\apache-axis-1_1\lib\xercesImpl.jar;.;C:\apache-axis-1_1\lib\wsdl4j.jar</FONT></SPAN></DIV>
  <DIV><SPAN class=609380120-29012004><FONT face=Arial color=#0000ff
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=609380120-29012004><FONT face=Arial color=#0000ff
  size=2>You seem to be using a heck of a lot more jars for just basic
  WSDL2Java.</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
   <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
   size=2>-----Original Message-----<BR><B>From:</B> Safdar Ali
   [mailto:safdar@(protected)
   2:06 PM<BR><B>To:</B> axis-user@(protected):
   WSDL2Java problem / Solution<BR><BR></FONT></DIV>
   <DIV><FONT face=Arial size=2>Hi all, (especially <STRONG>Lopez,
   Kondapalli, Ashley</STRONG>)</FONT></DIV>
   <DIV><FONT face=Arial size=2>Finally, after doing 3 days of brain
   storming.. I have come to a solution for WSDL2Java problem where it throws
   Exception at different levels.....</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>It involves two prblems....</FONT></DIV>
   <DIV><FONT face=Arial size=2>1) Your classpath variable limit; which is
   1024 characters on Windows Sytems (2k professional and
all)...</FONT></DIV>
   <DIV><FONT face=Arial size=2>2) Inclusion of all required .jars files into
   your classpath variable that come with Axis.</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>For the solution... I have made two System
   variables... one is <STRONG>CLASSPATH</STRONG> and the other is
   <STRONG>CLASSPATH1</STRONG></FONT></DIV>
   <DIV><FONT face=Arial size=2>Now, when I want to run this command
   (&gt;<FONT face="Times New Roman" size=3>java
   org.apache.axis.wsdl.WSDL2Java AddressBook.wsdl</FONT>), I set the
   CLASSPATH variable before...like</FONT></DIV>
   <DIV><FONT face=Arial size=2><STRONG>&gt;set
   CLASSPATH=%CLASSPATH%%CLASSPATH1%</STRONG></FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>My details of both variables are
   below:</FONT></DIV>
   <DIV><FONT face=Arial size=2><STRONG></STRONG></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial
   size=2><STRONG>CLASSPATH</STRONG>=.;%JAVA_HOME%\lib\;%JAVA_HOME%\lib\tools.jar;%JAVA_ENDORSED%\jdbc-ext.jar;%JAVA_ENDORSED%\jta.jar;%JAVA_ENDORSED%\log4j.jar;%JAVA_ENDORSED%\saaj.jar;</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial
   size=2><STRONG>CLASSPATH1</STRONG>=%JAVA_ENDORSED%\active.jar;%JAVA_ENDORSED%\ant.jar;%JAVA_ENDORSED%\axis.jar;%JAVA_ENDORSED%\axis-ant.jar;%JAVA_ENDORSED%\com-coll.jar;%JAVA_ENDORSED%\com-disc.jar;%JAVA_ENDORSED%\com-log.jar;%JAVA_ENDORSED%\com-log-api.jar;%JAVA_ENDORSED%\com-pool.jar;%JAVA_ENDORSED%\jaxrpc.jar;%JAVA_ENDORSED%\nam-com.jar;%JAVA_ENDORSED%\nam-fac.jar;%JAVA_ENDORSED%\nam-res.jar;%JAVA_ENDORSED%\xerces.jar;%JAVA_ENDORSED%\xml-apis.jar;%JAVA_ENDORSED%\mail.jar;%JAVA_ENDORSED%\wsdl4j.jar;%JAVA_ENDORSED%\com-disc.jar;%JAVA_ENDORSED%\com-dbcp.jar;%JAVA_ENDORSED%\jas-comp.jar;%JAVA_ENDORSED%\jas-run.jar;%JAVA_ENDORSED%\jdbc-ext.jar;</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>where
   <STRONG>JAVA_ENDORSED</STRONG>=C:\j2sdk1.4.2_03\jre\lib\endorsed</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>(You can put all the files into lib folder of
   Java, but I prefer to put the files in endorsed folder...)</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>I've shortened the names of all .jars files
   but these are still readable....I have made a <STRONG>.bat</STRONG> file
   which I exectue before using the WSDL2Java utility...and this
   <STRONG>.bat</STRONG> contains the command that I showed earlier... (<FONT
   face=Arial size=2><STRONG>&gt;set
   CLASSPATH=%CLASSPATH%%CLASSPATH1%</STRONG></FONT>)</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>Have fun!!!</FONT></DIV>
   <DIV><FONT face=Arial size=2>Safdar.</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <BLOCKQUOTE dir=ltr
   style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
    <A title=rlopez@(protected)
    href="mailto:rlopez@(protected)>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A
    title=axis-user@(protected)
    href="mailto:axis-user@ws.apache.org">axis-user@(protected)>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 26, 2004 5:07
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: WSDL2Java
problem</DIV>
    <DIV><FONT face=Arial size=2></FONT><BR></DIV>
    <DIV><FONT face=Verdana color=#0000ff size=2><SPAN
    class=735520516-26012004>Hi Safdar,</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana color=#0000ff size=2><SPAN
    class=735520516-26012004></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana color=#0000ff size=2><SPAN
    class=735520516-26012004>I have the same problem. I sent the same
    question and I didn't get any answer. Please, if you find the solution
    let me know. I'll do the same.</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana color=#0000ff size=2><SPAN
    class=735520516-26012004></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana color=#0000ff size=2><SPAN
    class=735520516-26012004>Thank you very much</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana color=#0000ff size=2></FONT><FONT face=Verdana
    color=#0000ff size=2></FONT><BR><BR><FONT face=Arial><FONT
    size=2><B>Ransel López</B>, Web Services Developer</FONT></FONT></DIV>
    <P align=left><FONT face=Arial><FONT size=2><B>Time Industrial,
    Inc.</B></FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;An
    Outsourced Contractor Time and Cost Tracking
    Service.</FONT></FONT><BR><FONT face=Arial><FONT
    size=2>&nbsp;-----------------------------------------------------------------------------------------</FONT></FONT><BR><FONT
    face=Arial><FONT size=2>tel: 780.413.1521&nbsp; fax:
    780.413.0474</FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;<A
    href="http://www.timeindustrial.com/">http://www.TimeIndustrial.com</A>
    </FONT></FONT><BR><FONT face=Arial><FONT size=2></FONT></FONT><BR><FONT
    face=Arial><FONT
    size=2>&nbsp;-----------------------------------------------------------------------------------------</FONT></FONT><BR><FONT
    face=Arial><FONT size=2>&nbsp;This message and attached files, if any,
    is (are) intended&nbsp;only for the addressee(s)
    and&nbsp;may&nbsp;</FONT></FONT><BR><FONT face=Arial><FONT
    size=2>&nbsp;contain privileged or&nbsp;confidential&nbsp;information.
    Any unauthorized disclosure is&nbsp;strictly
    prohibited.&nbsp;</FONT></FONT><BR><FONT face=Arial><FONT
    size=2>&nbsp;If destined to our legal counsel, this&nbsp;transmission is
    privileged communication as between an&nbsp;</FONT></FONT><BR><FONT
    face=Arial><FONT size=2>&nbsp;attorney&nbsp;and its
    client.</FONT></FONT><BR><FONT face=Arial><FONT size=2>&nbsp;If you have
    received this message in error, please notify&nbsp;us immediately so
    that we may correct&nbsp;</FONT></FONT><BR><FONT face=Arial><FONT
    size=2>&nbsp;our&nbsp;internal&nbsp;records. Please then delete the
    original message. Thank you.</FONT></FONT></P>
    <P><!-- $MVD$:spaceretainer() -->&nbsp;<BR><FONT face=Arial><FONT
    size=2>&nbsp;</FONT></FONT> </P>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
      face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
      axis-user-return-21199-rlopez=timeindustrial.com@(protected)
      [mailto:axis-user-return-21199-rlopez=timeindustrial.com@(protected)]
      <B>On Behalf Of </B>Safdar Ali<BR><B>Sent:</B> Monday, January 26,
      2004 8:12 AM<BR><B>To:</B> Axis User<BR><B>Subject:</B> WSDL2Java
      problem<BR><BR></FONT></DIV>
      <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
      <DIV><FONT face=Arial size=2>I am getting the following error while
      using WSDL2Java tool...</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2><STRONG>C:\axis-1_1\samples\addr&gt;java
      org.apache.axis.wsdl.WSDL2Java Address.wsdl<BR>Exception in thread
      "main" java.lang.NoClassDefFoundError:
      javax.wsdl.Definition<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
      org.apache.axis.wsdl.toJava.JavaGeneratorFactory.class$(JavaGeneratorFactory.java:163)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addDefinitionGenerators (JavaGeneratorFactory.java:163)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addGenerators (JavaGeneratorFactory.java:133)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.toJava.JavaGeneratorFactory.&lt;init&gt;(JavaGeneratorFactory.java:120)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.toJava.Emitter.&lt;init&gt;(Emitter.java:120)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.WSDL2Java.createParser (WSDL2Java.java:172)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.gen.WSDL2.&lt;init&gt;(WSDL2.java:113)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.WSDL2Java.&lt;init&gt;(WSDL2Java.java:161)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      at
      org.apache.axis.wsdl.WSDL2Java.main (WSDL2Java.java:289)</STRONG></FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>All of the required .jar files exist in
      classpath... and even I have extracted the 3 .jar files into the
      <STRONG>Java_Home\lib</STRONG> folder... and it still doesn't
      work....</FONT></DIV>
      <DIV><FONT face=Arial size=2>I would be thankful if get the
      suggestion...</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Rgrds.</FONT></DIV>
      <DIV><FONT face=Arial
  size=2>Safdar.</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3E6A7.D4729647--


©2008 junlu.com - Jax Systems, LLC, U.S.A.