You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Robertson <dw...@lbl.gov> on 2007/07/30 02:51:05 UTC

ExtensionUtility not found in nightly build

I'm getting the following error when using wsdl2java with the nightly 
build of axis2-1.3-RC2.  I am new to using the nightly builds, and was 
trying to troubleshoot an exception handling error to see if it had been 
fixed yet.  Any suggestions?

Thanks,

-David Robertson

wsdl2java:
   [delete] Deleting 1 files from 
/home/oscars/oscars/branches/java/resources
     [java] Retrieving schema at 'OSCARS.xsd', relative to 
'file:/home/oscars/oscars/branches/java/conf/server/'.
     [java] Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.ClassNotFoundException: 
org.apache.axis2.schema.ExtensionUtility
     [java]     at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
     [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
     [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
     [java] Caused by: java.lang.RuntimeException: 
java.lang.ClassNotFoundException: org.apache.axis2.schema.ExtensionUtility
     [java]     at 
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
     [java]     at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
     [java]     ... 2 more
     [java] Caused by: java.lang.ClassNotFoundException: 
org.apache.axis2.schema.ExtensionUtility
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:164)
     [java]     at 
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:45)
     [java]     ... 3 more
     [java] Java Result: 1
     [echo]

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: ExtensionUtility not found in nightly build

Posted by Davanum Srinivas <da...@gmail.com>.
Thanks! we already fixed this in the latest nightlies. (i.e. the war
zip/dist has the jar)

-- dims

On 7/31/07, David Robertson <dw...@lbl.gov> wrote:
> It turns out axis2-adb-codegen-1.3-RC2.jar is in the binary distribution
> but not in the war file.
>
> -David
>
> Amila Suriarachchi wrote:
> > it says
> > [java] Exception in thread "main"
> > org.apache.axis2.wsdl.codegen
> > .CodeGenerationException:
> > java.lang.RuntimeException: java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >
> > this means adb-codegen.jar is not at the class path.
> > can you check whether you lib directory contain this file and you have
> > set the AXIS2_HOME correctly.
> >
> > Amila.
> >
> >
> > On 7/30/07, *Deepal Jayasinghe* <deepal@opensource.lk
> > <ma...@opensource.lk>> wrote:
> >
> >     Hi Amila,
> >     Do you have any idea about this issues ?
> >
> >     Thanks
> >     Deepal
> >
> >     David Robertson wrote:
> >     > I'm getting the following error when using wsdl2java with the
> >     nightly
> >     > build of axis2-1.3-RC2.  I am new to using the nightly builds,
> >     and was
> >     > trying to troubleshoot an exception handling error to see if it had
> >     > been fixed yet.  Any suggestions?
> >     >
> >     > Thanks,
> >     >
> >     > -David Robertson
> >     >
> >     > wsdl2java:
> >     >   [delete] Deleting 1 files from
> >     > /home/oscars/oscars/branches/java/resources
> >     >     [java] Retrieving schema at 'OSCARS.xsd', relative to
> >     > 'file:/home/oscars/oscars/branches/java/conf/server/'.
> >     >     [java] Exception in thread "main"
> >     > org.apache.axis2.wsdl.codegen.CodeGenerationException:
> >     > java.lang.RuntimeException: java.lang.ClassNotFoundException:
> >     > org.apache.axis2.schema.ExtensionUtility
> >     >     [java]     at
> >     > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate
> >     (CodeGenerationEngine.java:265)
> >     >
> >     >     [java]     at
> >     org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
> >     >     [java]     at
> >     org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> >     >     [java] Caused by: java.lang.RuntimeException:
> >     > java.lang.ClassNotFoundException:
> >     > org.apache.axis2.schema.ExtensionUtility
> >     >     [java]     at
> >     >
> >     org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java
> >     :53)
> >     >
> >     >     [java]     at
> >     >
> >     org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
> >     >
> >     >     [java]     ... 2 more
> >     >     [java] Caused by: java.lang.ClassNotFoundException :
> >     > org.apache.axis2.schema.ExtensionUtility
> >     >     [java]     at
> >     java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >     >     [java]     at java.security.AccessController.doPrivileged(Native
> >     > Method)
> >     >     [java]     at
> >     > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >     >     [java]     at
> >     java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >     >     [java]     at
> >     > sun.misc.Launcher$AppClassLoader.loadClass (Launcher.java:268)
> >     >     [java]     at
> >     java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >     >     [java]     at
> >     > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >     >     [java]     at java.lang.Class.forName0(Native Method)
> >     >     [java]     at java.lang.Class.forName(Class.java:164)
> >     >     [java]     at
> >     >
> >     org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java
> >     :45)
> >     >
> >     >     [java]     ... 3 more
> >     >     [java] Java Result: 1
> >     >     [echo]
> >     >
> >     >
> >     ---------------------------------------------------------------------
> >     > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >     <ma...@ws.apache.org>
> >     > For additional commands, e-mail: axis-user-help@ws.apache.org
> >     <ma...@ws.apache.org>
> >     >
> >     >
> >     >
> >
> >     --
> >     Thanks,
> >     Deepal
> >     ................................................................
> >     "The highest tower is built one brick at a time"
> >
> >
> >
> >     ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >     <ma...@ws.apache.org>
> >     For additional commands, e-mail: axis-user-help@ws.apache.org
> >     <ma...@ws.apache.org>
> >
> >
> >
> >
> > --
> > Amila Suriarachchi,
> > WSO2 Inc.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: ExtensionUtility not found in nightly build

