This is most likely a classloader related issue.  Where is your cybersource
jar installed?
Resin 3.0.x comes with javamail-14.jar in $RESIN_HOME/lib so you have on
need to
install and use mail.jar.

Bill


On 1/18/07, Huitang Li <[EMAIL PROTECTED]> wrote:

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

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

Reply via email to