IBM Appcenter console apk fails to upload - ibm-mobilefirst

I have 2 questions on deploying mobile first apps to the appcenter.
What I did:
Installed eclipse then Mobile First 6.3 studio, followed the IBM WebSphere Application Server Liberty Core and finally the appcenter.
All installed no problems. Setup a MobileFirst server configuration and a runtime following the instructions on here
What didn't work:
Added an android environment to my project, built it and tried to add the apk. Got the "file not uploaded" message, appear next to the upload field. Was happy to find some responses here.
What I have tried:
I have tried to increase max_allowed_size from 256 to 500 then 1000 in my.ini. No change, then I tried pointing to the right aapt.exe in the server.xml, that didn't help, commented out the aapt line and still nothing.
Also I am finding my apk in the the /android/native/bin and not apps/bin as the documentation and I think a few on here have pointed out. Any idea what I might have missed?
Not sure where to go from here. Any ideas what I might be doing wrong?
I have the following setup:
Eclipse + Mobile First Studio
IBM WebSphere Application Server Liberty Core
IBM Mobile First Platform Server + a config and runtime deployed.
Appcenter Console
Running on an average machine with Windows server 2008 r2 and a mysql db.
Thank you any help would be much appreciated.
Logs from \IBM\WebSphere\Liberty\usr\servers\sigmaServer\logs (I hope these are right ones)
console.log
[12/8/14 23:03:00:811 CET] 00000012 SystemErr R 8814 WorklightManagementPU-mysql INFO [Scheduled Executor-thread-1] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[12/8/14 23:03:00:889 CET] 00000012 SystemErr R 8892 WorklightManagementPU-mysql INFO [Scheduled Executor-thread-1] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[12/8/14 23:03:00:904 CET] 00000012 org.springframework.web.context.ContextLoader I Root WebApplicationContext: initialization completed in 11216 ms
[12/8/14 23:03:00:904 CET] 00000012 ht.admin.listeners.WorklightManagementServletContextListener I MobileFirst Administration Services servlet context listener initialized
[12/8/14 23:03:00:920 CET] 00000012 ht.admin.listeners.WorklightManagementServletContextListener I FWLSE3199I: ========= MobileFirst Administration Services version 6.3.0.00-20141127-1357 started.
[12/8/14 23:03:01:029 CET] 00000012 org.apache.wink.server.internal.servlet.RestServlet I The system is using the com.ibm.worklight.admin.services.ManagementServiceServlet JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
[12/8/14 23:03:01:341 CET] 00000012 apache.wink.server.internal.application.ApplicationProcessor I The following JAX-RS application has been processed: com.ibm.worklight.admin.services.ManagementServiceServlet
[12/8/14 23:03:01:357 CET] 00000012 org.apache.wink.server.internal.log.Resources I The server has registered the JAX-RS resource class com.ibm.worklight.admin.services.ManagementService with #Path(/).
[12/8/14 23:03:01:372 CET] 00000012 org.apache.wink.server.internal.log.Providers I The class com.ibm.worklight.admin.util.ByteArrayWorkaroundProvider was registered as a JAX-RS MessageBodyReader provider for com.ibm.worklight.admin.util.ByteArrayWorkaround Java types and */* media types.
[12/8/14 23:03:01:372 CET] 00000012 org.apache.wink.server.internal.log.Providers I The class com.ibm.worklight.admin.util.ByteArrayWorkaroundProvider was registered as a JAX-RS MessageBodyWriter provider for com.ibm.worklight.admin.util.ByteArrayWorkaround Java types and */* media types.
[12/8/14 23:03:02:511 CET] 00000012 com.ibm.ws.webcontainer.servlet I SRVE0242I: [wladmin] [/wladmin] [ManagementServlet]: Initialization successful.
[12/8/14 23:03:02:527 CET] 00000012 com.ibm.ws.app.manager.internal.statemachine.StartAction A CWWKZ0001I: Application wladmin started in 20.264 seconds.
[12/8/14 23:03:13:696 CET] 00000038 com.worklight.core.ilmt.WorklightILMTLogger I FWLSE0277I: Creating an ILMT record in the file 'C:\Program Files\ibm\common\slm\85a30bb123bab8037ee6e789807592ae.slmtag'.
[12/8/14 23:04:13:366 CET] 00000037 SystemErr R Exception in thread "Thread-20"
[12/8/14 23:04:13:366 CET] 00000037 SystemErr R java.lang.RuntimeException: Timeout while waiting for the management service to start up.120 secs.
[12/8/14 23:04:13:366 CET] 00000037 SystemErr R at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:121)
[12/8/14 23:04:13:366 CET] 00000037 SystemErr R at java.lang.Thread.run(Thread.java:745)
[12/8/14 23:16:19:410 CET] 000000b4 com.ibm.puremeap.services.UploadService I file uploaded
[12/8/14 23:16:19:628 CET] 000000b4 com.ibm.puremeap.util.android.AAPT I Resolving APK without AAPT
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R java.io.IOException: Expected chunk of type 0x11c0200, read 0x1200200.
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.util.android.ReadUtil.readCheckType(ReadUtil.java:32)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.util.android.AndroidResourceParser.readPackage(AndroidResourceParser.java:80)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.util.android.AndroidResourceParser.read(AndroidResourceParser.java:62)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.util.android.AndroidAPKResolver.resolve(AndroidAPKResolver.java:138)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.util.android.AAPT.getMetadata(AAPT.java:362)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.services.UploadService.fileUploaded(UploadService.java:158)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at com.ibm.puremeap.services.UploadService.__fileUploadedJSON__(UploadService.java:109)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at java.lang.reflect.Method.invoke(Method.java:606)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:183)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
[12/8/14 23:16:19:706 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:133)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.puremeap.services.RestServlet.service(RestServlet.java:56)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1240)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:760)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:127)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:88)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.puremeap.services.RestFilter.doFilter(RestFilter.java:60)
[12/8/14 23:16:19:722 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:949)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1029)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:78)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:885)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:252)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:584)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
[12/8/14 23:16:19:737 CET] 000000b4 SystemErr R at java.lang.Thread.run(Thread.java:745)
[12/8/14 23:16:19:737 CET] 000000b4 com.ibm.puremeap.services.UploadService E Exception during resource upload. null
[12/8/14 23:16:19:737 CET] 000000b4 com.ibm.puremeap.services.UploadService E {
"id": "86ba5d65-f9d9-44d9-8d91-692106bdfbb1",
"message": "FWLAC0000E: A server error was detected.",
"productVersion": "6.3.0.00-20141127-1357"
}
java.lang.NullPointerException
at java.util.HashMap.putAll(HashMap.java:614)
at com.ibm.puremeap.services.UploadService.putAll(UploadService.java:326)
at com.ibm.puremeap.services.UploadService.fileUploaded(UploadService.java:158)
at com.ibm.puremeap.services.UploadService.__fileUploadedJSON__(UploadService.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:183)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)
at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:133)
at com.ibm.puremeap.services.RestServlet.service(RestServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1240)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:760)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:127)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:88)
at com.ibm.puremeap.services.RestFilter.doFilter(RestFilter.java:60)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:949)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1029)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:78)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:885)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:252)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:584)
at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
at java.lang.Thread.run(Thread.java:745)
Messages.log puts this post over the limit, let me know if that would help troubleshooting though.
And thanks.

