I see the same issue. Webservices security tests failed against the
latest nightly build due to this error.
Thanks,
Sonia
Bhakti Mehta wrote:
> Yes I think that is right. I shall fix the scripts.
>
> Snjezana Sevo-Zenzerovic wrote:
>
>> I think I know what happened - Bill renamed the jar file in the last
>> javamail integration and wscompile script still explicitly references
>> old name in its classpath...
>>
>> ----- Original Message -----
>> From: bhakti.mehta_at_oracle.com
>> To: bill.shannon_at_oracle.com, sahoo_at_sun.com, dev_at_glassfish.dev.java.net
>> Sent: Thursday, December 16, 2010 4:07:27 PM GMT -08:00 US/Canada
>> Pacific
>> Subject: Any changes in javamail?
>>
>> Hi all,
>> I am running into this issue in my jaxrpc devtests. If I try with an
>> older build this works
>>
>> Copy the 2 files from
>> http://javaweb.sfbay.sun.com/~bhakti/javamail_issue/ to AS_HOME/bin
>> $AS_HOME/bin/wscompile -gen:client config-wsdl.xml (This works with
>> an older build)
>>
>> With yesterday's workspace.
>> $AS_HOME/bin/wscompile -gen:client config-wsdl.xml
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> javax/mail/internet/MimeMultipart
>> at
>> com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.<init>(StandardSOAPTypeMappings.java:927)
>>
>> at
>> com.sun.xml.rpc.encoding.StandardTypeMappings.getSoap(StandardTypeMappings.java:49)
>>
>> at
>> com.sun.xml.rpc.client.BasicService.createSoapMappings(BasicService.java:247)
>>
>> at
>> com.sun.xml.rpc.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:219)
>>
>> at
>> com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.writeGetRegistry(SerializerRegistryGenerator.java:485)
>>
>> at
>> com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.generateSerializerRegistry(SerializerRegistryGenerator.java:364)
>>
>> at
>> com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.postVisitService(SerializerRegistryGenerator.java:176)
>>
>> at
>> com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:238)
>>
>> at com.sun.xml.rpc.processor.model.Service.accept(Service.java:119)
>> at
>> com.sun.xml.rpc.processor.generator.GeneratorBase.visitModel(GeneratorBase.java:228)
>>
>> at
>> com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:216)
>>
>> at com.sun.xml.rpc.processor.model.Model.accept(Model.java:156)
>> at
>> com.sun.xml.rpc.processor.generator.GeneratorBase.doGeneration(GeneratorBase.java:205)
>>
>> at
>> com.sun.xml.rpc.processor.generator.GeneratorBase.perform(GeneratorBase.java:150)
>>
>> at
>> com.sun.xml.rpc.processor.Processor.runActions(Processor.java:105)
>> at
>> com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:763)
>> at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:60)
>> at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:39)
>> Caused by: java.lang.ClassNotFoundException:
>> javax.mail.internet.MimeMultipart
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>> ... 18 more
>>
>> I looked through the export packages for javax.mail.jar etc but that
>> looked ok to me. Please can you confirm if you are aware of any
>> changes in this area?
>>
>> Regards,
>> Bhakti
>>
>>
>>
>>
>>
>>
>