Oracle.security.jazn.JAZNRuntimeException: Invalid index

Hi all,
I'm getting this exception very often:
oracle.security.jazn.JAZNRuntimeException: Invalid index
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
     at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
     at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
     at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: Invalid index
     at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreKey(StateUtils.java:68)
     at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:142)
     at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:194)
     at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:342)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:898)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:57)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)...{code}
Usualy when I click on refresh button on browser and in many other cases that I can't recognize as some rule...
Thanks in advance,
s o v i e t                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Hi Frank!
This error occur for me when I have "pending" PPR and I start a new one (e.g. fast clicking same button twice). Also, it may happen when I have pending lazy fetching of some table or graph and I hit some action button, or when I refresh a page using browser refresh button (while PPR is still not finished).
And I notice that it doesn't occur when I don't use ADF Controller.
I have not found cause nor workaround, expect to keep users patient until the PPR is finished (blocking attribute is not working in TP4, and your very nice glasspane trick is not appropriate for each and every button click).
Regards,
PaKo

Similar Messages

  • OC4J 10.1.3.1 Need to find oracle.security.jazn.login.module.db.util pckg

    Hi,
    I managed to configure Oracle's DBTableOraDataSourceLoginModule together with JavaSSO to access two tables which reside on a 9i database. One is the user's table and the other a roles table. The only problem is that the user's passwords should be encripted in this table.
    I followed the instructions in the Oracle Containers for J2EE Security Guide page 9-10 - Implementing DBLoginModuleEncodingInterface for Password Encryption, and specified in the pw_encoding_class parameter
    the DBLoginModuleSHA1Encoder class provided in the oracle.security.jazn.login.module.db.util package.
    I also wrote a small program to do the encryption in the table, using a getKeyDigestString method found in DBLoginModuleSHA1Encoder class of a sample dblogin module downloaded from a link in Lucas Jellema's article on how to secure an application developed with JDeveloper and deployed in OC4J. I used this class because I could not find the one mentioned in the Oracle documentation.
    Now the DBTableOraDataSourceLoginModule rejects the login with an invalid password message. It seems the encoding is calculated differently in the two classes. I tried to use the sample dblogin module in the javasso specification, and got a - no class found - message. I tried to locate the oracle.security.jazn.login.module.db.util package to use in the password encoding program, but I couldn't find it anywhere in either OC4J nor JDeveloper directories.
    Can you tell me where to find the oracle.security.jazn.login.module.db.util package ?
    Thanks for help.
    Gustavo

    Hi
    As I am also tried the same and found the encryption module working fine for me.
    This I could do only on JDeveloper 10g whereas while attempted on the same on JDeveloper 11g, I got lots of problems.
    Will you please help out in this regard, if you had already able to acheive the same on JDeveloper 11g TP3, please let me know the steps or any relevant URL which I can refer.
    Thanks in advance
    Kind Rgds
    Krishnamurthy. R

  • CreateJaznUser: import oracle.security.jazn.oc4j.JAZNUserManager not found

    Hello!
    I need to create a function that could allow Application users to change their passwords.I use a JAZN authentication in the application. So, I decided to analyze contents of the CreateJaznUser application first. But compilation of this application breaks by the next error:
    import oracle.security.jazn.oc4j.JAZNUserManager not found
    Could you advise me, what an additional libraries I must add to the CreateJaznUser application and where can I download them from?
    Thanks in advance.

    OID 3.0.1.0 is the latest product release to public. I did add the Install data to allow it to work. I see the data in OID but when I connect with jazn I get error.
    java -jar jazn.jar -shell
    JAZN:> ls
    realms policy
    JAZN:> cd realms
    JAZN:> ls
    String index out of range: 32
    JAZN:> cd ../policy
    JAZN:> ls
    JAZN:> exit
    JAZN:>
    It does not error on policy dirictory but it does on the realm side. If I watch the tcp packets it is working.

  • JAZN userManager (oracle.security.jazn.oc4j.JAZNUserManager) fails to initialize

    We are testing the JAZN callInfo sample. I have OID version 3.0.1.0, and Oracle9iAS (9.0.3.0.0) Containers for J2EE. We setup the jazn to use LDAP.
    When starting oc4j we get the following:
    java -jar oc4j.jar Error instantiating application 'callerInfo' at file:/u01/app/oracle/products/9iAS/j2ee/home/jazn/demo/callerInfo/callerInfo.ear: Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': java.lang.StringIndexOutOfBoundsException (String index out of range: 32)
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    We see it this connect to ldap and get a reply. I feel the string back is larger than jazn is expecting.
    We check the tcp traffic and see it connecting:
    09:10:57.377851 buckwheat.jxn.wcom.com.389 > buckwheat.jxn.wcom.com.35082: P 15:2641(2626) ack 131 win 32767 <nop,nop,timestamp 26118724 26118721> (DF)
    0x0000     4500 0a76 8468 4000 4006 6450 9f62 8482     E..v.h@[email protected]..
    0x0010     9f62 8482 0185 890a 1594 0e68 15e8 7584     .b.........h..u.
    0x0020     8018 7fff 37d6 0000 0101 080a 018e 8a44     ....7..........D
    0x0030     018e 8a41 3082 0a3e 0201 0264 820a 3704     ...A0..>...d..7.
    0x0040     1063 6e3d 4f72 6163 6c65 436f 6e74 6578     .cn=OracleContex
    0x0050     7430 820a 2130 1504 0263 6e31 0f04 0d4f     t0..!0...cn1...O
    0x0060     7261 636c 6543 6f6e 7465 7874 3044 040b     racleContext0D..
    0x0070     6f62 6a65 6374 636c 6173 7331 3504 0374     objectclass15..t
    0x0080     6f70 040b 6f72 636c 436f 6e74 6578 7404     op..orclContext.
    0x0090     106f 7263 6c43 6f6e 7465 7874 4175 7838     .orclContextAux8
    0x00a0     3204 0f6f 7263 6c52 6f6f 7443 6f6e 7465     2..orclRootConte
    0x00b0     7874 3016 040b 6f72 636c 7665 7273 696f     xt0...orclversio
    0x00c0     6e31 0704 0539 3030 3030 3081 9104 116f     n1...900000....o
    0x00d0     7263 6c65 6e74 7279 6c65 7665 6c61 6369     rclentrylevelaci
    0x00e0     317c 047a 6163 6365 7373 2074 6f20 656e     1|.zaccess.to.en
    0x00f0     7472 7920 6279 2067 726f 7570 3d22 636e     try.by.group="cn
    0x0100     3d4f 7261 636c 654e 6574 4164 6d69 6e73     =OracleNetAdmins
    0x0110     2c63 6e3d 4f72 6163 6c65 436f 6e74 6578     ,cn=OracleContex
    0x0120     7422 2028 6164 6429 2062 7920 6772 6f75     t".(add).by.grou
    0x0130     703d 2263 6e3d 4f72 6163 6c65 4442 4372     p="cn=OracleDBCr
    0x0140     6561 746f 7273 2c63 6e3d 4f72 6163 6c65     eators,cn=Oracle
    0x0150     436f 6e74 6578 7422 2028 6164 6429 3082     Context".(add)0.
    0x0160     0914 0407 6f72 636c 6163 6931 8209 0704     ....orclaci1....
    0x0170     7d61 6363 6573 7320 746f 2065 6e74 7279     }access.to.entry
    0x0180     2062 7920 6772 6f75 703d 2263 6e3d 4f72     .by.group="cn=Or
    0x0190     6163 6c65 436f 6e74 6578 7441 646d 696e     acleContextAdmin
    0x01a0     732c 636e 3d47 726f 7570 732c 636e 3d4f     s,cn=Groups,cn=O
    0x01b0     7261 636c 6543 6f6e 7465 7874 2220 2862     racleContext".(b
    0x01c0     726f 7773 652c 6164 642c 6465 6c65 7465     rowse,add,delete
    0x01d0     2920 6279 202a 2028 6272 6f77 7365 2c6e     ).by.*.(browse,n
    0x01e0     6f61 6464 2c6e 6f64 656c 6574 6529 0481     oadd,nodelete)..
    0x01f0     a461 6363 6573 7320 746f 2061 7474 723d     .access.to.attr=
    0x0200     282a 2920 6279 2067 726f 7570 3d22 636e     (*).by.group="cn
    0x0210     3d4f 7261 636c 6543 6f6e 7465 7874 4164     =OracleContextAd
    0x0220     6d69 6e73 2c63 6e3d 4772 6f75 7073 2c63     mins,cn=Groups,c
    0x0230     6e3d 4f72 6163 6c65 436f 6e74 6578 7422     n=OracleContext"
    0x0240     2028 7265 6164 2c73 6561 7263 682c 7772     .(read,search,wr
    0x0250     6974 652c 7365 6c66 7772 6974 652c 636f     ite,selfwrite,co
    0x0260     6d70 6172 6529 2062 7920 2a20 2872 6561     mpare).by.*.(rea
    0x0270     642c 7365 6172 6368 2c6e 6f77 7269 7465     d,search,nowrite
    0x0280     2c6e 6f73 656c 6677 7269 7465 2c63 6f6d     ,noselfwrite,com
    0x0290     7061 7265 2904 81dd 6163 6365 7373 2074     pare)...access.t
    0x02a0     6f20 656e 7472 7920 6669 6c74 6572 3d28     o.entry.filter=(
    0x02b0     6f62 6a65 6374 636c 6173 733d 6f72 636c     objectclass=orcl
    0x02c0     4e65 7453 6572 7669 6365 2920 6279 2067     NetService).by.g
    0x02d0     726f 7570 3d22 636e 3d4f 7261 636c 6544     roup="cn=OracleD
    0x02e0     4253 6563 7572 6974 7941 646d 696e 732c     BSecurityAdmins,
    0x02f0     636e 3d4f 7261 636c 6543 6f6e 7465 7874     cn=OracleContext
    0x0300     2220 2862 726f 7773 652c 6164 642c 6465     ".(browse,add,de
    0x0310     6c65 7465 2920 6279 2067 726f 7570 3d22     lete).by.group="
    0x0320     636e 3d4f 7261 636c 654e 6574 4164 6d69     cn=OracleNetAdmi
    0x0330     6e73 2c63 6e3d 4f72 6163 6c65 436f 6e74     ns,cn=OracleCont
    0x0340     6578 7422 2028 6272 6f77 7365 2c61 6464     ext".(browse,add
    0x0350     2c64 656c 6574 6529 2062 7920 2a20 2862     ,delete).by.*.(b
    0x0360     726f 7773 652c 6e6f 6164 642c 6e6f 6465     rowse,noadd,node
    0x0370     6c65 7465 2904 81ec 6163 6365 7373 2074     lete)...access.t
    0x0380     6f20 656e 7472 7920 6669 6c74 6572 3d28     o.entry.filter=(
    0x0390     6f62 6a65 6374 636c 6173 733d 6f72 636c     objectclass=orcl
    0x03a0     4e65 7444 6573 6372 6970 7469 6f6e 4c69     NetDescriptionLi
    0x03b0     7374 2920 6279 2067 726f 7570 3d22 636e     st).by.group="cn
    0x03c0     3d4f 7261 636c 6543 6f6e 7465 7874 4164     =OracleContextAd
    0x03d0     6d69 6e73 2c63 6e3d 4772 6f75 7073 2c63     mins,cn=Groups,c
    0x03e0     6e3d 4f72 6163 6c65 436f 6e74 6578 7422     n=OracleContext"
    0x03f0     2028 6272 6f77 7365 2c61 6464 2c64 656c     .(browse,add,del
    0x0400     6574 6529 2062 7920 6772 6f75 703d 2263     ete).by.group="c
    0x0410     6e3d 4f72 6163 6c65 4e65 7441 646d 696e     n=OracleNetAdmin
    0x0420     732c 636e 3d4f 7261 636c 6543 6f6e 7465     s,cn=OracleConte
    0x0430     7874 2220 2862 726f 7773 652c 6164 642c     xt".(browse,add,
    0x0440     6465 6c65 7465 2920 6279 202a 2028 6272     delete).by.*.(br
    0x0450     6f77 7365 2c6e 6f61 6464 2c6e 6f64 656c     owse,noadd,nodel
    0x0460     6574 6529 0481 e861 6363 6573 7320 746f     ete)...access.to
    0x0470     2065 6e74 7279 2066 696c 7465 723d 286f     .entry.filter=(o
    0x0480     626a 6563 7463 6c61 7373 3d6f 7263 6c4e     bjectclass=orclN
    0x0490     6574 4465 7363 7269 7074 696f 6e29 2062     etDescription).b
    0x04a0     7920 6772 6f75 703d 2263 6e3d 4f72 6163     y.group="cn=Orac
    0x04b0     6c65 436f 6e74 6578 7441 646d 696e 732c     leContextAdmins,
    0x04c0     636e 3d47 726f 7570 732c 636e 3d4f 7261     cn=Groups,cn=Ora
    0x04d0     636c 6543 6f6e 7465 7874 2220 2862 726f     cleContext".(bro
    0x04e0     7773 652c 6164 642c 6465 6c65 7465 2920     wse,add,delete).
    0x04f0     6279 2067 726f 7570 3d22 636e 3d4f 7261     by.group="cn=Ora
    0x0500     636c 654e 6574 4164 6d69 6e73 2c63 6e3d     cleNetAdmins,cn=
    0x0510     4f72 6163 6c65 436f 6e74 6578 7422 2028     OracleContext".(
    0x0520     6272 6f77 7365 2c61 6464 2c64 656c 6574     browse,add,delet
    0x0530     6529 2062 7920 2a20 2862 726f 7773 652c     e).by.*.(browse,
    0x0540     6e6f 6164 642c 6e6f 6465 6c65 7465 2904     noadd,nodelete).
    0x0550     81e8 6163 6365 7373 2074 6f20 656e 7472     ..access.to.entr
    0x0560     7920 6669 6c74 6572 3d28 6f62 6a65 6374     y.filter=(object
    0x0570     636c 6173 733d 6f72 636c 4e65 7441 6464     class=orclNetAdd
    0x0580     7265 7373 4c69 7374 2920 6279 2067 726f     ressList).by.gro
    0x0590     7570 3d22 636e 3d4f 7261 636c 6543 6f6e     up="cn=OracleCon
    0x05a0     7465 7874 4164 6d69 6e73 2c63 6e3d 4772     textAdmins,cn=Gr
    0x05b0     6f75 7073 2c63 6e3d 4f72 6163 6c65 436f     oups,cn=OracleCo
    0x05c0     6e74 6578 7422 2028 6272 6f77 7365 2c61     ntext".(browse,a
    0x05d0     6464 2c64 656c 6574 6529 2062 7920 6772     dd,delete).by.gr
    0x05e0     6f75 703d 2263 6e3d 4f72 6163 6c65 4e65     oup="cn=OracleNe
    0x05f0     7441 646d 696e 732c 636e 3d4f 7261 636c     tAdmins,cn=Oracl
    0x0600     6543 6f6e 7465 7874 2220 2862 726f 7773     eContext".(brows
    0x0610     652c 6164 642c 6465 6c65 7465 2920 6279     e,add,delete).by
    0x0620     202a 2028 6272 6f77 7365 2c6e 6f61 6464     .*.(browse,noadd
    0x0630     2c6e 6f64 656c 6574 6529 0481 e461 6363     ,nodelete)...acc
    0x0640     6573 7320 746f 2065 6e74 7279 2066 696c     ess.to.entry.fil
    0x0650     7465 723d 286f 626a 6563 7463 6c61 7373     ter=(objectclass
    0x0660     3d6f 7263 6c4e 6574 4164 6472 6573 7329     =orclNetAddress)
    0x0670     2062 7920 6772 6f75 703d 2263 6e3d 4f72     .by.group="cn=Or
    0x0680     6163 6c65 436f 6e74 6578 7441 646d 696e     acleContextAdmin
    0x0690     732c 636e 3d47 726f 7570 732c 636e 3d4f     s,cn=Groups,cn=O
    0x06a0     7261 636c 6543 6f6e 7465 7874 2220 2862     racleContext".(b
    0x06b0     726f 7773 652c 6164 642c 6465 6c65 7465     rowse,add,delete
    0x06c0     2920 6279 2067 726f 7570 3d22 636e 3d4f     ).by.group="cn=O
    0x06d0     7261 636c 654e 6574 4164 6d69 6e73 2c63     racleNetAdmins,c
    0x06e0     6e3d 4f72 6163 6c65 436f 6e74 6578 7422     n=OracleContext"
    0x06f0     2028 6272 6f77 7365 2c61 6464 2c64 656c     .(browse,add,del
    0x0700     6574 6529 2062 7920 2a20 2862 726f 7773     ete).by.*.(brows
    0x0710     652c 6e6f 6164 642c 6e6f 6465 6c65 7465     e,noadd,nodelete
    0x0720     2904 8201 1461 6363 6573 7320 746f 2061     )....access.to.a
    0x0730     7474 723d 282a 2920 2066 696c 7465 723d     ttr=(*)..filter=
    0x0740     286f 626a 6563 7463 6c61 7373 3d6f 7263     (objectclass=orc
    0x0750     6c4e 6574 5365 7276 6963 6529 2062 7920     lNetService).by.
    0x0760     6772 6f75 703d 2263 6e3d 4f72 6163 6c65     group="cn=Oracle
    0x0770     436f 6e74 6578 7441 646d 696e 732c 636e     ContextAdmins,cn
    0x0780     3d47 726f 7570 732c 636e 3d4f 7261 636c     =Groups,cn=Oracl
    0x0790     6543 6f6e 7465 7874 2220 2872 6561 642c     eContext".(read,
    0x07a0     7365 6172 6368 2c77 7269 7465 2c73 656c     search,write,sel
    0x07b0     6677 7269 7465 2c63 6f6d 7061 7265 2920     fwrite,compare).
    0x07c0     6279 2067 726f 7570 3d22 636e 3d4f 7261     by.group="cn=Ora
    0x07d0     636c 654e 6574 4164 6d69 6e73 2c63 6e3d     cleNetAdmins,cn=
    0x07e0     4f72 6163 6c65 436f 6e74 6578 7422 2028     OracleContext".(
    0x07f0     636f 6d70 6172 652c 7365 6172 6368 2c72     compare,search,r
    0x0800     6561 642c 7772 6974 6529 2062 7920 2a20     ead,write).by.*.
    0x0810     2872 6561 642c 7365 6172 6368 2c63 6f6d     (read,search,com
    0x0820     7061 7265 2c6e 6f77 7269 7465 2c6e 6f73     pare,nowrite,nos
    0x0830     656c 6677 7269 7465 2904 8201 1c61 6363     elfwrite)....acc
    0x0840     6573 7320 746f 2061 7474 723d 282a 2920     ess.to.attr=(*).
    0x0850     2066 696c 7465 723d 286f 626a 6563 7463     .filter=(objectc
    0x0860     6c61 7373 3d6f 7263 6c4e 6574 4465 7363     lass=orclNetDesc
    0x0870     7269 7074 696f 6e4c 6973 7429 2062 7920     riptionList).by.
    0x0880     6772 6f75 703d 2263 6e3d 4f72 6163 6c65     group="cn=Oracle
    0x0890     436f 6e74 6578 7441 646d 696e 732c 636e     ContextAdmins,cn
    0x08a0     3d47 726f 7570 732c 636e 3d4f 7261 636c     =Groups,cn=Oracl
    0x08b0     6543 6f6e 7465 7874 2220 2872 6561 642c     eContext".(read,
    0x08c0     7365 6172 6368 2c77 7269 7465 2c73 656c     search,write,sel
    0x08d0     6677 7269 7465 2c63 6f6d 7061 7265 2920     fwrite,compare).
    0x08e0     6279 2067 726f 7570 3d22 636e 3d4f 7261     by.group="cn=Ora
    0x08f0     636c 654e 6574 4164 6d69 6e73 2c63 6e3d     cleNetAdmins,cn=
    0x0900     4f72 6163 6c65 436f 6e74 6578 7422 2028     OracleContext".(
    0x0910     636f 6d70 6172 652c 7365 6172 6368 2c72     compare,search,r
    0x0920     6561 642c 7772 6974 6529 2062 7920 2a20     ead,write).by.*.
    0x0930     2872 6561 642c 7365 6172 6368 2c63 6f6d     (read,search,com
    0x0940     7061 7265 2c6e 6f77 7269 7465 2c6e 6f73     pare,nowrite,nos
    0x0950     656c 6677 7269 7465 2904 8201 1961 6363     elfwrite)....acc
    0x0960     6573 7320 746f 2061 7474 723d 282a 2920     ess.to.attr=(*).
    0x0970     2066 696c 7465 723d 286f 626a 6563 7463     .filter=(objectc
    0x0980     6c61 7373 3d6f 7263 6c4e 6574 4465 7363     lass=orclNetDesc
    0x0990     7269 7074 696f 6e29 2062 7920 6772 6f75     ription).by.grou
    0x09a0     703d 2263 6e3d 4f72 6163 6c65 436f 6e74     p="cn=OracleCont
    0x09b0     6578 7441 646d 696e 732c 636e 3d47 726f     extAdmins,cn=Gro
    0x09c0     7570 732c 636e 3d4f 7261 636c 6543 6f6e     ups,cn=OracleCon
    0x09d0     7465 7874 2220 2872 6561 642c 7365 6172     text".(read,sear
    0x09e0     6368 2c77 7269 7465 2c73 656c 6677 7269     ch,write,selfwri
    0x09f0     7465 2c63 6f6d 7061 7265 2920 6279 2067     te,compare).by.g
    0x0a00     726f 7570 3d22 636e 3d4f 7261 636c 654e     roup="cn=OracleN
    0x0a10     6574 4164 6d69 6e73 2c63 6e3d 4f72 6163     etAdmins,cn=Orac
    0x0a20     6c65 436f 6e74 6578 7422 2028 636f 6d70     leContext".(comp
    0x0a30     6172 652c 7365 6172 6368 2c72 6561 642c     are,search,read,
    0x0a40     7772 6974 6529 2020 6279 202a 2028 7265     write)..by.*.(re
    0x0a50     6164 2c73 6561 7263 682c 636f 6d70 6172     ad,search,compar
    0x0a60     652c 6e6f 7772 6974 652c 6e6f 7365 6c66     e,nowrite,noself
    0x0a70     7772 6974 6529      write)
    JAZN is setup as following
    java -jar jazn.jar -getconfig
    <jazn provider="LDAP" location="ldap://buckwheat:389" default-realm="sample_subrealm" />
    oracle@buckwheat:/u01/app/oracle/products/9iAS/j2ee/home> java -jar jazn.jar -getconfig sample_subrealm
    <jazn provider="LDAP" location="ldap://buckwheat:389" default-realm="sample_subrealm" />
    <OC4J_HOME>/config/jazn.xml
    <?xml version="1.0" encoding="UTF-8" standalone='yes'?>
    <!--
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn.dtd">
    <jazn provider="XML" location="./jazn-data.xml" />
    -->
    <jazn provider="LDAP"
    default-realm="sample_subrealm"
    location="ldap://buckwheat:389" />
    <OC4J_HOME>/j2ee/home/jazn/demo/callerInfo/etc/orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <orion-application deployment-version="1.0.2.2" default-data-source="jdbc/OracleDS">
    <web-module id="callerInfo-web" path="callerInfo-web.war" />
    <persistence path="persistence" />
    <!-- mapping for realm "jazn.com"
    <security-role-mapping name="sr_manager">
    <group name="administrators" />
    </security-role-mapping>
    <security-role-mapping name="sr_developer">
    <group name="users" />
    </security-role-mapping>
    -->
    <!-- mapping for realm "sample_subrealm" -->
    <security-role-mapping name="sr_manager">
    <group name="manager" />
    </security-role-mapping>
    <security-role-mapping name="sr_developer">
    <group name="developer" />
    </security-role-mapping>
    <!-- h -->
    <!-- use JAZN-XML by default
    <jazn provider="XML" location="./jazn-data.xml" />
    -->
    <!-- use JAZN-LDAP instead -->
    <jazn provider="LDAP" default-realm="sample_subrealm" location="ldap://buckwheat.jxn.wcom.com:389" />
    <!-- -->
    <log>
    <file path="application.log" />
    </log>
    <namespace-access>
    <read-access>
    <namespace-resource root="">
    <security-role-mapping name="&lt;jndi-user-role&gt;">
    <group name="administrators" />
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    <write-access>
    <namespace-resource root="">
    <security-role-mapping name="&lt;jndi-user-role&gt;">
    <group name="administrators" />
    </security-role-mapping>
    </namespace-resource>
    </write-access>
    </namespace-access>
    </orion-application>
    <OC4J_HOME>/j2ee/home/jazn/demo/callerInfo/etc/web.xml
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>JAZN Demo: CallerInfo</display-name>
    <servlet>
    <servlet-name>callerInfo</servlet-name>
    <description>Servlet retrieves remote user info</description>
    <servlet-class>oracle.security.jazn.samples.http.CallerInfo</servlet-class>
    <!-- role name used in code -->
    <security-role-ref>
    <role-name>FOO</role-name>
    <role-link>sr_manager</role-link>
    </security-role-ref>
    <security-role-ref>
    <role-name>ar_manager</role-name>
    <role-link>sr_manager</role-link>
    </security-role-ref>
    <security-role-ref>
    <role-name>ar_developer</role-name>
    <role-link>sr_developer</role-link>
    </security-role-ref>
    </servlet>
    <servlet-mapping>
    <servlet-name>callerInfo</servlet-name>
    <url-pattern>/callerInfo/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>callerInfo</servlet-name>
    <url-pattern>/callerInfoA</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>callerInfo</servlet-name>
    <url-pattern>/callerInfoB</url-pattern>
    </servlet-mapping>
    <!-- security roles -->
    <security-role>
    <role-name>sr_manager</role-name>
    </security-role>
    <security-role>
    <role-name>sr_developer</role-name>
    </security-role>
    <!-- security constraints -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>CallerInfoA</web-resource-name>
    <url-pattern>/callerInfoA</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>CallerInfoB</web-resource-name>
    <url-pattern>/callerInfoB</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_manager</role-name>
    </auth-constraint>
    </security-constraint>
    <!-- authentication -->
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    </web-app>

    OID 3.0.1.0 is the latest product release to public. I did add the Install data to allow it to work. I see the data in OID but when I connect with jazn I get error.
    java -jar jazn.jar -shell
    JAZN:> ls
    realms policy
    JAZN:> cd realms
    JAZN:> ls
    String index out of range: 32
    JAZN:> cd ../policy
    JAZN:> ls
    JAZN:> exit
    JAZN:>
    It does not error on policy dirictory but it does on the realm side. If I watch the tcp packets it is working.

  • PDK 9.0.4 Error: cannot access class oracle.security.jazn.realm.RealmUser

    Dear Forum,
    we are developing portlets for Portal 3.0.9.8. We use the default JPDK version, that comes with the standalone Oracle OC4J 9.0.4 bundled with PDK.
    We want to improve our portlet by check the userid of the portal user. Therefore, we want to use oracle.portal.provider.v2.ProviderUser.getUser().getName()
    in a JSP.
    First - even before the method call - we included
    <%@ page import="oracle.portal.provider.v2.http.ServletProviderUser" %>
    But even this 1 statement gives in JDeveloper 9.0.4 with the libs pdkjava and ptlshare from the OC4J the following error:
    Error: cannot access class oracle.security.jazn.realm.RealmUser; file oracle\security\jazn\realm\RealmUser.class not found
    What is wrong here? What missing library we must include?
    Thank You in advance

    Problem solved. Need to include jazn.jar in project's lib-paths.

  • Java.security.AccessControlException: access denied (oracle.security.jazn.J

    Hi All.
    I am calling the getIdentityStoreFactory() method in the IdentityStoreFactoryBuilder class and I am getting the following error:
    oracle.security.idm.ConfigurationException: java.security.AccessControlException: access denied (oracle.security.jazn.JAZNPermission getOC4JIntegrationData)
    Any ideas what is going on and any possible fixes?
    thanks
    james

    I will move it to the OC4j and J2ee forum.
    Thanks for bring it to my attention.
    Message was edited by:
    user480263

  • Where to find tutorial for oracle.security.jazn , specially role granting?

    Hi
    Thank you for reading my post
    where i can find references about oracle.security.jazn and its classes and interfaces ?
    i am stucked with granting roles that i created in admin console or from within my application to users ?
    where is this package javadocs ?
    thanks

    Thanks for giving the link
    is there any way that i add this javadocs to Jdeveloper IDE for quick javadoc facilities ?
    where i can download its zip/jar package for offline IDE use ?
    which jdeveloper predefined library contains oracle.security.jazn ?
    thank you again

  • JAAS, jazn.xml, & oracle.security.jazn.config

    I have a swing application using LDAP to authenticate users that will typically be launched via Java Web Start, thus the application is deploy using a jar file.
    I can run this application from JDev or from the command-line when the jazn.xml file is located in the root (start-in) directory.
    Unfortunately, when the jazn.xml file is only in the jar file (as it would be when launched via JWS) the application cannot find it and throws an exception:
    oracle.security.jazn.JAZNInitException: d:\path\.\jazn-data.xml (The system cannot find the file specified).
    I found some documentation that indicates that I can specify the path to the jazn.xml file with
    System.setProperty("oracle.security.jazn.config", "path/to/jazn/xml/file");
    If I set it to a relative path without the filename on the end (ex. "./my/path" or "my/path") I get the above exception.
    If I set it to a relative path with the filename (ex. "./my/path/jazn.xml" or "my/path/jazn.xml") it works.
    What I can't figure out is how to tell it that it is in a jar file that is in my classpath. It doesn't find it from the path examples above. I've tried things like "client.jar/jazn.xml", "d:/my/path/client.jar/jazn.xml", and a host of other things with the jazn.xml filename on the end.
    Oddly enough, when I set it to "d:/my/path/client.jar" I get a different exception:
    Caused by: oracle.security.jazn.JAZNInitException: no protocol: "ldap://hostname.com:389">
         at oracle.security.jazn.spi.xml.FSXMLStore.<init>(FSXMLStore.java:128)
         ... 59 more
    Caused by: java.net.MalformedURLException: no protocol: "ldap://hostname.com:389">
         at java.net.URL.<init>(URL.java:537)
         at java.net.URL.<init>(URL.java:434)
         at java.net.URL.<init>(URL.java:383)
    So it seems like it read the file but parsed it incorrectly. Any ideas?

    Thanks for the reply Yvonne. Sorry I haven't updated this after my testing. I think you're close to correct.
    I did some more testing and figured out that any time the protocol is included in a path (protocol://d:/my/path/client.jar) that jazn does not understand. When the referenced file (jazn.xml) is in a jar file, it includes the protocol in the path. For example the path to the jazn.xml file (the value that the java.security.auth.policy property needs to be set to) would be jar:file://my/path/client.jar!/my/path/jazn.xml
    I think the oracle.security.jazn.spi.PolicyProvider (the value of the java.security.auth.policy.provider property) causes the jazn.xml file to be read. That class is, I think, what fails to find that file because it doesn't understand when the protocol (jar:file:) is included in the path to the file. That's my guess anyway.
    I did figure out a work around and it goes like this:
    1. create a new jazn.xml file
    File tmp = new File ("jazn.xml");
    2. and set it to be deleted on exit
    tmp.deleteOnExit();
    3. get a ByteArrayInputStream for the jazn.xml file and read it out of the jar file.
    4. then write the stream to the tmp file
    5. then set the system property
    System.setProperty("java.security.auth.policy", tmp.toURL().getPath());
    It is kind of a pain since I have to check to see if the property I'm setting is "jazn.xml", but it seems to work.
    I think the oracle.security.jazn.spi.PolicyProvider problem is a defect, which I'll report on meta-link.
    tcoker

  • Intermittent oracle.security.jazn.spi.xml.XMLJAZNPolicy null pointer excep

    hi,
    in my application I am using container and ADF security. Sometimes I get following exception but not always!? What could be the cause?
    (I added a new role with three members - 1 user and two sub-roles. I configured these sub-roles in web.xml as regular roles and also configured ADF security for the role and its subroles)
    java.lang.NullPointerException
         at oracle.security.jazn.spi.xml.XMLJAZNPolicy.getPermissions(XMLJAZNPolicy.java:593)
         at oracle.security.jazn.spi.xml.XMLJAZNPolicy.getPermissions(XMLJAZNPolicy.java:574)
         at oracle.security.jazn.spi.Java2PolicyProvider.getPermissions(Java2PolicyProvider.java:313)
         at oracle.security.jazn.spi.PolicyProvider.getPermissions(PolicyProvider.java:202)
         at javax.security.auth.SubjectDomainCombiner$3.run(SubjectDomainCombiner.java:357)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.SubjectDomainCombiner.combineJavaxPolicy(SubjectDomainCombiner.java:353)
         at javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:191)
         at java.security.AccessControlContext.goCombiner(AccessControlContext.java:390)
         at java.security.AccessControlContext.optimize(AccessControlContext.java:304)
         at java.security.AccessController.getContext(AccessController.java:385)
         at java.lang.Thread.init(Thread.java:332)
         at java.lang.Thread.<init>(Thread.java:416)
         at oracle.webcache.adf.cache.basiccache.BasicCacheImpl$VGCThread.<init>(BasicCacheImpl.java:1439)
         at oracle.webcache.adf.cache.basiccache.BasicCacheImpl.<init>(BasicCacheImpl.java:121)
         at oracle.webcache.adf.cache.basiccache.BasicCacheManager.createBasicCacheInstance(BasicCacheManager.java:71)
         at oracle.webcache.adf.cache.httpcache.HTTPCacheImpl.<init>(HTTPCacheImpl.java:96)
         at oracle.webcache.adf.cache.httpcache.HTTPCacheFactory.createHTTPCache(HTTPCacheFactory.java:66)
         at oracle.webcache.adf.cache.httpcache.HTTPCacheFactory.createHTTPCache(HTTPCacheFactory.java:47)
         at oracle.webcache.adf.filter.PageCache.<init>(PageCache.java:218)
         at oracle.webcache.adf.filter.PageCache.getInstance(PageCache.java:255)
         at oracle.webcache.adf.filter.PageCache.getInstance(PageCache.java:276)
         at oracle.adf.view.faces.webcache.component.UICache.getFragmentFromCache(UICache.java:514)
         at oracle.adf.view.faces.webcache.component.UICache.encodeBegin(UICache.java:170)
         at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:297)
         at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
         at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
         at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)
         at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
         at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.renderNamedChild(BaseRenderer.java:384)
         at oracle.adfinternal.view.faces.ui.laf.base.desktop.PageHeaderLayoutRenderer.renderContent(PageHeaderLayoutRenderer.java:404)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
         at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
         at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
         at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
         at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
         at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
         at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
         at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
         at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
         at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)
         at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
         at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
    ...

    Hi,
    ADF Security configures with permissions and thus doesn't need the roles to be available in web.xml (unless the roles are used for container managed authorization as well). Note that the default behavior of OC4J is that changes in the configuration files are picked up upon restart (for performance reasons you don' want to change this setting). So just make sure OC4J is stopped before re-running an application.
    Frank

  • Error: cannot access class oracle.security.jazn.realm.RealmUser

    Hi,
    I try to compile this simple jsp, which use jpdkv2, with jdeveloper 9i.
    But I obtain this error:
    Error: cannot access class oracle.security.jazn.realm.RealmUser; file oracle\security\jazn\realm\RealmUser.class not found
    Someone has an idea ?
    Source code of my jsp:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@page import = "oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import = "oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%
    PortletRenderRequest portletRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    The current time is:
    </H2>
    <P>
    <% out.println((new java.util.Date()).toString()); %>
    </P>
    <P>Hello: <%= portletRequest.getUser().getName() %></P>
    </BODY>
    </HTML>

    Please check if jazn.jar is available under your <YOUR_OC4J_PATH>\j2ee\home folder.
    This library files contains all the security related classes required by jpdkv2 providers.

  • Bug in oracle.security.jazn.spi.LoginConfigProvider?

    I recently wrote my own LoginModule to handle x509 cert authentication. I instantiate a LoginContext (and pass Subject or CallbackHandler etc) and call login(). This issue is that only one instance of the LoginModule is ever instantiated - therefore it always authenticates the original subject that was passed in.
    Through logging, I have verified that the LoginModule's constructor and initialize() method are called only once.
    I checked sun's java forum for information and found the following:
    http://forum.java.sun.com/thread.jsp?forum=60&thread=209219&start=0&range=15#1417789
    That thread indicates that the issue is with the Configuration subclass (in this case, Oracle's LoginConfigProvider). I was able to verify this - I wrote my own Configuration subclass, pointed to in (in the java.security file) and my code works properly now. A new LoginModule is instantiated each time.
    Does anyone have any additional information/comments on this? Is it something that I am doing incorrectly? If this is indeed a bug, is it fixed in newer versions of the app server? I don't suppose Oracle is interested in posting their code for LoginConfigProvider so that I can make the necessary change maintain the rest of the functionality?
    no[i]Long postings are being truncated to ~1 kB at this time.

    ah, yes. the 1k limit again. fantastic...
    code (note: this is hardcoded and terribly unpolished...but it works...):
    import javax.security.auth.login.Configuration;
    import javax.security.auth.login.AppConfigurationEntry;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.util.HashMap;
    import java.util.Map;
    public class CITestAuthenticationConfiguration extends Configuration { 
    private static ArrayList appConfigurationList = new ArrayList();
    public CITestAuthenticationConfiguration(){}
    public AppConfigurationEntry[] getAppConfigurationEntry(String applicationName){
    Map map = new HashMap();
    AppConfigurationEntry ace = new AppConfigurationEntry(
    "CITestLoginModule",
    AppConfigurationEntry.LoginModuleControlFlag.REQUIRED,
    map
    AppConfigurationEntry[] aceArray = new AppConfigurationEntry[1];
    aceArray[0] = ace;
    return aceArray;
    public void refresh()
    // Right now this is a load once scheme and we will not implement the
    // refresh method
    public static boolean addAppConfigurationEntry ( String flag, String module, String options )
    // REMOVED FOR BREV[i]Long postings are being truncated to ~1 kB at this time.

  • WARNING: Invalid index...

    Hi all,
    When I insert my declarative component on simple jspx page, doubleclicking on submit button page crashes.
    Debugging log:
    May 9, 2008 3:11:20 PM oracle.security.jazn.oc4j.JAZNFilter doFilter
    WARNING: Invalid index
    java.lang.IllegalStateException: Invalid index
         at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreKey(StateUtils.java:68)
         at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:142)
         at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:194)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:342)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:898)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:57)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
    ...and error in browser:
    500 Internal Server Error
    oracle.security.jazn.JAZNRuntimeException: Invalid index
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)My declarative component contains single af:inputText and af:popup that I open and close using javascript...
    Can someone help me on this?
    Thanks in advance,
    s o v i e t

    Frank,
    I'm using FireFox 2.0.0.14.
    I'm not sure what causing this error but it's very common...
    I'm using declarative components in my application...
    Could this be the reason?
    At first glance I thought that this is the reason, but it appears on pages without declarative components... Now I'm not sure...
    500 Internal Server Error
    oracle.security.jazn.JAZNRuntimeException: Invalid index
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.IllegalStateException: Invalid index
         at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreKey(StateUtils.java:68)
         at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:142)
         at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:194)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:342)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:898)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:57)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
         at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
         at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:597)
         at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:290)
         at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:193)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:260)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:481)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:118)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         ... 16 moreRegards,
    s o v i e t

  • Java.lang.NoClassDefFoundError: oracle/security/ssl/OracleSSLSocketImpl

    Hi, can anyone please help us to come out of this:
    java.lang.NoClassDefFoundError: oracle/security/ssl/OracleSSLSocketImpl
    at oracle.security.ssl.OracleSSLCipherSuite.isSSLLibDomestic(Unknown Source)
    at oracle.security.ssl.OracleSSLCipherSuite.getSupportedCipherSuites(Unknown Source)
    at oracle.security.ssl.OracleSSLSocketFactoryImpl.getSupportedCipherSuites(Unknown Source)
    at HTTPClient.OracleSSL.getSSLDefaultCipherSuites(OracleSSL.java:108)
    at HTTPClient.OracleSSL.initHttps(OracleSSL.java:91)
    at HTTPClient.OracleSSL.<init>(OracleSSL.java:77)
    at HTTPClient.HTTPClientSSLFactory.mk(HTTPClientSSLFactory.java:137)
    at HTTPClient.HTTPConnection.getSSL(HTTPConnection.java:4174)
    at HTTPClient.HTTPConnection.getSSLSocket(HTTPConnection.java:4220)
    at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4038)
    at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3003)
    at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843)
    at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635)
    at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1107)
    at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1072)
    at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1049)
    at com.eds.bluesphere.util.V01.HTTPQueryStringRequestDispatcher.invokePost(Unknown Source)
    at com.eds.bluesphere.util.V01.HTTPRequestor.obtainReponse(Unknown Source)
    at com.eds.bluesphere.util.V01.HTTPRequestor.submit(Unknown Source)
    at com.newcorp.mailinglabel.response.USPSResponseProcessor.generateResponseXml(USPSResponseProcessor.java:111)
    at com.newcorp.mailinglabel.response.USPSResponseProcessor.processResponse(USPSResponseProcessor.java:62)
    at com.newcorp.mailinglabel.response.ResponseProcessor.execute(ResponseProcessor.java:89)
    at com.newcorp.mailinglabel.MailingLabelAPI.generateLabel(MailingLabelAPI.java:177)
    at com.newcorp.consumerportal.dataaccess.claim.ClaimMailingLabel.generateUSPSLabel(ClaimMailingLabel.java:74)
    at com.newcorp.consumerportal.process.claim.ClaimConfirmProcess.generateLabel(ClaimConfirmProcess.java:67)
    at com.newcorp.consumerportal.process.claim.ClaimConfirmProcess.executeDoProcess(ClaimConfirmProcess.java:157)
    at com.newcorp.common.PortalProcess.doProcess(PortalProcess.java:201)
    at com.eds.bluesphere.framework.process.V01.ApplicationFrameworkNavigationProcess.invokeDoProcess(Unknown Source)
    at com.newcorp.common.PortalProcessChainingProcess.doProcess(PortalProcessChainingProcess.java:146)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.invokeDoProcess(Unknown Source)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.execute(Unknown Source)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    thanks in advance..sha

    java.lang.NoClassDefFoundError: oracle/security/ssl/OracleSSLSocketImpl
    at oracle.security.ssl.OracleSSLCipherSuite.isSSLLibDomestic(Unknown Source)
    at oracle.security.ssl.OracleSSLCipherSuite.getSupportedCipherSuites(Unknown Source)
    at oracle.security.ssl.OracleSSLSocketFactoryImpl.getSupportedCipherSuites(Unknown Source)Some Orcale SSL related classes seem to be there as we see in the trace.
    Those classes seem to deal with general management.
    However, OracleSSLSocketImpl cannot be found, which makes me guess that you have
    some kind of non-SSL enabled version (trial perhaps?) of the Orcale software. Can it be the case?
    Or that you need to place another Oracle supplied jar in your classpath to get SSL to work?
    Edited by: baftos on Sep 26, 2008 11:43 AM

  • Oracle Secure Backup

    Hi,
    I have the problem with OSB 10.2. I can not get the file system backup and
    I get following error.
    admin/1.1
    Type backup solaris
    Level full
    Family (null)
    Encryption off
    Scheduled time 06/19.18:06
    Introduction time 2008/06/19.18:06
    Earliest exec time 06/19.18:06
    Last update time 2008/06/19.18:21
    Expire time never
    State pending resource availability
    Priority 100
    Privileged op no
    Run on host solaris
    Requires host solaris and null family and any device
    Deferred because a required device is not available
    Attempts 2
    Log
    2008/06/19.18:06:11 Job created.
    2008/06/19.18:06:11 Dispatching job to run on administrative server.
    2008/06/19.18:06:34 Drive or volume on which mount attempted is unusable.
    - My Tape Device is SONY-SDX 550V and it is not in oracle tape drive support list.
    - OSB 10.2.0.2
    - Windows 2003 Operatin System
    - I went through the ob_drives file under ORACLE BACKUP HOME/device and added SDX 550V entry n this file and
    - I restarted Oracle_Secure_Backup service. But it does not work again.
    Your comment will be appreciated.

    Thank you for your help and negotiating to solve this problem.
    I am deploying your suggestion with two different type of tape drives
    1. Hp DAT 72 7438A existing in Oracle Tape Device Certified List
    2. SONY SDX-550V which is not exist in Oracle Tape Device Certified List
    Right now I am working on # 2 (SONY SDX-550V)
    the only modification in my configuration was using of new volume instead of
    old one and try to mount this new volume in write mount in
    Webtool --> Manage --> Drives.
    ob> lsjob --log admin/2.1
    Job ID Sched time Contents State
    admin/2.1 06/26.12:54 backup solaris completed with warni
    ngs at 2008/06/26.12:56 - one or more warnings or non-critical errors reported
    2008/06/26.12:54:35 Job created.
    2008/06/26.12:54:35 Dispatching job to run on administrative server.
    2008/06/26.12:56:41 Backup completed with status "one or more warnings or no
    n-critical errors reported".
    2008/06/26.12:56:41 (Diagnostic data: 0x20008F06/114, dev_delay 0, data_
    delay -1.)
    2008/06/26.12:56:41 Job completed with warnings.
    12:55:33 OBTR: record storage set to internal memory
    12:55:33 ATAL: reserved drive obt, cookie 0x8D246811
    12:55:34 OBTR: obsd=1, is_job=1, is_priv=0, os=7
    12:55:34 OBTR: rights established for user admin, class admin
    12:55:34 SUUI: user info root/root, enbank.ir/a.rahmani
    12:55:34 PBDF: +d:/test
    12:55:34 MAIN: using blocking factor 128 from media defaults/policies
    12:55:34 STTY: background terminal I/O or is a tty
    12:55:34 MAIN: interactive
    12:55:34 SET: volume has no expiration time
    12:55:34 CNPC: data host reports this butype_info:
    12:55:34 CNPC: tar (attr 0x57587D7A: B_FL, B_DIRECT, R_DIRECT, B_INCR, R_INC
    R, R_UTF8, B_FH_DIR)
    12:55:34 CNPC: DIRECT = y
    12:55:34 CNPC: HISTORY = y
    12:55:34 CNPC: LEVEL = 0
    12:55:34 A_O: from qlm__open: drive not configured in library (OB library m
    gr)
    12:55:35 RLE: connecting to volume/archive database host
    12:55:35 RLE: device obt (raw device "//./obt0")
    12:55:35 RLE: mount_info is valid
    12:55:35 RLE: qdb__device_spec_se reports vol_oid 0, arch_oid 0
    12:55:35 A_O: using max blocking factor 128 from media defaults/policies
    12:55:35 A_O: tape device is local
    Warning: unknown device type. This device is not supported by Oracle Secure Back
    up
    Warning: and is therefore not guaranteed to work with Oracle's driver.
    12:55:35 A_O: Devname: SONY,SDX-550V,0100
    12:55:35 Info version: 11
    12:55:35 WS version: 10.2
    12:55:35 Driver version: 10.2
    12:55:35 Max DMA: 2097152
    12:55:35 Blocksize in use: 65536
    12:55:35 Query frequency: 1048576
    12:55:35 Rewind on close: false
    12:55:35 Can compress: true
    12:55:35 Compression enabled: false
    12:55:35 8200 media: false
    12:55:35 Error threshold: 8%
    12:55:35 Remaining tape: 0
    12:55:35 A_GB: ar_block at 0x15F2000, size=2097152
    12:55:35 A_GB: ar_block_enc at 0x1802000, size=2097152
    12:55:35 GLMT: returning "", code = 0x0
    12:55:35 VLBR: from chk_lm_tag: "", code = 0x0
    12:55:43 VLBR: tag on label just read: ""
    12:55:43 VLBR: master tag now ""
    12:55:43 RLE: noticed volume VOL000003, file 1, section 1, vltime 121447119
    7, vowner SYSTEM, voltag
    12:55:43 RLE: qdb__noticed_se reports vol_oid 102, arch_oid 102
    (alv) backup image label is valid, file 1, section 1
    (ial) invalidate backup image label (was valid)
    12:55:43 ULVI: set mh db volume id "VOL000003" (retid ""), volume oid 102, c
    ode 0
    12:55:43 ULTG: set mh db tag "" (retid ""), volume oid 102, code 0
    12:55:43 CALE: created backup section oid list entry for oid 102
    12:55:43 ARVI: resetting volume id from nil to VOL000003
    Warning: unable to set compression on: bad parameter (OB scsi device driver)
    12:55:47 ACFD: positioning (SCSI LOCATE) is available for this device
    12:55:47 ARVI: resetting volume id from VOL000003 to VOL000004
    Warning: unable to set compression on: bad parameter (OB scsi device driver)
    12:55:47 ACFD: positioning (SCSI LOCATE) is available for this device
    12:55:47 RCVW: volume "VOL000003" / vuuid b3d66f47-720f-4de5-87cc-f569100617
    3b reserved for writing
    12:55:47 CREA: tape position after open_archive() is 000000000000
    12:55:47 GLMT: returning "", code = 0x0
    12:55:47 IDXC: local index file is D:/OSB/admin/history/host/solaris/08.06.2
    6.$raw.0
    12:55:47 CREA: history has null volume tag because none found on volume or l
    abel
    Backup started on Thu Jun 26 2008 at 12:55:33
    12:55:47 RLE: overwrite volume VOL000003, file 1, section 1, vltime 1214471
    197, vowner SYSTEM, voltag
    12:55:47 RLE: qdb__overwrite_se reports vol_oid 0, arch_oid 0
    12:55:47 VLBW: on entry, l->tag = "", master tag = "", bot = 1
    12:55:47 VLBW: setting voltag from "" to ""
    12:55:47 VLBW: volume is not content-managed
    12:55:47 RLE: write volume VOL000004, file 1, section 1, vltime 1214472333,
    vowner SYSTEM, voltag
    12:55:47 RLE: qdb__write_se reports vol_oid 103, arch_oid 0
    12:55:47 VSLW: reading volume record for oid 103
    12:55:47 VSLW: set last write time for volume oid 103
    (alv) backup image label is not valid
    (ial) invalidate backup image label (was valid)
    12:55:47 ULVI: set mh db volume id "VOL000004" (retid ""), volume oid 103, c
    ode 0
    12:55:47 ULTG: set mh db tag "" (retid ""), volume oid 103, code 0
    12:55:47 RLE: set vol size to 0
    12:55:47 RLE: qdb__set_vol_size_se reports vol_oid 0, arch_oid 0
    12:55:47 RLE: set kb remaining to "invalid or unknown"
    12:55:47 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
    Volume label:
    Intro time: Thu Jun 26 12:02:39 2008
    Volume UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
    Volume ID: VOL000004
    Volume sequence: 1
    Volume set owner: SYSTEM
    Volume set created: Thu Jun 26 12:55:33 2008
    Original UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
    Archive label:
    File number: 1
    File section: 1
    Owner: SYSTEM
    Client host: solaris
    Backup level: 0
    S/w compression: no
    Archive created: Thu Jun 26 12:55:33 2008
    Archive owner UUID: 7d4ca79e-914f-493d-b6f3-83978ed4ca5b
    Owner class UUID: e96f2753-3165-4069-a531-30f88c69862d
    Encryption: off
    12:55:47 RCVW: volume "VOL000004" / vuuid d1c16c42-cd5c-414f-9a9a-03d419ad59
    44 reserved for writing
    12:55:47 SNP: using NDMP protocol version 4
    12:55:47 FLDB: flush drive-buffered data to medium
    12:56:06 FLDB: flush complete
    12:56:06 BNPC: volume position "00000001" added to s_vol_start_pos
    12:56:06 BNPC: initial volume label "VOL000004" added to s_vids, s_last_sect
    ion 1
    12:56:06 BNPC: initial volume tag "" added to s_vtags, s_last_section 1
    12:56:06 BNPC: data service doesn't implement restartable backup for d:/test
    12:56:06 BNPC: environment variable BEGINTREE = 1
    12:56:06 BNPC: environment variable NAME = d:/test
    12:56:06 BNPC: environment variable BLEVEL = 0
    12:56:06 BNPC: environment variable STARTED = 1
    12:56:06 BNPC: environment variable IS_LAST = 1
    12:56:06 BNPC: environment variable EX2KTYPE =
    12:56:06 BNPC: environment variable VOLI = VOL000004
    12:56:06 BNPC: environment variable VOLI =
    12:56:06 BNPC: environment variable DATA_BLOCK_SIZE = 64
    12:56:06 MGS: ms.record_size 65536, ms.record_num 0x0, ms.bytes_moved 0x0
    12:56:06 SMWB: setting mover window to infinity for backup
    12:56:11 MLIS: mover listen ok for local connection
    12:56:11 APNI: a preferred network interface does not apply to this connecti
    on
    12:56:11 BNPC: directing data service to connect to mover
    12:56:11 PPVL: obtar option OB_RB = 10.2
    12:56:11 PPVL: obtar option OB_STAT = 1
    12:56:11 PPVL: obtar option OB_BDF = 1
    12:56:11 PPVL: obtar option OB_DEBUG = 1
    12:56:11 PPVL: obtar option OB_DEBUG = 1
    12:56:11 PPVL: obtar option OB_DEBUG = 1
    12:56:11 PPVL: obtar option OB_DEBUG = 1
    12:56:11 PPVL: obtar option OB_VERBOSE = 1
    12:56:11 PPVL: obtar option OB_CLIENT = solaris
    12:56:11 PPVL: obtar option OB_LEVEL = 0
    12:56:11 PPVL: obtar option OB_BE_ROOT = 1
    12:56:11 PPVL: obtar option OB_STAT = 1
    12:56:11 PPVL: obtar option OB_INDEX = 1
    12:56:11 PPVL: obtar option OB_WRITE_HISTORY_FILE = 1
    12:56:11 PPVL: obtar option OB_VOLUME_LABEL = 1
    12:56:11 PPVL: obtar option OB_SKIP_CDFS = 1
    12:56:11 PPVL: obtar option OB_DEVICE = obt
    12:56:11 PPVL: obtar option OB_BLOCKING_FACTOR = 128
    12:56:11 PPVL: obtar option OB_VERIFY_ARCHIVE = no
    12:56:11 PPVL: obtar option OB_PQT = 1048576
    12:56:11 DSIN: 2GB+ files are supported, 2GB+ directories are supported
    12:56:11 SETC: successfully changed identity to enbank.ir/a.rahmani
    12:56:11 BNPC: issuing NDMP_DATA_START_BACKUP
    12:56:11 NTEV: Caching event log pathnames.
    12:56:11 BNPC: started OSB NDMP backup of solaris to obt
    12:56:11 NTEV: Application event log at C:\WINDOWS\system32\config\AppEvent.
    Evt
    12:56:11 NTEV: Internet Explorer event log at C:\WINDOWS\System32\Config\Int
    ernet Explorer.evt
    12:56:11 NTEV: ODiag event log at C:\WINDOWS\system32\config\ODiag.evt
    12:56:11 NTEV: OSession event log at C:\WINDOWS\system32\config\OSession.evt
    12:56:11 NTEV: Security event log at C:\WINDOWS\System32\config\SecEvent.Evt
    12:56:11 NTEV: System event log at C:\WINDOWS\system32\config\SysEvent.Evt
    12:56:11 NTRG: Caching registry hive data.
    12:56:11 SIFI: don't change index filtering state (it's off)
    Dumping all files in D:/TEST
    D:/TEST/
    D:/TEST/burtscript-1.6.tar.gz
    D:/TEST/config.batch
    D:/TEST/config.batch.org
    D:/TEST/ft
    D:/TEST/ft.org
    D:/TEST/glibc-32bit-2.4-31.1.x86_64.rpm
    D:/TEST/osb-10.2.0.2_linux32_cdrom.zip
    D:/TEST/osb.10.1.0.3_Express.linux32.zip
    D:/TEST/sonytape_linux_v2.6.tar.tar
    12:56:19 TRWK: as a result of this backup, exit value changed from -1 to 0
    12:56:19 MNPO: data service halted with reason=successful
    12:56:19 SNPD: Data Service reported bytes processed 0x4C60000
    12:56:19 SNPD: stopping NDMP data service (to transition to idle state)
    12:56:19 MNPO: mover halted with reason=connection closed
    12:56:19 MGS: ms.record_size 65536, ms.record_num 0x4C6, ms.bytes_moved 0x4
    C60000
    12:56:19 MNPO: operation successful
    12:56:19 BNPC: finished OSB NDMP backup with status 0
    12:56:19 BNPC: end of backup; bytes written 0x4C60000
    12:56:19 CREA: as a result of this backup, exit value changed from -1 to 0
    12:56:21 A_T: suppressing filemark output due to NDMP having written one
    12:56:21 A_T: writing marker label; here it is:
    Volume label:
    Intro time: Thu Jun 26 12:02:39 2008
    Volume UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
    Volume ID: VOL000004
    Volume sequence: 1
    Volume set owner: SYSTEM
    Volume set created: Thu Jun 26 12:55:33 2008
    Original UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
    Archive label:
    File number: 2
    File section: 1
    Owner: SYSTEM
    Client host: solaris
    Backup level: 0
    S/w compression: no
    Archive created: Thu Jun 26 12:55:33 2008
    Encryption: off
    Marker: End of data
    12:56:21 VLBW: on entry, l->tag = "", master tag = "", bot = 0
    12:56:22 VLBW: setting voltag from "" to ""
    12:56:22 VLBW: volume is not content-managed
    12:56:22 RLE: set kb remaining to 0
    12:56:22 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
    12:56:22 RLE: commit write, no next volume id specified
    12:56:22 RLE: qdb__commit_write_se reports vol_oid 103, arch_oid 103
    12:56:22 VLBW: first backup section OID set to 103
    12:56:22 CALE: created backup section oid list entry for oid 103
    12:56:22 RLE: set kb remaining to 0
    12:56:22 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
    12:56:22 A_T: writing two more FMs
    (alv) backup image label is not valid
    12:56:40 CREA: setting last section flag for oid 103
    Backup complete on Thu Jun 26 2008 at 12:56:21
    12:56:40 QREX: exit status upon entry is 0
    12:56:40 QREX: released reservation on tape drive obt
    12:56:40 QREX: reading section record for oid 103
    12:56:40 QREX: set last section flag for oid 103
    12:56:40 RDB: reading volume record for oid 103
    12:56:40 RDB: reading section record for oid 103
    12:56:40 RDB: adding record for oid 103 (file 1, section 1) to section list
    12:56:40 RDB: file 1 has all 1 required sections; clearing incomplete backu
    p flags
    12:56:41 RDB: reading section record for oid 103
    12:56:41 RDB: cleared incomplete backup flag for oid 103
    12:56:41 RDB: 1 volumes in volume list
    12:56:41 RDB: volume oid 103 reports first:last files of 1:1
    12:56:41 RDB: marking volume oid 103 as authoritative
    12:56:41 VMA: reading volume record for oid 103
    12:56:41 VMA: set authoritative flag for oid 103
    12:56:41 QREX: released writable volume reservation on b3d66f47-720f-4de5-87
    cc-f5691006173b
    12:56:41 QREX: released writable volume reservation on d1c16c42-cd5c-414f-9a
    9a-03d419ad5944
    12:56:41 QREX: [1836] connecting to solaris to import and/or delete ascii in
    dex file for client solaris
    Backup statistics:
    status 0
    devices obt
    devices 1
    volumes VOL000004
    voltags (null)
    file 1
    host solaris
    encryption off
    start_time Thu Jun 26 2008 at 12:55:33 (1214472333)
    end_time Thu Jun 26 2008 at 12:56:21 (1214472381)
    backup_time Thu Jun 26 2008 at 12:55:33 (1214472333)
    entries_scanned 10
    kbytes_scanned 0
    entries_excluded 0
    entries_skipped 0
    mount_points_skipped 0
    files 19
    directories 1
    hardlinks 0
    symlinks 0
    sparse_files 0
    filesys_errors 0
    unknown_type 0
    file_kbytes 0
    dev_kbytes 78217
    dev_iosecs 48
    dev_iorate 1.7 MB/S
    wrt_iosecs 34
    wrt_iorate 2.4 MB/S
    physical_blks_written 78208
    write_errors 0
    physical_blks_read 0
    read_errors 0
    error_rate 0%
    path d:/test completed, status 0
    12:56:41 RLYX: exit status 0; checking allocs...
    12:56:41 RLYX: from mm__check_all: 1
    12:56:41 RLYX: exit status changed to 114
    ob>

  • Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

    I've Main Report + 5 sub report. All of this in a 1 file named _rptBorang.rpt.
    This _rptBorang.rpt consists of
    1. Main Report
    2. _spupimSPMBorang.rpt
    3. _spupimSTPMBorang.rpt
    4. _spupimSijilDiploma.rpt
    5. _spupimKoQ.rpt
    6. _spupimPilihanProg.rpt
    When I preview the report, the Enter values dialog box ask 7 parameters. It's
    1. idx
    2. tbl_MST_Pemohon_idx
    3. tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)
    4. tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)
    5. tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)
    6. tbl_MST_Pemohon_idx(_spupimKoQ.rpt)
    7. tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)
    My ASP.NET code as following,
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="_cetakBorang.aspx.vb" Inherits="_cetakBorang" title="SPUPIM" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1n" runat="server">
        <div align="center">
            <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
                AutoDataBind="true" />
        </div>
        </form>
    </body>
    </html>
    Imports System.configuration
    Imports System.Data.SqlClient
    Imports System.Web.Security
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports.Engine
    Partial Class _cetakBorang
        Inherits System.Web.UI.Page
        Private Const PARAMETER_FIELD_NAME1 As String = "idx"
        Private Const PARAMETER_FIELD_NAME2 As String = "tbl_MST_Pemohon_idx"
        Private Const PARAMETER_FIELD_NAME3 As String = "tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)"
        Private Const PARAMETER_FIELD_NAME4 As String = "tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)"
        Private Const PARAMETER_FIELD_NAME5 As String = "tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)"
        Private Const PARAMETER_FIELD_NAME6 As String = "tbl_MST_Pemohon_idx(_spupimKoQ.rpt)"
        Private Const PARAMETER_FIELD_NAME7 As String = "tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)"
        Dim myReport As New ReportDocument
        'rpt connection
        Public rptSvrNme As String = ConfigurationManager.AppSettings("rptSvrNme").ToString()
        Public rptUsr As String = ConfigurationManager.AppSettings("rptUsr").ToString()
        Public rptPwd As String = ConfigurationManager.AppSettings("rptPwd").ToString()
        Public rptDB As String = ConfigurationManager.AppSettings("rptDB").ToString()
        Private Sub SetCurrentValuesForParameterField(ByVal reportDocument As ReportDocument, ByVal arrayList As ArrayList, ByVal paramFieldName As String)
            Dim currentParameterValues As New ParameterValues()
            For Each submittedValue As Object In arrayList
                Dim parameterDiscreteValue As New ParameterDiscreteValue()
                parameterDiscreteValue.Value = submittedValue.ToString()
                currentParameterValues.Add(parameterDiscreteValue)
            Next
            Dim parameterFieldDefinitions As ParameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields
            Dim parameterFieldDefinition As ParameterFieldDefinition = parameterFieldDefinitions(paramFieldName)
            parameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
        End Sub
        Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            If Not IsPostBack Then
                publishReport(Convert.ToInt32(Session("applicantIdx")), Convert.ToInt32(Session("applicantIdx")))
            End If
        End Sub
        Private Sub publishReport(ByVal idx As Integer, ByVal tbl_MST_Pemohon_idx As Integer)       
            Try
                Dim reportPath As String = String.Empty
                reportPath = Server.MapPath("_rptBorang.rpt")
                myReport.Load(reportPath)
                myReport.SetDatabaseLogon(rptUsr, rptPwd, rptSvrNme, rptDB)
                Dim arrayList1 As New ArrayList()
                arrayList1.Add(idx)
                SetCurrentValuesForParameterField(myReport, arrayList1, PARAMETER_FIELD_NAME1)
                Dim arrayList2 As New ArrayList()
                arrayList2.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList2, PARAMETER_FIELD_NAME2)
                Dim arrayList3 As New ArrayList()
                arrayList3.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList3, PARAMETER_FIELD_NAME3)
                Dim arrayList4 As New ArrayList()
                arrayList4.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList4, PARAMETER_FIELD_NAME4)
                Dim arrayList5 As New ArrayList()
                arrayList5.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList5, PARAMETER_FIELD_NAME5)
                Dim arrayList6 As New ArrayList()
                arrayList6.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList6, PARAMETER_FIELD_NAME6)
                Dim arrayList7 As New ArrayList()
                arrayList7.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList7, PARAMETER_FIELD_NAME7)
                Dim parameterFields As ParameterFields = CrystalReportViewer1.ParameterFieldInfo
                CrystalReportViewer1.ReportSource = myReport
            Catch ex As Exception
                lblMsg.Text = ex.Message
            End Try
        End Sub
        Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
            myReport.Close()
        End Sub
    End Class
    The result was, my ASP.NET return error --- > Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    I'm stuck
    Really need help
    Edited by: WKM1925 on Feb 22, 2012 11:49 AM

    First off, it would really be nice to have the version of CR you are using. Then
    1) does this report work the CR designer?
    2) What CR SDK are you using?
    3) If .NET, what version?
    4) Web or Win app?
    5) What OS?
    Then, please re-read your post and see if it actually makes any sense. To me, it's just gibberish...
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for

  • Weblogic (10.3.2) support on Linux 64 bit?

    Hi , Does weblogic 10.3.2 (11gR1) supported on Linux x86_64 ? We are using JRockit version BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-x86_64, compiled mode) Can soem body confirm. Thanks, Naveen

  • Macbook pro cannot connect to internet

    Hi, My Macbook pro 13" will not connect to the internet via wifi or ethernet. I have tried about everything I can think of. I reset the modem, tried another network other than mine. Compared the settings between my Imac that will connect and the macb

  • ITunes 10.0.1 - beach balls with every move

    My iTunes 10.0.1 (22) has become so slow with almost every move I make (selecting a song, play/stop, updating info, etc) which results in about a 5-10 second beach ball. I noticed my standard Real Mem usage is running between 600MB-900MB with CPU spi

  • Library Lost In Home Folder !

    Hi All, Just saw that my "Library" folder is gone from my Home folder. I still have the "Library" folder in my System folder. How can I restore it to my Home folder. I do have "Time Machine and Super Duper backups. MacMini i7 &, Running Mountain Lion

  • Java class in Oracle 8i.

    Hi All, I have tried to create a java class in Oracle8i but it throws some errors like: NAMED "MyTime" ERROR at line 3: ORA-29516: Aurora assertion failure: Assertion failure at eox.c:187 Uncaught exception Root of all Java exceptions: The program is