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 Fabio Alves de Araujo Ebner - DNA Solution <fa...@dnasolution.com.br> on 2006/09/20 15:54:04 UTC

classpath

how .jar i need put at classpath??

%AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LIB%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;

i put all this but when i run 
WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d xmlbeans -o ..\samples -p org.apache.axis2.userguide

i got the error: 

C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri http://localhost:8
080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p br.com
.dnasolution
Exception in thread "main" java.lang.NoClassDefFoundError
        at org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
:29)
        at org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
:29)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java:111
7)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:168)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.OMElement
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        ... 12 more

Re: [Spam] Re: classpath

Posted by Rodrigo Ruiz <rr...@gridsystems.com>.
Fabio, to prevent the log4j warning, you may create a "config"
directory, add it to your classpath, and put inside a log4j.properties
file with the following contents:

# Start of log4j.properties
log4j.rootCategory=INFO, CONSOLE

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d %5p [%c] %m%n
# End of log4j.properties

If you have further questions regarding log4j configuration, you will
find better answers in the log4j newsgroup, as Marting points.

Regards

Fabio Alves de Araujo Ebner - DNA Solution wrote:
> ok.. i put but all there but she still return the error:
> 
> C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8080/axis
> 2/services/VerificaLogin?wsdl -p br.com.dnasolution
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.i18n.Project
> ResourceBundle).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.NoClassDefFoundError
>         at
> org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
> 1)
>         at
> org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
> :99)
>         at
> org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
> ava:78)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> 
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> 
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Sou
> rce)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at java.lang.Class.newInstance0(Unknown Source)
>         at java.lang.Class.newInstance(Unknown Source)
>         at
> org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
> ertyLoader.java:42)
>         at
> org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
> )
>         at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
> leDBExtension.java:68)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:140)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.axis2.databinding.types.
> Time
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Unknown Source)
>         ... 15 more
> ----- Original Message -----
> From: "Martin Gainty" <mg...@hotmail.com>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 1:20 PM
> Subject: Re: [Spam] Re: classpath
> 
> 
>> whenever you call your PrettyPrint routines in Jalopy you will need
> Log4J*.jar ON YOUR CLASSPATH
>> and because Log4j reads Log4j.properties to initialise itself you will
> need Log4j.properties ON YOUR CLASSPATH
>> the proper configuration of which is the developer's responsibility
> (ie.you need to properly configure the properties file)
>> M-
>> *********************************************************************
>> This email message and any files transmitted with it contain confidential
>> information intended only for the person(s) to whom this email message is
>> addressed.  If you have received this email message in error, please
> notify
>> the sender immediately by telephone or email and destroy the original
>> message without making a copy.  Thank you.
>>
>>
>>
>> ----- Original Message -----
>> From: "Fabio Alves de Araujo Ebner - DNA Solution"
> <fa...@dnasolution.com.br>
>> To: <ax...@ws.apache.org>; "Martin Gainty" <mg...@hotmail.com>
>> Sent: Wednesday, September 20, 2006 11:47 AM
>> Subject: Re: [Spam] Re: classpath
>>
>>
>>> i remove the %AXIS2_LIB%\log4j-1.2.13.jar;
>>>
>>> and got that erro:
>>>
>>> C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
>>> http://localhost:8080/axis
>>> 2/services/VerificaLogin?wsdl -p br.com
>>> Exception in thread "main" java.lang.NoClassDefFoundError
>>>        at
>>> org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
>>> 1)
>>>        at
>>> org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
>>> :99)
>>>        at
>>> org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
>>> ava:78)
>>>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>> Method)
>>>
>>>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>>> Source)
>>>
>>>        at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>>> Sou
>>> rce)
>>>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>>>        at java.lang.Class.newInstance0(Unknown Source)
>>>        at java.lang.Class.newInstance(Unknown Source)
>>>        at
>>> org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
>>> ertyLoader.java:42)
>>>        at
>>> org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
>>> )
>>>        at
>>> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
>>> leDBExtension.java:68)
>>>        at
>>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>>> ationEngine.java:140)
>>>        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>>>        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.axis2.databinding.types.
>>> Time
>>>        at java.net.URLClassLoader$1.run(Unknown Source)
>>>        at java.security.AccessController.doPrivileged(Native Method)
>>>        at java.net.URLClassLoader.findClass(Unknown Source)
>>>        at java.lang.ClassLoader.loadClass(Unknown Source)
>>>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>>        at java.lang.ClassLoader.loadClass(Unknown Source)
>>>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>        at java.lang.Class.forName0(Native Method)
>>>        at java.lang.Class.forName(Unknown Source)
>>>        ... 15 more
>>>
>>> but that class org.apache.axis2.schema.typemap.JavaTypeMap.class r in
> the
>>> axis2-codegen-1.0.jar and that .jar are in my classpath..
>>>
>>> ----- Original Message -----
>>> From: "Martin Gainty" <mg...@hotmail.com>
>>> To: <ax...@ws.apache.org>
>>> Sent: Wednesday, September 20, 2006 12:03 PM
>>> Subject: Re: [Spam] Re: classpath
>>>
>>>
>>>> Fabio-
>>>>
>>>> Apparently Jalopy has a hard dependency to Log4j
>>>> I would make sure Log4j.jar, Log4j.properties are on your classpath
>>>> More detail available at
>>>>
> http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
>>> 1150471051108.JavaMail.jira@brutus%3E
>>>> and the original JIRA is here
>>>> http://issues.apache.org/jira/browse/AXIS2-734
>>>>
>>>> Martin --
>>>> *********************************************************************
>>>> This email message and any files transmitted with it contain
> confidential
>>>> information intended only for the person(s) to whom this email message
> is
>>>> addressed.  If you have received this email message in error, please
>>> notify
>>>> the sender immediately by telephone or email and destroy the original
>>>> message without making a copy.  Thank you.
>>>>
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Fabio Alves de Araujo Ebner - DNA Solution"
>>> <fa...@dnasolution.com.br>
>>>> To: <ax...@ws.apache.org>
>>>> Sent: Wednesday, September 20, 2006 10:17 AM
>>>> Subject: Re: [Spam] Re: classpath
>>>>
>>>>
>>>>> i put
>>>>>
> %AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
>>>>> ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
>>>>>
>>>>> and now i got the error:
>>>>>
>>>>> C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
>>>>> http://localhost:8080/axis2/servic
>>>>> es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
>>> br.com.dnasolution
>>>>> 20/09/2006 11:12:54
> org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
>>>>> prettify
>>>>> INFO: Jalopy not found - unable to pretty print
>>>>> \exemplo1\src\br\com\dnasolution
>>>>> \VerificaLoginSkeleton.java
>>>>> 20/09/2006 11:12:55
> org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
>>>>> prettify
>>>>> INFO: Jalopy not found - unable to pretty print
>>>>> \exemplo1\src\br\com\dnasolution
>>>>> \VerificaLoginMessageReceiverInOut.java
>>>>> Exception in thread "main"
>>>>> org.apache.axis2.wsdl.codegen.CodeGenerationException
>>>>> : org.apache.axis2.wsdl.codegen.CodeGenerationException:
>>>>> java.lang.RuntimeExcept
>>>>> ion: WSDL writing failed!
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>>>>> ationEngine.java:185)
>>>>>        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>>>>>        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>>>>> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
>>>>> java.lang.Runt
>>>>> imeException: WSDL writing failed!
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>>> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>>>>> ationEngine.java:168)
>>>>>        ... 2 more
>>>>> Caused by: java.lang.RuntimeException: WSDL writing failed!
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
>>>>> java:45)
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>>> itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>>>
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>>> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>>>>>        ... 3 more
>>>>> Caused by: org.apache.axis2.AxisFault: null; nested exception is:
>>>>>        java.lang.NullPointerException
>>>>>        at
>>>>> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
>>>>> )
>>>>>        at
>>>>> org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
>>>>> 45)
>>>>>        at
>>>>> org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
>>>>> java:40)
>>>>>        ... 6 more
>>>>> Caused by: java.lang.NullPointerException
>>>>>        at
>>>>> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
>>>>> nt(Unknown Source)
>>>>>        at
>>>>> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
>>>>> e(Unknown Source)
>>>>>        at
>>>>> org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
>>>>> reamWriter.java:138)
>>>>>        at
>>>>> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
>>>>> erializerUtil.java:76)
>>>>>        at
>>>>> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
>>>>> SerializerUtil.java:266)
>>>>>        at
>>>>> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
>>>>> erializerUtil.java:232)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:765)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:754)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:769)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:754)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:769)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:754)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:769)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>>>>> ntImpl.java:754)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
>>>>> 0)
>>>>>        at
>>>>> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
>>>>> 1)
>>>>>        at
>>>>> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
>>>>> )
>>>>>        ... 8 more
>>>>> ----- Original Message -----
>>>>> From: "Rodrigo Ruiz" <rr...@gridsystems.com>
>>>>> To: <ax...@ws.apache.org>
>>>>> Sent: Wednesday, September 20, 2006 11:03 AM
>>>>> Subject: [Spam] Re: classpath
>>>>>
>>>>>
>>>>>> Hi Fabio, the missing class is from Axiom. You should have one or
> more
>>>>>> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
>>>>>>
>>>>>> HTH,
>>>>>> Rodrigo Ruiz
>>>>>>
>>>>>> Fabio Alves de Araujo Ebner - DNA Solution wrote:
>>>>>>> how .jar i need put at classpath??
>>>>>>>
>>>>>>>
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
>>>>> jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>>>>>>> i put all this but when i run
>>>>>>> WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
>>>>>>> xmlbeans -o ..\samples -p org.apache.axis2.userguide
>>>>>>> i got the error:
>>>>>>>
>>>>>>> C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
>>>>>>> http://localhost:8
>>>>>>> 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
>>> \exemplo1
>>>>>>> -p br.com
>>>>>>> .dnasolution
>>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
>>>>>>> :29)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
>>>>>>> :29)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
>>>>> :111
>>>>>>> 7)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>>>>> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>>>>>>>         at
>>>>>>>
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>>>>>>> ationEngine.java:168)
>>>>>>>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>>>>>>>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> org.apache.axiom.om.OMElement
>>>>>>>         at java.net.URLClassLoader$1.run(Unknown Source)
>>>>>>>         at java.security.AccessController.doPrivileged(Native
> Method)
>>>>>>>         at java.net.URLClassLoader.findClass(Unknown Source)
>>>>>>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> Source)
>>>>>>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>>>>         at java.lang.Class.forName0(Native Method)
>>>>>>>         at java.lang.Class.forName(Unknown Source)
>>>>>>>         ... 12 more
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> -------------------------------------------------------------------
>>>>>> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
>>>>>> Parc Bit - Son Espanyol
>>>>>> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
>>>>>> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
>>>>>> http://www.gridsystems.com
>>>>>> -------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> --
>>>>>> No virus found in this outgoing message.
>>>>>> Checked by AVG Free Edition.
>>>>>> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
>>> 19/09/2006
>>>>>>
>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>>
>>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
-------------------------------------------------------------------
GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
Parc Bit - Son Espanyol
07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
Baleares - España              Tel:+34-971435085 Fax:+34-971435082
http://www.gridsystems.com
-------------------------------------------------------------------


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: 20/09/2006


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


