Jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN_se

Hi everyone,
Got the following exception:
2005-11-08 13:50:54,514 ERROR enatis.error (MsgLogger.java:logError:161) [Error Ref# INT.1131450654514]- An unhandled runtime exce
ption occured.
oracle.jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN_seq
at oracle.jbo.PCollException.throwException(PCollException.java:39)
at oracle.jbo.pcoll.OraclePersistManager.createTable(OraclePersistManager.java:893)
at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1372)
at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:560)
at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:102)
at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:460)
at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)
at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)
at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5123)
at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5001)
at oracle.jbo.server.ApplicationModuleImpl.passivateStateForUndo(ApplicationModuleImpl.java:7429)
Does anyone know whether there is a process that is supposed to cleanup this table? How is it managed?
Thanks

Just to wrap this up i will attach the last couple of postings on Metalink:
09-NOV-05 07:29:03 GMT
New info : BUKSVDL : Hi Kjeld,
Im still on the passivateStateForUndo topic. This time with the PS_TXAN table.
It looks like BC4J writes to this user table when passivating the AM state.
Please see my questions in the OTN thread below.
jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN_se
The latest entry:
"The data sources are correct. The problem here were the priviledges after
upgrading the db to 10g rel 2. Some of the implicit priviledges were removed in
the latest version of the db.
The question is still, who manages these tables. When/How are entries removed?
We see this table, "PS_TXN", growing all the time. How do we prevent problems
like this in the future. Should we include this table, and maybe others, in the
maintanance scripts? "
09-NOV-05 09:29:05 GMT
New info : BUKSVDL : Hi Kjeld,
The DBA that did the investigation is out of office today.
What i can tell you is that:
We use a data-source on the App serves that is defined by the DBA's. We only
require the DS name. Apparently, in the past, when a user was created certain
default priveledges were automatically granted. This doesn't happen anymore
with the latest release of the DB. The DBA had to explicitly grant the
priveledges.
09-NOV-05 10:16:09 GMT
ISSUE CLARIFICATION
====================
After upgrading the database to Oracle Server 10.1.0.2 the ADF application
returns following error:
BC4J - ApplicationModuleImpl.passivateStateForUndo();
oracle.jbo.PCollException: JBO-28006: Could not create persistence table
PS_TXN_seq
The error occurs as soon as passivation is done in the application.
eos (end of section)
ISSUE VERIFICATION
===================
Verified the issue by error messages supplied by customer.
eos (end of section)
CAUSE DETERMINATION
====================
The user connecting to the database from the ADF application does not have
the required database grants to create a table. The upgrade did
delete/remove some required privileges.
eos (end of section)
CAUSE JUSTIFICATION
====================
If the database user does not have the privilege "CREATE ANY TABLE", then
this user cannot create a database table. The tables PS_TXN and PS_TXN_seq
are created during runtime if passivation is done for the first time. If
the user does not have the necessary privileges the table cannot occur and
the error JBO-28006 will occur.
The upgrade of the database removed some necessary
eos (end of section)
STATUS
======
@ WIP - Work In Progress
09-NOV-05 10:16:56 GMT
POTENTIAL SOLUTION(S)
======================
Make sure the database user has the privileges "CREATE TABLE" and "CREATE
SEQUENCE" to create objects such as tables and sequences.
eos (end of section)
POTENTIAL SOLUTION JUSTIFICATION(S)
====================================
When the database user has the privileges "CREATE TABLE" and "CREATE
SEQUENCE" it will be possible to create the BC4J tables PS_TXN and
PS_TXN_seq on passivation.
eos (end of section)
SOLUTION / ACTION PLAN
=======================
To implement the solution, please execute the following steps:
1. Connect as user SYS to the database.
2. Grant at least following priviliges to the ADF application user:
GRANT CREATE TABLE TO <user>
GRANT CREATE SEQUENCE TO <user>
REMARK: Replace <user> with the actual username that is used to connect
from the adf application to the database.
eos (end of section)

