Re: Alerts are thrown from sec DPS instead of Primary DPS (235 Views)
Reply
Regular Advisor
aarya
Posts: 107
Registered: ‎01-28-2013
Message 1 of 3 (289 Views)

Alerts are thrown from sec DPS instead of Primary DPS

Hi Team,
In our environment, We have 2 Gateways which are in load balancing mode.
DPS are in HA mode.

Both the DPS are up and working fine.

But issue is alerts are thrown by Secondary DPS instead of Primary DPS. 
How to resolve this.?

 

BSM 9.13

 

 

Regards,

Aarya

Trusted Contributor
pablorxm
Posts: 68
Registered: ‎01-30-2012
Message 2 of 3 (249 Views)

Re: Alerts are thrown from sec DPS instead of Primary DPS

Hi aarya,

 

I recommend you to enable DEBUG mode for alerts on primary DPS,this will enable BAC to log debug messages into \log\alert\alerts.ejb.log, and try to figure out what is causing the issue,

 

See details below:

http://support.openview.hp.com/selfsolve/document/KM432552

 

Regards,

JV.

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Regular Advisor
aarya
Posts: 107
Registered: ‎01-28-2013
Message 3 of 3 (235 Views)

Re: Alerts are thrown from sec DPS instead of Primary DPS

Hi JV,

 

As per  your suggestion,

 

i have enable DEBUG mode for alerts on primary DPS, gets below error.

 

 

==============================================================================

2014-07-29 11:20:08,281 [WorkManager(2)-874995] (NotificationImpl.java:166) ERROR - MERQ-120645: Failed to execute notification
Alert id=e35b73fa938a7d51f2801da80ad22368
Attempt=1
Reason=Failed to send email beacuse: Unknown SMTP host:  10.87.152.16
com.mercury.am.platform.processing.alerts.util.AlertEngineException: Failed to send email beacuse: Unknown SMTP host:  10.87.152.16
    at com.mercury.am.platform.processing.alerts.notification.EmailNotification.execNotification(EmailNotification.java:373)
    at com.mercury.am.platform.processing.alerts.notification.MessageNotification.execNotification(MessageNotification.java:131)
    at com.mercury.am.platform.processing.alerts.notification.NotificationImpl.execute(NotificationImpl.java:162)
    at com.mercury.am.platform.processing.alerts.notification.NotificationImpl.handle(NotificationImpl.java:145)
    at com.mercury.am.platform.processing.alerts.notification.EmailNotification.handle(EmailNotification.java:252)
    at com.mercury.am.platform.processing.alerts.listener.NotificationListener.sendNotification(NotificationListener.java:214)
    at com.mercury.am.platform.processing.alerts.listener.NotificationListener.sendNotifications(NotificationListener.java:188)
    at com.mercury.am.platform.processing.alerts.listener.NotificationListener.onMessage(NotificationListener.java:151)
    at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
    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.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    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:138)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.delivery(MessageEndpointInterceptor.java:249)
    at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.invoke(MessageEndpointInterceptor.java:128)
    at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at com.sun.proxy.$Proxy269.onMessage(Unknown Source)
    at com.sonicsw.sonicmq.j2ee.jmsra.impl.sonic.SonicServerSession.onMessage(SonicServerSession.java:168)
    at progress.message.jimpl.Session.deliver(Session.java:3058)
    at progress.message.jimpl.Session.run(Session.java:2434)
    at com.sonicsw.sonicmq.j2ee.jmsra.impl.sonic.SonicServerSession.run(SonicServerSession.java:199)
    at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
    at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
    at java.lang.Thread.run(Thread.java:662)

=======================================================================

 

 

But SMTP port is open from both primary and sec DPS.

 

also Host file entry is present in both DPS

 

pls suggest how to proceed?

 

Regards,

Aarya

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.