No mxbeans found - MobileFirst Console - websphere

I have installed MobileFirst Console at WebSphere Application Server 8.5.5.0.
Next I've installed my MobileFirst application. Unfortunately console shows message:
No runtime enviroment deployed in this server.
I found these errors in logs:
000000ab WASRuntimeMBe I Bean '*' does not exist.
000000ab RuntimeServic I No mxbeans found
SEVERE: Received status 500 for GET http://localhost:8080/worklightadmin/management-apis/1.0/loginAudit
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/worklightadmin/management-apis/1.0/loginAudit
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor>Impl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1676)
************ Start Display Current Environment ************
WebSphere Platform 8.5.5.0 [BASE 8.5.5.0 gm1319.01] running with process name >localhostNode01Cell\localhostNode01\server1 and process id 19180
Host Operating System is Linux, version 3.10.0-123.el7.x86_64
Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM
was.install.root = /opt/IBM/WebSphere/AppServer
user.install.root = /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
Java Home = /opt/IBM/WebSphere/AppServer/java/jre

You did not supply enough information nor replied back to any of the additional questions asked.
Therefore I will assume you are using MobileFirst Server 7.0, which is not recommended to deploy on WebSphere 8.5.5.0; you should first upgrade to WebSphere 8.5.5.4 or 8.5.5.5 and re-deploy again. If failure occurs still, be more responsive and provide the requested information.

Related

Weblogic server could not start and could not configure domain

I just installed a fresh copy of weblogic server and OSB.
After the successful installation of weblogic 10.3.6 on the quick start screen I tried to configure domain. however the screen doesn't processed any further giving the error in the screenshot below.
Also, in eclipse, when i try to add the server, It prompts me to create a domain, but that doesn't work either.
The error am getting in the console is:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=128m; support was removed in 8.0
Unrecognized VM option 'UseSpinning'
It looks like Java 8 is being picked up elsewhere on your system.
Check to see if you have Java 8 installed and look at you path environment variable.
That warning you are getting is from Java 8. 10.3.6 would use Java 5 or 6...

Websphere Liberty IBM Java SDK jconsole throwing error with com.ibm.tools.attach.AttachNotSupportedException: acknowledgement timeout

While trying to install the Mobilefirst server 7.1 with Webshpere Liberty 8.5.5.5 and IBM HTTP server 8.5.5, and using the IBM Java SDK 1.7 for Liberty I get the following exception when trying to access the Jconsole form the java installed inside the Liberty Profile --> Liberty --> Java --> Java_version --> bin --> ./jconsole.
com.ibm.tools.attach.AttachNotSupportedException: acknowledgement timeout from **90 on port **908.
The below is an edit of the answer that was written inside the question instead of as an answer
Oracle JDK should be used instead.
Start Jconsole and generate plugin for Mobilefirst server for the IBM HTTP Server.
install the rpm of Oracle JDK and then go the installation directory and try to start the jconsole. If it's starting properly it means you can use this jconsole to generate plugin.
Now next step is to get the MFP process in the jconsole to generate the plugin. go to the Liberty server java installation folder where you will find the java.env file. this file contains the Default JDK installation path.
Change the path to the Oracle JDK installation path and restart the server.
Restart the Oracle JDK jconsole and then you can see the process in jconsole.
then you can generate the plugin. the plugin can be found out in server folder.
Later you can use this plugin-cfg.xml file to configure the IBM HTTP Server to Mobilefirst Server.

SonarQube service was launched but failed to start?