Re: [Spam] Re: classpath

Posted by Martin Gainty <mg...@hotmail.com>.
1)in the middle of your stacktrace you have ClassNotFoundException org.apache.axis2.databinding.types
 make sure databinding-utils.jar is on your classpath
2)we'll need to see log4.properties file so make sure you have properly configured Log4j 
BTW:
there is a log4j-users group available at
http://logging.apache.org/site/mailing-lists.html
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Fabio Alves de Araujo Ebner - DNA Solution" <fa...@dnasolution.com.br>
To: <ax...@ws.apache.org>; "Martin Gainty" <mg...@hotmail.com>
Sent: Wednesday, September 20, 2006 12:27 PM
Subject: Re: [Spam] Re: classpath


> ok.. i put but all there but she still return the error:
> 
> C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8080/axis
> 2/services/VerificaLogin?wsdl -p br.com.dnasolution
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.i18n.Project
> ResourceBundle).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.NoClassDefFoundError
>        at
> org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
> 1)
>        at
> org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
> :99)
>        at
> org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
> ava:78)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> 
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> 
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Sou
> rce)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at java.lang.Class.newInstance0(Unknown Source)
>        at java.lang.Class.newInstance(Unknown Source)
>        at
> org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
> ertyLoader.java:42)
>        at
> org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
> )
>        at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
> leDBExtension.java:68)
>        at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:140)
>        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.axis2.databinding.types.
> Time
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Unknown Source)
>        ... 15 more
> ----- Original Message -----
> From: "Martin Gainty" <mg...@hotmail.com>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 1:20 PM
> Subject: Re: [Spam] Re: classpath
> 
> 
>> whenever you call your PrettyPrint routines in Jalopy you will need
> Log4J*.jar ON YOUR CLASSPATH
>> and because Log4j reads Log4j.properties to initialise itself you will
> need Log4j.properties ON YOUR CLASSPATH
>> the proper configuration of which is the developer's responsibility
> (ie.you need to properly configure the properties file)
>>
>> M-
>> *********************************************************************
>> This email message and any files transmitted with it contain confidential
>> information intended only for the person(s) to whom this email message is
>> addressed.  If you have received this email message in error, please
> notify
>> the sender immediately by telephone or email and destroy the original
>> message without making a copy.  Thank you.
>>
>>
>>
>> ----- Original Message -----
>> From: "Fabio Alves de Araujo Ebner - DNA Solution"
> <fa...@dnasolution.com.br>
>> To: <ax...@ws.apache.org>; "Martin Gainty" <mg...@hotmail.com>
>> Sent: Wednesday, September 20, 2006 11:47 AM
>> Subject: Re: [Spam] Re: classpath
>>
>>
>> >i remove the %AXIS2_LIB%\log4j-1.2.13.jar;
>> >
>> > and got that erro:
>> >
>> > C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
>> > http://localhost:8080/axis
>> > 2/services/VerificaLogin?wsdl -p br.com
>> > Exception in thread "main" java.lang.NoClassDefFoundError
>> >        at
>> > org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
>> > 1)
>> >        at
>> > org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
>> > :99)
>> >        at
>> > org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
>> > ava:78)
>> >        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> > Method)
>> >
>> >        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>> > Source)
>> >
>> >        at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>> > Sou
>> > rce)
>> >        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> >        at java.lang.Class.newInstance0(Unknown Source)
>> >        at java.lang.Class.newInstance(Unknown Source)
>> >        at
>> > org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
>> > ertyLoader.java:42)
>> >        at
>> > org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
>> > )
>> >        at
>> > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
>> > leDBExtension.java:68)
>> >        at
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> > ationEngine.java:140)
>> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> > Caused by: java.lang.ClassNotFoundException:
>> > org.apache.axis2.databinding.types.
>> > Time
>> >        at java.net.URLClassLoader$1.run(Unknown Source)
>> >        at java.security.AccessController.doPrivileged(Native Method)
>> >        at java.net.URLClassLoader.findClass(Unknown Source)
>> >        at java.lang.ClassLoader.loadClass(Unknown Source)
>> >        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>> >        at java.lang.ClassLoader.loadClass(Unknown Source)
>> >        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> >        at java.lang.Class.forName0(Native Method)
>> >        at java.lang.Class.forName(Unknown Source)
>> >        ... 15 more
>> >
>> > but that class org.apache.axis2.schema.typemap.JavaTypeMap.class r in
> the
>> > axis2-codegen-1.0.jar and that .jar are in my classpath..
>> >
>> > ----- Original Message -----
>> > From: "Martin Gainty" <mg...@hotmail.com>
>> > To: <ax...@ws.apache.org>
>> > Sent: Wednesday, September 20, 2006 12:03 PM
>> > Subject: Re: [Spam] Re: classpath
>> >
>> >
>> >> Fabio-
>> >>
>> >> Apparently Jalopy has a hard dependency to Log4j
>> >> I would make sure Log4j.jar, Log4j.properties are on your classpath
>> >> More detail available at
>> >>
>> >
> http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
>> > 1150471051108.JavaMail.jira@brutus%3E
>> >>
>> >> and the original JIRA is here
>> >> http://issues.apache.org/jira/browse/AXIS2-734
>> >>
>> >> Martin --
>> >> *********************************************************************
>> >> This email message and any files transmitted with it contain
> confidential
>> >> information intended only for the person(s) to whom this email message
> is
>> >> addressed.  If you have received this email message in error, please
>> > notify
>> >> the sender immediately by telephone or email and destroy the original
>> >> message without making a copy.  Thank you.
>> >>
>> >>
>> >>
>> >> ----- Original Message -----
>> >> From: "Fabio Alves de Araujo Ebner - DNA Solution"
>> > <fa...@dnasolution.com.br>
>> >> To: <ax...@ws.apache.org>
>> >> Sent: Wednesday, September 20, 2006 10:17 AM
>> >> Subject: Re: [Spam] Re: classpath
>> >>
>> >>
>> >> >i put
>> >> >
>> >
> %AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
>> >> >
>> >
> iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
>> >> > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
>> >> >
>> >> > and now i got the error:
>> >> >
>> >> > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
>> >> > http://localhost:8080/axis2/servic
>> >> > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
>> > br.com.dnasolution
>> >> > 20/09/2006 11:12:54
> org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
>> >> > prettify
>> >> > INFO: Jalopy not found - unable to pretty print
>> >> > \exemplo1\src\br\com\dnasolution
>> >> > \VerificaLoginSkeleton.java
>> >> > 20/09/2006 11:12:55
> org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
>> >> > prettify
>> >> > INFO: Jalopy not found - unable to pretty print
>> >> > \exemplo1\src\br\com\dnasolution
>> >> > \VerificaLoginMessageReceiverInOut.java
>> >> > Exception in thread "main"
>> >> > org.apache.axis2.wsdl.codegen.CodeGenerationException
>> >> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
>> >> > java.lang.RuntimeExcept
>> >> > ion: WSDL writing failed!
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> >> > ationEngine.java:185)
>> >> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>> >> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> >> > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
>> >> > java.lang.Runt
>> >> > imeException: WSDL writing failed!
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> >> > ationEngine.java:168)
>> >> >        ... 2 more
>> >> > Caused by: java.lang.RuntimeException: WSDL writing failed!
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
>> >> > java:45)
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>> >> >        ... 3 more
>> >> > Caused by: org.apache.axis2.AxisFault: null; nested exception is:
>> >> >        java.lang.NullPointerException
>> >> >        at
>> >> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
>> >> > )
>> >> >        at
>> >> > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
>> >> > 45)
>> >> >        at
>> >> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
>> >> > java:40)
>> >> >        ... 6 more
>> >> > Caused by: java.lang.NullPointerException
>> >> >        at
>> >> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
>> >> > nt(Unknown Source)
>> >> >        at
>> >> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
>> >> > e(Unknown Source)
>> >> >        at
>> >> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
>> >> > reamWriter.java:138)
>> >> >        at
>> >> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
>> >> > erializerUtil.java:76)
>> >> >        at
>> >> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
>> >> > SerializerUtil.java:266)
>> >> >        at
>> >> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
>> >> > erializerUtil.java:232)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:765)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:754)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:769)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:754)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:769)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:754)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:769)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> >> > ntImpl.java:754)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
>> >> > 0)
>> >> >        at
>> >> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
>> >> > 1)
>> >> >        at
>> >> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
>> >> > )
>> >> >        ... 8 more
>> >> > ----- Original Message -----
>> >> > From: "Rodrigo Ruiz" <rr...@gridsystems.com>
>> >> > To: <ax...@ws.apache.org>
>> >> > Sent: Wednesday, September 20, 2006 11:03 AM
>> >> > Subject: [Spam] Re: classpath
>> >> >
>> >> >
>> >> >> Hi Fabio, the missing class is from Axiom. You should have one or
> more
>> >> >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
>> >> >>
>> >> >> HTH,
>> >> >> Rodrigo Ruiz
>> >> >>
>> >> >> Fabio Alves de Araujo Ebner - DNA Solution wrote:
>> >> >> > how .jar i need put at classpath??
>> >> >> >
>> >> >> >
>> >> >
>> >
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
>> >> >
>> >
> B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
>> >> > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>> >> >> >
>> >> >> > i put all this but when i run
>> >> >> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
>> >> >> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
>> >> >> > i got the error:
>> >> >> >
>> >> >> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
>> >> >> > http://localhost:8
>> >> >> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
>> > \exemplo1
>> >> >> > -p br.com
>> >> >> > .dnasolution
>> >> >> > Exception in thread "main" java.lang.NoClassDefFoundError
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
>> >> >> > :29)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
>> >> >> > :29)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> >
>> >> >
>> >
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> >
> itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> >
> itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> >
>> >> >
>> >
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
>> >> > :111
>> >> >> > 7)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> >
> itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> >
>> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>> >> >> >         at
>> >> >> >
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> >> >> > ationEngine.java:168)
>> >> >> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>> >> >> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> >> >> > Caused by: java.lang.ClassNotFoundException:
>> >> > org.apache.axiom.om.OMElement
>> >> >> >         at java.net.URLClassLoader$1.run(Unknown Source)
>> >> >> >         at java.security.AccessController.doPrivileged(Native
> Method)
>> >> >> >         at java.net.URLClassLoader.findClass(Unknown Source)
>> >> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
>> >> >> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> Source)
>> >> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
>> >> >> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> >> >> >         at java.lang.Class.forName0(Native Method)
>> >> >> >         at java.lang.Class.forName(Unknown Source)
>> >> >> >         ... 12 more
>> >> >> >
>> >> >> >
>> >> >> --
>> >> >> -------------------------------------------------------------------
>> >> >> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
>> >> >> Parc Bit - Son Espanyol
>> >> >> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
>> >> >> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
>> >> >> http://www.gridsystems.com
>> >> >> -------------------------------------------------------------------
>> >> >>
>> >> >>
>> >> >> --
>> >> >> No virus found in this outgoing message.
>> >> >> Checked by AVG Free Edition.
>> >> >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
>> > 19/09/2006
>> >> >>
>> >> >>
>> >>
>>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> >> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>> >> >>
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> >> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >> >
>> >> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
>

