-
Recent Posts
Recent Comments
Archives
Categories
Meta
Category Archives: Uncategorized
JBOSS APR Error
Problem: Application reports APR exception as below javax.servlet.ServletException: Not in a valid Comet configuration (use an APR or NIO connector) at org.granite.gravity.jbossweb.AbstractHttpEventServlet.service(AbstractHttpEventServlet.java:217) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.jadsda Solution: Install JBOSS native libraries and … Continue reading
Posted in Uncategorized
Leave a comment
Port forwarding
IP tables port forwarding can be used to direct requests from one port to another. It is extremely helpful in situation where you need to run your application as non-root but still need to serve the app on port 80. … Continue reading
Posted in Uncategorized
Leave a comment
Splunk Errors and Solutions
ProblemSplunk reports error “Your maximum disk usage quota has been reached. The search was not run” when doing searches. Solution Login to Splunk. Click on Jobs link on top right corner. Delete the jobs and run search again.
Posted in Uncategorized
Leave a comment
Tealeaf Report to track Apache and JBOSS servers
You can build a Tealeaf report template to identify which web and app servers are hit by the users. This can save your troubleshooting time and get to the root cause quickly. I) Setup an Event1) Launch RealiTeaPro viewer.2) Navigate … Continue reading
Posted in Uncategorized
Leave a comment
JBOSS LDAP Password Encryption
Please make sure your JBOSS LDAP connection works fine with clear password before proceeding with encryption. 1) Create a mbean file named encrypt-service.xml and place it in the deploy folder. encrypt-service.xml —————————————————————————— <mbean code=”org.jboss.security.plugins.JaasSecurityDomain” name=”jboss.security:service=JaasSecurityDomain,domain=jk-ldap-security”> <constructor> <arg type=”java.lang.String” value=”jk-ldap-security”></arg> </constructor> … Continue reading
Posted in Uncategorized
Leave a comment
Splunk Dashboard
Splunk search dashboard summary displays sources, sourcetypes and hosts. These hosts will list your actual server name. If you would like to have user friendly name for your hosts, follow these steps.1) Navigate to http://{splunk_agent_host}:8000 and login to Splunk agent … Continue reading
Posted in Uncategorized
Leave a comment
JBOSS LDAP Integration
JBOSS Active Directory LDAP Integration 1) Edit the required application policy in $JBOSS_SERVER_HOME/conf/login-config.xml For example, if you want to secure the web-console application of jboss, edit the following application policy. <application-policy name=”ldap-encrypted”> <authentication> <login-module code=”org.jboss.security.auth.spi.LdapExtLoginModule” flag=”required” > <module-option name=”java.naming.factory.initial”>com.sun.jndi.ldap.LdapCtxFactory</module-option> <module-option … Continue reading
Posted in Uncategorized
Leave a comment
F5 BigIP LTM commands
1) SSH into LTM, update /config/bigip.conf with desired changes.Load the file:bigpipe loadbigpipe save
Posted in Uncategorized
Leave a comment
Splunk forwarding and receving
1) Install Splunk server2) Install Splunk on host machines you want to monitor. Please have splunk forwarder license on the host.3) Setup Splunk server as a receiver and the splunk on other target systems as forwarder 4) Setup ReceiverNavigate to … Continue reading
Posted in Uncategorized
Leave a comment