It's a known issue that will be fixed as soon as possible: if an APK built with latest Android 5 (level 21) is uploaded to the Application Center console and the AAPT tool is not used to decode the APK metadata (cf "Resolving APK without AAPT" trace), the upload is failing with a exception in the server log.
To fix this issue, set up your server to use the AAPT tool from the Android SDK as described in the documentation: https://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.installconfig.doc/admin/t_configuring_websphere_application_server_for_appcenter_manually.html
Step 9.
You have to set the android.aapt or android.aapt.dir JNDI property.
Hope this helps

After downloading this two libraries it will work fine.
zlib.i686 and libstdc++.i686
Regards,
Mahdi.

Related

Maximo Anywhere- Mobile First Console not showing the Runtime -no runtime available-

Dears
I have ENvironment which is the below:
JDK 1.8
WEBSPHERE 8.5.5.12
DB2 10.5fp5
Maximo 7.6.0.8
I did the installation on Appcengterconsole working fine but I had issue with worklightconsole I got the following error and no runtime available
I check the SOAP port is open i did telnet its working fine
I redployed the runtime environment
I Droped the Database and recreate new WAS Profile and i reinstall i am getting the same issue
I Checked the names of the applications
Please Advise
.
FWLSE3000E: A server error was detected.
com.ibm.worklight.admin.common.util.exceptions.SystemException: FWLSE3000E: A server error was detected.
at com.ibm.worklight.admin.services.RuntimeService.addMBeanProperties(RuntimeService.java:1196)
at com.ibm.worklight.admin.services.RuntimeService.getAllRuntimes(RuntimeService.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:151)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)
at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:133)
at com.ibm.worklight.admin.services.RestServlet.service(RestServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.worklight.admin.services.RestFilter.doFilter(RestFilter.java:61)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.worklight.admin.common.filter.HSTSFilter.doFilter(HSTSFilter.java:110)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
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:1892)
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy64.getAttribute(Unknown Source)
at com.ibm.ws.management.AdminClientImpl.getAttribute(AdminClientImpl.java:153)
at com.worklight.common.util.jmx.WASRuntimeMBeanHandler$AdminClientMBeanServerConnection.getAttribute(WASRuntimeMBeanHandler.java:499)
at com.sun.jmx.mbeanserver.MXBeanProxy$GetHandler.invoke(MXBeanProxy.java:135)
at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:180)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:270)
at com.sun.proxy.$Proxy172.getDevicesSummary(Unknown Source)
at com.ibm.worklight.admin.services.RuntimeService$RuntimeMBeanProperties.<init>(RuntimeService.java:1101)
at com.ibm.worklight.admin.services.RuntimeService$3.call(RuntimeService.java:1131)
at com.ibm.worklight.admin.services.RuntimeService$3.call(RuntimeService.java:1129)
at com.ibm.worklight.admin.util.RuntimeMBeanRoutingCaller.call(RuntimeMBeanRoutingCaller.java:67)
at com.ibm.worklight.admin.services.RuntimeService.addMBeanProperties(RuntimeService.java:1126)
... 85 more
Caused by: [SOAPException: faultCode=SOAP-ENV:ServerException; msg=The Soap RPC call can&apos;t be unmarshalled.]
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:966)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:931)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:696)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:686)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.getAttribute(SOAPConnectorClient.java:641)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:497)
... 97 more
[12/5/17 12:09:49:432 GST] 000000a9 ServiceProxy E Received status 500 for GET http://localhost:9082/wladmin/management-apis/1.0/runtimes?fullInfo=true
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9082/wladmin/management-apis/1.0/runtimes?fullInfo=true
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:86)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:58)
at java.lang.reflect.Constructor.newInstance(Constructor.java:542)
at sun.net.www.protocol.http.HttpURLConnection$7.run(HttpURLConnection.java:1733)
at sun.net.www.protocol.http.HttpURLConnection$7.run(HttpURLConnection.java:1731)
at java.security.AccessController.doPrivileged(AccessController.java:452)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1729)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
at com.ibm.worklight.management.ui.servlet.ServiceProxy.service(ServiceProxy.java:172)
at com.ibm.worklight.management.ui.servlet.ConsoleServicesServlet.service(ConsoleServicesServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.worklight.admin.common.filter.HSTSFilter.doFilter(HSTSFilter.java:110)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
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:1892)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9082/wladmin/management-apis/1.0/runtimes?fullInfo=true
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1684)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.ibm.worklight.management.ui.servlet.ServiceProxy.service(ServiceProxy.java:164)
... 29 more
[12/5/17 12:40:40:769 GST] 000000aa WASRuntimeMBe I Establishing SOAP connection on localhost with port number 8882
[12/5/17 12:40:40:844 GST] 000000aa WASRuntimeMBe I Bean '*' does not exist.
[12/5/17 12:40:40:845 GST] 000000aa RuntimeServic I No mxbeans found
I'm pretty sure this is because of Websphere 8.5.5.12 - I had the same thing recently after a scheduled update and rolling back to 8.5.5.11 fixed it.
This is the solution :
set: com.ibm.ws.management.connector.soap.disableSOAPAuthCheck=tr‌​ue JVM custom property on deployment manager, all nodeagents and all application servers.