Re: [Spam] Re: classpath

Posted by Fabio Alves de Araujo Ebner - DNA Solution <fa...@dnasolution.com.br>.
ok.. i put but all there but she still return the error:

C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
http://localhost:8080/axis
2/services/VerificaLogin?wsdl -p br.com.dnasolution
log4j:WARN No appenders could be found for logger
(org.apache.axis2.i18n.Project
ResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.NoClassDefFoundError
        at
org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
1)
        at
org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
:99)
        at
org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
ava:78)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at
org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
ertyLoader.java:42)
        at
org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
)
        at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:68)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:140)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: java.lang.ClassNotFoundException:
org.apache.axis2.databinding.types.
Time
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        ... 15 more
----- Original Message -----
From: "Martin Gainty" <mg...@hotmail.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, September 20, 2006 1:20 PM
Subject: Re: [Spam] Re: classpath


> whenever you call your PrettyPrint routines in Jalopy you will need
Log4J*.jar ON YOUR CLASSPATH
> and because Log4j reads Log4j.properties to initialise itself you will
need Log4j.properties ON YOUR CLASSPATH
> the proper configuration of which is the developer's responsibility
(ie.you need to properly configure the properties file)
>
> M-
> *********************************************************************
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>
>
> ----- Original Message -----
> From: "Fabio Alves de Araujo Ebner - DNA Solution"
<fa...@dnasolution.com.br>
> To: <ax...@ws.apache.org>; "Martin Gainty" <mg...@hotmail.com>
> Sent: Wednesday, September 20, 2006 11:47 AM
> Subject: Re: [Spam] Re: classpath
>
>
> >i remove the %AXIS2_LIB%\log4j-1.2.13.jar;
> >
> > and got that erro:
> >
> > C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
> > http://localhost:8080/axis
> > 2/services/VerificaLogin?wsdl -p br.com
> > Exception in thread "main" java.lang.NoClassDefFoundError
> >        at
> > org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
> > 1)
> >        at
> > org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
> > :99)
> >        at
> > org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
> > ava:78)
> >        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >
> >        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> > Source)
> >
> >        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > Sou
> > rce)
> >        at java.lang.reflect.Constructor.newInstance(Unknown Source)
> >        at java.lang.Class.newInstance0(Unknown Source)
> >        at java.lang.Class.newInstance(Unknown Source)
> >        at
> > org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
> > ertyLoader.java:42)
> >        at
> > org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
> > )
> >        at
> > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
> > leDBExtension.java:68)
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:140)
> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.axis2.databinding.types.
> > Time
> >        at java.net.URLClassLoader$1.run(Unknown Source)
> >        at java.security.AccessController.doPrivileged(Native Method)
> >        at java.net.URLClassLoader.findClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClass(Unknown Source)
> >        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >        at java.lang.Class.forName0(Native Method)
> >        at java.lang.Class.forName(Unknown Source)
> >        ... 15 more
> >
> > but that class org.apache.axis2.schema.typemap.JavaTypeMap.class r in
the
> > axis2-codegen-1.0.jar and that .jar are in my classpath..
> >
> > ----- Original Message -----
> > From: "Martin Gainty" <mg...@hotmail.com>
> > To: <ax...@ws.apache.org>
> > Sent: Wednesday, September 20, 2006 12:03 PM
> > Subject: Re: [Spam] Re: classpath
> >
> >
> >> Fabio-
> >>
> >> Apparently Jalopy has a hard dependency to Log4j
> >> I would make sure Log4j.jar, Log4j.properties are on your classpath
> >> More detail available at
> >>
> >
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
> > 1150471051108.JavaMail.jira@brutus%3E
> >>
> >> and the original JIRA is here
> >> http://issues.apache.org/jira/browse/AXIS2-734
> >>
> >> Martin --
> >> *********************************************************************
> >> This email message and any files transmitted with it contain
confidential
> >> information intended only for the person(s) to whom this email message
is
> >> addressed.  If you have received this email message in error, please
> > notify
> >> the sender immediately by telephone or email and destroy the original
> >> message without making a copy.  Thank you.
> >>
> >>
> >>
> >> ----- Original Message -----
> >> From: "Fabio Alves de Araujo Ebner - DNA Solution"
> > <fa...@dnasolution.com.br>
> >> To: <ax...@ws.apache.org>
> >> Sent: Wednesday, September 20, 2006 10:17 AM
> >> Subject: Re: [Spam] Re: classpath
> >>
> >>
> >> >i put
> >> >
> >
%AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> >> >
> >
iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
> >> > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
> >> >
> >> > and now i got the error:
> >> >
> >> > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
> >> > http://localhost:8080/axis2/servic
> >> > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
> > br.com.dnasolution
> >> > 20/09/2006 11:12:54
org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> >> > prettify
> >> > INFO: Jalopy not found - unable to pretty print
> >> > \exemplo1\src\br\com\dnasolution
> >> > \VerificaLoginSkeleton.java
> >> > 20/09/2006 11:12:55
org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> >> > prettify
> >> > INFO: Jalopy not found - unable to pretty print
> >> > \exemplo1\src\br\com\dnasolution
> >> > \VerificaLoginMessageReceiverInOut.java
> >> > Exception in thread "main"
> >> > org.apache.axis2.wsdl.codegen.CodeGenerationException
> >> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> >> > java.lang.RuntimeExcept
> >> > ion: WSDL writing failed!
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> >> > ationEngine.java:185)
> >> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> >> > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> >> > java.lang.Runt
> >> > imeException: WSDL writing failed!
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> >> > ationEngine.java:168)
> >> >        ... 2 more
> >> > Caused by: java.lang.RuntimeException: WSDL writing failed!
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> >> > java:45)
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >> >        ... 3 more
> >> > Caused by: org.apache.axis2.AxisFault: null; nested exception is:
> >> >        java.lang.NullPointerException
> >> >        at
> >> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> >> > )
> >> >        at
> >> > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> >> > 45)
> >> >        at
> >> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> >> > java:40)
> >> >        ... 6 more
> >> > Caused by: java.lang.NullPointerException
> >> >        at
> >> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
> >> > nt(Unknown Source)
> >> >        at
> >> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
> >> > e(Unknown Source)
> >> >        at
> >> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> >> > reamWriter.java:138)
> >> >        at
> >> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> >> > erializerUtil.java:76)
> >> >        at
> >> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> >> > SerializerUtil.java:266)
> >> >        at
> >> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> >> > erializerUtil.java:232)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:765)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:754)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:769)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:754)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:769)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:754)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:769)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> >> > ntImpl.java:754)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> >> > 0)
> >> >        at
> >> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> >> > 1)
> >> >        at
> >> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> >> > )
> >> >        ... 8 more
> >> > ----- Original Message -----
> >> > From: "Rodrigo Ruiz" <rr...@gridsystems.com>
> >> > To: <ax...@ws.apache.org>
> >> > Sent: Wednesday, September 20, 2006 11:03 AM
> >> > Subject: [Spam] Re: classpath
> >> >
> >> >
> >> >> Hi Fabio, the missing class is from Axiom. You should have one or
more
> >> >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
> >> >>
> >> >> HTH,
> >> >> Rodrigo Ruiz
> >> >>
> >> >> Fabio Alves de Araujo Ebner - DNA Solution wrote:
> >> >> > how .jar i need put at classpath??
> >> >> >
> >> >> >
> >> >
> >
%AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> >> >
> >
B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
> >> > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
> >> >> >
> >> >> > i put all this but when i run
> >> >> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> >> >> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
> >> >> > i got the error:
> >> >> >
> >> >> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> >> >> > http://localhost:8
> >> >> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
> > \exemplo1
> >> >> > -p br.com
> >> >> > .dnasolution
> >> >> > Exception in thread "main" java.lang.NoClassDefFoundError
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> >> >> > :29)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> >> >> > :29)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> >
> >> >
> >
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> >
itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> >
itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> >
> >> >
> >
itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
> >> > :111
> >> >> > 7)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> >
itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> >
> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >> >> >         at
> >> >> >
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> >> >> > ationEngine.java:168)
> >> >> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >> >> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> >> >> > Caused by: java.lang.ClassNotFoundException:
> >> > org.apache.axiom.om.OMElement
> >> >> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >> >> >         at java.security.AccessController.doPrivileged(Native
Method)
> >> >> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
> >> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >> >> >         at java.lang.Class.forName0(Native Method)
> >> >> >         at java.lang.Class.forName(Unknown Source)
> >> >> >         ... 12 more
> >> >> >
> >> >> >
> >> >> --
> >> >> -------------------------------------------------------------------
> >> >> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
> >> >> Parc Bit - Son Espanyol
> >> >> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
> >> >> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
> >> >> http://www.gridsystems.com
> >> >> -------------------------------------------------------------------
> >> >>
> >> >>
> >> >> --
> >> >> No virus found in this outgoing message.
> >> >> Checked by AVG Free Edition.
> >> >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
> > 19/09/2006
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >>
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >
> >> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >


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


