Lock on some data error in mobile first 7.0 - ibm-mobilefirst

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.

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

weblogic jdbc Datasource error BEA-001131 Closed Connection

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

IBM MobileFirst 7.0 Server : No runtime environment deployed in this server

Successfully installed IBM MobileFirst 7.0 Server on following environment, and also, a runtime environment was created step by step and deployed successfully in this server (with GUI of MobileFirst Platform Configurion Tool shows deployed):
CentOS 6.4
MobileFirst Server 7.0
jdk-7u79
MySQL 5.6.24
Apache Tomcat 7.0.62
But I got a No runtime environment deployed in this server from worklightconsole.
I can't find any logs show the error messages. Also,the WL related tables was created automatically in MySQL databases and Worklight related folder generated in Tomcat path, too.
The GUI of MobileFirst Platform Configurion Tool shows deployed:
The cause to the failure may be due to an ssoExpiredLoginContextsCleanupTask error which can cause the server to not load:
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Cannot
execute statement: impossible to write to binary log since
BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine
limited to row-based logging. InnoDB is limited to row-logging when
transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
{prepstmnt 1015602967 INSERT INTO CLUSTER_SYNC (ID, hostVmId,
updateTimestamp, version) VALUES (?, ?, ?, ?) [params=(String)
ssoExpiredLoginContextsCleanupTask, (null) null, (long) 0, (long) 0]}
[code=1665, state=HY000]
To correct it, it is suggested to follow these instructions: http://www-01.ibm.com/support/docview.wss?uid=swg21695572, which are also relevant to MFP Server (and not just Application Center Server).

IBM Worklight 6.0 - Adapter disappears after it is deployed

I am trying to deploy multiple adapters to a Worklight Server in a production environment. When refreshing the console, the deployed adapters are missing.
What is the problem?
Can you please take a look at your Worklight Server log to see if any errors are displayed. I have seen in the past similar behavior when adapter procedures relied on security-tests, but the security tests were not defined properly in the authenticationConfig.xml file on the server side. In the server log I saw the following error:
"Failed to deploy adapter. This may be due to a JavaScript error in your adapter implementation"
If this is the case please update your authenticationConfig.xml on your production server to match the properties you have defined in your development environment. Also do these adapters deploy successfully in your development environment when running locally?
Make sure that the Studio the adapter was created in and the Server the adapter is deployed to are of the exact same build number
This is reason #1 for adapters to get deployed and then immediately get removed.

Trouble with MS Remote Web Deploy II6 6

I am getting the following error when I run web deploy:
>C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3588): Web deployment task failed.
((3/25/2011 4:41:36 PM) An error occurred when the request was processed on the remote computer.)
(3/25/2011 4:41:36 PM) An error occurred when the request was processed on the remote computer. The entry type 'Unknown' was not expected at this time. The serialization stream may be corrupted.
I have successfully done this on other IIS6 machines with no issues so I don't understand what is going on. The Remote Deployment Service is running and just to see if it mattered I started the service under an administrative group. That did not help.
Any help would be great.
I found that the 2008 server with IIS 7 did not have all of the components installed. Even though Web Deployment 2.0 seemed to have been installed by the Web Platform Installer, there were components that were incomplete due to communication issues with the MS servers. In order to resolve this, I had to download the installation files on a separate machine, copy them to the server and then reinstall everything. Very vague error for such an odd issue.