IBM Worklight: failed to upload a package using Worklight Console - jpa.entity.ProjectEntity - mysql

I got the error while uploading a package to Worklight using Worklight Console site.
Object
'com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-'
is not managed by this context
I just saw this error message using Browser Developer Tools to investigate Request and Response Network activity.
PS: There isnĀ“t any JPA class in my project and package.
My environment:
IBM MobileFirst 6.3 (Worklight)
IBM WebSphere Liberty 8.5.5
MySQL
Windows Server 2008 R2
Hybrid App with Android Environment
Full error message:
{"id":147,"type":"UPLOAD_APPLICATION","status":"PENDING","project":{"name":"project1"},"timeCreated":"2015-02-05T19:37:08.000Z","userName":"user1","appServerId":"Liberty","description":{"appVersionsDeployed":[{"applicationName":"App1","environment":"android","version":"1.0"},{"applicationName":"App1","environment":"common","version":"1.0"}],"appVersionsAlreadyDeployed":[],"filename":"App1-all.wlapp"},"errors":[{"date":"2015-02-05T19:37:08.655Z","phase":"VALIDATE","code":"FAILURE","exception":"ArgumentException","details":"Object \"com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-2\" is not managed by this context."}],"warnings":[],"productVersion":"6.3.0.00-20141127-1357"}

The problem is the file size (.wlapp).
I got the error when the file is bigger than 7MB.

Related

SSRS report viewer Integration issue

I tried to integrate SSRS reportviewer in .net web application(v4.8). Solution is working in my local but after deployed in IIS server the controller not loading properly.
It seems like some service not installed properly in the server. i couldn't figure out what is the issue and spend more then 2 days to address this but no improvement.
Please help me to resolve this issue. Error and configuration details mentioned below.
IIS version: 8.5
OS: Windows server 2012 R2
Asp.net : 4.8
Error in browser console: "Uncaught ReferenceError: Sys is not defined"
enter image description here

MobileFirst Platform 6.3 installation issue

I followed the installation Guide for IBM MobileFirst Platform 6.3, but I'm stuck with a problem when launching all MobileFirst webapps (admin, MobileFirst console, analytics, etc...). All I got is a 404 error or A "Page not found" after login to MobileFirst console.
My configuration:
Tomcat 7.0.54
MySQL 5.6
Windows Server 2008 R2
JDK 1.7.0 Update 60
MobileFirst Platform 6.3.0.0 (6.3.0.00-20141127-1357)
Following JMX parameters have been enabled :
Djava.rmi.server.hostname=localhost
Dcom.sun.management.jmxremote.port=8686
Dcom.sun.management.jmxremote.authenticate=false
Dcom.sun.management.jmxremote.ssl=false
Logs:
Exception in thread "Thread-7" java.lang.RuntimeException: Timeout while waiting for the management service to start up.120 secs.
at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:121)
at java.lang.Thread.run(Thread.java:745)
Ok,
I was more successful installing MobileFirst Platform on Linux, but I still don't know why it doesn't work on Windows.

IBM Worklight 6.1 - Worklight deployment fails on SUSE Linux using a remote database

I'm trying to deploy a war file to websphere through worklight using suse linux and a remote database.
When I tried to deploy the war file using a remote database(I'm using oracle to test), I'm getting the following error:
GetSQLQueryResult failed with error code java.sql.SQLRecoverableException: IO Error: Connection reset
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:711)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:558)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:187)
at com.ibm.worklight.install.helper.GetSQLQueryResult.main(GetSQLQueryResult.java:68)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
I can access the remote machine database from the machine where worklight is installed.
Also, if I use the same WAR file on a local database on SUSE Linux, or use a remote database on another OS(Windows for example), the app is deployed correctly.
Something is not right with the question description...
You do not deploy .war files to Worklight
Worklight, in a remote server, is comprised of a Java EE .jar file, deployed to the application server (WAS/Liberty profile, Tomcat)
A .war file, in Worklight, is a Java web app containing server-related artifacts required for running your application (generated by the Studio/CLI tool); you deploy this .war file to the application server where Worklight Server is deployed to
That said,
A connection reset means there is a general network issue and is not related to Worklight itself.
It sounds like a network issue with the specific machine running Suse Linux.
- Check firewall settings, timeout values, blocked ports...

How to use primefaces on cloudbees glassfish server

We are developing an Java EE webapp on a glassfish 4 server running in the cloubeees cloud. We want to use Primefaces 3.5 . Our app runs perfectly on a local glassfish server after we copied the commons-fileupload.jar into the lib domain/lib folder. When we push the app into the cloud it isnt deployed the log says:
Cause: Class 'org.primefaces.component.fileupload.FileUploadRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItem
So i think the server misses the fileupload.jar, but we dont have acces to the server administration console or the folder structure. Does anyone here used Primefaces in the cloudbees cloud or knows a other way to fix the problem?
best regards
Peter!

Reporting Services stop working as soon as .Net sp 2.0 is installed

I use reporting services integrated with SharePoint. All reports work fine. The thing is that as soon as I installed the Microsoft .NET Framework 2.0 Service Pack 2 (NetFx20SP2_x64.exe), I get an error page when accessing the reports saying the following:
An unexpected error occured while connecting to the report server. Verify that the report server is configured for SharePoint integrated mode. --> The request failed with HTTP status 401: Unauthorized.
Any ideas why installing the sp2 for .Net 2.0 is causing this error?
Edit:
I also get the following line in MOSS logs
AppDomainUnloadListener.RegisterSelf() entered lock(this=15368010).
please see the below links:
http://msdn.microsoft.com/en-us/library/ee384252%28SQL.100%29.aspx
http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/7e77fe54-74ee-437c-a985-03dd04e9f35c/