Deploying app with brokered component in physical device

I am developing an app using brokered components, using the Microsoft templates (https://visualstudiogallery.msdn.microsoft.com/527286e4-b06a-4234-adde-d313c9c3c23e)
and following this step-by-step (http://blogs.u2u.be/diederik/post/2014/04/25/Building-Enterprise-apps-using-Brokered-Windows-Runtime-Components.aspx).
The reason of my problem is that I can execute/deploy the app without problems in local machine and in windows simulator, but when
I deploy the app in a device it
breaks with a TargetInvocationException
Description of the error:
Requested Windows Runtime type 'MyNamespace.PrintService' is not registered
I get the error in my ViewModelLocator,
in the line of code of the getter of the ViewModel which uses the brokered component:
public SettingsViewModel Settings
get { return ServiceLocator.Current.GetInstance<SettingsViewModel>(); }
The ViewModelLocator is an standard MVVM Light view model locator.
Here is the source code of my SettingsViewModel where I inject the brokered component:
public class SettingsViewModel
public SettingsViewModel(IPrintService printService)
if (printService == null)
throw new ArgumentNullException("printService");
_printService = printService;
InitializeCommands();
InitializeActions();
Thanks.

Ok, I set up the brokered component and I can open a command Windows for testing - so basically it's working. But... what API / Namespaces are available in the ClassicClassLibrary for printing? I couldn't find any... System.Printing, System.Windows.Controls
etc. are unavailable from the classLibrary.
I could start a shellprocess and trigger  a print command trough it which would open the system's associated Programm to print the file (Image in that case) but I strongly hope that thats not the way it meant to be. Also even if I specify "CreateNoWindow
= true;" and "WindowStyle = ProcessWindowStyle.Hidden;" it would Show the print Dialog.
Sureley there must be a way to print through a printing API?<
EDIT: My bad... I completley forgot to add a reference to the System.Drawing Assembly ;) So now using "PrintDocument" from "System.Drawing.Printing" is working fine when calling through brokered component!

Similar Messages

  • DEPLOY APP WITH JPS IN WebLogic Server: 10.3.4.0

    Hi Experts,
    When i add the JPS security for my ADF app with the grants configuration and while deploying an ADF application in WebLogic Server: 10.3.4.0, I am getting the following message:
    java.security.AccessControlException: access denied (oracle.security.jps.JpsPermission AppSecurityContext.setApplicationID.null)
    Caused By: java.security.AccessControlException: access denied (oracle.security.jps.JpsPermission AppSecurityContext.setApplicationID.null)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:350)
         at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:270)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:375)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:410)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:433)
         at oracle.security.jps.internal.api.runtime.AppSecurityContext.setApplicationID(AppSecurityContext.java:84)
         at oracle.security.jps.internal.common.util.SetApplicationIDAction.run(SetApplicationIDAction.java:40)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPreRegister(JpsJmxInterceptor.java:486)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPreRegister(ContextClassLoaderMBeanInterceptor.java:150)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.BasePublicMBeanInterceptor.internalPreRegister(BasePublicMBeanInterceptor.java:110)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:633)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:611)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
         at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:180)
         at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:77)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:284)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Someone know, how to fix this issue?
    You need to set something in the weblogic server?
    Currently I have a set in the security domain users myrealm used in the application.

    i get very similar error trying to deploy to a managed server in weblogic (not to the default managed server) weblogic 10.3.5 jdeveloper 11.1.2.1.

  • Print in KioskMode with brokered component?

    As of this thread
    http://social.msdn.microsoft.com/Forums/windowsapps/en-US/9af5bbde-68ce-40a1-958b-396a6beab78a/printing-in-kiosk-mode-assigned-access?forum=winappswithcsharp printing is not possible in kiosmode. That's a shame and could be a showstopper for a very big
    Enterprise customer we're developing a Showcase app.
    Can printing be enabled in kioskmode if we use a brokered component (WPF) that consumes the printrequests or is the printing API itself deactivated? I hope it's just the charm bar.
    Also I request printing without charm bar for Enterprise and Showcase uses.

    Ok, I set up the brokered component and I can open a command Windows for testing - so basically it's working. But... what API / Namespaces are available in the ClassicClassLibrary for printing? I couldn't find any... System.Printing, System.Windows.Controls
    etc. are unavailable from the classLibrary.
    I could start a shellprocess and trigger  a print command trough it which would open the system's associated Programm to print the file (Image in that case) but I strongly hope that thats not the way it meant to be. Also even if I specify "CreateNoWindow
    = true;" and "WindowStyle = ProcessWindowStyle.Hidden;" it would Show the print Dialog.
    Sureley there must be a way to print through a printing API?<
    EDIT: My bad... I completley forgot to add a reference to the System.Drawing Assembly ;) So now using "PrintDocument" from "System.Drawing.Printing" is working fine when calling through brokered component!

  • BEST PRACTICES: How to deploy apps with public and private content & data?

    Can anyone recommend a guide, blog post, etc. on best practices for:
    - designing & deploying apps that have publicly-accessible (http + https) content, and
    - content and data for which users must be authenticated and authorized?
    NOTE: In our environment users are authenticated via OID. We're using Apex 4.

    Hi,
    Have a look at this Sample App for getting Auth Token from Instagram in windows phone app. 
    Also read the api documentation for more details from
    here.
    Pradeep AJ

  • Synching apps with 2 user accounts, 3 devices and one computer only

    I have a question that I can't find a clear answer.
    I previous had one iPod touch and one iPad that I synched with my iTunes library. No problem. But now the wife has finally purchased a verizon iPhone and I want to be able to use my vast app collection for her phone.
    Scenario is we each have separate user accounts (so we can maintain our own calendars and contacts, ect.). We each have our own ITunes accounts and our own iTunes libraries by default. She will not be purchasing much on her account though.
    How do I, without creating a can of worms, create one library to sync to so I can put apps and music on her phone without erasing any of her separate information. I have read a lot on the subject and there does not seem to be a clear answer anywhere. Yes, I have read ht1495 but that does not seem to be exactly on point
    Basically, I have 3 devices, 2 user accounts and 2 iTunes accounts but one computer only. I want to be able to have all iTunes stuff available on both user accounts and be able to have both people be able to read and write to the same library. I am sure there are plenty of people running into this issue with more and more people getting iPhones with verizon. It seems that it is easier to do with multiple computers than one computer.
    So, I am looking for help or advice on the easiest way to accomplish this task.

    In a way, each iTunes libary is considered to be a different account. Your daughter's iTunes account doesn't have access to your wife's data which has all the verification data.
    One option would not only to place the library in a Shared area, but also the verification data. I poked around and am not sure where it's stored. It's a good discussion to have with an Apple store Genius if you have one nearby.

  • Best way to deploy App with settings

    Hi,
    What's the best way, when you develop an app for the windows store but the app needs a configuration URL per environment where it's being used?
    So we create an app for general use with the option to set the configuration manual from within the app. But for large customers in corporate environments we want the configuration to be added automatically. The apps will be deployed using SCCM 2012 R2 with
    Windows Intune.
    This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
    Click on "vote as Helpful" if you feel this post helpful to you. This can be beneficial to other community members reading the thread.

    I know this is very old but I’m trying to clean up old posts. Did you ever solve this? If so it would be good if you could post the solution to assist others. If not, at this
    stage, as nobody has answered, I would recommend that you call Intune support if the issue still exists.
    You will find your local Intune support number here
    http://technet.microsoft.com/en-US/jj839713.aspx
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Deploy app with JPA Query errors

    Hello,
    I'm trying to deploy an application into weblogic 11g (10.3.3). The application uses JPA 1.0 for the persistence, Spring 3.01 for the business and JSF 1.2 for the view layer. The JPA Provider used in this app, is Hibernate. This application deploys fine in tomcat, but in weblogic I get an error on my named queries.
    The error is Caused By: org.hibernate.HibernateException: Errors in named queries
    I know that is seems to be an hibernate problem, but it only occurs in weblogic.
    Any idea whats going on ?
    Thanks.
    Here's the full stack trace.
    javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [zip:C:/java/servers/Oracle/Middleware/user_projects/domains/base_domain/servers/softway/tmp/_WL_user/sfw-poc-condicao-pagamento-web/rrg25b/war/WEB-INF/lib/sfw-service-eao-0.0.1-SNAPSHOT.jar!/applicationContext-service-eao.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
         at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
         at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: org.hibernate.HibernateException: Errors in named queries: SwUsuario.findUserSystems, SwArmazenamentoArquivo.findAll, SwMetadataColConstDomain.findAll, SwModalidadeTransacao.findAll, SwReportCategory.findAll, SwMenu.findUserMenus, SwOperacao.findAll, SwUtilizacaoSenha.findAll, SwReportType.findAll, SwModalidadeTransacaoIdiom.findAll, SwReportFilter.findAll, SwReportField.findAll, SwSistema.findAll, SwDireitoGrupo.findAll, SwUsuario.findAll, SwMetadataColConstraints.findAll, SwTipoParcela.findAll, SwLogAcesso.findAll, SwUtilizacaoSenha.findByUserName, SwReportTypeField.findAll, SwModulo.findAll, SwField.findAll, SwMetadata.findAll, SwReport.findAll, SwUtilizacaoSenha.findByDay, SwReportTypeEntity.findAll, SwEntity.findAll, SfwLock.findAll, SwMetadataColumns.findAll, SwGrupo.findAll, SwIdioma.findAll, SwSistemaGrupo.findAll, SwMenu.findAll
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:407)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
         at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
         at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
         at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    What

    Hi,do you still have this issue?
    I had the same issue, which was caused by improperly deploying non-sharepoint artefact (txt file) as part of the app. Once I changed deployment action to "NoDeployment" and removed it from the feature, everything was deployed successfully.
    See this thread for same error, and resolution:
    http://stackoverflow.com/questions/20349662/sharepoint-app-deployment-error-failed-to-install-app-for-sharepoint
    Dragan Panjkov [http://www.dragan-panjkov.com]

  • What merge module and/or drivers necessary to deploy app with CWNumEdit, CWGPIB, CWSerial, and CWButton

    Thank you to Johnathan for getting me this far.  I am the person who is trying to build and deploy an app
    onto another machine, of which i do not know what is on it.  I got my app to build and now i'm creating an
    installer and adding merge modules based on the help....when i run the app on the target machine, it
    still says "An unsupported operation was attempted".  I am assuming that i still need more merge modules
    and/or drivers...and i don't know which.  I am guessing the controls that still aren't "supported" are the
    ones that are from visual studio 6 support.....I am guessing that these controls are:
    CWNumEdit, CWGPIB, CWSerial, and CWButton.
    Could someone help me and point me in the right direction if i need to install drivers for these and/or
    what merge  modules they are contained in?
    THANK YOU!!
    K

    Hi KBr,
    If you are using any ActiveX UI components (like CWNumEdit, CWButton) you need to include the CWUI_OCX.msm merge module as well as the NIMesaDLL.msm and nimetautils.msm.  Those merge modules you can find in the [Program Files\Common Files\Merge Modules\] directory. The CWSerial and CWGPIB ActiveX controls are part of the cwinstr.ocx file located on the Measurement Studio CD as you have already found.
    When building an installer, you can simply add the cwinstr.ocx file to your setup application, and specify that it should be register when installed. You just click on the cwinstr.ocx file once its part of the setup project and then configure the Register field in the Properties Window.
    Best Regards,
    Jonathan N.
    National Instruments

  • Device monitor at apps with usage access

    In my 'apps with usage access' I see device monitor ticked by default. What would happen if I unticked it?

    http://forum.xda-developers.com/showthread.php?t=1089470
    http://forum.xda-developers.com/showthread.php?t=2429827
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Windows Phone 8.1 Universal: VS 2013 deploys app to device but does not delete data file in roamingfolder and roaming is not activated.

    I am using VS 2013 to develop a Windows Phone 8.1 Universal app.  When I deploy to the device (my phone), the old data file that I had stored in the roamingfolder previously continues to be used.  I have uninstalled the app after being deployed,
    I put code in the app to delete the files individually from the roamingfolder and used ClearAsync(). That worked until I deployed the app again and then the old files came back.  I have not associated these apps with the store yet so roaming should
    not be working. The desktop app does not have this problem, when I uninstall it the files are deleted.
    In the phone app properties debug tab, I have the Uninstall and the reinstall my package checked for all configurations.  I have looked everywhere I can think of for these old files: laptop c:, phone tempfolder, localfolder, etc. thinking VS is reinstalling
    them from somewhere when deploying the app but I cannot find them.  If I change the phone app to use the localfolder, the old files are not used.
    Is this just the way it is if I use the roamingfolder or is there a way to delete these old files?
    Any help would be greatly appreciated.  Thanks.

    Hi MV12,
    >>When I deploy to the device (my phone), the old data file that I had stored in the roamingfolder previously continues to be used
    Yes, it is designed to work like that, please refer to this document for details:
    #Accessing app data with the Windows Runtime (Windows Runtime apps)
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh464917.aspx#roaming_app_data
    Roaming data for an app is available in the cloud as long as it is accessed by the user from some device within the required time interval.
    If the user does not run an app for longer than this time interval, its roaming data is removed from the cloud.
    If a user uninstalls an app, its roaming data isn't automatically removed from the cloud, it's preserved. If the user reinstalls the app within the time interval, the roaming data is synchronized from the cloud. The current policy specifies
    that this time interval is 30 days. Location is available via the roamingFolder property.
    >>Is this just the way it is if I use the roamingfolder or is there a way to delete these old files?
    No, you will have to wait.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I deploy an ipad app with preconfigured settings?

    I am looking to deploy an app to an ipad cart and would like to configure the app settings prior to deployment so as not to have to set them on all ipads individually.  Is this possible with apple configurator or would I need an alternate MDM solution?

    you can restore a backup from apple configurator of the ipad which you've configured the app and backed up which will restore some app preferences, depending on the app
    you'll have to test it to see what works
    normally passwords are not copied
    you can also use itunes backup as well
    OSX server MDM, profile manager allows custom profiles
    which you maybe able to use to configure the app and push settings out to devices
    I can't remember if apple configurator allows for custom settings

  • Deploying Phone Apps with our employees

    Dear all, first of all, I am quiet new. I've developed a internal news application just for our company employees. However, I am having trouble with deploying this app with our employees' phones. This app must be installed by only our employees' Windows
    phones. How can I handle this? Also, we have System Center Configuration Manager(SCCM). Thanks in advance..
    Omnipotent

    You need to create private store in you organization, and enroll device with your MDM server.
    Please check this link: Developing Company hub application.
    -RomeshDB

  • SAP Strategy Management 7.0 SSM Component Deployment failed with JSPM

    Dear experts,
    i have installed a SAP Netweaver CE 7.1 on Windows Server 2003 Enterprise x64 with MS SQL and i wish to install now SAP Strategy Management 7.0 with JSPM Tool.
    I have copied the CPMSTRMGMAPC00_0.SCA file on the usr\sap\trans\EPS\in\ directory and the deployment precessus failed with error before the AS JAVA has been restarted.
    How can i manage this problem? Any suggestion is welcomed.
    Thank you very much.
    Best regards,
    Pascal.

    Any ideas?
    Here is the F:\usr\sap\PI7\J71\j2ee\JSPM\log\log_2009_06_15_12_51_48\deploy_2009-06-15_14-56-58.log
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.7.1006]/>
    <!NAME[F:\usr\sap\PI7\J71\j2ee\JSPM\log\log_2009_06_15_12_51_48\deploy_2009-06-15_13-07-03.log]/>
    <!PATTERN[deploy_2009-06-15_13-07-03.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%25d[%6s]:%m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jun 15, 2009 1:07:03 PM  [Info  ]:DC API is trying to connect to 'sap-pi7:57104'
    Jun 15, 2009 1:07:03 PM  [Info  ]:DC API has Connected to 'sap-pi7:57104'
    Jun 15, 2009 1:07:03 PM  [Path  ]:+++++ Starting  V A L I D A T E action +++++[ deployerId=2 ]. timerId=7
    Jun 15, 2009 1:07:03 PM  [Path  ]:Selected archives for validation. [ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca
    Jun 15, 2009 1:07:03 PM  [Debug ]:Got full sdu path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
    Jun 15, 2009 1:07:03 PM  [Path  ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:deployment workflow strategy is safety deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:Error strategies[ deployerId=2 ]:
    Jun 15, 2009 1:07:03 PM  [Path  ]:error action 'DeploymentAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:03 PM  [Path  ]:error action 'PrerequisitesCheckAction' is 'OnErrorSkipDepending'
    Jun 15, 2009 1:07:03 PM  [Debug ]:deployer initialized successfully:[id:#8, elapsed: 0 ms.].[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Debug ]:Total time:[#8: 0.0 sec].[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Info  ]:Start validating.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Validating completed. Preparing the validation result.
    Jun 15, 2009 1:07:06 PM  [Path  ]:
    Sorted Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca --> xappscpmsm~strategymanagement.sda'
         Sdu info :name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Admitted'
         2. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Admitted'
    Deployment Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Admitted'
              Time statistics:
              Contained DCs:
              1.1:name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              1.2:name 'xappscpmsm~strategymanagementactions', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465041', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465041'.
              1.3:name 'xappscpmsm~strategymanagementdoc', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465046', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465046'.
              1.4:name 'xappscpmsm~strategymanagementdic', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465042', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465042'.
    Jun 15, 2009 1:07:06 PM  [Info  ]:+++ Validation finished with status 'Success' +++[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:+++++ End  V A L I D A T E action +++++[ deployerId=2 ]. Total time:[#7: 3.016 sec]
    Jun 15, 2009 1:07:06 PM  [Path  ]:+++++ Starting  D E P L O Y action +++++ [ deployerId=2 ] [ timerId=9]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Selected archives for deployment. [ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca
    Jun 15, 2009 1:07:06 PM  [Debug ]:Got full sdu path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
    Jun 15, 2009 1:07:06 PM  [Path  ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:deployment workflow strategy is safety deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Error strategies[ deployerId=2 ]:
    Jun 15, 2009 1:07:06 PM  [Path  ]:error action 'DeploymentAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:06 PM  [Path  ]:error action 'PrerequisitesCheckAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:06 PM  [Debug ]:deployer initialized successfully:[id:#11, elapsed: 15 ms.].[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Debug ]:Total time:[#11: 0.015 sec].[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Starting deployment.[ deployerId=2 ]
    Jun 15, 2009 1:07:17 PM  [Debug ]:clusterRestartTriggered for transactionId:223, clusterEventAction:cluster restart triggered
    Jun 15, 2009 1:07:17 PM  [Debug ]:Mark transaction '223' as offline phase.
    Jun 15, 2009 1:07:17 PM  [Info  ]:+++ Performing offline deployment. Server is being restarted +++.The timeout for the operation is:  86400 sec.
    Jun 15, 2009 1:07:17 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 0 ms.
    Jun 15, 2009 1:07:47 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 484 ms.
    Jun 15, 2009 1:08:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 30484 ms.
    Jun 15, 2009 1:08:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 62140 ms.
    Jun 15, 2009 1:09:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 92156 ms.
    Jun 15, 2009 1:09:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 122171 ms.
    Jun 15, 2009 1:10:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 152171 ms.
    Jun 15, 2009 1:10:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 182296 ms.
    Jun 15, 2009 1:11:20 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 212905 ms.
    Jun 15, 2009 1:12:22 PM  [Info  ]:Engine is up and running. Wait for engine deployment result.
    Jun 15, 2009 1:12:22 PM  [Debug ]:DC API will create new CM
    Jun 15, 2009 1:12:52 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 305686 ms.
    Jun 15, 2009 1:13:22 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 335685 ms.
    Jun 15, 2009 1:13:53 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 365701 ms.
    Jun 15, 2009 1:14:23 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 395701 ms.
    Jun 15, 2009 1:14:53 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 425763 ms.
    Jun 15, 2009 1:15:24 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 456856 ms.
    Jun 15, 2009 1:15:54 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 487012 ms.
    Jun 15, 2009 1:15:57 PM  [Info  ]:Engine is up and running. Wait for engine deployment result.
    Jun 15, 2009 1:15:57 PM  [Info  ]:server is online, time:[id:#10, elapsed: 520059 ms.]
    Jun 15, 2009 1:15:57 PM  [Path  ]:Deployment completed. Preparing the deployment result.[ deployerId=2 ]
    Jun 15, 2009 1:15:57 PM  [Path  ]:
    Sorted Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca --> xappscpmsm~strategymanagement.sda'
         Sdu info :name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Aborted'
              Description:'1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
         2. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Aborted'
              Description:'1. Contains Aborted deployment component:
    sdu id: sap.com_xappscpmsm~strategymanagement
    sdu file path: F:\usr\sap\PI7\J71\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\223\CPMSTRMGMAPC00_0_sca1245064026979\DEPLOYARCHIVES\xappscpmsm~strategymanagement.sda
    version status: NEW
    deployment status: Aborted
    description: 1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
    Deployment Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Aborted'
              Description:'1. Contains Aborted deployment component:
    sdu id: sap.com_xappscpmsm~strategymanagement
    sdu file path: F:\usr\sap\PI7\J71\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\223\CPMSTRMGMAPC00_0_sca1245064026979\DEPLOYARCHIVES\xappscpmsm~strategymanagement.sda
    version status: NEW
    deployment status: Aborted
    description: 1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
              Time statistics:
              Contained DCs:
              1.1:name 'xappscpmsm~strategymanagementdic', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465042'.
              1.2:name 'xappscpmsm~strategymanagementdoc', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465046'.
              1.3:name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Aborted'
              Time statistics( ms ):
                   1.deployment : 34906
                        1.1.Notify:Event triggered : 157
                        1.2.Disable LCM deployment : 34656
                             1.2.1.Perform delivery : 34656
                                  1.2.1.1.Application Deployer : 34656
                        1.3.Notify Observers : 15
                             1.3.1.Persist in storage : 15
                        1.4.Notify:Event performed : 78
                   2.Persist in storage : 16
                        Description:'1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
              1.4:name 'xappscpmsm~strategymanagementactions', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465041'.
    Jun 15, 2009 1:15:57 PM  [Info  ]:
    Deploy Result Description: Deployment exception occurred during deploy online data. Reason :An error occurred while deploying the deployment item 'sap.com_xappscpmsm~strategymanagement'.; nested exception is:
         com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of sap.com_xappscpmsm~strategymanagement. Cannot deploy it.
    [ deployerId=2 ]
    Jun 15, 2009 1:15:57 PM  [Info  ]:+++ Deployment finished with status 'Error' +++.[ deployerId=2 ][#10: 530.465 sec]
    Jun 15, 2009 1:15:57 PM  [Path  ]:+++++ End  D E P L O Y action +++++[ deployerId=2 ]. Total time:[#9: 530.465 sec]
    Jun 15, 2009 1:15:57 PM  [Debug ]:Incorrect client ID. The stub is not connected yet.
    Jun 15, 2009 1:15:57 PM  [Debug ]:Incorrect client ID. The stub is not connected yet.

  • Multiple devices trouble sharing & syncing apps with iCloud

    We have 2 iPods, 1 iPhone, a PC laptop and a PC all on the same iCloud Apple ID.  The iPhone and the two iPods each have their own Apple ID for making purchases.  The iPhone and one of the iPods are able to share apps purchased separately after the devices are sync'd in iTunes, but one of the iPods (which was originally using a different iTunes account but is now on the same iTunes account as the other iPod and the iPhone - maybe this is part of the problem?) can't seem to get any of the apps from the other two.  In iTunes, we can select the shared apps when this iPod is connected, but when we try to sync, nothing gets added.  Thoughts on what we might be doing wrong?
    Also, I thought iCloud automatically shared apps among devices.  We have to sync the devices on iTunes to share the apps...is this how it is supposed to work?
    Thanks so much for any help anyone can provide!!
    Holmer99

    Welcome to the Apple Community.
    It's unclear from your post whether you fully appreciate the difference between iCloud and iTunes. iCloud has nothing to do with iTunes and each account can use a separate ID, my first thought therefore would be that you may be using a different ID for this iPod. Check you are using the same ID for iTunes on the PC and iTunes on the iPod at settings > store.
    Apps don't exactly sync between devices, they sync according to your settings in iTunes. They can however automatically download to a device when purchased on another, for this to occur, you need the automatic download option checked at settings > store.

  • How do i remove a device from my apple id on find my phone app with out erasing the device.

    How do I remove a device from my apple id on the find my phone app with out erasing it becase it still belongs to my child?  I need to remove a iPad mini and a iPod 4th gen.
    Thanks

    If you haven't already, do Settings > iCloud and turn off Find My iPhone.  You will have to supply your Apple ID and password.
    Then do Settings > General > Reset > Erase All Content and Settings to make the iPhone appear as if it just came out of the box.

Maybe you are looking for