I am currently trying to install SonarQube. When following the instructions on their page, I came to the instruction to run the InstallNTService.bat and StartNTService.bat.
Similar to this (stackoverflow) post, it says
wrapper | Starting the SonarQube service...
wrapper | The SonarQube service was launched, but failed to start.
The error log file says:
The SonarQube service was launched, but failed to start.
Starting the SonarQube service...
--> Wrapper Started as Service
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
The file is located on the path at the following location but
could not be loaded:
C:\tools\sonarqube-5.2\bin\windows-x86-64\.\lib\wrapper.dll
Please verify that the file is readable by the current user
and that the file has not been corrupted in any way.
One common cause of this problem is running a 32-bit version
of the Wrapper with a 64-bit version of Java, or vica versa.
This is a 32-bit JVM.
Reported cause:
C:\tools\sonarqube-5.2\bin\windows-x86-64\lib\wrapper.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
System signals will not be handled correctly.
WrapperSimpleApp: Encountered an error running main: java.lang.IllegalStateException: Temp directory is not writable: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\
java.lang.IllegalStateException: Temp directory is not writable: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\
at org.sonar.process.MinimumViableSystem.checkWritableDir(MinimumViableSystem.java:60)
at org.sonar.process.MinimumViableSystem.checkWritableTempDir(MinimumViableSystem.java:52)
at org.sonar.process.MinimumViableSystem.check(MinimumViableSystem.java:45)
at org.sonar.application.App.main(App.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Das System kann den angegebenen Pfad nicht finden
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(Unknown Source)
at org.sonar.process.MinimumViableSystem.checkWritableDir(MinimumViableSystem.java:57)
... 9 more
<-- Wrapper Stopped
The SonarQube service was launched, but failed to start.
And I don't know why it fails.
I ran the application as admin
I have the 64 bit Windows and Java installed
the wrapper.dll is right in its place
Thank you in advance!
EDIT:
This page descibes a solution to the problem that I can't use as the dropdown menu on right button click on the service is not available.
Goto C:\Sonar\conf\wrapper.conf open via notepad++ change the wrapper.java.command=%JAVA_HOME%/java
to your java installation path
I find the following in the log, so I followed the instruction found here to change an account have local admin right, and it works: http://docs.sonarqube.org/display/SONAR/Running+SonarQube+as+a+Service+on+Windows
WrapperSimpleApp: Encountered an error running main: java.lang.IllegalStateException: Temp directory is not writable: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\
You have to add service account (which is configured as per this link) to local administrator group of the machine running sonar qube service
Open "\conf\wrapper.conf:" file
replace
wrapper.java.command=java
with
wrapper.java.command=C:\Program Files\Java\jdk-11.0.6\bin\java
I encountered the same error. My solution was to verify that the java x64 JDK was installed - and problem went away.
I was facing the same issue and it got resolved after following all the above points ie
a. Making sure the service is running on admin login
b. JDK is installed using an admin login
My organization installed 32-bit Java which added C:\ProgramData\Oracle\Java\javapath as the default Java path. I defined JAVA_HOME and added %JAVA_HOME%\bin; to the start of my classpath for SonarQube to use the 64-bit version of Java that I installed.
https://douglascayers.com/2015/05/30/how-to-set-custom-java-path-after-installing-jdk-8/

Weblogic domain is not getting created because of jrockit error

I am creating a Basic Weblogic server domain(11g, version 10.3.5.0 ). And in the JDK selection Window, in Available JDKs , ' JRockit SDK 1.7.0_55 # C:\Program Files\Java\jdk1.7.0_55' is selected..
The domain gets created, now i check the 'Start Admin Server' checkbox and click 'Done' . The process of starting server runs in the cmd, but it halts with the following error::
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
My Jdk(64-bit) is installed correctly according to me, JAVA_HOME and those things are correct. jrockit comes bundled with JDK , so why this error, any leads will be very helpful..
Thanks :)
I believe that WebLogic 10.3.5 only supports Suns Java JDK 1.6.0_24+ OR JRockit R28.1.3-1.6.0_24+.
It appears as though Weblogic 10.3.5 is not compatible with Java 7, try re-installing/configurring with a Java 6 version installed.
Source: Oracle Installation Docs

Export feature not working when I installed Sakai as windows service

I am unable to resolve export issue in Sakai LMS when I installed as windows service.
This functionality is working fine, when i use startup.bat from command line as I have included "-dhttp.proxyhost" and "-dhttp.proxyport".
However, it's not working though I included above options in tomcat6w.exe (in java tab). Have also verified in Registry key and it's correctly appear.
Any help on this would be more helpful.
Here are the configurations details:
Sakai 2.9.1
Apache tomcat6
Windows server 2008 (64 bit)
Have received an error message "org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper - Connection timed out: connect
java.net.ConnectException: Connection timed out: connect"
Thanks,
Sakthi. S
This is not really related to Sakai but rather is related to tomcat6. You can find the answer here: Tomcat 6.0.35 Windows 32b Service useSystemProxies

Resources