Email fails using sendMsg
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Commerce suite > Email fails using sendMsg




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Email fails using sendMsg  
mschroed


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 07:48 PM

Hi,

I'm trying to send a "refer a friend" email from my store running in Commerc
e 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.messag
ing.util.ConnectorsInfo initializeOutbound() CMN8407E: A class identified in
 the Messaging System XML does not correspond to a Java class. Class: com.ib
m.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(Ex
ceptionThrowingHelper.java:125)
at com.ibm.commerce.messaging.util.ConnectorsInfo.initializeOutbound(Connect
orsInfo.java:1627)
at com.ibm.commerce.messaging.util.ConnectorsInfo.getOutboundConnectors(Conn
ectorsInfo.java:189)
at com.ibm.commerce.messaging.outboundservice.ConnectorsHolder.initializeCon
nectors(ConnectorsHolder.java:47)
at com.ibm.commerce.messaging.outboundservice.Messaging._init(Messaging.java
:358)
at com.ibm.commerce.messaging.outboundservice.Messaging.<init>(Messaging.jav
a:278)
at com.ibm.commerce.messaging.outboundservice.Messaging.<init>(Messaging.jav
a:258)
at com.ibm.commerce.messaging.commands.SendMsgCmdImpl.performExecute(SendMsg
CmdImpl.java:322)
.
.
.

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

Any ideas?

Thanks,
Mike





[ Post a follow-up to this message ]



    Re: Email fails using sendMsg  
Shibu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 07: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




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:13 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register