MFP 8.0 The runtime environment management bean is not registered - ibm-mobilefirst

We are having MFP8.0 Farm configuration setup, there are 2 nodes running
Now we are facing the issue in node1, it is giving error in message.log
[10/31/17 6:00:38:504 CDT] 0000010a
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:38:515 CDT] 0000010a
com.ibm.mfp.admin.services.v2.RuntimeService I No
mxbeans found [10/31/17 6:00:39:633 CDT] 0000011c
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:39:935 CDT] 0000011c
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:39:944 CDT] 0000011c
com.ibm.mfp.admin.services.v2.DiagnosticService W
Exception when accessing Analytics JNDI properties for the runtime mfp
[10/31/17 6:00:43:553 CDT] 0000011f
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:43:568 CDT] 0000011f
com.ibm.mfp.admin.services.v2.RuntimeService I No
mxbeans found [10/31/17 6:00:44:645 CDT] 0000012e
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:44:686 CDT] 0000012e
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:44:702 CDT] 0000012e
com.ibm.mfp.admin.services.v2.DiagnosticService W
Exception when accessing Analytics JNDI properties for the runtime mfp
[10/31/17 6:00:48:605 CDT] 000000fe
com.worklight.common.util.jmx.MBeanConnectorFactory I
Detected Liberty farm runtime [10/31/17 6:00:48:620 CDT] 000000fe
com.ibm.mfp.admin.services.v2.RuntimeService I No
mxbeans found
and when we we atop the node2 then this node starts working fine.
please let me know the solution

Related

IBM MobileFirst Platform ClassPath error during installation

Running MFPF7.0.0.0-IF201506081356 on WebSphere Liberty 8.5.5.5 (that's 8.5.5 with fp 5 applied), IBM Java 7.0.8.10.
After deploying the first runtime to server the following error occurs:
6/10/15 15:25:05:600 CEST] 0000002c com.ibm.ws.webcontainer.webapp E SRVE0293E: [Servlet Error]-[Failed to load listener: com.worklight.server.bundle.project.JeeProjectActivator]: java.lang.NoClassDefFoundError: com.worklight.server.bundle.api.WorklightBundles
at com.ibm.ws.classloading.internal.AppClassLoader.definePackageAndClass(AppClassLoader.java:308)
at com.ibm.ws.classloading.internal.AppClassLoader.findClass(AppClassLoader.java:252)
at com.ibm.ws.classloading.internal.ParentLastClassLoader.findOrDelegateLoadClass(ParentLastClassLoader.java:81)
at com.ibm.ws.classloading.internal.AppClassLoader.loadClass(AppClassLoader.java:373)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:764)
at java.lang.ClassLoader.loadClass(ClassLoader.java:749)
at com.ibm.ws.classloading.internal.UnifiedClassLoader.loadClass0(UnifiedClassLoader.java:106)
at com.ibm.ws.classloading.internal.UnifiedClassLoader$Delegation.loadClass(UnifiedClassLoader.java:77)
at com.ibm.ws.classloading.internal.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:101)
at com.ibm.ws.classloading.internal.ThreadContextClassLoader.loadClass(ThreadContextClassLoader.java:108)
at java.lang.ClassLoader.loadClass(ClassLoader.java:726)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:283)
at com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:116)`enter code here`
Any suggestions?
Generally it means that the worklight-jee-library.jar shared library referenced in the server.xml (in each MFP runtime application) is not found. Check the path of this library in the server.xml and that the jar file is present in this path.

Unable to deploy AppCenter2.ipa to Mobile First Application Center