Re: [Spam] Re: classpath

Posted by Martin Gainty <mg...@hotmail.com>.
whenever you call your PrettyPrint routines in Jalopy you will need Log4J*.jar ON YOUR CLASSPATH
and because Log4j reads Log4j.properties to initialise itself you will need Log4j.properties ON YOUR CLASSPATH
the proper configuration of which is the developer's responsibility (ie.you need to properly configure the properties file)

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Fabio Alves de Araujo Ebner - DNA Solution" <fa...@dnasolution.com.br>
To: <ax...@ws.apache.org>; "Martin Gainty" <mg...@hotmail.com>
Sent: Wednesday, September 20, 2006 11:47 AM
Subject: Re: [Spam] Re: classpath


>i remove the %AXIS2_LIB%\log4j-1.2.13.jar;
> 
> and got that erro:
> 
> C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8080/axis
> 2/services/VerificaLogin?wsdl -p br.com
> Exception in thread "main" java.lang.NoClassDefFoundError
>        at
> org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
> 1)
>        at
> org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
> :99)
>        at
> org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
> ava:78)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> 
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> 
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Sou
> rce)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at java.lang.Class.newInstance0(Unknown Source)
>        at java.lang.Class.newInstance(Unknown Source)
>        at
> org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
> ertyLoader.java:42)
>        at
> org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
> )
>        at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
> leDBExtension.java:68)
>        at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:140)
>        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.axis2.databinding.types.
> Time
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Unknown Source)
>        ... 15 more
> 
> but that class org.apache.axis2.schema.typemap.JavaTypeMap.class r in the
> axis2-codegen-1.0.jar and that .jar are in my classpath..
> 
> ----- Original Message -----
> From: "Martin Gainty" <mg...@hotmail.com>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 12:03 PM
> Subject: Re: [Spam] Re: classpath
> 
> 
>> Fabio-
>>
>> Apparently Jalopy has a hard dependency to Log4j
>> I would make sure Log4j.jar, Log4j.properties are on your classpath
>> More detail available at
>>
> http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
> 1150471051108.JavaMail.jira@brutus%3E
>>
>> and the original JIRA is here
>> http://issues.apache.org/jira/browse/AXIS2-734
>>
>> Martin --
>> *********************************************************************
>> This email message and any files transmitted with it contain confidential
>> information intended only for the person(s) to whom this email message is
>> addressed.  If you have received this email message in error, please
> notify
>> the sender immediately by telephone or email and destroy the original
>> message without making a copy.  Thank you.
>>
>>
>>
>> ----- Original Message -----
>> From: "Fabio Alves de Araujo Ebner - DNA Solution"
> <fa...@dnasolution.com.br>
>> To: <ax...@ws.apache.org>
>> Sent: Wednesday, September 20, 2006 10:17 AM
>> Subject: Re: [Spam] Re: classpath
>>
>>
>> >i put
>> >
> %AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
>> >
> iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
>> > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
>> >
>> > and now i got the error:
>> >
>> > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
>> > http://localhost:8080/axis2/servic
>> > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
> br.com.dnasolution
>> > 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
>> > prettify
>> > INFO: Jalopy not found - unable to pretty print
>> > \exemplo1\src\br\com\dnasolution
>> > \VerificaLoginSkeleton.java
>> > 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
>> > prettify
>> > INFO: Jalopy not found - unable to pretty print
>> > \exemplo1\src\br\com\dnasolution
>> > \VerificaLoginMessageReceiverInOut.java
>> > Exception in thread "main"
>> > org.apache.axis2.wsdl.codegen.CodeGenerationException
>> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
>> > java.lang.RuntimeExcept
>> > ion: WSDL writing failed!
>> >        at
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> > ationEngine.java:185)
>> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
>> > java.lang.Runt
>> > imeException: WSDL writing failed!
>> >        at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
>> >        at
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> > ationEngine.java:168)
>> >        ... 2 more
>> > Caused by: java.lang.RuntimeException: WSDL writing failed!
>> >        at
>> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
>> > java:45)
>> >        at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
>> >        at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
>> >        at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>> >        ... 3 more
>> > Caused by: org.apache.axis2.AxisFault: null; nested exception is:
>> >        java.lang.NullPointerException
>> >        at
>> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
>> > )
>> >        at
>> > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
>> > 45)
>> >        at
>> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
>> > java:40)
>> >        ... 6 more
>> > Caused by: java.lang.NullPointerException
>> >        at
>> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
>> > nt(Unknown Source)
>> >        at
>> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
>> > e(Unknown Source)
>> >        at
>> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
>> > reamWriter.java:138)
>> >        at
>> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
>> > erializerUtil.java:76)
>> >        at
>> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
>> > SerializerUtil.java:266)
>> >        at
>> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
>> > erializerUtil.java:232)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:765)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:754)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:769)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:754)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:769)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:754)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:769)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > ntImpl.java:754)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
>> > 0)
>> >        at
>> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
>> > 1)
>> >        at
>> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
>> > )
>> >        ... 8 more
>> > ----- Original Message -----
>> > From: "Rodrigo Ruiz" <rr...@gridsystems.com>
>> > To: <ax...@ws.apache.org>
>> > Sent: Wednesday, September 20, 2006 11:03 AM
>> > Subject: [Spam] Re: classpath
>> >
>> >
>> >> Hi Fabio, the missing class is from Axiom. You should have one or more
>> >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
>> >>
>> >> HTH,
>> >> Rodrigo Ruiz
>> >>
>> >> Fabio Alves de Araujo Ebner - DNA Solution wrote:
>> >> > how .jar i need put at classpath??
>> >> >
>> >> >
>> >
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
>> >
> B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
>> > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>> >> >
>> >> > i put all this but when i run
>> >> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
>> >> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
>> >> > i got the error:
>> >> >
>> >> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
>> >> > http://localhost:8
>> >> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
> \exemplo1
>> >> > -p br.com
>> >> > .dnasolution
>> >> > Exception in thread "main" java.lang.NoClassDefFoundError
>> >> >         at
>> >> > org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
>> >> > :29)
>> >> >         at
>> >> > org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
>> >> > :29)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >
>> >
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >
>> >
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
>> > :111
>> >> > 7)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> >
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>> >> >         at
>> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> >> > ationEngine.java:168)
>> >> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>> >> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> >> > Caused by: java.lang.ClassNotFoundException:
>> > org.apache.axiom.om.OMElement
>> >> >         at java.net.URLClassLoader$1.run(Unknown Source)
>> >> >         at java.security.AccessController.doPrivileged(Native Method)
>> >> >         at java.net.URLClassLoader.findClass(Unknown Source)
>> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
>> >> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
>> >> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> >> >         at java.lang.Class.forName0(Native Method)
>> >> >         at java.lang.Class.forName(Unknown Source)
>> >> >         ... 12 more
>> >> >
>> >> >
>> >> --
>> >> -------------------------------------------------------------------
>> >> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
>> >> Parc Bit - Son Espanyol
>> >> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
>> >> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
>> >> http://www.gridsystems.com
>> >> -------------------------------------------------------------------
>> >>
>> >>
>> >> --
>> >> No virus found in this outgoing message.
>> >> Checked by AVG Free Edition.
>> >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
> 19/09/2006
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
>