Posted by David Robertson <dw...@lbl.gov>.
It turns out axis2-adb-codegen-1.3-RC2.jar is in the binary distribution 
but not in the war file.

-David

Amila Suriarachchi wrote:
> it says
> [java] Exception in thread "main"
> org.apache.axis2.wsdl.codegen
> .CodeGenerationException:
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> org.apache.axis2.schema.ExtensionUtility
>
> this means adb-codegen.jar is not at the class path.
> can you check whether you lib directory contain this file and you have 
> set the AXIS2_HOME correctly.
>
> Amila.
>
>
> On 7/30/07, *Deepal Jayasinghe* <deepal@opensource.lk 
> <ma...@opensource.lk>> wrote:
>
>     Hi Amila,
>     Do you have any idea about this issues ?
>
>     Thanks
>     Deepal
>
>     David Robertson wrote:
>     > I'm getting the following error when using wsdl2java with the
>     nightly
>     > build of axis2-1.3-RC2.  I am new to using the nightly builds,
>     and was
>     > trying to troubleshoot an exception handling error to see if it had
>     > been fixed yet.  Any suggestions?
>     >
>     > Thanks,
>     >
>     > -David Robertson
>     >
>     > wsdl2java:
>     >   [delete] Deleting 1 files from
>     > /home/oscars/oscars/branches/java/resources
>     >     [java] Retrieving schema at 'OSCARS.xsd', relative to
>     > 'file:/home/oscars/oscars/branches/java/conf/server/'.
>     >     [java] Exception in thread "main"
>     > org.apache.axis2.wsdl.codegen.CodeGenerationException:
>     > java.lang.RuntimeException: java.lang.ClassNotFoundException:
>     > org.apache.axis2.schema.ExtensionUtility
>     >     [java]     at
>     > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate
>     (CodeGenerationEngine.java:265)
>     >
>     >     [java]     at
>     org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>     >     [java]     at
>     org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>     >     [java] Caused by: java.lang.RuntimeException:
>     > java.lang.ClassNotFoundException:
>     > org.apache.axis2.schema.ExtensionUtility
>     >     [java]     at
>     >
>     org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java
>     :53)
>     >
>     >     [java]     at
>     >
>     org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>     >
>     >     [java]     ... 2 more
>     >     [java] Caused by: java.lang.ClassNotFoundException :
>     > org.apache.axis2.schema.ExtensionUtility
>     >     [java]     at
>     java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     >     [java]     at java.security.AccessController.doPrivileged(Native
>     > Method)
>     >     [java]     at
>     > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     >     [java]     at
>     java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>     >     [java]     at
>     > sun.misc.Launcher$AppClassLoader.loadClass (Launcher.java:268)
>     >     [java]     at
>     java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     >     [java]     at
>     > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>     >     [java]     at java.lang.Class.forName0(Native Method)
>     >     [java]     at java.lang.Class.forName(Class.java:164)
>     >     [java]     at
>     >
>     org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java
>     :45)
>     >
>     >     [java]     ... 3 more
>     >     [java] Java Result: 1
>     >     [echo]
>     >
>     >
>     ---------------------------------------------------------------------
>     > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>     <ma...@ws.apache.org>
>     > For additional commands, e-mail: axis-user-help@ws.apache.org
>     <ma...@ws.apache.org>
>     >
>     >
>     >
>
>     --
>     Thanks,
>     Deepal
>     ................................................................
>     "The highest tower is built one brick at a time"
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>     <ma...@ws.apache.org>
>     For additional commands, e-mail: axis-user-help@ws.apache.org
>     <ma...@ws.apache.org>
>
>
>
>
> -- 
> Amila Suriarachchi,
> WSO2 Inc. 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: ExtensionUtility not found in nightly build

