I'm sure IT'S A BUG !

How can I be so sure?
I installed oracle on red hat, on slackware
in many filesystems , many HDs, and when
I had tryed a big import, like creating Designer 2.1
repository, I got an "data block corrupted" in
many different places.
Something like this:
ORA-01578: ORACLE data block corrupted (file # 7, block # 3078)
ORA-01110: data file 7: '/oracle/linux/des2.dbf'
but often it was on System tablespace!
Today I try exactly the same steps and I did...
but on Solaris (Oracle EE 8.0.5.1.0).
Maybe some patch will fix that thing, I hope so!
null

Victor Romanchuk (guest) wrote:
: Fernando Boaglio (guest) wrote:
: : How can I be so sure?
: : I installed oracle on red hat, on slackware
: : in many filesystems , many HDs, and when
: : I had tryed a big import, like creating Designer 2.1
: : repository, I got an "data block corrupted" in
: : many different places.
: : Something like this:
: : ORA-01578: ORACLE data block corrupted (file # 7, block #
3078)
: : ORA-01110: data file 7: '/oracle/linux/des2.dbf'
: : but often it was on System tablespace!
: : Today I try exactly the same steps and I did...
: : but on Solaris (Oracle EE 8.0.5.1.0).
: : Maybe some patch will fix that thing, I hope so!
: from my point of view (i've never tried orace on linux) this
: error frequently relates to method of writing data to
datafile -
: sync or async. check initialization parameters async_read and
: async_write (or disk_asynch_io) - depends on version):
: svrmgrl> show parameters async
: set these to FALSE. it could help
We did disable disk_asynch_io but Oracle dumped core.
We have installed Oracle8.0.5 on Linux with redhat but we got
the following error message after our application ran for couple
of days.
Errors in
file /u01/app/oracle/admin/REPORT1/udump/ora_report1_645.trc:
ORA-01578: ORACLE data block corrupted (file # 18, block # 125)
ORA-01110: data file
18: '/u01/oradata/REPORT1/bill_indexes01.dbf'
The problem seems to be disappeared if we do NOT use parallel
query option in init$ORACLE_SID.ora and our code.
The steps that we did in our system are described below.
1. remove any words like parallel* in $ORACLE_BASE/admin/
$ORACLE_SID/pfile/init$ORACLE_SID.ora
2. Do not use parallel query option in the application.
3. Create a new instance and database.
4. start up your application.
Good luck.
null

Similar Messages

  • Help: I'm sure it is a Bug in JNI calling WebLogic EJB

    Help me! I'm using jni to call weblogic EJB from a Com+ component,here is the code:
    // This is the main project file for VC++ application project
    // generated using an Application Wizard.
    #include "stdafx.h"
    #pragma unmanaged
    #include <windows.h>
    #include <jni.h>
    #include <process.h>
    #include <stdio.h>
    #define USER_CLASSPATH "C:\\myClasses;C:\\j2sdk1.4.0\\lib\\tools.jar;Z:\\wlserver6.1\\lib\\weblogic.jar;"
    /* where Prog.class is */
    JavaVM *jvm;
    * Function GetJNIEnv(void) returns the java environment pointer
    * in case we are executing on a thread other than the one the
    * jvm was created on.
    JNIEnv* GetJNIEnv(void){
         JNIEnv *env = NULL;
         jint nRet = jvm->GetEnv((void **)&env, JNI_VERSION_1_2);
         if(nRet == JNI_EDETACHED){
              jvm->AttachCurrentThread((void **)&env, NULL);
         return env;
    * Function DoJNDI(void *arg) uses the Java Invocation API to
    * execute the following Java code:
    * Hashtable prop = new Hashtable();
    * prop.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"
    * prop.put( Context.PROVIDER_URL, "t3://192.168.40.137:7001" );
    * ctxInitial = new InitialDirContext( prop );
    void DoJNDI(void *arg){
         jclass clsHash, clsInitDirCx;
         jmethodID mHashInit, mHashPut, mInitDirCxInit;
         jobject objHash, objInitDirCx;
         JNIEnv *env = GetJNIEnv(); // Get the environment if on a different thread
         clsHash = env->FindClass("java/util/Hashtable");
         mHashInit = env->GetMethodID(clsHash, "<init>", "()V");
         objHash = env->NewObject(clsHash, mHashInit);
         mHashPut = env->GetMethodID(clsHash, "put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;");
         jstring jstrICxFactoryPut = env->NewStringUTF("java.naming.factory.initial");
         jstring jstrICxFactoryVal = env->NewStringUTF("weblogic.jndi.WLInitialContextFactory");
         env->CallObjectMethod(objHash, mHashPut, jstrICxFactoryPut,jstrICxFactoryVal);
         jstring jstrProviderUrlPut = env->NewStringUTF("java.naming.provider.url");
         jstring jstrProviderUrlVal = env->NewStringUTF("t3://192.168.40.137:7001");
         env->CallObjectMethod(objHash, mHashPut, jstrProviderUrlPut,jstrProviderUrlVal);
         clsInitDirCx = env->FindClass("javax/naming/InitialContext");
         mInitDirCxInit = env->GetMethodID(clsInitDirCx, "<init>", "(Ljava/util/Hashtable;)V");
         objInitDirCx = env->NewObject(clsInitDirCx, mInitDirCxInit, objHash);
         if(objInitDirCx == NULL){
              printf("%s test FAILED:\n\n", (char*)arg);
         else{
              printf("%s test PASSED\n\n", (char*)arg);
         jvm->DetachCurrentThread();
    * Function main(void) creates a JVM, and calls DoJNDI twice:
    * Once as a regular function call, and once as a spun off thread.
    void main() {
    JavaVMInitArgs vm_args;
    JavaVMOption options[5];
         options[0].optionString = "-client";
    options[1].optionString =
    "-cp " USER_CLASSPATH;
    options[2].optionString =
    "-Djava.class.path=" USER_CLASSPATH;
         //options[3].optionString =
         //     "-Xbootclasspath:c:\\j2sdk1.4.0\\lib\\tools.jar;z:\\wlserver6.1\\lib\\weblogic_sp.jar;z:\\wlserver6.1\\lib\\weblogic.jar;";
         options[3].optionString =
              "-Xbootclasspath/a:c:\\j2sdk1.4.0\\lib\\tools.jar;z:\\wlserver6.1\\lib\\weblogic_sp.jar;";
         options[4].optionString =
              "-Xbootclasspath/p:c:\\j2sdk1.4.0\\lib\\tools.jar;z:\\wlserver6.1\\lib\\weblogic_sp.jar;";
    vm_args.version = 0x00010002;
    vm_args.options = options;
    vm_args.nOptions = 5;
    vm_args.ignoreUnrecognized = JNI_TRUE;
         JNIEnv *env;
         jint res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
         // *** Make the magic calls! (Both lines should do the same thing) ***
         DoJNDI((void*)"Function call");
         _beginthread(DoJNDI,0,(void *)"Thread call");
         /* wait for thread(s) to finish */
         Sleep(5000);
         jvm->DestroyJavaVM();
    But it always send me a Exception like below:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory.
    Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:207)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    when I search this problem in java.sun.com,an article announce that it is a bug that
    JNDI not support multi-threads call,and it is fixed is JDK1.4 beta. The link is:
    http://developer.java.sun.com/developer/bugParade/bugs/4307751.html
    It seems that weblogic's JNDI is not support multi-thread call. what can i do?

    Try adding the following code before instantiating your initial context:
    Thread.currentThread().setContextClassLoader( ClassLoader.getSystemClassLoader()
    This fixed the problem for me.
    -Brian
    "Edward Lu" <[email protected]> wrote:
    >
    Help me! I'm using jni to call weblogic EJB from a Com+ component,here is
    the code:
    // This is the main project file for VC++ application project
    // generated using an Application Wizard.
    #include "stdafx.h"
    #pragma unmanaged
    #include <windows.h>
    #include <jni.h>
    #include <process.h>
    #include <stdio.h>
    #define USER_CLASSPATH "C:\\myClasses;C:\\j2sdk1.4.0\\lib\\tools.jar;Z:\\wlserver6.1\\lib\\weblogic.jar;"
    /* where Prog.class is */
    JavaVM *jvm;
    * Function GetJNIEnv(void) returns the java environment pointer
    * in case we are executing on a thread other than the one the
    * jvm was created on.
    JNIEnv* GetJNIEnv(void){
         JNIEnv *env = NULL;
         jint nRet = jvm->GetEnv((void **)&env, JNI_VERSION_1_2);
         if(nRet == JNI_EDETACHED){
              jvm->AttachCurrentThread((void **)&env, NULL);
         return env;
    * Function DoJNDI(void *arg) uses the Java Invocation API to
    * execute the following Java code:
    * Hashtable prop = new Hashtable();
    * prop.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"
    * prop.put( Context.PROVIDER_URL, "t3://192.168.40.137:7001" );
    * ctxInitial = new InitialDirContext( prop );
    void DoJNDI(void *arg){
         jclass clsHash, clsInitDirCx;
         jmethodID mHashInit, mHashPut, mInitDirCxInit;
         jobject objHash, objInitDirCx;
         JNIEnv *env = GetJNIEnv(); // Get the environment if on a different thread
         clsHash = env->FindClass("java/util/Hashtable");
         mHashInit = env->GetMethodID(clsHash, "<init>", "()V");
         objHash = env->NewObject(clsHash, mHashInit);
         mHashPut = env->GetMethodID(clsHash, "put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;");
         jstring jstrICxFactoryPut = env->NewStringUTF("java.naming.factory.initial");
         jstring jstrICxFactoryVal = env->NewStringUTF("weblogic.jndi.WLInitialContextFactory");
         env->CallObjectMethod(objHash, mHashPut, jstrICxFactoryPut,jstrICxFactoryVal);
         jstring jstrProviderUrlPut = env->NewStringUTF("java.naming.provider.url");
         jstring jstrProviderUrlVal = env->NewStringUTF("t3://192.168.40.137:7001");
         env->CallObjectMethod(objHash, mHashPut, jstrProviderUrlPut,jstrProviderUrlVal);
         clsInitDirCx = env->FindClass("javax/naming/InitialContext");
         mInitDirCxInit = env->GetMethodID(clsInitDirCx, "<init>", "(Ljava/util/Hashtable;)V");
         objInitDirCx = env->NewObject(clsInitDirCx, mInitDirCxInit, objHash);
         if(objInitDirCx == NULL){
              printf("%s test FAILED:\n\n", (char*)arg);
         else{
              printf("%s test PASSED\n\n", (char*)arg);
         jvm->DetachCurrentThread();
    * Function main(void) creates a JVM, and calls DoJNDI twice:
    * Once as a regular function call, and once as a spun off thread.
    void main() {
    JavaVMInitArgs vm_args;
    JavaVMOption options[5];
         options[0].optionString = "-client";
    options[1].optionString =
    "-cp " USER_CLASSPATH;
    options[2].optionString =
    "-Djava.class.path=" USER_CLASSPATH;
         //options[3].optionString =
         //     "-Xbootclasspath:c:\\j2sdk1.4.0\\lib\\tools.jar;z:\\wlserver6.1\\lib\\weblogic_sp.jar;z:\\wlserver6.1\\lib\\weblogic.jar;";
         options[3].optionString =
              "-Xbootclasspath/a:c:\\j2sdk1.4.0\\lib\\tools.jar;z:\\wlserver6.1\\lib\\weblogic_sp.jar;";
         options[4].optionString =
              "-Xbootclasspath/p:c:\\j2sdk1.4.0\\lib\\tools.jar;z:\\wlserver6.1\\lib\\weblogic_sp.jar;";
    vm_args.version = 0x00010002;
    vm_args.options = options;
    vm_args.nOptions = 5;
    vm_args.ignoreUnrecognized = JNI_TRUE;
         JNIEnv *env;
         jint res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
         // *** Make the magic calls! (Both lines should do the same thing) ***
         DoJNDI((void*)"Function call");
         _beginthread(DoJNDI,0,(void *)"Thread call");
         /* wait for thread(s) to finish */
         Sleep(5000);
         jvm->DestroyJavaVM();
    But it always send me a Exception like below:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory.
    Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:207)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    when I search this problem in java.sun.com,an article announce that it is
    a bug that
    JNDI not support multi-threads call,and it is fixed is JDK1.4 beta. The
    link is:
    http://developer.java.sun.com/developer/bugParade/bugs/4307751.html
    It seems that weblogic's JNDI is not support multi-thread call. what can
    i do?

  • I m sure this is a bug !

    i have No NumberConvertor in the page but still getting NumberConverotor Error
    plz do this to reproduce the bug
    Place a TextField Component on the page
    drag and drop NumberConvertor on to
    the TextField
    NumberConvertor is not visible Component
    u can see it in Document Outline Window
    and also u can see
    setter and getter for it in page bean
    now delete it(number converter) from Document Outline Window
    The number converter is deleted
    now there is no setter and getter methods
    for NumberConvertor in PageBean(or Managed Bean)
    Save it and build the application
    The TextFeild Componet appears in the
    Browser
    Enter some Value and press enter
    The browser displays error regarding
    NumberConvertor
    plz do comment on it ,
    I would be happy if any one can figure out the problem

    Yes, this is a bug.
    If you click on the "Source" tab, you can see the JSP that has been generated. The inputText field still has a reference to the number converter -- this should have been removed, but was not.
    <h:inputText binding="#{Page1.textField1}" converter="#{Page1.numberConverter1}" id="textField1" style="position: absolute; left: 456px; top: 624px"/>You can remove
    converter="#{Page1.numberConverter1}" and you should no longer see the error.
    -jeff

  • IOS 8 sur iphone 5 qui Bug sans arret ...

    Depuis que j'ai fait la mise a jours ver IOS 8 , mon iPhone gèle et bug sans arrêt !! Même après avoir fait la mise a jours 8.02 , pourtant avec l'IOS 7 sa marchais a merveille !! Est que quelqu'un a une solution parce que sa deviens de plus en plus déplaisant

    effectivement, ça te prend une sim

  • UWC/CE 6.3 and Access Manager 7.1 SSO sometimes fails (seems like a bug)

    PREAMBULA: I started writing this post thinking that our AM SSO setup was at fault in some step. As I was gathering data, checking the doc-links and config files and finally sniffed the servers for HTTP dialogs, I grew pretty sure there's a bug in UWC/CE, AM SDK or Web Server Policy Agent, whatever implements the AM SSO session checking.
    In short, as written below, our "sunmail" server can POST a broken cookie to AM server, if the cookie originally contained a "plus" character. The "plus" is replaced by a "space", invalidating the session check. As we know, "+" is often used in URLs to "escape" the space character. Perhaps some URL cleanup routine backfired here. I have double-checked, it is not the reverse proxy on "psam" breaking things. It is "sunmail" (UWC/CE or Policy Agent, don't know for certain) supplying the broken request. On the few occasions when the AM cookie contains no "plus" characters, the SSO works like a charm (also checked by a sniffer). Whenever there is a "plus", it breaks.
    Is there some known bug or workaround that matches this description?
    Nevertheless, for completeness' sake I kept the description of our setup. Maybe it's at fault after all :)
    We have an installation of JCS5 with the latest patches as of early July 2008. And as the subject implies, we have problems with AM SSO in UWC/CE web-interface. I have reported them before, then they seemed fixed (not occuring for several tests in a row), but as time has shown, something wrong is still there.
    So I'll try to go into deeper detail now, as we've may have overlooked some nuance... Then again, as my sniffer research below shows, this may be an engine bug and these setup details are irrelevant.
    Our setup is split into several Solaris 10 full-root zones hosted on several servers, some of the components are enroute to HA (perhaps we made some mistakes on this part of the way?)
    So, we have the following software stack:
    1) two MMR Directory Servers (DSEE 6.3 = DSEE 6.2 from JCS5 + 125278-07__DSEE_6.3__x86x64 + 125277-07__DSEE_6.3__x86_sol9 patches) working in zones on two different servers. Except for one time when a manually forced ZFS rollback corrupted one of the server instances, no problems here.
    2) two zones with Directory Proxy Servers (6.3, exact versions as above) running at port 389 provide the clients with an illusion that they have a stable Directory Server, even if one of the actual servers is currently rebooting ;)
    These DPS zones are hosted on two different servers as well and are primarily used by LDAP clients (JCS components) running in other zones on the same respective servers.
    3) A zone with Sun Web Server 7.0U1 and Access Manager 7.1 (+ 126357-01__AM71_x86 patch) and Delegated Admin 6.4-4.01 (from JCS5 + 121582-18__COMMCLI64__x86 patch).
    At the moment there is one such zone (named "cos-psam-01.domain.ru" in the logs below), but we expect(-ed) it to become two similar zones as per AM HA setup.
    Zones listed in (1-3) use private IP numbers, they belong in our internal DMZ.
    Zones listed in (4-5) below use public (routed) IP numbers, they belong in our external DMZ.
    4) A zone with Sun Web Server 7.0U1 used primarily as a reverse-proxy server (optionally with a load-balancer libpassthrough.so plugin) successfully used for other hosted projects. One of its configurations now passes connections from an externally routed IP address published as "psam.domain.ru" to "cos-psam-01.domain.ru", per AM HA setup, so HTTP clients believe they work with an Access Manager instance. This zone has a backend interface with a private IP address to communicate with the actual AM instance.
    In AM configuration (both LDAP and file-based) we have configured a site ID with the publicly known name and mentioned both names (psam and cos-psam-01) in organization's realm/dns aliases.
    5) A zone with the rest of the Sun Java Communications Suite 5, as in Messaging Server 6.3 (6.3-6.03 64-bit: ci-5.0-1.03_solx86_x64__Messaging_Server_6.3-2 + patch 126480-09__MSG63__x86-64), UWC/CE 6.3 (from JCS5 + 122794-17__UWC63-4.01_core__x86), Instant Messaging 7.2 (from JCS5 + 118790-29__IM72__x86-1 + 118787-28__IM72__x86-2), Calendar Server 6.3 (from JCS5 + 121658-28__iCS63__x86). The web-components (UWC/CE, IM, /httpbind) are deployed in a Sun Web Server 7.0U1 as well.
    This zone is named "sunmail.domain.ru" and has a routed IP address for direct external access to its servicess.
    The AM SDK part is also patched (126357-01__AM71_x86); it points to the load-balancer name ("psam.domain.ru") as an actual AM server.
    # imsimta version
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 64bit)
    libimta.so 6.3-6.03 (built 17:15:08, Mar 14 2008; 64bit)
    SunOS sunmail 5.10 Generic_127112-07 i86pc i386 i86pc
    While setting up this server set we tried to use AM SSO as the user login method, but it works unreliably.
    "Unreliably" means that while most of the time entering a correct uid and password in Access Manager login page ("http://psam.domain.ru/amserver/UI/Login") does redirect a user back to "http://sunmail.domain.ru/uwc/auth" along with a new cookie, and the user is redirected again to his or her mailbox, sometimes the user receives the UWC/CE login page. Entering the same uid and password here does log him in, but it breaks the whole point of SSO and only increases the end-user routine required to log in :\
    We have also seen the "missing mail tab" problem - if the users point the browser to any hostname different from "sunmail.domain.ru" (i.e. www.mail.domain.ru which is equivalent in DNS), they have only the Address book, Calendar and Options tabs; no webmail. So far this is resolved by Policy Agent forcing The One name of the server.
    Here's the configuration we did specifically for AM SSO:
    1) in AMConfig.properties of "sunmail" and "cos-psam-01" we set up
    com.iplanet.am.cookie.encode=false
    am.encryption.pwd=<the same value>
    all hostname-related parameters point to "psam.domain.ru"
    2) in AMConfig.properties of "cos-psam-01" a number of FQDN equivalence entries are added (so it does not redirect to a server hostname unknown to visitors):
    com.sun.identity.server.fqdnMap[publicname-or-ip]=psam.domain.ru
    com.sun.identity.server.fqdnMap[cos-psam-01.domain.ru]=cos-psam-01.domain.ru
    3) in "msg.conf" on "sunmail" (entries added via configutil):
    local.webmail.sso.amcookiename = iPlanetDirectoryPro
    local.webmail.sso.amnamingurl = http://psam.domain.ru:80/amserver/namingservice
    local.webmail.sso.singlesignoff = yes
    local.webmail.sso.uwcenabled = 1
    service.http.ipsecurity = no
    (perhaps some more options are required? Looking for confirmation about: local.webmail.sso.uwclogouturl local.webmail.sso.uwccontexturi local.webmail.sso.uwchome service.http.allowadminproxy )
    4) Configured Web Policy Agent for Sun Web Server, so that users without an AM session are required to get one. Set up per [http://msg.wikidoc.info/index.php/AM_redirection_using_Policy_Agent], except that com.sun.am.policy.agents.config.notenforced_list points to the many names our server can go known by.
    5) Updated the logout URL in /opt/SUNWuwc/webmail/main.js:
    --- main.js.orig        Sat Jan 26 07:52:09 2008
    +++ main.js     Mon Jul 21 01:06:29 2008
    @@ -667,7 +667,8 @@
    function cleanup() {
       if(laurel)
    -      top.window.location =  getUWCHost() + "/base/UWCMain?op=logout"
    +//      top.window.location =  getUWCHost() + "/base/UWCMain?op=logout"
    +      top.window.location =  "http://sunmail.domain.ru:80/base/UWCMain?op=logout"
       else
           exec('logout', '', 'exit()')
    @@ -1707,7 +1708,8 @@
       if(lg) {
             url = document.location.href
             url = url.substr(0,url.indexOf('webmail'))
    -        uwcurl = url + 'base/UWCMain?op=logout'        
    +//      uwcurl = url + 'base/UWCMain?op=logout'        
    +        uwcurl = "http://sunmail.domain.ru:80/base/UWCMain?op=logout"
       exit()
    }6) Calendar SSO - per docs...
    According to ngrep sniffing,
    1) the browser goes to "http://sunmail.domain.ru/uwc/auth" without any cookies
    2) receives a redirect and goes to "http://psam.domain.ru/amserver/UI/Login?gotoOnFail=http://sunmail.domain.ru:80/uwc&goto=http%3A%2F%2Fsunmail.domain.ru%3A80%2Fuwc%2Fauth"; sends no cookies either.
    3) The first response from the "psam" server (as redirected from "cos-psam-01") sets a few cookies while rendering the login page:
    Set-cookie: JSESSIONID=7EF8F2810D2071CA03CFEAE9972735B2; Path=/
    Set-cookie: AMAuthCookie=AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#; Domain=.domain.ru; Path=/
    Set-cookie: amlbcookie=02; Domain=.domain.ru; Path=/
    4) The browser requests the login page resources (javascripts, images, etc) using these cookies, as in this header line:
    Cookie: JSESSIONID=7EF8F2810D2071CA03CFEAE9972735B2; AMAuthCookie=AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#; amlbcookie=02
    5) The browser POSTs the login request to "/amserver/UI/Login" and receives a redirection to http://sunmail.domain.ru:80/uwc/auth
    Set-cookie: iPlanetDirectoryPro=AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#; Domain=.domain.ru; Path=/
    Set-cookie: AMAuthCookie=LOGOUT; Domain=.domain.ru; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
    6) The browser requests "http://sunmail.domain.ru/uwc/auth" using the newly set cookie (looks like the old one to me though):
    Cookie: amlbcookie=02; iPlanetDirectoryPro=AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#
    7) The "sunmail" web-server checks the AM session validity with the same "psam.domain.ru". It sends a series of POSTs to /amserver/namingservice:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="com.iplanet.am.naming" reqid="685">
    <Request><![CDATA[
    <NamingRequest vers="1.0" reqid="324" sessid="AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#">
    <GetNamingProfile>
    </GetNamingProfile>
    </NamingRequest>]]>
    </Request>
    </RequestSet>(receives a large XML list of different Access Manager configuration parameters and URLs)
    ...then a double-request to /amserver/sessionservice:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="Session" reqid="686">
    <Request><![CDATA[
    <SessionRequest vers="1.0" reqid="678">
    <GetSession reset="true">
    <SessionID>AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#</SessionID>
    </GetSession>
    </SessionRequest>]]>
    </Request>
    <Request><![CDATA[
    <SessionRequest vers="1.0" reqid="679">
    <AddSessionListener>
    <URL>http://sunmail.domain.ru:80/UpdateAgentCacheServlet?shortcircuit=false</URL>
    <SessionID>AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1+xTqH7C3I=@AAJTSQACMDI=#</SessionID>
    </AddSessionListener>
    </SessionRequest>]]>
    </Request>
    </RequestSet>As a result it receives an XML with a lot of user-specific information (the username, LDAP DN, preferred locale, auth module used, etc.)
    !!!*** Now, the problem part ***!!!
    8) And then "sunmail" POSTs a broken cookie to "psam" (note the space in mid-text, where the "plus" sign was previously). As we know, "+" is often used in URLs to "escape" the space character. Perhaps some URL cleanup routine backfired here.
    I have double-checked, it is not the reverse proxy on "psam" breaking things. It is "sunmail" (UWC/CE or Policy Agent, don't know for certain) supplying the broken request. I looked over the large XML responses to the two previous requests, whenever they mention the session cookie value, the "plus" is there.
    For the most detail I can provide, I'll even paste the whole HTTP packet:
    POST /amserver/sessionservice HTTP/1.1
    Proxy-agent: Sun-Java-System-Web-Server/7.0
    Cookie: iPlanetDirectoryPro=AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1 xTqH7C3I=@AAJTSQACMDI=#;amlbcookie=null
    Content-type: text/xml;charset=UTF-8
    Content-length: 336
    Cache-control: no-cache
    Pragma: no-cache
    User-agent: Java/1.5.0_09
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Host: cos-psam-01.domain.ru
    Client-ip: 194.xxx.xxx.xxx
    Via: 1.1 https-weblb.domain.ru
    Connection: keep-alive
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="session" reqid="258">
    <Request><![CDATA[<SessionRequest vers="1.0" reqid="254">
    <GetSession reset="true">
    <SessionID>AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1 xTqH7C3I=@AAJTSQACMDI=#</SessionID>
    </GetSession>
    </SessionRequest>]]></Request>
    </RequestSet> The server's error response is apparent:
    HTTP/1.1 200 OK
    Server: Sun-Java-System-Web-Server/7.0
    Date: Thu, 31 Jul 2008 05:49:50 GMT
    Content-type: text/html
    Transfer-encoding: chunked
    19b
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ResponseSet vers="1.0" svcid="session" reqid="258">
    <Response><![CDATA[<SessionResponse vers="1.0" reqid="254">
    <GetSession>
    <Exception>AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1 xTqH7C3I=@AAJTSQACMDI=# Invalid session ID
    AQIC5wM2LY4SfcwuT2ASCrsfO78nXdceEHXeH1 xTqH7C3I=@AAJTSQACMDI=#</Exception>
    </GetSession>
    </SessionResponse>]]></Response>
    </ResponseSet>On the few occasions when the AM cookie contains no "plus" characters, the SSO works like a charm (also checked by a sniffer). Whenever there is a "plus", it breaks.
    For reference, here's a working final request-response (one with a good cookie, as received by the load-balancer web-server). Request looks a bit different:
    POST /amserver/sessionservice HTTP/1.1
    Cookie: iPlanetDirectoryPro=AQIC5wM2LY4Sfcy/5sEzVmuq9z1ggdHOkBDgVFAwfhqvn4U=@AAJTSQACMDI=#;amlbcookie=null
    Content-Type: text/xml;charset=UTF-8
    Content-Length: 379
    Cache-Control: no-cache
    Pragma: no-cache
    User-Agent: Java/1.5.0_09
    Host: psam.domain.ru
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="session" reqid="281">
    <Request><![CDATA[<SessionRequest vers="1.0" reqid="277">
    <SetProperty>
    <SessionID>AQIC5wM2LY4Sfcy/5sEzVmuq9z1ggdHOkBDgVFAwfhqvn4U=@AAJTSQACMDI=#</SessionID>
    <Property name="uwcstatus" value="active"></Property>
    </SetProperty>
    </SessionRequest>]]></Request>
    </RequestSet> ...and the response is OK:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ResponseSet vers="1.0" svcid="session" reqid="281">
    <Response><![CDATA[<SessionResponse vers="1.0" reqid="277">
    <SetProperty>
    <OK></OK>
    </SetProperty>
    </SessionResponse>]]></Response>
    </ResponseSet>

    There have been a few reports of the same behaviour with other customers - specifically with the handling of the encoding of "+" characters to " ". It relates to how cookie encoding/decoding is performed (as you have already observed).
    The solution for these customers was the following:
    => AM server/client side:
    Ensure that com.iplanet.am.cookie.encode=false in AMConfig.properties and AMAgent.properties on all systems.
    => AM client (UWC) side:
    - Set <property name="encodeCookies" value="false"/> in /var/opt/SUNWuwc/WEB-INF/sun-web.xml. This will prevent UWC from trying to urldecode the cookie it receives and therefore stops it turning the + into a space e.g.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Servlet 2.3//EN' 'file:///net/wajra.india.sun.com/export/share/dtd/sun-web-app_2_3-1.dtd'>
    <sun-web-app>
       <property name="encodeCookies" value="false"/>
       <session-config>
          <session-manager/>
       </session-config>
       <jsp-config/>
    <property name="allowLinking" value="true" />
    </sun-web-app>Regards,
    Shane.

  • Possible Bug In Apex 4.0.2

    Hi Everyone.
    I would like to report what I think is a bug in Apex 4.0.2.
    If you go to my workspace on apex.oracle.com:
    Workspace = EEG
    Username = [email protected]
    Password = galaxy (all lowercase)
    Run the application: 37796 - Elie_Various_Goodies [no credentials are required]
    This app was imported from my 4.0.1 workspace at my job. On the page I created two Date Picker items, P1_BEGIN_DATE and P1_END_DATE. I set them up so that whenever a user selects a begin date, a dynamic action "MANAGE_DATES" fires and automatically sets P1_END_DATE to this selected begin date value. Now when a user goes to select an end date, the displayed calendar starts at the previously selected begin date rather than the default of "Today".
    All of this worked fine on my office (4.0.1) workspace. However, after exporting this app and then importing onto apex.oracle.com, none of this functionality would work. Even worse, whenever I try to select a begin date or even an end date, the selected dates never make it into the date picker fields. Displaying the "Session" window shows these fields as empty.
    It was only after I copied the two date picker fields and also re-created my dynamic action (P1_BEGIN_DATE2, P1_END_DATE2, MANAGE_DATES) did my functionality return.
    This behavior is quite strange. I can only think this is some sort of bug attributed to the export/import process when exporting a 4.0.1 app into a 4.0.2 workspace. I am not sure if this bizarre behavior happens with non-date picker items. Nor am I sure if this beavior would be repeated if I export/import from 4.0.2 into the another 4.0.2 environment.
    Another strange thing I noticed. If I change my date picker items to be "date picker (classic)" type items, the dynamic action does not work at all. This is true in both 4.0.2 and 4.0.1. I'm not sure if this a bug or not. It could be that the classic date picker is just not "javascript" enabled so to speak. If that is true, then it would have been nice if the docs would have warned us about this.
    Has anyone else seen this behavior?
    Thank you.
    Elie

    Hi Joel.
    First let me thank you for the warning about allowing "everyone" access to my workspace.
    You're correct, of course. Anyone could destroy anything within my workspace. I guess I was too trusting especially as I have seen many posts on the Forum where others have given access to their workspace so that responders can offer help. I really should be more discreet about this. Again, thank you. Needless to say, I have changed my password.
    With respect to the possible bug, the MANAGE_DATES dynamic action is intended to be a submit page because that is the only way I can see to get BOTH the P1_END_DATE date picker item as well as the end date textual field to be assigned the selected P1_BEGIN_DATE. I tried to use a dynamic action in which javascript sets the value of the end date textual field to the selected P1_BEGIN_DATE value. This works without the need to submit the page. Unfortunately, this does not cause the P1_END_DATE date picker item to default to this value. Instead, the default remains at today's date. This is why I finally resorted to a dynamic action that submits the page whenever a new value is selected (that is, a "change" event) from the P1_BEGIN_DATE date picker item.
    All of this works in my office 4.0.1 environment. However, I was puzzled when this fails under 4.0.2 on the hosted web site at apex.oracle.com. This is why I posted a "possible" bug in 4.0.2.
    I hope this all makes sense.
    One more thing, as already mentioned in my original post, this "defaulting a date picker" functionality does NOT work at all for the "classic" date picker items in both 4.0.1 nor in 4.0.2. I realize one can implement this functionality (I' guessing) my using, say, a "onChange" javascript call to submit the page. It's just funny that the "classic" date picker items are not acted upon by the dynamic action MANAGE_DATES that submits the page.
    Thank you.
    Elie

  • Is this a bug in mx:ComboBox ?

    Hi All,
    I'm using a mx:ComboBox control in my extension project for InDesign CS5/CS55.5/CS6 using Extension Builder 2.1, Flash Builder 4.6 and Extension Builder 3.4 SDK.
    Problem:
    When I click my ComboBox control(the text part excluding the down arrow part) after switching application to another and then back to InDesign, the list is shown and then closed quickly. Again if I click on ComboBox then the list is displayed properly.
    Is this a BUG in mx:ComboBox ?
    Please suggest any solutions/workaround to fix the issue.
    ComboBoxTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false"
      initialize="initializeHandler(event)">
      <mx:Script>
      <![CDATA[
      import mx.collections.ArrayCollection;
      import mx.events.DropdownEvent;
      import mx.events.FlexEvent;
      import mx.events.ListEvent;
      [Bindable]
      private var cmbBoxItems:ArrayCollection;
      private function onComboBoxClick(event:MouseEvent):void{
      trace('onComboBoxClick() - '+event);
      private function onComboBoxOpen(event:DropdownEvent):void{
      trace('onComboBoxOpen() - '+event);
      private function onComboBoxChange(event:ListEvent):void{
      trace('onComboBoxChange() - '+event);
      private function onComboBoxClose(event:DropdownEvent):void{
      trace('onComboBoxClose() - '+event);
      trace('\n');
      protected function initializeHandler(event:FlexEvent):void
      cmbBoxItems = new ArrayCollection(["One","Two","Three","Four","Five"]);
      ]]>
      </mx:Script>
      <mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center" verticalGap="10">
      <mx:ComboBox  id="testCmbBox" dataProvider="{cmbBoxItems}" click="onComboBoxClick(event)" open="onComboBoxOpen(event)" change="onComboBoxChange(event)" close="onComboBoxClose(event)"/>
      </mx:VBox>
    </mx:Application>

    Now I'm sure that its a BUG in mx:ComboBox(Mac OS X Lion, InDesign CS5.5) as I'm able to reproduce in Adobe's Kuler panel also as follows,
    Open Kuler panel and switch to Browse tab.
    Then switch application(Cmd+Tab) and come back to InDesign.
    Then click on any combo-box(Highest Rated or All Time).
    We see that the combo-box is not opened for the first time.
    Any help/suggestion/workaround is highly appreciated.
    Thanks.

  • PHOTO BUGS!

    Here is the bugs i've been experiencing with my iphone 4 (ios 5)
    - Can't take pics
    - Can't delete pics
    - Automatic duplicates my photo library
    - unable to look at pic in text messeging
    - unable to take screenshots
    - Settings>General>About>Photos: 2,147,814,647 (it says I have over 2 billion photos in my phone, I don't)
    - Photo app crashes constantly
    - Photo stream replace my photos with a 'grey with nothing on it' photo
    - photos saved from photo stream to album are extremely blurry
    - unable to send or open pictures from another app
    - other apps and games won't work properly as before
    - every app related to taking picture, select picture, view picture crashes when picture are taken or selected
    - restoring won't help (i tried)
    - Cannot play recorded videos from camera roll

    sometimes apple do change things inexplicably, not always for the better.
    you should report bugs here
    http://www.apple.com/feedback/ipodtouch.html
    BUT i'm not sure these things are bugs, furthermore i suspect it is your ipod rather than a general problem.
    i am assuming you mean the 3rd Generation when you refer to 'rev 3'
    1) if i've understood you correctly, then my photos orient fine.
    2) granted i don't use it very often, but i haven't noticed the problem with the shuffle function either - have done a quick test and it seems to work fine
    3) however, the play button isn't there when i tap the screen. this is probably one of those inexplicable changes.
    i suggest you work through the troubleshooting steps to see if you can get your photos to work properly. a restore may be required. http://www.apple.com/support/ipodtouch/assistant/ipodtouch/index.html

  • Bug in XSLT SE?

    I think I found a potential bug in the XSLT SE, but Im not sure if its a bug, and where to report it. (OpenESB / OpenJBI components?)
    I am trying to use the XSLT SE, in combination with the HTTP BC to create a filter for several operations spread over various services (a canonical schema filter, if you will)
    Though in all honesty, I have not gotten very far. Before I describe the situation further, I am trying all this on Glassfish v2 beta 2 (b41d) and openESB Milestone4 (though I have also tried the lastest promoted build)
    Here is the situation.
    There is a service, let's call it databaseservice for now. It basically has 2 operations; one 'read' operation, which returns a set of records, and one 'modify' operation, which basically modifies a few attributes on a specified record.
    The idea is that there are 2 of such databaseservices, each using a slightly different SOAP message format. Now, I want to make something that collects data from these services into a central database. (not an ideal situation, but the whole use-case is too much to explain)
    So, to facilitate this, I wan to create a (one or more) XSLT service(s), which translate each databaseservice's own format to a centralized format. I would post a request in teh centralized format to the XSLT service, it would translate it to the dialect for the specific server, execute the call, and translate the response back.
    All sounds easy enough, and it works up to a degree. That is. If databaseservice would have had just one operation, it would have worked flawlessly. As it stands now however, I cannot get 2 operations to work.
    To be more specific;
    - The database service has one WSDL, with 2 operation defined it. (one porttype, and partner/role)
    - The XSLT service has one WSDL file, with 2 operations, but I have also tried to use one WSDL for one operation each.
    The problem that occurs is, that when I have more then 2 operations invoking the same WSDL (or partnerlink if you will) in my transformmap.xml, it always executes the 'last' defined operation in the transformmap.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <transformmap
         xmlns='http://xml.netbeans.org/schema/transformmap.xsd'
         xmlns:ns1="urn:centralschema">
        <service
            xmlns:ns1="urn:centralschema"
            partnerLinkType="ns1:CentralDBServicePartnerlink"
            roleName="CentralDBServicePartnerlinkRole">
            <operation
                opName="readOperation"
                file="readOperationRequest.xsl"
                transformJBI="false">
                <invokes
                    xmlns:ns1="urn:serviceschema"
                    partnerLinkType="ns1:DBServicePartnerLink"
                    roleName="DBServicePartnerlinkRole"
                    opName="readOperation"
                    file="readOperationResponse.xsl"
                    transformJBI="false"/>
            </operation>
         <operation
                opName="modifyOperation"
                file="modifyOperationRequest.xsl"
                transformJBI="false">
                <invokes
                    xmlns:ns1="urn:serviceschema"
                    partnerLinkType="ns1:DBServicePartnerLink"
                    roleName="DBServicePartnerlinkRole"
                    opName="modifyOperation"
                    file="modifyOperationResponse.xsl"
                    transformJBI="false"/>
            </operation>
        </service> 
    </transformmap>(note, this is edited to fit example)
    So, way I would want to call readOperation on the XSLT , the first transformation would already use the xsl file of the modifyOperation operation (modifyOperationResponse.xsl), this will do nasty things to our databaseservice, in return that XSLT is unable to complete the request-response operation, and timing out the request.
    The only way i could see to go around this is to define seperate WSDLs for each operation, both for the centralizedserivce, as for each operation in the dbservice, but I doubt that would work well (more WSDL's binding to same address), not too mention that is just ...not very easy to maintain in a larger environment.
    I hope this describes the situation Im in, and the problems Im having. Any help as to if this is a bug or not, or a solution, would be, as always, greatly appreciated.

    The XSLT SE endpoints as you've defined them will resolve to a single entry in the JBI descriptor, which does not contain the operation name. One entry, one service endpoint. The single entry resolves to the last operation in the XSLT config file.
    Create a unique partnerLinkRole in the WSDL for the 2nd operation. Update the XSLT config file by adding the operation with the new role. This should cause a 2nd JBI descriptor entry to be created.
    Alternatively, I believe the CASA editor addresses this exact issue when 2 operations share the same partnerLinkType, role, and portType.
    Regards,
    Kevan

  • Import data from excel 2013 workbook issue,is it a bug ?

    When I use powerquery to import data from excel 2013 workbook An unexpected error occurred.Other editions no problem.

    I‘m sure this is a bug.I'm option in default language set to English.Saved the file and use powerquery import it.Excle worked fine.
    I'm option in default language set to simple chinese.Saved the file and use powerquery import it.An error occurred.

  • PE8 - Clips won't play if DV device connected (bug?)

    This is a repeatable oddity on my system... Windows 7 64-bit, 4GB RAM, PE8 with 8.0.1 update.
    After capturing video from an attached SD DV camcorder via IEEE1394 and closing the capture window, you cannot preview clips or play the timeline while the DV device is still attached. If you do, you'll hear the sound, but the picture will not move. When you pause, the picture will be updated to the frame you paused at. The solution is to just make sure you unplug your DV device when you're done capturing, but it took me a few sessions to notice this dependency.
    I see by searching the forums there may be a related bug in PPro CS4, but that is a "different program altogether," right? ;-)
    There is no "report bug" option in the Support menus that I could find, and I don't feel like spending $40 to call and report a likely bug, so I'm posting this here in the hopes that someone can do something useful with the information.
    Cheers!

    I'm not sure it's a bug, however, if the program is designed to function like this.
    Adobe intentionally designs the program to work like this because having a camcorder attached to your computer diverts valuable computer resources away from running this very intenstive program.
    Back in the days of Pentium 4s, this feature meant a lot more, of course.

  • Greyscale bug?

    Hello,
    Don't knnow if this is new to iPhoto '08 or not, but I can't import a greyscale picture.
    I have a greyscale jpeg that won't import: it gives a black image in iPhoto, with a strange very dark and partly transparent rendition of the image when I double-click on it.
    If I save it in a RGB format jpeg (image still is B&W, but the format is rgb), it works just fine in iPhoto. Save that image in greyscale again and it won't import.
    What's up with that???
    Loa

    Loa:
    That's been a bug since iPhoto 6. You'll have to scan the photos as color and use them that way. Be sure to report that bug to Apple at http://www.apple.com/feedback/iphoto.html.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Ios8 copy and paste / Digital AV Cable / internet dropping and other bugs!

    hello -
    so like everyone else else there is a number of bugs I am running into. so here's my list- Yes I've tried to restore, so I am praying that the ios8 update will contain these fixes:
    - copy and paste doesn't work between applications- but it's sporadic! (issue originally found when copying from a webpage to an email, then into notes from another webpage)
    - my Apple lighting to digital AV cable doesn't "read/transfer" to the TV
    - internet randomly drops for a few seconds to minutes for no apparent reason the it being an iPhone 6
    - Facebook and other internet heavy apps like Associated Press are extremely lagging or give me an error unable to connect to server
    - randomly freezes while taking pictures or taking notes- it won't even let me shut down
    - voicemail set up doesn't  work
    I am sure there are more bugs but haven't seen them or I've forgotten about them! If anyone else has these problems please check the box that you do have the same issue. Also any known resolutions would be appreciated!
    With Joy,
    Christina

    Another file?
    Do you mean folder? Inside or outside iPhoto?
    I'm trying to copy photos to a Sony Digital Photo Frame.
    Select the photos you want to use.
    Export them to a folder on the Desktop. File -> Export
    Add that to the device.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • BUG: External Subversion Repository, Can only connect to one URL unless....

    Jdeveloper 11.1.1.6 and Jdevevloper 11.2.2 versions.
    To See video about this "bug" please see http://youtu.be/Dp0laSTnSo4 (I made the video after writing this).
    Use-case: I work on four or five different applications and need distinct repositories for each. I am able to create distinct repositories using the Jdeveloper "create Local Repository" built-in functionality, and then when I "Version Application" I see all the repositories I have created.
    HOWEVER Using an External SVN as described in http://www.oracle.com/technetwork/articles/adf/part1-090228.html
    I have created two repositories: app1 and app2
    When I try to "version [an] Application" I can add only one URL of an external SVN, and am not able to add any others.
    If I look at the repositories.xml file as found in the system directory, I see the following:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <svn-repositories xmlns="http://xmlns.oracle.com/jdeveloper/1013/svn/repositories">
    <svn-repository>
    <url>https://stuart-pc:8080/svn/App1</url>
    <alias>App1</alias>
    <user-name>hr</user-name>
    <password>Bb8W5J9eNtvA1jlqkYoTNWA=</password>
    </svn-repository>
    </svn-repositories>
    If I hack this file and add the extra lines below (with jdeveloper closed), I am able to version an application to the "App2" repository.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <svn-repositories xmlns="http://xmlns.oracle.com/jdeveloper/1013/svn/repositories">
    <svn-repository>
    <url>https://stuart-pc:8080/svn/App1</url>
    <alias>App1</alias>
    <user-name>hr</user-name>
    <password>Bb8W5J9eNtvA1jlqkYoTNWA=</password>
    </svn-repository>
    *<svn-repository>*
    *<url>https://stuart-pc:8080/svn/App2</url>*
    *<alias>App2</alias>*
    *<user-name>hr</user-name>*
    *<password>Bb8W5J9eNtvA1jlqkYoTNWA=</password>*
    *</svn-repository>*
    </svn-repositories>
    I think this is a bug. Since you can create multiple "local" repositories, you should also be able to this with an external repositories. Also, one should be able to add as many external URLs as necessary in the Jdeveloper GUI, since we may work on multiple applications throughout the course of a day.
    Thank you,
    Stuart
    Edited by: Stuart Fleming on Sep 9, 2012 7:03 PM

    Frank,
    Thank you. Actually, I wasn't completely sure it was a bug, but it seemed that if you could do it using the "Create Local Repository" the functionality ought to be there for the external Subversion.
    Just curious, would you know what the Oracle Fusion Developers use for their Repository? might they also use Maven? Hudson?
    I always appreciate your help!
    Stuart
    Edited by: Stuart Fleming on Sep 10, 2012 7:15 AM

  • ORA-17085 bug jdbc update on where statement

    hi,
    i'm going crazy. i have this bug since 2009 and i don't know how to do.
    i'm sure it's a bug from jdbc oracle (because it's working with mysql)
    i guess it's not possible to do update on a row where this row is in the where query.
    1) Resultset with a where condition
    2) resultset.next
    3)resultset update (the where field)
    4) resultset next
    5) resultst previous
    6) resultset update (the where field)
    ---> ORA-17085
    let's do this table:
    the table:
    CREATE TABLE test (
    c1 NUMBER(10,0) NOT NULL,
    c2 VARCHAR2(5) NULL,
    c3 NUMBER,
    c4 VARCHAR(5)
    ALTER TABLE test
    ADD CONSTRAINT test_pk PRIMARY KEY (
    c1
    the code with the bug:
    here's the code to do this bug
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class MyMain
    Connection con;
    ResultSet res;
    Statement stat;
    public MyMain()
    System.out.println("Loading JDBC driver.");
    String url = "jdbc:oracle:thin:DEMO/[email protected]:1521:ORCL";
    String sPilote = "oracle.jdbc.driver.OracleDriver";
    //String url = "jdbc:mysql://localhost/test?user=demo&password=demo";
    //String sPilote = "com.mysql.jdbc.Driver";
    try
    Class.forName(sPilote);
    con = DriverManager.getConnection(url);
    stat = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    stat.execute("DELETE FROM test");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (1,'C1',11,'C41')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (2,'C1',12,'C42')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (3,'C3',13,'C43')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (4,'C1',14,'C44')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (5,'C5',15,'C45')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (6,'C1',16,'C46')");
    // con.commit();
    // ERROR HERE
    //res = stat.executeQuery("SELECT c1,c2,c3,c4 FROM test ORDER BY c1"); // WHERE c2='C1'
    res = stat.executeQuery("SELECT c1,c2,c3,c4 FROM test WHERE c2='C1' ORDER BY c1");
    while (res.next())
    System.out.println("BEGIN: " + res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    res.first();
    res.next();
    System.out.println("-> UPDATE c2=c5");
    res.updateString(2, "C5");
    res.updateRow();
    // con.commit();
    System.out.println(res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    res.next();
    // con.commit();
    res.previous();
    System.out.println("-> UPDATE c2=c10");
    res.updateString(2, "C10");
    res.updateRow();
    System.out.println(res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    res.beforeFirst();
    while (res.next())
    res.refreshRow();
    System.out.println("END: " + res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    System.out.println("Finish.");
    catch (ClassNotFoundException e)
    e.printStackTrace();
    catch (SQLException e)
    // TODO Auto-generated catch block
    System.out.println( e.getErrorCode());
    e.printStackTrace();
    finally
    if (con != null)
    try
    con.close();
    catch (SQLException e)
    // TODO Auto-generated catch block
    e.printStackTrace();
    public static void main(String argv[])
    new MyMain();
    output:
    Loading JDBC driver.
    BEGIN: 1 C1 11 C41
    BEGIN: 2 C1 12 C42
    BEGIN: 4 C1 14 C44
    BEGIN: 6 C1 16 C46
    -> UPDATE c2=c5
    2 C1 12 C42
    -> UPDATE c2=c10
    17085
    java.sql.SQLException:
    so what to do to ask oracle to correct this bug ?
    thanks and have a nice day

    thanks for answer and sorry for not using code tag
    i want to open support request but we don't have support for oracle :-(
    well i try with all jdbc driver since 2009 and oracle 10g,10xe,11xe
    java is 1.6 and 1.7
    i really think it's about oracle jdbc because it's working with mysql.
    if i do where 1=1 then it's working because the bug happen only if i update a field who is in the "where query"
    let's see this code who has the same bug (more easy):
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class Test2 {
         Connection con;
         ResultSet res;
         Statement stat;
         public Test2() {
              System.out.println("Loading JDBC driver.");
              String url = "jdbc:oracle:thin:demo/[email protected]:1521:XE";
              String sPilote = "oracle.jdbc.driver.OracleDriver";
              try {
                   Class.forName(sPilote);
                   con = DriverManager.getConnection(url);
                   stat = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
                             ResultSet.CONCUR_UPDATABLE);
                   stat.execute("DELETE FROM test");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (1,'C1',11,'C41')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (2,'C1',12,'C42')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (3,'C3',13,'C43')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (4,'C1',14,'C44')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (5,'C5',15,'C45')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (6,'C1',16,'C46')");
                   res = stat
                             .executeQuery("SELECT c1,c2,c3,c4 FROM test WHERE c2='C1' ORDER BY c1");
                   res.first();
                   res.next();
                   System.out.println("-> UPDATE c2=c5");
                   res.updateString(2, "C5");
                   res.updateRow();
                   // con.commit();
                   res.refreshRow(); // don't change something
                   System.out.println(res.getInt("c1") + " " + res.getString("c2")
                             + " " + res.getInt("c3") + " " + res.getString("c4") +" should be: 2 C5 12 C42");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
              } catch (SQLException e) {
                   System.out.println(e.getErrorCode());
                   e.printStackTrace();
              } finally {
                   if (con != null)
                        try {
                             con.close();
                        } catch (SQLException e) {
                             e.printStackTrace();
         public static void main(String argv[]) {
              new Test2();
    }output:
    Loading JDBC driver.
    -> UPDATE c2=c5
    2 C1 12 C42 should be: 2 C5 12 C42
    thanks a lot for your help

Maybe you are looking for

  • AIR for iOS app works perfectly in emulator, not at all on an actual iPad

    I'm new to mobile development, so I'm hoping I am doing some simple wrong, like a wrong checked box or something. I have an app that I have written for iPad. It's fully functioning when I run it through the emulator (I have to change it to Flash 10.1

  • Defaulting Null Values in an outer join to the last joined row's values.

    I have a situation where I need to fill in the missing values from an outer join with the last values returned by the join. The query is based on a date table, an organization table and a transaction table. SELECT D.DATE_ID, O.ORG_ID, T.VALUE FROM D_

  • Packaging files in InCopy CS6

    I have just installed InCopy CS6, and received an assignment from our designer, who created the document in InDesign CS5. I have successfully opened and edited the document, but the option to package (in any format - to Return for InDesign or Forward

  • Stopwatch in Captivate 5.5

    I would like learners to time themselves while they complete eight self-check exercises on a single screen (identifying musical notes on a scale). So they would start a timer, complete the exercises, and stop the timer, noting their elapsed time.  I

  • I am making a movie on my ipad using iMovie, need help with music.

    I have a song that I put into my itunes library and then uploaded it into a dropbox folder.  I have dropbox on all my apple products.  Anyway, I would like to use this song in my imovie project.  How do I get it into imovie from dropbox.  It is a an