ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Email adapter runtime issue

Post new topic  Reply to topic
 Email adapter runtime issue « View previous topic :: View next topic » 
Author Message
Monk
PostPosted: Thu Apr 17, 2008 8:22 pm    Post subject: Email adapter runtime issue Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

i m trying to run email adapter for MB
email adapter v5.5.1
WBI framework 2.6.3

following is the error
IBM\WebSphereAdapters\connectors\EMail>start_Email.bat Email BROKER -c EMailConnector.cfg
me: 2008/04/18 09:49:17.276] [System: Server] [Thread: wbia_main (#1221153688)] [Mesg: Default configuration file C:\IBM
bSphereAdapters\InterchangeSystem.cfg is missing, please copy your InterchangeSystem.cfg from your ICS installation.]

Why is it asking for InterchangeSystem.cfg?
Do I need to install ICS?, if so , Why , Can't I use email adapter for MB.
It says so in the documentation.
_________________
Thimk
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Apr 17, 2008 8:59 pm    Post subject: Re: Email adapter runtime issue Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Monk wrote:

following is the error
IBM\WebSphereAdapters\connectors\EMail>start_Email.bat Email BROKER -c EMailConnector.cfg
me: 2008/04/18 09:49:17.276] [System: Server] [Thread: wbia_main (#1221153688)] [Mesg: Default configuration file C:\IBM
bSphereAdapters\InterchangeSystem.cfg is missing, please copy your InterchangeSystem.cfg from your ICS installation.]

Why is it asking for InterchangeSystem.cfg?
Do I need to install ICS?, if so , Why , Can't I use email adapter for MB.
It says so in the documentation.


You can install it for MB,

I suspect while installing the Email Adapter you might have choosen ICS as the Transformation tool

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Monk
PostPosted: Thu Apr 17, 2008 9:22 pm    Post subject: Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

Nope i made sure its installed only for MB..
i didnt select ICS..
however now thats not the issue anymore..
I managed to get the latest fixpacks for framework..
and now its runs..
but this is what shows up in the log..

Exception while configuring DataHandler: Unable to find version "*.*.*" of usiness object definition "MO_DataHandler_Default"
Email::init() encountered an error. Please fix the problem and restart the connector.
The call to method init() in the application connector failed.

I m not able to make any sense out of it..
Can you?
_________________
Thimk
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Apr 17, 2008 9:47 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Go through the below link

http://www-1.ibm.com/support/docview.wss?uid=swg21222812


Regards
gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Monk
PostPosted: Thu Apr 17, 2008 10:15 pm    Post subject: Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

Hi..
thanks for the reply..and the link..
bt the link says how to configure ICS with email adapter..
What I m doing it configuring email adapter with Message broker v5.0

any link for this?
_________________
Thimk
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Apr 17, 2008 10:29 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

same way you have to configure the email adapter for MB

It works, try out...

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Monk
PostPosted: Thu Apr 17, 2008 11:03 pm    Post subject: Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

i turned on the debug mode..
and following is the output

ossworlds.connectors.EMail.ConnectorAgent -cEMailConnector.cfg
###### Enable the FFDC successfully ######
DEBUG: JavaMail version 1.4.1
DEBUG: not loading file: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.providers
DEBUG: java.io.FileNotFoundException: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.providers (The system cannot fin
d the file specified)
DEBUG: URL jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/ja
vamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail
.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.
imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
mtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.
POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore
,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy
stems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems
, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[T
RANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.
pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystem
s, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: URL jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/javamail.address.map
DEBUG: successfully loaded resource: jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/ja
vamail.address.map
DEBUG: not loading file: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.address.map (The system cannot f
ind the file specified)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "192.168.61.200", port 25, isSSL false
220 XXXXXXXX ESMTP Service (Lotus Domino Release 7.0.3) ready at Fri, 18 Apr 2008 12:28:47 +0530
DEBUG SMTP: connected to host "192.168.61.200", port: 25

EHLO ISDD-PW636
250-XXXXXXXX Hello ISDD-PW636 ([192.168.4.176]), pleased to meet you
250-HELP
250-SIZE 6291456
250 PIPELINING
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: Found extension "SIZE", arg "6291456"
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: JavaMail version 1.4.1 <------------- stuck at this point because it cant find smtp.jar

I have placed smtp.jar all over the place , in CLASSPATH's , all the lib folder .
it still cant find smtp.jar

Where does this smtp.jar go?
Should the adapter configure it?
the IBM adapter installation is just crappy.
I had to manually copy all the jar files to make it work till here..
_________________
Thimk
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Apr 17, 2008 11:12 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Monk wrote:
C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.providers
DEBUG: java.io.FileNotFoundException: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.providers (The system cannot fin
d the file specified)
DEBUG: URL jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/ja
vamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail
.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.
imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
mtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.
POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore
,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy
stems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems
, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[T
RANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.
pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystem
s, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: URL jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/javamail.address.map
DEBUG: successfully loaded resource: jar:file:/C:/IBM/WebSphereAdapters/connectors/EMail/JavaMail-Sun/smtp.jar!/META-INF/ja
vamail.address.map
DEBUG: not loading file: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\IBM\WebSphereAdapters\AdapterJRE\jre\lib\javamail.address.map (The system cannot f
ind the file specified)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "192.168.61.200", port 25, isSSL false
220 XXXXXXXX ESMTP Service (Lotus Domino Release 7.0.3) ready at Fri, 18 Apr 2008 12:28:47 +0530
DEBUG SMTP: connected to host "192.168.61.200", port: 25

EHLO ISDD-PW636
250-XXXXXXXX Hello ISDD-PW636 ([192.168.4.176]), pleased to meet you
250-HELP
250-SIZE 6291456
250 PIPELINING
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: Found extension "SIZE", arg "6291456"
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: JavaMail version 1.4.1 <------------- stuck at this point because it cant find smtp.jar

It is not due to smtp.jar file........

_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Monk
PostPosted: Thu Apr 17, 2008 11:38 pm    Post subject: Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

Then what is it?

the javamail.providers is in smtp.jar
_________________
Thimk
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Email adapter runtime issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.