Following https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/moving-production/distributing-mobile-applications-application-center/
When we build the IBMAppCenter project in MobileFirst Studio (v7) then Xcode (6), uploading the resulting AppCenter2.ipa file results in a simple red "X" and the message "File AppCenter2.ipa not uploaded".
The MobileFirst Server error log has no errors or any messages at all when this occurs, so we can find no details on what the failure might have been.
Note that we had to build the ipa file with xcodebuild as it seems Xcode 6 no longer allows us to do so from the IDE.
Also note that in Studio, instead of "Run As > Build and Deploy", which wasn't in the menu exactly, our developer eventually chose "Run As > Xcode", which seemed to be the only option that produced a non-trivial result. (I'll update with exact wording when I'm able to clarify with him. I don't have Studio installed myself.)
[5/8/15 13:16:12:425 CDT] 000000e3 WebContainer E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
[5/8/15 13:16:13:200 CDT] 000000b0 TaskThread 3 com.worklight.core.tasks.TaskThread trigger Triggered task ssoExpiredLoginContextsCleanupTask
[5/8/15 13:16:13:204 CDT] 000000df RssBrokerUtil 3 com.worklight.core.util.RssBrokerUtils beginTransaction Transaction begin : -1657954268 (new:true; completed:false; rollbackOnly:false)REQUIRED
[5/8/15 13:16:13:211 CDT] 000000df RssBrokerUtil 3 com.worklight.core.util.RssBrokerUtils commitTransaction Transaction commit: -1657954268 (new:true; completed:false; rollbackOnly:false)
[5/8/15 13:16:15:519 CDT] 000000e3 PureMeapBaseU 1 JNDI Access to ibm.appcenter.bluemix.brokenuri => null
[5/8/15 13:16:15:522 CDT] 000000e3 PureMeapBaseU 2 Found property ibm.appcenter.services.endpoint=http://-ourserver-/applicationcenter in webapp context.
[5/8/15 13:16:15:522 CDT] 000000e3 PureMeapBaseU 1 JNDI Access to ibm.appcenter.services.endpoint => http://-ourserver-/applicationcenter
[5/8/15 13:16:15:975 CDT] 000000b0 TaskThread 3 com.worklight.core.tasks.TaskThread trigger Triggered task com.worklight.core.clustering.ClusterSynchronizationTask#4fba3376
[5/8/15 13:16:16:017 CDT] 000000b3 RssBrokerUtil 3 com.worklight.core.util.RssBrokerUtils beginTransaction Transaction begin : 499307077 (new:true; completed:false; rollbackOnly:false)REQUIRED
[5/8/15 13:16:16:046 CDT] 000000b3 ClusterSynchr 3 com.worklight.core.clustering.ClusterSynchronizationTask getStackTrace mark singleton as hosted ssoExpiredLoginContextsCleanupTask
[5/8/15 13:16:16:047 CDT] 000000b3 ClusterSynchr 3 com.worklight.core.clustering.ClusterSynchronizationTask getStackTrace mark singleton as hosted PlatformUsageProcessingTask
[5/8/15 13:16:16:047 CDT] 000000b3 ClusterSynchr 3 com.worklight.core.clustering.ClusterSynchronizationTask getStackTrace mark singleton as hosted notificationCleanupTask
[5/8/15 13:16:16:048 CDT] 000000b3 RssBrokerUtil 3 com.worklight.core.util.RssBrokerUtils commitTransaction Transaction commit: 499307077 (new:true; completed:false; rollbackOnly:false)
(Some of that, like the SRVE0255E, is happening repeatedly independent of this application upload attempt.)
Update 2: Also couldn't delete another application that was already installed, nor overwrite it with a new one. Same UI error with nothing logged. Uninstalled Application Center enterprise apps and reinstalled them, and now can't install any apps. Again, still with no errors logged at all.
As suggested by Georg Sander in the comments:
Please contact IBM support to submit the full log file! If the trace
specification is set as above and you see absolutely nothing in the
log file, then some firewall blocks the access to App Center and it is
not reached at all. If it is reached, then for sure you have messages
in the log file about App Center.
It seems that this question is going nowhere and will require deeper investigation. Please open a PMR (support ticket) so that the development team will be able to help you, either by receiving your logs or by having a remote session with you to debug this issue.
There appears to be no feasible workaround to provide.

Multiple Worklight servers on single host configuration