Migrating Websphere 7 to 8.5.5

We have WebSphere Platform 7.0.0.19 and trying to migrate to new WebSphere Platform 8.5.5.11.
Application server wont start because some strange error:
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R java.lang.NullPointerException
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R at com.ibm.ws.management.commands.jca.J2CCommandHelper.getNewPropertyListFromComparison(J2CCommandHelper.java:384)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R at com.ibm.ws.management.commands.jca.J2CCommandHelper.getNewPropertyListFromComparison(J2CCommandHelper.java:172)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.reconcileJ2CObjects(ConfigureTask.java:885)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:390)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:315)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr R at java.lang.Thread.run(Thread.java:798)
application.xml inside EAR project contains this module that apparently is problem.
<?xml version="1.0" encoding="UTF-8"?>
<application id="Application_ID" version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
<display-name>
myAppEAR</display-name>
<module id="EjbModule_1222878922372">
<ejb>myAppEJB.jar</ejb>
</module>
<module id="EjbModule_1222955615688">
<ejb>Server.jar</ejb>
</module>
<module id="WebModule_1222955629907">
<web>
<web-uri>maAppWebServices.war</web-uri>
<context-root>myAppWebServices</context-root>
</web>
</module>
<module id="ConnectorModule_1222955641688">
<connector>VagenConnector.rar</connector>
</module>
<security-role>
<role-name>myApp</role-name>
</security-role>
</application>
When ConnectorModule_1222955641688 is removed it works?
VagenConnector is standalone project and we solved problem by regenerating projects META-INF/ra.xml. This we accomplished via (right click on project)
J2EE -> Specifications Upgrade Wizard