Posted by Amila Suriarachchi <am...@gmail.com>.
it says
[java] Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.apache.axis2.schema.ExtensionUtility

this means adb-codegen.jar is not at the class path.
can you check whether you lib directory contain this file and you have set
the AXIS2_HOME correctly.

Amila.


On 7/30/07, Deepal Jayasinghe <de...@opensource.lk> wrote:
>
> Hi Amila,
> Do you have any idea about this issues ?
>
> Thanks
> Deepal
>
> David Robertson wrote:
> > I'm getting the following error when using wsdl2java with the nightly
> > build of axis2-1.3-RC2.  I am new to using the nightly builds, and was
> > trying to troubleshoot an exception handling error to see if it had
> > been fixed yet.  Any suggestions?
> >
> > Thanks,
> >
> > -David Robertson
> >
> > wsdl2java:
> >   [delete] Deleting 1 files from
> > /home/oscars/oscars/branches/java/resources
> >     [java] Retrieving schema at 'OSCARS.xsd', relative to
> > 'file:/home/oscars/oscars/branches/java/conf/server/'.
> >     [java] Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.RuntimeException: java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >     [java]     at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
> CodeGenerationEngine.java:265)
> >
> >     [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java
> :35)
> >     [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java
> :24)
> >     [java] Caused by: java.lang.RuntimeException:
> > java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >     [java]     at
> > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(
> SimpleDBExtension.java:53)
> >
> >     [java]     at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
> CodeGenerationEngine.java:218)
> >
> >     [java]     ... 2 more
> >     [java] Caused by: java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >     [java]     at java.security.AccessController.doPrivileged(Native
> > Method)
> >     [java]     at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >     [java]     at
> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> >     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >     [java]     at
> > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >     [java]     at java.lang.Class.forName0(Native Method)
> >     [java]     at java.lang.Class.forName(Class.java:164)
> >     [java]     at
> > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(
> SimpleDBExtension.java:45)
> >
> >     [java]     ... 3 more
> >     [java] Java Result: 1
> >     [echo]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
>
> --
> Thanks,
> Deepal
> ................................................................
> "The highest tower is built one brick at a time"
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Re: ExtensionUtility not found in nightly build

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Amila,
Do you have any idea about this issues ?

Thanks
Deepal

David Robertson wrote:
> I'm getting the following error when using wsdl2java with the nightly
> build of axis2-1.3-RC2.  I am new to using the nightly builds, and was
> trying to troubleshoot an exception handling error to see if it had
> been fixed yet.  Any suggestions?
>
> Thanks,
>
> -David Robertson
>
> wsdl2java:
>   [delete] Deleting 1 files from
> /home/oscars/oscars/branches/java/resources
>     [java] Retrieving schema at 'OSCARS.xsd', relative to
> 'file:/home/oscars/oscars/branches/java/conf/server/'.
>     [java] Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> org.apache.axis2.schema.ExtensionUtility
>     [java]     at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>
>     [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>     [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>     [java] Caused by: java.lang.RuntimeException:
> java.lang.ClassNotFoundException:
> org.apache.axis2.schema.ExtensionUtility
>     [java]     at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>
>     [java]     at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>
>     [java]     ... 2 more
>     [java] Caused by: java.lang.ClassNotFoundException:
> org.apache.axis2.schema.ExtensionUtility
>     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>     [java]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>     [java]     at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     [java]     at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>     [java]     at java.lang.Class.forName0(Native Method)
>     [java]     at java.lang.Class.forName(Class.java:164)
>     [java]     at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:45)
>
>     [java]     ... 3 more
>     [java] Java Result: 1
>     [echo]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org