Re: [Spam] Re: classpath

Posted by Fabio Alves de Araujo Ebner - DNA Solution <fa...@dnasolution.com.br>.
i remove the %AXIS2_LIB%\log4j-1.2.13.jar;

and got that erro:

C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
http://localhost:8080/axis
2/services/VerificaLogin?wsdl -p br.com
Exception in thread "main" java.lang.NoClassDefFoundError
        at
org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7
1)
        at
org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java
:99)
        at
org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j
ava:78)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at
org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp
ertyLoader.java:42)
        at
org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:159
)
        at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:68)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:140)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: java.lang.ClassNotFoundException:
org.apache.axis2.databinding.types.
Time
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        ... 15 more

but that class org.apache.axis2.schema.typemap.JavaTypeMap.class r in the
axis2-codegen-1.0.jar and that .jar are in my classpath..

----- Original Message -----
From: "Martin Gainty" <mg...@hotmail.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, September 20, 2006 12:03 PM
Subject: Re: [Spam] Re: classpath


> Fabio-
>
> Apparently Jalopy has a hard dependency to Log4j
> I would make sure Log4j.jar, Log4j.properties are on your classpath
> More detail available at
>
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
1150471051108.JavaMail.jira@brutus%3E
>
> and the original JIRA is here
> http://issues.apache.org/jira/browse/AXIS2-734
>
> Martin --
> *********************************************************************
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>
>
> ----- Original Message -----
> From: "Fabio Alves de Araujo Ebner - DNA Solution"
<fa...@dnasolution.com.br>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 10:17 AM
> Subject: Re: [Spam] Re: classpath
>
>
> >i put
> >
%AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> >
iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
> > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
> >
> > and now i got the error:
> >
> > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
> > http://localhost:8080/axis2/servic
> > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
br.com.dnasolution
> > 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> > prettify
> > INFO: Jalopy not found - unable to pretty print
> > \exemplo1\src\br\com\dnasolution
> > \VerificaLoginSkeleton.java
> > 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> > prettify
> > INFO: Jalopy not found - unable to pretty print
> > \exemplo1\src\br\com\dnasolution
> > \VerificaLoginMessageReceiverInOut.java
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException
> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.RuntimeExcept
> > ion: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:185)
> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.Runt
> > imeException: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:168)
> >        ... 2 more
> > Caused by: java.lang.RuntimeException: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> > java:45)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >        ... 3 more
> > Caused by: org.apache.axis2.AxisFault: null; nested exception is:
> >        java.lang.NullPointerException
> >        at
> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> > )
> >        at
> > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> > 45)
> >        at
> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> > java:40)
> >        ... 6 more
> > Caused by: java.lang.NullPointerException
> >        at
> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
> > nt(Unknown Source)
> >        at
> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
> > e(Unknown Source)
> >        at
> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> > reamWriter.java:138)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> > erializerUtil.java:76)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> > SerializerUtil.java:266)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> > erializerUtil.java:232)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:765)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> > 0)
> >        at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> > 1)
> >        at
> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> > )
> >        ... 8 more
> > ----- Original Message -----
> > From: "Rodrigo Ruiz" <rr...@gridsystems.com>
> > To: <ax...@ws.apache.org>
> > Sent: Wednesday, September 20, 2006 11:03 AM
> > Subject: [Spam] Re: classpath
> >
> >
> >> Hi Fabio, the missing class is from Axiom. You should have one or more
> >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
> >>
> >> HTH,
> >> Rodrigo Ruiz
> >>
> >> Fabio Alves de Araujo Ebner - DNA Solution wrote:
> >> > how .jar i need put at classpath??
> >> >
> >> >
> >
%AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> >
B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
> > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
> >> >
> >> > i put all this but when i run
> >> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> >> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
> >> > i got the error:
> >> >
> >> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> >> > http://localhost:8
> >> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
\exemplo1
> >> > -p br.com
> >> > .dnasolution
> >> > Exception in thread "main" java.lang.NoClassDefFoundError
> >> >         at
> >> > org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> >> > :29)
> >> >         at
> >> > org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> >> > :29)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
> >
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
> >
itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
> > :111
> >> > 7)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> >> > ationEngine.java:168)
> >> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> >> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.axiom.om.OMElement
> >> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >> >         at java.security.AccessController.doPrivileged(Native Method)
> >> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >> >         at java.lang.Class.forName0(Native Method)
> >> >         at java.lang.Class.forName(Unknown Source)
> >> >         ... 12 more
> >> >
> >> >
> >> --
> >> -------------------------------------------------------------------
> >> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
> >> Parc Bit - Son Espanyol
> >> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
> >> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
> >> http://www.gridsystems.com
> >> -------------------------------------------------------------------
> >>
> >>
> >> --
> >> No virus found in this outgoing message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
19/09/2006
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >


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


