I have been trying to configure Interstage BPM V11.2 build 270 and 503 on a Windows Server 2003 R2, Enterprise Edition, Service Pack 2 environment and have hit an issue twice that I am hoping someone has encountered and can offer suggestions or some troubleshooting time and expertise.
After the install, and after installing an e-mail server (MailEnable), I am trying to send an e-mail from a java action to a valid e-mail account on the server.
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: ServerEnactmentContextImpl : @(sendMailInternal() javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: ServerEnactmentContextImpl : @(sendMailInternal(): ) Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: JavaActionEngine : executeJavaMethod: Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: JavaActionEngine : Method:com.fujitsu.iflow.actions.IBPMActions,sendEmail(String,ServerEnactmentContext),<E>"<EmailMsg>\r\n <To>uda.get(\"to\"</To>\r\n <From>uda.get(\"from\"</From>\r\n <Subject>\"test\"</Subject>\r\n <Body>\"test e-mail\"</Body>\r\n <MimeType>\"text/html\"</MimeType>\r\n</EmailMsg>\r\n"</E><E>sec</E>,
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: JavaActionEngine : @(executeJavaMethod(): ) Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:277)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
... 33 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: AndSplit : @(handleEvent(): ) Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}
Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:208)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:277)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
... 30 more
Caused by: Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
... 33 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: RegProc(3) : @(handleEvent(): ) Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:503)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:208)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
... 29 more
Caused by: Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:277)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
... 30 more
Caused by: Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
... 33 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: EventDispatcher : handleEvents(HistoryId:8033)Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: EventDispatcher : @(handleEvents(): ) Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:503)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:208)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
... 29 more
Caused by: Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:277)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
... 30 more
Caused by: Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
... 33 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:10 EDT 2011: TID=21148979: EventDispatcher : @(handleEvents(): ) Could not handle requested events. {Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}}
Could not handle requested events. {Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}}
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:698)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:503)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
... 28 more
Caused by: Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:208)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
... 29 more
Caused by: Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:277)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
... 30 more
Caused by: Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
... 33 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:12 EDT 2011: TID=21148979: EnactmentMB : @(handleEvents() Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}}
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:503)
at com.fujitsu.iflow.serveree.impl.wfengine.EventDispatcher.handleEvents(EventDispatcher.java:566)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.handleEvents(EnactmentMB.java:209)
at com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB.onMessage(EnactmentMB.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:47)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)
Caused by: Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:208)
at com.fujitsu.iflow.serveree.impl.metamodel.RegularProcess.handleEvent(RegularProcess.java:323)
... 29 more
Caused by: Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:277)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaAction(JavaActionEngine.java:139)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaActionSet(JavaActionEngine.java:89)
at com.fujitsu.iflow.serveree.impl.metamodel.AndSplit.handleEvent(AndSplit.java:152)
... 30 more
Caused by: Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1360)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendEmail(ServerEnactmentContextImpl.java:1188)
at com.fujitsu.iflow.actions.IBPMActions.sendEmail(IBPMActions.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fujitsu.iflow.server.impl.metamodel.JavaActionEngine.executeJavaMethod(JavaActionEngine.java:252)
... 33 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.fujitsu.iflow.serveree.impl.globalnotification.EmailUtility.send(EmailUtility.java:131)
at com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.sendMailInternal(ServerEnactmentContextImpl.java:1356)
... 40 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 48 more
ERR:TENANTID = 2 : Thu Jul 21 14:50:12 EDT 2011: TID=21148979: EnactmentMB : Could not handle requested events. ( HistoryId:8033 ProcessId:8022 Marking The Process as Error. reason: Could not handle requested events. {Could not handle requested events. {Failed to execute JavaAction 'Sending Test e-mail, ClassName : com.fujitsu.iflow.actions.IBPMActions, MethodName : sendEmail(String,ServerEnactmentContext)' in activity '' of process instance 8022: The cause is 'java.lang.reflect.InvocationTargetException' {Could not send email. {javax.mail.MessagingException: Could not connect to SMTP host: win2003r2SQL05, port: 25}}}})
Author: Bob Benton
Attachment: Document1.txt
Author: C.Y. Chen
Attachment:
Author: Bob Benton
Attachment:
CY:
Still getting the same error. Something not quite right. Is there any way we could do a webex? Perhaps we can review the parameters in the Tenant Manager? They appear to be right, but nothing making any difference at this point. Can we put the component that connects to the SMTP Server in debug??Author: Bob Benton
Attachment:
Author: Bob Benton
Attachment:
Author: Nanda Subramani
Attachment:
Author: Bob Benton
Attachment:
Author: C.Y. Chen
Attachment: