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.
Related
I was working on my Mule 4 application today, and suddenly my Anypoint Studio went crazy. When I was trying to run my application, i recieved an error that a port used by the application is already in use. Nothing unusual, but when I have restarted my PC and wanted to run the app again, suspicious information showed up in the console:
INFO 2021-05-25 12:40:21,056 [WrapperListener_start_runner] [processor: ; event: ] org.mule.runtime.core.internal.construct.AbstractFlowConstruct: Flow ImportPendingCorrectionsFlow has not been started
INFO 2021-05-25 12:40:21,056 [WrapperListener_start_runner] [processor: ; event: ] org.mule.runtime.core.internal.construct.FlowConstructLifecycleManager: Starting flow: ImportInvoicesFlow
INFO 2021-05-25 12:40:21,056 [WrapperListener_start_runner] [processor: ; event: ] org.mule.runtime.core.internal.construct.FlowConstructLifecycleManager: Stopping flow: ImportInvoicesFlow
and the same message for all flows in my application.
Then I tried to run an existing MUnit test, which was running correctly since a month or more, and I recieved this error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Running test: ImportInvoicesFlowTestWithIncorrectVehicleCount - Test +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
java.lang.AssertionError: The error ID thrown does not match the expected one. expected:<[APP:VALIDATION]> but was:<[HTTP:CONNECTIVITY]>
at org.mule.munit.runner.flow.TestFlow.run(TestFlow.java:313)
Caused by: java.io.IOException: Remotely closed
Caused by: java.io.IOException: Remotely closed
This is indeed very strange - as this flow has nothing to do with HTTP at all.
Finally, I have discovered a very strange WARN in the console:
WARN 2021-05-25 13:04:35,613 [Mule.app.deployer.monitor.1.thread.1] [processor: ; event: ] com.mulesoft.agent.configuration.descriptor.YamlMuleAgentDescriptor: Descriptor file /home/xxxxxxx/apps/AnypointStudio-7.7.0-linux64/AnypointStudio/plugins/org.mule.tooling.server.4.3.0.ee_7.3.5.202105101830/mule/conf/invoices-esb-mule4-app.yml not found.
I don't know what's happening here, i have never ever created such a file as invoices-esb-mule4-app.yml. I assume that this is some kind of a configuration file created by Mule itself basing on the application name. The path is strange here, as the workspace I'm working on is in /home/xxxxxxx/AnypointStudio7/workspace-2/
Other information that can be helpful (or not)
I was working on an ApiKit SOAP service, but still, it worked fine.
At one moment, I have misclicked Mule Design perspective and clicked Api Desing perspective, which ended in an application crash, but it SEEMED to be working correctly after starting Anypoint Studio again.
Is anyone having an idea what could have happened to my Anypoint Studio or my application?
I encountered a similar problem in which the logs said FlowConstructLifecycleManager: Starting flow [flow name], then FlowConstructLifecycleManager: Stopping flow [flow name], then AbstractFlowConstruct: Flow [flow name] has not been started. Then repeat those three with the next flow.
After spending more than a day trying various solutions, my team tried going to Run, Run Configurations, select Mule Applications, select the Mule application, General tab, "Clear Application Data:" and changing it to "Always". It had been "Never". After making this change and running it again, it started working. Hope this helps you or someone else with a similar "Stopping flow" problem.
The YML could be a per application configuration file created by the Runtime Manager Agent. It is strange that it is create in an execution inside Studio though. Check if the /home/xxxxxxx/apps/AnypointStudio-7.7.0-linux64/AnypointStudio/plugins/org.mule.tooling.server.4.3.0.ee_7.3.5.202105101830/mule/conf/mule-agent.yml is referencing it.
Server:SonarQube4.4
When run sonar-eclipse plugin to analyze my android project,I got a error log like this:
19:11:02.596 INFO - Execute Findbugs 3.0.0 done: 12857 ms
19:11:02.650 INFO - Sensor FindbugsSensor done: 12913 ms 19:11:02.651
INFO - Sensor CpdSensor... 19:11:02.651 INFO - SonarEngine is used
for java 19:11:02.652 INFO - Cross-project analysis disabled
19:11:02.809 INFO - Sensor CpdSensor done: 158 ms 19:11:02.809 INFO
- Sensor MantisSensor... Exception in thread "main" org.sonar.runner.impl.RunnerException: Unable to execute Sonar at
org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method) at
org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at
org.sonar.runner.impl.BatchLauncherMain.execute(BatchLauncherMain.java:41)
at
org.sonar.runner.impl.BatchLauncherMain.main(BatchLauncherMain.java:59)
Caused by: Access to the secured property 'sonar.mantis.login.secured'
is not possible in preview mode. The SonarQube plugin which requires
this property must be deactivated in preview mode.
how to fix this error?
You have to deactivate the Mantis plugin in preview mode.
Through the SonarQube web interface, log in as administrator and then go to Settings > General > General and update the "Plugins excluded for Preview and Incremental modes" property with the key of the Mantis plugin.
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
Sometimes when Worklight adapter is invoked, the following error "No SessionManager" is encountered in server log. When the adapter is invoked again, result is returned. I have checked that the session ID remains the same.
May I know what is the possible reason to have this kind of error? Thanks!
Environment: Worklight 5.0.6.1
server log:
[2013-09-09 17:55:38] FWLSE0099E: An error occurred while invoking procedure TestAdapter/getTestDataFWLSE0100E: parameters:{
"arr": [
]
}
No SessionManager
FWLSE0101E: Caused by: null
.metadata.log:
!ENTRY com.worklight.studio.plugin 4 0 2013-09-09 17:55:38.709
!MESSAGE FWLSE0099E: An error occurred while invoking procedure TestAdapter/getTestDataFWLSE0100E: parameters:{
"arr": [
]
}
No SessionManager
FWLSE0101E: Caused by: null
This error is no longer reproduced in newer versions of Worklight. My suggestion to you is to update to the latest iFix of Worklight v5.0.6.2, or better yet - upgrade to MobileFirst Platform (previously Worklight) v6.3 / v7.0.
I have noticed that when I call the /install flag on NServiceBus.host.exe an event log source is created under the Application event log. The trouble is, we have configured NServiceBus L4N to write events to the same source but under a custom event log.
This causes a problem because if we create the source under our custom event log the installation fails (NserviceBus installer throws a System.ArgumentException: Source blah already exists on the local computer).
So how can we stop the NServiceBus installer from trying to create the event source under the Application event log?
We are using NServiceBus 3.0.1.0
Thanks
EDIT - Full stacktrace
Creating EventLog source blah in log Application...
An exception occurred during the Install phase.
System.ArgumentException: Source blah already exists
on the local computer.
The Rollback phase of the installation is beginning.
Restoring event log to previous state for source blah
.
Service blah is being removed from the system...
Service blah was successfully removed from the system
.
The Rollback phase completed successfully.
Unhandled Exception: System.InvalidOperationException: The installation failed, and the rollback has been performed. ---> System.ArgumentException: Source blah already exists on the local computer.
at System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData)
at System.Diagnostics.EventLogInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.ServiceProcess.ServiceInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at Topshelf.Internal.Hosts.HostServiceInstaller.Install(IDictionary stateSaver)
in d:\dev\open-source\topshelf\src\Topshelf\Internal\Hosts\HostServiceInstaller.cs:line 120
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState)
--- End of inner exception stack trace ---
at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState)
at Topshelf.Internal.Hosts.HostServiceInstaller.Register() in d:\dev\open-source\topshelf\src\Topshelf\Internal\Hosts\HostServiceInstaller.cs:line 61
at Topshelf.Internal.Actions.InstallServiceAction.Do(IRunConfiguration configuration) in d:\dev\open-source\topshelf\src\Topshelf\Internal\Actions\InstallServiceAction.cs:line 42
at Topshelf.Runner.Host(IRunConfiguration configuration, String[] args) in d:\dev\open-source\topshelf\src\Topshelf\Runner.cs:line 70
at NServiceBus.Hosting.Windows.Program.Main(String[] args) in d:\BuildAgent-03\work\nsb.masterbuild1\src\hosting\NServiceBus.Hosting.Windows\Program.cs:line 122
The problem only occurs if we configure Log4net with the same event source name as the endpoint name.
So we can have use different source name in our event log (in our case, <endpoint-name>.l4n). This will work around the issue for now.
If things go really pear-shaped, you can find the event log sources in your registry
HKLM/SYSTEM/ControlSet001/services/eventlog/...
From there, you can manually delete the event log sources that you no longer want.