Deployment configuration after server loss

Hi,
I have deployment of terminal services windows server 2012 (R2) 
and I lost one server from the deployment.
In server manager it is not possible to configure deployment due that.
I can access to the configuration DB but haven't figured out what to remove or 'manipulate' to get the setup configurable again.
Should I deploy new server to domain with the same FQDN or modify the database ?
what would be the prober way to proceed?
Regards, Tomi 

Hi Tomi,
Which RDS server role loss for your environment?
Changing the name of a RD Connection Broker server is not supported.  If you are able to remove RD Connection Broker Role Service and install a new RDS deployment you may be able to get it working again (with perhaps a few registry fixes), but you
will lose all of the configuration data associated with your deployment.  If you have a very basic RDS deployment it may not be a big deal to recreate the collections, configure settings, publish RemoteApps, etc., as they were before.
(Quoted from below link)
Source:
Server 2012 R2 Remote Desktop Connection
Broker, Server Name Change.
Hope it helps!
Thanks.
Dharmesh Solanki
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • After deploy into weblogic server while running the application-404 Error

    Hi All,
    Created an ADF application and Deployed this application to Weblogic server.
    I am getting the below error After deploy into weblogic server while running the application
    I am able to run this application well in JDeveloper using the IntegratedWebLogicServer.
    The Application is successfully deployed to the Web Logic server.
    While creating the domain, I have extended the Oracle JRF classes.
    Error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    JDeveloper Version : 11.1.1.3.0
    Weblogic Version : 10.3.3.0
    Thanks
    Satish

    On the Deployments look for the Testing tab.. you will see your test link to check your deployment ..
    Some times.. for some reasons( which i dontKnow :( it doesnt identify with m/c name.. repalce it with IP address..and give a try.. if its on local /c u can try 127.0.0.1 /(or local host too)

  • Windows Image Deployment - WinPE - Execute Command After Server Image Deployment but Before WinPE Reboot

    Simplified version: Execute command in WinPE after server image deployment but before WinPE reboots.
    I have a custom ISO with a boot.wim and install.wim for deploying Windows Server to our environment. Our environment does not allow DHCP and we have no static IPs available at build time so this will all be done with no internet connection during all phases
    of deployment.
    We have a custom HTA form that generates an XML file based on user input and stores it on the RAMDisk during WinPE. How can we move this XML file from the RAMDisk to the deployed Windows Server image?
    Thanks in advance, Tim

    I believe you should be able to do this during the offlineServicing configuration pass.  You would just need to add into your answer file a command or script to copy from the XML file over to the newly created C:\ drive.  
    I don't have System Image Manager installed on the computer I'm using but if I recall there is a spot during the offlineServicing pass to execute custom commands. You would just add your script path there, the WinPE system drive letter is
    X:\ , and I think the target drive letter Windows is installed to might change depending on how many devices you have hooked up so do a test install and hit SHIFT-F10 , from there you can run diskpart > list volume to see where the new Windows
    install is located. 
    Another alternative could be using a USB drive as your install media, then you can run a script during offlineServicing to copy that XML over to the USB drive.

  • How to use custom pipeline dlls in Biztalk Projects so that they appear in the send/receive pipeline configuration after deployment?

    I have a existing Biztalk application that uses custom pipelines for receiving excel files. I have the dll of that custom pipeline. Now i created another BT application that needs to use that same custom pipeline. But after i deploy the application in
    Biztalk, i can't see the  pipeline available in Receive pipeline configuration combo box during configuration. I have referenced the custom pipeline dll in my project before deploying, but that doesn't help. I also copied the dll in the C:\Program Files
    (x86)\Microsoft BizTalk Server 2010\Pipeline Components folder and C:\Program Files (x86)\Microsoft BizTalk Server 2010 folder, but that doesn't make the pipelines appear during configuration too.
    Can anyone give any idea on how can i use these custom pipeline dlls in project so that they appear in configuration after deployment?

    If you plan on using the deployed pipeline across multiple applications in BizTalk, the BizTalk Application (using the BizTalk Server Administration Console) should have the other application [where the pipeline is deployed] as reference.
    For e.g.: Custom Pipeline (myCustomPipeline) part of a BizTalk Project (dll - myCustomProject.dll) deployed under Application [Some Application] also to be used in another BizTalk Application [Some Other Applicaiton] then using BizTalk Server Administartor
    right click the "Some Other Application" and select "Properties"
    on the "Properties" page, left hand side, select "References"
    on the right-hand side, use "Add" to add the "Some Project" as a reference.
    Doing so will ensure that ALL resources (maps, schemas, orchestrations, send ports, receive locations, rules, etc.) deployed for "Some Application" are available/referensible in "Some Other Application".
    Regards.

  • Unable to access Web Method after deploying into the server

    Hi,
    I'm Unable to access Web method after deploying into the server.
    My Web method is 
    [WebMethod]
    [ScriptMethod(ResponseFormat = ResponseFormat.Json )]
    public object getOwners()
    DataTable dt = _qbObj.returnDDLData("employeedetails", "EmpID", "EmpFirstName");
    if (dt == null)
    return new { Result = "Error", Options = "Error getting data" };
    string[] strAttributes = { "ID", "Name" };
    string[] strColName = { "EmpID", "EmpFirstName" };
    List<SolOwners> lstObject = convertToList(dt, strAttributes, strColName, new SolOwners());
    var owners = lstObject.Select(c => new { DisplayText = c.Name, Value = c.ID });
    return new { Result = "OK", Options = owners };
    When I.m accessing that method after deploying into server, I got following error.
    System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: &lt;&gt;f__AnonymousType9`2[System.String,System.Collections.Generic.IEnumerable`1[&lt;&gt;f__AnonymousTypea`2[System.String,System.String]]] cannot be serialized because it does not have a parameterless constructor.
    at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)
    at System.Xml.Serialization.XmlSerializationWriter.CreateUnknownTypeException(Type type)
    at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write71_anyType(Object o)
    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    --- End of inner exception stack trace ---
    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
    at System.Web.Services.Protocols.XmlReturnWriter.Write(HttpResponse response, Stream outputStream, Object returnValue)
    at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
    at System.Web.Services.Protocols.WebServiceHandler.Invoke()Please help me to solve that issue.Thank you.

    Hi Vani,
    What project are you developing? According to your code looks like an Asp.Net application? Am i right?
    If so , please repost in  ASP.Net Forum
    http://forums.asp.net for more efficient responses.
    This forum is discuss problems of C# development.
    Have a nice day!
    Kristin
    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.

  • Post-deployment configuration failed error in windows 2012 server

    HI,
    After complete install WSUS I am getting  post-deployment configuration failed error
    WSUS files are not installed in given path even folder also not created 
    kindly suggest to me 

    Just start from this bit
    There are a few workarounds to this problem so that we can complete the WSUS role Installation and move on to bigger and better things with Config Man.
    The easy way would be to launch the WSUS admin console. You will immediately get prompted for the post installation tasks. You just populate the fields and you are done.
    Cheers Paul | http://sccmentor.wordpress.com

  • Websites were deleted from configuration after Maverick OSX Server Update

    Websites were deleted from configuration after Maverick OSX Server Update.  My subversion access was also overwritten and no longer works.

    if that was a bug report, then Apple might or might not see it here.  There's a Provide Server Feedback in the menus of Server.app, if you'd like to let the Server.app folks know about the upgrade problems I've encountered.
    If you're looking for help resetting the web sites (I'm not clear if you're reporting a bug or looking for help with this), then check Server.app for where the files should be (the default location is under /Library/Server/Web/Data directory) and see where your current sites are stored in the file system, establish the Site via Server.app (usually with a directory under the  /Library/Server/Web/Data path) and move the contents over to the new location.
    As for the Outlook comment in your footer, Microsoft Outlook also generally needs to have the FQDN requirements removed in the SMTP HELO processing.  Outlook doesn't send that, and the default Postfix configuration will reject those connections as spam.  Here's a discussion of how to do this.  (I don't see a path to the HELO processing via sudo serveradmin settings mail:postfix commands.)

  • Crystal report viewer 13 are displaying blank page after deploying in web server

    Dear friends, i have designed crystal report (in VS2012 &  CRRuntime_32bit_13_0_8 installed in web server) it's working fine in machine VS2012, but when deploying in web server (Windows Server 2008 R2 64bit) it's getting blank page.
    I have read the http://adilmca.wordpress.com/2013/04/08/visual-studio-2012-crystal-report-not-working-on-windows-server-2012-0x800a1391-javascript-runtime-error-bobj-is-undefined/. But this is not working for me.
    I have copy the entire Crystal Report Support folder : C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13
    Please suggest me some solutions to resolve this issues...
    Regards, Stefano S.

    There is something "deeper" happening here (unless you're using dome old version of IIS (v. 6, etc.))... I think logging the app will help. I'd use Process Monitor first - see if you get any "Access Denied" messages. An http sniffing utility like Fiddler may also provide useful info.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • [Forum FAQ] How to install and configure Windows Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely

    As we all know,
    the Windows Server Essentials Experience role is available in Windows Server 2012 R2 Standard and Windows Server 2012 R2 Datacenter. We can add the Windows Server
    Essentials Experience role in Server Manager or via Windows PowerShell.
    In this article, we introduce the steps to install and configure Windows
    Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely. For better analyze, we divide this article into two parts.
    Before installing the Windows Server Essentials Experience Role, please use
    Get-WindowsFeature
    PowerShell cmdlet to ensure the Windows Server Essentials Experience (ServerEssentialsRole) is available. (Figure 1)
    Figure 1.
    Part 1: Install Windows Server Essentials Experience role locally
    Add Windows Server Essentials Experience role
    Run Windows PowerShell as administrator, then type
    Add-WindowsFeature ServerEssentialsRole cmdlet to install Windows Server Essentials Experience role. (Figure 2)
    Figure 2.
    Note: It is necessary to configure Windows Server Essentials Experience (Post-deployment Configuration). Otherwise, you will encounter following issue when opening Dashboard.
    (Figure 3)
    Figure 3.
      2. Configure Windows Server Essentials Experience role
    (1)  In an existing domain environment
    Firstly, please join the Windows Server 2012 R2 Standard computer to the existing domain through the path:
    Control Panel\System\Change Settings\”Change…”\Member of. (Figure 4)
    Figure 4.
    After that, please install Windows Server Essentials Experience role as original description. After installation completed, please use the following command to configure Windows
    Server Essentials:
    Start-WssConfigurationService –Credential <Your Credential>
    Note: The type of
    Your Credential should be as: Domain-Name\Domain-User-Account.
    You must be a member of the Enterprise Admin group and Domain Admin group in Active Directory when using the command above to configure Windows Server Essentials. (Figure 5)
    Figure 5.
    Next, you can type the password for the domain account. (Figure 6)
    Figure 6.
    After setting the credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 7)
    Figure 7.
    By the way, you can use
    Get-WssConfigurationStatus
    PowerShell cmdlet to
    get the status of the configuration of Windows Server Essentials. Specify the
    ShowProgress parameter to view a progress indicator. (Figure 8)
    Figure 8.
    (2) In a non-domain environment
    Open PowerShell (Run as Administrator) on the Windows Server 2012 R2 Standard and type following PowerShell cmdlets: (Figure 9)
    Start-WssConfigurationService -CompanyName "xxx" -DNSName "xxx" -NetBiosName "xxx" -ComputerName "xxx” –NewAdminCredential $cred
    Figure 9.
    After you type the commands above and click Enter, you can create a new administrator credential. (Figure 10)
    After creating the new administrator credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 11)
    After a reboot, all the configurations will be completed and you can open the Windows Server Essentials Dashboard without any errors. (Figure 12)
    Figure 12.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Part 2: Install and configure Windows Server Essentials Experience role remotely
    In an existing domain environment
    In an existing domain environment, please use following command to provide credential and then add Server Essentials Role: (Figure 13)
    Add-WindowsFeature -Name ServerEssentialsRole
    -ComputerName xxx -Credential DomainName\DomainAccount
    Figure 13.
    After you enter the credential, it will start install Windows Server Essentials role on your computer. (Figure 14)
    Figure 14.
    After the installation completes, it will return the result as below:
    Figure 15.
    Next, please use the
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with a remote computer. You can use the commands below:
    Enter-PSSession –ComputerName
    xxx –Credential DomainName\DomainAccount (Figure 16)
    Figure 16.
    Then, please configure Server Essentials Role via
    Add-WssConfigurationService cmdlet and it also needs to provide correct credential. (Figure 17)
    Figure 17.
    After your credential is accepted, it will update and prepare your server. (Figure 18)
    Figure 18.
    After that, please type “Y” to continue to configure Windows Server Essentials. (Figure 19)
    Figure 19.
    2. In a non-domain environment
    In my test environment, I set up two computers running Windows Server 2012 R2 Standard and use Server1 as a target computer. The IP addresses for the two computers are as
    below:
    Sevrer1: 192.168.1.54
    Server2: 192.168.1.53
    Run
    Enable-PSRemoting –Force on Server1. (Figure 20)
    Figure 20.
    Since there is no existing domain, it is necessary to add the target computer (Server1) to a TrustedHosts list (maintained by WinRM) on Server 2. We can use following command
    to
    add the TrustedHosts entry:
    Set-Item WSMan:\localhost\Client\TrustedHosts IP-Address
    (Figure 21)
    Figure 21.
    Next, we can use
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with the remote computer. (Figure 22)
    Figure 22.
    After that, you can install Windows Server Essentials Experience Role remotely via Add-WindowsFeature ServerEssentialsRole cmdlet. (Figure 23)
    Figure 23.
    From figure 24, we can see that the installation is completed.
    Figure 24.
    Then you can use
    Start-WssConfigurationService cmdlet to configure Essentials Role and follow the steps in the first part (configure Windows Server Essentials Experience in a non-domain environment) as the steps would be the same.
    The figure below shows the status of Windows Server Essentials.
    Figure
    25.
    Finally, we have successfully configured Windows Server Essentials on Server1. (Figure 26)
    Figure 26.
    More information:
    [Forum
    FAQ] Introduce Windows Powershell Remoting
    Windows Server Essentials Setup Cmdlets
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

  • Configure J2EE Server in FB4 beta

    Hi,
    I think, there are very serious problems with J2EE deployment in FB4 beta2.
    1) Can not change or add or delete anything in "Target Runtime".
    New button and "Show all runtimes" checkbox don't do anything.   "New" button gets disabled and no way to re-enable it.
    Can't unistall Facets either.
    Imported my Flex project from FB3.  It produced error: "Target Runtime JBoss 5.0 not defined".
    So I am going to project Properties/Target Runtime to remove old one and add a "new" JBoss 5.0.
    Nothing works (see #1).
    2) OK, trying to create a new Flex project, going through Create Flex project wizard.
    On page "Configure J2EE Server" it is expecting Server location with existing WEB-INF/flex folder containing flex-config.xml or services-config.xml
    But from where, some other existing project ?
    Plus, JBoss5 forces you to work with non-exploded archives (WAR, JAR, etc)
    How do you resolve that one ?
    Am I missing something ?   Or is FB4 beta2 is completely unusable with JBoss 5.1 ?
    Is there beta3 or nightly build where it is fixed ?
    Please help !
    TIA,
    Oleg.

    Still no solution to that problem ?
    Say, I am developing an AIR2 app which has some Java part to it (remoting, Web Service, whatever),
    with or without BlazeDS (or LCDS). Anything requiring Web Server (J2EE / servlet container).
    How do I add new Server to FB4 beta2 ?  Lets say Tomcat 6 or JBoss 5.1.
    If I go to Preferences->Server->Runtime Environments, there is only one selection - J2EE  Runtime Library (what is that?)
    OK, I click Add, then link Download additional server adapters, and in a few seconds prompts for login/pwd for SAP Community Network.
    I don't know any... so after I click Cancel, I can only choose Geronimo, GlassFish, Jetty, Weblogic, WASCE.
    No Tomcat, No JBoss ?   Nothing like a long selection list in FB3 ?
    Search for server runtime environments stops right away.   FB3 can find a dosen ones on my hard disk.
    Is it a major hole in FB4 beta2 ?
    Makes it pretty useless to me...  :-(
    Please advise !
    Thanks,
    Oleg.
    Message was edited by: olegkon
    Message was edited by: olegkon

  • Essbase shuts Down Abruptly+Deployment to App server Failed

    Hi Folks,
    I was trying to Install 11.1.1.3 ...as far as the installation part is concerned it goes well However when it comes to configuring the configuration part fails and throws me the following error when trying to Deploy to Application server ...Here is the Log that was Generated in Configtool.log File ....Also when i try physically checking into the win services Essbase service shuts down after every services refresh ...Any solutions would be highly appreciated
    Log
    "(Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, DEBUG, Done appending log info from : C:\Hyperion\deployments\WebLogic9\scripts\deployeas.log
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, DEBUG, Verifying deployment results for server eas...
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, DEBUG, Application "eas" has been successfully deployed.
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, ERROR, Failed to deploy application "easconsole".
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    com.hyperion.cis.config.AppDeployException: Weblogic deployment failed
         at com.hyperion.cis.config.AppServerDeployer.deployToWeblogic9(AppServerDeployer.java:813)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:294)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:269)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeAppDeploymentTask(RunAllTasksWizardAction.java:609)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:215)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, Setting all instances to state Started...
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, Dumping instances serve order:
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, >>>[eas]
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, End of dump
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, ...done"
    I tried doing a fresh Install ...even that doesn't work.
    Is it because i am using Apache 2.2 i even tried downgrading it to Apache 2.0.6 .Most important thing that i forgot to mention i am trying to configure using Web-logic 9.2 and not using the Embedded java built in controller .
    Edited by: user11310522 on Oct 16, 2009 9:38 AM

    In Reference to the Above post here is the log generated in configtool_err.log file .I dunno if this could be of any help in figuring out the issue with Essbase
    "(Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, ERROR, Failed to deploy application "easconsole".
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    com.hyperion.cis.config.AppDeployException: Weblogic deployment failed
         at com.hyperion.cis.config.AppServerDeployer.deployToWeblogic9(AppServerDeployer.java:813)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:294)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:269)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeAppDeploymentTask(RunAllTasksWizardAction.java:609)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:215)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)"

  • IIS Issue:when trying to download code from AWS S3 and deploy in IIS server using Power Shell script while Windows startup Default Application pool is not started.

    Hi,
    I am trying to launch Amazon EC2 windows server 2008 R2 instance using AWS Auto Scaling feature. I have used cusmized AMI in Autoscaling Launch configuration to launch an instance.I have placed Power Shell script in AMI. 
    The responsibility of script is to download code from AWS S3 and deploy in IIS server while windows startup first time.
    When i check status, IIS is started succesfully. But default Application pool is not started.
    To resolve this issue i have written one scheduled script. It helps to start the application pool if any application pool is in stopped state.
    After this Application pool is started but i am not able to communicate with IIS server through browser.  
    Please help any one to resolve this issue.
    Thanks in advance

    Hi Vchreddy,
    For the IIS issue, we recommend you can post in IIS forum for more effective support:
    http://forums.iis.net/
    Thanks for your understanding.

  • Configure Yosemite Server WebApp with LaunchD

    Question
    Has anyone successfully been able to start a webapp via a webappctl configuration which specifies a launchd configuration in their webapp.plist launchKeys key?
    Background
    Specifically, with Server.app installed, one can, in theory, configure custom web applications which would show up in the Server.app GUI under the "Advanced Settings" of a Website configuration.
    If you take a look at the ReadMe.txt in /Library/Server/Web/Config/apache2 there's a section which states:
    webapps/
    This directory contains the webapp.plist files for all defined webapps. See the man page for webapp.plist(8) and webappctl(8). (Server app man pages are present in /Applications/Server.app/Contents/ServerRoot/usr/share/man/.)
    Administrators are strongly encouraged to use the webapp mechanism instead of modifying virtual host config files directly. In general, you can place Apache configuration directives in an "Include" file, and create a webapp.plist file that references that Include file. You can then activate or de-activate that Include file for the default sites, or for specific custom sites, by using webappctl(8).
    You can also read the man entries, as suggested in the ReadMe.txt by these terminal commands:
    man -M /Applications/Server.app/Contents/ServerRoot/usr/share/man/ webapp.plist
    man -M /Applications/Server.app/Contents/ServerRoot/usr/share/man/ webappctl
    There's also a sample webapp configuration /Library/Server/Web/Config/apache2/com.example.mywebapp.plist which has some comments in it about how this plist could be configured.
    Setup
    In my case I have added a webapp.plist to the /Library/Server/Web/Config/apache2/ directory which looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <!-- See man pages for webapp.plist(5) and webappctl(8) for information about webapp.plist -->
    <plist version="1.0">
    <dict>
      <key>includeFiles</key>
        <array/> <!-- Include files are activated in virtual host when webapp is started -->
      <key>launchKeys</key>
        <array> <!-- Launchd plists in /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons are loaded when webapp is started -->
          <string>org.levi.foo</string>
        </array>
      <key>name</key>
        <string>org.apache.tomcat</string>
      <key>displayName</key> <!-- Name shown in Server app -->
        <string>Tomcat</string>
      <key>proxies</key> <!-- ProxyPass/ProxyPassReverse directives are activated when webapp is started -->
        <dict/>
      <key>requiredModuleNames</key>
        <array/>
      <key>installationIndicatorFilePath</key> <!-- The presence of this file indicates web app is installed -->
        <string>/Library/Tomcat/Home/bin/catalina.sh</string>
      <key>sslPolicy</key> <!-- Determines webapp SSL behavior -->
        <integer>0</integer> <!-- 0: default, UseSSLWhenEnabled -->
      <!-- 1: UseSSLAlways -->
      <!-- 2: UseSSLOnlyWhenCertificateIsTrustable -->
      <!-- 3: UseSSLNever -->
      <!-- 4: UseSSLAndNonSSL -->
    </dict>
    </plist>
    Paying specific attention to:
    <key>launchKeys</key>
      <array>
      <string>org.levi.foo</string>
    </array>
    which specifies my launchd.plist which is located at /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.levi.foo.plist and looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
        <string>org.levi.foo</string>
          <key>RunAtLoad</key>
            <true/>
    <key>Program</key>
        <string>/Library/Tomcat/start.sh</string>
    </dict>
    </plist>
    which should simply call the script /Library/Tomcat/start.sh which is simply:
    #!/bin/bash
    BASENAME=`basename $0`
    LOGGER_B="/usr/bin/logger"
    function log {
      MESSAGE="$1"
      ${LOGGER_B} -i -p daemon.notice -t ${BASENAME} ${MESSAGE}
    log "Here I am!"
    Issue
    If I use launchctl to manually load the org.levi.foo.plist:
    $ sudo launchctl load org.levi.foo.plist
    I get the expected message in /var/log/system.log:
    Apr  2 16:12:01 host sudo[85791]:     levi : TTY=ttys000 ; PWD=/Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons ; USER=root ; COMMAND=/bin/launchctl load org.levi.foo.plist
    Apr  2 16:12:01 host start.sh[85795]: Here I am!
    However, if I use webappctl to start my webapp configuration (above):
    $ sudo webappctl start org.apache.tomcat
    I get an error in /var/log/system.log:
    Apr  2 16:18:46 host sudo[85904]:     levi : TTY=ttys000 ; PWD=/Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons ; USER=root ; COMMAND=/Applications/Server.app/Contents/ServerRoot/usr/sbin/webappctl start org.apache.tomcat
    Apr  2 16:18:47 host serverctl[85914]: ERROR: The operation couldn’t be completed. Operation not permitted
    Apr  2 16:18:49 host serverctl[85915]: ERROR: The operation couldn’t be completed. Operation not permitted
    Apr  2 16:18:49 host servermgr_web[85908]: XSWebConfig:ERROR: Failed on second attempt to load /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.l evi.foo.plist
    and I don't see my "Here I am!" message.
    This seems to indicate that my launchd.plist is not making it as far as running the script when trying to start via webappctl, but I have no idea what operation couldn't be completed, or why not. All of the files I've mentioned are owned by root:wheel with rw-r--r-- permissions, except for the script, which is rwx-r-xr-x.
    So, what magic must be performed to get my webapp to load/unload my launchd configuration on start/stop?
    Side note:
    Obviously these configurations and scripts are simple examples I've used for debugging purposes and to simplify the details here. In reality I'm trying to stand up an instance of Tomcat as a "webapp" to run behind Apache 2 on my server such that I can deploy true web apps through Tomcat and have them served to the web.)
    Side note 2:
    I know I can install my launchd.plist in /Library/LaunchDaemons, and omit the launchKeys from my webapp.plist as a workaround, but this does not allow me to start/stop the webapp via Server.app (or the command line equivalent), and, I mean, it should work, right?
    Many thanks,
    Levi

    Turns out a restart made it all work... it seems the configurations in /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons are cached and will not pick up changes until after a restart.

  • Error while deploying configurable sku

    Error while deploying configurable sku in BCC server when i give ready for review and all it gives and INFO msg as
    Can't find display name resource and price in bundle and finally when i give accept for deployment the following error displayed .Please help me to resolve it thanks in advance waiting for your reply soon.
    12:38:11,828 ERROR [DynamoServlet]
    java.lang.NullPointerException
    at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
    a:382)
    at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
    a:441)
    at atg.bizui.taglib.GetProcessURLTag.doStartTag(GetProcessURLTag.java:1
    6)
    at atg.bizui.taglib.elwrap.GetProcessURLTagWrapper.doStartTag(Unknown S
    urce)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspx_meth_b
    z_005fgetProcessURL_005f0(getTasks_jsp.java:1615)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspService(
    etTasks_jsp.java:359)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    22)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
    ilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
    atcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
    ispatcher.java:543)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
    patcher.java:480)
    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
    er.java:94)
    at atg.servlet.ServletUtil.invokeInclude(ServletUtil.java:3552)
    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:757)
    at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
    .java:41)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    dspel005finclude_005f0(getProjects_jsp.java:1192)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fif_005f5(getProjects_jsp.java:1119)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fforEach_005f0(getProjects_jsp.java:1077)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fwhen_005f1(getProjects_jsp.java:1036)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fchoose_005f1(getProjects_jsp.java:1000)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspServi
    e(getProjects_jsp.java:244)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    22)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
    ilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
    atcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
    ispatcher.java:543)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
    patcher.java:480)
    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
    er.java:94)
    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:780)
    at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
    .java:41)
    at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspx_meth_dspe
    _005finclude_005f0(index_jsp.java:2712)
    at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspService(ind
    x_jsp.java:381)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    22)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:290)

    Error while deploying configurable sku in BCC server when i give ready for review and all it gives and INFO msg as
    Can't find display name resource and price in bundle and finally when i give accept for deployment the following error displayed .Please help me to resolve it thanks in advance waiting for your reply soon.
    12:38:11,828 ERROR [DynamoServlet]
    java.lang.NullPointerException
    at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
    a:382)
    at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
    a:441)
    at atg.bizui.taglib.GetProcessURLTag.doStartTag(GetProcessURLTag.java:1
    6)
    at atg.bizui.taglib.elwrap.GetProcessURLTagWrapper.doStartTag(Unknown S
    urce)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspx_meth_b
    z_005fgetProcessURL_005f0(getTasks_jsp.java:1615)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspService(
    etTasks_jsp.java:359)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    22)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
    ilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
    atcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
    ispatcher.java:543)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
    patcher.java:480)
    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
    er.java:94)
    at atg.servlet.ServletUtil.invokeInclude(ServletUtil.java:3552)
    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:757)
    at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
    .java:41)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    dspel005finclude_005f0(getProjects_jsp.java:1192)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fif_005f5(getProjects_jsp.java:1119)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fforEach_005f0(getProjects_jsp.java:1077)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fwhen_005f1(getProjects_jsp.java:1036)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
    c005fchoose_005f1(getProjects_jsp.java:1000)
    at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspServi
    e(getProjects_jsp.java:244)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    22)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
    ilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
    atcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
    ispatcher.java:543)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
    patcher.java:480)
    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
    er.java:94)
    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:780)
    at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
    .java:41)
    at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspx_meth_dspe
    _005finclude_005f0(index_jsp.java:2712)
    at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspService(ind
    x_jsp.java:381)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    22)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:290)

  • Modified CRM application doesn't deployed in PROD server.

    Hello SDN!
    We have DEV and PROD runtime systems for CRM developing. Our custom CRM application successfully deployed to the DEV server many times. But transport to the PROD server hasn't any effect - our application doesn't exists in PROD server.
    In CMS we assemble CRM SCs (SAP-CRMAPP, SAP-CRMDIC, SAP-CRMWEB, SAP-SHRAPP, CUSTCRMPRJ, SAP-SHRWEB), approve it and finally import in in "Production" tab. There was no error during this process.
    I don't want post whole SDM log since it' huge, here is a begin:
    20081014132849 Info   :Starting Step SDM-deploy at 2008-10-14 13:28:49.0325 +6:00
    20081014132849 Info   :deployment of E:\usr\sap\JTrans\CMS\archives\sap.com~SAP-SHRAPP~SMD_CRM502_C~20081014064901.sca is skipped, because it belongs to the software component (sap.com / SAP-SHRAPP)
    20081014132849 Info   :start deployment of archives:http://asu-03-d05:50018
    20081014133737 Info   :connected to deploytool via sdm protocol
    20081014133737 Info   :The following archives will be deployed (on http://asu-03-d05:50018)
    20081014133737 Info   :E:\usr\sap\JTrans\CMS\archives\sap.com~SAP-CRMAPP~SMD_CRM502_C~20081014064154.sca
    20081014133737 Info   :E:\usr\sap\JTrans\CMS\archives\sap.com~SAP-CRMDIC~SMD_CRM502_C~20081014064153.sca
    20081014133737 Info   :starting deployment
    20081014133737 Info   :deployment finished
    20081014133737 Info   :Deploy log:
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :
    20081014133737 Info   :Oct 14, 2008 1:28:58 PM  Info: -------------------------- Starting deployment ------------------------
    20081014133737 Info   :Oct 14, 2008 1:28:58 PM  Info: Error handling strategy: OnErrorStop
    20081014133737 Info   :Oct 14, 2008 1:28:58 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    20081014133737 Info   :Oct 14, 2008 1:28:58 PM  Info: Update strategy: UpdateAllVersions
    20081014133737 Info   :Oct 14, 2008 1:28:58 PM  Info: Starting deployment prerequisites:
    20081014133737 Info   :Oct 14, 2008 1:28:59 PM  Info: Loading selected archives...
    and end of log:
    20081014133737 Info   :Oct 14, 2008 1:37:33 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    20081014133737 Info   :Oct 14, 2008 1:37:33 PM  Info: ----------------------- Deployment was successful ---------------------
    20081014133737 Info   :end of log
    20081014133737 Info   :RC of deployment: 0
    20081014133737 Info   :The cvers update of sap.com_CUSTCRMPRJ.SMD_CRM502_C.20081014071626 cannot be performed, because thes JSPM data is not configured (no engine URL/user or password).
    20081014133737 Info   :Step SDM-deploy ended with result 'success' at 2008-10-14 13:37:37.0117 +6:00
    How to deploy properly our application?
    Regards, Lev

    Hi Lev,
    Please ensure that you have mainted the j2ee engine hostname, port number and userid/password details for deployment onto the server.
    The same can be checked in CMS --> Landscape configurator -->Runtime systems tab.
    Rgards,
    Thulasi

Maybe you are looking for