IBM Application Center APK upload failed

My IBM Application Center version 7.0.0.00-20150729-1801
Trying to upload the App Center Client APK file to App Center Console. It fails with an error - FWLAC0000E: A server error was detected.
[8/16/15 23:16:35:510 CDT] 00000129 UploadService I file uploaded
[8/16/15 23:16:52:661 CDT] 00000129 ApplicationSe E {
"id": "223b252a-a3aa-443d-9472-49e413d4af1c",
"message": "FWLAC0000E: A server error was detected.",
"params": [
],
"productVersion": "7.0.0.00-20150729-1801"
}
com.ibm.puremeap.resources.exceptions.SystemException: The field "aclApp" of instance "com.ibm.puremeap.jpa.entity.AclAppPrincipalEntity[ id=unknown ]" contained a null value; the metadata for this field specifies that nulls are illegal.
at com.ibm.puremeap.resources.data.impl.ApplicationHelper.createApplicationImpl(ApplicationHelper.java:1741)
at com.ibm.puremeap.resources.data.impl.ApplicationHelper.createApplication(ApplicationHelper.java:1628)
at com.ibm.puremeap.artifacts.Application.create(Application.java:497)
at com.ibm.puremeap.services.ApplicationService.create(ApplicationService.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:151)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:235)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:235)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:60)
at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:124)
at com.ibm.puremeap.services.RestServlet.service(RestServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.puremeap.services.RestFilter.doFilter(RestFilter.java:60)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:939)
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:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
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:1881)
Caused by: org.apache.openjpa.persistence.InvalidStateException: The field "aclApp" of instance "com.ibm.puremeap.jpa.entity.AclAppPrincipalEntity[ id=unknown ]" contained a null value; the metadata for this field specifies that nulls are illegal.
at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:567)
at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3059)
at org.apache.openjpa.kernel.SingleFieldManager.preFlushPC(SingleFieldManager.java:808)
at org.apache.openjpa.kernel.SingleFieldManager.preFlushPCs(SingleFieldManager.java:762)
at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:656)
at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:589)
at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3059)
at org.apache.openjpa.kernel.PDirtyState.beforeFlush(PDirtyState.java:39)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1075)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2127)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2087)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:602)
at org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:689)
at org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1696)
at com.ibm.ws.persistence.kernel.WsJpaStateManagerImpl.beforeAccessField(WsJpaStateManagerImpl.java:109)
at org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1627)
at com.ibm.puremeap.jpa.entity.AclAppPrincipalEntity.pcGetid(AclAppPrincipalEntity.java)
at com.ibm.puremeap.jpa.entity.AclAppPrincipalEntity.equals(AclAppPrincipalEntity.java:201)
at java.util.ArrayList.contains(ArrayList.java:309)
at com.ibm.puremeap.jpa.entity.AclApplicationEntity.addPrincipal(AclApplicationEntity.java:253)
at com.ibm.puremeap.jpa.entity.AclApplicationEntity.addAccessRightForPrincipal(AclApplicationEntity.java:195)
at com.ibm.puremeap.resources.data.impl.ApplicationHelper.getUpdatedACLOnCreate(ApplicationHelper.java:648)
at com.ibm.puremeap.resources.data.impl.ApplicationHelper.createApplicationImpl(ApplicationHelper.java:1734)
... 86 more
The log shows that this is a database problem, probably caused by OpenJPA. I suspect that a wrong version of OpenJPA is used in Websphere. This can be detected in the log, for instance if you see a message in the log such as
INFO [server.startup : 2] openjpa.Runtime - Starting OpenJPA 2.x
As of MobileFirst 7.0 and earlier, the correct OpenJPA version must be 1.2.2, not 2.x (2.2.3 or similar).
This error typically occurs if the parentLast classloader policy is not set for the applicationcenter.war. For WAS Full Profile, see step 5 here. For WAS Liberty Profile, see the element <classloader delegation="parentLast"> here.

