Datamodeler 2.0 PS1 (-2.0.0-584) Domain Bug(?)

Hi,
i have done following steps and LOST ALL DOMAIN SETTINGS FOR ALL ATTRIBUTES IN LOGICAL MODEL !!!
1.) Installed new sddm 2.0 PS1 binaries.
2.) Opened the old model (just logical, no relational models contained) and saved on another location on disk.
3.) Dropped the old model from disk and deleted from svn.
4.) Moved the converted new model to the old location.
5.) Checked in the new model into svn.
6.) Opened the model with new modeler version.
7.) File/Import old domain settings.
8.) Created new relational model.
9.) Engineer to relational model.
Oooops ...
ALL DOMAINS/DATATYPES ARE "UNKNOWN"!!!
What happens?
Please could anybody help?
Thanks in advance
-ASK-

Hi,
well - I didn't "import/export" the domains ... I changed the domains as follows ...
1. copy "domains/defaultdomains.xml" somewhere else (e.g. "My Documents") - this is the file with all my domains
2. "install" new SDDM into a new folder
3. copy "defaultdomains.xml" from somewhere else (e.g. "My Documents") to "domains/defaultdomains.xml" in the newly installed SDDM
.... and all works fine so far (well not everything, but domains do work).
greetings stueckl

Similar Messages

  • Task Scheduler PS1 with convertto-html and send-mailmessage doesn't deliver HTML, works in E201SP2RU5 EMS

    When I run the script below from EMS it's delivered with the expect HTML table. but if I run it from a task in task scheduler the html is missing.
    I've tried launching it in Task scheduler a couple different  ways with the same results.  This is what I'm using now:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -ServerFqdn exchange.domain.com; C:\scripts\TESTER.PS1"
    Any ideas?
    =========================
    $a = "<style>"
    $a = $a + "BODY{background-color:White;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    $a = $a + "TH{border-width: 1px;padding: 5px;border-style: solid;border-color: black;background-color:LightSteelBlue}"
    $a = $a + "TD{border-width: 1px;padding: 5px;border-style: solid;border-color: black;background-color:Linen}"
    $a = $a + "</style>"
    $MBexportBatchRprt = Get-MailboxExportRequest -ResultSize unlimited -BatchName Test-Batch |
        sort name | Get-MailboxExportRequestStatistics |
        select Name,PercentComplete,status,StartTimestamp,CompletionTimestamp,OverallDuration, EstimatedTransferSize, EstimatedTransferItemCount, BadItemsEncountered |
        ConvertTo-Html -Head $a |
        Out-String
    $messageParameters = @{                       
        Subject = "Report 1"                       
        Body = "Contact [email protected] with problems. <br/><br/> $MBexportBatchRprt"
        From = "[email protected]"                       
        To = "[email protected]"                       
        SmtpServer = "exchange.domain.com"                       
    Send-MailMessage @messageParameters -BodyAsHtml 
    =========================

    When I run the script below from EMS it's delivered with the expect HTML table. but if I run it from a task in task scheduler the html is missing.
    I've tried launching it in Task scheduler a couple different  ways with the same results.  This is what I'm using now:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -ServerFqdn exchange.domain.com; C:\scripts\TESTER.PS1"
    Any ideas?
    =========================
    $a = "<style>"
    $a = $a + "BODY{background-color:White;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    $a = $a + "TH{border-width: 1px;padding: 5px;border-style: solid;border-color: black;background-color:LightSteelBlue}"
    $a = $a + "TD{border-width: 1px;padding: 5px;border-style: solid;border-color: black;background-color:Linen}"
    $a = $a + "</style>"
    $MBexportBatchRprt = Get-MailboxExportRequest -ResultSize unlimited -BatchName Test-Batch |
        sort name | Get-MailboxExportRequestStatistics |
        select Name,PercentComplete,status,StartTimestamp,CompletionTimestamp,OverallDuration, EstimatedTransferSize, EstimatedTransferItemCount, BadItemsEncountered |
        ConvertTo-Html -Head $a |
        Out-String
    $messageParameters = @{                       
        Subject = "Report 1"                       
        Body = "Contact [email protected] with problems. <br/><br/> $MBexportBatchRprt"
        From = "[email protected]"                       
        To = "[email protected]"                       
        SmtpServer = "exchange.domain.com"                       
    Send-MailMessage @messageParameters -BodyAsHtml 
    =========================

  • EJB 3.0 - JSF APPLICATION: DATA DOES NOT PERSIST TO THE DATABASE

    Hi,
    I am developing a JSF - EJB application and the data that I send from JSP Page through JSF Managed Bean --> Session Bean --> Java Persistence does not persist in database.
    Here is my scenario ( Iam using JDeveloper IDE to create this application) -
    SCENARIO START
    The scenario consists of two web pages, one enlisting all the users stored in the database, the other contains a form for adding a user
    1.) INDEX.JSP
    2.) ADDUSER.JSP
    Step 1: Create the USERS Table in database
    CREATE TABLE users
    user_id serial,
    username varchar(255) NOT NULL,
    first_name varchar(255),
    last_name varchar(255),
    password char(64) NOT NULL,
    CONSTRAINT pk_users PRIMARY KEY (user_id)
    Step 2: Add Database Connection To JDeveloper
    Go to Database Connection Navigator and create a New Database Connection using the Wizard
    Step 3: Create a New Application in JDeveloper and select JSF, EJB from Application Template
    Step 4: ENTITY BEAN - In the EJB Node Right Click and Select EJB à New Entites from Table (JPA/EJB3.0)
    Use The Wizard and create Entity Bean from Users Table which creates an Entity Bea POJO file as follows –
    User.java -
    package lux.domain;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.NamedQuery;
    import javax.persistence.SequenceGenerator;
    import javax.persistence.Table;
    @Entity
    @NamedQuery(name = "User.findAll", query = "select o from User o")
    @Table(name = "USERS")
    public class User implements Serializable {
    @Column(name="FIRST_NAME")
    private String firstName;
    @Column(name="LAST_NAME")
    private String lastName;
    @Column(nullable = false)
    private String password;
    @Column(nullable = false)
    private String username;
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="users_seq_generator")
    @SequenceGenerator(name="users_seq_generator", sequenceName="users_user_id_seq")
    @Column(name="USER_ID", nullable = false)
    private Long userId;
    public User() {
    public String getFirstName() {
    return firstName;
    public void setFirstName(String firstName) {
    this.firstName = firstName;
    public String getLastName() {
    return lastName;
    public void setLastName(String lastName) {
    this.lastName = lastName;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    public String getUsername() {
    return username;
    public void setUsername(String username) {
    this.username = username;
    public Long getUserId() {
    return userId;
    public void setUserId(Long userId) {
    this.userId = userId;
    Step 5: STATELESS SESSION BEAN - In the EJB Node Right Click and Select EJB à New Entites from Table (JPA/EJB3.0)
    Again Right Click on Model and create Session Bean from Wizard which creates two files –
    UserDAOBean.java – Stateless Session Bean
    UserDAO.java – Local Interface
    package lux.facade;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import javax.persistence.Query;
    import lux.domain.User;
    @Stateless(name="UserDAO")
    public class UserDAOBean implements UserDAO {
    @PersistenceContext(unitName="Model")
    private EntityManager em;
    public UserDAOBean() {
    public User getUser(int UserId) {
    User u = new User();
    u = em.find(User.class, UserId);
    return u;
    public List<User> getAllUsers() {
    Query q = em.createQuery("SELECT u FROM User u");
    List<User> users = q.getResultList();
    return users;
    public void createUser(User u) {
    String hashedPw = hashPassword(u.getPassword());
    u.setPassword(hashedPw);
    em.persist(u);
    public void updateUser(User u) {
    String hashedPw = hashPassword(u.getPassword());
    u.setPassword(hashedPw);
    em.merge(u);
    public void deleteUser(User u) {
    em.remove(u);
    private String hashPassword(String password) {
    StringBuilder sb = new StringBuilder();
    try {
    MessageDigest messageDigest = MessageDigest.getInstance("SHA");
    byte[] bs;
    bs = messageDigest.digest(password.getBytes());
    for (int i = 0; i < bs.length; i++) {
    String hexVal = Integer.toHexString(0xFF & bs);
    if (hexVal.length() == 1) {
    sb.append("0");
    sb.append(hexVal);
    } catch (NoSuchAlgorithmException ex) {
    Logger.getLogger(UserDAOBean.class.getName()).log(Level.SEVERE, null, ex);
    return sb.toString();
    Step 6: Create a Deployment file in the Model and Deploy this to a JAR file
    Step 7: Now Right Click on View/Controller Node and create a Java File –
    UserController.java -
    package lux.controllers;
    import javax.ejb.EJB;
    import javax.faces.model.DataModel;
    import javax.faces.model.ListDataModel;
    import lux.domain.User;
    import lux.facade.UserDAO;
    public class UserController {
    @EJB UserDAO userDao;
    private User user;
    private DataModel model;
    public String createUser() {
    this.user = new User();
    return "create_new_user";
    public String saveUser() {
    String r = "success";
    try {
    userDao.createUser(user);
    } catch (Exception e) {
    e.printStackTrace();
    r = "failed";
    return r;
    public DataModel getUsers() {
    model = new ListDataModel(userDao.getAllUsers());
    return model;
    public User getUser() {
    return user;
    public void setUser(User user) {
    this.user = user;
    Step 8: Configure page flow in faces-config.xml
    1. Create the JSP file adduser.jsp by right-clicking View-Controller
    node and selecting New > JSP. Use the wizard to create JSF – JSP Page, fill in
    File Name adduser.jsp, click Finish. -
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>New user</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h:messages/>
    <h:panelGrid columns="2">
    <h:outputText value="Username"/>
    <h:inputText
    id="Username"
    value="#{user.user.username}"
    required="true"/>
    <h:outputText value="First name"/>
    <h:inputText
    id="FirstName"
    value="#{user.user.firstName}" />
    <h:outputText value="Last name"/>
    <h:inputText
    id="LastName"
    value="#{user.user.lastName}" />
    <h:outputText value="Password" />
    <h:inputSecret
    id="Password"
    value="#{user.user.password}"
    required="true" />
    <h:panelGroup/>
    <h:commandButton
    action="#{user.saveUser}"
    value="Save"/>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>
    2. Repeat the previous step for another JSP file failed.jsp.
    3. On failed.jsp add the string
    Save failed
    Next we configure the page flow.
    1. Open faces-config.xml.
    2. Create index.jsp -
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>User Listing</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h:outputText value="User Listing"/>
    <h:commandLink action="#{user.createUser}" value="Create a user"/>
    <h:dataTable value="#{user.user}"
    var="dataTableItem" border="1" cellpadding="2" cellspacing="2">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Username"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.username}" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="First name"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.firstName}" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Last name"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.lastName}" />
    </h:column>
    </h:dataTable>
    </h:form>
    </f:view>
    </body>
    </html>
    3. Drag an arrow from index.jsp to adduser.jsp and replace the arrow’s label to create_new_user.
    4. Repeat the previous step for failed, by dragging and arrow from adduser.jsp to failed.jsp renaming the label to f
    ailed
    5. Finally repeat the step for adduser.jsp, by dragging from adduser.jsp to index.jsp renaming the label to success.
    This creates the following faces-config.xml file –
    <?xml version='1.0' encoding='UTF-8'?>
    <faces-config>
    <managed-bean>
    <managed-bean-name>user</managed-bean-name>
    <managed-bean-class>lux.controllers.UserController</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>username</property-name>
    <value>#{username}</value>
    </managed-property>
    <managed-property>
    <property-name>firstName</property-name>
    <value>#{firstName}</value>
    </managed-property>
    <managed-property>
    <property-name>lastName</property-name>
    <value>#{lastName}</value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <value>#{password}</value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>create_new_user</from-outcome>
    <to-view-id>/adduser.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/adduser.jsp</from-view-id>
    <navigation-case>
    <from-outcome>failed</from-outcome>
    <to-view-id>/failed.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    Step 9: Create a Deployment file in the View-Controller and Deploy this to a WAR file
    Step 10: Create a Deployment file in the View-Controller and create an EAR file and add Model’s JAR and View-Controller’s
    WAR files to it.
    Step 11: Run the JSP Files
    SCENARIO END
    Now, When I execute Index.jsp, it does not list values from database and when I click on Create User link, it takes me to adduser.jsp page. When I fill values in this page and click Save button, it takes me to Save Failed page and data does not persist to the database.
    WHAT IS WRONG OUT HERE ???

    If you set a breakpoint in your createUser method - does this code get executed?
    We have a couple of tutorials that might show you how to do this.
    EJB/JSF with ADF-binding tutorial:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    EJB/JSF without ADF binding:
    http://www.oracle.com/technology/obe/JavaEE_tutorial_10131/index.htm

  • JSF - EJB 3.0 Application - Data does not persist to the database

    Hi,
    I am developing a JSF - EJB application and the data that I send from JSP Page through JSF Managed Bean --> Session Bean --> Java Persistence does not persist in database.
    Here is my scenario ( Iam using JDeveloper IDE to create this application) -
    ------------------------------------------------------- SCENARIO START
    The scenario consists of two web pages, one enlisting all the users stored in the database, the other contains a form for adding a user
    1.) INDEX.JSP
    2.) ADDUSER.JSP
    Step 1: Create the USERS Table in database
    CREATE TABLE users
    user_id serial,
    username varchar(255) NOT NULL,
    first_name varchar(255),
    last_name varchar(255),
    password char(64) NOT NULL,
    CONSTRAINT pk_users PRIMARY KEY (user_id)
    Step 2: Add Database Connection To JDeveloper
    Go to Database Connection Navigator and create a New Database Connection using the Wizard
    Step 3: Create a New Application in JDeveloper and select JSF, EJB from Application Template
    Step 4: ENTITY BEAN - In the EJB Node Right Click and Select EJB � New Entites from Table (JPA/EJB3.0)
    Use The Wizard and create Entity Bean from Users Table which creates an Entity Bea POJO file as follows �
    User.java -
    package lux.domain;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.NamedQuery;
    import javax.persistence.SequenceGenerator;
    import javax.persistence.Table;
    @Entity
    @NamedQuery(name = "User.findAll", query = "select o from User o")
    @Table(name = "USERS")
    public class User implements Serializable {
    @Column(name="FIRST_NAME")
    private String firstName;
    @Column(name="LAST_NAME")
    private String lastName;
    @Column(nullable = false)
    private String password;
    @Column(nullable = false)
    private String username;
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="users_seq_generator")
    @SequenceGenerator(name="users_seq_generator", sequenceName="users_user_id_seq")
    @Column(name="USER_ID", nullable = false)
    private Long userId;
    public User() {
    public String getFirstName() {
    return firstName;
    public void setFirstName(String firstName) {
    this.firstName = firstName;
    public String getLastName() {
    return lastName;
    public void setLastName(String lastName) {
    this.lastName = lastName;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    public String getUsername() {
    return username;
    public void setUsername(String username) {
    this.username = username;
    public Long getUserId() {
    return userId;
    public void setUserId(Long userId) {
    this.userId = userId;
    Step 5: STATELESS SESSION BEAN - In the EJB Node Right Click and Select EJB � New Entites from Table (JPA/EJB3.0)
    Again Right Click on Model and create Session Bean from Wizard which creates two files �
    UserDAOBean.java � Stateless Session Bean
    UserDAO.java � Local Interface
    package lux.facade;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import javax.persistence.Query;
    import lux.domain.User;
    @Stateless(name="UserDAO")
    public class UserDAOBean implements UserDAO {
    @PersistenceContext(unitName="Model")
    private EntityManager em;
    public UserDAOBean() {
    public User getUser(int UserId) {
    User u = new User();
    u = em.find(User.class, UserId);
    return u;
    public List<User> getAllUsers() {
    Query q = em.createQuery("SELECT u FROM User u");
    List<User> users = q.getResultList();
    return users;
    public void createUser(User u) {
    String hashedPw = hashPassword(u.getPassword());
    u.setPassword(hashedPw);
    em.persist(u);
    public void updateUser(User u) {
    String hashedPw = hashPassword(u.getPassword());
    u.setPassword(hashedPw);
    em.merge(u);
    public void deleteUser(User u) {
    em.remove(u);
    private String hashPassword(String password) {
    StringBuilder sb = new StringBuilder();
    try {
    MessageDigest messageDigest = MessageDigest.getInstance("SHA");
    byte[] bs;
    bs = messageDigest.digest(password.getBytes());
    for (int i = 0; i < bs.length; i++) {
    String hexVal = Integer.toHexString(0xFF & bs);
    if (hexVal.length() == 1) {
    sb.append("0");
    sb.append(hexVal);
    } catch (NoSuchAlgorithmException ex) {
    Logger.getLogger(UserDAOBean.class.getName()).log(Level.SEVERE, null, ex);
    return sb.toString();
    Step 6: Create a Deployment file in the Model and Deploy this to a JAR file
    Step 7: Now Right Click on View/Controller Node and create a Java File �
    UserController.java -
    package lux.controllers;
    import javax.ejb.EJB;
    import javax.faces.model.DataModel;
    import javax.faces.model.ListDataModel;
    import lux.domain.User;
    import lux.facade.UserDAO;
    public class UserController {
    @EJB UserDAO userDao;
    private User user;
    private DataModel model;
    public String createUser() {
    this.user = new User();
    return "create_new_user";
    public String saveUser() {
    String r = "success";
    try {
    userDao.createUser(user);
    } catch (Exception e) {
    e.printStackTrace();
    r = "failed";
    return r;
    public DataModel getUsers() {
    model = new ListDataModel(userDao.getAllUsers());
    return model;
    public User getUser() {
    return user;
    public void setUser(User user) {
    this.user = user;
    Step 8: Configure page flow in faces-config.xml
    1. Create the JSP file adduser.jsp by right-clicking View-Controller
    node and selecting New > JSP. Use the wizard to create JSF � JSP Page, fill in
    File Name adduser.jsp, click Finish. -
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>New user</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h:messages/>
    <h:panelGrid columns="2">
    <h:outputText value="Username"/>
    <h:inputText
    id="Username"
    value="#{user.user.username}"
    required="true"/>
    <h:outputText value="First name"/>
    <h:inputText
    id="FirstName"
    value="#{user.user.firstName}" />
    <h:outputText value="Last name"/>
    <h:inputText
    id="LastName"
    value="#{user.user.lastName}" />
    <h:outputText value="Password" />
    <h:inputSecret
    id="Password"
    value="#{user.user.password}"
    required="true" />
    <h:panelGroup/>
    <h:commandButton
    action="#{user.saveUser}"
    value="Save"/>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>
    2. Repeat the previous step for another JSP file failed.jsp.
    3. On failed.jsp add the string <h2>Save failed</h2>.
    Next we configure the page flow.
    1. Open faces-config.xml.
    2. Create index.jsp -
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>User Listing</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h1><h:outputText value="User Listing"/></h1>
    <p><h:commandLink action="#{user.createUser}" value="Create a user"/></p>
    <h:dataTable value="#{user.user}"
    var="dataTableItem" border="1" cellpadding="2" cellspacing="2">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Username"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.username}" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="First name"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.firstName}" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Last name"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.lastName}" />
    </h:column>
    </h:dataTable>
    </h:form>
    </f:view>
    </body>
    </html>
    3. Drag an arrow from index.jsp to adduser.jsp and replace the arrow�s label to create_new_user.
    4. Repeat the previous step for failed, by dragging and arrow from adduser.jsp to failed.jsp renaming the label to f
    ailed
    5. Finally repeat the step for adduser.jsp, by dragging from adduser.jsp to index.jsp renaming the label to success.
    This creates the following faces-config.xml file �
    <?xml version='1.0' encoding='UTF-8'?>
    <faces-config>
    <managed-bean>
    <managed-bean-name>user</managed-bean-name>
    <managed-bean-class>lux.controllers.UserController</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>username</property-name>
    <value>#{username}</value>
    </managed-property>
    <managed-property>
    <property-name>firstName</property-name>
    <value>#{firstName}</value>
    </managed-property>
    <managed-property>
    <property-name>lastName</property-name>
    <value>#{lastName}</value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <value>#{password}</value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>create_new_user</from-outcome>
    <to-view-id>/adduser.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/adduser.jsp</from-view-id>
    <navigation-case>
    <from-outcome>failed</from-outcome>
    <to-view-id>/failed.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    Step 9: Create a Deployment file in the View-Controller and Deploy this to a WAR file
    Step 10: Create a Deployment file in the View-Controller and create an EAR file and add Model�s JAR and View-Controller�s
    WAR files to it.
    Step 11: Run the JSP Files
    ------------------------------------------------------- SCENARIO END
    Now, When I execute Index.jsp, it does not list values from database and when I click on Create User link, it takes me to adduser.jsp page. When I fill values in this page and click Save button, it takes me to Save Failed page and data does not persist to the database.
    WHAT IS WRONG OUT HERE ???

    PLZZZZZZZZZzzzzzzzzzzz HELP ! ! !

  • EJB-JSF Application : Data does not persist to the database

    Hi,
    I am developing a JSF - EJB application and the data that I send from JSP Page through JSF Managed Bean --> Session Bean --> Java Persistence does not persist in database.
    Here is my scenario ( Iam using JDeveloper IDE to create this application) -
    SCENARIO START
    The scenario consists of two web pages, one enlisting all the users stored in the database, the other contains a form for adding a user
    1.) INDEX.JSP
    2.) ADDUSER.JSP
    Step 1: Create the USERS Table in database
    CREATE TABLE users
    user_id serial,
    username varchar(255) NOT NULL,
    first_name varchar(255),
    last_name varchar(255),
    password char(64) NOT NULL,
    CONSTRAINT pk_users PRIMARY KEY (user_id)
    Step 2: Add Database Connection To JDeveloper
    Go to Database Connection Navigator and create a New Database Connection using the Wizard
    Step 3: Create a New Application in JDeveloper and select JSF, EJB from Application Template
    Step 4: ENTITY BEAN - In the EJB Node Right Click and Select EJB � New Entites from Table (JPA/EJB3.0)
    Use The Wizard and create Entity Bean from Users Table which creates an Entity Bea POJO file as follows �
    User.java -
    package lux.domain;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.NamedQuery;
    import javax.persistence.SequenceGenerator;
    import javax.persistence.Table;
    @Entity
    @NamedQuery(name = "User.findAll", query = "select o from User o")
    @Table(name = "USERS")
    public class User implements Serializable {
    @Column(name="FIRST_NAME")
    private String firstName;
    @Column(name="LAST_NAME")
    private String lastName;
    @Column(nullable = false)
    private String password;
    @Column(nullable = false)
    private String username;
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="users_seq_generator")
    @SequenceGenerator(name="users_seq_generator", sequenceName="users_user_id_seq")
    @Column(name="USER_ID", nullable = false)
    private Long userId;
    public User() {
    public String getFirstName() {
    return firstName;
    public void setFirstName(String firstName) {
    this.firstName = firstName;
    public String getLastName() {
    return lastName;
    public void setLastName(String lastName) {
    this.lastName = lastName;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    public String getUsername() {
    return username;
    public void setUsername(String username) {
    this.username = username;
    public Long getUserId() {
    return userId;
    public void setUserId(Long userId) {
    this.userId = userId;
    Step 5: STATELESS SESSION BEAN - In the EJB Node Right Click and Select EJB � New Entites from Table (JPA/EJB3.0)
    Again Right Click on Model and create Session Bean from Wizard which creates two files �
    UserDAOBean.java � Stateless Session Bean
    UserDAO.java � Local Interface
    package lux.facade;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import javax.persistence.Query;
    import lux.domain.User;
    @Stateless(name="UserDAO")
    public class UserDAOBean implements UserDAO {
    @PersistenceContext(unitName="Model")
    private EntityManager em;
    public UserDAOBean() {
    public User getUser(int UserId) {
    User u = new User();
    u = em.find(User.class, UserId);
    return u;
    public List<User> getAllUsers() {
    Query q = em.createQuery("SELECT u FROM User u");
    List<User> users = q.getResultList();
    return users;
    public void createUser(User u) {
    String hashedPw = hashPassword(u.getPassword());
    u.setPassword(hashedPw);
    em.persist(u);
    public void updateUser(User u) {
    String hashedPw = hashPassword(u.getPassword());
    u.setPassword(hashedPw);
    em.merge(u);
    public void deleteUser(User u) {
    em.remove(u);
    private String hashPassword(String password) {
    StringBuilder sb = new StringBuilder();
    try {
    MessageDigest messageDigest = MessageDigest.getInstance("SHA");
    byte[] bs;
    bs = messageDigest.digest(password.getBytes());
    for (int i = 0; i < bs.length; i++) {
    String hexVal = Integer.toHexString(0xFF & bs);
    if (hexVal.length() == 1) {
    sb.append("0");
    sb.append(hexVal);
    } catch (NoSuchAlgorithmException ex) {
    Logger.getLogger(UserDAOBean.class.getName()).log(Level.SEVERE, null, ex);
    return sb.toString();
    Step 6: Create a Deployment file in the Model and Deploy this to a JAR file
    Step 7: Now Right Click on View/Controller Node and create a Java File �
    UserController.java -
    package lux.controllers;
    import javax.ejb.EJB;
    import javax.faces.model.DataModel;
    import javax.faces.model.ListDataModel;
    import lux.domain.User;
    import lux.facade.UserDAO;
    public class UserController {
    @EJB UserDAO userDao;
    private User user;
    private DataModel model;
    public String createUser() {
    this.user = new User();
    return "create_new_user";
    public String saveUser() {
    String r = "success";
    try {
    userDao.createUser(user);
    } catch (Exception e) {
    e.printStackTrace();
    r = "failed";
    return r;
    public DataModel getUsers() {
    model = new ListDataModel(userDao.getAllUsers());
    return model;
    public User getUser() {
    return user;
    public void setUser(User user) {
    this.user = user;
    Step 8: Configure page flow in faces-config.xml
    1. Create the JSP file adduser.jsp by right-clicking View-Controller
    node and selecting New > JSP. Use the wizard to create JSF � JSP Page, fill in
    File Name adduser.jsp, click Finish. -
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>New user</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h:messages/>
    <h:panelGrid columns="2">
    <h:outputText value="Username"/>
    <h:inputText
    id="Username"
    value="#{user.user.username}"
    required="true"/>
    <h:outputText value="First name"/>
    <h:inputText
    id="FirstName"
    value="#{user.user.firstName}" />
    <h:outputText value="Last name"/>
    <h:inputText
    id="LastName"
    value="#{user.user.lastName}" />
    <h:outputText value="Password" />
    <h:inputSecret
    id="Password"
    value="#{user.user.password}"
    required="true" />
    <h:panelGroup/>
    <h:commandButton
    action="#{user.saveUser}"
    value="Save"/>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>
    2. Repeat the previous step for another JSP file failed.jsp.
    3. On failed.jsp add the string
    Save failed
    Next we configure the page flow.
    1. Open faces-config.xml.
    2. Create index.jsp -
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>User Listing</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h:outputText value="User Listing"/>
    <h:commandLink action="#{user.createUser}" value="Create a user"/>
    <h:dataTable value="#{user.user}"
    var="dataTableItem" border="1" cellpadding="2" cellspacing="2">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Username"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.username}" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="First name"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.firstName}" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Last name"/>
    </f:facet>
    <h:outputText value="#{dataTableItem.lastName}" />
    </h:column>
    </h:dataTable>
    </h:form>
    </f:view>
    </body>
    </html>
    3. Drag an arrow from index.jsp to adduser.jsp and replace the arrow�s label to create_new_user.
    4. Repeat the previous step for failed, by dragging and arrow from adduser.jsp to failed.jsp renaming the label to f
    ailed
    5. Finally repeat the step for adduser.jsp, by dragging from adduser.jsp to index.jsp renaming the label to success.
    This creates the following faces-config.xml file �
    <?xml version='1.0' encoding='UTF-8'?>
    <faces-config>
    <managed-bean>
    <managed-bean-name>user</managed-bean-name>
    <managed-bean-class>lux.controllers.UserController</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>username</property-name>
    <value>#{username}</value>
    </managed-property>
    <managed-property>
    <property-name>firstName</property-name>
    <value>#{firstName}</value>
    </managed-property>
    <managed-property>
    <property-name>lastName</property-name>
    <value>#{lastName}</value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <value>#{password}</value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>create_new_user</from-outcome>
    <to-view-id>/adduser.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/adduser.jsp</from-view-id>
    <navigation-case>
    <from-outcome>failed</from-outcome>
    <to-view-id>/failed.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    Step 9: Create a Deployment file in the View-Controller and Deploy this to a WAR file
    Step 10: Create a Deployment file in the View-Controller and create an EAR file and add Model�s JAR and View-Controller�s
    WAR files to it.
    Step 11: Run the JSP Files
    SCENARIO END
    Now, When I execute Index.jsp, it does not list values from database and when I click on Create User link, it takes me to adduser.jsp page. When I fill values in this page and click Save button, it takes me to Save Failed page and data does not persist to the database.
    WHAT IS WRONG OUT HERE ???

    If you set a breakpoint in your createUser method - does this code get executed?
    We have a couple of tutorials that might show you how to do this.
    EJB/JSF with ADF-binding tutorial:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    EJB/JSF without ADF binding:
    http://www.oracle.com/technology/obe/JavaEE_tutorial_10131/index.htm

  • Using the result of Get-ADOrganizationalUnit into an array.

    Hello all!
    I'm hoping you can help me with the following challange. What I want to accomplish:
    I'm building a PowerShell script that will parse all the servernames from multiple OU's through the RDCman Set-Rdg script build by timdun @
    http://blogs.msdn.com/b/timid/archive/2013/03/25/rdcman-config-files-rdg.aspx. I'm doing this on a OU basis because this will give an better overview (treeview) in RDCman.
    So far I can accomplish this by naming each OU individually (see: $ouA, $ouB, etc). See the following script:
    $domain = "dc=domain,dc=subdomain,dc=address,dc=com"
    $ou1 = "FABRIC"
    $ou2 = "Servers"
    $outputfile = "c:\temp\hostnames.txt"
    Import-Module ActiveDirectory
    $ints = @($ouA, $ouB, $ouC, $ouD, $ouE, $ouF, $ouG, $ouH, $ouI, $ouJ, $ouK, $ouL, $ouM, $ouN, $ouO, $ouP, $ouQ, $ouR, $ouS)
    foreach ($i in $ints){
    $servername = Get-ADComputer -SearchBase "OU=$i,OU=$ou2,OU=$ou1,$domain" -Filter '*' | Select -Expand DNShostname
    $servername > $outputfile
    Get-content $outputfile | c:\temp\Set-Rdg.ps1 -Pattern '(..)' -Taxonomy $domain, $ou1, $i -nobackup
    To the question: I'd like to automate this process. I used the command Get-ADOrganizationalUnit command to give me a list of sub OU's.
    $oucollection = Get-ADOrganizationalUnit -LDAPFilter '(name=*)' -SearchBase "OU=$ou2,OU=$ou1,$domain" -SearchScope OneLevel | FT Name
    The result is als follows:
    Name
    OU1
    OU2
    OU3
    OU4
    etc
    My question is: how to rebuild the result from above so that I can use this in $ints (see script) so that i don't have to name each OU individually...
    Many thanks in advance!

    Hi j-tt,
    this should certainly work. However ... if instead of Name you select the distinguishedName, you could use the whole dn as searchbase, instead of the construct you are currently using. Here's an Example after some slight rewrite:
    # Import the Active Directory Modules
    Import-Module ActiveDirectory
    # Grab all sub-OUs of the Search-Base, then retrieve their DistinguishedNames and Names
    Get-ADOrganizationalUnit -Filter "*" -SearchBase "OU=Servers,OU=FABRIC,dc=domain,dc=subdomain,dc=address,dc=com" -SearchScope OneLeve | Select Name, DistinguishedName | ForEach{
    # Save OU into Variable
    $OU = $_.Name
    # For each OU found, get all contained computers, extract their DNSHostnames and pass those into the script
    Get-ADComputer -SearchBase $_.DistinguishedName -Filter "*" | Select -ExpandProperty DNSHostname | c:\temp\Set-Rdg.ps1 -Pattern '(..)' -Taxonomy "dc=domain,dc=subdomain,dc=address,dc=com", "FABRIC", $OU -nobackup
    I'll admit I might have gone a bit wild with the pipelines here :)
    Cheers,
    Fred
    Edit: Fixed my shortened Version to include the Taxonomy parameters
    There's no place like 127.0.0.1

  • Run Program activity not exiting

    I'm running SCOrch 2012 R2 and am having trouble with a runbook hanging. Here are the facts
    My runbook executes a script (the code for which, I have included below) that gets a list of AD users and exports that list to a .csv file. 
    When run manually, from a Powershell window, the script executes and returns the expected file, before returning to the prompt.
    When run through the SCOrch, the script runs fine, with the output file created and the Powershell process exiting.
    The commands I'm using to execute the script manually and through the runbook, are the same (see below) and the run-as accounts are the same.
    The runbook never gets past the step that runs the Powershell script.
    The activity looks like this: 
    Command execution
    Command: cmd.exe /c | C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe –c "C:\it\getADUserProperties-Parameterized.ps1 -SearchPath 'ou=customer,dc=domain,dc=tld' -DomainName domain.tld | Export-Csv C:\it\userList.csv -NoTypeInformation"
    Run as account credentials specified
    The rest of the options are set to the default values
    The question is, why doesn't the Run Program activity close when powershell.exe exits? I know it won't matter, but here is the script anyway:
    <#
    .Synopsis
    Get Active Directory user list with a user-specified set of properties
    .DESCRIPTION
    Get a list of Active Directory users from a user-specified list of containers (or the root of the domain) and return a user-specified set of attributes.
    This script can connect to non-native domains (domains that the executing computer is not a member of) if DNS is configured properly. If accessing a
    non-native domain, the script will prompt for credentials.
    .NOTES
    Author: Mike Hashemi
    V1 date: 15 August 14
    .LINK
    .PARAMETER DomainName
    Defines which DNS domain to connect to.
    .PARAMETER SearchPath
    Default value = cn=users,dc=domain,dc=tld. This parameter represents the AD to search and can contain multiple values.
    .PARAMETER OutputProperties
    Default value = Name,Enabled. This parameter represents a comma-spearated list of AD attributes to return.
    .EXAMPLE
    .\getADUserProperties-Parameterized.ps1 -DomainName domain.tld
    This example will output the name and enabled status of all users in "cn=users,DC=domain,DC=tld" and below.
    .EXAMPLE
    .\getADUserProperties-Parameterized.ps1 -OutputProperties name,telephoneNumber | Export-Csv C:\userList.csv -NoTypeInformation
    This example will output the name and telephone number of all users in "cn=users,DC=domain,DC=tld" and below. Output will be sent to c:\userList.csv.
    #>
    [CmdletBinding()]
    param(
    [Parameter(Mandatory=$True)]
    [string]$DomainName,
    [string[]]$SearchPath = 'cn=users,DC=domain,DC=tld',
    [string]$OutputProperties = 'Name,Enabled'
    Import-Module ActiveDirectory
    If ((Get-Module ActiveDirectory -ErrorAction SilentlyContinue) –eq $null) {
    Write-Error "This script requires the Powershell Module: 'ActiveDirectory'. Please make sure you've got the correct tools installed."
    Exit
    Else {
    Foreach ($ou in $SearchPath) {
    Try {
    Write-Verbose ("Getting users from {0}." -f $ou)
    Get-ADUser -Filter * -SearchBase $ou -Properties $OutputProperties.Split(",") -Server $DomainName | Select $OutputProperties.Split(",")
    Catch [System.Security.Authentication.AuthenticationException] {
    Write-Output ("Connection failed. Prompting for credentials to {0}" -f $DomainName)
    $cred = Get-Credential -Message "Enter credentials for $DomainName."
    Write-Verbose ("Getting users from {0}. with user: {1}" -f $ou, $cred.Username)
    Get-ADUser -Filter * -SearchBase $ou -Properties $OutputProperties.Split(",") -Server $DomainName -Credential $cred | Select $OutputProperties.Split(",")
    Thanks.

    mhashemi,
    I had a simliar issue as you did where my runbook would run until it got to the "Run .Net Script" Activity and then the Runbook would just stop. What I found was you can not have the command "Exit" in your script. The command "Exit"
    will force the Activity to close and will not output any variables.
    I am not the only one to find this issue.
    Check out the article labeled
    "Run .Net Script (powershell), "exit" and published data" on technet under
    System Center Orchestrator > System Center Orchestrator - General
    (not able to post the link, I am restricted)
    Doesn't sound like there is going to be a fix anytime soon
    Hope this helps
    -Ozarkclay

  • DPM 2012 End User Recovery - Extending AD Schema tool crashes with error

    Hi everyone,
    I deployed SCDPM 2012 R2 in my test environment, but it is an issue. When I'm trying to extend AD Schema by DPMADSchemaExtensionTool.exe, it stops to working with an appcrash message:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: dpmdsacl.exe
    Application Version: 4.2.1092.0
    Application Timestamp: 51b1e89d
    Fault Module Name: KERNELBASE.dll
    Fault Module Version: 6.3.9600.16384
    Fault Module Timestamp: 5215fa76
    Exception Code: e0434352
    Exception Offset: 0000000000008384
    OS Version: 6.3.9600.2.0.0.272.7
    Locale ID: 1033
    Additional Information 1: 7644
    Additional Information 2: 7644cee486badc818e8a96bb7aba3bfd
    Additional Information 3: 2ddc
    Additional Information 4: 2ddcde93bf91b9ddbb6e1a89fb9b5892
    When I'm trying to do the same with cmd I get an error:
    C:\diagEUR>dpmdsacl.exe sc.local CN=MS-ShareMapConfiguration,CN=System,DC=sc,DC=
    local /A sc\dpm$
    Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
    y 'dpmdsacl, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    ' or one of its dependencies. Strong name validation failed. (Exception from HRE
    SULT: 0x8013141A) ---> System.Security.SecurityException: Strong name validation
    failed. (Exception from HRESULT: 0x8013141A)
    --- End of inner exception stack trace ---
    How can I fix this error?

    Hi Seth,
    I think your script will be useful, please share them
    Here it is. It does the same items that the DPM tool does to the domain, with a few extra steps noted at the top.
    We create a group that has the permissions on the container, with the hope that one day, this feature will be available (DCR submitted).  In our support model, we would rather delegate permissions to support personnel to modify group membership than
    modify ACLs on system containers.    Your opinion on this may differ, so, feel free to remove it.
    It also gives our support personnel permissions to modify the sharemap container - so they can enable DPM EUR servers later.
    Both of these have been working fine for preparing a domain / enabling EUR.  Preparing the domain is run by domain admin, then, we leave enabling EUR to our support staff.
    Remember, this is not supported, this just makes the same changes that the EUR tool does.  You should use the EUR tool from Microsoft.
    #Requires -version 2.0
    # File:      DPMEndUserDomainPrep.ps1
    # Version:   0.1
    # Purpose:   Domain Preparation for DPM End User Recovery
    # Tasks compelted by this script:
    #      -Create MS-ShareMapConfiguration container in System container of the domain
    #            -Create the security group (NETBIOS Domain Name) DPM End User Recovery servers
    #      -Give Create,Delete MS-srvShareMappingObjects, ListChildren permissions for the newly created group, on the new MS-ShareMapConfiguration container
    #      -Find <SUPPORT GROUP> group in the forest root, and grant full permissions to the MS-ShareMapConfiguration container
    Param(
      [string]$domain
    if ($domain -eq "")
     write-host ""
     write-host "Script Usage" -foreground cyan
     write-host "-----------------" -foreground cyan
     write-host "./DPMEndUserDomainPrep.ps1 -domain domain.com" -foreground cyan
     write-host ""
     exit
    $Title = "DPM End User Recovery Domain Prep"
    $Message = "Do you want to continue with domain prep for " + $domain + "?"
    $Yes = new-object system.management.automation.host.choicedescription "&Yes","Continue with Domain Prep for $domain"
    $No = new-object system.management.automation.host.choicedescription "&No","Exit the script"
    $options = [System.Management.Automation.Host.ChoiceDescription[]]($yes, $no)
    $result = $host.ui.PromptForChoice($title, $message, $options, 0)
    If ($result -eq 1){exit}
    # Load the AD module
    Import-Module ActiveDirectory
    # Figure out our domain
     $root = (Get-ADRootDSE -server $domain).defaultNamingContext
    #Get netbios domain name
     $domainname = (Get-ADDomain -Identity $domain).NetBIOSName
    #SchemaIDGuid for MS-SrvShareMapping Class
     $ShareMapGUID = new-object guid c356f65b-5540-4d85-9aef-3a7ecae7a878
     $guidNull = new-object Guid 00000000-0000-0000-0000-000000000000
            $guidGroupObject = new-object Guid BF967A9C-0DE6-11D0-A285-00AA003049E2
    # Get or create the MS-ShareMapConfiguration container
     $ou = $null
     try
         $ou = Get-ADObject "CN=MS-ShareMapConfiguration,CN=System,$root"
     catch
         Write-host "MS-ShareMapConfiguration container does not currently exist." -foreground yellow
     if ($ou -eq $null)
         $ou = New-ADObject -Type Container -name "MS-ShareMapConfiguration" -Path "CN=System,$root" -Passthru
         write-host "Created Container $ou" -foreground yellow
         start-sleep -s 10
    #Create DPM End User Recovery servers group
     write-host "Creating group $domainname DPM End User Recovery Servers" -foreground yellow
     new-adgroup -path "cn=builtin,$root" -name "$domainname DPM End User Recovery Servers" -groupscope universal -groupcategory security -description "Members of this group are delegated permissions to change contents of the System\MS-ShareMapConfiguration
    container"
            start-sleep -s 10
     $ServerGroup = get-adgroup "$domainname DPM End User Recovery Servers"
     $ServerGroupsid = [system.security.principal.securityidentifier] $ServerGroup.sid
     write-host ""
     write-host "Created group $ServerGroup" -foreground yellow
    #Get <SUPPORT GROUP>in Forest Root
     $forestname = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().Name
     #Check to see if <SUPPORT GROUP> group exists
     $SupportGroup = $null
     $SupportGroup = get-adgroup -server $forestname "<SUPPORT GROUP>"
     if ($SupportGroup -eq $null)
      write-host ""
      write-host "WARNING - <SUPPORT GROUP> Group does not exist in the forest root" -foreground red
      write-host "Permissions must be manually assigned to the MS-ShareMapConfiguration Container for the <SUPPORT GROUP>" -foreground red
      write-host ""
     $SupportGroupSID = [system.security.principal.securityidentifier] $SupportGroup.sid
    #Get current ACL for the MS-ShareMapConfiguration Container
     $OUacl = get-acl "ad:cn=ms-sharemapconfiguration,cn=system,$root"
    #Create ACE for adding permissions to newly created group to MS-ShareMapConfiguration container
     $ace1 = new-object system.directoryservices.activedirectoryaccessrule $ServerGroupsid, "CreateChild,DeleteChild", Allow, $sharemapguid,"all"
     $ace2 = new-object system.directoryservices.activedirectoryaccessrule $ServerGroupsid, "ListChildren", Allow,$guidNull,"all"
     $ace3 = new-object system.directoryservices.activedirectoryaccessrule $SupportGroupsid, "GenericAll", Allow,$guidNull,"all"
     $OUacl.addaccessrule($ace1)
     $OUacl.addaccessrule($ace2)
     $OUacl.addaccessrule($ace3)
    #Apply ACL
     write-host ""
     write-host "Setting ACLs on cn=ms-sharemapconfiguration,cn=system,$root" -foreground yellow
     set-acl -aclobject $OUacl "ad:cn=ms-sharemapconfiguration,cn=system,$root"
    #Get current ACL for the DPM End User Recovery Servers group
     $ServerGroupDN = $servergroup.distinguishedname
     $Groupacl = get-acl "ad:$servergroupdn"
     $groupace = new-object system.directoryservices.activedirectoryaccessrule $SupportGroupsid, "GenericAll", Allow,$guidNull,"all"
     $Groupacl.addaccessrule($groupace)
     write-host ""
     write-host "Setting ACLs on $servergroupdn" -foreground yellow
     set-acl -aclobject $Groupacl "ad:$servergroupdn"
     write-host ""
     write-host "Script Complete" -foreground yellow
    Seth Cohen

  • PS Scheduling via Windows Task Scheduler

    Hi All,
    I have been pulling my hair out trying to schedule my APIWSUSCleanup.ps1 file from this thread (http://social.technet.microsoft.com/Forums/en-US/eee88f8a-57de-46db-8d60-efb0e72d57b9/running-5-commands-using-array-elements-and-waiting-between?forum=winserverpowershell)
    to run as a scheduled task. Running interactively from a remote PS session the script file runs fine and produces the log file that it should.
    I have tried so many different combinations (including nonsensical just to be certain and rule them out) that I'm sure I have started going around in circles, there doesn't seem to be a definitive answer out there so hopefully someone on here can see what
    I'm doing wrong for my situation.
    I cldn't find any references for WSUS Management Shell cmdlets so I'm assuming that there isn't one that needs to be passed for the script to work like Exchange requires?
    Environment: Server 2012 WSUS Core install being administered with Server Manager from a GUI Server 2012 install. Scheduled task being added via Computer Management. I have setup the script
    execution using "set-executionpolicy remotesigned" from a Remote Powershell session, assuming that this sets it for x64 and x86? I did see one comment stating that is doesn't.
    Task: Run as SYSTEM (have tried local admin account), Run whether logged on or not, Run with highest privileges, Configure for Server 2012, Run on demand enabled.
    Task Action:
    Program: Have tried
    powershell
    powershell.exe
    %windir%\system32\WindowsPowerShell\v1.0\powershell.exe
    %windir%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
    Arguments: Here goes
    (The c:\powershell has been substituted by .\ when "start in" populated also as a test and I have also tried the shorthand version of commands such as -c instead of -command)
    All of the below have been run prefixed with nothing, -file and then -command (not at the same time)
    C:\Powershell\APIMonthlyWSUSCleanup.ps1
    "C:\Powershell\APIMonthlyWSUSCleanup.ps1"
    ("C:\Powershell\APIMonthlyWSUSCleanup.ps1")
    {C:\Powershell\APIMonthlyWSUSCleanup.ps1}
    "{C:\Powershell\APIMonthlyWSUSCleanup.ps1}"
    {"C:\Powershell\APIMonthlyWSUSCleanup.ps1"}
    &{C:\Powershell\APIMonthlyWSUSCleanup.ps1}
    &"C:\Powershell\APIMonthlyWSUSCleanup.ps1"
    &'C:\Powershell\APIMonthlyWSUSCleanup.ps1'
    {&"C:\Powershell\APIMonthlyWSUSCleanup.ps1"}
    &{"C:\Powershell\APIMonthlyWSUSCleanup.ps1"}
    (&"C:\Powershell\APIMonthlyWSUSCleanup.ps1")
    (&{C:\Powershell\APIMonthlyWSUSCleanup.ps1})
    "&{C:\Powershell\APIMonthlyWSUSCleanup.ps1}"
    "& "C:\Powershell\APIMonthlyWSUSCleanup.ps1"
    "& 'C:\Powershell\APIMonthlyWSUSCleanup.ps1'"
    ". 'C:\Powershell\APIMonthlyWSUSCleanup.ps1'"
    Start in: Have tried
    C:\Powershell\
    C:\Powershell
    Last Run Result: 0x0 & 0xFFFD0000
    History - Action Completed with return: 0, 1, 4294770688 & 2147746132
    It would be much appreciated if someone out there can help me to save my sanity.
    If there is one command that you think should work please let me know so I can try it and post back the exact result for that command.
    FYI - I have also tried to run this using CMD and parsing the powershell.exe in the arguments; I'm not keen on doing it that way though due to the string length limitations for future usage.
    Cheers

    There was  two ) ) after param ([String]str$))
    Here is corrected version (Add line to show the date)
    Param ([string]$p) # Parameter for test.ps1
    function LogParameter {
    param ( [string]$str) Add-Content "C:\PowerShell\Test.Txt" (Get-Date)
    Add-Content "C:\Powershell\Test.txt" $str
    LogParameter -Str $P # body of test.ps1
    I tested with a domain\user with domain admins rights. (Selected Run whether user is logged on or not)
    I set the task to run every 5 minutes indefinitely
    At the bottom the page of the Settings tab, I selected "Stop the existing instance" from the list.
    I checked c:\Powershell\test.txt and it shows it is going every 5 minutes.
    In the task manager details page, I can see taskeng.exe running for the doman\user

  • Error during connection test for Content Producers in FPN

    Hi,
    I have a question regarding connection test for content producers in FPN. Please let me explain the scenario,
    The portal server (PS1) is in the network domain say "XYZ.com" and we are accessing the portal from different domain say "ABC.com" via browser. We need to configure another portal (PS2) which is in the network domain say "mno.XYZ.com" with PS1 using FPN. We have imported the certificates of portal PS1 (consumer) in PS2 (producer) portal server and done the required trust configurations using VA in PS2 portal server.
    Then we created a new content producer object for the PS2 portal (producer) in PS1 portal. But when we did the "Connection Tests" it gets failed with the following error message,
    "Could not retrieve the WSDL file; the handshake URL may not exist or may be invalid".
    Can any one please tell me why this error message is coming. Is it due to any network connection issue?
    Thanks,
    Gokul.

    Hi Ginger,
    somehow, yes :-) I deployed the iFlow for customer master replication. After creating a customer the trace looked different and terminated at the reverse proxy. So the simple connect somehow is not able to do the same...
    Cheers
    Florian

  • SMS_EXECUTIVE service missing, will not reinstall -

    Update: The answer points to a forum post that indicates that the system environment variables tmp and temp need to point to C:\Windows\Temp. In our environment these variables pointed to a folder called 'temp' in the root of whatever drive was being
    used at the time. Ultimately the issue I had was resolved by creating the 'temp' folder on the installation drive. So in my experience, they don't necessarily need to be pointing to the standard temp folder.
    Recently I noticed a handful of our DPs/SMPs were all having an issue. Component Monitor said that the SMS_EXECUTIVE service wasn't running. I checked, and none of the affected servers had that service installed. I removed all the site systems from SCCM
    entirely, then started to try to reinstall the systems  one at a time.
    I noticed that the Distribution Point role would install just fine, but the SMP role would fail. It's not clear to me what the failure is, as sitecomp.log basically just says that the installation failed and will be restarted. I know that the SMS_SERVER_BOOTSTRAP
    service is being installed and I can see it running when it's performing operations.
    I'm at a loss as to what is causing the issue. I'm an SCCM noob, so any guidance at all would be appreciated.
    A network connection already exists to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:16 PM 4448 (0x1160)
    Wrote HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Tracing key to server's registry. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:21 PM 4448 (0x1160)
    A network connection already exists to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:21 PM 4448 (0x1160)
    Installation complete. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Releasing current connection to install drive '\\SiteServer.Domain.Logal\W$\'. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Successfully deregistered Event Source. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Cancelling network connection to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    STATMSG: ID=1026 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_SITE_COMPONENT_MANAGER" SYS=PRIMARYSITESRV.CE.Corp.com SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:23:39.151 2013 ISTR0="\\SiteServer.Domain.Logal" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    STATMSG: ID=1047 SEV=I LEV=D SOURCE="SMS Server" COMP="SMS_SITE_COMPONENT_MANAGER" SYS=PRIMARYSITESRV.CE.Corp.com SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:23:42.263 2013 ISTR0="\\SiteServer.Domain.Logal" ISTR1="6.1" ISTR2="1" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    STATMSG: ID=1051 SEV=I LEV=D SOURCE="SMS Server" COMP="SMS_SITE_COMPONENT_MANAGER" SYS=PRIMARYSITESRV.CE.Corp.com SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:24:14.515 2013 ISTR0="\\SiteServer.Domain.Logal" ISTR1="W:\SMS" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    STATMSG: ID=554 SEV=I LEV=D SOURCE="SMS Server" COMP="SMS_SITE_COMPONENT_MANAGER" SYS=PRIMARYSITESRV.CE.Corp.com SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:24:16.273 2013 ISTR0="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Identification" ISTR1="BYCWFP01.CE.CORP.COM" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    STATMSG: ID=554 SEV=I LEV=D SOURCE="SMS Server" COMP="SMS_SITE_COMPONENT_MANAGER" SYS=PRIMARYSITESRV.CE.Corp.com SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:24:21.899 2013 ISTR0="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Tracing" ISTR1="BYCWFP01.CE.CORP.COM" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    STATMSG: ID=1027 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_SITE_COMPONENT_MANAGER" SYS=PRIMARYSITESRV.CE.Corp.com SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:24:26.178 2013 ISTR0="\\SiteServer.Domain.Logal" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Testing connectivity to this server ... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    The machine account will be used for ["Display=\\SiteServer.Domain.Logal\"]MSWNET:["SMS_SITE=PS1"]\\SiteServer.Domain.Logal\. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Successfully made a network connection to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    CServer::ConnectToServer() succeeded; the server is accessible. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Registering NT Event Source for Server BYCWFP01.CE.CORP.COM... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Successfully registered Event Source on BYCWFP01.CE.CORP.COM. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Testing connectivity to this server ... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    A network connection already exists to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Settings for server BYCWFP01.CE.CORP.COM changed from 0x0A1800D8 to 0xF53A2AB4. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Attempting to Copy the Identification key of the Site's Registry to the Server's registry. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:26 PM 4448 (0x1160)
    Successfully copied the Identification key to the Server's registry. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:28 PM 4448 (0x1160)
    A network connection already exists to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:28 PM 4448 (0x1160)
    Installing component SMS_EXECUTIVE... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:30 PM 4448 (0x1160)
    LogEvent(): Successfully logged Event to NT Event Log (4, 13, 1073742838, (null)). SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:35 PM 4448 (0x1160)
    INFO: 'BYCWFP01.CE.CORP.COM' is a valid FQDN. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:35 PM 4448 (0x1160)
    STATMSG: ID=1014 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_EXECUTIVE" SYS=BYCWFP01.CE.CORP.COM SITE=PS1 PID=6828 TID=4448 GMTDATE=Mon Dec 30 20:24:35.506 2013 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:35 PM 4448 (0x1160)
    Writing component specific registry values. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:35 PM 4448 (0x1160)
    Creating registry keys Operations Management\SMS Server Role\SMS Component Server on server BYCWFP01.CE.CORP.COM. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:39 PM 4448 (0x1160)
    Writing SQL Alias registry values. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:41 PM 4448 (0x1160)
    The "\\SiteServer.Domain.Logal\W$\SMS" directory has 1025546448896 bytes free out of 1200184356864 total bytes. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:44 PM 4448 (0x1160)
    The "\\SiteServer.Domain.Logal\ADMIN$" directory has 23083323392 bytes free out of 42840387584 total bytes. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:44 PM 4448 (0x1160)
    23709513 bytes are required in the "\\SiteServer.Domain.Logal\W$\SMS" directory for this component's files. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:44 PM 4448 (0x1160)
    INFO: 'BYCWFP01.CE.CORP.COM' is a valid FQDN. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:44 PM 4448 (0x1160)
    2129185 bytes are required in the "\\SiteServer.Domain.Logal\ADMIN$" directory for this component's files. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:44 PM 4448 (0x1160)
    INFO: 'BYCWFP01.CE.CORP.COM' is a valid FQDN. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:24:44 PM 4448 (0x1160)
    A network connection already exists to \\SiteServer.Domain.Logal\ADMIN$. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:34 PM 4448 (0x1160)
    Installed file \\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\provmsgs.cmd. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:34 PM 4448 (0x1160)
    All files installed. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:36 PM 4448 (0x1160)
    Starting bootstrap operations... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:36 PM 4448 (0x1160)
    Installed service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:36 PM 4448 (0x1160)
    Starting service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV with command-line arguments "PS1 W:\SMS /install \\SiteServer.Domain.Logal\W$\SMS\bin\x64\comregsetup.exe "... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:36 PM 4448 (0x1160)
    "\\SiteServer.Domain.Logal\W$\SMS\bin\x64\comregsetup.exe /install /siteserver:PRIMARYSITESRV.CE.CORP.COM" executed successfully on server BYCWFP01.CE.CORP.COM. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:45 PM 4448 (0x1160)
    Bootstrap operation successful. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:45 PM 4448 (0x1160)
    Starting service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV with command-line arguments "PS1 W:\SMS /install \\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\srvmsgs.cmd "... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:46 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 1 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:53 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 2 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:54 PM 4448 (0x1160)
    Bootstrap operation failed with error code 1 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:57 PM 4448 (0x1160)
    "\\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\srvmsgs.cmd /install /siteserver:PRIMARYSITESRV.CE.CORP.COM" executed successfully on server BYCWFP01.CE.CORP.COM. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:57 PM 4448 (0x1160)
    Bootstrap operation successful. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:57 PM 4448 (0x1160)
    Starting service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV with command-line arguments "PS1 W:\SMS /install \\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\climsgs.cmd "... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:27:58 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 1 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:05 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 2 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:06 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 3 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:08 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 4 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:11 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 5 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:15 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 6 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:21 PM 4448 (0x1160)
    Bootstrap operation failed with error code 1 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:27 PM 4448 (0x1160)
    "\\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\climsgs.cmd /install /siteserver:PRIMARYSITESRV.CE.CORP.COM" executed successfully on server BYCWFP01.CE.CORP.COM. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:27 PM 4448 (0x1160)
    Bootstrap operation successful. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:27 PM 4448 (0x1160)
    Starting service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV with command-line arguments "PS1 W:\SMS /install \\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\provmsgs.cmd "... SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:28 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 1 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:35 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 2 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:36 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 3 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:38 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 4 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:41 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 5 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:45 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 6 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:50 PM 4448 (0x1160)
    Service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV did not create \\SiteServer.Domain.Logal\W$\SMS\bin\x64\srvboot.ini. sleep 7 seconds. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:28:56 PM 4448 (0x1160)
    Bootstrap operation failed with error code 1 SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:29:04 PM 4448 (0x1160)
    "\\SiteServer.Domain.Logal\ADMIN$\system32\smsmsgs\provmsgs.cmd /install /siteserver:PRIMARYSITESRV.CE.CORP.COM" executed successfully on server BYCWFP01.CE.CORP.COM. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:29:04 PM 4448 (0x1160)
    Bootstrap operation successful. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:29:04 PM 4448 (0x1160)
    Deinstalled service SMS_SERVER_BOOTSTRAP_PRIMARYSITESRV. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:29:05 PM 4448 (0x1160)
    Bootstrap operations aborted. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:29:05 PM 4448 (0x1160)
    Installation failed and will be retried in the next polling cycle. SMS_SITE_COMPONENT_MANAGER 12/30/2013 3:29:05 PM 4448 (0x1160)

    I did a find/replace on our server FQDN and apparently misspelled 'local'. The actual FQDN being used is correct, though.
    That link is interesting, as the system %tmp% and %temp% variables on our servers point to '\TEMP'. While I'm not entirely discounting that theory, it doesn't explain why some servers are unaffected, while others are. These are all 2008 R2 servers, and are
    all configured the same. Due to network restrictions we currently have a DP/SMP at nearly every single physical location that we have across the state, as of right now there are 70 of them in total, and end state will be 76. Only 11 of those 70 are exhibiting
    this issue.
    I did notice that on the drive that we're installing the role compnonents to that there is no 'temp' folder, I've added that folder and will attempt a reinstall on one of the servers to see how it goes.

  • Logical SQL to physical SQL in datamodel.

    I am designing a report in BI publisher and for that I am creating a datamodel.
    My datamodel contains 4 dataset with 4 different logical SQLs and all use source as Oracle BIEE.
    When I generate/execute xml from datamodel I observed in nqquery.log that BI publisher is executing each logical SQL in sequence.
    That is OBIEE first send logical SQL of one of the dataset and then convert it to physical SQL. After first physical SQL is completed then only it is converting second logical SQL to physical.
    So logical to physical query is happening in sequence rather than in parallel.
    My datamodel contains huge logical SQLs and OBIEE takes almost 40 seconds each to convert it physical query. This will result in total 160 seconds for just converting 4 logical SQLs to physical SQLs.
    Does anybody know if there is any setting where I can manage to convert multiple logical to physical in parallel?

    Hi Experts,
    Please help on this.

  • An error The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered after launching a ps1 script from cmd file.

    I'm trying to load sharepoint script from *.cmd file. 
    I have Sharepoint 2010 installed on Windows 7 x64 and SQL server 2008r2.
    My cmd file is: 
    Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
    My sharepoint file 1.ps1 is:
    $snapin="Microsoft.SharePoint.PowerShell"
    if ($action -eq $null -or $action -eq '')
    {<br />
    # Action by default is complete uninstallation.
    $action='uninstall'
    $uninstall = $true
    else
    $action = $action.ToLower()
    switch($action)
    { $_ -eq "uninstall" } { $uninstall = $true; break }
    { $_ -eq "removesolution" } { $removeSolution = $true; break }
    { $_ -eq "deactivatecorpus" } { $deactivateCorpus = $true; break }
    { $_ -eq "deactivatesupport" } { $deactivateSupport = $true; break }
    default { Write-Host -f Red "Error: Invalid action: $action "; Exit -1 }
    Check the Sharepoint snapin availability.
    if (Get-PSSnapin $snapin -ea "silentlycontinue")
    Write-Host "PS snapin $snapin is loaded."
    elseif (Get-PSSnapin $snapin -registered -ea "silentlycontinue")
    Write-Host "PS snapin $snapin is registered."
    Add-PSSnapin $snapin
    Write-Host "PS snapin $snapin is loaded."
    else
    Write-Host -f Red "Error: PS snapin $snapin is not found."
    Exit -1
    $url = "http://pc1/sites/GroupWork/"
    $site= new-Object Microsoft.SharePoint.SPSite($url )
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates){ write-host $child.Name " " $child.Title}<br />
    $site.Dispose()
    The script works fine from the Sharepoint 2010 management shell after launching the shell from the start menu (or from windows cmd by entering powershell -v 2):
    PS C:\2> .\1.ps1 
    PS snapin Microsoft.SharePoint.PowerShell is loaded.
    GLOBAL#0 Global template
    STS#0 Team Site
    STS#1 Blank Site
    STS#2 Document Workspace
    MPS#0 Basic Meeting Workspace
    MPS#1 Blank Meeting Workspace
    MPS#2 Decision Meeting Workspace
    MPS#3 Social Meeting Workspace
    MPS#4 Multipage Meeting Workspace
    CENTRALADMIN#0 Central Admin Site
    WIKI#0 Wiki Site
    BLOG#0 Blog
    SGS#0 Group Work Site
    TENANTADMIN#0 Tenant Admin Site
    {248A640A-AE86-42B7-90EC-45EC8618D6B4}#MySite2 MySite2
    {95629DC2-03B1-4C92-AD70-BC1FEAA49E7D}#MySite1 MySite1
    {7F01CFE4-F5E2-408B-AC87-E186D21F624C}#NewSiteTemplate NewSiteTemplate
    PS C:\2>
    I have an access to the database Sharepoint_Config from current domain user and from other 2 users. All users have db_owner rights to the Sharepoint_Config database. But
    i've loaded in windows from the user which is dbo in the database (dbo with windows authentication with domain\username for the current user). The dbo user has do_owner rights in the Sharepoint_Config database. I've tried to login under other users and launch
    the cmd file but without success.
    My PowerShell has version 2.0: 
    PS C:\2> $psversiontable
    Name Value
    CLRVersion 2.0.50727.5477
    BuildVersion 6.1.7601.17514
    PSVersion 2.0
    WSManStackVersion 2.0
    PSCompatibleVersions {1.0, 2.0}
    SerializationVersion 1.1.0.1
    PSRemotingProtocolVersion 2.1
    After launching the script from 1.cmd file i get an errors:
    C:\2>Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
    PS snapin Microsoft.SharePoint.PowerShell is registered.
    The local farm is not accessible. Cmdlets with FeatureDependencyId are not regis
    tered.
    Could not read the XML Configuration file in the folder CONFIG\PowerShell\Regist
    ration.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\Registration'.
    No xml configuration files loaded.
    Unable to register core product cmdlets.
    Could not read the Types files in the folder CONFIG\PowerShell\types.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\types'.
    "No Types files Found."
    Could not read the Format file in the folder CONFIG\PowerShell\format.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\format'.
    No Format files Found.
    PS snapin Microsoft.SharePoint.PowerShell is loaded.
    New-Object : Exception calling ".ctor" with "1" argument(s): "The Web applicati
    on at http://Pc1/sites/GroupWork/ could not be found. Verify t
    hat you have typed the URL correctly. If the URL should be serving existing con
    tent, the system administrator may need to add a new request URL mapping to the
    intended application."
    At C:\2\1.ps1:48 char:18
    + $site= new-Object <<<< Microsoft.SharePoint.SPSite($url )
    + CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvoca
    tionException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
    Shell.Commands.NewObjectCommand
    Please help me. I don't understand why the script is launched from the sharepoint management shell but doesn't work from the cmd file.

    I have an answer for my problem:  for solving a problem I've made several steps:
    1. Run farm installation under AD admin credentials - runas /user:Domain1\DomainAdmin1 "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\psconfigui.exe".
    This user has been added as farm administrator in the wizard.
    This user has been added as DBO in the SQL Server. (This is the main difference with my previous attempts)
    2. Execute a command Add-SPShellAdmin Domain1\UserAccount1 in
    the Management Shell of Sharepoint.
    3. Run SQL server and add Sharepoint_Shell_Access to the Domain1\UserAccount1
    (my main account) in the Config database
    4. Run CMD file only from Start->Run menu. 
    runas /user:Domain1\UserAccount1 "C:\1.cmd".
    Do not use Total Commander command prompt or file list for executing *.cmd of *.bat files without root administrator account.
    Thanks all for help.

  • Income tax rule 2014-15:issue in Loan Interest Limit in infotype 584 for tcode-pa30

    Currently when we are using existed limit which is 1,50000 for income from other sources. it is displaying in pay slip.in any other income colum as  Deds S24
    (104692.00 -)
    pa30-infotype-584 –limit-150000
    As per new tax rules for year 2014-15,we have implemented Changes for Interest on Loan limit.
    View-V_T511P.
    After making entries in this view for current income tax rules:limit exceed 200000. LNS05 we created this new entry.
    And changes also made here.
    Pa30-infotype-584-limit exceed-200000.
    After doing this entry.it is not showing in payslip.in any other income colum.its blank now.
    please suggest.

    Sandhya Kodepudi replied (in response to Priya Gupta) 10 minutes ago
    Hi Priya ,
    Section 24 deduction works perfectly for me . Its clearly stated in the budget note released to get your system upgraded to N-1 patch level.
    We are currently working on SAP 604 sp76(upgraded from 64-76) , and EA-HR patches updated to 55..
    Please ask your basis consultant to check the levels and upgrade accordingly .
    The manual changes given in the budget note are working correctly.
    regards
    sandhya

  • Error in OIM 11g R2 PS1 configuration

    Hi Gurus
    I am getting the following error while running the OIM configuration wizard. This is urgent as I am not able to proceed. Please help
    Log file:
    [2013-06-05T15:26:49.107-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JwMSicA1j^Uay5Na6G1HfvaS000003,0] [[
    updating SOA mbean oracle.as.soainfra.config:Location=WLS_SOA,WorkflowIdentityConfig.ConfigurationType=jazn.com,WorkflowIdentityConfig=human-workflow,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,Application=soa-infra,name=jpsContextName,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider JPSProvider attribute Value to oim
    [2013-06-05T15:26:49.134-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JwMSicA1j^Uay5Na6G1HfvaS000003,0] Exception[[
    javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.setAttribute(Unknown Source)
    Caused by: javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1276)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanServerInterceptorBase.java:58)
    [2013-06-05T15:26:49.139-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JwMSicA1j^Uay5Na6G1HfvaS000003,0] [OIM_CONFIG] Update the SOA Mbean with OIM JPS-CONTEXT Failed.
    [2013-06-05T15:28:28.348-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.config] [tid: 11] [ecid: 0000JwMRL1V1j^Uay5Na6G1HfvaS000002,0] Initating rollback of the Action Instance : OIM Configuration
    [2013-06-05T15:28:28.348-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.config] [tid: 11] [ecid: 0000JwMRL1V1j^Uay5Na6G1HfvaS000002,0] Finishing rollback of the Action Instance : OIM Configuration
    [2013-06-05T15:28:28.374-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.statistics] [tid: 11] [ecid: 0000JwMRL1V1j^Uay5Na6G1HfvaS000002,0] Writing profile to file:/u01/oraInventory
    out file:
    fileToAdd=soaconfigplan.xml
    fileToAdd=CertificationProcess_cfgplan.xml
    trying to move the updated composite jar /tmp/13704712040052755924967116283055.tmp to /u01/oracle/config/domains/idm_domain/idm_domain/soa/autodeploy/sca_CertificationProcess_rev1.0.jar
    commandStr:/bin/mv /tmp/13704712040052755924967116283055.tmp /u01/oracle/config/domains/idm_domain/idm_domain/soa/autodeploy/sca_CertificationProcess_rev1.0.jar
    Modify JAR :true
    updated the soaconfigplan.xml & CertificationProcess_cfgplan.xml files in the composite jar sca_CertificationProcess_rev1.0.jar
    javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.setAttribute(Unknown Source)
    Caused by: javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1276)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanS
    In doCancel method ...
    Yes option....
    inventoryLocation: /u01/oraInventory
    outputFile:/u01/oraInventory/logs/installProfile2013-06-05_03-20-09PM.log
    in writeProfile method..
    [ENGINE] Adding /tmp/OraInstall2013-06-05_03-20-09PM for deletion.
    java.lang.NullPointerException
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.shutdown(StandardConfigActionManager.java:211)
         at oracle.as.install.engine.modules.con

    Hi,
    Please check if you have followed the below steps to install PS1
    1) Install Database
    2) Run RCU and create Schema for PS1
    3) Install Weblogic Server 10.3.6
    4) Install SOA Server 11.1.1.6 and Install SOA patches
    5) Install IDM Server 11.1.1.2.1
    6) Create Domains
    7) Configure Security Store Python Script
    8) Start both Admin server and SOA server (in 11g R2 SOA server is not required ) but in PS1 it is required to start SOA server before configuring domain.
    9) Configure OIM and Design Console
    10) Start OIM managed servers
    HTH

Maybe you are looking for

  • Can't get my design to work, could someone lend some guidance?

    Hi, I'm a complete newb to Labview v8.6.1.  I come from the .Net world and I'm having difficulty making the transition, some guidance would be greatly appreciated. I've attached my .vi that I came up with but I've hit a wall and I can't get this desi

  • Audio preview issue

    I have imported an audio (mp3) to an object. The audio is visible in the time line and plays using the play button in timeline. There is a "click to continue" button that must be clicked for the project to continue playing, once clicked the audio (mp

  • IPhone 4 - Ghost songs (brrrrr)

    Hello, I'm having a real strange problem... When I copy/sync my playlists (from iTunes 9.2) to my "cool-brand-new-iphone-4", the songs are copied correctly (I can find them by searching them) but playlists are empty or almost (I can find 10 songs ins

  • Assign bussiness systems

    Hi Friends, I am new to XI. I am practicing File to File scenario. https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/flatFILETOFLATFILE& I struck, please guide me. I am able to create Product, BS, SWCC, Data types, messages types, Mapping, Messag

  • Time characterstrics

    Hi In the Current DW we defined the values for the following time dimensions to facilitate scheduling reports.  For instance, the filter on the query would be: if PERIOD between u2018Period 3 Months Prioru2019 and u2018Last Month Periodu2019 then Sal