Similar Messages

  • Oracle.jbo.PCollException: JBO-28006: Could not create persistence table PS

    Hi everyone,
    I am a JDeveloper newbie and got my first taste of it now.
    I cannot run my app using the embedded OC4J and so with the app server after deployment (using the end-to-end web app using the default tech scope 9.0.5.1). I am always getting the above subject error. I've seen only around 4 threads in metalink and the answers are not that straightforward.
    Brief on my environment:
    OS: Windows 2000 (latest service pack)
    JDeveloper: 9.0.5.2
    Database: 9.0.4 (10G Infra)
    Memory: 1Gb
    Stack Trace:
    oracle.jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN
         at oracle.jbo.PCollException.throwException(PCollException.java:39)
         at oracle.jbo.pcoll.OraclePersistManager.createTable(OraclePersistManager.java:960)
         at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1282)
         at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:514)
         at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:102)
         at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:414)
         at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:4591)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:4479)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:6818)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3886)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2131)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1211)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
         at oracle.jbo.client.remote.PooledRequestHandler.doMessage(PooledRequestHandler.java:97)
         at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:5804)
         at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationModuleImpl.java:1029)
         at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationModuleImpl.java:1043)
         at oracle.jbo.client.remote.ApplicationModuleImpl.sendWorkingSetRequests(ApplicationModuleImpl.java:3300)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.sendRequests(WSApplicationModuleImpl.java:824)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.sync(WSApplicationModuleImpl.java:752)
         at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1195)
         at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:289)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:238)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-03001: unimplemented feature
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2076)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1986)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2697)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1100)
         at oracle.jbo.pcoll.OraclePersistManager.createTable(OraclePersistManager.java:933)
         at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1282)
         at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:514)
         at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:102)
         at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:414)
         at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:4591)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:4479)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:6818)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3886)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2131)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1211)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
         at oracle.jbo.client.remote.PooledRequestHandler.doMessage(PooledRequestHandler.java:97)
         at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:5804)
         at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationModuleImpl.java:1029)
         at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationModuleImpl.java:1043)
         at oracle.jbo.client.remote.ApplicationModuleImpl.sendWorkingSetRequests(ApplicationModuleImpl.java:3300)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.sendRequests(WSApplicationModuleImpl.java:824)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.sync(WSApplicationModuleImpl.java:752)
         at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1195)
         at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:289)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:238)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    The DB user i use is the same in my app and it has all the necessary permissions in the database.
    Any idea?
    Thanks in advance.

    Hi!
    I'm also a BC4J newbie, and encountered a similar problem while working with JDeveloper 9.0.3.4., but not until the app was deployed to an OAS.
    The first time the app was executed was from within the IDE (embedded OC4J) and there was no issue with creating the tables in the state_management schema. However, when the target and state_management schemas were dropped and re-created (to simulate installation on production)and the app was finally deployed to the OAS (10g), the app would fail trying to get nextval from the sequence (in state_management). However, when running again from the embedded OC4J, the sequence and table were created OK. Afterwards, once the sequence and table were created, the OAS instance could process requests fine. One difference in running the two instances is in the login user - the two users that are mapped to the app's security role are different: in the embedded case it's admin/welcome, in the other a plain "jdoe/jdoe" user. I wouldn't think this would matter, as BC4J uses the credentials of the internal connection to access the state_management schema, but if that's not it, then... ?
    What credentials would the first app user have to have? The idea of a separate schema for the BC4J tables is that the users don't have to have a create any table/index/sequence privilege... Would you have any thoughts on how to fix the problem?

  • DBMS_XMLSCHEMA.CopyEvolve produces ORA-30945: Could not create mapping tabl

    Hi,
    I am trying to update a XML Schema concerning the documents relaties.xsd (the old one) and relaties_v2.xsd (the new one containing only a minor change).
    The document relaties.xsd looks like this:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb"
    elementFormDefault="unqualified"
    attributeFormDefault="unqualified"
    version="1.0">
         <xsd:element name="Relatie" xdb:defaultTable="">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Voornaam" type="xsd:string"/>
                        <xsd:element name="Achternaam" type="xsd:string"/>
                        <xsd:element name="Tussenvoegsel" type="xsd:string"/>
                        <xsd:element name="Geboortedatum" type="xsd:date"/>
                        <xsd:element name="Geslacht">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="M"/>
    <xsd:enumeration value="V"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
                        <xsd:element name="Sofinummer">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{9}"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
                        <xsd:element name="Straatnaam" type="xsd:string"/>
                        <xsd:element name="Huisnummer" type="xsd:string"/>
                        <xsd:element name="Woonplaats" type="xsd:string"/>
                        <!--xsd:element name="Postcode" type="xsd:string"/-->
                        <xsd:element name="Postcode">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{4} [A-Z]{2}"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
                        <xsd:element name="Zrn">
    <xsd:simpleType>
    <xsd:restriction base="xsd:integer">
    <xsd:minInclusive value="1000000"/>
    <xsd:maxInclusive value="99999999999999"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>
    Here are the steps I took.
    DECLARE
    res BOOLEAN;
    BEGIN
    res := DBMS_XDB.createResource('/xsd/relaties.xsd',
    bfilename('XSDDIR', 'relaties.xsd')
    END;
    DECLARE
    res BOOLEAN;
    BEGIN
    res := DBMS_XDB.createResource('/xsd/relaties_v2.xsd',
    bfilename('XSDDIR', 'relaties_v2.xsd')
    END;
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'http://localhost:8080/xsd/relaties.xsd',
    XDBURIType('/xsd/relaties.xsd').getClob(),
    TRUE,
    FALSE,
    FALSE,
    TRUE);
    END;
    CREATE
    TABLE relatie_documenten OF XMLTYPE
    XMLSCHEMA "http://localhost:8080/xsd/relaties.xsd"
    ELEMENT "Relatie"
    CREATE OR REPLACE
    TRIGGER upo_rdt_ai
    AFTER INSERT ON relatie_documenten
    FOR EACH ROW
    DECLARE
    doc XMLType;
    BEGIN
    doc := :new.SYS_NC_ROWINFO$;
    XMLType.schemaValidate(doc);
    END;
    Then I inserted some xml documents into the table relatie_documenten. The XSD worked fine.
    Then I executed the following statement:
    BEGIN
    DBMS_XMLSCHEMA.copyEvolve
    ( schemaURLs => xdb$string_list_t('http://localhost:8080/xsd/relaties.xsd')
    , newSchemas => XMLSequenceType(XDBURIType('/xsd/relaties_v2.xsd').getXML())
    , preserveOldDocs => TRUE
    , mapTabName => 'RELATIE_DOCUMENTEN_TEMP'
    , generateTables => FALSE
    END;
    This resulted in:
    ERROR at line 1:
    ORA-30945: Could not create mapping table 'RELATIE_DOCUMENTEN_TEMP'
    ORA-00600: internal error code, arguments: [kqludp2], [0x66AB407C], [0], [],
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 113
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 210
    ORA-06512: at line 2
    I checked system priviliges as documented in XML DB Developers Guide, Chapter 8 XML Schema Evolution. No other users were connected. The mapping table RELATIE_DOCUMENTEN_TEMP nor any other object named RELATIE_DOCUMENTEN_TEMP did not exist.
    Anyone an idea why I cannot create my mapping table ?
    Gregor

    Which release / platform are you working with
    With 10.2.0.2.1 on Widows I get
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://localhost:8080/xsd/relaties.xsd';
      3    :schemaPath := '/public/relaties.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      5              xmlns:xdb="http://xmlns.oracle.com/xdb"
      6                 elementFormDefault="unqualified"
      7                 attributeFormDefault="unqualified"
      8                 version="1.0">
      9     <xsd:element name="Relatie" xdb:defaultTable="">
    10             <xsd:complexType>
    11                     <xsd:sequence>
    12                             <xsd:element name="Voornaam" type="xsd:string"/>
    13                             <xsd:element name="Achternaam" type="xsd:string"/>
    14                             <xsd:element name="Tussenvoegsel" type="xsd:string"/>
    15                             <xsd:element name="Geboortedatum" type="xsd:date"/>
    16                             <xsd:element name="Geslacht">
    17                 <xsd:simpleType>
    18                    <xsd:restriction base="xsd:string">
    19                       <xsd:enumeration value="M"/>
    20                       <xsd:enumeration value="V"/>
    21                    </xsd:restriction>
    22                 </xsd:simpleType>
    23              </xsd:element>
    24                     <xsd:element name="Sofinummer">
    25                 <xsd:simpleType>
    26                    <xsd:restriction base="xsd:string">
    27                       <xsd:pattern value="\d{9}"/>
    28                    </xsd:restriction>
    29                 </xsd:simpleType>
    30              </xsd:element>
    31                             <xsd:element name="Straatnaam" type="xsd:string"/>
    32                             <xsd:element name="Huisnummer" type="xsd:string"/>
    33                             <xsd:element name="Woonplaats" type="xsd:string"/>
    34                             <!--xsd:element name="Postcode" type="xsd:string"/-->
    35                             <xsd:element name="Postcode">
    36                 <xsd:simpleType>
    37                    <xsd:restriction base="xsd:string">
    38                       <xsd:pattern value="\d{4} [A-Z]{2}"/>
    39                    </xsd:restriction>
    40                 </xsd:simpleType>
    41              </xsd:element>
    42                             <xsd:element name="Zrn">
    43                 <xsd:simpleType>
    44                    <xsd:restriction base="xsd:integer">
    45                       <xsd:minInclusive value="1000000"/>
    46                       <xsd:maxInclusive value="99999999999999"/>
    47                    </xsd:restriction>
    48                 </xsd:simpleType>
    49              </xsd:element>
    50                     </xsd:sequence>
    51             </xsd:complexType>
    52     </xsd:element>
    53  </xsd:schema>');
    54  begin
    55    if (dbms_xdb.existsResource(:schemaPath)) then
    56      dbms_xdb.deleteResource(:schemaPath);
    57    end if;
    58    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    59  end;
    60  /
    PL/SQL procedure successfully completed.
    SQL> BEGIN
      2    DBMS_XMLSCHEMA.registerSchema(
      3      :schemaURL,
      4      XDBURIType(:schemaPath).getClob(),
      5      TRUE,
      6      FALSE,
      7      FALSE,
      8      TRUE);
      9  END;
    10  /
    PL/SQL procedure successfully completed.
    SQL> DROP TABLE relatie_documenten FORCE
      2  /
    Table dropped.
    SQL> CREATE TABLE relatie_documenten OF XMLTYPE
      2         XMLSCHEMA "http://localhost:8080/xsd/relaties.xsd"
      3         ELEMENT "Relatie"
      4  /
    Table created.
    SQL> CREATE OR REPLACE TRIGGER upo_rdt_ai
      2  AFTER INSERT ON relatie_documenten
      3  FOR EACH ROW
      4  DECLARE
      5     doc XMLType;
      6  BEGIN
      7     doc := :new.SYS_NC_ROWINFO$;
      8     XMLType.schemaValidate(doc);
      9  END;
    10  /
    Trigger created.
    SQL> INSERT
      2  INTO   relatie_documenten
      3  VALUES (XMLType
      4           ('<Relatie>
      5                <Voornaam>Johan</Voornaam>
      6                <Achternaam>Hermans</Achternaam>
      7                <Tussenvoegsel/>
      8                <Geboortedatum>1978-01-02</Geboortedatum>
      9                <Geslacht>M</Geslacht>
    10                <Sofinummer>233300417</Sofinummer>
    11                <Straatnaam>Stationstraat</Straatnaam>
    12                <Huisnummer>10</Huisnummer>
    13                <Woonplaats>Weesp</Woonplaats>
    14                <Postcode>1383 AK</Postcode>
    15                <Zrn>1234567</Zrn>
    16             </Relatie>'
    17          ).CreateSchemaBasedXML(:schemaURL))
    18  /
    1 row created.
    SQL> commit
      2  /
    Commit complete.
    SQL> INSERT
      2  INTO   relatie_documenten
      3  VALUES (XMLType
      4           ('<Relatie>
      5                <Voornaam>Johanna</Voornaam>
      6                <Achternaam>Gurts</Achternaam>
      7                <Tussenvoegsel/>
      8                <Geboortedatum>1975-11-12</Geboortedatum>
      9                <Geslacht>V</Geslacht>
    10                <Sofinummer>234109807</Sofinummer>
    11                <Straatnaam>Stationstraat</Straatnaam>
    12                <Huisnummer>10</Huisnummer>
    13                <Woonplaats>Weesp</Woonplaats>
    14                <Postcode>1383 AK</Postcode>
    15                <Zrn>7654321</Zrn>
    16             </Relatie>').CreateSchemaBasedXML(:schemaURL))
    17  /
    1 row created.
    SQL> commit
      2  /
    Commit complete.
    SQL> INSERT
      2  INTO   relatie_documenten
      3  VALUES (XMLType
      4           ('<Relatie>
      5                <Voornaam>Johanna</Voornaam>
      6                <Achternaam>Gurts</Achternaam>
      7                <Tussenvoegsel/>
      8                <Geboortedatum>1975-11-12</Geboortedatum>
      9                <Geslacht>O</Geslacht>
    10                <Sofinummer>234109807</Sofinummer>
    11                <Straatnaam>Stationstraat</Straatnaam>
    12                <Huisnummer>10</Huisnummer>
    13                <Woonplaats>Weesp</Woonplaats>
    14                <Postcode>1383 AK</Postcode>
    15                <Zrn>7654321</Zrn>
    16             </Relatie>').CreateSchemaBasedXML(:schemaURL))
    17  /
    VALUES (XMLType
    ERROR at line 3:
    ORA-31038: Invalid enumeration value: "O"
    ORA-06512: at "SYS.XMLTYPE", line 345
    ORA-06512: at "SCOTT.UPO_RDT_AI", line 5
    ORA-04088: error during execution of trigger 'SCOTT.UPO_RDT_AI'
    SQL> commit
      2  /
    Commit complete.
    SQL> declare
      2    xmlschema xmltype;
      3    res       boolean;
      4  begin
      5    select xdburitype(:schemaPath).getXML()
      6      into xmlSchema
      7      from dual;
      8    dbms_xdb.deleteResource(:schemaPath);
      9    select insertChildXML
    10           (
    11             xmlschema,
    12             '/xsd:schema//xsd:element[@name="Geslacht"]/xsd:simpleType/xsd:restriction',
    13             'xsd:enumeration',
    14             xmltype('<xsd:enumeration xmlns:xsd="http://www.w3.org/2001/XMLSchema" value="O"/>'),
    15             'xmlns:xsd="http://www.w3.org/2001/XMLSchema"'
    16           )
    17    into xmlSchema
    18    from dual;
    19    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    20  end;
    21  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> set long 100000 pages 200 lines 140
    SQL> --
    SQL> select xdburitype(:schemaPath).getXML()
      2    from dual
      3  /
    XDBURITYPE(:SCHEMAPATH).GETXML()
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="unqualified" attributeF
    ormDefault="unqualified" version="1.0">
      <xsd:element name="Relatie" xdb:defaultTable="">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Voornaam" type="xsd:string"/>
            <xsd:element name="Achternaam" type="xsd:string"/>
            <xsd:element name="Tussenvoegsel" type="xsd:string"/>
            <xsd:element name="Geboortedatum" type="xsd:date"/>
            <xsd:element name="Geslacht">
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:enumeration value="M"/>
                  <xsd:enumeration value="V"/>
                  <xsd:enumeration xmlns:xsd="http://www.w3.org/2001/XMLSchema" value="O"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
            <xsd:element name="Sofinummer">
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:pattern value="\d{9}"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
            <xsd:element name="Straatnaam" type="xsd:string"/>
            <xsd:element name="Huisnummer" type="xsd:string"/>
            <xsd:element name="Woonplaats" type="xsd:string"/>
            <!--xsd:element name="Postcode" type="xsd:string"/-->
            <xsd:element name="Postcode">
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:pattern value="\d{4} [A-Z]{2}"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
            <xsd:element name="Zrn">
              <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                  <xsd:minInclusive value="1000000"/>
                  <xsd:maxInclusive value="99999999999999"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    SQL> DROP TABLE RELATIE_DOCUMENTEN_TEMP
      2  /
    Table dropped.
    SQL> BEGIN
      2    DBMS_XMLSCHEMA.copyEvolve
      3      ( schemaURLs      => xdb$string_list_t(:schemaURL)
      4      , newSchemas      => XMLSequenceType(XDBURIType(:schemaPath).getXML())
      5      , preserveOldDocs => TRUE
      6      , mapTabName      => 'RELATIE_DOCUMENTEN_TEMP'
      7      , generateTables  => FALSE
      8      );
      9  END;
    10  /
    PL/SQL procedure successfully completed.
    SQL> CREATE TABLE relatie_documenten OF XMLTYPE
      2         XMLSCHEMA "http://localhost:8080/xsd/relaties.xsd"
      3         ELEMENT "Relatie"
      4  /
    Table created.
    SQL> CREATE OR REPLACE TRIGGER upo_rdt_ai
      2  AFTER INSERT ON relatie_documenten
      3  FOR EACH ROW
      4  DECLARE
      5     doc XMLType;
      6  BEGIN
      7     doc := :new.SYS_NC_ROWINFO$;
      8     XMLType.schemaValidate(doc);
      9  END;
    10  /
    Trigger created.
    SQL> declare
      2    tablename varchar2(2000);
      3  begin
      4    select temp_tabname
      5      into tablename
      6      from RELATIE_DOCUMENTEN_TEMP
      7     where table_name = USER || '.' || upper('relatie_documenten');
      8    execute immediate 'insert into relatie_documenten select xmltype(data) from ' || tablename;
      9    commit;
    10  end;
    11  /
    PL/SQL procedure successfully completed.
    SQL> select *
      2    from relatie_documenten
      3  /
    SYS_NC_ROWINFO$
    <Relatie>
      <Voornaam>Johan</Voornaam>
      <Achternaam>Hermans</Achternaam>
      <Tussenvoegsel/>
      <Geboortedatum>1978-01-02</Geboortedatum>
      <Geslacht>M</Geslacht>
      <Sofinummer>233300417</Sofinummer>
      <Straatnaam>Stationstraat</Straatnaam>
      <Huisnummer>10</Huisnummer>
      <Woonplaats>Weesp</Woonplaats>
      <Postcode>1383 AK</Postcode>
      <Zrn>1234567</Zrn>
    </Relatie>
    <Relatie>
      <Voornaam>Johanna</Voornaam>
      <Achternaam>Gurts</Achternaam>
      <Tussenvoegsel/>
      <Geboortedatum>1975-11-12</Geboortedatum>
      <Geslacht>V</Geslacht>
      <Sofinummer>234109807</Sofinummer>
      <Straatnaam>Stationstraat</Straatnaam>
      <Huisnummer>10</Huisnummer>
      <Woonplaats>Weesp</Woonplaats>
      <Postcode>1383 AK</Postcode>
      <Zrn>7654321</Zrn>
    </Relatie>
    SQL> INSERT
      2  INTO   relatie_documenten
      3  VALUES (XMLType
      4           ('<Relatie>
      5                <Voornaam>Johanna</Voornaam>
      6                <Achternaam>Gurts</Achternaam>
      7                <Tussenvoegsel/>
      8                <Geboortedatum>1975-11-12</Geboortedatum>
      9                <Geslacht>O</Geslacht>
    10                <Sofinummer>234109807</Sofinummer>
    11                <Straatnaam>Stationstraat</Straatnaam>
    12                <Huisnummer>10</Huisnummer>
    13                <Woonplaats>Weesp</Woonplaats>
    14                <Postcode>1383 AK</Postcode>
    15                <Zrn>7654321</Zrn>
    16             </Relatie>').CreateSchemaBasedXML(:schemaURL))
    17  /
    1 row created.
    SQL> commit
      2  /
    Commit complete.
    SQL> select *
      2    from relatie_documenten
      3  /
    SYS_NC_ROWINFO$
    <Relatie>
      <Voornaam>Johan</Voornaam>
      <Achternaam>Hermans</Achternaam>
      <Tussenvoegsel/>
      <Geboortedatum>1978-01-02</Geboortedatum>
      <Geslacht>M</Geslacht>
      <Sofinummer>233300417</Sofinummer>
      <Straatnaam>Stationstraat</Straatnaam>
      <Huisnummer>10</Huisnummer>
      <Woonplaats>Weesp</Woonplaats>
      <Postcode>1383 AK</Postcode>
      <Zrn>1234567</Zrn>
    </Relatie>
    <Relatie>
      <Voornaam>Johanna</Voornaam>
      <Achternaam>Gurts</Achternaam>
      <Tussenvoegsel/>
      <Geboortedatum>1975-11-12</Geboortedatum>
      <Geslacht>V</Geslacht>
      <Sofinummer>234109807</Sofinummer>
      <Straatnaam>Stationstraat</Straatnaam>
      <Huisnummer>10</Huisnummer>
      <Woonplaats>Weesp</Woonplaats>
      <Postcode>1383 AK</Postcode>
      <Zrn>7654321</Zrn>
    </Relatie>
    <Relatie>
      <Voornaam>Johanna</Voornaam>
      <Achternaam>Gurts</Achternaam>
      <Tussenvoegsel/>
      <Geboortedatum>1975-11-12</Geboortedatum>
      <Geslacht>O</Geslacht>
      <Sofinummer>234109807</Sofinummer>
      <Straatnaam>Stationstraat</Straatnaam>
      <Huisnummer>10</Huisnummer>
      <Woonplaats>Weesp</Woonplaats>
      <Postcode>1383 AK</Postcode>
      <Zrn>7654321</Zrn>
    </Relatie>
    SQL>Here's the SQL, can you cut'n'paste and run the whole thing as XML_OWNER
    var schemaURL varchar2(256)
    var schemaPath varchar2(256)
    begin
      :schemaURL := 'http://localhost:8080/xsd/relaties.xsd';
      :schemaPath := '/public/relaties.xsd';
    end;
    call dbms_xmlSchema.deleteSchema(:schemaURL,4)
    declare
      res boolean;
      xmlSchema xmlType := xmlType(
    '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:xdb="http://xmlns.oracle.com/xdb"
                   elementFormDefault="unqualified"
                   attributeFormDefault="unqualified"
                   version="1.0">
         <xsd:element name="Relatie" xdb:defaultTable="">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Voornaam" type="xsd:string"/>
                        <xsd:element name="Achternaam" type="xsd:string"/>
                        <xsd:element name="Tussenvoegsel" type="xsd:string"/>
                        <xsd:element name="Geboortedatum" type="xsd:date"/>
                        <xsd:element name="Geslacht">
                   <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                         <xsd:enumeration value="M"/>
                         <xsd:enumeration value="V"/>
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
                     <xsd:element name="Sofinummer">
                   <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                         <xsd:pattern value="\d{9}"/>
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
                        <xsd:element name="Straatnaam" type="xsd:string"/>
                        <xsd:element name="Huisnummer" type="xsd:string"/>
                        <xsd:element name="Woonplaats" type="xsd:string"/>
                        <!--xsd:element name="Postcode" type="xsd:string"/-->
                        <xsd:element name="Postcode">
                   <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                         <xsd:pattern value="\d{4} [A-Z]{2}"/>
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
                        <xsd:element name="Zrn">
                   <xsd:simpleType>
                      <xsd:restriction base="xsd:integer">
                         <xsd:minInclusive value="1000000"/>
                         <xsd:maxInclusive value="99999999999999"/>
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>');
    begin
      if (dbms_xdb.existsResource(:schemaPath)) then
        dbms_xdb.deleteResource(:schemaPath);
      end if;
      res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    end;
    BEGIN
      DBMS_XMLSCHEMA.registerSchema(
        :schemaURL,
        XDBURIType(:schemaPath).getClob(),
        TRUE,
        FALSE,
        FALSE,
        TRUE);
    END;
    DROP TABLE relatie_documenten FORCE
    CREATE TABLE relatie_documenten OF XMLTYPE
           XMLSCHEMA "http://localhost:8080/xsd/relaties.xsd"
           ELEMENT "Relatie"
    CREATE OR REPLACE TRIGGER upo_rdt_ai
    AFTER INSERT ON relatie_documenten
    FOR EACH ROW
    DECLARE
       doc XMLType;
    BEGIN
       doc := :new.SYS_NC_ROWINFO$;
       XMLType.schemaValidate(doc);
    END;
    INSERT
    INTO   relatie_documenten
    VALUES (XMLType
             ('<Relatie>
                  <Voornaam>Johan</Voornaam>
                  <Achternaam>Hermans</Achternaam>
                  <Tussenvoegsel/>
                  <Geboortedatum>1978-01-02</Geboortedatum>
                  <Geslacht>M</Geslacht>
                  <Sofinummer>233300417</Sofinummer>
                  <Straatnaam>Stationstraat</Straatnaam>
                  <Huisnummer>10</Huisnummer>
                  <Woonplaats>Weesp</Woonplaats>
                  <Postcode>1383 AK</Postcode>
                  <Zrn>1234567</Zrn>
               </Relatie>'
            ).CreateSchemaBasedXML(:schemaURL))
    commit
    INSERT
    INTO   relatie_documenten
    VALUES (XMLType
             ('<Relatie>
                  <Voornaam>Johanna</Voornaam>
                  <Achternaam>Gurts</Achternaam>
                  <Tussenvoegsel/>
                  <Geboortedatum>1975-11-12</Geboortedatum>
                  <Geslacht>V</Geslacht>
                  <Sofinummer>234109807</Sofinummer>
                  <Straatnaam>Stationstraat</Straatnaam>
                  <Huisnummer>10</Huisnummer>
                  <Woonplaats>Weesp</Woonplaats>
                  <Postcode>1383 AK</Postcode>
                  <Zrn>7654321</Zrn>
               </Relatie>').CreateSchemaBasedXML(:schemaURL))
    commit
    INSERT
    INTO   relatie_documenten
    VALUES (XMLType
             ('<Relatie>
                  <Voornaam>Johanna</Voornaam>
                  <Achternaam>Gurts</Achternaam>
                  <Tussenvoegsel/>
                  <Geboortedatum>1975-11-12</Geboortedatum>
                  <Geslacht>O</Geslacht>
                  <Sofinummer>234109807</Sofinummer>
                  <Straatnaam>Stationstraat</Straatnaam>
                  <Huisnummer>10</Huisnummer>
                  <Woonplaats>Weesp</Woonplaats>
                  <Postcode>1383 AK</Postcode>
                  <Zrn>7654321</Zrn>
               </Relatie>').CreateSchemaBasedXML(:schemaURL))
    commit
    declare
      xmlschema xmltype;
      res       boolean;
    begin
      select xdburitype(:schemaPath).getXML()
        into xmlSchema
        from dual;
      dbms_xdb.deleteResource(:schemaPath);
      select insertChildXML
               xmlschema,
               '/xsd:schema//xsd:element[@name="Geslacht"]/xsd:simpleType/xsd:restriction',
               'xsd:enumeration',
               xmltype('<xsd:enumeration xmlns:xsd="http://www.w3.org/2001/XMLSchema" value="O"/>'),
               'xmlns:xsd="http://www.w3.org/2001/XMLSchema"'
      into xmlSchema
      from dual;
      res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    end;
    commit
    set long 100000 pages 200 lines 140
    select xdburitype(:schemaPath).getXML()
      from dual
    DROP TABLE RELATIE_DOCUMENTEN_TEMP
    BEGIN
      DBMS_XMLSCHEMA.copyEvolve
        ( schemaURLs      => xdb$string_list_t(:schemaURL)
        , newSchemas      => XMLSequenceType(XDBURIType(:schemaPath).getXML())
        , preserveOldDocs => TRUE
        , mapTabName      => 'RELATIE_DOCUMENTEN_TEMP'
        , generateTables  => FALSE
    END;
    CREATE TABLE relatie_documenten OF XMLTYPE
           XMLSCHEMA "http://localhost:8080/xsd/relaties.xsd"
           ELEMENT "Relatie"
    CREATE OR REPLACE TRIGGER upo_rdt_ai
    AFTER INSERT ON relatie_documenten
    FOR EACH ROW
    DECLARE
       doc XMLType;
    BEGIN
       doc := :new.SYS_NC_ROWINFO$;
       XMLType.schemaValidate(doc);
    END;
    declare
      tablename varchar2(2000);
    begin
      select temp_tabname
        into tablename
        from RELATIE_DOCUMENTEN_TEMP
       where table_name = USER || '.' || upper('relatie_documenten');
      execute immediate 'insert into relatie_documenten select xmltype(data) from ' || tablename;
      commit;
    end;
    select *
      from relatie_documenten
    INSERT
    INTO   relatie_documenten
    VALUES (XMLType
             ('<Relatie>
                  <Voornaam>Johanna</Voornaam>
                  <Achternaam>Gurts</Achternaam>
                  <Tussenvoegsel/>
                  <Geboortedatum>1975-11-12</Geboortedatum>
                  <Geslacht>O</Geslacht>
                  <Sofinummer>234109807</Sofinummer>
                  <Straatnaam>Stationstraat</Straatnaam>
                  <Huisnummer>10</Huisnummer>
                  <Woonplaats>Weesp</Woonplaats>
                  <Postcode>1383 AK</Postcode>
                  <Zrn>7654321</Zrn>
               </Relatie>').CreateSchemaBasedXML(:schemaURL))
    commit
    select *
      from relatie_documenten
    /

  • Oracle.jbo.PCollException: JBO-28030

    Hello,
    I'm made jsp page with business components(one simple table view) and when in JDeveloper I run project then receive this message in browser>
    oracle.jbo.PCollException: JBO-28030: Nebylo možné vložit řádek do tabulky PS_TXN, id sběru 2 103 390, trvalé id 1     at oracle.jbo.PCollException.throwException(PCollException.java:39)     at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1845)     at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)     at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)     at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)     at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)     at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)     at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:278)     at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)     at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7760)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)     at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)     at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)     at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)     at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)## Detail 0 ##java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcCallableStatement     at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1813)     at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)     at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)     at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)     at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)     at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)     at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:278)     at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)     at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7760)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)     at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)     at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)     at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)     at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    Could somebody help me?
    Thank you very much.
    Jan

    Is it possible that you've created your application using the Oracle SQL Flavor and then switched the JDBC driver after creating your application to be a driver other than the Oracle JDBC driver?
    It looks like the OraclePersistManager is being used, and expecting to be able to cast a callable statement to an oracle.jdbc.OracleCallableStatement, and the JDBC driver you are using is not providing a callable statement object that implements this interface.

  • Could not create validator

    All of a sudden I am unable to create a record with a JSF page, the error I am seeing in the console is the following:
    WARNING: could not create validator for validatorId:null and binding:#{bindings.KenmerkRegister.validator}
    Jun 5, 2007 2:22:09 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    (and so on)
    What does this mean? I cannot find it anywhere.....

    frank ,i meet the error too . there are three .
    1.can not create validator
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    严重: attribute 'validatorId' is missing
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    警告: could not create validator for validatorId:null and binding:#{bindings.sQuoteId.validator}
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    严重: attribute 'validatorId' is missing
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    警告: could not create validator for validatorId:null and binding:#{bindings.sBrokerId.validator}
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    严重: attribute 'validatorId' is missing
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    警告: could not create validator for validatorId:null and binding:#{bindings.sCustomerId.validator}
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    严重: attribute 'validatorId' is missing
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    警告: could not create validator for validatorId:null and binding:#{bindings.sQuoteDateStart.validator}
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    严重: attribute 'validatorId' is missing
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    警告: could not create validator for validatorId:null and binding:#{bindings.sQuoteDateEnd.validator}
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    严重: attribute 'validatorId' is missing
    2007-6-16 15:29:37 oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    警告: could not create validator for validatorId:null and binding:#{bindings.sStatus.validator}
    2007-6-16 15:29:37
    2.can not init af:selectOneChoice
    oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer _getSelectedIndex
    警告: Could not find selected item matching value "-1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id15]
    3.and when i click a commandButton to invoke an action , occur the following error,
    51079 [HTTPThreadGroup-5] ERROR lifecycle.InvokeApplicationPhase - execute: oracle.jbo.uicli.jui.JUActionBinding.execute(javax.faces.event.ActionEvent)
    javax.faces.el.MethodNotFoundException: execute: oracle.jbo.uicli.jui.JUActionBinding.execute(javax.faces.event.ActionEvent)
         at com.sun.faces.el.MethodBindingImpl.method(MethodBindingImpl.java:226)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:144)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:204)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Could not create a new connection in STRUTS

    Hi,
    I have done a application in STRUTS using JBOSS as application server, IDE myeclipse, database is MYSQL, current while executing the application at the time of connecting the database it is giving the error as 'could not create a connection ; nested throwable i have given below the server console message can anybody help in this regard to solve this issue.
    Thanks
    12:37:14,950 INFO  [Server] Starting JBoss (MX MicroKernel)...
    12:37:14,966 INFO  [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
    12:37:14,981 INFO  [Server] Home Dir: F:\vln\jboss-4.0.3
    12:37:14,981 INFO  [Server] Home URL: file:/F:/vln/jboss-4.0.3/
    12:37:14,981 INFO  [Server] Patch URL: null
    12:37:14,981 INFO  [Server] Server Name: default
    12:37:14,981 INFO  [Server] Server Home Dir: F:\vln\jboss-4.0.3\server\default
    12:37:14,981 INFO  [Server] Server Home URL: file:/F:/vln/jboss-4.0.3/server/default/
    12:37:14,981 INFO  [Server] Server Temp Dir: F:\vln\jboss-4.0.3\server\default\tmp
    12:37:14,981 INFO  [Server] Root Deployment Filename: jboss-service.xml
    12:37:15,809 INFO  [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
    12:37:15,809 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
    12:37:15,809 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
    12:37:16,919 INFO  [Server] Core system initialized
    12:37:19,591 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    12:37:50,544 INFO  [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_before_completion=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibernate.hbm2ddl.auto=create-drop, hibernate.connection.datasource=java:/DefaultDS, hibernate.connection.release_mode=after_statement}
    12:37:50,653 INFO  [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://169.254.109.142:3873/0.0.0.0:3873]
    12:38:23,387 INFO  [AspectDeployer] Deployed AOP: file:/F:/vln/jboss-4.0.3/server/default/deploy/ejb3-interceptors-aop.xml
    12:38:43,294 INFO  [WebService] Using RMI server codebase: http://madhu:8083/
    12:38:44,981 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    12:38:45,059 INFO  [TreeCache] setEvictionPolicyConfig(): [config: null]
    12:38:45,091 WARN  [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
    12:38:45,169 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.CacheLoaderInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    class org.jboss.cache.interceptors.CacheStoreInterceptor
    12:38:45,419 INFO  [TreeCache] cache mode is REPL_SYNC
    12:38:46,559 INFO  [STDOUT]
    GMS: address is MADHU:1860
    12:38:48,606 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:38:48,606 INFO  [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
    12:38:48,606 INFO  [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
    12:38:48,606 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:38:48,637 INFO  [TreeCache] viewAccepted(): new members: [MADHU:1860]
    12:38:48,934 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    12:38:48,966 INFO  [TreeCache] setEvictionPolicyConfig(): [config: null]
    12:38:58,528 INFO  [MailService] Mail Service bound to java:/Mail
    12:39:04,981 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [email protected]6
    12:39:05,106 INFO  [DefaultPartition] Initializing
    12:39:05,200 INFO  [STDOUT]
    GMS: address is MADHU:2004 (additional data: 20 bytes)
    12:39:07,216 INFO  [DefaultPartition] Number of cluster members: 1
    12:39:07,216 INFO  [DefaultPartition] Other members: 0
    12:39:07,216 INFO  [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
    12:39:07,512 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
    12:39:07,528 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=169.254.109.142:1100
    12:39:09,591 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    12:39:09,606 INFO  [TreeCache] cache mode is REPL_SYNC
    12:39:09,653 INFO  [STDOUT]
    GMS: address is MADHU:2034
    12:39:11,669 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:39:11,669 INFO  [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
    12:39:11,669 INFO  [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
    12:39:11,669 INFO  [TreeCache] viewAccepted(): new members: [MADHU:2034]
    12:39:11,669 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:39:18,497 INFO  [Embedded] Catalina naming disabled
    12:39:21,294 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    12:39:21,309 INFO  [Catalina] Initialization processed in 2656 ms
    12:39:21,309 INFO  [StandardService] Starting service jboss.web
    12:39:21,325 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
    12:39:21,512 INFO  [StandardHost] XML validation disabled
    12:39:21,637 INFO  [Catalina] Server startup in 328 ms
    12:39:23,200 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    12:40:12,434 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
    12:40:16,966 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp44694jboss-ws4ee-exp.war/
    12:40:17,481 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
    12:40:17,856 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    12:40:18,450 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    12:40:23,731 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
    12:40:23,747 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    12:40:23,747 INFO  [TreeCache] cache mode is REPL_ASYNC
    12:40:24,184 INFO  [STDOUT]
    GMS: address is MADHU:2576
    12:40:26,184 INFO  [TreeCache] viewAccepted(): new members: [MADHU:2576]
    12:40:26,184 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:40:26,184 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:40:27,794 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    12:40:28,231 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    12:40:28,559 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    12:40:28,934 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    12:40:29,325 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    12:40:29,762 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    12:40:34,544 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    12:40:36,762 INFO  [A] Bound to JNDI name: queue/A
    12:40:36,778 INFO  Bound to JNDI name: queue/B
    12:40:36,778 INFO [C] Bound to JNDI name: queue/C
    12:40:36,778 INFO [D] Bound to JNDI name: queue/D
    12:40:36,778 INFO [ex] Bound to JNDI name: queue/ex
    12:40:36,856 INFO [testTopic] Bound to JNDI name: topic/testTopic
    12:40:36,872 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    12:40:36,872 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    12:40:36,872 INFO [testQueue] Bound to JNDI name: queue/testQueue
    12:40:37,044 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    12:40:37,200 INFO [DLQ] Bound to JNDI name: queue/DLQ
    12:40:37,903 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    12:40:38,262 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS'
    12:40:38,512 INFO [TomcatDeployer] deploy, ctxPath=/EIISWEB, warUrl=.../deploy/EIISWEB.war/
    12:40:39,622 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12:40:39,637 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    12:40:40,731 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
    12:40:40,747 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    12:40:40,856 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
    12:40:41,106 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    12:40:41,700 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    12:40:42,216 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
    12:40:42,356 INFO [JkMain] Jk running ID=0 time=0/234 config=null
    12:40:42,372 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 3m:27s:391ms
    12:41:21,684 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,700 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12:41:21,731 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
    12:41:21,919 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:31,262 INFO [STDOUT] In ServiceLocator: creating datasource
    12:41:31,262 INFO [STDOUT] Referencejava:MySqlDS
    12:41:31,262 INFO [STDOUT] [email protected]9
    12:41:31,419 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis)
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:164)
         at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519)
         at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:208)
         at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:529)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:410)
         at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:342)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:462)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
         at com.lsil.eiis.validator.main.common.QueryManager.getInfo(QueryManager.java:65)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.lsil.eiis.utility.XMLDTHttpServlet.getInfo(XMLDTHttpServlet.java:186)
         at com.lsil.eiis.utility.XMLDTHttpServlet.doGet(XMLDTHttpServlet.java:44)
         at com.lsil.eiis.utility.XMLDTHttpServlet.doPost(XMLDTHttpServlet.java:121)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:291)
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:153)
         ... 37 more
    12:41:32,403 INFO [STDOUT] Help XML:<Data><Record><RESULT>Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis))</RESULT></Record></Data>

    Hi Abhshek,
    Please go through the link:Error in Seeburger SFTP : Cannot create pending keystore PENDING/SSH_hosts
    Also check certificate expiry date. Take help of basis team so that they could be able to assist you regarding this.
    Regards,
    Naveen

  • Java system error: Server repository could not create function template

    Hi, Our BI person is trying to  publish/broadcast a query to the PRODCTION  portal, she gets the below error message.  I am
    attaching the defaulttracelog file
    "Java system error: Server repository could not create function template for RSRD_X_PRODUCE_PROXY caused by: com.sap.mw.jco.JCO$Exception: (103)"
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/defaultTrace.trc]/>
    <!PATTERN[defaultTrace.trc]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[8, 20, 10485760]/>
    <!PREVIOUSFILE[defaultTrace.7.trc]/>
    <!NEXTFILE[defaultTrace.9.trc]/>
    <!LOGHEADER[END]/>
    #1.5 #002264F9350800600000022F000019C000048E9B91EF3AB3#1282698726384#com.sap.security.core.persistence#sap.com/irj#com.sap.security.core.persistence#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Security/Usermanagement#Java#An exception was thrown in the UME/ABAP user management connector that was caused by unavailability of the RFC communication with the backend system: "". ##An exception was thrown in the UME/ABAP user management connector that was caused by unavailability of the RFC communication with the backend system: "". #1#Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '127.0.0.1:sapgw00' not reached
    TIME        Tue Aug 24 21:12:06 201
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     56
    #1.5 #002264F93508006000000230000019C000048E9B91EF47C8#1282698726384#com.sap.engine.services.monitor.mbeans.Monitor#sap.com/irj#com.sap.engine.services.monitor.mbeans.Monitor#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Plain###Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!#
    #1.5 #002264F93508006000000231000019C000048E9B91EF4CD5#1282698726384#System.err#sap.com/irj#System.err#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!
         at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:63)
         at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:98)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.unregisterMBean(MBeanServerSecurityWrapper.java:395)
         at com.sap.engine.services.jmx.ClusterInterceptor.unregisterMBean(ClusterInterceptor.java:1327)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.unregisterMBean(MBeanServerInterceptorChain.java:258)
         at com.sap.engine.services.monitor.mbeans.Monitor.unregister(Monitor.java:106)
         at com.sap.engine.library.monitor.impl0.AbstractMonitorNode.remove(AbstractMonitorNode.java:154)
         at com.sap.engine.library.monitor.impl0.MonitorObjectFactory.uninstallMonitorNode(MonitorObjectFactory.java:483)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:595)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:568)
         at com.sap.engine.services.monitor.server.ApplicationLifeCycleImpl.applicationStopped(ApplicationLifeCycleImpl.java:52)
         at com.sap.engine.services.monitor.deployment.MonitorDeploymentContainer.commitStop(MonitorDeploymentContainer.java:630)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:244)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitLocal(StopTransaction.java:278)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:374)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.stopApplicationLocalAndWait(DeployServiceImpl.java:4569)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.stopApplicationLocalAndWait(DeployCommunicatorImpl.java:628)
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime$2.run(SAPJ2EEPortalRuntime.java:602)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
         at java.lang.Runtime.load0(Runtime.java:737)
         at java.lang.System.load(System.java:811)
         at com.sapportals.wcm.service.fsmount.FSMountService.loadDLL(FSMountService.java:736)
         at com.sapportals.wcm.service.fsmount.FSMountService.<clinit>(FSMountService.java:796)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.convertGS(CmConfigurationProvider.java:637)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.convertServiceConfig(CmConfigurationProvider.java:601)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.readConfiguration(CmConfigurationProvider.java:205)
         at com.sapportals.wcm.crt.CrtSystemImpl.createComponentManager(CrtSystemImpl.java:108)
         at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:202)
         at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:164)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:974)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:249)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:877)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1118)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1592)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:422)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:361)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:394)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #002264F93508005C0000042300002CF00004939AAEE9AEB7#1288192475655#com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager#sap.com/irj#com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager#J2EE_GUEST#0##n/a##c7d00e00e1dc11dfa36d002264f93508#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###setting initial ACL on /reporting_backend/reports/System Administration/CM Store/cm.crawlcontent - com.sap.security.api.NoSuchRoleException: Role with uniqueName system_admin_role not found!
         at com.sap.security.core.imp.RoleFactory.getRoleByUniqueName(RoleFactory.java:1783)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.getRoles(RPRepositoryManager.java:1474)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.syncReportResources(RPRepositoryManager.java:1334)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.initBackend(RPRepositoryManager.java:489)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.getResource(RPRepositoryManager.java:581)
         at com.sapportals.wcm.repository.RMAdapter.getResource(RMAdapter.java:228)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findResource(CmAdapter.java:1349)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findManagerAndResource(CmAdapter.java:1322)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:979)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.service.reporting.ReportingService.localConfigure(ReportingService.java:294)
         at com.sapportals.wcm.service.reporting.ReportingService.startUpImpl(ReportingService.java:74)
         at com.sapportals.wcm.service.AbstractService.start(AbstractService.java:167)
         at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.tryToStart(CrtThreadSafeComponentHandler.java:247)
         at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleLookup(CrtThreadSafeComponentHandler.java:109)
         at com.sapportals.wcm.crt.CrtComponentManager.lookup(CrtComponentManager.java:322)
         at com.sapportals.wcm.crt.CrtComponentManager.lookupChildComponent(CrtComponentManager.java:403)
         at com.sapportals.wcm.crt.CrtContainerManager.lookupComponent(CrtContainerManager.java:44)
         at com.sapportals.wcm.crt.CrtSystemImpl.lookupComponentByUri(CrtSystemImpl.java:131)
         at com.sapportals.wcm.crt.CrtComponentManager.startUp(CrtComponentManager.java:278)
         at com.sapportals.wcm.crt.CrtSystemImpl.startUpComponentManager(CrtSystemImpl.java:166)
         at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:227)
         at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:164)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:974)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:249)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:877)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1118)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1592)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:422)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:361)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:394)

    Go to visual admin -> server -> services -> JCO RFC provider.
    Check the RFC that connects to the BI Abap.
    Its reporting the J2EE_GUEST user in the SAP with the system nr 00.
    Is this BI java portal?
    Is the java portal a addon to Abap or having seperate SID?
    Check the connection definitions are correct and the gateway is running.

  • Error in: oracle.jbo.PCollException: JBO-28021

    I have a "jsp" with Bussines Componets and when I want view the data I have a problem, the error is:
    oracle.jbo.PCollException: JBO-28021: Activation error on collection viewRestaurantes, node id 41
         void oracle.jbo.PCollException.throwException(java.lang.Class, java.lang.String, java.lang.Object[], java.lang.Exception)
         oracle.jbo.pcoll.PCollPersistable oracle.jbo.pcoll.PCollNode.activateElemWithId(oracle.jbo.pcoll.PCollection, long)
         oracle.jbo.pcoll.PCollPersistable oracle.jbo.pcoll.PCollNode.activateElemAt(int, oracle.jbo.pcoll.PersistentMarker)
         oracle.jbo.pcoll.PCollPersistable oracle.jbo.pcoll.PCollNode.getElemAt(int)
         oracle.jbo.pcoll.PCollPersistable oracle.jbo.pcoll.PCollNode.objectAt(long)
         oracle.jbo.pcoll.PCollPersistable oracle.jbo.pcoll.PCollNode.objectAt(long)
         oracle.jbo.pcoll.PCollPersistable oracle.jbo.pcoll.PCollection.elementAt(long)
         java.lang.Object oracle.jbo.server.QueryCollection.get(int)
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.getRow(int)
         void oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(int)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         int oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(int)
         int oracle.jbo.server.ViewRowSetImpl.setRangeStart(int)
         int oracle.jbo.server.ViewObjectImpl.setRangeStart(int)
    This error is only visibility when the result set has a lot of records, when I have a few records this error is not visibility.
    I use JDeveloper version 9.0.695 and the code of jsp is:
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ page language="java" import="java.lang.*,java.util.*,oracle.jbo.*,oracle.jbo.html.*,oracle.jbo.RowIterator.*" session="true" autoFlush="true" isThreadSafe="true" contentType="text/html; charset=ISO-8859-1" isErrorPage="false" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Vista Restaurantes
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String campos;
    String query;
    String tabla;
    String where="";
    String order="";
    campos="T_RES_PL.RES_PL_NOM,T_RES_PL.RES_PL_ID,T_RES_PL.RES_PL_SITE,T_RES_PL.RES_PL_FEC_TOT,";
    campos+="T_RES_PL.RES_PL_ACC,T_RES_PL.RES_PL_DES,T_RES_PL.RES_PL_SC,T_RES_PL.RES_PL_FEC,";
    campos+="T_RES_PL.RES_PL_VOU,T_RES_PL.RES_PL_AMO,T_RES_PL.RES_PL_TEX,T_RES_PL.RES_PL_VEN,";
    campos+="T_RES_PL.RES_PL_VEN_NOM,T_RES_PL.RES_PL_REF1,";
    campos+="T_RES_PL.RES_PL_REF2,T_RES_PL.RES_PL_REF3,T_RES_PL.RES_PL_CO,T_RES_PL.RES_PL_TOT";
    tabla=" FROM T_RES_PL";
    order=" ORDER BY T_RES_PL.RES_PL_ID";
    // query="SELECT "+campos+tabla+where+order;
    String Rol=(String) session.getAttribute("sRol");
    String sIdRes=(String) session.getAttribute("sIdRes");
    if (!Rol.equals("Administrador")){
    //Si el usuario no es Administrador visualizará los datos correspondientes
    //a su restaurante
    where=" WHERE T_RES_PL.RES_PL_SITE="+sIdRes;
    query="SELECT "+campos+tabla+where+order;
    %>
    <jbo:ApplicationModule id="MypackageModule" configname="mypackage.MypackageModule.MypackageModuleLocal" releasemode="Stateful" />
    <jbo:CreateViewObject appid="MypackageModule" name="viewRestaurantes" >
    <%= query %>
    </jbo:CreateViewObject>
    <jbo:DataSource id="Restaurantes" appid="MypackageModule" viewobject="viewRestaurantes" />
    <%
    String oReg=(String)session.getAttribute("sesReg");
    oReg=((oReg==null || oReg.equals(""))?"0":oReg);
    String oIniS=(String)session.getAttribute("sesIniS");
    oIniS=((oIniS==null || oIniS.equals(""))?"0":oIniS);
    int sesReg=Integer.parseInt(oReg);
    int sesIniS=Integer.parseInt(oIniS);
    String pIni=request.getParameter("Inicio");
    String pCont=request.getParameter("Cont");
    String pIniS=request.getParameter("IniSig");
    String pReg=request.getParameter("Reg");
    String sIni=(pIni==null?"0":(pIni.equals("")?"0":pIni));
    String sCont=(pCont==null?"0":(pCont.equals("")?"0":pCont));
    String sIniS=(pIniS==null?"0":(pIniS.equals("")?"0":pIniS));
    String sReg=(pReg==null?"50":(pReg.equals("")?"50":pReg));
    int Ini=Integer.parseInt(sIni);
    int Cont=Integer.parseInt(sCont);
    int IniS=Integer.parseInt(sIniS);
    int Reg=Integer.parseInt(sReg);
    if (IniS != 0) {
    //Si se han pasado valores se guardarán en la session, para usarlos en el link BACK
    session.setAttribute("sesReg",sReg);
    session.setAttribute("sesIniS",sIniS);
    oReg=(String)session.getAttribute("sesReg");
    oReg=((oReg==null || oReg.equals(""))?"0":oReg);
    oIniS=(String)session.getAttribute("sesIniS");
    oIniS=((oIniS==null || oIniS.equals(""))?"0":oIniS);
    sesIniS=Integer.parseInt(sIniS);
    sesReg=Integer.parseInt(sReg);
    int i=0;
    Row fila;
    RowSet rs=Restaurantes.getRowSet();
    int total=rs.getRowCount();
    int ContFin=Cont; //vble usada para el link anterior.
    Cont=(Ini+Cont > total?total-Ini:Cont);
    rs.setRangeStart(Ini);
    rs.setRangeSize(Cont);
    Enumeration e=rs.enumerateRowsInRange();
    %>
    In line "rs.setRangeStart(Ini);" is the error, why?
    Thank for your responses.

    Cristina:
    Would you please post the entire stack trace including the detail exception? If you don't get the detail exception, you need to get it from the diagnostic console window. Here is an instruction on how to turn on diagnostic.
    http://radio.weblogs.com/0123729/2003/05/01.html
    Thanks.
    Sung

  • (failed due to: Could not create/access the TopLink Session)

    I got the fallowing error from Enterprise Manager when testing "validationForCC" and the invocation instance failed.
    Anyone have an idea?
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException:
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'soademoDatabase'. Resolved ''; remaining name 'soademoDatabase'. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)
    at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [soademoDatabase]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'soademoDatabase'. Resolved ''; remaining name 'soademoDatabase'. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [soademoDatabase]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'soademoDatabase'. Resolved ''; remaining name 'soademoDatabase'. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more

    If anyone is is intrested. I figured out the solution. In the Weblogic Console Located in the JDBC Data Sources. Added correct JNDI Name for Name: soademoDatabase which was jdbc/soademoDatabase. Redeploy and restart server. Works fine

  • Error: "Could not create document" on fileshare

    Ladies and Gentleman,
    I integrated a fileshare to our PoC Mobile Documents instance like described in the article
    SAP Mobile Documents - Connecting a File Share as Corporate Repository
    created by Jens Koster.
    The Configuration worked well, and I can see the repository under the "Corporate" tab. I can see the directory structure and the files, and I am able to browse the directory and open the files. As soon as I want to create a directory, or to upload a new file into the repository, I am getting an Error.
    The logs on the Netweaver show me "Could not create document"
    All the settings I did during the configuration look like described in the document of Jens.
    The permissions I set on the file share itself should allow everybody to create documents and directories - I did a successful test on the Windows File explorer.
    Is there anything missing in my configuration?
    Thank you for your help.
    br
    Ernst

    Hi Ernst,
    try to use a CM Repository manager instead of the File System manager. Configure the persistence mode of the cm repository to fsdb and specify a versioning folder. Set the Security Manager to ACLSecurityManager and the ACL Manager cache to ca_rsrc_acl.
    There are some issues when you grant write access to a file system via SAP km. You can read about the impacts here: CM Repository Manager - Knowledge Management - SAP Library in the section FSDB Mode.
    Hope this helps.
    Best Regards,
    Simon

  • Could not create task file

    We are installing SAP R3 4.7 sr1 on Linux SuSE SLES9, 32/bit.
    Problem: During the installation of DI, phase Database Load (Pst Processing), installation stopped , and in the log file said
    Could not create task file tmp/sapinst_instdir/.../SAPREPOS.TSK
    Anyone with the similar problem? Solution?
    Best regards,
    Igor Kokai

    Hello:
    I do not know exactly what of the following elements contributed to fix the problem, but
    following is the list of changes we did in a 3rd try to install R/3 on Sun Solaris.
    1.  Get latest SAPINST.
    2.  Use a different installation directory, which is permitted by the use os a new SAPINST.  We used something outside /tmp, which is used by default by the SAPINST that comes with the CDs.
    3.  Delete the whole installation and start again, because by just using SAPINST in the middle of the installation, the problem was not fixed.
    4.  Change the SID from DEN to DE1.
    5.  There was an answer in sdn about the problem telling a linux user to use another environment variable that was for HP-UX, but since it was suggested for them, we took it, just in case. That was also done in the middle of the installation when the problem was happening, but did not fix the problem.
    6. We did not install the oracle patch 9.2.0.7 because the patch is the one that looks for a bunch of sun patches, that although we already had them, since the error we were getting was oracle related, it was decided not to do that for now.
    7.  Smile and go ahead without desperation.
    Regards,
    Juan

  • Sharepoint 2010 - SPUCWorkerProcess - Could not create file

    I have some type of permission issue that is preventing my User Code Host service from running (it starts then stops).    I am seeing the following in my ULS:
    03/01/2011 09:59:13.42 SPUCWorkerProcess.exe (0x0F78)
    0x1254 SharePoint Foundation
    Unified Logging Service f05l
    High Could not create file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\\IH-PORTAL002.ulstest, HRESULT=0x80070005
    03/01/2011 09:59:13.42 SPUCWorkerProcess.exe (0x0F78)
    0x1254 SharePoint Foundation
    Unified Logging Service f05n
    High No permission to write on C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\
    Followed by:
    03/01/2011 09:59:16.64 SPUCHostService.exe (0x13A8)
    0x0D00 SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 09:59:16.77 SPUCHostService.exe (0x13A8)
    0x0D00 SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 09:59:16.77 SPUCHostService.exe (0x13A8)
    0x0D00 SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 09:59:16.77 SPUCHostService.exe (0x13A8)
    0x0D00 SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 09:59:16.77 SPUCHostService.exe (0x13A8)
    0x0D00 SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 09:59:16.78 SPUCHostService.exe (0x13A8)
    0x0D00 SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    I have verified that the service account for the SPUCHostService is a domain account belonging to the the WSS_WPG local group (I also tried adding to the WSS_ADMIN_WPG group with no more success).  The WSS_WPG
    group has read and write access to the log folder mentioned above.
    I started troubleshooting this when I tried to activate and use the CRM 2011 list control.  And found that other sandboxed solutions also fail which lead me to look at the SharePoint 2010 User Code Host, which will not keep running.
    I have a Sharepoint 2010 enterprise farm with one WFE and one seperate database server all on a single domain.   The WFE is running on Windows 2008 sp2 (64 bit).   
    I look forward to your advice / suggestions.
    PS.  I have been working on this for a couple days, and have read many issues that seem to be related, but I have already checked that the Service is now set to automatic, that the service account is a member of the WSS_WPG group and should therefore
    have rights to the Logs folder.  It is also a member of the Local Administrators and the Performance Log Users group.
    Fred Zilz

    After IISReset I don't see the Logs directory issue but I still have the following:
    03/01/2011 14:00:53.35 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 14:00:53.46 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 14:00:53.46 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 14:00:53.46 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 14:00:53.46 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 14:00:53.47 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 14:00:53.47 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 14:00:53.47 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 14:00:53.47 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 14:00:53.47 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    Sandboxed Code Service ei0p
    Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)  
      at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading
    perf counters for process "SPUCWorkerProcess".
    03/01/2011 14:00:53.47 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    General 84yj
    Medium Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    03/01/2011 14:00:53.49 SPUCHostService.exe (0x15E0)
    0x13DC SharePoint Foundation
    Sandboxed Code Service 0000
    Unexpected - Process perf counters are disabled. Sandboxed code monitoring cannot continue.
    03/01/2011 14:00:53.52 SPUCHostService.exe (0x15E0)
    0x14AC SharePoint Foundation
    General 84yi
    Unexpected An SPPerformanceCounter was not properly disposed.  This could cause excessive memory use.
    03/01/2011 14:00:53.52 SPUCHostService.exe (0x15E0)
    0x14AC SharePoint Foundation
    General 84yi
    Unexpected An SPPerformanceCounter was not properly disposed.  This could cause excessive memory use.
    Any ideas on what is going on with the Performance Counter?
    Fred Zilz

  • Could not create DC in NWDI Track

    Dear All,
    I imported my tracks from central SLD system, but getting error while creating DC.
    i enter DC name , make an activity and choose finish. on finish I get error that DC cannot be created.
    Please HELP.
    LOG FILE:
         ... 40 more
    !ENTRY com.tssap.util 4 0 Feb 19, 2010 02:12:33.890
    !MESSAGE Feb 19, 2010 2:12:33 AM        com.sap.ide.eclipse.component.core.DCController        [Thread[main,5,main]] Error: Create DC failed: Unable to create remote path "ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/" for component moint point: Could not create remote path /dtr/ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/ (Internal Server Error).
    !STACK 0
    com.sap.tc.devconf.SyncException: Unable to create remote path "ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/" for component moint point: Could not create remote path /dtr/ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/ (Internal Server Error).
         at com.sap.tc.devconf.impl.DTRClientErrorMapper.toSyncException(DTRClientErrorMapper.java:65)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForDC(DevelopmentConfiguration.java:2693)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.createComponent(DevelopmentConfiguration.java:669)
         at com.sap.ide.eclipse.component.core.DCController.createComponent(DCController.java:930)
         at com.sap.ide.eclipse.component.core.DCController.fillProject(DCController.java:1047)
         at com.sap.ide.eclipse.component.wizard.ProjectWizard.fillProject(ProjectWizard.java:327)
         at com.sap.ide.eclipse.component.wizard.ProjectWizard.fillProject(ProjectWizard.java:288)
         at com.sap.ide.webdynpro.archivebuilder.project.WebDynproDevelopmentComponentProjectWizard.runPerformFinish(WebDynproDevelopmentComponentProjectWizard.java:97)
         at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard$2.run(WebDynproProjectWizard.java:238)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard$1.run(WebDynproProjectWizard.java:236)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard.performFinish(WebDynproProjectWizard.java:260)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.eclipse.component.provider.actions.dc.DcNewAction.run(DcNewAction.java:97)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.tssap.dtr.client.lib.vfs.config.ConfigurationException: Could not create remote path /dtr/ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/ (Internal Server Error).
         at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:230)
         at com.tssap.dtr.client.lib.vfs.config.impl.MountPoint.assureRemotePathExists(MountPoint.java:153)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForDC(DevelopmentConfiguration.java:2688)
         ... 49 more
    Caused by: com.tssap.dtr.client.lib.deltavlib.DeltavException: Internal Server Error
         at com.tssap.dtr.client.lib.deltavlib.impl.DeltavCommand.checkResponseStatus(DeltavCommand.java:121)
         at com.tssap.dtr.client.lib.deltavlib.impl.DeltavCommand.execute(DeltavCommand.java:68)
         at com.tssap.dtr.client.lib.deltavlib.impl.AbstractResource.executeRequest(AbstractResource.java:240)
         at com.tssap.dtr.client.lib.deltavlib.impl.ActivityImpl.checkin(ActivityImpl.java:190)
         at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.checkInActivity(RepositoryServer.java:400)
         at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:223)
         ... 51 more
    Caused by:
    [VFS version: 7.00 645_VAL_REL 0010 (2006-01-14 16:03:00 CET)] com.tssap.dtr.client.lib.vfs.config.ConfigurationException: Could not create remote path /dtr/ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/ (Internal Server Error).
        at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:230)
        at com.tssap.dtr.client.lib.vfs.config.impl.MountPoint.assureRemotePathExists(MountPoint.java:153)
        at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForDC(DevelopmentConfiguration.java:2688)
        at com.sap.tc.devconf.impl.DevelopmentConfiguration.createComponent(DevelopmentConfiguration.java:669)
        at com.sap.ide.eclipse.component.core.DCController.createComponent(DCController.java:930)
        at com.sap.ide.eclipse.component.core.DCController.fillProject(DCController.java:1047)
        at com.sap.ide.eclipse.component.wizard.ProjectWizard.fillProject(ProjectWizard.java:327)
        at com.sap.ide.eclipse.component.wizard.ProjectWizard.fillProject(ProjectWizard.java:288)
        at com.sap.ide.webdynpro.archivebuilder.project.WebDynproDevelopmentComponentProjectWizard.runPerformFinish(WebDynproDevelopmentComponentProjectWizard.java:97)
        at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard$2.run(WebDynproProjectWizard.java:238)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
        at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard$1.run(WebDynproProjectWizard.java:236)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
        at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
        at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard.performFinish(WebDynproProjectWizard.java:260)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
        at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
        at org.eclipse.jface.window.Window.open(Window.java:563)
        at com.sap.ide.eclipse.component.provider.actions.dc.DcNewAction.run(DcNewAction.java:97)
        at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
        at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
        at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
        at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
        at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
        at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
        +++ Nested exception part 1/1
        com.tssap.dtr.client.lib.deltavlib.DeltavException: Internal Server Error
            at com.tssap.dtr.client.lib.deltavlib.impl.DeltavCommand.checkResponseStatus(DeltavCommand.java:121)
            at com.tssap.dtr.client.lib.deltavlib.impl.DeltavCommand.execute(DeltavCommand.java:68)
            at com.tssap.dtr.client.lib.deltavlib.impl.AbstractResource.executeRequest(AbstractResource.java:240)
            at com.tssap.dtr.client.lib.deltavlib.impl.ActivityImpl.checkin(ActivityImpl.java:190)
            at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.checkInActivity(RepositoryServer.java:400)
            at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:223)
            at com.tssap.dtr.client.lib.vfs.config.impl.MountPoint.assureRemotePathExists(MountPoint.java:153)
            ... 50 more
    !ENTRY com.tssap.util 4 0 Feb 19, 2010 02:12:33.906
    !MESSAGE Feb 19, 2010 2:12:33 AM        com.sap.ide.eclipse.component.core.DCController        [Thread[main,5,main]] Error: Create DC failed: Unable to create remote path "ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/" for component moint point: Could not create remote path /dtr/ws/HRMSXSS/hrms.com_HRMS_ESS/dev/inactive/DCs/sap.com/ankurtest/_comp/ (Internal Server Error).
    !ENTRY com.tssap.util 4 0 Feb 19, 2010 02:12:39.921
    !MESSAGE Feb 19, 2010 2:12:39 AM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Archive Builder
       Plugin ID  : com.sap.ide.webdynpro.archivebuilder
       Class      : com.sap.ide.webdynpro.archivebuilder.project.WebDynproDevelopmentComponentProjectWizard
       Method     : performFinish()
       Message    :
       Exception  : java.lang.reflect.InvocationTargetException: null
    !STACK 0
    java.lang.reflect.InvocationTargetException
         at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard$1.run(WebDynproProjectWizard.java:251)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.ide.webdynpro.archivebuilder.project.WebDynproProjectWizard.performFinish(WebDynproProjectWizard.java:260)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.eclipse.component.provider.actions.dc.DcNewAction.run(DcNewAction.java:97)
         at

    Hi Ankur,
    This problem occurs due to the version missmatch of EP and NWDS.
    Also read through these posts:
    Error While creating a DC
    Create DC failed
    and
    Error creating DC
    Regards,
    Shailesh

  • Could not create Delivery in VL01N

    Hi
    Previously our Client use to sell some Trading type of material to their customer on Third Party Scenario basis....ie) They place the order with Vendor, inturn he directly send it to the Customer....
    Now Our Client wants that material has to come to his W/H and Customer should come to his W/H and do the inspection and has to take the delivery.
    ie) Based on Customer PO, he will create Sales order
        Based on Item catogary  BANC and Order Type OR, the Item catogary TAB will be Triggered and Based on   Item catogary TAB, the Schd.Line catogary CB will be triggered....and Based on Schd.Line catogary CB the PR will be automatically triggered with Acc.***.Catogary "E'....this will be converted in to PO and for the same GR will be done and the stock is updated as Special Stock as "SALE ORDER STOCK"
    My problem is if I Create Delivery in VL01N to the customer based on that Sale Order...The Warning mesage is coming as  "No Schedule Lines Due for delivery up to Selected Date" and I could not create the delivery...
    It will be highly appreciated if anybody can help me in this regard
    Regards
    S.Baskaran

    Hi baskaran,
    Check the Delivery Date of that order( In schedule lines u can find the Delivery Date) and check the VL01N Transaction code delivery date
    these two should be same.
    Regards..
    Praveen Kumar.D

  • Could not create JVM in Windows 7 64-bit

    Hello,
    I'm trying to launch my java web start application in a windows 7 64-bit machine (8 GB RAM) with the parameter -Xmx4g in the JNLP file (java version 1.6.0_27). I get the error "Could not create the Java Virtual Machine". When I reduce it to -Xmx1000m it launches fine but at some point my application crashes because of java.lang.OutOfMemoryError. When I run the jar file java -jar -Xmx4g MyApplication.jar from the command line it runs fine and never crashes.
    The same application can be launched in windows XP SP3 (2GB RAM) with -Xmx1000m (java version 1.6.0_26) and never crashes.
    So basically what I've concluded is that in the 64-bit my application runs out of memory (even though it works fine for the same dataset in the 32-bit) but I cannot find a way to address the extra memory I need from the JNLP file without having the error "Could not create the Java Virtual Machine".
    I'm not sure if there is an obvious solution that I'm missing, I've looked online but I'm no wiser. I would appreciate any help!
    Thanks,
    Laura

    I have a thought. 1gb works, 4gb does not. That seems to stem from the 32 bits limitation. However, you run this on a 64 bits CPU.
    BUT! Are you trying this under Internet Explorer? I know from earlier problems that Windows 7 defaults to the *32 bits* version of Internet Explorer, even on 64 bits systems. Something to investigate.

Maybe you are looking for

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts, Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previ

  • Lr3 to lr5 file upgrade

    I had lr3 & just installed lr5.  Only the files in one catalog automatically upgraded.  How do I change the others?

  • What is open firmware command to boot a Powerbook G4 from a CF card in the PCMCIA slot?

    I have a Powerbook G4 Titanium with a bad motherboard that will no longer power the internal hard drive. I want to to install an OS and boot from a CF card in the PCMCIA slot. I understand this has to be done from Openfirmware, but I cannot figure ou

  • Can I do that like this?

    Example: public Class A extends Applet { void init() Class B = new B(this); Class B { Applet applet; public B(Applet applet) { this.applet = applet; }

  • Split Monitor Woes

    Hello all. I've got a slight problem here. I recently picked up a Wacom 20WSX Cintiq for my Mac Pro setup (which already has a 23" Cinema). Originally the Cintiq was to pair up with the Cinema, right beside each other, but this doesn't work as the Ci