Hi everybody,
I'm using Oracle 9i and novel iManager 2.7.0.
I created a new Oracle driver and I configured it.

I'm trying to get a list of users from a very simple Oracle table (just
id, name, surname). Every time I insert a new user into the Oracle's
table I get the following error on the driver log. (LOG n. 1)

After getting the errorn on LOG n. 1 I did read all the posts about
this error and I tried to change my Placement Rule adding \ at the begin
of DN string. But then I get this other error (LOG n. 2) (and I couldn't
find anything about it) reported below after LOG n. 1 .

---------------- LOG n. 1 ---------------------

<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20070918_0743" instance="OracleProva2"
version="3.5.2">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add class-name="ClasseMiaTabella"
dest-dn="TestGSE\OracleGSE\CN=24"
event-id="MATRICOLA=24,table=MIA_TABELLA,schema=BDC_ADM_ IAA"
src-dn="MATRICOLA=24,table=MIA_TABELLA,schema=BDC_ADM_ IAA">
<association
state="associated">MATRICOLA=24,table=MIA_TABELLA, schema=BDC_ADM_IAA</association>
<add-attr attr-name="Cognome">
<value type="string">Prova7</value>
</add-attr>
<add-attr attr-name="CN">
<value type="string">24</value>
</add-attr>
<add-attr attr-name="Nome">
<value type="string">Prova7</value>
</add-attr>
<add-attr attr-name="Login Script">
<value>Login</value>
</add-attr>
<add-attr attr-name="Object Class">
<value>dynamicGroupAux</value>
</add-attr>
</add>
</input>
</nds>
[09/12/08 16:28:15.102]:Trace PT:Filtering out notification-only
attributes.
[09/12/08 16:28:15.102]:Trace PT:Pumping XDS to eDirectory.
[09/12/08 16:28:15.102]:Trace PT:Performing operation add for
TestGSE\OracleGSE\CN=24.
[09/12/08 16:28:15.103]:Trace PT:Adding entry TestGSE\OracleGSE\CN=24.
[09/12/08 16:28:15.103]:Trace PT:Creating RDN CN=24 in context
TestGSE\OracleGSE.
[09/12/08 16:28:15.110]:Trace PT:
DIRXML LOG EVENT -------------------
DRIVER: \TESTGSE\TESTGSE\TRYSETQ\ORACLEPROVA2
CHANNEL: PUBLISHER
OBJECT: MATRICOLA=24,TABLE=MIA_TABELLA,SCHEMA=BDC_ADM_IAA
(TESTGSE\ORACLEGSE\CN=24)
STATUS: ERROR
MESSAGE: CODE(-9010) AN EXCEPTION OCCURRED:
NOVELL.JCLIENT.JCEXCEPTION: NAMETOID -601 ERR_NO_SUCH_ENTRY
[09/12/08 16:28:15.114]:Trace PT:Fixing up association references.
[09/12/08 16:28:15.114]:Trace PT:Applying schema mapping policies to
output.
[09/12/08 16:28:15.115]:Trace PT:Applying policy:
%+C%14CSchema+Mapping+Rule%-C.
[09/12/08 16:28:15.115]:Trace PT:Applying output transformation
policies.
[09/12/08 16:28:15.115]:Trace PT:Applying policy: %+C%14COutput
Transformation%-C.
[09/12/08 16:28:15.116]:Trace PT: Applying to status #1.
[09/12/08 16:28:15.116]:Trace PT: Evaluating selection criteria for
rule 'User: Reformat fax number as string'.
[09/12/08 16:28:15.116]:Trace PT: (if-class-name equal
"indirect.usr") = FALSE.
[09/12/08 16:28:15.116]:Trace PT: Rule rejected.
[09/12/08 16:28:15.117]:Trace PT:Policy returned:
[09/12/08 16:28:15.117]:Trace PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status
event-id="MATRICOLA=24,table=MIA_TABELLA,schema=BDC_ADM_ IAA"
level="error">Code(-9010) An exception occurred:
novell.jclient.JCException: nameToID -601
ERR_NO_SUCH_ENTRY<application>DirXML</application>
<module>OracleProva2</module>
<object-dn>MATRICOLA=24,table=MIA_TABELLA,schema=BDC_ADM_I AA
(TestGSE\OracleGSE\CN=24)</object-dn>
<component>Publisher</component>
</status>
</output>
</nds>