I have setup 2 worklight liberty servers ('worklight' and 'customer') - I have changed the port from 9080 to 9081 in server.xml for the customer server and installed runtimes in both environments.
Each server has unique schema when created as well as unique context paths
My issue is that I can see both my runtimes working in the worklight server console, but I get 'No runtime can be found.' error message when I access the customer console
What else needs to be configured in order for this to work?
Using Worklight 6.2 (fixpack 3) Liberty Server
Windows Server
Server configuration tool used to create everything
messages.log:
[11/25/14 15:49:46:087 GMT] 0000001d com.worklight.server.bundle.project.JeeProjectActivator I FWLST0002I: ========= Project /customerproject started. The project WAR file version is 6.2.0.00.20140613-0730,running on server version 6.2.0.00.20140613-0730. [project customerproject]
[11/25/14 15:49:46:087 GMT] 0000001d SystemOut O ================ End init of customerproject 18517
[11/25/14 15:49:46:181 GMT] 0000001d org.apache.wink.server.internal.servlet.RestServlet I The system is using the com.worklight.oauth.AuthorizationServerApplication JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
[11/25/14 15:49:46:321 GMT] 0000001a com.worklight.common.util.jmx.LibertyJMXRegister I FWLSE2008I: MBean registration succeeded for: com.worklight.common.server.jmx.api:type=ProjectManagement_customer,qualifier=advancedproject2 [project advancedproject2]
[11/25/14 15:49:46:337 GMT] 0000001a SystemOut O Cleanup dir is C:\IBMX64\WebSphere\Liberty\usr\servers\customer\workarea\org.eclipse.osgi\bundles\79\data\temp\default_node\SMF_WebContainer\advancedproject2\advancedproject\widget-resources
[11/25/14 15:49:46:352 GMT] 0000001d apache.wink.server.internal.application.ApplicationProcessor I The following JAX-RS application has been processed: com.worklight.oauth.AuthorizationServerApplication
[11/25/14 15:49:46:368 GMT] 0000001d org.apache.wink.server.internal.log.Resources I The server has registered the JAX-RS resource class com.worklight.oauth.TokenValidationEndpoint with #Path(/validation).
[11/25/14 15:49:46:368 GMT] 0000001d org.apache.wink.server.internal.log.Resources I The server has registered the JAX-RS resource class com.worklight.oauth.TokenEndpoint with #Path(/token).
[11/25/14 15:49:46:368 GMT] 0000001d org.apache.wink.server.internal.log.Providers I There are no custom JAX-RS providers defined in the application.
[11/25/14 15:49:46:383 GMT] 0000001a com.worklight.common.util.jmx.RuntimeMBeanHandler W Impossible to decode the password
[11/25/14 15:49:46:415 GMT] 0000001a com.worklight.server.bundle.project.JeeProjectActivator I FWLST0002I: ========= Project /advancedproject2 started. The project WAR file version is 6.2.0.00.20140613-0730,running on server version 6.2.0.00.20140613-0730. [project advancedproject2]
[11/25/14 15:49:46:415 GMT] 0000001a SystemOut O ================ End init of advancedproject2 16599
[11/25/14 15:49:46:555 GMT] 0000001a org.apache.wink.server.internal.servlet.RestServlet I The system is using the com.worklight.oauth.AuthorizationServerApplication JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
[11/25/14 15:49:46:805 GMT] 0000001d com.ibm.ws.webcontainer.servlet I SRVE0242I: [customerproject] [/customerproject] [AuthorizationServer]: Initialization successful.
[11/25/14 15:49:46:805 GMT] 0000001d com.ibm.ws.app.manager.AppMessageHelper A CWWKZ0001I: Application customerproject started in 26.351 seconds.
[11/25/14 15:49:46:898 GMT] 0000001a apache.wink.server.internal.application.ApplicationProcessor I The following JAX-RS application has been processed: com.worklight.oauth.AuthorizationServerApplication
[11/25/14 15:49:46:976 GMT] 0000001a org.apache.wink.server.internal.log.Resources I The server has registered the JAX-RS resource class com.worklight.oauth.TokenValidationEndpoint with #Path(/validation).
[11/25/14 15:49:46:976 GMT] 0000001a org.apache.wink.server.internal.log.Resources I The server has registered the JAX-RS resource class com.worklight.oauth.TokenEndpoint with #Path(/token).
[11/25/14 15:49:46:976 GMT] 0000001a org.apache.wink.server.internal.log.Providers I There are no custom JAX-RS providers defined in the application.
[11/25/14 15:49:47:319 GMT] 0000001a com.ibm.ws.webcontainer.servlet I SRVE0242I: [advancedproject2] [/advancedproject2] [AuthorizationServer]: Initialization successful.
[11/25/14 15:49:47:335 GMT] 0000001a com.ibm.ws.app.manager.AppMessageHelper A CWWKZ0001I: Application advancedproject2 started in 26.881 seconds.
[11/25/14 15:49:47:382 GMT] 00000016 com.ibm.ws.kernel.feature.internal.FeatureManager I CWWKF0008I: Feature update completed in 31.270 seconds.
[11/25/14 15:49:47:382 GMT] 00000016 com.ibm.ws.kernel.feature.internal.FeatureManager A CWWKF0011I: The server customer is ready to run a smarter planet.
[11/25/14 15:49:57:159 GMT] 0000001d com.ibm.worklight.dataaccess.datastore.DataStoreUtil I getWorklightDataSourceProperties Read properties file. allProperties: {ibm.worklight.admin.db.jndi.name=java:comp/env/jdbc/WorklightAdminDS}
[11/25/14 15:49:57:159 GMT] 0000001d com.ibm.worklight.dataaccess.datastore.DataStoreUtil I dereferenceProperties Handling propName=ibm.worklight.admin.db.jndi.name propValue=java:comp/env/jdbc/WorklightAdminDS
[11/25/14 15:49:57:159 GMT] 0000001d com.ibm.worklight.dataaccess.datastore.DataStoreUtil I dereferenceProperties Handling propName=ibm.worklight.admin.db.openjpa.Log propValue=
[11/25/14 15:49:57:159 GMT] 0000001d com.ibm.worklight.dataaccess.datastore.DataStoreUtil I dereferenceProperties Handling propName=ibm.worklight.admin.db.type propValue=
[11/25/14 15:49:57:159 GMT] 0000001d com.ibm.worklight.dataaccess.datastore.DataStore I constructor Creating EntityManagerFactory for persistence-unit=WorklightManagementPU-db2 with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource#5aaacacc}
[11/25/14 15:49:57:299 GMT] 0000001d SystemErr R 31 WorklightManagementPU-db2 INFO [Default Executor-thread-4] openjpa.Runtime - Starting OpenJPA 1.2.2
[11/25/14 15:49:57:315 GMT] 0000001d SystemErr R 47 WorklightManagementPU-db2 INFO [Default Executor-thread-4] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/NT64 SQL10010 ,IBM Data Server Driver for JDBC and SQLJ 4.13.127).
[11/25/14 15:49:57:455 GMT] 0000001d com.worklight.common.util.jmx.RuntimeMBeanHandler W Impossible to decode the password
[11/25/14 15:49:57:486 GMT] 0000001d com.ibm.worklight.admin.services.RuntimeService E Failed to obtain JMX connection to access an MBean.
There might be a JMX configuration error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[11/25/14 15:49:57:720 GMT] 0000001d com.ibm.worklight.admin.services.RuntimeService W No running mxbeans found
[11/25/14 15:51:47:024 GMT] 00000032 SystemErr R Exception in thread "Thread-23"
[11/25/14 15:51:47:024 GMT] 00000032 SystemErr R java.lang.RuntimeException: Timeout while waiting for the management service to start up
[11/25/14 15:51:47:024 GMT] 00000032 SystemErr R at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:133)
[11/25/14 15:51:47:024 GMT] 00000032 SystemErr R at java.lang.Thread.run(Thread.java:745)
[11/25/14 15:51:47:227 GMT] 00000034 SystemErr R Exception in thread "Thread-25"
[11/25/14 15:51:47:227 GMT] 00000034 SystemErr R java.lang.RuntimeException: Timeout while waiting for the management service to start up
[11/25/14 15:51:47:227 GMT] 00000034 SystemErr R at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:133)
[11/25/14 15:51:47:227 GMT] 00000034 SystemErr R at java.lang.Thread.run(Thread.java:745)
Console.log:
[AUDIT ] CWWKZ0001I: Application customerproject started in 26.351 seconds.
[AUDIT ] CWWKZ0001I: Application advancedproject2 started in 26.881 seconds.
[AUDIT ] CWWKF0011I: The server customer is ready to run a smarter planet.
[err] 31 WorklightManagementPU-db2 INFO [Default Executor-thread-4] openjpa.Runtime - Starting OpenJPA 1.2.2
[err] 47 WorklightManagementPU-db2 INFO [Default Executor-thread-4] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/NT64 SQL10010 ,IBM Data Server Driver for JDBC and SQLJ 4.13.127).
[WARNING ] Impossible to decode the password
[ERROR ] Failed to obtain JMX connection to access an MBean.
There might be a JMX configuration error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING ] No running mxbeans found
[err] Exception in thread "Thread-23"
[err] java.lang.RuntimeException: Timeout while waiting for the management service to start up
[err] at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:133)
[err] at java.lang.Thread.run(Thread.java:745)
[err] Exception in thread "Thread-25"
[err] java.lang.RuntimeException: Timeout while waiting for the management service to start up
[err] at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:133)
[err] at java.lang.Thread.run(Thread.java:745)
admin server setup for server 'customer':
<!-- Declare the Worklight Administration Service application. -->
<application id="customerwladmin" name="customerwladmin" location="worklightadmin.war" type="war">
<application-bnd>
<security-role name="worklightadmin">
<user name="demo"/>
</security-role>
<security-role name="worklightdeployer">
</security-role>
<security-role name="worklightmonitor">
</security-role>
<security-role name="worklightoperator">
</security-role>
</application-bnd>
<classloader delegation="parentLast">
<commonLibrary>
<fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.4.jar"/>
</commonLibrary>
</classloader>
</application>
admin service setup for server 'worklight'
<!-- Declare the Worklight Administration Service application. -->
<application id="wladmin" name="wladmin" location="worklightadmin.war" type="war">
<application-bnd>
<security-role name="worklightadmin">
<user name="demo"/>
</security-role>
<security-role name="worklightdeployer">
</security-role>
<security-role name="worklightmonitor">
</security-role>
<security-role name="worklightoperator">
</security-role>
</application-bnd>
<classloader delegation="parentLast">
<commonLibrary>
<fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.4.jar"/>
</commonLibrary>
</classloader>
</application>
There is the following exception :
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
meaning that there is a SSL configuration issue with the certificate.
Might be a duplicate of the following question: No MBean found for worklight project
There, the problem was incorrect setup in the server.xml; you can follow the instructions to verify you are not experiencing the same issue.
With the logs (requested in the comments section), it is hard to pin-point the issue, so here are more questions dealing with the same error:
No Runtime can be found in Worklight Console
No runtime on my Worklight 6.2 Console
No runtime on my Worklight 6.2 Console after installing analytics
You can also read the following support document: http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_verifying_wl_admin_install.html

