Attributes not allowed!!

Hello!
I'm having a problem when I enter a User using the JNDI, I wonder if anyone in the group could help me!
Well, after suffering a lot (lol), I found a nice tutorial on how to enter data in OpenLDAP as I wanted, which was creating a class that extends the DirContext.
Done that and then be able to insert a User using some standard attributes of ldap, I created a constructor with the fields I wanted to insert. Instantiate all cute, but when I enter, it says that the field can not be included:
LDAP: error code 65 - attribute 'name' not allowed
I went to the attribute in ldap, and saw that it was this:
Used for User object class
It has something to do? I need to do something to say that what I am entering this class inherits User?
Interesting is that if I enter this same object with only the attribute "fax" it works!
Edited by: Hor on 28/10/2010 12:32

Well, after suffering a lot (lol), I found a nice tutorial on how to enter data in OpenLDAP as I wanted, which was creating a class that extends the DirContext.You'll have to explain that to me because I don't understand. If you want an LDAP object with arbitrary attributes, just add extensibleObject to its objectClass attribute. Extending DirContext is a dead-end as far as I can see. You have to add an object factory and all that and you lose the ability to create subcontexts of your own object too.
Done that and then be able to insert a User using some standard attributes of ldapJust create a set of attributes including objectClass={top, person, organizationalPerson, inetOrgPerson} and you're done. Then just use the attributes defined for inetOrgPerson. If you want more, add extensibleObject as above.

