Inverse relationships silently failing with dual queries

Now this is a really weird one. (2.2.3, 1.3.1_03, w2k)
I have some test code to do simple queries
public Project findProjectByName(String name) {
return (Project) findByName(Project.class, name);
public User findUserByName(String name) {
return (User) findByName(User.class, name);
private Object findByName(Class clazz, String name) {
Extent extent = pm.getExtent(clazz, true);
Query query = pm.newQuery(clazz, extent, "this.name == name");
query.declareParameters("String name");
Collection results = (Collection) query.execute(name);
if (results.size() != 1) {
throw new IllegalStateException("wrong result count " +
results.size() + " of " + clazz.getName() + ": " +
name);
Object result = results.iterator().next();
query.closeAll();
return result;
and some relationships defined
which has relationships defined as
<class name="Permission"/>
<class name="Project" requires-extent="true">
<field name="permissions">
<collection element-type="Permission"/>
<extension vendor-name="kodo" key="inverse"
value="project"/>
</field>
</class>
<class name="User" requires-extent="true">
<field name="permissions">
<collection element-type="Permission"/>
<extension vendor-name="kodo" key="inverse" value="user"/>
</field>
</class>
and some code which uses it.
Project itpap = findProjectByName("itpap");
User geoff = findUserByName("geoff");
System.out.println("itpap: permissions" + itpap.getPermissions());
System.out.println("geoff: permissions" + geoff.getPermissions());
Problem is, it prints out:
itpap: permissions[com.cisco.apit.itpap.model.Permission@6c6696,
com.cisco.apit.itpap.model.Permission@431340]
geoff: permissions[]
That is, the inverse relationship for the User object seems to be silently
failing.
So I tried reversing the order of the find methods, like so:
User geoff = mm.findUserByName("geoff");
Project itpap = mm.findProjectByName("itpap");
System.out.println("itpap: permissions" + itpap.getPermissions());
System.out.println("geoff: permissions" + geoff.getPermissions());
Same problem.
Then, I tried modifying it to:
Project itpap = findProjectByName("itpap");
System.out.println("itpap: permissions" + itpap.getPermissions());
User geoff = findUserByName("geoff");
System.out.println("geoff: permissions" + geoff.getPermissions());
And now it works fine, I get
itpap: permissions[com.cisco.apit.itpap.model.Permission@4247a0,
com.cisco.apit.itpap.model.Permission@6c6696]
geoff: permissions[com.cisco.apit.itpap.model.Permission@2bb7e0,
com.cisco.apit.itpap.model.Permission@6c6696]
How weird is that? It seems like the syptoms would be best descibed by "if
you query for two objects separately, then navigating to a related object
from one of the queried objects breaks any subsequent attempted navigation
to a related objects for the other".
Cheers
Geoff

Hi Geoff,
Check out my posts on "2.2.3GA Transparent Navigation of two-way one-to-one relationship failing"
(March 9th and following.) Sounds like we may be looking at the same bug. I don't know if this has
been fixed in 2.2.4.
David
Geoff Soutter wrote:
>
Now this is a really weird one. (2.2.3, 1.3.1_03, w2k)
I have some test code to do simple queries
public Project findProjectByName(String name) {
return (Project) findByName(Project.class, name);
public User findUserByName(String name) {
return (User) findByName(User.class, name);
private Object findByName(Class clazz, String name) {
Extent extent = pm.getExtent(clazz, true);
Query query = pm.newQuery(clazz, extent, "this.name == name");
query.declareParameters("String name");
Collection results = (Collection) query.execute(name);
if (results.size() != 1) {
throw new IllegalStateException("wrong result count " +
results.size() + " of " + clazz.getName() + ": " +
name);
Object result = results.iterator().next();
query.closeAll();
return result;
and some relationships defined
which has relationships defined as
<class name="Permission"/>
<class name="Project" requires-extent="true">
<field name="permissions">
<collection element-type="Permission"/>
<extension vendor-name="kodo" key="inverse"
value="project"/>
</field>
</class>
<class name="User" requires-extent="true">
<field name="permissions">
<collection element-type="Permission"/>
<extension vendor-name="kodo" key="inverse" value="user"/>
</field>
</class>
and some code which uses it.
Project itpap = findProjectByName("itpap");
User geoff = findUserByName("geoff");
System.out.println("itpap: permissions" + itpap.getPermissions());
System.out.println("geoff: permissions" + geoff.getPermissions());
Problem is, it prints out:
itpap: permissions[com.cisco.apit.itpap.model.Permission@6c6696,
com.cisco.apit.itpap.model.Permission@431340]
geoff: permissions[]
That is, the inverse relationship for the User object seems to be silently
failing.
So I tried reversing the order of the find methods, like so:
User geoff = mm.findUserByName("geoff");
Project itpap = mm.findProjectByName("itpap");
System.out.println("itpap: permissions" + itpap.getPermissions());
System.out.println("geoff: permissions" + geoff.getPermissions());
Same problem.
Then, I tried modifying it to:
Project itpap = findProjectByName("itpap");
System.out.println("itpap: permissions" + itpap.getPermissions());
User geoff = findUserByName("geoff");
System.out.println("geoff: permissions" + geoff.getPermissions());
And now it works fine, I get
itpap: permissions[com.cisco.apit.itpap.model.Permission@4247a0,
com.cisco.apit.itpap.model.Permission@6c6696]
geoff: permissions[com.cisco.apit.itpap.model.Permission@2bb7e0,
com.cisco.apit.itpap.model.Permission@6c6696]
How weird is that? It seems like the syptoms would be best descibed by "if
you query for two objects separately, then navigating to a related object
from one of the queried objects breaks any subsequent attempted navigation
to a related objects for the other".
Cheers
Geoff

Similar Messages

  • Using classic vm causes inverse relationship to fail?

    Hi there,
    Anyone seen this problem?
    I'm using 2.2.3 on win2k, jdk 1.3.1_03.
    When I run my test app under the normal (hotspot) VM it works fine. Then, I
    tried to debug it and it failed with a NullPointerException. Weird. I
    tracked it down to the fact that my IDE (IDEA) forces use of the classic VM
    when debugging.
    So, when I run it under the classic VM, and I try and call
    project.getMilestones() as defined by the following relationship, it always
    returns null, even though the project in question has milestones defined in
    the database (which work fine when running in non-classic mode).
    <class name="Project"
    requires-extent="true">
    <field name="permissions">
    <collection element-type="Permission"/>
    <extension vendor-name="kodo" key="inverse"
    value="project"/>
    </field>
    <field name="milestones">
    <collection element-type="Milestone"/>
    <extension vendor-name="kodo" key="inverse"
    value="project"/>
    </field>
    </class>
    any ideas? Is the classic VM not supported?
    Cheers,
    Geoff

    Update: I can also get this to trigger by attempting to use instantdb in
    pooling mode. That is, if it run it with 0 connections in the pool (and put
    up with all the annoying connection messages), it works fine. However, if I
    set the connections to be > 0 (or use -classic), then the relationship
    fails.
    Weirder and weirder. ...
    Geoff
    "Geoff Soutter" <[email protected]> wrote in message
    news:aaivue$pcd$[email protected]..
    Hi there,
    Anyone seen this problem?
    I'm using 2.2.3 on win2k, jdk 1.3.1_03.
    When I run my test app under the normal (hotspot) VM it works fine. Then,I
    tried to debug it and it failed with a NullPointerException. Weird. I
    tracked it down to the fact that my IDE (IDEA) forces use of the classicVM
    when debugging.
    So, when I run it under the classic VM, and I try and call
    project.getMilestones() as defined by the following relationship, italways
    returns null, even though the project in question has milestones definedin
    the database (which work fine when running in non-classic mode).
    <class name="Project"
    requires-extent="true">
    <field name="permissions">
    <collection element-type="Permission"/>
    <extension vendor-name="kodo" key="inverse"
    value="project"/>
    </field>
    <field name="milestones">
    <collection element-type="Milestone"/>
    <extension vendor-name="kodo" key="inverse"
    value="project"/>
    </field>
    </class>
    any ideas? Is the classic VM not supported?
    Cheers,
    Geoff

  • Silent fail with Flashbuilder due to Windows indexing service!

    Hi,
    since I installed Flashbuilder b1 in April I got again and again silent fails.
    I could change by code, but sometimes all changes where ignored. That was very frustrating.
    Last week I switched the index service off, and voila no more problems since then!!!
    It seems to lock some files, that seems to block eclipse somehow.
    You can deativate it for Vista under
    right mouse on Hardisk Partition->Properties
    deselect the the checkbox "Index this drive for faster searching"
    Confirm it for all folder.
    Hope this will help someone!
    Martin Zach

    Hi David,
    you can test it if you like:
    Switch on indexing for your project folder. Within 7 days you will get problems for shure!
    I realized it because I got the problem again, that Flashbuilder stopped to compile my new code and used the old compiled files.
    Then I left for an appointment for about 3 hours. After I returned, I tried it again and then it works! I haven't changed any of my code or configuration.
    Martin

  • Server silently fails on messages with a huge To: header; any ideas?

    Our incoming relay (sendmail) occasionally receives messages which were sent to many recipients
    (sometimes it's spam, sometimes valid maillists to which our users have subscribed). The messages
    in question have a To: header which is typically over 6kb in size and over 80 lines long (and since
    several recipients with short names/addresses may be grouped on one line, there's about a hundred
    recipients listed).
    It fails trying to relay these messages to our backend Sun Messaging Server (6.3-6.0.3 x64), and it
    fails silently. I am not definitely sure that this is SMS's flaw and not Sendmails; but perhaps someone
    can shed light on the matter? :)
    SMS's mail.log_current receives such entries (here xxx.xxx.xxx.100 is the relay, xxx.xxx.xxx.73
    is the backend server):
    04-Dec-2008 16:54:44.62 tcp_local    +            O TCP|xxx.xxx.xxx.73|25|xxx.xxx.xxx.100|33728 SMTP
    04-Dec-2008 16:59:44.62 tcp_intranet ims-ms       VE 0 [email protected] rfc822;[email protected] ouruser@ims-ms-daemon relay.domain.ru ([xxx.xxx.xxx.100]) '' Timeout after 5 minutes trying to read SMTP packet
    04-Dec-2008 16:59:44.62 tcp_local    +            C TCP|xxx.xxx.xxx.73|25|xxx.xxx.xxx.100|33728 SMTP Timeout
    after 5 minutes trying to read SMTP packetSendmail logs a broken connection:
    Dec  4 17:01:27 relay sendmail[14689]: [ID 801593 mail.crit] mB47gCN4014672: SYSERR(root): timeout writing message to sunmail.domain.ru.: Broken pipe
    Dec  4 17:01:27 relay sendmail[14689]: [ID 801593 mail.info] mB47gCN4014672: to=<[email protected]>, delay=00:07:01, xdelay=00:06:58, mailer=esmtp, pri=329059, relay=sunmail.domain.ru. [xxx.xxx.xxx.73], dsn=4.0.0, stat=DeferredSniffing the wire gives strange results: The SMTP dialog part seems okay, the message is submitted
    (relayed) only for our local user's address. But the message is not transferred until sendmail dies.
    When the sendmail process dies (due to timeout or by a manual kill), about 3 packets appear in the
    sniffer's output, starting with the usual "Received: from" lines and other header parts. The last packet
    has text from the middle of the To: header, often breaking mid-word. Perhaps it's some buffering error
    in either the sending Sendmail or the receiving Sunmail, or some server TCP-networking/sniffer glitch.
    If I manually edit the queue file (/var/spool/mqueue/qfmB47gCN4014672 for the sample above) and delete
    most of the To: header's lines, the message goes through okay.
    This just does not seem logical - the message header text seems to be compliant (that is, each single
    line is short, although all sub-lines of To: concatenate to a rather large text; but not that extremely large).
    Neither sendmail nor sun mail report any error except networking socket failure.
    MTUs are the same on both servers (1500), and any other large message (i.e. with attachments),
    relays okay.
    Are there any known issues on Sun Messaging Server (or Sendmail for that matter) which look like
    this and ring a bell to a casual reader? :) Perhaps Sieve filters, etc.?
    Since sendmail does successfully receive this message from the internet, and none of our several
    incoming milters break along the way, I don't think it should have a huge problem forwarding it to
    another server (I'll try experimenting though). This is why I think it's possible that Sun mail may be
    at fault.
    # 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

    Hello all, thanks for your suggestions.
    In short, I debugged with Shane's suggestions. Apparently, tcp_smtp_server didn't get
    a byte for 5 minutes so the read() was locked. At least, there's no specific failing routine
    in Sunmail, so I'm back to research about Sendmail and networking, buffering and so on.
    As I mentioned, when relay's sendmail process is killed, the system spits out about 3
    packets of header data to the network...
    Details follow...
    By "silently failing" i meant that no obvious SMTP error is issued. The connection hangs
    until it's aborted and both servers only complain on that - a failed network connection.
    The resulting problem is that the sendmail relay marks sunmail as "Deferring connections"
    in its hoststatus table, and valid messages are not even attempted for submission. At the
    moment we fixed that brutally but effectively - by removing the hoststatus file for our sunmail
    via cron every minute.
    Concerning Mark's post, these servers are in the same DMZ, on a Cisco 2960G switch
    which caused no specific problems. I mentioned MTU's are the same and standard,
    because a few weeks back we did have LDAP replication problems due to experiments
    with Jumbo frames, but solved them internally (I posted on this in the DSEE forum, also
    asking how to compare LDAPs: [http://forums.sun.com/thread.jspa?threadID=5349017]).
    We use this tandem of relay-backend servers for half a year now (and before we deployed
    Sun Messaging Server, this sendmail relayed mails to our old server for many years).
    So far this (large To:) is the only type of messages I see that cause such behavior; for
    any other large mails the size does not matter, or at least some rejection explanation
    is generated by one of the SMTP engines.
    Shane, thanks for your help over and over ;)
    I tried enabling the options you mentioned, ran "imsimta cnbuild" and reloaded the services.
    Then I fired up the sniffer on the relay server, "tail -f mail.log_current" on the sunmail, and
    submitted a "bad message" from the Sendmail queue.
    In the sniffer the SMTP dialog went ok until submission of message data, where it hung as
    before:
    # ngrep "" tcp port  25 and host sunmail
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      220 sunmail.domain.ru -- Server ESMTP (Sun Java(tm) System Messaging Server 6.
      3-6.03 (built Mar 14 2008; 64bit))..                                      
    T xxx.xxx.xxx.100:53200 -> xxx.xxx.xxx.73:25 [AP]
      EHLO relay.domain.ru..                                                         
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      250-sunmail.domain.ru..250-8BITMIME..250-PIPELINING..250-CHUNKING..250-DSN..25
      0-ENHANCEDSTATUSCODES..250-EXPN..250-HELP..250-XADR..250-XSTA..250-XCIR..25
      0-XGEN..250-XLOOP 4A70E733A15FFE33EF3564BD522B1348..250-STARTTLS..250-ETRN.
      .250-NO-SOLICITING..250 SIZE 20992000..                                   
    T xxx.xxx.xxx.100:53200 -> xxx.xxx.xxx.73:25 [AP]
      MAIL From:<[email protected]> SIZE=200312..                                    
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      250 2.5.0 Address and options OK...                                       
    T xxx.xxx.xxx.100:53200 -> xxx.xxx.xxx.73:25 [AP]
      RCPT To:<[email protected]> NOTIFY=SUCCESS,FAILURE,DELAY..DATA..                
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      250 2.1.5 [email protected] and options OK...                                   
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      354 Enter mail, end with a single "."...                                  
    #In the mail.log_current just one line appeared:
    05-Dec-2008 10:51:18.46 tcp_local    +            O TCP|xxx.xxx.xxx.73|25|xxx.xxx.xxx.100|53200 SMTPSince it also mentions tcp_local channel, I decided to enable slave_debug on that as well.
    Rebuilt the configs, and ran msg-stop to see if the processes actually die. When I checked
    the "netstat -an | grep -w 25" and "ps -ef" outputs, there was indeed a tcp_smtp_server
    process running:
    mailsrv 23594   656   0 10:50:08 ?           0:00 /opt/SUNWmsgsr/messaging64/lib/tcp_smtp_serverBoth the sunmail and sendmail relay kept the socket ESTABLISHED. I took a pstack
    of the tcp_smtp_server (below) and killed it with SIGSEGV so I have a core dump if
    needed. Then I started the services and submitted the message from the queue again.
    The SMTP dialog log was actually from tcp_local, and it ended with the lines like these
    (note that even in this detailed log it just died with "network read failed" after 5 minutes,
    I inserted an empty line to make it more visible):
    11:21:18.26: Good address count 1 defer count 0
    11:21:18.26: Copy estimate after address addition is 2
    11:21:18.26: mmc_rrply: Return detailed status information.
    11:21:18.26: mmc_rrply: Returning
    11:21:18.26: Sending    : "250 2.1.5 [email protected] and options OK."
    11:21:18.26: Received   : "DATA"
    11:21:18.26: mmc_waend(0x00749cc0) called.
    11:21:18.26:   Copy estimate is 2
    11:21:18.26:   Queue area size 35152252, temp area size 2785988
    11:21:18.26:   8788063 blocks of effective free queue space available; setting disk limit accordingly.
    11:21:18.26:   1392994 blocks of free temporary space available; setting disk limit accordingly.
    11:21:18.26: Sending    : "354 Enter mail, end with a single "."."
    11:26:18.27: os_smtp_read: [9] network read failed with error 145
    11:26:18.27:     Error: Connection timed out
    11:26:18.27:   Generating V records for all addresses on channel ims-ms                          .
    11:26:18.27: mmc_flatten_address: Flattening address tree into a list.
    11:26:18.27:   Tree prior to flattening:
    11:26:18.27: Level/Node/Left/Right Address
    11:26:18.27: 0/0x0072ea30/0x00000000/0x00866050
    11:26:18.27: 1/0x00866050/0x00751ef8/0x00751ef8 ouruser@ims-ms-daemon
    11:26:18.27: Zero address: 0x00751ef8
    11:26:18.27: smtpc_enqueue returning a status of 137 (Timeout)
    11:26:18.27: SMTP routine failure from SMTPC_ENQUEUE
    11:26:18.27: pmt_close: [9] status 0Apparently, tcp_smtp_server didn't get a byte for 5 minutes so a read() call was locked
    and perhaps this is what didn't allow stop-msg to kill this process...
    At least, there's no specific failing routine in Sunmail, so I'm back to research about
    Sendmail and networking, buffering and so on. As I mentioned, when relay's sendmail
    process is killed, the system spits out about 3 packets of header data to the network...
    The pstack output for a waiting tcp_smtp_server process follows, for completeness sake:
    23594:  /opt/SUNWmsgsr/messaging64/lib/tcp_smtp_server
    -----------------  lwp# 1 / thread# 1  --------------------
    fffffd7ffd830007 lwp_park (0, 0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a1a9 _cond_wait () + 59
    fffffd7ffd82a1d6 cond_wait () + 26
    fffffd7ffd82a219 pthread_cond_wait () + 9
    fffffd7ffededf3e dispatcher_initialize () + 66e
    0000000000404078 main () + 768
    00000000004036fc ???????? ()
    -----------------  lwp# 2 / thread# 2  --------------------
    fffffd7ffd830007 lwp_park (0, fffffd7ffc5fdda0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a012 cond_wait_common () + 1c2
    fffffd7ffd82a286 _cond_timedwait () + 56
    fffffd7ffd82a310 cond_timedwait () + 30
    fffffd7ffd82a359 pthread_cond_timedwait () + 9
    fffffd7ffd520ff4 PR_WaitCondVar () + 264
    fffffd7ffd529854 PR_Sleep () + 74
    fffffd7ffd62d5d8 LockPoller () + 88
    fffffd7ffd5289e7 _pt_root () + f7
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 3 / thread# 3  --------------------
    fffffd7ffd830007 lwp_park (0, fffffd7ffc3fdda0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a012 cond_wait_common () + 1c2
    fffffd7ffd82a286 _cond_timedwait () + 56
    fffffd7ffd82a310 cond_timedwait () + 30
    fffffd7ffd82a359 pthread_cond_timedwait () + 9
    fffffd7ffd520ff4 PR_WaitCondVar () + 264
    fffffd7ffd529854 PR_Sleep () + 74
    fffffd7ffd62d5d8 LockPoller () + 88
    fffffd7ffd5289e7 _pt_root () + f7
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 4 / thread# 4  --------------------
    fffffd7ffd830007 lwp_park (0, 0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a1a9 _cond_wait () + 59
    fffffd7ffd82a1d6 cond_wait () + 26
    fffffd7ffd82a219 pthread_cond_wait () + 9
    fffffd7ffedf5fe8 pmt_refresh_stats () + d8
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 5 / thread# 5  --------------------
    fffffd7ffedecf10 dispatcher_read(), exit value = 0x0000000000000000
            ** zombie (exited, not detached, not yet joined) **
    -----------------  lwp# 6 / thread# 6  --------------------
    fffffd7ffd830007 lwp_park (0, fffffd7ffc1fded0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a012 cond_wait_common () + 1c2
    fffffd7ffd82a286 _cond_timedwait () + 56
    fffffd7ffd82a310 cond_timedwait () + 30
    fffffd7ffd82a359 pthread_cond_timedwait () + 9
    fffffd7ffeded829 dispatcher_housekeeping () + 1e9
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 14 / thread# 14  --------------------
    fffffd7ffd83319a lwp_wait (d, fffffd7ffbdfdf24)
    fffffd7ffd82c9de _thrp_join () + 3e
    fffffd7ffd82cbbc pthread_join () + 1c
    fffffd7ffedece66 dispatcher_joiner () + 36
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 13 / thread# 13  --------------------
    fffffd7ffd832caa pollsys  (fffffd7ffc1b9860, 1, fffffd7ffc1b97a0, 0)
    fffffd7ffd7d9dc2 poll () + 52
    fffffd7ffee6d7e8 pmt_recvfrom () + 868
    0000000000405a3f os_smtp_read () + 1ff
    0000000000404e3d smtp_get () + 9d
    fffffd7ffec0fda7 big_smtp_read () + 797
    fffffd7ffec36798 data () + a28
    fffffd7ffec460ad smtpc_enqueue () + f9d
    0000000000405343 tcp_smtp_slave () + 223
    00000000004038a4 tcp_smtp_slave_pre () + 54
    fffffd7ffedeccbc dispatcher_newtcp () + 46c
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()

  • Oracle Database Express Edition 11g Release2 11.2.0 silent Installation failing with port8081 error

    Hi everyone,
    We are trying to create silent(unattended) install package to install Oracle database 11g express edition 11.2.0 silently on our machines. We modified the provided .iss file as per the requirement and tried to install with below command,
    setup.exe /verbose /s /f1"c:\DISK1\response\oracleXE-install.iss" /f2"c:\DISK1\oracle_log.txt" /v" /l*v "c:\DISK1\oracle_msi_log.txt""
    Installation is failing with below error from the log file,
    1: OracleXE-Server-Install-Message: Port 8081 is in use. Specify a different port number.
    Installshield 11:22:22: Installation aborts, ready to shut down.
    Port 8081 is being used by mcAfee in our organization. We tried passing a different port number for Http in the response file(.iss), but it is failing with same reason.  We have searched foruns and found that we need to stop the port8081 during the oracle XE installation and can start it later once the installation is completed. But As port 8081 is being used by McAfee in our organization, we could not stop it even during oracle XE installation as it creates security issues.
    I am attaching the MSI log(failure log) and modified .iss(modfied .iss file to .iss.txt to be able to attach) files. Please look into it and suggest how can we achieve silent installation in this case.

    Pl see previous discussions about this topic - seems to be a limitation of the silent install process
    OracleXE-Server-Install-Message: The 8081 port is in use.

  • Scheduled Web Intelligence report fails with ORA-01013 and WIS 10901

    Hi,
            the environment I'm working in is BOXI R2 SP4 on a Solaris 10 server using WebLogic running against Oracle 9i database.
    I have a report written by one of the users. In SQL Viewer the SQL detailed is two joined Select statements. Each time this report is either scheduled or refreshed is fails with an ORA-01012 and WIS 10901 error.
    I am of the understanding that this failure relates to the fact that the 'Limit Execution Time To;'  value is being exceeded.
    I also understand that this value is infact divided by the number of Select statements present, and that each Select statment is them allocated an equal portion of this value.
    If any of this is incorrect please correct me.
    I therefore have two questions
    1. As such would I be correct in assuming that in my scenario where 2 Select statments are present and where the execution limit is set to 30 minutes, that each Select has 15 minutes to complete, and that if either fails the ORA-01012 and WIS 10901 error is generated.
    2. Also would this error message get generated as soon as the first failure occurred, or would BO initiate a cancellation of the SQL by Oracle, ORA-01012, only when the final request has either succeeded or failed.

    The queries are not executed in parallel but in serial. So the total execution time configured will be for all the Select statements in the report combined.
    As for your second question, since the execution is not parallel hence BO will not initiate any error message until the total execution time exceeds the defined limit. This could be during the execution of first select statement or the second.
    Try executing the queries directly in database one by one and see how much time they are taking.
    - Noman Jaffery

  • I can register an OCX file in Windows 7 x64 without incident but with Windows 7 x32 I get a p-up that says "DllRegisterServer failed with error code: 0x80004005. What gives???

    Hey yeah.  not much else to say.  The title says it all.
    I'm trying to register an OCX file that my video editing application requires to work properly.
    I'm using a  Registry (Regsvr32 and Regsvr64) tool to Register DLL/OCX files.  Both bit Registry tools work fine. I can Register any DLL or OCX file with Windows 7 x64 and everything goes smoothly.
    But, when in Windows 7 x32, again, no problem with merging the Regsvr32 tool, but when I go to register the OCX file message says it was loaded but the DllRegisterServer failed with error: 0x80004005.
    Why does everything work in Windows 7 RC 7100 x64 but not in Windows 7 RC 7100 x32???GA P35 DQ6 Mb, Intel Wolfdale 8600 3.33Ghz C2D CPU., 4x2Gb Mushkin DDR2 1066 PC2 8500 Ascents Memory Mods., PNY-nVidia GE Force 8800 GTS (640MB), 4-Western Digital Caviar SATA(2) HDD's (internal), 1 EIDE-USB External; Hauppauge PVR 1600 TV tuner, Dual Monitor: (1) Standard up top, (1) WideScreen below; Altec Lansing Speakers. Here Kitty, Kitty...that's my Kitty Kat, he's a Kat, because he is kat...kat.

    I don't know what happened. 
    My Video Editing software was working fine a few days ago in Windows 7 x64.  Tried using it this morning....couldn't load the .mpg video clip.  Just stood there looking stupid like it does in the 32-bit version of Windows 7.
    I was hoping the x64 version of Windows 7 RC 7100 was going to make a decent run against my XP Pro SP3 setup. When I was able to register the required .ocx file for the video editing application, I thought "cool".  I made a TV recording then used the Video Editor to edit it and it worked fine.  Earlier this morinng I made another TV recording, went to go edit it and the video editing application couldn't load the .mpg file at all.  This problem just annihilated any chance of me ever purchasing Windows 7, 32 or 64-bit.GA P35 DQ6 Mb, Intel Wolfdale 8600 3.33Ghz C2D CPU., 4x2Gb Mushkin DDR2 1066 PC2 8500 Ascents Memory Mods., PNY-nVidia GE Force 8800 GTS (640MB), 4-Western Digital Caviar SATA(2) HDD's (internal), 1 EIDE-USB External; Hauppauge PVR 1600 TV tuner, Dual Monitor: (1) Standard up top, (1) WideScreen below; Altec Lansing Speakers. Here Kitty, Kitty...that's my Kitty Kat, he's a Kat, because he is kat...kat.

  • External Drive Disk Erase Failed with the Error Input/Output Error

    I have 2 hard drives in an external FW800 enclosure that I am unable to format. When I go to initialize the drives in Disk Utility, I get the following error message: "Disk Erase failed with the error: Input/output error."
    The drives show up in Disk Utility, but I can't repair them (that option is grayed out). Disk Utility correctly ID's the manufacturer of the drives (Maxtor), their size (200gb each), so it's obviously seeing that the drives are there. But it won't let me format them.
    The drives are new, by the way; they don't have any data/files on them. I have Disk Warrior, but the drives don't show up there to be repaired -- probably because they aren't formatted yet.
    After looking at other posts, I tried switching the jumper settings around on the drives -- from Master/Slave to cable select and back again, but it didn't help. I also tried doing a zero erase (even though the drives are new), zapping the PRAM -- again, no help.
    One question I had is whether this could be a bad FW800 cable? The cable is new -- it came with the enclosure, which is an OWC Dual FW 800 enclosure. Other than that, does anyone have any other thoughts about what's causing this? Any help would be greatly appreciated.
    Matthew

    SOLUTION!!!!
    I had the exact same problem. I have the original 20 GB hard drive that came in my Powerbook G4 550MHz and a couple of years ago I traded up for a 60 GB drive and bought a FW/USB enclosure for my original drive to use it to backup my important files. I hadn't backed up in over a year (shame on me!) and I decided maybe I should erase the drive and start from scratch. It was connected via USB.
    At that point DiskUtility gave me the exact same Input/Output error. I tried partitioning the drive into 1 or more partitions but came up with the same error. I couldn't figure out what was wrong so I decided to startup in OS 9.2.2, I did that and let it start up, then plugged in the hard drive and it gave me the standard "This disk is unrecognizable, do you want to eject or erase?" so I clicked Initalize. It worked!
    Just make sure you choose the MacOS Extended option when initializing out of OS 9 (instead of the MacOS Standard option) so it can be read and viewed in OS X.
    If your computer is too new to be able to boot from an OS 9 folder on your drive or an OS 9 CD, then see if a friend or a local library has older computers that are running OS 9 or can boot from it. If not let me know and you can send me your drive and I'll reformat it.
    Kind of crazy...I haven't used the OS 9 partition on my HD in YEARS...was even thinking about erasing it since I don't use any Classic applications anymore...good thing I didn't!
    Nick
    Powerbook G4 550Mhz   Mac OS X (10.4.6)  

  • Transfer ID failed with LUM errors

    I have 4 netware servers to migrate to OES2. One was completed successfully using Transfer id a few weeks ago. This weekend I attempted another.
    The last part of the transfer id failed with LUM errors that it couldnt access lum objects admingroup, www etc. As we have had one successful migration these objects do exist in the tree and are lum enabled. The /etc/nam.conf was modified prior to starting the transfer id to point to the ldap server with the master replica. I did create too many projects which I think caused me the lum errors which I couldn't get past. With the source server turned off I followed a TID dated 2009 for this LUM error and modified the unix object which had been created to be members of the groups it required, (luckily I had the previously migrated server unix object to compare to) quit the migration software and rebooted the server and then ran ndsrepair. No errors. I did not migrate any services.
    Further investigation revealed errors relating to obtaining the SSLCert but it has not expired and despite the cant get it messages the files .der and .pem appeared in the correct folders on the target server. I did copy the .der file to the required location naming it with the ipaddress as per manual instructions. The target server now has a case of dual identity. The nss volumes are mounted ok and the users can map drives using the source server name but the Suse Linux server still thinks that its the pre-migration server when I run a terminal session. Ifconfig shows the correct source server ip. Consoleone is another story. The volume objects are the old ones and the new ones with pools are not showing. From the users viewpoint it works.
    Before I do more damage can someone please point me in the right direction. The target name did change to the source before the restart so therefore I should just need to do the hostname rename manually. Should I start at step 7 in the manual instructions in an attempt to fix this server or should I abandon it and start again?

    $(UKevin
    This defect will make into the next OES2SP2 Patch (post September). We didn't have enough time for QA to regress the fix for September Patch.
    -Ramesh
    >>>
    From:
    kjhurni<[email protected]>
    To:
    novell.support.open-enterprise-server.migration
    Date:
    10/05/2010 09:06 PM
    Subject:
    Re: Transfer ID failed with LUM errors
    Great, thanks!
    As I mentioned previously, we DID find a bug about 3 weeks ago with LUM
    repairfailing during the "group" (admingroup). We do have a field
    patch for it, but obviously it's not made it into the channel yet.
    So if you DO still have that problem, you should probably ask for the
    patch (it's one file).
    The defect #635574
    Should help them reference the bug and get the patch for you.
    I'm not sure when it will be released into the patch channel.
    Not to say this fixes any and all LUM problems but since we have that
    patch, we've not had any issues with the remaining OES2 SP2 64-bit
    servers we've done with ID Transfer.
    kjhurni
    kjhurni's Profile: http://forums.novell.com/member.php?userid=734
    View this thread: http://forums.novell.com/showthread.php?t=422454

  • System Preferences silently fails on relaunch

    hi all..
    I just installed a utility on 10.7.5 called Orbicule Witness. It adds a pane to System Preferences. On reboot following install of the utility I tried to access System Preferences and see the following in a Console App window:
    13-04-01 12:09:19.602 AM System Preferences: dlopen_preflight failed with dlopen_preflight(/Library/PreferencePanes/Witness.prefPane/Contents/MacOS/Witne ss): no suitable image found.  Did find:
              /Library/PreferencePanes/Witness.prefPane/Contents/MacOS/Witness: GC capability mismatch for /Library/PreferencePanes/Witness.prefPane
    and a dialog appears telling me "To use the Witness preferences pane, System Preferences must quit and reopen.". So i press "OK" and it sends the following message to the console:
    13-04-01 12:10:35.219 AM launcher: posix_spawnattr_setbinpref_np failed
    This is consistently reproducible. It seems that System Preferences is trying to relaunch in a fashion that is compatible with the Witness pane, but silently fails for some reason (btw "silently fails" is Concentrated Evil).
    Is there some way to determine why it is failing and fix the problem?
    thanks!

    I have uninstalled it and, of course, the System Preferences loads. Did it twice to make sure. You can also take a shortcut to de-register the Witness pane and, again, System Preferences loads.
    Also tried setting the System Preferences app to 32-bit using Get Info.. that does not work, but I don't see any visual indication that the System Preferences app is actually running in 32-bit mode. Is there some way of telling? If System Preferences cannot run in 32-bit mode then it's probably an OS issue. If it can, and the Witness pane still is not loading, then it seems likely to be app-specific.

  • ODS activation failing with the reason : ODS not built properly"

    Hai,
             I have a process chain wherein I have an ODS thats being loaded and activated. The problem is that the load is successful but the activation is failing. When I see the process monitor, it says "DataStore ZXXXX built incorrectly; cannot update request REQU_******". When I checked this ods in RSRV, in test for ODS objects, the test for "Foreign Key Relationship of Reporting-Relevant ODS Object and SID Table Characteristics " failed with the errors like :"The SID values are missing for 2 specifications for characteristic ZLPORTG"
    Can somebody suggest me how I can solve this problem? It works fine in manual execution and the ODS shows the request is activated and the id is generated after activation.
    It is clearly a SID problem. Do I need to delete all data related to those objects everywhere in the system? I deleted data from that ODS and reloaded. But still the same problem!

    Hi,
    i think you should implement -Note 965599
    also check
    Note 961556 - DataStore (activation): Columns are initialized without rule
    Note 974833 - DataStore (activation): Columns initialized without rule
    Regards,
    San!

  • Migration Request getting failed with error code 152

    Hi Experts,
    We are creating a migration request for moving a transport along the path Development-Quality-Production ( tcode                        /POWERCOR/MRCRE ). But the import into Quality is getting failed with return code 152 and status code E. While the transports without creating the migration request are normal. Please let us know how we can resolve this issue.
    Thanks in advance.
    Regards,
    Surendra Julury,
    +91 9611107275

    Try running the exe remotely on a computer using PSExec under the system context. What happens?
    See here for PSExec - you need the -s switch for local system
    http://technet.microsoft.com/en-ie/sysinternals/bb897553.aspx
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson
    If you do this then you will know. This mimics the behaviour of the ConfigMgr deployment. Use the same .exe -silent etc.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Creating report with multiple queries in clear quest

    Hi,
    I am new to reports and currently working with creating reports that connect to clear quest(CQ).
    I have successfully created several reports, that connect to the CQ, but they all have data from only one query.
    Now I am trying to create a slightly complex report where I need to fetch data from multiple queries. All these queries use 2 parameter to filter their data. I have dynamic cascading parameters to get them. When just connecting they all work ok. I used the link tab to link them to two fields of one query, to make sure that they all filter to fields from same query.
    The problem is when I drop the fields from the various queries on the form, the data is fetched multiple times.
    I also played with links to make them outer links but in that case I get error and unable to run the report completely.
    Any ideas on how to work with multiple queries and provide same parameters to all of the queries?
    Thanks in advance.
    -PAP

    - How do I make sure that the relationship is not one to many?
    You don't. That's the nature of the data. For example a single person can order multiple items. A simple one to many relationship.
    - In the link tab, I can only point to queries, is there a way I can point the fields to report params?
    You should be seeing tables... I think you're having a tough time with the basic terminology.
    - How does these Enforce Joins (4 options) work.
    There is rarely if ever any reason to switch from the default "not enforced". Leave it alone. The only one you'll touch 90% of the time is the Join Type.
    PAP,
    Based on the questions you're asking, it sounds like you are missing some major database fundamentals. My suggestion would be to step away from CR for the time being and read a little bit about relational databases (what makes them relational) and database normalization. This will also give you an idea about the various join types and when to use one over the other.
    You can know every feature and function in CR, but until you have at least a basic knowledge of how data relates, you'll never pull in the data you need.
    Jason

  • DB installs fails with [INS-30060] Check for group existence failed

    Hi folks
    as user jjayet I'm running on OEL 5.6 64 bits the following command to install DB 11gR2 :
    $ /mntmats/SOAVM0504/AUTO_WORK/dbzip_shiphome/database/Disk1/runInstaller -ignoreSysPrereqs -invPtrLoc /ade/jjayet_dte9672/oracle/work/DATABASE1/oraInst.loc -force -silent -waitforcompletion -responseFile /ade/jjayet_dte9672/oracle/work/DATABASE1/db.rsp
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 120 MB. Actual 15258 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 16454 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-05_06-07-54AM. Please wait ...[FATAL] [INS-30060] Check for group existence failed.
    CAUSE: Unexpected error occurred while trying to check for group existence.
    $ id
    uid=511053(jjayet) gid=8500(dba) groups=8500(dba),59031(oinstall)
    the problems seems relater to accessing /tmp
    as the local disk is not enough to use the default /tmp (the DB install will fail with full disk error as the local disk space is very low )
    I've created a partition from new disk to /tmp which I have then mounted (default is nfs3) :
    # mount /dev/xvdc1 /tmp
    # mount
    /dev/xvdc1 on /tmp type ext2 (rw)
    the result of DB install into /tmp is :
    # cd /tmp
    # ls -altr
    drwxr-xr-x 32 root root 4096 Apr 5 06:07 ..
    drwxr-xr-x 2 jjayet dba 4096 Apr 5 06:36 CVU_11.2.0.2.0_jjayet
    drwxrwxrwx 7 root root 4096 Apr 5 06:36 .
    if I umount /tmp but use the local /tmp
    re-running the DB installer as user jjayet it does not raise the error above
    and now local /tmp contains :
    # cd /tmp
    # ls -altr
    drwxr-xr-x 32 root root 4096 Apr 5 06:07 ..
    drwxr-x--- 10 jjayet dba 4096 Apr 5 06:25 OraInstall2012-04-05_06-25-28AM
    drwxr-xr-x 3 jjayet dba 4096 Apr 5 06:25 CVU_11.2.0.2.0_jjayet
    drwxrwxrwt 5 root root 4096 Apr 5 06:25 .
    do you know how to use tmp over nfs with user jjayet so that the DB can install properly ?
    it seems that the files created as user jjayet into mounted /tmp are not identified properly
    thks in advance
    jean

    thks for the pointer
    I found the post you mention but it does not help
    it does not explain the root cause of the problem but just propose a workaround to pass an option to installer which will popi\up an interactive messgae at install time
    as installation is done automatically through ADE / DTE I cannot use this workaround
    any expert in oracle DB install can help ?
    thks
    Jean

  • Error: Third party payload installer vcredist_x64.exe failed with exit code: -2147024546

    There was also an error for "Failed to install Microsoft Visual C++ 2012 Redistributable Package (x64). Please try installing it by double clicking on the executable at"
    Would anyone happen to have an answer?
    I'm on a college campus with super fast internet download speeds, and i have a beefy Lenovo. Y510P with dual graphics cards i7

    Hi,
    When are you seeing this? Can you try launching Ps and right after hold down the shift key?
    Close Photoshop.
    Hold down the Shift key and launch Photoshop. A dialog will appear during launch that reads "Skip loading optional and third-party plug-ins?"
    Click Yes to skip loading optional and third-party plug-ins.Note: This only disables optional and third-party for the current session. If you quit and restart Photoshop without holding down the Shift key, the optional or third-party plug-ins will be enabled.
    My guess is that you have a third party plugin which is causing this to happen.
    regards,
    steve

Maybe you are looking for

  • Payment Run Error( F110)

    Hi , I am getting error in Paymnet Run, "Balancing filed Business Area is not fileld in Line item - Due to this i am not able to print the checks. How to avoide & rectify this error. Regards, SSridhar

  • 4s screen went black after updating to iOS 8.2

    So i updated my iPhone 4s to iOS 8.2 and the screen just went black after that. The phone is on but nothing appears to the screen and booting doesnt help. What should i do?

  • Media Sync and Windows 2000

    Hello, I'm using for few days a BlackBerry Curve 8900 with a PC under Windows 2000. Did anybody kept the installation package for Media Sync V2, which seems to be compatible with Windows 2000 ? Only the V3 is available on the BlackBerry site. Thanks

  • Primavera p6 v7 Tested configuration

    I am planning a Primavera P6 v7.0 implementation. Our preferred platform and database is MS SQL server 2008 R2 on MS windows 2008 R2. We also use Citrix Xen App 6.0. This does not appear to be a tested configuration - is anyone using this config' and

  • Mail and Gmail two-step verification

    For the last several days I've been encountering an issue with Mail.app and gmail where my application specific password is valid for one day only. This is not the case for the application specific password I have set up to work with Mail on my iPhon