WebSphere Commerce suite - Email fails using sendMsg

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > January 2004 > Email fails using sendMsg





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Email fails using sendMsg
mschroed

2004-01-19, 2:48 pm

Hi,

I'm trying to send a "refer a friend" email from my store running in Commerce Studio 5.5. I get the following exception:

Refer a Friend function fails:
[10/13/03 16:15:34:424 CDT] 3c2771f9 CommerceSrvr E com.ibm.commerce.messaging.util.ConnectorsInfo initializeOutbound() CMN8407E: A class identified in the Messaging System XML does not correspond to a Java class. Class: com.ibm.commerce.messaging.adapte
rs.jcaemail.JCAEmailConnectionSpec.Current exception:
Message:
null
Stack trace:
com.ibm.commerce.exception.ECSystemException
at com.ibm.commerce.messaging.util.ExceptionThrowingHelper.throwException(ExceptionThrowingHelper.java:125)
at com.ibm.commerce.messaging.util.ConnectorsInfo.initializeOutbound(ConnectorsInfo.java:1627)
at com.ibm.commerce.messaging.util.ConnectorsInfo.getOutboundConnectors(ConnectorsInfo.java:189)
at com.ibm.commerce.messaging.outboundservice.ConnectorsHolder.initializeConnectors(ConnectorsHolder.java:47)
at com.ibm.commerce.messaging.outboundservice.Messaging._init(Messaging.java:358)
at com.ibm.commerce.messaging.outboundservice.Messaging.<init>(Messaging.java:278)
at com.ibm.commerce.messaging.outboundservice.Messaging.<init>(Messaging.java:258)
at com.ibm.commerce.messaging.commands.SendMsgCmdImpl.performExecute(SendMsgCmdImpl.java:322)
..
..
..

My email transport is active, and the class in question (com.ibm.commerce.messaging.adapters.jcaemail.JCAEmailConnectionSpec) is in the Enablement-JCAEMailConnector project, which is in my classpath.

Any ideas?

Thanks,
Mike
Shibu

2004-01-19, 2:48 pm

Hi Mike



Generally this happens if the ClassName attribute in <instance_name>.xml for
a connector does not correspond to a valid Java class or the Java class is
missing from the WebSphere Commerce instance classpath.



I suggest you to try these steps.



Check if your
WCStudio_workspacedir/Enablement-JCAAEMailConnector/.imported_classes.jar
file has the following files.



com.ibm.commerce.ras.ECMessageKey.class

com.ibm.commerce.ras.WASLog.class

com.ibm.commerce.ras.WASTrace.class



(If you don't have then extract
WCStudio_workspacedir/Enablement-BaseComponentsLogic/.imported_classes.jar
to a temporary folder and add the mentioned class files to the
WCStudio_workspacedir/Enablement-JCAAEMailConnector/.imported_classes.jar)



If you have all the files mentioned above then follow the following steps:



1) Go to Server Perspective in WSAD.

2) Double click the WebSphereCommerceServer from the server
configuration window.

3) Click on J2C tab -> Go to Server settings.

4) You can find all the J2C Resource Adapters. Remove the
Enablement-JCAEMailConnector and add it back again and save the changes.

5) Start the server and test your programme.



I hope this should work. I had similar sort of problem.



Thanks

Malay.





"mschroed" <mschroed@us.ibm.com> wrote in message
news:932483511.1066153451157.JavaMail.wasadmin@swg3ws006...
quote:

> Hi,
>
> I'm trying to send a "refer a friend" email from my store running in


Commerce Studio 5.5. I get the following exception:
quote:

>
> Refer a Friend function fails:
> [10/13/03 16:15:34:424 CDT] 3c2771f9 CommerceSrvr E


com.ibm.commerce.messaging.util.ConnectorsInfo initializeOutbound()
CMN8407E: A class identified in the Messaging System XML does not correspond
to a Java class. Class:
com.ibm.commerce.messaging.adapters.jcaemail.JCAEmailConnectionSpec.Current
exception:
quote:

> Message:
> null
> Stack trace:
> com.ibm.commerce.exception.ECSystemException
> at


com.ibm.commerce.messaging.util.ExceptionThrowingHelper.throwException(Excep
tionThrowingHelper.java:125)
quote:

> at


com.ibm.commerce.messaging.util.ConnectorsInfo.initializeOutbound(Connectors
Info.java:1627)
quote:

> at


com.ibm.commerce.messaging.util.ConnectorsInfo.getOutboundConnectors(Connect
orsInfo.java:189)
quote:

> at


com.ibm.commerce.messaging.outboundservice.ConnectorsHolder.initializeConnec
tors(ConnectorsHolder.java:47)
quote:

> at


com.ibm.commerce.messaging.outboundservice.Messaging._init(Messaging.java:35
8)
quote:

> at


com.ibm.commerce.messaging.outboundservice.Messaging.<init>(Messaging.java:2
78)
quote:

> at


com.ibm.commerce.messaging.outboundservice.Messaging.<init>(Messaging.java:2
58)
quote:

> at


com.ibm.commerce.messaging.commands.SendMsgCmdImpl.performExecute(SendMsgCmd
Impl.java:322)
quote:

> .
> .
> .
>
> My email transport is active, and the class in question


(com.ibm.commerce.messaging.adapters.jcaemail.JCAEmailConnectionSpec) is in
the Enablement-JCAEMailConnector project, which is in my classpath.
quote:

>
> Any ideas?
>
> Thanks,
> Mike




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com