Similar Messages

  • Update error: POL - 4008 null buffer for attribute is not allowed

    I am attempting to update a column in my Oracle Lite database through JDBC.
    The statement is:
    ds = getDataSource();
    conn = getConnection(ds);
    stmt = getStatement(conn);
    int results = stmt.executeUpdate("UPDATE SYSTEM.PM_PASSENGERS SET CURRENT_STATUS_EVENT_ID = 267 WHERE PASSENGER_ID = 1");
    System.out.println(results+" rows affected.");
    conn.commit();
    which results in the message:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 rows affected.
    [POL-4008] null buffer for attribute is not allowed
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I am not sure what that means exactly. Does that mean there is some problem with the commit?
    Thanks,
    Allen

    Is it necessary to update the entire record in Oracle Lite, or should it be possible to update select columns only when performing an update query?
    Thanks,
    Allen

  • Problem: Empty id attribute is not allowed

    Hi, I'm a newby with JSF and can't understand how to make some really simple things to work.
    One of the problems occurred, when I tried to make a dataTable for choosing locales.
    Simple table, like
    language code | button "choose"
    language code | button "choose"
    language code | button "choose"
    , and actionListener attached to buttons. The language code is shown by <h:outputText value="${locale}">, works just fine! But when I add <h:commandButton id="${locale}" value="#{msg.set}" actionListener="#{tryoutsView.chooseLocaleAL}"/>, an error appears "Empty id attribute is not allowed"!
    So I have two questions about that:
    (1) Why ${locale} is normally calculated in one place, and is null nearby? Didn't find any clues on that in official tutorial.
    (2) How do I make this work (make id attribute take expression)?
    And one more question on related subject
    (3) Why did official tutorial authors use "synchronized" mark for method, that determines content of h:dataTable? (http://download.oracle.com/javaee/6/tutorial/doc/bnaty.html#bnauc)
    The code:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core">
        <h:head>
            <title>Facelet Title</title>
        </h:head>
        <h:body>
            Hello from Facelets!
            <f:view>
                <f:loadBundle basename="my.presentation.tryouts" var="msg"/>
                <h:dataTable
                    id="locales_table"
                    value="#{tryoutsView.supportedLocales}"
                    var="locale"
                    title="#{msg.thelocales}">
                    <f:facet name="header"><h:outputText value="#{msg.tableheader}"/></f:facet>
                    <h:column>
                        <f:facet name="column_locale_head"><h:outputText value="#{msg.locale}"/></f:facet>
                        <h:outputText value="${locale}"/>
                    </h:column>
                    <h:column>
                        <h:form>
                            <h:commandButton id="${locale}" value="#{msg.set}" actionListener="#{tryoutsView.chooseLocaleAL}"/>
                        </h:form>
                    </h:column>
                    <f:facet name="footer"><h:outputText value="#{msg.tablefooter}"/></f:facet>
                </h:dataTable>
            </f:view>
        </h:body>
    </html>
    public class TryoutsView {
        private static final TreeMap<String, Locale> SUPPORTED_LOCALES = MyUtils.iterator2treemap(FacesContext.getCurrentInstance().getApplication().getSupportedLocales());
        public synchronized List<String> getSupportedLocales() {
            List<String> l = MyUtils.iterator2arrlist(SUPPORTED_LOCALES.keySet().iterator());
            return l;
    }Edited by: 800060 on Oct 4, 2010 10:23 PM
    Edited by: 800060 on Oct 5, 2010 12:18 AM

    If you have/intend nothing useful to say, then, please, stop trashing the thread.I don't consider asking questions, or pointing out tautologies, to be 'trashing the thread'.
    (1) Why ${locale} is normally calculated in one place, and is null nearby? It isn't 'calculated' anywhere in your code. It is set by the listbox. Until the user selects a value it doesn't have one. It iis empty. Hence the error message that I keep directing your attention to.
    (2) How do I make this work (make id attribute take expression)?Make sure the value of the expression isn't empty.
    And one more question on related subject
    (3) Why did official tutorial authors use "synchronized" mark for method, that determines content of h:dataTable? (http://download.oracle.com/javaee/6/tutorial/doc/bnaty.html#bnauc)
    Because 'items' is probably not thread-safe.
    If you want any further help from me I suggest you mind your manners. It is clear that you have very little useful to say here. You seem to have no intention of answering any of the questions I asked you. Nor am I convinced that you understand the difference between 'empty' and 'omitted' that I have been trying to get you to see. It is impossible to help those who will not help themselves, and abusing those who are trying to help them is not a rational policy.

  • ERROR ITMS-9000: "index_split_000.html(257): attribute "name" not allowed here; expected attribute "accesskey", "charset", "class", "coords", "dir", "href", "hreflang", "id", "rel", "rev", "shape", "style", "tabindex", "target", "title", "type" or "xml:la

    I have all these errors, can anyone help with this all means? trying to get my book published in iBooks. Nedd your help. Thanks, Jo
    ERROR ITMS-9000: "index_split_000.html(257): attribute "name" not allowed here; expected attribute "accesskey", "charset", "class", "coords", "dir", "href", "hreflang", "id", "rel", "rev", "shape", "style", "tabindex", "target", "title", "type" or "xml:lang"" at Book (MZItmspBookPackage)
    Use of the block quote element can cause ePubecheck to give the error "text not allowed here".  Text must not be alone inside of a body tag and if it is not enclosed in some other block level tag, this may lead to the error you are receiving.  

    I have all these errors, can anyone help with this all means? trying to get my book published in iBooks. Nedd your help. Thanks, Jo
    ERROR ITMS-9000: "index_split_000.html(257): attribute "name" not allowed here; expected attribute "accesskey", "charset", "class", "coords", "dir", "href", "hreflang", "id", "rel", "rev", "shape", "style", "tabindex", "target", "title", "type" or "xml:lang"" at Book (MZItmspBookPackage)
    Use of the block quote element can cause ePubecheck to give the error "text not allowed here".  Text must not be alone inside of a body tag and if it is not enclosed in some other block level tag, this may lead to the error you are receiving.  

  • Attribute 'bindingStyle' is not allowed to appear in element 'jxb:globalBin

    I am using JAXB version
    xjc version "2.0-b26-ea3"
    JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build 2.0-b26-ea3)
    I have defined an external binding file
    <jxb:bindings
    version="1.0"
    xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    schemaLocation="address.xsd" node="/xsd:schema">
         <jxb:globalBindings bindingStyle="modelGroupBinding"/>
              <jxb:schemaBindings>
                        <jxb:package name="com.oracle.test.address"/>
                        <jxb:nameXmlTransform>
                                  <jxb:modelGroupName suffix="Group"/>
                        </jxb:nameXmlTransform>
              </jxb:schemaBindings>
    /jxb:bindings>
    and my XSD is
    <?xml version = "1.0" encoding = "UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xmlns.oracle.com/address"
    xmlns:tns="http://xmlns.oracle.com/address">
    <xsd:element name="address">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="street" type="xsd:string"/>
    <xsd:element name="city" type="xsd:string"/>
    <xsd:group ref="tns:pinorzip"/>
    <xsd:element name="state" type="xsd:string"/>
    <xsd:element name="streetNext" type="xsd:string"/>
    <xsd:choice>
    <xsd:element name="phoneNumber" type="xsd:string"/>
    <xsd:element name="speedDial" type="xsd:int"/>
    </xsd:choice>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:group name="pinorzip">
    <xsd:choice>
    <xsd:element name="zip" type="xsd:positiveInteger"/>
    <xsd:element name="pin" type="xsd:positiveInteger"/>
    </xsd:choice>
    </xsd:group>
    </xsd:schema>
    When I try to generate Java classes for this XSD I get the following error
    [ERROR] cvc-complex-type.3.2.2: Attribute 'bindingStyle' is not allowed to appear in element 'jxb:globalBindings'.
    line 8 of file:/D:/Mahesh/webservices/JAXB/samples/address.xjb
    Failed to parse a schema.
    I would appreciate if anybody could point out as to why I am getting this error.
    Thanks,
    Mahesh.N

    Are you sure your version of Spring is being picked up?

  • Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'

    Hi All,
    I created the wsdl for mobile and I tried to send a SOAP request from Altova XMLSpy. However when I geive the wsdl in 'wsdl file location' I receive the following.
    File http://127.0.0.1:8080/B1iXcellerator/exec/dummy/com.sap.b1i.vplatform.scenarios.setup/vPac.sap.B1Mobile/001sap0003_sap.B1Mobile.wsdl is not valid.
    Invalid XML schema: 'Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'.'
      Error location: wsdl:definitions / wsdl:types / xs:schema / xs:element / @type
    Any Idea?
    Vangelis

    Hi,
      it seems that Altove did not cope with defaultNs prefix that is used for marking default namespace.
       just look up in your <xs:schema > tag what namespace prefix is used for your namespace - you shall find there something like this
    <xs:schema xmlns:ns0="your.namespace.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    and replace prefix defaultNs with prefix of your namespace (in example above it would be ns0)
    There might be several usages of defalutNs iside of WSDL (at least in my case were two) so replace it everywhere using same approach
    Best regards, Artem

  • Why do I get an error msg that reads "operation not allowed" whenever I try to Remove Attributes from my timeline?

    On any given project, whenever I select everything in my timeline and try to remove all the attributes, I get an error message that reads "operation not allowed."
    If I select a smaller chuck of files on my timeline and hit remove attributes, it works, but this isn't the case if I select everything in my timeline.
    How do I fix this? Thanks!

    Have you tried trashing your Final Cut Pro preferences? It is usually the first step when FCP begins to act in unexpected ways.
    Download Preference Manager (free) from Digital Rebellion
    http://www.digitalrebellion.com/prefman/
    and use it to trash your preferences - they will be set to default the next time you open FCP.
    If that does not remedy the problem, do you have any still images in your timeline that are not RGB, or are greater than 4000 pixels in the widest dimension?
    Is your source material in an FCP7 edit friendly codec?
    MtD

  • Attribute "icsDWPHost" is not allowed

    Hi,
    I am seeing these in my LDAP errors log.
    [26/Sep/2006:09:38:29 +0700] - ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "uid=sunvpt3,ou=People,o=vpt.vn,dc=vpt,dc=vn", attribute "icsDWPHost" is not allowed
    [26/Sep/2006:10:32:02 +0700] - ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "uid=garry_test3,ou=People,o=vpt.vn,dc=vpt,dc=vn", attribute "icsDWPHost" is not allowed
    [26/Sep/2006:10:45:01 +0700] - ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "uid=vinhtt,ou=People,o=vpt.vn,dc=vpt,dc=vn", attribute "icsDWPHost" is not allowed
    [26/Sep/2006:16:48:03 +0700] - ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "uid=sunvpt2,ou=People,o=vpt.vn,dc=vpt,dc=vn", attribute "icsDWPHost" is not allowed
    Any idea what this means?
    JES Q105.

    Here it is:
    # entry-id: 3232
    dn: o=vpt.vn,dc=vpt,dc=vn
    preferredLanguage: en
    icsStatus: active
    sunEnableGAB: false
    sunRegisteredServiceName: SunPortalNetMailService
    sunRegisteredServiceName: iPlanetAMAdminConsoleService
    sunRegisteredServiceName: iPlanetAMAuthMembershipService
    sunRegisteredServiceName: SunPortalSubscriptionsService
    sunRegisteredServiceName: iPlanetAMAuthService
    sunRegisteredServiceName: iPlanetAMPolicyConfigService
    sunRegisteredServiceName: iPlanetAMUserService
    sunRegisteredServiceName: SunPresence
    sunRegisteredServiceName: SunSSOAdapterService
    sunRegisteredServiceName: SunMobileAppABService
    sunRegisteredServiceName: SunMobileAppMailService
    sunRegisteredServiceName: SunPortalWSRPConsumerService
    sunRegisteredServiceName: SunPortalWSRPProducerService
    sunRegisteredServiceName: calendarService
    sunRegisteredServiceName: SunMobileAppCalendarService
    sunRegisteredServiceName: iPlanetAMAuthLDAPService
    sunRegisteredServiceName: SunPortalDesktopService
    sunRegisteredServiceName: SunIM
    sunRegisteredServiceName: mailService
    sunRegisteredServiceName: DomainMailService
    sunRegisteredServiceName: GroupMailService
    sunRegisteredServiceName: UserMailService
    sunRegisteredServiceName: UserCalendarService
    sunRegisteredServiceName: DomainCalendarService
    aci: (target="ldap:///ou=People,o=vpt.vn,dc=vpt,dc=vn")(targetfilter=(!(|(nsro
    ledn=cn=Top-level Admin Role,dc=vpt,dc=vn)(nsroledn=cn=Top-level Help Desk A
    dmin Role,dc=vpt,dc=vn)(nsroledn=cn=Organization Admin Role,o=vpt.vn,dc=vpt,
    dc=vn)(nsroledn=cn=Container Admin Role,o=vpt.vn,dc=vpt,dc=vn))))(targetattr
    != "iplanet-am-web-agent-access-allow-list || iplanet-am-web-agent-access-n
    ot-enforced-list || iplanet-am-domain-url-access-allow || iplanet-am-web-age
    nt-access-deny-list || nsroledn") (version 3.0; acl "People container admin
    role"; allow (all) roledn = "ldap:///cn=ou=People_o=vpt.vn_dc=vpt_dc=vn,o=vp
    t.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///o=vpt.vn,dc=vpt,dc=vn")(targetfilter=(!(|(nsroledn=cn=To
    p-level Admin Role,dc=vpt,dc=vn)(nsroledn=cn=Top-level Help Desk Admin Role,
    dc=vpt,dc=vn))))(targetattr = "nsroledn")(targattrfilters="add=nsroledn:(nsr
    oledn=*,o=vpt.vn,dc=vpt,dc=vn),del=nsroledn:(nsroledn=*,o=vpt.vn,dc=vpt,dc=v
    n)")(version 3.0; acl "S1IS Organization Admin Role access allow"; allow (al
    l) roledn = "ldap:///cn=Organization Admin Role,o=vpt.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///o=vpt.vn,dc=vpt,dc=vn")(targetfilter=(!(|(nsroledn=cn=To
    p-level Admin Role,dc=vpt,dc=vn)(nsroledn=cn=Organization Admin Role,o=vpt.v
    n,dc=vpt,dc=vn))))(targetattr = "userPassword") (version 3.0; acl "S1IS Orga
    nization Help Desk Admin Role access allow"; allow (write) roledn = "ldap://
    /cn=Organization Help Desk Admin Role,o=vpt.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///o=vpt.vn,dc=vpt,dc=vn")(targetfilter=(!(|(nsroledn=cn=To
    p-level Admin Role,dc=vpt,dc=vn)(nsroledn=cn=Top-level Help Desk Admin Role,
    dc=vpt,dc=vn)(nsroledn=cn=Organization Admin Role,o=vpt.vn,dc=vpt,dc=vn))))(
    targetattr = "*") (version 3.0; acl "S1IS Organization Help Desk Admin Role
    access allow"; allow (read,search) roledn = "ldap:///cn=Organization Help De
    sk Admin Role,o=vpt.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///ou=services,*o=vpt.vn,dc=vpt,dc=vn")(targetattr = "*") (
    version 3.0; acl "Organization Policy Admin Role access allow"; allow (all)
    roledn = "ldap:///cn=Organization Policy Admin Role,o=vpt.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///o=vpt.vn,dc=vpt,dc=vn")(targetfilter=(!(|(nsroledn=cn=To
    p-level Admin Role,dc=vpt,dc=vn)(nsroledn=cn=Top-level Help Desk Admin Role,
    dc=vpt,dc=vn)(nsroledn=cn=Organization Admin Role,o=vpt.vn,dc=vpt,dc=vn))))(
    targetattr = "*")(version 3.0; acl "Organization Policy Admin access allow";
    allow (read,search) roledn = "ldap:///cn=Organization Policy Admin Role,o=v
    pt.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///ou=iPlanetAMAuthService,ou=services,*o=vpt.vn,dc=vpt,dc=
    vn")(targetattr = "*") (version 3.0; acl "Organization Policy Admin Role acc
    ess Auth Service deny"; deny (add,write,delete) roledn = "ldap:///cn=Organiz
    ation Policy Admin Role,o=vpt.vn,dc=vpt,dc=vn";)
    aci: (target="ldap:///o=vpt.vn,dc=vpt,dc=vn")(targetfilter="(objectclass=sunis
    managedorganization)")(targetattr = "sunRegisteredServiceName") (version 3.0
    ; acl "Organization Policy Admin Role access allow"; allow (read,write,searc
    h) roledn = "ldap:///cn=Organization Policy Admin Role,o=vpt.vn,dc=vpt,dc=vn
    aci: (targetattr="icscalendar || cn || givenName || sn || uid || mail")(target
    filter=(objectClass=icscalendaruser))(version 3.0; acl "Allow Calendar users
    to read and search other users - product=ics,class=admin,num=3,version=1";
    allow (search,read) userdn = "ldap:///uid=*,ou=People,o=vpt.vn, dc=vpt,dc=vn
    createTimestamp: 20060911111002Z
    creatorsName: cn=puser,ou=dsame users,dc=vpt,dc=vn
    objectClass: sunISManagedOrganization
    objectClass: sunNameSpace
    objectClass: top
    objectClass: sunManagedOrganization
    objectClass: organization
    objectClass: inetdomainauthinfo
    objectClass: sundelegatedorganization
    objectClass: maildomain
    objectClass: icscalendardomain
    o: vpt.vn
    sunNameSpaceUniqueAttrs: uid
    sunPreferredDomain: vpt.vn
    inetDomainStatus: active
    sunOrgType: full
    preferredMailHost: HNI-MS-01.vpt.vn
    mailDomainDiskQuota: -1
    mailDomainStatus: active
    icsSessionTimeout: 600
    icsAnonymousLogin: yes
    icsDWPBackEndHosts: HNI-CAL-01.vpt.vn
    sunNumUsers: 45
    sunAvailableServices: topaz:1000:-1
    sunAvailableServices: mars:10:1
    sunAvailableServices: diamond:1000:1
    sunAvailableServices: platinum:1000:-1
    sunAvailableServices: emerald:1000:-1
    sunAvailableServices: vpt_mailhosting:500:-1
    sunAvailableServices: bronze:1000:3
    sunAvailableServices: defaultmail:1000:-1
    sunAvailableServices: silver:10:-1
    sunAvailableServices: gold:1000:-1
    sunAvailableServices: vpt:1000:-1
    sunAvailableServices: ruby:1000:-1
    modifiersName: cn=dsameuser,ou=dsame users,dc=vpt,dc=vn
    modifyTimestamp: 20060926192841Z
    nsUniqueId: f7b74301-1dd111b2-8077a6c6-faa8e3bd

  • System should not allow to delete PO line Item after GR/IR

    Hi,
    I am working on a SAP Retail Implementation project.
    Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
    We are using Account Assignment Category-N, Item Category-S.
    Please let me know if you have the solution for this requirement.
    Thanks in advance
    Thanks & Regards,
    Suresh

    Hi,
    Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
    Message no. 06115
    But if invoiced takes place, the is the point that PO can be deleted.
    You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
    Use MM06E005 and EXIT_SAPMM06E_012
    IF SY-TCODE = 'ME22N'.
    IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
    LOOP AT TEKPO.
    IF TEKPO-LOEKZ = 'L'.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
    IF SY-SUBRC = 0.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
    IF SY-SUBRC = 0.
    Regards,

  • The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. InnerException: Requested registry access is not allowed.

    I have read some of the other posts for people that got this error, but none seem to apply to me.
    My program has been working for weeks.  I made some minor changes, and started getting the error (full details below).
    I did a TFS "undo pending changes" and still getting the same error, even after logging off.  The one odd thing is that I did change my Windows password this week. The connection string is using a SQL user id and password that has no issues.
    I'm an Admin own my own box (running WIn XP SP3).  I even tried "Run as Admin" on Visual Studio.
    I'm doing a Debug-Start, running a Console-Test-Program that calls a WCF service, which on local machine is hosted by "ASP.NET Development Server".
    We have two other developers, one has the same problem, one does not.  In theory, we have all done "get latest" and are running the same code.
    The SQL Connection is related to a trace database; we are using this library http://ukadcdiagnostics.codeplex.com which has worked fine for months.
    When I do "Start Run" in Visual Studio, I get this error:
    {"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. "}
    with InnerException: {"The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception."}
    and it has InnerException: {"Requested registry access is not allowed. "}
    Outmost StackTrace:
       at System.Data.SqlClient.SqlConnection..ctor()
       at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
       at FRB.Diagnostics.Listeners.SqlDataAccessCommand..ctor(String connectionString, String commandText, CommandType commandType)
       at FRB.Diagnostics.Listeners.SqlDataAccessAdapter.CreateCommand()
       at FRB.Diagnostics.Listeners.SqlTraceListener.TraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.FilterTraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceInformation(String message)
       at FRB.EC.AdminService.AdminService.TestHelloWorldWithTrace(String name)
       at SyncInvokeTestHelloWorldWithTrace(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    Second Inner StackTrace:
       at System.Data.SqlClient.SqlConnection..cctor()
    Third Inner StackTrace:
          at System.Data.SqlClient.SqlConnectionFactory..cctor()
    When I do "Run as Admin", I get this error:
    {"Could not load file or assembly 'FRB.EFDataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied. "}
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at FRB.EC.AdminService.ConsoleTester.svcRef.IAdminService.GetDispositionStatusTypeList()
       at FRB.EC.AdminService.ConsoleTester.svcRef.AdminServiceClient.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\Service References\svcRef\Reference.cs:line 2459
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 565
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.ExecuteNewRelease103QueryMethods() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 189
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.Main(String[] args) in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 76
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    I am also posting the web.config/app.config, but I would rather not focus on that since there were absolutely no changes to it between the time it was working and the time it began failing. 
    Client app.config
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="ServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
              <serviceAuthorization impersonateCallerForAllOperations="true"/>
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="524288" maxReceivedMessageSize="5565536"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
            <client>
                  <endpoint address="http://localhost:3588/AdminService.svc" binding="wsHttpBinding"
                        bindingConfiguration="WSHttpBinding_IAdminService" contract="svcRef.IAdminService"
                        name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
        </system.serviceModel>
    </configuration>
    web.config of WCF service:
      <?xml version="1.0"?>
    <configuration>
        <configSections>
        <section name="FRB.Diagnostics" type="FRB.Diagnostics.Configuration.UkadcDiagnosticsSection, FRB.Diagnostics"/>
      </configSections>
        <appSettings>
           <!-- whatever goes here -->
        </appSettings>
        <!-- connection string section -->
      <connectionStrings>
        <add name="log" connectionString="Data Source=myserver;Initial Catalog=ECWCFLOG_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="DBConn" connectionString="Data Source=myserver;Initial Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="EagleConnectEntities" connectionString="metadata=res://*/EagleConnect.csdl|res://*/EagleConnect.ssdl|res://*/EagleConnect.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=myserver;Initial
    Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient"/>
      </connectionStrings>
        <!-- FRB.Diagnostics logging section -->
        <FRB.Diagnostics>
            <sqlTraceListeners>
                <sqlTraceListener name="sqlTraceListenerSettings"
                            connectionStringName="log"
                            commandText="INSERT INTO LogStore VALUES(@Source, @ActivityId, @ProcessId, @ThreadId, @EventType, @Message, @Timestamp)"
                            commandType="Text">
                    <parameters>
                        <parameter name="@Source" propertyToken="{Source}"/>
                        <parameter name="@ActivityId" propertyToken="{ActivityId}"/>
                        <parameter name="@ProcessId" propertyToken="{ProcessId}"/>
                        <parameter name="@ThreadId" propertyToken="{ThreadId}"/>
                        <parameter name="@EventType" propertyToken="{EventType}" callToString="true"/>
                        <parameter name="@Message" propertyToken="{Message}"/>
                        <parameter name="@Timestamp" propertyToken="{DateTime}"/>
              <!-- <parameter name="@UserId" propertyToken="{WindowsIdentity}"/> -->
            </parameters>
                </sqlTraceListener>
            </sqlTraceListeners>
            <smtpTraceListeners>
                <smtpTraceListener name="smtpTraceListenerSettings"
                             host="vssmtp"
                             port="25"
                             from="[email protected]"
                             to="[email protected]"
                             subject="AdminService Logging Event: {EventType}, {MachineName}"
                             body="{Message}&#xA;=======&#xA;Process={ProcessId},&#xA;Thread={ThreadId},&#xA;ActivityId={ActivityId}"/>
            </smtpTraceListeners>
        </FRB.Diagnostics>
        <!-- System.Diagnostics logging section -->
        <system.diagnostics>
            <sources>
                <source name="FRB.EC.AdminService" switchValue="All">
                    <listeners>
                        <clear/>
                        <add name="ods"/>
                        <add name="smtp"/>
                        <add name="sql"/>
                    </listeners>
                </source>
                <source name="System.ServiceModel" switchValue="Off" propagateActivity="true">
                    <listeners>
                        <add name="ignored" type="System.Diagnostics.ConsoleTraceListener"/>
                    </listeners>
                </source>
            </sources>
            <sharedListeners>
                <!-- OutputDebugStringTraceListener -->
                <add name="ods"
               type="FRB.Diagnostics.Listeners.OutputDebugStringTraceListener, FRB.Diagnostics"
               initializeData="{ActivityId}|{EventType}: {Message} - {DateTime}, Process={ProcessId}, Thread={ThreadId}"/>
                <!-- SqlTraceListener -->
                <add name="sql"
               type="FRB.Diagnostics.Listeners.SqlTraceListener, FRB.Diagnostics"
               initializeData="sqlTraceListenerSettings"
               traceOutputOptions="Timestamp"/>
                <!-- SmtpTraceListener -->
                <add name="smtp"
               type="FRB.Diagnostics.Listeners.SmtpTraceListener, FRB.Diagnostics"
               initializeData="smtpTraceListenerSettings">
                       <filter type="System.Diagnostics.EventTypeFilter"
                       initializeData="Error"/>
                </add>
            </sharedListeners>
            <trace autoflush="true"/>
        </system.diagnostics>
        <system.web>
        <compilation debug="true" targetFramework="4.0">
        </compilation>
            <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
        </system.web>
        <system.serviceModel>
            <services>
                <service name="FRB.EC.AdminService.AdminService"
                   behaviorConfiguration="FRB.EC.AdminService.AdminServiceBehavior">
                    <!-- Service Endpoints -->
                    <endpoint address="" binding="wsHttpBinding"
                      bindingConfiguration="wsHttpEndpointBinding"
                      contract="FRB.EC.AdminService.IAdminService">
                        <!--
                  Upon deployment, the following identity element should be removed or replaced to reflect the
                  identity under which the deployed service runs. 
                  If removed, WCF will infer an appropriate identity automatically.
              -->
                        <identity>
                            <dns value="localhost"/>
                        </identity>
                    </endpoint>
                    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                </service>
            </services>
            <bindings>
                <wsHttpBinding>
                    <binding name="wsHttpEndpointBinding"
                     maxBufferPoolSize="2147483647"
                     maxReceivedMessageSize="500000000">
                        <readerQuotas maxDepth="2147483647"
                            maxStringContentLength="2147483647"
                            maxArrayLength="2147483647"
                            maxBytesPerRead="2147483647"
                            maxNameTableCharCount="2147483647"/>
                        <security>
                            <message clientCredentialType="Windows"/>
                        </security>
                    </binding>
                </wsHttpBinding>
            </bindings>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="FRB.EC.AdminService.AdminServiceBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="true"/>
                        <serviceCredentials>
                        </serviceCredentials>
                        <!--<serviceAuthorization principalPermissionMode="UseAspNetRoles"
                    roleProviderName="AspNetWindowsTokenRoleProvider"/>-->
                        <serviceAuthorization principalPermissionMode="UseWindowsGroups"
                                    impersonateCallerForAllOperations="true"/>
                    </behavior>
                    <behavior name="FRB.EC.AdminService.IAdminServiceTransportBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="false"/>
                        <serviceCredentials>
                            <clientCertificate>
                                <authentication certificateValidationMode="PeerTrust"/>
                                <!--<authentication certificateValidationMode="Custom" customCertificateValidatorType="DataFactionServices.FRBX509CertificateValidator"/>-->
                            </clientCertificate>
                            <serviceCertificate findValue="WCfServer"
                                    storeLocation="LocalMachine"
                                    storeName="My" x509FindType="FindBySubjectName"/>
                        </serviceCredentials>
                    </behavior>
                </serviceBehaviors>
            </behaviors>
            <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
        </system.serviceModel>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true"/>
        </system.webServer>
    </configuration>
    Thanks for any help.
    Neal

    I think I found it... this is sure a strange error for what is really happening.
    Apparently it had happened to me before, and fortuantely, I actually added the following comment:
                // Above is related to the WCFLOG SQL Diagnostics Trace 
                // If you get error here an inner exception "requested registry access is not allowed"
                // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                // then make sure you have impersonation enabled in your client.
                // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
    Now I think I will do a try catch and spit out the same text.
    Still testing to assure that this really was the issue.
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate ">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
    The line below in BOLD below is what somehow seemed to disappear from my app.config - probably due to a TFS human error - still checking that also:
            <client>
                  <endpoint address="http://localhost:4998/AdminService.svc"
                                  behaviorConfiguration="FRB.AllowImpersonate"
                                  binding="wsHttpBinding"
                                  bindingConfiguration="WSHttpBinding_IAdminService"
                                 contract="svcRef.IAdminService"
                            name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
    Here's how I "idiot-proofed" this error for now, to give an error that actually at least points to a solution:
            public SqlDataAccessCommand(string connectionString, string commandText, CommandType commandType)
                try
                    _connection = new SqlConnection(connectionString);
                    // Above is related to the WCFLOG SQL Diagnostics Trace  
                    // If you get error here an inner exception "requested registry access is not allowed"
                    // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                    // then make sure you have impersonation enabled in your client.
                    // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
                catch (Exception ex)
                    if (ex.ToString().Contains("The type initializer for"))
                    throw new System.ApplicationException(@"
                    Your client app <endpoint> must be cofigured have a
                  'behaviorConfiguration' attribute like this:
                    behaviorConfiguration='FRB.AllowImpersonate'
                   that points back to a behavior that has this syntax:         
              <behavior name='FRB.AllowImpersonate'>
                 <clientCredentials>
                     <windows allowedImpersonationLevel='Impersonation'/>
                 </clientCredentials>
              </behavior>
              ", ex);
                   else
                        throw ex;
                _command = _connection.CreateCommand();
                _command.CommandText = commandText;
                _command.CommandType = commandType;
                // TODO _command.CommandTimeout = ;
    Neal

  • Address list error -- 5.7.1 Relaying not allowed

    Hi,
    We have setup the Java Messaging Server to send/recieve mails from a gateway. The inbound mail flow works perfectly but, the outbound mail flow has issues.
    The outbound mails are not hitting the gateway. When checked the log for outbound mail, it displays the address list error - 5.7.1 Relaying not allowed for any domain i.e gmail.com, etc
    version:
    Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)
    libimta.so 6.3-5.02 (built 17:15:31, Oct 12 2007; 32bit)
    SunOS P1192FLPLN 5.9 Generic_118558-02 sun4u sparc SUNW,Sun-Fire
    here is the log for reference...
    =========================================================================
    root@P1192FLPLN # /opt/SUNWmsgsr/sbin/imsimta test -rewrite -debug -source_channel=tcp_local [email protected] [email protected]
    Initializing mm_.
    Initializing mm_ submission.
    Checking identifiers.
    *** Debug output from initializing MM for submission:
    17:09:37.43: Debug output enabled, system P1192FLPLN.extmail.xyz.com, process 3fbf.1, message enqueue routines version V6.3 compiled Oct 12 2007 17:15:38
    17:09:37.43: mmc_winit('tcp_local','[email protected]','') called.
    17:09:37.43: Address reversal invoked on [email protected], force reverse URL 1, capture 1
    17:09:37.43: Rewriting:  Mbox = "abhishek.sen", host = "extmail.xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.43: Rewrite: "$*", position 0, hash table -
    17:09:37.43:   Found: "$A$E$F$U%[email protected]"
    17:09:37.43:   Rewrite failed, not forward.
    17:09:37.43: Rewrite: "$*", position 1, hash table -
    17:09:37.43:   Failed.
    17:09:37.43: Rewrite: "$*", position 0, rewrite database -
    17:09:37.43:   Failed
    17:09:37.43: Rewriting:  Mbox = "abhishek.sen", host = "extmail", domain = "extmail.xyz.com", literal = "", tag = ""
    17:09:37.43: Rewrite: "extmail.xyz.com", position 0, hash table -
    17:09:37.43:   Found: "$U%[email protected]"
    17:09:37.43:   New mailbox: "abhishek.sen".
    17:09:37.43:   New host: "extmail.xyz.com".
    17:09:37.43:   New route: "P1192FLPLN.extmail.xyz.com".
    17:09:37.43:   New channel system: "P1192FLPLN.extmail.xyz.com".
    17:09:37.43: Looking up host "P1192FLPLN.extmail.xyz.com".
    17:09:37.43:   - found on channel l                              
    17:09:37.43: Routelocal flag set; scanning for % and !
    17:09:37.43:   Checking reverse URL cache for: [email protected]
    17:09:37.43:   Applying reverse URL pattern ldap:///$V?$N?sub?$R to: [email protected]
    17:09:37.48:   Resulting URL: ldap:///o%3Dextmail.xyz.com%2Co%3Dext?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected]))
    17:09:37.49: mmc_open_url called to open ldap:///o%3Dextmail.xyz.com%2Co%3Dext?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected])), flags = 384
    17:09:37.49:   URL with quotes stripped: ldap:///o%3Dextmail.xyz.com%2Co%3Dext?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected]))
    17:09:37.49:   LDAP URL identified
    17:09:37.49: URL context #1 will be used
    17:09:37.49:   Performing URL search on: ldap:///o%3Dextmail.xyz.com%2Co%3Dext?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected]))
    17:09:37.53: mmc_read_url result: [uid=asen,ou=People,o=extmail.xyz.com,o=ext]
    17:09:37.53:   URL resolution returned: [uid=asen,ou=People,o=extmail.xyz.com,o=ext]
    17:09:37.53: mmc_read_url result: [preferredlanguage] en
    17:09:37.53:   URL resolution returned: [preferredlanguage] en
    17:09:37.53:       Attribute index: 0
    17:09:37.53:       LDAP URL produced preferred language en
    17:09:37.53: mmc_read_url result: [mailmsgmaxblocks] 700
    17:09:37.53:   URL resolution returned: [mailmsgmaxblocks] 700
    17:09:37.53:       Attribute index: 0
    17:09:37.53:       LDAP URL produced blocklimit 700
    17:09:37.53: mmc_read_url result: [mail] [email protected]
    17:09:37.53:   URL resolution returned: [mail] [email protected]
    17:09:37.54:       Attribute index: 0
    17:09:37.54:       LDAP URL produced address [email protected]
    17:09:37.54:   No more results to return
    17:09:37.54:     Override postmaster: [email protected]
    17:09:37.54:     Preferred language en
    17:09:37.54:     Content return block limit now 700
    17:09:37.54:   Mapped return address: [email protected]
    17:09:37.54:   from_access mapping check: ||MAIL|tcp_local|[email protected]|
    17:09:37.54: Queue area size 73232902, temp area size 2067314
    17:09:37.54:   18308225 blocks of effective free queue space available; setting disk limit accordingly.
    17:09:37.54:   1033657 blocks of free temporary space available; setting disk limit accordingly.
    17:09:37.54:       - passed.
    17:09:37.54: Rewriting:  Mbox = "abhishek.sen", host = "extmail.xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.54: Rewrite: "$*", position 0, hash table -
    17:09:37.54:   Found: "$A$E$F$U%[email protected]"
    17:09:37.54:   Rewrite failed, not forward.
    17:09:37.54: Rewrite: "$*", position 1, hash table -
    17:09:37.54:   Failed.
    17:09:37.54: Rewrite: "$*", position 0, rewrite database -
    17:09:37.54:   Failed
    17:09:37.54: Rewriting:  Mbox = "abhishek.sen", host = "extmail", domain = "extmail.xyz.com", literal = "", tag = ""
    17:09:37.54: Rewrite: "extmail.xyz.com", position 0, hash table -
    17:09:37.54:   Found: "$U%[email protected]"
    17:09:37.54:   New mailbox: "abhishek.sen".
    17:09:37.54:   New host: "extmail.xyz.com".
    17:09:37.54:   New route: "P1192FLPLN.extmail.xyz.com".
    17:09:37.56:   New channel system: "P1192FLPLN.extmail.xyz.com".
    17:09:37.56: Looking up host "P1192FLPLN.extmail.xyz.com".
    17:09:37.56:   - found on channel l                              
    17:09:37.56: Routelocal flag set; scanning for % and !
    *** Debug output from rewriting a forward header address:
    17:09:37.56: Rewriting:  Mbox = "bhanu.prasad", host = "xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.56: Rewrite: "$*", position 0, hash table -
    17:09:37.56:   Found: "$A$E$F$U%[email protected]"
    17:09:37.57:   Rewrite failed, not envelope.
    17:09:37.57: Rewrite: "$*", position 1, hash table -
    17:09:37.57:   Failed.
    17:09:37.57: Rewrite: "$*", position 0, rewrite database -
    17:09:37.57:   Failed
    17:09:37.57: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = "xyz.com", literal = "", tag = ""
    17:09:37.57: Rewrite: "xyz.com", position 0, hash table -
    17:09:37.57:   Failed.
    17:09:37.57: Rewrite: "xyz.com", position 0, rewrite database -
    17:09:37.59:   Failed
    17:09:37.59: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = ".com", literal = "", tag = ""
    17:09:37.59: Rewrite: "*.com", position 0, hash table -
    17:09:37.59:   Failed
    17:09:37.59: Rewrite: ".com", position 0, hash table -
    17:09:37.59:   Found: "$U%$H$D@TCP-DAEMON"
    17:09:37.59:   New mailbox: "bhanu.prasad".
    17:09:37.59:   New host: "xyz.com".
    17:09:37.59:   New route: "TCP-DAEMON".
    17:09:37.59:   New channel system: "TCP-DAEMON".
    17:09:37.59: Looking up host "TCP-DAEMON".
    17:09:37.60:   - found on channel tcp_local                      
    17:09:37.60: Rewriting:  Mbox = "bhanu.prasad", host = "xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.60: Rewrite: "$*", position 0, hash table -
    17:09:37.60:   Found: "$A$E$F$U%[email protected]"
    17:09:37.60:   Rewrite failed, not envelope.
    17:09:37.60: Rewrite: "$*", position 1, hash table -
    17:09:37.60:   Failed.
    17:09:37.60: Rewrite: "$*", position 0, rewrite database -
    17:09:37.60:   Failed
    17:09:37.61: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = "xyz.com", literal = "", tag = ""
    17:09:37.61: Rewrite: "xyz.com", position 0, hash table -
    17:09:37.61:   Failed.
    17:09:37.61: Rewrite: "xyz.com", position 0, rewrite database -
    17:09:37.61:   Failed
    17:09:37.61: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = ".com", literal = "", tag = ""
    17:09:37.61: Rewrite: "*.com", position 0, hash table -
    17:09:37.61:   Failed
    17:09:37.61: Rewrite: ".com", position 0, hash table -
    17:09:37.63:   Found: "$U%$H$D@TCP-DAEMON"
    17:09:37.63:   New mailbox: "bhanu.prasad".
    17:09:37.63:   New host: "xyz.com".
    17:09:37.63:   New route: "TCP-DAEMON".
    17:09:37.63:   New channel system: "TCP-DAEMON".
    17:09:37.63: Looking up host "TCP-DAEMON".
    17:09:37.63:   - found on channel tcp_local                      
    17:09:37.63:   Rewrite rules result: [email protected]
    17:09:37.63:   Checking reverse URL cache for: [email protected]
    17:09:37.63:   Applying reverse URL pattern ldap:///$V?$N?sub?$R to: [email protected]
    17:09:37.65:   URL generation failed, status = 0
    *** Debug output from rewriting a forward envelope address:
    17:09:37.65: Rewriting:  Mbox = "bhanu.prasad", host = "xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.65: Rewrite: "$*", position 0, hash table -
    17:09:37.65:   Found: "$A$E$F$U%[email protected]"
    17:09:37.65:   Match, pattern = "xyz.com", current = "(*domaincheck*)"
    17:09:37.65:     old state = not checked.
    17:09:37.65:     Domain check on xyz.com.
    17:09:37.66:     Could not add domain result 0 to cache for xyz.com.
    17:09:37.66:     new state = fail pending.
    17:09:37.66:   Rewrite failed due to prechannel mismatch.
    17:09:37.66: Rewrite: "$*", position 1, hash table -
    17:09:37.66:   Failed.
    17:09:37.66: Rewrite: "$*", position 0, rewrite database -
    17:09:37.66:   Failed
    17:09:37.66: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = "xyz.com", literal = "", tag = ""
    17:09:37.66: Rewrite: "xyz.com", position 0, hash table -
    17:09:37.66:   Failed.
    17:09:37.67: Rewrite: "xyz.com", position 0, rewrite database -
    17:09:37.67:   Failed
    17:09:37.67: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = ".com", literal = "", tag = ""
    17:09:37.67: Rewrite: "*.com", position 0, hash table -
    17:09:37.67:   Failed
    17:09:37.67: Rewrite: ".com", position 0, hash table -
    17:09:37.67:   Found: "$U%$H$D@TCP-DAEMON"
    17:09:37.67:   New mailbox: "bhanu.prasad".
    17:09:37.67:   New host: "xyz.com".
    17:09:37.67:   New route: "TCP-DAEMON".
    17:09:37.69:   New channel system: "TCP-DAEMON".
    17:09:37.69: Looking up host "TCP-DAEMON".
    17:09:37.69:   - found on channel tcp_local                      
      address channel        = tcp_local                      
      forward channel        = tcp_local                      
      channel description    =
      channel caption        =
      channel user filter    =
      dest channel filter    =
      source channel filter  =
      channel flags #0       = BIDIRECTIONAL SINGLE_SYSTEM IMMNONURGENT NOSERVICEALL  channel flags #1       = SMTP_CRLF MX IDENTNONENUMERIC DEFAULT
      channel flags #2       = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
      channel flags #3       = LOGGING NORESTRICTED RETAINSECURITYMULTIPARTS
      channel flags #4       = EIGHTNEGOTIATE HEADERKEEPORDER NOHEADERREAD RULES
      channel flags #5       = TRUNCATESMTPLONGLINES
      channel flags #6       = LOCALUSER REPORTNOTARY
      channel flags #7       = SWITCHCHANNEL REMOTEHOST DATEFOUR DAYOFWEEK
      channel flags #8       = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
      channel flags #9       = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALNONE NOTURN
      defaulthost            = extmail.xyz.com extmail.xyz.com
      linelength             = 998
      addrsperfile           = 99
      channel env addr type  = SOURCEROUTE
      channel hdr addr type  = SOURCEROUTE
      channel official host  = tcp-daemon
      channel queue 0 name   = SMTP_POOL
      channel queue 1 name   = SMTP_POOL
      channel queue 2 name   = SMTP_POOL
      channel queue 3 name   = SMTP_POOL
      channel after params    =
      channel daemon name    = 10.8.51.126
      channel user name      =
      urgentnotices          = 1 2 4 7
      normalnotices          = 1 2 4 7
      nonurgentnotices       = 1 2 4 7
      channel rightslist ids =
      local behavior flags   = %x0
      expandchannel          =
      notificationchannel    =
      dispositionchannel     =
      tlsswitchchannel       =
      backward channel       = tcp_local                      
      unique identifier      = [email protected]
      header forward address = [email protected]  (route (TCP-DAEMON,TCP-DAEMON)) (host xyz.com)
      header reverse address = [email protected]
      envelope forw address  = [email protected]  (route (TCP-DAEMON,TCP-DAEMON)) (host xyz.com)
      envelope rev address   = [email protected]  (route (TCP-DAEMON,TCP-DAEMON)) (host xyz.com)
      name                   =
      mbox                   = bhanu.prasad
    Extracted address action list:
        [email protected]
    Extracted 733 address action list:
        [email protected]
    Address list expansion:
    *** Debug output from alias expansion:
    17:09:37.76: Inner expand, level = 0, mailbox = [email protected]
    17:09:37.76: Rewriting:  Mbox = "bhanu.prasad", host = "xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.76: Rewrite: "$*", position 0, hash table -
    17:09:37.76:   Found: "$A$E$F$U%[email protected]"
    17:09:37.76:   Match, pattern = "xyz.com", current = "(*domaincheck*)"
    17:09:37.76:     old state = not checked.
    17:09:37.76:     Domain check on xyz.com.
    17:09:37.77:     Could not add domain result 0 to cache for xyz.com.
    17:09:37.77:     new state = fail pending.
    17:09:37.77:   Rewrite failed due to prechannel mismatch.
    17:09:37.77: Rewrite: "$*", position 1, hash table -
    17:09:37.77:   Failed.
    17:09:37.77: Rewrite: "$*", position 0, rewrite database -
    17:09:37.77:   Failed
    17:09:37.77: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = "xyz.com", literal = "", tag = ""
    17:09:37.77: Rewrite: "xyz.com", position 0, hash table -
    17:09:37.77:   Failed.
    17:09:37.79: Rewrite: "xyz.com", position 0, rewrite database -
    17:09:37.79:   Failed
    17:09:37.79: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = ".com", literal = "", tag = ""
    17:09:37.79: Rewrite: "*.com", position 0, hash table -
    17:09:37.79:   Failed
    17:09:37.79: Rewrite: ".com", position 0, hash table -
    17:09:37.79:   Found: "$U%$H$D@TCP-DAEMON"
    17:09:37.79:   New mailbox: "bhanu.prasad".
    17:09:37.79:   New host: "xyz.com".
    17:09:37.79:   New route: "TCP-DAEMON".
    17:09:37.80:   New channel system: "TCP-DAEMON".
    17:09:37.80: Looking up host "TCP-DAEMON".
    17:09:37.80:   - found on channel tcp_local                      
    -13 expansion total.
    *** Debug output from submitting an envelope address:
    17:09:37.80: mmc_wadr(0x0017ae68,'[email protected]','[email protected]') called.
    17:09:37.80: Copy estimate before address addition is 1
    17:09:37.80:     Parsing address [email protected]
    17:09:37.80: Rewriting:  Mbox = "bhanu.prasad", host = "xyz.com", domain = "$*", literal = "", tag = ""
    17:09:37.80: Rewrite: "$*", position 0, hash table -
    17:09:37.81:   Found: "$A$E$F$U%[email protected]"
    17:09:37.81:   Match, pattern = "xyz.com", current = "(*domaincheck*)"
    17:09:37.81:     old state = not checked.
    17:09:37.81:     Domain check on xyz.com.
    17:09:37.81:     Could not add domain result 0 to cache for xyz.com.
    17:09:37.81:     new state = fail pending.
    17:09:37.81:   Rewrite failed due to prechannel mismatch.
    17:09:37.81: Rewrite: "$*", position 1, hash table -
    17:09:37.83:   Failed.
    17:09:37.83: Rewrite: "$*", position 0, rewrite database -
    17:09:37.83:   Failed
    17:09:37.83: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = "
    xyz.com", literal = "", tag = ""
    17:09:37.83: Rewrite: "xyz.com", position 0, hash table -
    17:09:37.83:   Failed.
    17:09:37.83: Rewrite: "xyz.com", position 0, rewrite database -
    17:09:37.83:   Failed
    17:09:37.83: Rewriting:  Mbox = "bhanu.prasad", host = "relianceada", domain = "
    .com", literal = "", tag = ""
    17:09:37.83: Rewrite: "*.com", position 0, hash table -
    17:09:37.84:   Failed
    17:09:37.84: Rewrite: ".com", position 0, hash table -
    17:09:37.84:   Found: "$U%$H$D@TCP-DAEMON"
    17:09:37.84:   New mailbox: "bhanu.prasad".
    17:09:37.84:   New host: "xyz.com".
    17:09:37.84:   New route: "TCP-DAEMON".
    17:09:37.84:   New channel system: "TCP-DAEMON".
    17:09:37.84: Looking up host "TCP-DAEMON".
    17:09:37.84:   - found on channel tcp_local                      
    17:09:37.84:       - adding address [email protected] to headers.
    17:09:37.86:       - orig_send_access mapping check: tcp_local|abhishek.sen@extm
    ail.xyz.com|tcp_local|[email protected]
    17:09:38.16:         - failed.
    17:09:38.16: Good address count 0 defer count 0
    17:09:38.16: Copy estimate after address addition is 1
    17:09:38.16: mmc_waend(0x0017ae68) called.
    17:09:38.16:   Copy estimate is 1
    17:09:38.16:   Queue area size 73232902, temp area size 2067288
    17:09:38.16:   36616451 blocks of effective free queue space available; setting
    disk limit accordingly.
    17:09:38.16:   1033644 blocks of free temporary space available; setting disk li
    mit accordingly.
    Expanded address:
      [email protected]
    Submitted address list:
    Address list error -- 5.7.1 Relaying not allowed: [email protected]
    Submitted notifications list:
    =========================================================================Do we have to make any changes on other config files except the imta.cnf and mappings file for inbound and outbound..
    thanks for any help
    Edited by: prasad0_0 on Jul 8, 2008 4:58 AM

    i have already setup the messaging server 6 months back.. followed the same procedure to route mails to a gateway..
    made changes to the imta.cnf for outbound mail flow to the tcp_local and mappings file to accept inbound mail flow from the gateway. Its working perfectly on the older setup, but this now, have issues with new setup.
    here is the imta.cnf file..
    ! IMTA configuration file
    ! part I : rewrite rules
    ! Domain Rewrite Rules.
    ! Uncomment this line to use domain rewrite rules
    ! from the configuration file instead of the domain database.
    ! Please refer to the iMS documentation for details.
    !<IMTA_TABLE:domains.rules
    ! Rules to select local users
    $* $A$E$F$U%[email protected]
    P1192FLPLN.extmail.xyz.com $U%[email protected]
    extmail.xyz.com $U%[email protected]
    ! ims-ms
    .ims-ms-daemon $U%$H.ims-ms-daemon@ims-ms-daemon
    ! lmtp
    !.lmtp $U%$H@lmtpcs-daemon
    ! lmtpn
    !.lmtpn $U%$H@lmtpcn-daemon
    ! native
    .native-daemon $U%$H.native-daemon@native-daemon
    ! pipe
    .pipe-daemon $U%$H.pipe-daemon@pipe-daemon
    ! tcp_local
    ! Rules for top level internet domains
    <IMTA_TABLE:internet.rules
    ! tcp_intranet
    ! Do mapping lookup for internal IP addresses
    [] $E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon
    .extmail.xyz.com $U%$H.extmail.xyz.com@tcp_intranet-daemon
    * $U%$&0.extmail.xyz.com
    ! reprocess
    reprocess $U%reprocess.P1192FLPLN.extmail.xyz.com@reprocess-daemon
    reprocess.P1192FLPLN.extmail.xyz.com $U%reprocess.P1192FLPLN.extmail.xyz.com@reprocess-daemon
    ! process
    process $U%process.P1192FLPLN.extmail.xyz.com@process-daemon
    process.P1192FLPLN.extmail.xyz.com $U%process.P1192FLPLN.extmail.xyz.com@process-daemon
    ! defragment
    defragment $U%defragment.P1192FLPLN.extmail.xyz.com@defragment-daemon
    defragment.P1192FLPLN.extmail.xyz.com $U%defragment.P1192FLPLN.extmail.xyz.com@defragment-daemon
    ! conversion
    conversion $U%conversion.P1192FLPLN.extmail.xyz.com@conversion-daemon
    conversion.P1192FLPLN.extmail.xyz.com $U%conversion.P1192FLPLN.extmail.xyz.com@conversion-daemon
    ! bitbucket
    bitbucket $U%bitbucket.P1192FLPLN.extmail.xyz.com@bitbucket-daemon
    bitbucket.P1192FLPLN.extmail.xyz.com $U%bitbucket.P1192FLPLN.extmail.xyz.com@bitbucket-daemon
    ! deleted
    deleted-daemon $U%$H@deleted-daemon
    .deleted-daemon $U%$H@deleted-daemon
    ! inactive
    inactive-daemon $U%$H@inactive-daemon
    .inactive-daemon $U%$H@inactive-daemon
    ! hold
    hold-daemon $U%$H@hold-daemon
    .hold-daemon $U%$H@hold-daemon
    ! part II : channel blocks
    defaults notices 1 2 4 7 copywarnpost copysendpost postheadonly noswitchchannel immnonurgent maxjobs 7 logging defaulthost extmail.xyz.com extmail.xyz.com
    ! delivery channel to local /var/mail store
    l subdirs 20 viaaliasrequired maxjobs 7
    P1192FLPLN.extmail.xyz.com
    ! ims-ms
    ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D
    ims-ms-daemon
    ! native
    native defragment subdirs 20 maxjobs 1
    native-daemon
    ! pipe
    pipe single defragment subdirs 20
    pipe-daemon
    ! tcp_local
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 loopcheck daemon 10.8.51.126
    tcp-daemon
    ! tcp_intranet
    tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4
    tcp_intranet-daemon
    ! tcp_submit
    tcp_submit submit smtp mx single_sys mustsaslserver maytlsserver missingrecipientpolicy 4
    tcp_submit-daemon
    ! tcp_auth
    tcp_auth smtp mx single_sys mustsaslserver missingrecipientpolicy 4
    tcp_auth-daemon
    ! tcp_tas
    tcp_tas smtp mx single_sys allowswitchchannel mustsaslserver maytlsserver deliveryflags 2
    tcp_tas-daemon
    ! tcp_lmtpss (LMTP server - store)
    !tcp_lmtpss lmtp flagtransfer
    !tcp_lmtpss-daemon
    ! tcp_lmtpcs (LMTP client - store)
    !tcp_lmtpcs defragment lmtp port 225 nomx single_sys subdirs 20 maxjobs 7 pool SMTP_POOL dequeue_removeroute
    !lmtpcs-daemon
    ! reprocess
    reprocess
    reprocess-daemon
    ! process
    process
    process-daemon
    ! defragment
    defragment
    defragment-daemon
    ! conversion
    conversion
    conversion-daemon
    ! bitbucket
    bitbucket
    bitbucket-daemon
    ! deleted
    deleted
    deleted-daemon
    ! inactive
    inactive
    inactive-daemon
    ! hold
    hold
    hold-daemonand mappings file..
    ! MTA mappings file
    !  for access control and other table lookups
    FROM_ACCESS
    ! Entries to block certain submissions normally would be inserted here,
    ! above the ntended-to-be-final entries that while permitting submission,
    ! merely disable any potential "vacation" effect.
    ! The following entries disable Sieve "vacation" action on lists sorts
    ! of addresses, as recommended by the Sieve "vacation" extension draft.
       *|SMTP*|*|*|MAILER-DAEMON@*|*    $!$Y
       *|SMTP*|*|*|LISTSERVE*@|*        $!$Y
       *|SMTP*|*|*|majordomo@*|*        $!$Y
       *|SMTP*|*|*|*-request@*|*        $!$Y
       *|SMTP*|*|*|*-owner@*|*          $!$Y
       *|SMTP*|*|*|owner-*@*|*          $!$Y
    PORT_ACCESS
      *|*|*|*|*  $C$|INTERNAL_IP;$3|$Y$E
      *  $YEXTERNAL
    INTERNAL_IP
      $(10.8.55.49/24)  $Y
      $(10.8.51.125)  $Y
      $(10.8.51.126)  $Y
      127.0.0.1  $Y
      *  $N
    ORIG_SEND_ACCESS
      tcp_local|*|tcp_local|*  $N$D30|Relaying$ not$ allowed
      tcp_*|*|native|*  $N
      tcp_*|*|hold|*  $N
      tcp_*|*|pipe|*  $N
      tcp_*|*|ims-ms|*  $N
    ! Block "external" submissions of explicitly source-routed "internal" addresses
      tcp_local|*|tcp_intranet|@*:*.*   $N$D30|Explicit$ routing$ not$ allowed
      tcp_local|*|tcp_intranet|*$%*@*   $N$D30|Explicit$ routing$ not$ allowed
      tcp_local|*|tcp_intranet|*.*!*@*  $N$D30|Explicit$ routing$ not$ allowed
      tcp_local|*|tcp_intranet|"*@*"@*  $N$D30|Explicit$ routing$ not$ allowed
    SEND_ACCESS
      tcp_*|*|*|*@[127.*]  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@localhost.*  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@example.com  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@example.net  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@example.org  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.test  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.example  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.invalid  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.localhost  $X5.1.2|$NBad$ destination$ system
    <IMTA_TABLE:mappings.localewe are able to receive mails from the gateway, but when using uwc to send the mail, the mail doesnt hit the gateway. trying a telnet from the messaging server to the gateway, works perfectly.
    thanks in advance.

  • Pplsft compIntf adapter: "XML Error: 1:1: Content is not allowed in prolog"

    Hi All,
    I am using the peoplesoft component interface adapter in IDM 5.5 and IDM 6.0.
    I configured the adapter, tested it successfully and enterred the details to create and provision a user to peoplesoft.
    But whenever I click on the save button in the end of the creation wizard I get this error:
    com.waveset.util.WavesetException: An error occurred adding user 'FX600859' to resource 'PeopleSoft Component Interface'. com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.I know the prolog is something about the first two lines and BOM and all - but this is like a really fresh install of IDM ( I tried and experienced the same error on both v 5.5 and 6.0) and have checked almost all the files which might be related to the user creation process.......... the error does not say which object has the defective prolog if at all..
    I have also enabled trace for a lot of classes (incrementally of course since I failed to get any info from the earlier traces..) Here are the classes/ methods that I have set show trace on:
    com.waveset.adapter.ResourceAdapterBase#createAccounts
    com.waveset.util.XmlParseException
    com.waveset.util.XmlUtil
    com.waveset.util.XmlParser
    com.waveset.adapter.PeopleSoftCompIntfcAdapter
    com.waveset.object.GenericObject
    com.waveset.adapter.ResourceAdapterBase
    All have a level of 4..... (the most verbose)
    here is the trace output:
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getFeatures() Info
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Object PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Object>
      <Attribute name='account'>
        <Object>
          <Attribute name='CASE_INSENSITIVE_IDS' value='account.CASE_INSENSITIVE_IDS'/>
          <Attribute name='CREATE' value='account.CREATE'/>
          <Attribute name='DELETE' value='account.DELETE'/>
          <Attribute name='DISABLE' value='account.DISABLE'/>
          <Attribute name='ENABLE' value='account.ENABLE'/>
          <Attribute name='EXCLUDE' value='account.EXCLUDE'/>
          <Attribute name='ITERATOR' value='account.ITERATOR'/>
          <Attribute name='LIST' value='account.LIST'/>
          <Attribute name='LOGIN' value='account.LOGIN'/>
          <Attribute name='PASSWORD' value='account.PASSWORD'/>
          <Attribute name='UPDATE' value='account.UPDATE'/>
        </Object>
      </Attribute>
    </Object>
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getFeatures() Exit returned= { account={ DISABLE=account.DISABLE, DELETE=account.DELETE, CASE_INSENSITIVE_IDS=account.CASE_INSENSITIVE_IDS, UPDATE=account.UPDATE, EXCLUDE=account.EXCLUDE, PASSWORD=account.PASSWORD, ENABLE=account.ENABLE, LIST=account.LIST, LOGIN=account.LOGIN, ITERATOR=account.ITERATOR, CREATE=account.CREATE } }
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Entry no args
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Info Getting identity FX600859
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Entry no args
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data host== com.waveset.object.ResourceAttribute@1d6fad7
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data host== chslx07.corp.fedex.com
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getOptionalStringResAttrVal() Data port== 18100
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data User== com.waveset.object.ResourceAttribute@ee5d13
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data User== IBCMGR
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Password== com.waveset.object.ResourceAttribute@1209d56
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Password== 88AF52E54FD71942:549D63D0:1098ECAEC1A:-7FFD|QS8v8QpqGTI=
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Successful connection with ISession psft.pt8.joa.Session@30380
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Exit void
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Fetching compIntfcName 'USER_PROFILE'
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Successfully got compIntfcName 'USER_PROFILE
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {UserID,FX600859}
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.invokeMethod {Get, {} }
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: [java.lang.Boolean] = false
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.invokeMethod
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Disconnecting from ISession psft.pt8.joa.Session@30380
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Exit void
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Entry no args
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Info
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Object PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Object>
      <Attribute name='account'>
        <Object>
          <Attribute name='CASE_INSENSITIVE_IDS' value='account.CASE_INSENSITIVE_IDS'/>
          <Attribute name='CREATE' value='account.CREATE'/>
          <Attribute name='DELETE' value='account.DELETE'/>
          <Attribute name='DISABLE' value='account.DISABLE'/>
          <Attribute name='ENABLE' value='account.ENABLE'/>
          <Attribute name='EXCLUDE' value='account.EXCLUDE'/>
          <Attribute name='ITERATOR' value='account.ITERATOR'/>
          <Attribute name='LIST' value='account.LIST'/>
          <Attribute name='LOGIN' value='account.LOGIN'/>
          <Attribute name='PASSWORD' value='account.PASSWORD'/>
          <Attribute name='UPDATE' value='account.UPDATE'/>
        </Object>
      </Attribute>
    </Object>
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Exit returned= { account={ DISABLE=account.DISABLE, DELETE=account.DELETE, CASE_INSENSITIVE_IDS=account.CASE_INSENSITIVE_IDS, UPDATE=account.UPDATE, EXCLUDE=account.EXCLUDE, PASSWORD=account.PASSWORD, ENABLE=account.ENABLE, LIST=account.LIST, LOGIN=account.LOGIN, ITERATOR=account.ITERATOR, CREATE=account.CREATE } }
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Entry arg1=num users: 1
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#startConnectionWrapper() Entry no args
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Entry no args
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data host== com.waveset.object.ResourceAttribute@1d6fad7
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data host== chslx07.corp.fedex.com
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getOptionalStringResAttrVal() Data port== 18100
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data User== com.waveset.object.ResourceAttribute@ee5d13
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data User== IBCMGR
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Password== com.waveset.object.ResourceAttribute@1209d56
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Password== 88AF52E54FD71942:549D63D0:1098ECAEC1A:-7FFD|QS8v8QpqGTI=
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Successful connection with ISession psft.pt8.joa.Session@158473e
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Exit void
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#startConnectionWrapper() Exit void
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Entry no args
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Info Creating identity FX600859
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Fetching compIntfcName 'USER_PROFILE'
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Successfully got compIntfcName 'USER_PROFILE
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {UserID,FX600859}
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.invokeMethod {Create, {} }
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: [java.lang.Boolean] = true
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.invokeMethod
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#setCIFromWSUSer() Entry arg1=600859
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#setCIFromWSUSer() Info Setting user 'User:600859'
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {EmailAddress,[email protected]}
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {SymbolicID,COEDEV}
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Exit void
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Info
    ==> com.waveset.util.WavesetException:
    ==> com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.
    20060302 15:53:59.638 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Disconnecting from ISession psft.pt8.joa.Session@158473e
    20060302 15:53:59.638 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Exit voidNow what I see is that the error is generated as an exception in the class/method: ResourceAdapterBase#createAccounts()
    but I have not been able to get any deeper than that....
    Can someoe please help me in resolving this issue.. or is there someway I can dig deeper.. to maybe understand which file / object is causing the error??
    Thanks and best regards,
    Anoop

    Hi Anoop / Ilayarajan,
    Could you please post the solution for this error. When I provision a user to PeopleSoft, I am getting similar error: com.waveset.util.WavesetException: An error occurred adding user "userID' to resource 'PeopleSoft Component Interface'. com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.
    Thanks
    User_idm

  • Reg msg "Payment method(s) are not allowed for this program".

    Hi...
    I am copying a standard program RFFOES_T (Print program for bank transfer) into a custom program. When i try to execute the custom program it gives me a msg saying
    "Payment method(s) are not allowed for this program".
    Can you please Provide a solution for this problem.
    Regards,
    Indira.

    Indira,
    1.RFFOES_T is using Logical database PYF.Seems you have copied it as it is without changing the attributes of the program.
    2.As it is using logical database PYF  it needs to be tagged to the respective payment methods in FBZP settings as below
    FBZP
    >>Payment methods in Country
    >> in the next screen click on position and give the company code and payment method
    >> in the next screen select the corresponding payment method and click on the details(ctrlshiftf2) ie magnifying glass icon
    >>in the next screen  within  Payment Medium you will get to see two radio buttons as Payment medium workbench(uses DMEE tree structure)  and payment medium programs (uses the standard prog).Here in Payment medium Program either the standard prog or your zprogram should be tagged otherwise you will get the error message as you mentioned.
    3.Once you tag the program in the FBZP setting to the respective payment methods,after the payment run you will be able to run the program.
    4.If you don't want the program to be linked to FBZP settings then as far as my knowledge is concerned you need to avoid using logical database PYF and change the entire code using the regular database tables like reguh,regup,bkpf,bseg etc.(I think this should be the best approach)
    Thanks,
    K.Kiran.

  • System settings does not allow changes to be made to object

    Hi,
              In one of my test system, when i tried to change the object  its displaying following error message.
    System settings does not allow changes to made to the object.
    I have checked the settings in se03, regarding modification objects of software components and namespace those are in state of modifiable for this namespace object.
      I would like to know, how to change the object in the namespace.
    Regards
    Srikanth

    Hi,
    In SE06, in addtion to system status and component status, check the namespace status too.
    It would be better if you know the namespace of the object you are trying to modify. Set it to modifiable and retry.
    To find namespace, open the object in SE80 and check the attributes. It would show assigned package, namespace, component etc.
    Regards,
    Srikishan

  • Switchover_status in standby database showing NOT ALLOWED

    Hi All,
    My oracle database version is Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit on windows platform.
    I need to perform switchover activity with dg_broker=TRUE.
    When I checked the status of DR database I found that switchover_status is NOT ALLOWED rather than SESSION ACTIVE or TO PRIMARY.I have doubt whether switchover can be done successfully or not with this configuration?
    *Parameters from spfile in production database
    =======================================
    maxprod.__db_cache_size=2046820352
    maxprod.__java_pool_size=16777216
    maxprod.__large_pool_size=16777216
    maxprod.__shared_pool_size=352321536
    maxprod.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\maxprod\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\maxprod\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='D:\MaximoData\oradata\maxprod\CONTROL01.CTL','D:\MaximoData\oradata\maxprod\CONTROL02.CTL','D:\MaximoData\oradata\maxprod\CONTROL03.CTL'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\maxprod\cdump'
    *.cursor_sharing='EXACT'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='maxprod'
    *.db_recovery_file_dest='D:\MaximoData\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=maxprodXDB)'
    *.fal_client='MAXPROD'
    *.fal_server='EAMDR'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(MAXPROD,EAMDR)'
    *.log_archive_dest_1='location=D:\MaximoData\Archive_Log valid_for=(all_logfiles,all_roles)'
    *.log_archive_dest_2='SERVICE=EAMDR VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=EAMDR'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_archive_start=true
    *.log_buffer=100000000
    *.nls_language='AMERICAN'
    *.open_cursors=8000
    *.pga_aggregate_target=848297984
    *.processes=300
    *.remote_login_passwordfile='EXCLUSIVE'
    *.session_cached_cursors=20
    *.sga_max_size=4294967296
    *.sga_target=2550136832
    *.sql92_security=TRUE
    *.standby_archive_dest='D:\MaximoData\Archive_Log\standby'
    *.standby_file_management='auto'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\maxprod\udump'*
    *Parameters from spfile in DR database
    ============================
    maxprod.__db_cache_size=3187671040
    eamdr.__db_cache_size=1073741824
    maxprod.__java_pool_size=16777216
    eamdr.__java_pool_size=16777216
    maxprod.__large_pool_size=16777216
    eamdr.__large_pool_size=16777216
    maxprod.__shared_pool_size=1056964608
    eamdr.__shared_pool_size=486539264
    maxprod.__streams_pool_size=0
    eamdr.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\EAMDR\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\EAMDR\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='D:\MAXIMODATA\ORADATA\MAXPROD\CONTROL01.CTL','D:\MAXIMODATA\ORADATA\MAXPROD\CONTROL02.CTL','D:\MAXIMODATA\ORADATA\MAXPROD\CONTROL03.CTL'#Restore Controlfile
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\EAMDR\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='maxprod'
    *.db_recovery_file_dest_size=10737418240
    *.db_recovery_file_dest='D:\MaximoData\flash_recovery_area'
    *.DB_UNIQUE_NAME='EAMDR'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=maxprodXDB)'
    *.fal_client='EAMDR'
    *.fal_server='MAXPROD'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(MAXPROD,EAMDR)'
    *.log_archive_dest_1='LOCATION=D:\MaximoData\Archive_Log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=EAMDR'
    *.log_archive_dest_2='service=maxprod valid_for=(online_logfiles,primary_role) db_unique_name=MAXPROD'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.nls_language='AMERICAN'
    *.open_cursors=8000
    *.pga_aggregate_target=194967296
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_max_size=4294967296
    *.sga_target=1594967296
    *.standby_archive_dest='D:\MaximoData\Archive_Log\standby'
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\EAMDR\udump'*
    I didn't find any DG_BROKER_CONFIG_FILE1, DG_BROKER_CONFIG_FILE2 parameters from spfile in both production and DR db?
    Is anything missing in spfile?
    When I am trying to connect with dgmgrl
    DGMGRL>connect sys;
    connected
    DGMGRL>show configuration;
    Error: ORA-16532: Data Guard broker configuration does not exist
    what does it mean when dgmgrl is set to true?
    I have attached PRODUCTION and DR queries outputs for better understanding.
    IN PRIMARY DATABASE
    SQL>select database_role from v$database;
    DATABASE_ROLE
    PRIMARY
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    SESSIONS ACTIVE
    SQL> select db_unique_name,database_role,open_mode,log_mode,protection_mode from v$database;
    DB_UNIQUE_NAME DATABASE_ROLE OPEN_MODE LOG_MODE PROTECTION_MODE
    maxprod PRIMARY READ WRITE ARCHIVELOG MAXIMUM PERFORMANCE
    SQL> select process,status,client_process,sequence# from v$managed_standby;
    PROCESS STATUS CLIENT_P SEQUENCE#
    ARCH CLOSING ARCH 7820
    ARCH CLOSING ARCH 7835
    ARCH CLOSING ARCH 7835
    ARCH CLOSING ARCH 7821
    ARCH CLOSING ARCH 7822
    ARCH CLOSING ARCH 7822
    ARCH CLOSING ARCH 7793
    ARCH CLOSING ARCH 7823
    ARCH CLOSING ARCH 7824
    ARCH CLOSING ARCH 7824
    ARCH CLOSING ARCH 7825
    ARCH CLOSING ARCH 7825
    ARCH CLOSING ARCH 7826
    ARCH CLOSING ARCH 7826
    ARCH CLOSING ARCH 7827
    ARCH CLOSING ARCH 7827
    ARCH CLOSING ARCH 7828
    ARCH CLOSING ARCH 7828
    ARCH CLOSING ARCH 7829
    ARCH CLOSING ARCH 7829
    ARCH CLOSING ARCH 7830
    ARCH CLOSING ARCH 7830
    ARCH CLOSING ARCH 7831
    ARCH CLOSING ARCH 7831
    ARCH CLOSING ARCH 7832
    ARCH CLOSING ARCH 7832
    ARCH CLOSING ARCH 7833
    ARCH CLOSING ARCH 7833
    ARCH CLOSING ARCH 7834
    ARCH CLOSING ARCH 7834
    30 rows selected.
    SQL> sho parameter log_archive_config
    NAME TYPE VALUE
    log_archive_config string DG_CONFIG=(MAXPROD,EAMDR)
    SQL> spool off
    IN SECONDARY DATABASE
    SQL> select database_role from v$database;
    DATABASE_ROLE
    PHYSICAL STANDBY
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS --------------------
    NOT ALLOWED
    SQL> select db_unique_name,database_role,open_mode,log_mode,protection_mode from v$database;
    DB_UNIQUE_NAME DATABASE_ROLE OPEN_MODE LOG_MODE PROTECTION_MODE
    EAMDR PHYSICAL STANDBY MOUNTED ARCHIVELOG MAXIMUM PERFORMANCE
    SQL> select process,status,client_process,sequence# from v$managed_standby;
    PROCESS STATUS CLIENT_P SEQUENCE#
    ARCH CLOSING ARCH 7809
    ARCH CLOSING ARCH 7810
    ARCH CLOSING ARCH 7812
    ARCH CLOSING ARCH 7813
    ARCH CLOSING ARCH 7814
    ARCH CLOSING ARCH 7815
    ARCH CLOSING ARCH 7816
    ARCH CLOSING ARCH 7817
    ARCH CLOSING ARCH 7818
    ARCH CLOSING ARCH 7819
    ARCH CLOSING ARCH 7820
    ARCH CLOSING ARCH 7821
    ARCH CLOSING ARCH 7822
    ARCH CLOSING ARCH 7823
    ARCH CLOSING ARCH 7824
    ARCH CLOSING ARCH 7825
    ARCH CLOSING ARCH 7826
    ARCH CLOSING ARCH 7827
    ARCH CLOSING ARCH 7828
    ARCH CLOSING ARCH 7829
    ARCH CLOSING ARCH 7830
    ARCH CLOSING ARCH 7831
    ARCH CLOSING ARCH 7832
    ARCH CLOSING ARCH 7833
    ARCH CLOSING ARCH 7835
    ARCH CLOSING ARCH 7804
    ARCH CLOSING ARCH 7805
    ARCH CLOSING ARCH 7806
    ARCH CLOSING ARCH 7807
    ARCH CLOSING ARCH 7808
    MRP0 WAIT_FOR_LOG N/A 7836
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE

    Meenakshy singh wrote:
    Hi All,
    My oracle database version is Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit on windows platform.
    I need to perform switchover activity.When I checked the status of DR database I found that switchover_status is NOT ALLOWED rather than SESSION ACTIVE or TO PRIMARY.I have doubt whether switchover can be done successfully or not?
    I have attached PRODUCTION and DR queries outputs for better understanding.
    IN PRIMARY DATABASE
    SQL>select database_role from v$database;
    DATABASE_ROLE
    PRIMARY
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    SESSIONS ACTIVE
    SQL> select db_unique_name,database_role,open_mode,log_mode,protection_mode from v$database;
    DB_UNIQUE_NAME DATABASE_ROLE OPEN_MODE LOG_MODE PROTECTION_MODE
    maxprod PRIMARY READ WRITE ARCHIVELOG MAXIMUM PERFORMANCE
    SQL> select process,status,client_process,sequence# from v$managed_standby;
    PROCESS STATUS CLIENT_P SEQUENCE#
    ARCH CLOSING ARCH 7820
    ARCH CLOSING ARCH 7835
    ARCH CLOSING ARCH 7835
    ARCH CLOSING ARCH 7821
    ARCH CLOSING ARCH 7822
    ARCH CLOSING ARCH 7822
    ARCH CLOSING ARCH 7793
    ARCH CLOSING ARCH 7823
    ARCH CLOSING ARCH 7824
    ARCH CLOSING ARCH 7824
    ARCH CLOSING ARCH 7825
    ARCH CLOSING ARCH 7825
    ARCH CLOSING ARCH 7826
    ARCH CLOSING ARCH 7826
    ARCH CLOSING ARCH 7827
    ARCH CLOSING ARCH 7827
    ARCH CLOSING ARCH 7828
    ARCH CLOSING ARCH 7828
    ARCH CLOSING ARCH 7829
    ARCH CLOSING ARCH 7829
    ARCH CLOSING ARCH 7830
    ARCH CLOSING ARCH 7830
    ARCH CLOSING ARCH 7831
    ARCH CLOSING ARCH 7831
    ARCH CLOSING ARCH 7832
    ARCH CLOSING ARCH 7832
    ARCH CLOSING ARCH 7833
    ARCH CLOSING ARCH 7833
    ARCH CLOSING ARCH 7834
    ARCH CLOSING ARCH 7834
    30 rows selected.
    SQL> sho parameter log_archive_config
    NAME TYPE VALUE
    log_archive_config string DG_CONFIG=(MAXPROD,EAMDR)
    SQL> spool off
    IN SECONDARY DATABASE
    SQL> select database_role from v$database;
    DATABASE_ROLE
    PHYSICAL STANDBY
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS --------------------
    NOT ALLOWED
    SQL> select db_unique_name,database_role,open_mode,log_mode,protection_mode from v$database;
    DB_UNIQUE_NAME DATABASE_ROLE OPEN_MODE LOG_MODE PROTECTION_MODE
    EAMDR PHYSICAL STANDBY MOUNTED ARCHIVELOG MAXIMUM PERFORMANCE
    SQL> select process,status,client_process,sequence# from v$managed_standby;
    PROCESS STATUS CLIENT_P SEQUENCE#
    ARCH CLOSING ARCH 7809
    ARCH CLOSING ARCH 7810
    ARCH CLOSING ARCH 7812
    ARCH CLOSING ARCH 7813
    ARCH CLOSING ARCH 7814
    ARCH CLOSING ARCH 7815
    ARCH CLOSING ARCH 7816
    ARCH CLOSING ARCH 7817
    ARCH CLOSING ARCH 7818
    ARCH CLOSING ARCH 7819
    ARCH CLOSING ARCH 7820
    ARCH CLOSING ARCH 7821
    ARCH CLOSING ARCH 7822
    ARCH CLOSING ARCH 7823
    ARCH CLOSING ARCH 7824
    ARCH CLOSING ARCH 7825
    ARCH CLOSING ARCH 7826
    ARCH CLOSING ARCH 7827
    ARCH CLOSING ARCH 7828
    ARCH CLOSING ARCH 7829
    ARCH CLOSING ARCH 7830
    ARCH CLOSING ARCH 7831
    ARCH CLOSING ARCH 7832
    ARCH CLOSING ARCH 7833
    ARCH CLOSING ARCH 7835
    ARCH CLOSING ARCH 7804
    ARCH CLOSING ARCH 7805
    ARCH CLOSING ARCH 7806
    ARCH CLOSING ARCH 7807
    ARCH CLOSING ARCH 7808
    MRP0 WAIT_FOR_LOG N/A 7836
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    RFS IDLE UNKNOWN 0
    56 rows selected.
    SQL> sho parameter log_archive_config
    NAME TYPE VALUE
    log_archive_config string DG_CONFIG=(MAXPROD,EAMDR)
    SQL> spool off
    1.In this case,is switchover is possible?No
    2.If not possible then what will be the next step?If the value in the SWITCHOVER_STATUS column is SESSIONS ACTIVE, identify and terminate active user or SQL sessions that might prevent a switchover from being processed.
    If, after performing these steps, the SWITCHOVER_STATUS column still displays SESSIONS ACTIVE, you can successfully perform a switchover by appending the WITH SESSION SHUTDOWN clause to the
    ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY statement.
    3.Is this will impact to our production database when switchover is not successfully perform?
    4.In DR RFS is idle,why?Can you paste here log_archive_dest_n paramete which is you are using for transport?
    Did you using DELAY attribute in log_archive_dest_n parameter?
    Mahir

Maybe you are looking for

  • Can you unplug the external hard drive you are using for time machine

    can you unplug the external hard drive you are using for time machine and then plug it back in and it work normals because i have a mac book and don't want to always be carrieing the external hard drive every where i go so can you ?

  • ValueChangeListener not invoking backing bean method

    Hi Everybody I am using a valueChangeListener attribute with <h:selectOneListbox>. As i am using onChange, the form is getting submitted but the associated backing bean method is not getting invoked. My JSP code: <%@ taglib uri="http://java.sun.com/j

  • Help needed with Xcode 4

    Hello guys, I purchased Xcode 4 and installed it, everything was ok till yesterday. First when I created new project, everything was normal and I got all the folders as in Xcode 3. But from yesterday, everytime I create a new project, I`m missing the

  • PixelBender in Flash no longer compiles to machine code?

    It appears that the latest version of Flash (11.7.700.232 / 11.8.800.94) has removed support for Just-In-Time compilation of PixelBender shader programs into machine code. For example, you can compare the FPS of this animation: http://spinningowl.com

  • InDesign master page reformatting like Microsoft Powerpoint

    Is there a way to which I can add in a right hand master page into an existing layout which would push the previous right hand page into a left hand master page format? Kind of like how Microsoft PowerPoint, where you can add in any type of master sl