weblogic jdbc Datasource error BEA-001131 Closed Connection - weblogic

I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created
GRIDLINK DataSource with XA DRIVERS.
NAME: test
JNDI: jdbc/testDS
NOTE: I have used SCAN IP for this DataSource configuration.
FAN ENABLED checked.
ONS HOST : scan-ip:6200
Not using "ONS Wallet".
DataSource was created successfully. Testing is done. Now when I start Application for 1st time and Click on any TAB, The Managed Server through some error on its console screen.
<error> <JDBC> <BEA-001131> <Received an exception when closing a cached statement for the pool "test": SQLRecoverableException: Closed Coonection.>
What should I do to resolve this error.

You should discover what's really happening when you enable debug on the weblogic instance in question. Here are the flags you can setup on server start as arguments.
-Dweblogic.debug.DebugJDBCRAC=true
-Dweblogic.debug.DebugJDBCONS=true
-Dweblogic.debug.DebugJDBCUCP=true

Related

IBM Mobilefirst 8 with Websphere application server using oob derby database

Installed IBM Mobilefirst 8 server with WAS 8.5.5.12 using Apache derby database.
Facing below error while checking connection of datasource which are created for mobilefirst server :
java.lang.Exception: DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: org.apache.derby.jdbc.AutoloadedDriver40 incompatible with org.apache.derby.jdbc.InternalDriver
Working fine with mysql database.
While this message would normally indicate that a data source implementation class was specified that does not implement javax.sql.ConnectionPoolDataSource, I don't believe that is the case here based on the classes identified in the exception message. Another possible cause is that multiple copies of the Derby JDBC driver are on the classpath at the same time. It should be noted that WebSphere Application Server traditional ships a copy of the Derby JDBC driver. If you do have two copies, is it possible to switch to only using the one that is shipped with the application server? If that is not possible, you might be able to work around this by selecting the option to isolate your JDBC provider.
For use with MFP 8.0 standalone server with Websphere Application Server 8.5.5.5, use DB2,MySQL or Oracle

SQL2008 to SQL2014 authentication issues

We recently migrated an application database to a new version from winserv2008/sql2008 to winserv2012R2/Sql2014. A service that pulls on this DB needs to be redesigned to accommodate some minor table/view definition changes.
Running the service code through tests under my personal security context works fine. However, installing and starting the service under .\LocalSystem is problematic. Looking at the service logs in event viewer I see that the service tries to connect to the sql server but gets a ERROR[28000] Login failed for user 'Domain\LocalSystemName$'.
The connection is via ODBC, SQL Server Native Client 11.0. Connection string is like:
"dsn=dsn_name;Driver={SQL Server Native Client 11.0};Database=database_name;Integrated Security=False;uid=accountname;pwd=accountpassword;Connect Timeout=15;ApplicationIntent=ReadOnly;"
Also, through the course of troubleshooting I've discovered/confirmed several things.
The sql server credentials I am using are correct, they are also being used to connect from a SQL2016 instance to the SQL14 server as a linked server.
The original service install on a utility server appears to be hitting the new database fine after the ODBC connection settings were switched.
My questions are:
Have you run into anything like this before?
Am I missing something simple in my connection string?
Are there per machine security settings in sql14 that I'm missing?

getting error BEA-001131 when connection is closing in weblogic

I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created
GRIDLINK DataSource with NON-XA DRIVERS.
NAME: test
JNDI: jdbc/testDS
NOTE: I have used SCAN IP for this DataSource configuration.
FAN ENABLED checked.
ONS HOST : scan-ip:6200
Not using "ONS Wallet".
The DataSource created successfully and Application also run but after few minutes or hours there some error accord in Managed Server console when Connection for pool "test" is getting closed it through error <JDBC> <BEA-001131> <Received an exception when closing a cached statement for the pool "test": SQLRecoverableException: Closed Coonection.>
what should I do to solve this problem?

Lock on some data error in mobile first 7.0

I am working with mobile first application and I have set it locally. I left server idle for about 15 minutes and then it is gives me configuration error.
When then I deploy adapter below error get started coming and not getting stop and adapter is not getting deploy.
Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
I tried clean the server, projects, restart studio every thing.
I have changed the workspace three time.
1) Eclipse - Version: Luna Service Release 2 (4.4.2) Build id: 20150219-0600
2) Mobile first : 7.0.0.00-20160307 - 1716
3) OS : Windows 8
Try killing the Java process or restarting the computer. You should then be able to successfully start the server and deploy the adapter.
Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
This is a common error or warning while server is downloading the artifacts(wlapp, adapter etc.) from database.
My actual problem was with database. WebSphere liberty with mobilefirst is giving derby as default database and My server was not working properly with it.
I changed it to MySQL database and it is working fine.

How to deploy the war in remote Weblogic server with eclipse.

I am using weblogic 9 and i tried connecting to a remote server.
But first of all it is asking for Weblogic Home. Since i am connecting to a remote system how can i did not had the weblogic home directory on my system.
Again just to test i also installed the Weblogic on my local system and tried accessing the remote server.
I provided all the necessary values. It detected the running server.
But when i tried deploying a JSF web app it gave an error.
It is as follows:-
Module named 'HelloWorldJSF' failed to deploy. See Error Log view for more detail.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'E:\eclipseWorkspace.metadata.plugins\org.eclipse.core.resources.projects\HelloWorldJSF\beadep\remote_weblogic\HelloWorldJSF.war' to 't3://192.168.218.51:7001'
Exception received from deployment driver. See Error Log view for more detail.
If i try to run the same JSF web app in my local server it is working fine.
can you please let me know how to configure the remote server connection in eclipse without having the Weblogic Home successfully.
Thanks a lot indeed!
Mithun