Ifteqar Ald

Ranch Hand
+ Follow
since Dec 26, 2011
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ifteqar Ald

Hi Experts,

I am having issues with incrond IN_CREATE option. I am able to successfully monitor the directory created in a specific folder.

I have added an cifs NFS mount /mnt/DIR which is added to incrontab. Do you know why it is not able to monitor changes under /mnt/DIR?.

8 years ago
Hi Experts,

Can someone help me to fix this issue. We have a hornetq enabled Jboss server EAP 6.1.0.

We cleared all the queue messages from the queue but still we are seeing the message count to be nagative like -191

Is this a bug or any workaround available to get rid off of this.?

8 years ago
Hello Experts,

I have two tomcat nodes running on a Linux Machine. Below is the configuration of server.xml from the two servers. Can anyone tell me what is wrong in my configuration?. I am seeing that session is not getting replication to second tomcat instance when first tomcat goes down. A new session ID is being generated on Second tomcat Node.

Node1 Server.xml Cluster configuration

Node2 server.xml Cluster configuration

Thanks in Advance.

9 years ago

It looks like your web.xml has some issue. Could you please post your web.xml file here
9 years ago
Hi Kishore,

Please refer http://docs.jboss.org/jbossweb/7.0.x/config/ssl.html to clarify your doubts about the configuration parameters.

9 years ago
You can do this by changing context-root to / in your WEB-INF/web.xml
9 years ago
Hi Glyn,

JBoss uses UDP clustering as the default cluster configuration. Communication among jboss nodes is done using Jgroups protocol. For setting up the cluster you should be knowing the configuration parameters needed to setup.

This may be useful for you http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html-single/#clustering-quickstart-setup

9 years ago
Hi Ben,

You can also consider changing your configuration file in the following way.


Make sure you have opened port 8080 in your windows firewall
9 years ago

I have been able to resolve this issue.

This issue may happen due to network connectivity issues between jboss and LDAP and it had nothing to do with SSL configuration with keytool

9 years ago
Hi All,

I need your help to resolve this SSL issue. I have copied entire jdk1.6 folder and server keystore from one server to other server.

The application works fine in first server.

What might be causing the below error. Is there anything i have to change in configuration after copying the keystore to this server.

[ERROR] LDAPJndiConnectionManager.getConnection() : Exception... :
javax.naming.CommunicationException: simple bind failed: [Root exception is java.net.SocketException: Connection reset]
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:197)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2694)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
at com.samlpe.code.service(register.java:53)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:632)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:396)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)

9 years ago
run.bat is no longer being used in jboss7.

Please execute either standalone.bat or domain.bat from the command prompt.

9 years ago

saahil gupta wrote:

correct method to know version is

java -jar jboss-cache.jar org.jboss.cache.Version

10 years ago
Please go through this file


10 years ago

Since you have given HelloWorld as url-pattern so you have to access this like.


Hope this helps.
10 years ago