Re: [Spam] Re: classpath

Posted by Fabio Alves de Araujo Ebner - DNA Solution <fa...@dnasolution.com.br>.
the new error:


C:\exemplo1>java org.apache.axis2.wsdl.WSDL2Java -uri
http://localhost:8080/axis

log4j:WARN No appenders could be found for logger
(org.apache.axis2.i18n.Project
ResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:96)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: WSDLException: faultCode=PARSER_ERROR: Parser SAX Error: Fatal
Error:
 URI=http://localhost:8080/axis/ Line=15: The element type "meta" must be
termin
ated by the matching end-tag "</meta>".: org.xml.sax.SAXException: Fatal
Error:
URI=http://localhost:8080/axis/ Line=15: The element type "meta" must be
termina
ted by the matching end-tag "</meta>".
        at
org.apache.axis2.util.XMLUtils$ParserErrorHandler.fatalError(XMLUtils
.java:361)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)

        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:178)
        at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:223)
        at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:206)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
CodeGenerationEngine.java:224)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:81)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)

        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
CodeGenerationEngine.java:230)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:81)
        ... 2 more
----- Original Message -----
From: "Martin Gainty" <mg...@hotmail.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, September 20, 2006 12:03 PM
Subject: Re: [Spam] Re: classpath


> Fabio-
>
> Apparently Jalopy has a hard dependency to Log4j
> I would make sure Log4j.jar, Log4j.properties are on your classpath
> More detail available at
>
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
1150471051108.JavaMail.jira@brutus%3E
>
> and the original JIRA is here
> http://issues.apache.org/jira/browse/AXIS2-734
>
> Martin --
> *********************************************************************
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>
>
> ----- Original Message -----
> From: "Fabio Alves de Araujo Ebner - DNA Solution"
<fa...@dnasolution.com.br>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 10:17 AM
> Subject: Re: [Spam] Re: classpath
>
>
> >i put
> >
%AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> >
iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
> > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
> >
> > and now i got the error:
> >
> > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
> > http://localhost:8080/axis2/servic
> > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
br.com.dnasolution
> > 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> > prettify
> > INFO: Jalopy not found - unable to pretty print
> > \exemplo1\src\br\com\dnasolution
> > \VerificaLoginSkeleton.java
> > 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> > prettify
> > INFO: Jalopy not found - unable to pretty print
> > \exemplo1\src\br\com\dnasolution
> > \VerificaLoginMessageReceiverInOut.java
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException
> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.RuntimeExcept
> > ion: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:185)
> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.Runt
> > imeException: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:168)
> >        ... 2 more
> > Caused by: java.lang.RuntimeException: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> > java:45)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >        ... 3 more
> > Caused by: org.apache.axis2.AxisFault: null; nested exception is:
> >        java.lang.NullPointerException
> >        at
> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> > )
> >        at
> > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> > 45)
> >        at
> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> > java:40)
> >        ... 6 more
> > Caused by: java.lang.NullPointerException
> >        at
> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
> > nt(Unknown Source)
> >        at
> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
> > e(Unknown Source)
> >        at
> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> > reamWriter.java:138)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> > erializerUtil.java:76)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> > SerializerUtil.java:266)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> > erializerUtil.java:232)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:765)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> > 0)
> >        at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> > 1)
> >        at
> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> > )
> >        ... 8 more
> > ----- Original Message -----
> > From: "Rodrigo Ruiz" <rr...@gridsystems.com>
> > To: <ax...@ws.apache.org>
> > Sent: Wednesday, September 20, 2006 11:03 AM
> > Subject: [Spam] Re: classpath
> >
> >
> >> Hi Fabio, the missing class is from Axiom. You should have one or more
> >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
> >>
> >> HTH,
> >> Rodrigo Ruiz
> >>
> >> Fabio Alves de Araujo Ebner - DNA Solution wrote:
> >> > how .jar i need put at classpath??
> >> >
> >> >
> >
%AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> >
B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
> > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
> >> >
> >> > i put all this but when i run
> >> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> >> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
> >> > i got the error:
> >> >
> >> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> >> > http://localhost:8
> >> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
\exemplo1
> >> > -p br.com
> >> > .dnasolution
> >> > Exception in thread "main" java.lang.NoClassDefFoundError
> >> >         at
> >> > org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> >> > :29)
> >> >         at
> >> > org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> >> > :29)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
> >
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
> >
itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
> > :111
> >> > 7)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> >> > ationEngine.java:168)
> >> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> >> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.axiom.om.OMElement
> >> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >> >         at java.security.AccessController.doPrivileged(Native Method)
> >> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >> >         at java.lang.Class.forName0(Native Method)
> >> >         at java.lang.Class.forName(Unknown Source)
> >> >         ... 12 more
> >> >
> >> >
> >> --
> >> -------------------------------------------------------------------
> >> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
> >> Parc Bit - Son Espanyol
> >> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
> >> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
> >> http://www.gridsystems.com
> >> -------------------------------------------------------------------
> >>
> >>
> >> --
> >> No virus found in this outgoing message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
19/09/2006
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >


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