Youtube api authentication error

I am trying upload video to youtube using youtube API. I am getting an error message when authenticating with the following code segment
YouTubeService service = new YouTubeService("Oakland-YouTubeUploadClient-1", developerKey);
try {
service.setUserCredentials(username, password);
} catch (AuthenticationException e) {
System.out.println("Invalid login credentials.");
System.out.println("Auth excep. = " + e.getMessage());
e.printStackTrace();
} catch (Exception e) {
System.out.println("Excep. = " + e.getMessage());
e.printStackTrace();
}
The error message that I got is as follows:
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R com.google.gdata.util.AuthenticationException: Error connecting with login URI
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:549)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.oakland.egov.videogallery.YouTubeUploadClient.execute(YouTubeUploadClient.java:188)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.oakland.egov.videogallery.VideoGalleryServlet.uploadFilesFromDisk(VideoGalleryServlet.java:3502)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.oakland.egov.videogallery.VideoGalleryServlet.performTask(VideoGalleryServlet.java:2560)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.oakland.egov.videogallery.VideoGalleryServlet.doPost(VideoGalleryServlet.java:4440)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
[2/11/13 13:09:42:041 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:859)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
[2/11/13 13:09:42:057 EST] 00000056 SystemErr R Caused by: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.n.a(n.java:22)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.tc.a(tc.java:465)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.gb.a(gb.java:352)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.gb.a(gb.java:95)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.hb.a(hb.java:418)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.hb.a(hb.java:56)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.gb.n(gb.java:307)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.gb.a(gb.java:181)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.tc.a(tc.java:468)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.tc.g(tc.java:208)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.tc.a(tc.java:482)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.jsse2.tc.startHandshake(tc.java:597)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:44)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:36)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1024)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:66)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java:611)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:547)
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R ... 29 more
[2/11/13 13:09:42:072 EST] 00000056 SystemErr R Caused by: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.util.e.b(e.java:45)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.util.e.b(e.java:106)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.util.d.a(d.java:5)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.hc.a(hc.java:61)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.hc.checkServerTrusted(hc.java:10)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.ws.ssl.core.WSX509TrustManager.checkServerTrusted(WSX509TrustManager.java:310)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.hb.a(hb.java:103)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R ... 42 more
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R Caused by: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.PKIXCertPathBuilderImpl.engineBuild(PKIXCertPathBuilderImpl.java:411)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:258)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.jsse2.util.e.b(e.java:70)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R ... 48 more
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R Caused by: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.BasicChecker.(BasicChecker.java:111)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.PKIXCertPathValidatorImpl.engineValidate(PKIXCertPathValidatorImpl.java:176)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.PKIXCertPathBuilderImpl.myValidator(PKIXCertPathBuilderImpl.java:737)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.PKIXCertPathBuilderImpl.buildCertPath(PKIXCertPathBuilderImpl.java:649)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.PKIXCertPathBuilderImpl.buildCertPath(PKIXCertPathBuilderImpl.java:595)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.PKIXCertPathBuilderImpl.engineBuild(PKIXCertPathBuilderImpl.java:357)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R ... 50 more
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R Caused by: java.security.cert.CertPathValidatorException: Certificate chaining error
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.CertPathUtil.findIssuer(CertPathUtil.java:298)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R at com.ibm.security.cert.BasicChecker.(BasicChecker.java:108)
[2/11/13 13:09:42:103 EST] 00000056 SystemErr R ... 55 more
Any idea, help or recommendation would be highly appreciated.

