<BEA-101215><Malformed request “Can not parse URI from http request”. Request parsing failed, Code: -1> Go to WLS console->Environment->Servers->->Protocols->HTTP and uncheck “Enable Keepalives” <BEA-149535><JMX Resiliency Activity Server=xxxxxx :Received a DISCONNECT EVENT We need to specify the listen address on each server.
Continue readingCategory: Uncategorized
WebLogic Clustering Issues
<BEA-000802><ExecuteRequest failedjava.lang.RuntimeException: MaxThreads constraint ‘weblogic.unicast.ForwardingWorkManager’ queue for workManager ‘weblogic.unicast.ForwardingWorkManager’ exceeded maximum capacity of ‘8192’ elements. Max threads constraint count is set to 1. This can be addressed by switching to Unicast. Its fixed in 12.1.3 and there is patch in
Continue readingHow to view messages from Persistent Store
Publish a persistent message on the Queue Set the environment source setDomainEnv.sh Go to the folder where the JMS Store is present 1049088 Oct 22 10:29 GEMSJMSSERVER_105_1000000.DAT Log in to the storeadmin commandline using the Admin utility. java weblogic.store.Admin Type
Continue readingCannot create PoolableConnectionFactory (IO Error: Connection reset)
Issue while connecting to Database from JAVA program. Cannot create PoolableConnectionFactory (IO Error: Connection reset) This is sometimes an intermittent issue but it can be easily reproduced by reducing the randomness on the Server watch -n 1 cat /proc/sys/kernel/random/entropy_avail cat
Continue readingHow to prevent CSRF attack
Sometimes when one application tries to call another application running on another server you get an error window with the message potential CSRF attack. At the same time you will see the following error message in the log files. <BEA-000000>
Continue readingTopic Send and Topic Receive demo on JBoss Application Server
1 )Create a topic Add the following in the deploymessagingdestinations-service.xml file <mbean code="org.jboss.jms.server.destination.TopicService" name="jboss.messaging.destination:service=Topic,name=Topic1" xmbean-dd="xmdesc/Topic-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends> </mbean> 2) Copy the TopicSend and TopicReceive programs to a folder. TopicSend import java.io.*; import java.util.*; import javax.transaction.*; import javax.naming.*; import
Continue readingChanging default session timeout Jboss 7
JBoss Enterprise Application Platform 6 has a default session bean timeout of 30 minutes, which is configured in standalone/configuration/standalone.xml The default HTTP session timeout can’t be modified in EAP 6. To override default value for your own application, follow the
Continue readingSimple Sample Custom Identity Asserter for Weblogic Server 12c
To implement a custom identity asserter for Weblogic Server we need to write a provide that implements AuthenticationProviderV2 and IdentityAsserterV2. We need to write and Mbean definition file and a callback handler. SimpleSampleIdentityAsserterProviderImpl package examples.security.providers.identityassertion.simple; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.login.AppConfigurationEntry;
Continue readingJConsole for monitoring Weblogic Application Server 12c
Performance and high availability of production systems are critical for any business. Hence there is a plethora of monitoring tools available in the market that helps you to monitor your production systems, generate alerts, and trigger emails in down time
Continue readingJSP Precompilation in WebLogic Application Server
JSP Precompilation in WebLogic Application Server: Performance is paramount for any production system. A few seconds saved at the bottle neck is few seconds gained in the over all performance of the system. Compilation of JSP at runtime in a
Continue reading