Re: [Spam] Re: classpath

Posted by Fabio Alves de Araujo Ebner - DNA Solution <fa...@dnasolution.com.br>.
hehe impossible.. dont work.. i put all my .jar in classpath and i can run
WSDL2Java.


----- Original Message -----
From: "Martin Gainty" <mg...@hotmail.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, September 20, 2006 12:03 PM
Subject: Re: [Spam] Re: classpath


> Fabio-
>
> Apparently Jalopy has a hard dependency to Log4j
> I would make sure Log4j.jar, Log4j.properties are on your classpath
> More detail available at
>
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.
1150471051108.JavaMail.jira@brutus%3E
>
> and the original JIRA is here
> http://issues.apache.org/jira/browse/AXIS2-734
>
> Martin --
> *********************************************************************
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>
>
> ----- Original Message -----
> From: "Fabio Alves de Araujo Ebner - DNA Solution"
<fa...@dnasolution.com.br>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 10:17 AM
> Subject: Re: [Spam] Re: classpath
>
>
> >i put
> >
%AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> >
iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
> > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
> >
> > and now i got the error:
> >
> > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
> > http://localhost:8080/axis2/servic
> > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p
br.com.dnasolution
> > 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> > prettify
> > INFO: Jalopy not found - unable to pretty print
> > \exemplo1\src\br\com\dnasolution
> > \VerificaLoginSkeleton.java
> > 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> > prettify
> > INFO: Jalopy not found - unable to pretty print
> > \exemplo1\src\br\com\dnasolution
> > \VerificaLoginMessageReceiverInOut.java
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException
> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.RuntimeExcept
> > ion: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:185)
> >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.Runt
> > imeException: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
> >        at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:168)
> >        ... 2 more
> > Caused by: java.lang.RuntimeException: WSDL writing failed!
> >        at
> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> > java:45)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
> >        at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >        ... 3 more
> > Caused by: org.apache.axis2.AxisFault: null; nested exception is:
> >        java.lang.NullPointerException
> >        at
> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> > )
> >        at
> > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> > 45)
> >        at
> > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> > java:40)
> >        ... 6 more
> > Caused by: java.lang.NullPointerException
> >        at
> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
> > nt(Unknown Source)
> >        at
> > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
> > e(Unknown Source)
> >        at
> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> > reamWriter.java:138)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> > erializerUtil.java:76)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> > SerializerUtil.java:266)
> >        at
> > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> > erializerUtil.java:232)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:765)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:769)
> >        at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:754)
> >        at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> > 0)
> >        at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> > 1)
> >        at
> > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> > )
> >        ... 8 more
> > ----- Original Message -----
> > From: "Rodrigo Ruiz" <rr...@gridsystems.com>
> > To: <ax...@ws.apache.org>
> > Sent: Wednesday, September 20, 2006 11:03 AM
> > Subject: [Spam] Re: classpath
> >
> >
> >> Hi Fabio, the missing class is from Axiom. You should have one or more
> >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
> >>
> >> HTH,
> >> Rodrigo Ruiz
> >>
> >> Fabio Alves de Araujo Ebner - DNA Solution wrote:
> >> > how .jar i need put at classpath??
> >> >
> >> >
> >
%AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> >
B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
> > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
> >> >
> >> > i put all this but when i run
> >> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> >> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
> >> > i got the error:
> >> >
> >> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> >> > http://localhost:8
> >> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o
\exemplo1
> >> > -p br.com
> >> > .dnasolution
> >> > Exception in thread "main" java.lang.NoClassDefFoundError
> >> >         at
> >> > org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> >> > :29)
> >> >         at
> >> > org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> >> > :29)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
> >
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
> >
itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
> > :111
> >> > 7)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> >
itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >> >         at
> >> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> >> > ationEngine.java:168)
> >> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> >> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.axiom.om.OMElement
> >> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >> >         at java.security.AccessController.doPrivileged(Native Method)
> >> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >> >         at java.lang.Class.forName0(Native Method)
> >> >         at java.lang.Class.forName(Unknown Source)
> >> >         ... 12 more
> >> >
> >> >
> >> --
> >> -------------------------------------------------------------------
> >> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
> >> Parc Bit - Son Espanyol
> >> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
> >> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
> >> http://www.gridsystems.com
> >> -------------------------------------------------------------------
> >>
> >>
> >> --
> >> No virus found in this outgoing message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date:
19/09/2006
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >


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


Re: [Spam] Re: classpath

Posted by Martin Gainty <mg...@hotmail.com>.
Fabio-

Apparently Jalopy has a hard dependency to Log4j
I would make sure Log4j.jar, Log4j.properties are on your classpath
More detail available at
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200606.mbox/%3C1233626.1150471051108.JavaMail.jira@brutus%3E

and the original JIRA is here
http://issues.apache.org/jira/browse/AXIS2-734

Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Fabio Alves de Araujo Ebner - DNA Solution" <fa...@dnasolution.com.br>
To: <ax...@ws.apache.org>
Sent: Wednesday, September 20, 2006 10:17 AM
Subject: Re: [Spam] Re: classpath


>i put
> %AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
> ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
> 
> and now i got the error:
> 
> C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8080/axis2/servic
> es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p br.com.dnasolution
> 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> prettify
> INFO: Jalopy not found - unable to pretty print
> \exemplo1\src\br\com\dnasolution
> \VerificaLoginSkeleton.java
> 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> prettify
> INFO: Jalopy not found - unable to pretty print
> \exemplo1\src\br\com\dnasolution
> \VerificaLoginMessageReceiverInOut.java
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException
> : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeExcept
> ion: WSDL writing failed!
>        at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:185)
>        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.Runt
> imeException: WSDL writing failed!
>        at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
>        at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:168)
>        ... 2 more
> Caused by: java.lang.RuntimeException: WSDL writing failed!
>        at
> org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> java:45)
>        at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
>        at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
>        at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>        ... 3 more
> Caused by: org.apache.axis2.AxisFault: null; nested exception is:
>        java.lang.NullPointerException
>        at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> )
>        at
> org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> 45)
>        at
> org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> java:40)
>        ... 6 more
> Caused by: java.lang.NullPointerException
>        at
> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
> nt(Unknown Source)
>        at
> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
> e(Unknown Source)
>        at
> org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> reamWriter.java:138)
>        at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> erializerUtil.java:76)
>        at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> SerializerUtil.java:266)
>        at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> erializerUtil.java:232)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:765)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
>        at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>        at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> 0)
>        at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> 1)
>        at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> )
>        ... 8 more
> ----- Original Message -----
> From: "Rodrigo Ruiz" <rr...@gridsystems.com>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 11:03 AM
> Subject: [Spam] Re: classpath
> 
> 
>> Hi Fabio, the missing class is from Axiom. You should have one or more
>> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
>>
>> HTH,
>> Rodrigo Ruiz
>>
>> Fabio Alves de Araujo Ebner - DNA Solution wrote:
>> > how .jar i need put at classpath??
>> >
>> >
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
> jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>> >
>> > i put all this but when i run
>> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
>> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
>> > i got the error:
>> >
>> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
>> > http://localhost:8
>> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1
>> > -p br.com
>> > .dnasolution
>> > Exception in thread "main" java.lang.NoClassDefFoundError
>> >         at
>> > org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
>> > :29)
>> >         at
>> > org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
>> > :29)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> >
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
> :111
>> > 7)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>> >         at
>> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>> >         at
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> > ationEngine.java:168)
>> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> > Caused by: java.lang.ClassNotFoundException:
> org.apache.axiom.om.OMElement
>> >         at java.net.URLClassLoader$1.run(Unknown Source)
>> >         at java.security.AccessController.doPrivileged(Native Method)
>> >         at java.net.URLClassLoader.findClass(Unknown Source)
>> >         at java.lang.ClassLoader.loadClass(Unknown Source)
>> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>> >         at java.lang.ClassLoader.loadClass(Unknown Source)
>> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> >         at java.lang.Class.forName0(Native Method)
>> >         at java.lang.Class.forName(Unknown Source)
>> >         ... 12 more
>> >
>> >
>> --
>> -------------------------------------------------------------------
>> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
>> Parc Bit - Son Espanyol
>> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
>> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
>> http://www.gridsystems.com
>> -------------------------------------------------------------------
>>
>>
>> --
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
>