Connection timed out trying to call asmx https web service from JAX-WS

I'm trying to call an external web service whose endpoint is beyond https.
We are trying to make the call with JAX-WS (Oracle standard implementation from Java EE 6).
From SoapUI after setting the proxy it works correctly, but from our code we get this stack trace:
[11/13/12 12:46:55:389 CET] 00000024 SystemErr R javax.xml.ws.WebServiceException: java.net.ConnectException: Connection timed out: no further information
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:586)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:130)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:364)
[11/13/12 12:46:55:405 CET] 00000024 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:185)
We don't know why we obtain a connection timeout, because from SoapUI everything is ok...
Here's the code we are using:
ResultBlock rb = null;
Matching stub=new Matching();
MatchingSoap soapPort = stub.getMatchingSoap();
BindingProvider provider = (BindingProvider) soapPort;
Map<String, Object> context = provider.getRequestContext();
if(!"".equals("cvsa"))//Conf.getPROXY_URL()
{
System.getProperties().get("http.proxyPort");
//Authenticator.setDefault(new ProxyAuthenticator("user", "password"));
System.getProperties().put("proxySet", "true");
System.setProperty("http.proxyHost", "proxy.xxxxx.xxxx.xx");
System.setProperty("http.proxyPort", "3128");
}
context.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https://xxx.xxx.xxx.xxx/OnlineMatchingCore/OnlineMatching.asmx" );
//context.put(JAXWSProperties.HTTP_CLIENT_STREAMING_CHUNK_SIZE, 8192);
System.out.println(provider.getEndpointReference().toString());
// Authenticator.setDefault(new ProxyAuthenticator("USER", "PASSWORD"));
// Security.setProperty("ssl.SocketFactory.provider", "com.ibm.jsse2.SSLSocketFactoryImpl");
// Security.setProperty("ssl.ServerSocketFactory.provider", "com.ibm.jsse2.SSLServerSocketFactoryImpl");
String result = soapPort.match(controlXml, batchXml, "USER", "PASSWORD");
I saw lot of threads on the internet about problems like this, but I couldn't find any solution:
Invoking HTTPS webservice (already checked everything in this post)
JAX-WS invoking webservice using SSL throws the following exception (already checked)
I don't know what to try, my idea is that I'm missing something about telling java the webservice is on https...
Did you try setting the https proxy, instead of http proxy?
System.setProperty("https.proxyHost", "proxy ip");
System.setProperty("https.proxyPort", "port");