0

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.

dbreaux
  • 4,982
  • 1
  • 25
  • 64
  • "Build and Deploy" is replaced with "Run on MobileFirst Development Server" (did you jump from 5.0.6 to 7.0?); "Run As > Xcode project" firsts builds and deploys and then opens in Xcode. Application Center is not MFP Server, so it makes sense for not having any logs in the MFP Server. Go to your application server (that hosts your Application Center) and provide its messages.log. – Idan Adar May 08 '15 at 04:02
  • We actually started on 7.0, never on any previous version. Just following instructions in that article, which says "Build and Deploy". Also, Application Center is running on the same WAS server as MFP Server. – dbreaux May 08 '15 at 04:07
  • I see. We'll update that article. That's fine, the errors should be in that messages.log file still. Can you provide it? – Idan Adar May 08 '15 at 04:09
  • messages.log, eh? Let me look for that. Was just looking at WAS trace.log (SystemOut/SystemErr) – dbreaux May 08 '15 at 04:11
  • No messages.log found by Windows search anywhere on the harddrive. WAS trace.log (and SystemOut/SystemErr) has literally nothing logged at all when we get this error. Is there some tracing I should enable? – dbreaux May 08 '15 at 04:16
  • Yes, add this: `` – Idan Adar May 08 '15 at 07:34
  • @IdanAdar added the log messages to the question. That was all I got with that trace string enabled. (I thought I saw another question from you, but it's not here, so I wasn't sure if you withdrew it.) – dbreaux May 13 '15 at 22:30
  • What do you mean by "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."? Is your application properly signed? – Idan Adar May 15 '15 at 03:22
  • Yes, it's properly signed. But I only have access on a Development profile, not a Distribution one (within our Enterprise). And while that may indeed be the root cause, I'd think something should be logged somewhere indicating that? – dbreaux May 15 '15 at 14:27
  • 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. – Georg Sander Jul 13 '15 at 15:30

1 Answers1

0

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.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89
  • Haven't tried this again in a long time. Will open PMR if/when we do again and still have issues. – dbreaux Sep 28 '15 at 15:07