Re: [Spam] Re: classpath

Posted by Rodrigo Ruiz <rr...@gridsystems.com>.
I am not sure, but I think I have seen a similar error in another
thread. Try to add xerces to your classpath.

And if you find any jalopy*.jar in %AXIS2_LIB%, add it too. Maybe this
will prevent the INFO logs at the beginning.

By the way, I see you are including two versions of each jar. I
recommend you to use only one version, 1.0 or 1.1.1. You may experience
extrange class-loading related problems if you mix two different
versions of the libraries.

Regards,
Rodrigo Ruiz

Fabio Alves de Araujo Ebner - DNA Solution wrote:
> i put
> %AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
> iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
> ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar
> 
> and now i got the error:
> 
> C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8080/axis2/servic
> es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p br.com.dnasolution
> 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> prettify
> INFO: Jalopy not found - unable to pretty print
> \exemplo1\src\br\com\dnasolution
> \VerificaLoginSkeleton.java
> 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
> prettify
> INFO: Jalopy not found - unable to pretty print
> \exemplo1\src\br\com\dnasolution
> \VerificaLoginMessageReceiverInOut.java
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException
> : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeExcept
> ion: WSDL writing failed!
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:185)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.Runt
> imeException: WSDL writing failed!
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:168)
>         ... 2 more
> Caused by: java.lang.RuntimeException: WSDL writing failed!
>         at
> org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> java:45)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>         ... 3 more
> Caused by: org.apache.axis2.AxisFault: null; nested exception is:
>         java.lang.NullPointerException
>         at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> )
>         at
> org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> 45)
>         at
> org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> java:40)
>         ... 6 more
> Caused by: java.lang.NullPointerException
>         at
> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
> nt(Unknown Source)
>         at
> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
> e(Unknown Source)
>         at
> org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> reamWriter.java:138)
>         at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> erializerUtil.java:76)
>         at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> SerializerUtil.java:266)
>         at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> erializerUtil.java:232)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:765)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
>         at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
>         at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> 0)
>         at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> 1)
>         at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> )
>         ... 8 more
> ----- Original Message -----
> From: "Rodrigo Ruiz" <rr...@gridsystems.com>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, September 20, 2006 11:03 AM
> Subject: [Spam] Re: classpath
> 
> 
>> Hi Fabio, the missing class is from Axiom. You should have one or more
>> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
>>
>> HTH,
>> Rodrigo Ruiz
>>
>> Fabio Alves de Araujo Ebner - DNA Solution wrote:
>>> how .jar i need put at classpath??
>>>
>>>
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
> B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
> jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>>> i put all this but when i run
>>> WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
>>> xmlbeans -o ..\samples -p org.apache.axis2.userguide
>>> i got the error:
>>>
>>> C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
>>> http://localhost:8
>>> 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1
>>> -p br.com
>>> .dnasolution
>>> Exception in thread "main" java.lang.NoClassDefFoundError
>>>         at
>>> org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
>>> :29)
>>>         at
>>> org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
>>> :29)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>> itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>> itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>>
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
> :111
>>> 7)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>> itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>>>         at
>>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
>>> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>>>         at
>>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>>> ationEngine.java:168)
>>>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>>>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>>> Caused by: java.lang.ClassNotFoundException:
> org.apache.axiom.om.OMElement
>>>         at java.net.URLClassLoader$1.run(Unknown Source)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(Unknown Source)
>>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Unknown Source)
>>>         ... 12 more
>>>
>>>
>> --
>> -------------------------------------------------------------------
>> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
>> Parc Bit - Son Espanyol
>> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
>> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
>> http://www.gridsystems.com
>> -------------------------------------------------------------------
>>
>>
>> --
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
-------------------------------------------------------------------
GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
Parc Bit - Son Espanyol
07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
Baleares - España              Tel:+34-971435085 Fax:+34-971435082
http://www.gridsystems.com
-------------------------------------------------------------------


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006


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


Re: [Spam] Re: classpath

Posted by Fabio Alves de Araujo Ebner - DNA Solution <fa...@dnasolution.com.br>.
i put
%AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax
iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j
ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar

and now i got the error:

C:\>java org.apache.axis2.wsdl.WSDL2Java -uri
http://localhost:8080/axis2/servic
es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p br.com.dnasolution
20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
prettify
INFO: Jalopy not found - unable to pretty print
\exemplo1\src\br\com\dnasolution
\VerificaLoginSkeleton.java
20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
prettify
INFO: Jalopy not found - unable to pretty print
\exemplo1\src\br\com\dnasolution
\VerificaLoginMessageReceiverInOut.java
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeExcept
ion: WSDL writing failed!
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:185)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.Runt
imeException: WSDL writing failed!
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:168)
        ... 2 more
Caused by: java.lang.RuntimeException: WSDL writing failed!
        at
org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
java:45)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
        ... 3 more
Caused by: org.apache.axis2.AxisFault: null; nested exception is:
        java.lang.NullPointerException
        at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
)
        at
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
45)
        at
org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
java:40)
        ... 6 more
Caused by: java.lang.NullPointerException
        at
com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte
nt(Unknown Source)
        at
com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut
e(Unknown Source)
        at
org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
reamWriter.java:138)
        at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
erializerUtil.java:76)
        at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
SerializerUtil.java:266)
        at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
erializerUtil.java:232)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:765)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:754)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:769)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:754)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:769)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:754)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:769)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:754)
        at
org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
0)
        at
org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
1)
        at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
)
        ... 8 more
----- Original Message -----
From: "Rodrigo Ruiz" <rr...@gridsystems.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, September 20, 2006 11:03 AM
Subject: [Spam] Re: classpath


> Hi Fabio, the missing class is from Axiom. You should have one or more
> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.
>
> HTH,
> Rodrigo Ruiz
>
> Fabio Alves de Araujo Ebner - DNA Solution wrote:
> > how .jar i need put at classpath??
> >
> >
%AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI
B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.
jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
> >
> > i put all this but when i run
> > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> > xmlbeans -o ..\samples -p org.apache.axis2.userguide
> > i got the error:
> >
> > C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> > http://localhost:8
> > 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1
> > -p br.com
> > .dnasolution
> > Exception in thread "main" java.lang.NoClassDefFoundError
> >         at
> > org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> > :29)
> >         at
> > org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> > :29)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> >
itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java
:111
> > 7)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
> >         at
> > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> >         at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:168)
> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > Caused by: java.lang.ClassNotFoundException:
org.apache.axiom.om.OMElement
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Unknown Source)
> >         ... 12 more
> >
> >
> --
> -------------------------------------------------------------------
> GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
> Parc Bit - Son Espanyol
> 07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
> Baleares - España              Tel:+34-971435085 Fax:+34-971435082
> http://www.gridsystems.com
> -------------------------------------------------------------------
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>


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


Re: classpath

Posted by Rodrigo Ruiz <rr...@gridsystems.com>.
Hi Fabio, the missing class is from Axiom. You should have one or more
axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.

HTH,
Rodrigo Ruiz

Fabio Alves de Araujo Ebner - DNA Solution wrote:
> how .jar i need put at classpath??
>  
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LIB%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>  
> i put all this but when i run
> WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> xmlbeans -o ..\samples -p org.apache.axis2.userguide
> i got the error:
>  
> C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8
> 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1
> -p br.com
> .dnasolution
> Exception in thread "main" java.lang.NoClassDefFoundError
>         at
> org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> :29)
>         at
> org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> :29)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java:111
> 7)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:168)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.OMElement
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Unknown Source)
>         ... 12 more
> 
> 
-- 
-------------------------------------------------------------------
GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
Parc Bit - Son Espanyol
07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
Baleares - España              Tel:+34-971435085 Fax:+34-971435082
http://www.gridsystems.com
-------------------------------------------------------------------


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006


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