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 moreCategory: problem/solution
Internal Server Error while starting the Weblogic Server using RESTful API
When you are trying to start the Managed server using weblogic management REST API , sometimes you get Internal Server Error but the server will be started though. Issue snippet: [email protected]:/apps/oracle-weblogic/domains/mwidomain/bin$ curl -v \ > – user weblogic:weblogic1 \ > -H Content-Type:application/json \ > -H Host:localhost \ >[...]
Read moreTroubleshooting 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 moreStart Weblogic Servers without Entering Password
While starting the AdminServer (or) Managed Servers for the first time after the domain creation you must have been prompted for the username and password, In order to handle it, there is a task we need to do. For Admin Server While starting the AdminServer if you are being prompted for[...]
Read moreWeblogic 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 moreHow 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 moreweblogic.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 moreWeblogic 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