weblogic mysql datasource creation issue

Weblogic - Datasource exception java.lang.ClassCastException: java.math.BigInteger

This post is to discuss about a particular Issue we often face in weblogic 12c and how to resolve the same The Issue While trying to create mysql Datasource in weblogic, the following exception occurs and unable Test Connection (or) Test Configuration fails. java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long<br/>com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1058)<br/>com.mysql.jdbc.SQLError.createSQLException(SQLError.java:972)<br/>com.mysql.jdbc.SQLError.createSQLException(SQLError.java:958)<br/>com.mysql.jdbc.SQLError.createSQLException(SQLError.java:903)<br/>com.mysql.jdbc.ConnectionImpl.buildCollationMapping(ConnectionImpl.java:1025)<br/>com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3480)<br/>com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2444)<br/>com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2214)<br/>com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:797)<br/>com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:31)<br/>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native[...]

Read more

Troubleshooting Load Balancing Issues in Weblogic

This Post is going talk about few real time requirements (or) scenarios and how to handle it. Let's start! Consider the following scnearios Scenario 1 The Weblogic Cluster is having four managed servers and during the load/stress test you are finding that there is improper load balancing between the cluster members.[...]

Read more

Weblogic 12c Nodemanger Native Version Exception

Exception: weblogic.nodemanager.common.configexception: native version is enabled but nodemanager native library could not be loaded Solution: For Weblogic10 & 11g Go to your $WL_HOME/common/nodemanager/ Edit the nodemanger.properties file ( If not available create it) Change the value of NativeVersionEnabled=true to NativeVersionEnabled=false Restart the Nodemanager For Weblogic 12c Go to your Domain/nodemanager directory (i.e: /apps/oracle-weblogic/domains/mwidomain/nodemanager/) Edit[...]

Read more

How to handle the weblogic too many open files exception

How to handle the weblogic Too many open files exceptions in Linux environment. Exception: <Jan 9, 2018 11:06:01 AM IST> <Notice> <Server> <mwinventory.in> <mwiserver2> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1515557161382> <BEA-002614> <Reopening channel "Default" on 192.16.8.34:13004.> ####<Jan 9, 2018 11:06:01 AM IST> <Error> <Server> <mwinventory.in> <mwiserver2> <DynamicListenThread[Default]> <<WLS Kernel>> <>[...]

Read more

weblogic.Deployer Exception - Server Unavailable

While Doing the deployment throught Jenkins/Hudson/Anthill continious integration server tools (or) while directly deploying the app using weblogic.Deployer (or) during the normal console deployment, there are chances you might have come across this exception. Exception: java.rmi.RemoteException: [Deployer:149145]Unable to contact  'mwiServer3'. Deployment is deferred until 'mwiServer3' becomes available. Deployment Logs weblogic@mwinventory01>[...]

Read more

Weblogic 12c Oracle Datasource TNS Exception

Problem While creating a Oracle Data source in weblogic 12c, If you are encountering the below error message upon TestConnection. Though all the SID(Database name) and Host and Port are Correct Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor[...]

Read more