---------------------------------------- LOG n. 2 ----------------

<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20070918_0743" instance="OracleProva2"
version="3.5.2">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add class-name="ClasseMiaTabella"
dest-dn="\TestGSE\OracleGSE\CN=25"
event-id="MATRICOLA=25,table=MIA_TABELLA,schema=BDC_ADM_ IAA"
src-dn="MATRICOLA=25,table=MIA_TABELLA,schema=BDC_ADM_ IAA">
<association
state="associated">MATRICOLA=25,table=MIA_TABELLA, schema=BDC_ADM_IAA</association>
<add-attr attr-name="Cognome">
<value type="string">Prova8</value>
</add-attr>
<add-attr attr-name="CN">
<value type="string">25</value>
</add-attr>
<add-attr attr-name="Nome">
<value type="string">Prova8</value>
</add-attr>
<add-attr attr-name="Login Script">
<value>Login</value>
</add-attr>
<add-attr attr-name="Object Class">
<value>dynamicGroupAux</value>
</add-attr>
</add>
</input>
</nds>
[09/12/08 16:50:33.093]:Trace PT:Filtering out notification-only
attributes.
[09/12/08 16:50:33.094]:Trace PT:Pumping XDS to eDirectory.
[09/12/08 16:50:33.094]:Trace PT:Performing operation add for
\TestGSE\OracleGSE\CN=25.
[09/12/08 16:50:33.094]:Trace PT:Adding entry
\TestGSE\OracleGSE\CN=25.
[09/12/08 16:50:33.095]:Trace PT:Creating RDN CN=25 in context
\TestGSE\OracleGSE.
[09/12/08 16:50:33.102]:Trace PT:
DIRXML LOG EVENT -------------------
DRIVER: \TESTGSE\TESTGSE\TRYSETQ\ORACLEPROVA2
CHANNEL: PUBLISHER
OBJECT: MATRICOLA=25,TABLE=MIA_TABELLA,SCHEMA=BDC_ADM_IAA
(\TESTGSE\ORACLEGSE\CN=25)
STATUS: ERROR
MESSAGE: CODE(-9010) AN EXCEPTION OCCURRED:
NOVELL.JCLIENT.JCEXCEPTION: CREATEENTRY -628 ERR_OBJECT_CLASS_VIOLATION
[09/12/08 16:50:33.107]:Trace PT:Fixing up association references.
[09/12/08 16:50:33.107]:Trace PT:Applying schema mapping policies to
output.
[09/12/08 16:50:33.108]:Trace PT:Applying policy:
%+C%14CSchema+Mapping+Rule%-C.
[09/12/08 16:50:33.108]:Trace PT:Applying output transformation
policies.
[09/12/08 16:50:33.108]:Trace PT:Applying policy: %+C%14COutput
Transformation%-C.
[09/12/08 16:50:33.108]:Trace PT: Applying to status #1.
[09/12/08 16:50:33.109]:Trace PT: Evaluating selection criteria for
rule 'User: Reformat fax number as string'.
[09/12/08 16:50:33.109]:Trace PT: (if-class-name equal
"indirect.usr") = FALSE.
[09/12/08 16:50:33.109]:Trace PT: Rule rejected.
[09/12/08 16:50:33.109]:Trace PT:Policy returned:
[09/12/08 16:50:33.110]:Trace PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status
event-id="MATRICOLA=25,table=MIA_TABELLA,schema=BDC_ADM_ IAA"
level="error">Code(-9010) An exception occurred:
novell.jclient.JCException: createEntry -628
ERR_OBJECT_CLASS_VIOLATION<application>DirXML</application>
<module>OracleProva2</module>
<object-dn>MATRICOLA=25,table=MIA_TABELLA,schema=BDC_ADM_I AA
(\TestGSE\OracleGSE\CN=25)</object-dn>
<component>Publisher</component>
</status>
</output>
</nds>


--
luca982
------------------------------------------------------------------------
luca982's Profile: http://forums.novell.com/member.php?userid=30673
View this thread: http://forums.novell.com/showthread.php?t=343418