HTTP 500 - Internal Server Error - ibm-mobilefirst

While deploying the application in Worklight 6.3 we are encountering this error:
"Failed to deploy application 'app_name' to MobileFirst Server: : HTTP
500 - Internal Server Error"
Please can you check and help. Let me know if more information is required.

Try this: Go to Command Prompt > Right Click > Run as administrator.
If you are using Holoviews and jupyter notebook, then instead of using plotting dataframe on server, try plotting series values in the server. I had this same issue and changing to series helped. I dont know the exact reason for this.
Hope this helps :)

Related

"500 status code received on GET method for API" error in Ambari - Hive Service instllation

I have ambari 2.1.2 installed on CentOS 6.4. I have the following two questions related to Hive service installation through ambari.
Question 1:
On the Ambari Dashboard, what is “MySQL Server / Hive”?. When Ambari was installed, wasn’t MySQL server already installed initally?. Will installing the “MySQL server/ Hive” service, overwrite the existing MySQL server?.
Question 2:
When I try to install “MySQL server / Hive” service, I get the following “Get Method for API” error (please see details at the end of this post). I tried to create hive database manually also and selected “Existing MySQL database” option from the config section, but this error never goes away. I am unable to find any logs and therefore stuck.
Following is the first error message that is displayed in a dialog box.
500 status code received on GET method for API:
/api/v1/clusters/SGICluster/hosts?fields=Hosts/rack_info,Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/cpu_count,Hosts/ph_cpu_count,alerts_summary,Hosts/host_status,Hosts/last_heartbeat_time,Hosts/ip,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,host_components/HostRoles/stale_configs,host_components/HostRoles/service_name,host_components/HostRoles/desired_admin_state,metrics/disk,metrics/load/load_one,Hosts/total_mem,Hosts/os_arch,Hosts/os_type,metrics/cpu/cpu_system,metrics/cpu/cpu_user,metrics/memory/mem_total,metrics/memory/mem_free,stack_versions/HostStackVersions,stack_versions/repository_versions/RepositoryVersions/repository_version,stack_versions/repository_versions/RepositoryVersions/id,stack_versions/repository_versions/RepositoryVersions/display_name&minimal_response=true&sortBy=Hosts/host_name.asc
Error message: Server Error
If I close the dialog box, by pressing "ok" green button, then the error message is shorted as shown below
500 status code received on GET method for API:
/api/v1/clusters/SGICluster/requests?to=end&page_size=10&fields=Request
Error message: Server Error
I found that trying to install MySQL will fail because there is already an instance of MySQL server. The solution is to ignore the installation of MySQL server and use the existing mysql server instance, which can be mentioned from the advance configuration section in Ambari.

Connecting to azure through SQL crashes it

I've been attempting to migrate from my own MSSQL to Azure Database services.
I got all the firewall things working and the database running on the azure, but when I try to connect through the local pc it crashed with an unknown exception.
So does visual studio.
Any ideas what could cause this unknown error?
Heres a picture demonstrating the crash and its not a user/password error. Just not.
Maybe it's better if you try to provide the Exception/Error code. You can use:
http://msdn.microsoft.com/en-us/library/ff394106.aspx
I had similar problems and in the end it turns to be the connection I've used - so one option is to restart your LAN/Network.
Update: According to me is config related error, please see these solutions here:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/runtime-error-p6025-pure-virtual-function-call-on/89e10d2f-b949-e011-8dfc-68b599b31bf5
https://superuser.com/questions/628314/runtime-error-r6025-unable-to-see-location-of-program-causing-the-error
About SSL certificate and Browser you're using:
https://bugzilla.mozilla.org/show_bug.cgi?id=133476
http://www.symantec.com/connect/forums/r6025-pure-virtual-function-call-runtime-error
Maybe you've missed something, also what Win are you with?

Could not open "Pentaho User Console" page in browser

I'm working on Java Pos and I'm a newbie. I need (kettle) Pentaho Data Integration in order to integrate the Java POS' database with the database in the ERP. I followed the following manual
"http://www.scribd.com/doc/19583351/Install-Guide-for-Pentaho-Business-Intelligence-BI-Suite-CE"
and I'm stuck at Part 3- Step 1. When I type localhost address in the browser, instead of getting pentaho login page i'm getting a "HTTP Status 404" error.
Do I've to change the tomcat server port or anything else? Please, help me find out the glitch in this program?
Check your server.xml to see what port is listening on. I assume when you started tomcat it started successfully? ( check the log for errors )
Use google.
Finally, if you want to use ETL/Kettle then you need to start off looking at the Spoon tool - this is the UI for building ETL. So look at that first perhaps.
(you dotn even need the BI server if all you're doing is ETL.)

SQL Server agent not getting started

I am trying to start my sql server agent but it is not getting started . Showing the following Error- Object reference not set to an instance of an object.
I had made a scheduling a job.I tried to start the services from sql server configuration
but still it shows an error.I have try to start services from command prompt also but it is showing error-1067
this is a general windows error, not specific to sql server.
Check your windows log to get more info.
You can also try try to start SQL Agent from command with the -v switch to display the output to the diag screen.

Managed server not starting up however Admin console is up

Scenario:
If i try to start the server as a window service it gives an error stating that ceradentials are not correct.However on correcting the credentials in boot.properties when i try to start the server again it gives the same error.Any alternative for starting the server.I gave the same username and password in my startup Script and Boot.properties.
Scenario 2: If i start the server remotely through console then will it come up?
Thanks in advance.
Regards,
Preet
If i try to start the server as a window service it gives an error stating that credentials are not correct.
Then they aren't. Maybe provide more details on what you do exactly and the error message.
If i start the server remotely through console then will it come up?
First, if your credentials are not correct, then it won't change anything. Second, if you don't have a node manager configured, this won't be possible. Provide more details.