What is Deployment Types of Applications

I create some script installer of applications.
What is deployment types in Applications? It don't like programs of Package. Each programs can create different deployments.
Deployment types has priority property. How to deploy? Only Deploy hight priority or Deploy All(from Hight priority to low )

Only *one* DT per application will be executed on the client (if the requirements are met). The client will try DT2 if the requirements for DT1 are not met etc. The client will not process further DTs if one was executed sucessfully.
Torsten Meringer | http://www.mssccmfaq.de

Similar Messages

  • How to deploy a Flex application (Server Type ColdFusion) to production

    I have built a flex application using Flash Builder 4.6.  It utilizes ColdFusion Flash Remoting for its data services.  When first setting up the data services I had to set a bunch of properties in the flex server section.  Which I am not sure are all correct but the app does run and connect to the data services.  They were:
    Application Server type: ColdFusion
    Use remote object access service
         ColdFusion flash remoting
    Server Location:
         Deployed to Java application server
         Web Root: v:\inetpub\testFlex
         Root URL: http://myDevServerIP/
         ColdFusion Was folder: v:\CF9\JRun4\servers\testFlex\cfusion.ear\cfusion.war
    My question is now when I'm ready to deploy to my production machine and load the app onto a tablet or other computer, obviously the Root URL will be different something like http://myLiveURL.com.  Is this the only thing I change?  Do I even change it here or is there some other location?  Any other things I need to change?
    Thanks!
    Your help is much appreciated!

    All the paths to CFCs are the same in my live production site.  Can you be more specific as to what you mean by "RemoteClass aliases in your AS Classes and CFCs (if any) are correct."?  How will the app know that the CFC is on http://myLiveSite.com instead of http://myDevSite.com?  The only line of code that I have noticed that points to a URL is the endpoint in a file called _Super_XXX.as.  And at the top of that file it says that the file is not meant for editting.
    To clarify...I see your app/code all exists on a server access via a web browser so I can understand that everything still works when deployed.  Mine is a mobile app so when I am developing and testing on my local computer the URL points to my local development machine.  However when I deploy it to a mobile device like a tablet and run the app, it needs to be able to access a cfc on a remote server via a different URL ie. my http://myLiveSite.com/myCFC.cfc instead of http://localhost/myCFC.cfc
    Thanks for your help!  I will now take a look at your thread.
    Message was edited by: ace0215

  • Could not deploy policy for resource: type= url , application=MySecurex,

    Hi
    My situation :
    I have 2 managed weblogic portal 10.3.0 managed servers in a cluster and 1 admin server. All are running as a service.
    Deployments of new versions of applications are submitted by an automated script.
    The steps in the script are :
    - stop the services of the managed servers
    - undeploy the previous version by using ant task
    <target name="undeploy_old" description="undeploy old application" depends="downloadFiles">
                   <java classname="weblogic.Deployer" output="./temp/${buildProject}_${deployEnv}/${buildVersion}/undeploy.txt" fork="yes">
                        <arg value="-adminurl" /> <arg value="${adminurl}" />
                        <arg value="-username" /> <arg value="${weblogic_user}" />
                        <arg value="-password" /> <arg value="${weblogic_pwd}" />
                        <arg value="-undeploy" />
                        <arg value="-name" />
                        <arg value="${buildProject}" />
                        <arg value="-verbose" />
                        <classpath refid="project.class.path"/>
                   </java>     - deploy the new version by using ant task
         <java classname="weblogic.Deployer"
                   output="./temp/${buildProject}_${deployEnv}/${buildVersion}/deploy.txt"
                   fork="yes"
                   maxmemory="512m"
                   inputstring="" >
             <arg value="-adminurl" /> <arg value="${adminurl}" />
             <arg value="-username" /> <arg value="${weblogic_user}" />
             <arg value="-password" /> <arg value="${weblogic_pwd}" />
             <arg value="-stage" />
             <arg value="-verbose" />
              <arg value="-upload" />
             <arg value="-deploy" />
             <arg value="-name" /> <arg value="${buildProject}" />
             <arg value="-source" /> <arg value="./temp/${buildProject}_${deployEnv}/${buildVersion}/${buildProject}.ear" />
             <arg value="-targets" /> <arg value="${deploytargetinstances}" />
              <classpath refid="project.class.path"/>
         </java>- start the services of the managed servers
    Problem:
    When the managed servers are restarting and the new version is going to prepared status, an error occurs for the new version of the application :
    ####<27-dec-2011 13.42 u. CET> <Info> <Deployer> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758076> <BEA-149059> <Module MySecurexEarAdmin of application MySecurex is transitioning from STATE_NEW to STATE_PREPARED on server s40beaportacc1p9106.>
    ####<27-dec-2011 13.42 u. CET> <Error> <Security> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-090064> <The DeployableAuthorizer "myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.>
    ####<27-dec-2011 13.42 u. CET> <Error> <HTTP> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-101199> <Could not deploy policy for resource: type=<url>, application=MySecurex, contextPath=/MySecurexEarAdmin, uri=/campaigns/emails/*.
    weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
         at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:173)
         at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(Unknown Source)
         at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(Unknown Source)
         at weblogic.security.service.AuthorizationManager.deployPolicy(Unknown Source)
         at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
         at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
         at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1189)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1121)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:119)
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:162)
         at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
    weblogic.management.utils.CreateException:
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:241)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:112)
    com.bea.security.xacml.PolicyStoreException: <openjpa-1.1.0-r422266:657916 fatal store error> kodo.jdo.FatalDataStoreException: The transaction has been rolled back.  See the nested exceptions for details on the errors that occurred.
         at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:684)
         at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:576)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
    <openjpa-1.1.0-r422266:657916 nonfatal store error> kodo.jdo.ObjectNotFoundException: The instance "netscape.ldap.LDAPException: error result (32)" does not exist in the data store.
    FailedObject: netscape.ldap.LDAPException: error result (32)
         at com.bea.common.ldap.LDAPStoreManager.flush(LDAPStoreManager.java:370)
         at org.apache.openjpa.abstractstore.AbstractStoreManager.flush(AbstractStoreManager.java:277)
         at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
         at org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:554)
         at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
         at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007)
    ....>
    My workaround:
    Delete the <domain>\servers\s40beaportacc1p9106\data\ldap directory on the managed servers and restart
    Does anyone knows what causes the error and how to solve it?
    The goal is to be able to deploy our application by automation.

    You must use not the original bean that you coded. You must use the bean generated by axis-wsdl2java.
    The bean generated by axis-wsdl2java is:
    - in the first beanMapping: MSPCSService.SMSMO
    - in the second beanMapping: MSPCSService.SMSMOResponse
    As you can see, the bean the axis-wsdl2java will generate is build with the namespace + "." + qname. If you use an domain like java.sun.com in namespace, then the package name you will use is inverted (in the sample, com.sun.java). Look at the code generated.
    You client must use this beans, not the original coded by you.
    This must work, worked for me :)

  • Applications with two deployment types makes uninstall button in software center "greyed" out.

    Hi
    SCCM 2012 R2 running on Windows server 2012 with Windows 7 clients.
    We are publishing applications to users that are available (not required), so that they can be downloaded from the application catalog web site. We have som applications that needs more then one deployment type (different pre requirements depending
    on OS architecture) and when I create two deployment types for one Application the uninstall button in Software center is greyed out? If i remove one of the deployment types so there is just one, well then the Uninstall button is available again.
    An example is Itunes. I publish one Itunes application to the store that has two deployment types, one for X86 and another for X64 with requirments on OS architetcure. the correct version gets installed but the uninstall button is not possible to use. If
    i remove one of the deployment types then the deployment button is not greyed out.
    Is this a bug?
    Thanks everyone. 

    We will be installing CU3 this Friday. During the next week or so, I will deploy the CU3 client to the workstations.
    I do not believe that the uninstall button issue will be addressed with this update either, according to what I have read so far.
    If, by some small yet profound miracle, my uninstall button regains full functionality, I will gladly let all of you know.
    I would hope that Microsoft would address this issue seriously, as I am sure the rumblings of dissatisfaction are beginning to grow louder with each passing CU that ignores the problem.

  • Powershell script to Add global condition (of OS Requirement) to ALL application deployment types

    Looking for an automated way via Powershell to Add global condition (of OS Requirement) to ALL application deployment types.
    We currently have over 300+ Applications in SCCM and looking for an automated way of adding a global condition where OS requirement is equal to Windows 7 instead of the default of Any OS.
    a

    Hi,
    Here is a Adam Meltzer's blog about how to create an Application with a requirement rule pointing to a global condition. You could have a look.
    http://blogs.msdn.com/b/ameltzer/archive/2012/10/23/how-to-create-an-application-with-a-requirement-rule-pointing-to-a-global-condition.aspx
    Best Regards,
    Joyce
    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.

  • Query applications and deployment types

    Hi,
    I got this powershell script to perform the above task (a query for applications and deployment types from SCCM)
    But getting the following error after running the script:
    "You cannot call a method on a null-valued expression
    At Line:2 char:13"
    $SCCMApplications = get-cmapplication
       ForEach($SCCMApplication in $SCCMApplications) {
            if ($ApplicationsToRename.ContainsKey($SCCMApplication.LocalizedDisplayName)){
                $SCCMDeploymentTypes = get-cmdeploymentType -applicationname $SCCMApplication.LocalizedDisplayName
                foreach($SCCMDeploymentType in $SCCMDeploymentTypes)
                        Write-Host "Found SCCM deployment type '$($SCCMDeploymentType.LocalizedDisplayName)' exists for application '$($SCCMApplication.LocalizedDisplayName)'."

    In addition, This tool might be helping you.
    ConfigMgr 2012 - Powershell Right Click Tools
    http://psrightclicktools.codeplex.com/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party
    contact information.
    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.

  • SCCM 2012 use PowerShell to create a GlobalCondition, limiting the Deployment Type of an Application to certain operating systems.

    Title says it all basically.
    In the GUI im able to create a Global Condition (condition type: Expression) where I can add a clause that Limits the deployment type of an application to certain operating Systems (useful for deploying 64-bit apps).
    Is there away to Trigger that Setting using PowerShell? So far I haven't found one.
    Thx in advance...

    I changed my script a little bit and can be found Here. 
    An example to use it is:
    #Get Application named "Test" from the Server "localhost"           
    $app = Get-SCCMApplication "Test" "localhost"
    #A rule will be created from the global condition rule "ForumTest" where the registry value equals to "1"
    $rule1 = Create-SCCMGlobalConditionsRule . "ForumTest" "IsEquals" 1 "Registry"
    #Add the rule to the requirement rule of the deployment type
    $app.DeploymentTypes[0].Requirements.Add($rule1)
    #And save the application
    Save-SCCMApplication $app
    PowerShell, System Center 2012, Windows 8 http://blog.lechar.nl
    Thanks Rob!
    Have unfortunately encountered some problems:
    Get-SCCMApplication does not exist. Changed it to Get-CMApplication
    Create-SCCMGlobalConditionsRule - Cant find any "Create..." cmdlets
    Save-SCCMApplication does not exist
    Get-CMApplication : A positional parameter cannot be found that accepts argument 'TestApp'.
    At H:\sctipt\SetRequirement.ps1:2 char:9
    +  $app = Get-CMApplication "TestApp" "siteServe ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Get-CMApplication], ParameterBindingException
        + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.ConfigurationManagement.Cmdlets.AppMan.Commands.GetApplicationCommand
    Create-CMGlobalConditionsRule : The term 'Create-CMGlobalConditionsRule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At H:\script\SetRequirement.ps1:5 char:11
    +  $rule1 = Create-CMGlobalConditionsRule . "GlobalRuleName" "IsEquals" 1 "Registry"
    +           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Create-CMGlobalConditionsRule:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    Cannot index into a null array.
    At H:\script\SetRequirement.ps1:8 char:2
    +  $app.DeploymentTypes[0].Requirements.Add($rule1)
    +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : NullArray
    Save-CMApplication : The term 'Save-CMApplication' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the na
    me, or if a path was included, verify that the path is correct and try again.
    At H:\script\SetRequirement.ps1:12 char:1
    + Save-CMApplication $app
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Save-CMApplication:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

  • Application Deployment Type Content Locations in CM 2012 R2 DB

    Hello,
    Does anyone know the view or table in the SCCM DB for an application's deployment type's content location? 
    I found the package view which lists all packages content info. but haven't been able to find the content location for our application's deployment types.
    Any help would be appreciated.
    Thanks
    Dave
    - Dave

    The information is stored in v_ContentInfo.ContentSource
    you can use this query to view the Content Source for each application:
    SELECT DISTINCT app.Manufacturer, app.DisplayName, app.SoftwareVersion, dt.DisplayName AS DeploymentTypeName, dt.PriorityInLatestApp, dt.Technology, v_ContentInfo.ContentSource, v_ContentInfo.SourceSize
    FROM dbo.fn_ListDeploymentTypeCIs(1033) AS dt
    INNER JOIN dbo.fn_ListLatestApplicationCIs(1033) AS app ON dt.AppModelName = app.ModelName
    LEFT OUTER JOIN v_ContentInfo ON dt.ContentId = v_ContentInfo.Content_UniqueID
    WHERE (dt.IsLatest = 1)
    Benoit Lecours | Blog: System Center Dudes

  • What is the best way to deploy a java application ??

    Hi,
    I have a question about "deploying" a java application on to a weblogic server.
    Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war) to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that too in a Production environment.
    I know of using Weblogic Console OR the "deploy" utility to do so ......BUT if i have like 100 clusters .....then i would have to "deploy" 100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

    HELLO!!! WELCOME BACK!! I THINK YOU SHOULD USE
    deploy....Hey Thanks.
    is there any network congestion OR any other problem that i can anticipate before i use "deploy" utility. I have heared of some problems(i couldn't remember them now ....because honestly, i couldn't understand them atall when a BEA consultant told me those...).
    so, any problem that may arise ....that i need to think about before deploying ~10 applications to like ~70-80 clusters ....all at a time.
    thanks again for your advise. iam learning to see the big picture of application deployment.
    -sangita

  • Missing deployment type tab

    I have started attempting to use SCCM 2012 in our business and am following some tutorials online to create deployments, however I don't see the Deployment Type tab in between the Home and Folder tabs. What do I need to to to have this tab show up?

    It should appear when you select a deployment type. It's not showing otherwise.
    If you select an application without any DT, it will not be displayed either.
    Benoit Lecours | Blog: System Center Dudes
    You do not select the "deployment type" to see the "deployment types" tab... that would be redundant...
    You select the "Application" (or package) to see the "deployment types" tab...
    The "Deployment Types" tab shows up even if there isn't a Deployment Type (DT) created for the application...

  • Exception during deployment of EJB application

    Hi Experts,
    I'm deploying one EJB application which is giving following warning.
    What's the cause of it?
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application asianpaints.com/bsApp and wait.
    Reason: Clusterwide exception: server ID 8216350:com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: The DataSource for PersistenceManager J2EDB is not created.
         at com.sap.engine.services.ejb.entity.pm.PersistenceManager.initDataSource(PersistenceManager.java:217)
         at com.sap.engine.services.ejb.EJBAdmin.commitLoad(EJBAdmin.java:1112)
         at com.sap.engine.services.ejb.EJBAdmin.prepareStart(EJBAdmin.java:2428)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:239)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:187)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:327)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:230)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4700)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4605)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4578)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name ejbContainer/cmp/tx/asianpaints.com/bsApp/J2EDB, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "J2EDB" does not exist. Possible reasons: the connector in which ConnectionFactory "J2EDB" is defined is not deployed or not started.]
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:529)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:639)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sap.engine.services.ejb.entity.pm.PersistenceManager.initDataSource(PersistenceManager.java:185)
         ... 21 more
    Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "J2EDB" does not exist. Possible reasons: the connector in which ConnectionFactory "J2EDB" is defined is not deployed or not started.
         at com.sap.engine.services.connector.ResourceObjectFactory.getObjectInstance(ResourceObjectFactory.java:207)
         at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl._getObjectInstance(ObjectFactoryBuilderImpl.java:72)
         at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl.access$100(ObjectFactoryBuilderImpl.java:31)
         at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl$DispatchObjectFactory.getObjectInstance(ObjectFactoryBuilderImpl.java:210)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:280)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:414)
         ... 25 more
    Pls help as im waiting for your reply...
    regards,
    Amey

    Hi Yordan,
    This is where im specifying my datasource in persistent.xml file(that is  in "General tab"  of EJB DC)
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE persistent-ejb-map SYSTEM "persistent.dtd">
    <persistent-ejb-map>
         <locking
              type="Table"/>
         <db-properties>
              <data-source-name>J2EDB</data-source-name>
         </db-properties>
         <entity-beans>
              <entity-bean>
                   <ejb-name>OEMBean</ejb-name>

  • EPMA 11.1.1.3  deployment of ASO application to Essbase issue

    Hi,
    We are having trouble deploying an ASO application from EPMA to Essbase. When we deploy the application it validates okay and then completes 100% but the outline does not get loaded into Essbase. In the EPMA deployment message text is the following error
    *[Network Error: Cannot send Data, Loading new outline for database Failed]*
    NB: 1. we have two other applications: a planning application and a BSO application. Both can be successfully deployed from the same application library to the same Essbase server so i think the issue is specific to the ASO application.
    2. We successfully deployed the ASO application last Friday at 4pm prior to the change I am tryign to implement this week.
    3. The three applications share common dimensions from the shared library one of which is the Account dimension.
    4. The change I am trying to deploy is an alternate hierarchy in the account dimension (dynamic calc - containing shared members) - I have changed the storage type to Storedata in the ASO application.
    5. I have subsequently removed the alternate hierarchy and tried to deploy - still gettign the same issue.
    Any suggestions on where to look to solve this would be appreciated.
    Thanks in advance

    Restoring the whole driectory has still been unsuccessful.
    deployign the application from EPMA will start to build the otn file - very slowly - it took over an hour and then it just stops and never completes the deploy so we are left with an OTN and an OTL file and EPMA states that the application is deployed but out of sync with deployment.
    the error we are gettign in the application log file is
    [Thu Oct 04 09:20:27 2012]Local/FINASO///Error(1270005)
    Fatal error: invalid page encountered in aggregate storage file at location [0001.0001.00000002]
    [Thu Oct 04 09:20:27 2012]Local/FINASO///Error(1270071)
    Page ID [0000.0000.00000000] in the page header doesn't match page location [0001.0001.00000002]
    I have also tried building a replacement ASO application in EPMA and deploying it - we were able to complete this with an application with 3 local dimensions each with 1 member but this took over an hour. when we try to do it with the same build as our DEVELOPMENT equivalent for the ASO file (which works in dev) it starts to build it but then falls over and leaves just an otn in the database directory.
    any ideas on what else i should be lookign at?
    cheers
    Darren

  • Deploying an OC4J Application fails

    We have created a new OC4J container and are getting errors when trying to deploy a OC4J Application.
    We are running 9iAS 9.0.2.2 and are using OEM to do the deployment.
    After selecting our .ear file we get no Web Modules on the 'URL Mappings for Web Modules' step (number 3 of 8), should one be found if .ear file is okay ?
    After getting to the end of the steps and clicking deploy we get the following error:
    >>>>>>>>>>
    Deployment failed: Nested exception Root Cause: Error loading archive: Unknown assembly tag in file:/db001/app/oracle/product/9iAS9020_IFS/j2ee/OC4J_Ereg/applications/ereg/: <web-module>; nested exception is: java.lang.InstantiationException: Error loading archive: Unknown assembly tag in file:/db001/app/oracle/product/9iAS9020_IFS/j2ee/OC4J_Ereg/applications/ereg/: <web-module>. Error loading archive: Unknown assembly tag in file:/db001/app/oracle/product/9iAS9020_IFS/j2ee/OC4J_Ereg/applications/ereg/: <web-module>; nested exception is: java.lang.InstantiationException: Error loading archive: Unknown assembly tag in file:/db001/app/oracle/product/9iAS9020_IFS/j2ee/OC4J_Ereg/applications/ereg/: <web-module>
    >>>>>>>>>>
    The application.wml file in the .ear file is
    >>>>>>>>>>
    <?xml version="1.0" ?>
    <!DOCTYPE orion-application (View Source for full doctype...)>
    - <!--
    The global application config that is the parent of all the other
    applications in this server.
    -->
    - <orion-application autocreate-tables="true" autodelete-tables="false" treat-zero-as-null="true">
    <web-module id="defaultWebApp" path="../default-web-app" />
    <persistence path="../persistence" />
    - <!--
    Path to the libraries that are installed on this server.
    These will accesible for the servlets, EJBs etc
    -->
    <library path="../lib" />
    <principals path="./principals.xml" />
    - <log>
    <file path="/db001/app/ereg/log/global-application.log" />
    </log>
    <data-sources path="./data-sources.xml" />
    - <mail-session location="mail/MailSession" smtp-host="localhost">
    <property name="mail.transport.protocol" value="smtp" />
    <property name="mail.smtp.from" value="[email protected]" />
    </mail-session>
    - <namespace-access>
    - <read-access>
    - <namespace-resource root="">
    - <security-role-mapping name="<jndi-user-role>">
    <group name="users" />
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    - <write-access>
    - <namespace-resource root="">
    - <security-role-mapping name="<jndi-user-role>">
    <group name="users" />
    </security-role-mapping>
    </namespace-resource>
    </write-access>
    </namespace-access>
    </orion-application>
    >>>>>>>>>>
    Any ideas what we are doing wrong ?
    Thanks
    Simon.

    Additional Information:
    We ran the following command :
    "dcmctl validateEarFile -f /tmp/ereg_ear/e-regulation.ear"
    and got :
    name = JDBC type = null
    name = OracleConnectionCacheImpl type = JDBC_ConnectionSource
    name = JDBC type = null
    name = OracleConnectionPoolDataSource type = JDBC_DataSource
    name = CONNECTION_1 type = JDBC_Connection
    ADMN-906037
    oracle(9iAS9020_IFS)$ dcmctl geterror ADMN-906037
    ADMN-906037
    The Java environment property http.proxyHost has not been defined. Define the environment variable ORACLE_DCM_JVM_ARGS="-Dhttp.proxyHost=<proxy-host-name> -Dhttp.proxyPort=<proxy-port-number>" using the right proxy host and port number and try again.
    Any Ideas ?
    Thanks
    Simon.

  • Error while deploying a composite application

    Hi
    I have an error while deploying my composite application.
    It says
    java.lang.NoClassDefFoundError: com/sap/caf/ui/utils/cool/CoolConnectionProperties
    The versions of my NWDS and WAS are 7.0.Please help.
    Thanks,
    ms.

    Hi
    I have added references to libraries with hard reference type.I also added the dc
    tc/conn/connectorframework.
    I still have errors
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28823sap.comcarpool~permissions.sda
    Aborted: development component 'carpool/permissions'/'sap.com'/'local'/'20070702161445':
    Caught exception during access of archive "E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda":
    java.lang.RuntimeException: ERROR: Cannot initialize EARReader: Error while initializing Extended Ear Reader using file: E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda. Reason: Exception occurred while reading ear descriptor xml. Reason: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: </ expected(META-INF/application-j2ee-engine.xml, row:10, col:25)Exception is:
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28822sap.comcarpool.ear
    Aborted: development component 'carpool'/'sap.com'/'local'/'20070702165134':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/carpool.. Reason: Exception during generation of components of application sap.com/carpool in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/carpool in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Regards
    ms.

  • Cannot delete last Deployment Type as it is referenced by a previously deleted Deployment Type

    Hi guys...
    I have previously created dependencies between two (2) separate Application's Deployment Types (DT) as such:
    "DT_A in Application_A" depends on
    "DT_B in Application_B"
    During some test procedures, we have deleted the whole of Application_A (along with all its DTs).
    Now, we are unable to delete DT_B as well as it complains that it is still being referenced by (the already deleted)
    DT_A. Obviously we can't delete Application_B as a whole as it is still complaining that
    DT_B is still being referenced.
    The References tab in
    Application_B still shows that it is still being referenced by Application_A even though searching from the Console as well as Get-CMApplication does not show any more of the deleted
    Application_A
    The last and only Revision in
    Application_B's Revision History cannot be deleted as its Delete button is greyed out.
    However, the View button can be clicked and it shows the historical revision during the time when Application_A still referenced Application_B.
    Any ideas on how we can delete Application_B ? Is deleting Applications and DTs via SQL Query possible ?

    Yup... got it done via Remove-WmiObject...
    1. First, find the offending Application_A still referencing the Application_B
    !!AND MAKING SURE IT IS THE CORRECT ONE!! via:
    Get-Wmiobject -Namespace "root\SMS\Site_PRI" -Class SMS_Application | Where-Object { $_.LocalizedDisplayName -eq "Application_A" }
    2. Once confirmed that it is the correct Application, remove it by piping to Remove-WmiObject via:
    Get-Wmiobject -Namespace "root\SMS\Site_PRI" -Class SMS_Application | Where-Object { $_.LocalizedDisplayName -eq "Application_A" } | Remove-WmiObject
    3. Delete the referenced Application_B as per normal procedure via the SCCM Console:
    Delete Deployments
    Delete Deployment Type(s)
    Delete Revision(s)
    Retire
    Delete Application
    Done.
     

Maybe you are looking for