On 01/11/2014 02:34 PM, ameet140 wrote:
>
> Hello,
> I have 3 suse linux server on which i installed below IdM 4.0.2
> compoenent
> 1. IdM + eDir
> 2. User App
> 3. EAS
> Now i had to install Reporting Module.... I found difficulties to
> install it on EAS server. So i finally installed on UserApp server (on
> same Jboss )
> path for Reporting module is :
> /opt/novell/IdentityReporting ... and war path is ::
> /opt/novell/idm/jboss/server/IDMProv/deploy/
>
> After Reporting module installation I am getting exception while
> start/sotp JBOSS , it is giving the below exception (so i have to kill
> the process to stop JBOSS)
>
> =========== WHILE STOPPING JBOSS ERROR from server.log============
> [Root exception is javax.naming.CommunicationException: Failed to
> connect to server localhost/127.0.0.1:1199 [Root exception is
> javax.naming.ServiceUnavailableException: Failed to connect to server
> localhost/127.0.0.1:1199 [Root exception is java.net.ConnectException:
> Connection refused]]]
> at
> org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1763)
> at
> org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:693)
> at
> org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:686)
> at javax.naming.InitialContext.lookup(Unknown Source)
> at org.jboss.Shutdown.main(Shutdown.java:219)
> Caused by: javax.naming.CommunicationException: Failed to connect to
> server localhost/127.0.0.1:1199 [Root exception is
> javax.naming.ServiceUnavailableException: Failed to connect to server
> localhost/127.0.0.1:1199 [Root exception is java.net.ConnectException:
> Connection refused]]
> at
> org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:335)
> at
> org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1734)
> .... 4 more
> Caused by: javax.naming.ServiceUnavailableException: Failed to connect
> to server localhost/127.0.0.1:1199 [Root exception is
> java.net.ConnectException: Connection refused]
> at
> org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:305)
> .... 5 more
> Caused by: java.net.ConnectException: Connection refused
> 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
> org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:97)
> at
> org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:82)
> at
> org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:301)
> .... 5 more
>
>
> =========== WHILE START JBOSS ERROR from server.log ===========
>
> 11:34:44,289 INFO [Communicator] loadStrategy. Initialize strategy
> 11:34:44,301 INFO [ServiceManager] About to create communicator
> instance for service manager with thread-> main
> 11:34:44,301 INFO [Communicator] creating new communicator instance for
> service WebUI using thread main->
> 11:34:44,315 INFO [CommContextImpl] Processed interceptor with alias
> compression
> 11:34:44,315 INFO [Communicator] Loading strategy jms_external
> 11:34:44,317 INFO [Communicator] loadStrategy. Loading strategy
> 11:34:44,320 SEVERE [ActiveMQStrategy] Unable to load JMS user password;
> Exception /opt/novell/IdentityReporting/config/activemqusers.properties
> (No such file or directory); java.io.FileNotFoundException;
> 11:34:44,324 SEVERE [ActiveMQStrategy] java.io.FileNotFoundException:
> /opt/novell/IdentityReporting/config/activemqusers.properties (No such
> file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(Unknown Source)
> at
> com.esecurity.common.communication.strategy.jmsstr ategy.activemq.ActiveMQStrategy.getPassword(Active MQStrategy.java:112)
> at
> com.esecurity.common.communication.strategy.jmsstr ategy.activemq.ActiveMQStrategy.initialize(ActiveM QStrategy.java:158)
> at
> com.esecurity.common.communication.Communicator.lo adStrategy(Communicator.java:360)
> at
> com.esecurity.common.communication.Communicator.lo adConfiguration(Communicator.java:621)
> at
> com.esecurity.common.communication.Communicator.in itialize(Communicator.java:793)
> at
> com.esecurity.common.communication.Communicator.cr eateCommunicator(Communicator.java:177)
> at
> com.esecurity.common.communication.Communicator.ge tInstance(Communicator.java:127)
> at
> esecurity.base.datamodel.service.ServiceManager.ge tCommunicator(ServiceManager.java:307)
> at
> esecurity.base.datamodel.service.ServiceManager.in itCommunicator(ServiceManager.java:292)
> at
> com.novell.sentinel.eas.rest.config.SentinelCommun icationSetupListener.initialize(SentinelCommunicat ionSetupListener.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeCustomInitMethod( AbstractAutowireCapableBeanFactory.java:1527)
> at
> org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1468)
> at
> org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1400)
> at
> org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:513)
>
>
> 11:34:44,447 SEVERE [TopicConnection] Failed to connect to Broker.;
> Exception User name or password is invalid.; javax.jms.JMSException; ;
> Caused by Password does not match;
> javax.security.auth.login.FailedLoginException;
> 11:34:44,454 SEVERE [TopicConnection] javax.jms.JMSException: User name
> or password is invalid.
> at
> org.apache.activemq.util.JMSExceptionSupport.creat e(JMSExceptionSupport.java:49)
> at
> org.apache.activemq.ActiveMQConnection.syncSendPac ket(ActiveMQConnection.java:1273)
> at
> org.apache.activemq.ActiveMQConnection.ensureConne ctionInfoSent(ActiveMQConnection.java:1368)
> at
> org.apache.activemq.ActiveMQConnection.setClientID (ActiveMQConnection.java:391)
> at
> com.esecurity.common.communication.strategy.jmsstr ategy.TopicConnection.doConnect(TopicConnection.ja va:90)
> at
> com.esecurity.common.communication.strategy.jmsstr ategy.activemq.ActiveMQTopicConnection.doConnect(A ctiveMQTopicConnection.java:122)
> at
> com.esecurity.common.communication.strategy.jmsstr ategy.activemq.ActiveMQPublisherConnection.doConne ct(ActiveMQPublisherConnection.java:7
>
> Caused by: java.lang.SecurityException: User name or password is
> invalid.
> at
> org.apache.activemq.security.JaasAuthenticationBro ker.addConnection(JaasAuthenticationBroker.java:83 )
> at
> org.apache.activemq.broker.BrokerFilter.addConnect ion(BrokerFilter.java:82)
> at
> org.apache.activemq.broker.MutableBrokerFilter.add Connection(MutableBrokerFilter.java:89)
> at
> org.apache.activemq.broker.TransportConnection.pro cessAddConnection(TransportConnection.java:676)
> at
> org.apache.activemq.broker.jmx.ManagedTransportCon nection.processAddConnection(ManagedTransportConne ction.java:83)
> at
> org.apache.activemq.command.ConnectionInfo.visit(C onnectionInfo.java:134)
> ... 1 more
> Caused by: javax.security.auth.login.FailedLoginException: Password does
> not match
> at
> org.apache.activemq.jaas.PropertiesLoginModule.log in(PropertiesLoginModule.java:122)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
>
>

Greetings,

1) 11:34:44,324 SEVERE [ActiveMQStrategy] java.io.FileNotFoundException:
/opt/novell/IdentityReporting/config/activemqusers.properties (No such
file or directory)
=> Does this file exist? If it does who owns it and who are you
starting JBoss as?

2) Without being able to read the above file during the start-up
Reporting will not be able to connect to the MS within EAS

--

Sincerely,
Steven Williams
Lead Software Engineer
NetIQ