Hi,

Previously our cybersource SCMP codes worked with jdk 1.4.2 and resin 
2.1.11.

Then, we switched to jdk 1.5.0_10 and resin 3.0.22, and we got this 
exception when trying to sending out a SMCP request:

java.lang.NoClassDefFoundError: com/sun/mail/util/LineOutputStream

[14:45:48.875] at 
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1333)

[14:45:48.875] at 
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:845)

[14:45:48.875] at 
com.cybersource.security.mime.MimeParser.encode(MimeParser.java:145)

[14:45:48.875] at 
com.cybersource.security.message.scmp.SCMPMessaging.composeSCMPMessage(SCMPMessaging.java:82)
 


[14:45:48.875] at 
com.cybersource.ics.client.ICSClientMessageManager.sendMessage(ICSClientMessageManager.java:232)
 


[14:45:48.875] at 
com.cybersource.ics.client.ICSClientMessageManager.send(ICSClientMessageManager.java:155)
 


[14:45:48.875] at 
com.cybersource.ics.client.ICSClient.send(ICSClient.java:318)

Actually, mail.jar is in classpath. However, it could not find the class 
com/sun/mail/util/LineOutputStream

Any idea?

Thanks.


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to