Bad version error in jvm , offset 6 , with Apache Cxf Soap Web service

Can anybody please help me with this issue and provide me the solution because I can't even figure out what kind of error it was with Apache Cxf or webservice call or java version number or web sphere 8.5.5?
I'm using Apache cxf 2.7.8 version to publish a Soap web service with web sphere 8.5.5 version and java 7.
Caused by: java.lang.UnsupportedClassVersionError: **JVMCFRE003 bad major version;** class=com/fd/foundation/frameworks/mybaitis/helloWorld/resource/MessageServiceImpl, **offset=6**
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:275)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:540)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
at java.net.URLClassLoader.access$300(URLClassLoader.java:79)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038)
at java.security.AccessController.doPrivileged(AccessController.java:362)
at java.net.URLClassLoader.findClass(URLClassLoader.java:429)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:703)
at java.lang.ClassLoader.loadClass(ClassLoader.java:682)
at java.lang.ClassLoader.loadClass(ClassLoader.java:665)
at com.ibm.jtc.jax.tools.ws.wscompile.WsgenOptions.getClass(WsgenOptions.java:299)
when I check my logs in the websphere 8.5.5 after installing the application I got the below error ?
[7/1/14 0:23:47:890 CDT] 00000043 SystemErr R java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files (x86)/IBM/WebSphere/AppServer/lib/pc-appext.jar
[7/1/14 0:23:47:905 CDT] 00000043 SystemErr R at java.net.URI$Parser.fail(URI.java:2821)
[7/1/14 0:23:47:905 CDT] 00000043 SystemErr R at java.net.URI$Parser.checkChars(URI.java:2994)
[7/1/14 0:23:47:905 CDT] 00000043 SystemErr R at java.net.URI$Parser.parseHierarchical(URI.java:3078)
[7/1/14 0:23:47:906 CDT] 00000043 SystemErr R at java.net.URI$Parser.parse(URI.java:3026)
[7/1/14 0:23:47:906 CDT] 00000043 SystemErr R at java.net.URI.<init>(URI.java:588)
[7/1/14 0:23:47:906 CDT] 00000043 SystemErr R at java.net.URL.toURI(URL.java:930)
[7/1/14 0:23:47:906 CDT] 00000043 SystemErr R at com.ibm.wkplc.extensionregistry.RegistryLoader.canonicalizeFileURL(RegistryLoader.java:671
)
Below is my web service implementation class looks like ;
#WebService(endpointInterface = "com.fd.foundation.frameworks.mybaitis.helloWorld.resource.MessageServices",serviceName ="messageService")
public class MessageServiceImpl implements MessageServices {
public MessageVO getMessage(Integer id) {
MessageService message = new MessageService();
MessageVO mvo = message.getUserDetails1(101);
return mvo;
}
This my service interface looks like :
#WebService
public interface MessageServices{
#WebMethod
public MessageVO getMessage(Integer id);
}
Look like you are running on Java 6 instead of 7 and code is compiled with Java7
Caused by: java.lang.UnsupportedClassVersionError
Check in the SystemOut.log, if server correctly starts with Java v7:
************ Start Display Current Environment ************
WebSphere [IBMJAVA7 7.0.5.0 cf011340.01]Platform 8.5.5.1 [BASE 8.5.5.1 cf011341.03] running with process name node02Cell\node02\server1 and process id 2920
Host Operating System is Windows Server 2003, version 5.2
Java version = 1.7.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM
was.install.root = C:\IBM\WebSphere\AppServer85
user.install.root = C:\IBM\WebSphere\AppServer85\profiles\AppSrv1
Java Home = C:\IBM\WebSphere\AppServer85\java_1.7_32\jre

Worklight server - Error 500: Could not find required filter class - com.worklight.core.auth.impl.AuthenticationFilter.class

I'm using worklight 6.1 for my mobile app project. My problem is, I got this error message when I try to upload war file into worklight server. I already install worklight server into my websphere.
Error 500: javax.servlet.ServletException: Filter [authenticationFilter]: Could not find required filter class - com.worklight.core.auth.impl.AuthenticationFilter.class
These are steps for uploading war file into worklight server.
1.Build project_name.war file from IBM Worklight Studio v6.1.
2.Deploy the .war file to IBM Websphere Integrated Solutions Console v8.5.5.0.
3.Open the WebSphere enterprise application and click install.
4.Choose the project.war file from the worklight project directory.
5.Click on next button for fast path.
6.Click on next button.
7.Choose the server 1.
8.Choose on the target JNDI.
9.Set the Virtual Host to default_host.
10.Set the context root.
11.Click on finish button.
12.Save directly to master configuration.
13.Start the application.
14.Open the server URL to get into the wroklight server to deploy application, adapter and etc, but failed to open the server URL with this error and the error log as below.
[3/6/14 10:18:50:442 MYT] 0000009e webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor]: java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: com.worklight.core.auth.impl.AuthenticationFilter
at java.beans.Beans.instantiate(Beans.java:195)
at java.beans.Beans.instantiate(Beans.java:80)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:533)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:475)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:308)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:380)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:892)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
My latest error message on 10 March 2014
Error 500: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: FWLSE0206E: The project /rmbp failed to initialize, because the project database schema for data source jdbc:db2://192.168.1.80:50001/APPCNTR is from version N/A, which is not supported by the server from version 6.1.0.00.20131126-0630. Use the Worklight ant tasks to upgrade the project database schema.
You may want to look at this similar post for suggestions:
IBM Worklight 6.0 - Worklight Console does not show up after installing WL 6.0 server on Liberty profile - Error 500
Importantly "you need to make sure that your worklight-jee-library.jar is in the application classloader." Like Idan suggested above you can easily use the ant scripts we provide in order to accomplish this in a more automated fashion:
https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fdevref%2Ft_transporting_apps_and_adapters.html