BUG: implied .executeBatch() failing with new drivers?

Our application uses batching with SQLJ and is experiencing an issue with the latest driver versions and Java 1.5. It used to work fine when issuing a few INSERT statements with a specified execution context and then letting the SQLJ COMMIT execute the pending statements in the batch when the transaction was finished. With the new drivers, the SQLJ COMMIT is successful but it doesn't write any of the pending batches to database as it is supposed to (per the Oracle Database SQLJ Developer's Guide and Reference).
In a small testcase I prepared (see the next message for the code), it shows a new batch was created for the first statement (NEW_BATCH_COUNT returned). It also shows subsequent statements are added to the existing batch (ADD_BATCH_COUNT returned). The COUNT() statements show the data never makes it to the database and the table contents were verified in the database after program completion.
Java: 1.5.0_10
Oracle Database: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
Oracle JDBC Driver: 10.2.0.2.0
translator.jar: JPublisher 10g Release 10.2
runtime12.jar: JPublisher 10g Release 10.2
Can anyone please confirm this is a bug?
Thanks much

//---------- C O D E ---------------------------------
package com.sqljtest;
import java.sql.*;
import java.util.*;
import sqlj.runtime.ref.*;
import sqlj.runtime.*;
import oracle.sqlj.runtime.*;
public class Sqljtest extends java.lang.Object {
public static void main(String[] args) {
Connection con = null;
DefaultContext connContext = null;
ExecutionContext ec = null;
try {
String driver = "oracle.jdbc.OracleDriver";
String url = "jdbc:oracle:thin:@127.0.0.1:1521:mysid";
String user = "scott";
String password = "tiger";
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
con = DriverManager.getConnection(url, user, password);
con.setAutoCommit(false);
connContext = Oracle.getConnection(con);
connContext.getConnection().setAutoCommit(false);
ec = new ExecutionContext();
ec.setBatching(true);
Vector collection = new Vector();
collection.add("one");
collection.add("two");
collection.add("three");
collection.add("four");
collection.add("five");
int rowCount, updateCount;
#sql [connContext] { SELECT COUNT(1) INTO :rowCount FROM sqljtest };
System.out.println("before rowCount:" + rowCount);
for (int i = 0; i < collection.size(); i++) {
#sql [connContext, ec] {
INSERT INTO sqljtest blah VALUES (: ((String)collection.get(i)) )
updateCount = ec.getUpdateCount();
System.out.println("INSERT (" collection.get(i) "): " + updateCount);
#sql [connContext] { SELECT COUNT(1) INTO :rowCount FROM sqljtest };
System.out.println("after inserts rowCount:" + rowCount);
#sql [connContext] {COMMIT};
#sql [connContext] { SELECT COUNT(1) INTO :rowCount FROM sqljtest };
System.out.println("after sqlj commit rowCount:" + rowCount);
} catch (Exception e) {
System.err.println("Exception e: " + e.toString());
} finally {
try {
if (connContext != null && !connContext.isClosed()) {
connContext.close(ConnectionContext.CLOSE_CONNECTION);// .CLOSE_CONNECTION
if (con != null) {
con.close();
} catch (Exception e) {
System.err.println("Exception while closing connections: " + e.toString());
//---------- O U T P U T -----------------------------
run SQLJ Test:
[SQLJ Test] before rowCount:0
[SQLJ Test] INSERT (one): -3
[SQLJ Test] INSERT (two): -4
[SQLJ Test] INSERT (three): -4
[SQLJ Test] INSERT (four): -4
[SQLJ Test] INSERT (five): -4
[SQLJ Test] after inserts rowCount:0
[SQLJ Test] after sqlj commit rowCount:0

Similar Messages

  • Tried to update iPod, failed, no new drivers installed. Now iPod does not show in my computer or in iTunes.

    Anyone know how I can update/unbrick this iPod? It's useless. It's stuck on the screen that says connect to iTunes. iTunes doesn't know it's there. My computer doesn't know it's there. It's not the USB port.
    Please don't direct me here - http://support.apple.com/kb/HT1808 - already tried, no results.
    Last time it was a missing driver for iTunes but iTunes says nothing new is needed. Help appreciated.

    Let me try this again. My computer said my iPod needed an update. I clicked ok. iTunes said it was doing the update. I browsed the internet. I came back to it after it was done, and it said update failed, no new drivers installed. Now my iPod touch is a brick. I cannot use it for anything. You know that screen that shows the usb cable, a white arrow, and iTunes? It's stuck there. No amount of pushing the sleep/wake button and home button will convince it to go to any other screen. When I go to 'My Computer', it does not recognize that there is anything there. It is not the USB port. Everything was fine until the update tried and failed.
    I am not installing iTunes (piece of crap software that it is) on the other computer in my apartment.
    I have exhausted the articles that sort of go with the problems I am having. They all assume a non brick iPod. Mine is a brick and therefore those articles, including the one you linked, are not relevant.
    Not meaning to be rude, but I came into this not caring much for Apple's business model. I've had my iPod for .. a week? Maybe two, and nothing I've seen has convinced me to feel otherwise. Apple's products are supposed to just work. I am not finding that to be the case. Anyone with anything helpful please?

  • Problems with new drivers?

    Holy Swear Filter Batman, but these are powerful drivers! They blew my entire Windows set up away.
    After I followed the link to the nVidia page, downloaded and installed, the beast refused to boot. Well, she booted, and immediately rebooted, and rebooted, and rebooted.
    I finally managed to get into safe mode to uninstall the pesky little buggers; started at the beginning with HD drivers, which produced a restart. And then: Windows refused to load because some file or another was corrupted or missing. I should know which one, because I saw the name so many times it should be burned into my memory; but I guess I've repressed it.
    Repair mode didn't work; the only thing that did was a new install. Hey, great.
    Chances are I did something wrong, but unless nVidia explains it to me in words of one syllable, I'm going to blame them!
    Oh yes, of course, I wasn't backed up Double Ouch!
    System:
    Mecca Future Dreamers CP101
    Thermaltake Purepower ATX420W
    MSI K7N2G-L
    BIOS 3.2
    XP2000+ T'bred
    1 x 256MB Spectek PC2700
    Maxtor 40GB 7200RPM
    JustCool internal HD cooler
    Maxtor 6.4GB 5400RPM
    Lite-On 32x12x40
    NEC 100MB Zip drive
    Win 2k Pro (SP 3)

    My system wont recognize DVD's now after trying the 3.13's. I tried mWarheads nForce reset and Driver cleaner route first = no go. I reformatted and reloaded OS with both Microsofts IDE drivers, no go, then mWarheads 2.45 remix still no go. I'm ready to snap this mobo in half. I will try a different drive first. Its rediculous that nVidia can't release good drivers as long as these boards have been out.......
      I'm about ready to try Intel.......  never, EVER thought I'd say that......

  • X fails with new catalyst drivers

    I'm running 64bit arch and i just upgraded to the new catalyst drivers from AUR (9.4). When I try to run xorg now, it fails (screen just goes black and I can't switch to any of the vcs or kill X). The X log file says that it can't load the glx module because it doesn't exist. I'm not entirely clear on modules and how they work, but what should I do to try and get X working?
    Gratias vobi ago!
    Last edited by Qvintvs (2009-03-28 17:08:54)

    I'm running a Radeon HD 4870 x2. I've been trying some things, and now I dont get the missing glx error. I do get these errors:
    (EE) Failed to load module "dri2" (module does not exist, 0)
    (EE) Failed to load module "record" (module does not exist, 0)
    (EE) fglrx(0): Unknown EDID version 0
    Though it appears that X keeps going past all three of these. Here's my entire log: http://pastebin.com/f5153ff39 . Here's the xorg.conf file aticonfig generated with the unused device, monitor, and screen sections commented out: http://pastebin.com/f1e765d83 .
    Any help on where to go next would really be appreciated, I've been at this for over a day now.
    jun, I think the wiki discourages getting the drivers from the amd site directly, though given the success (or lack thereof) I'm having with the AUR drivers, I can't say (personally) that they're any better.
    Last edited by Qvintvs (2009-03-29 19:18:06)

  • BUG: File History fails with no warning- Event ID 201

    I apologize for the long post but I want to summarize everything I've learned about this so far, as it looks like a critical bug.
    I am unable to get File History to backup my files with Windows 8.1.  I set up a 1 TB USB HDD as the target drive and it seemed to run for a minute or two, and then quit completely without any warning.  It created two empty folders on the target
    HDD, but no data was backed up.  I then clicked "Run Now" to try and get it going again, but nothing happened. 
    Under "Advanced Settings" I opened the event log, and saw an Event ID 201 was created each time File History attempted to run: "Unable to scan user libraries for changes and perform backup of modified files for configuration C:\Users\MyUserName\AppData\Local\Microsoft\Windows\FileHistory\Configuration\Config". 
    I've pasted the entire error below.  The "Event Log Online Help" link opens to "Page not Found" on TechNet.
    A Google search revealed other users are experiencing this problem, too (links below).  Some people have been able to solve it by excluding libraries and/or moving all of their data out of the libraries then replacing it one folder at time, running
    FH, and repeating until they find the "offending" file by error 201 occurring.
    There are reports of similar problems with Event IDs 202, 203 and 204.   A similar, but separate error is "Unusual condition was encountered during scanning user libraries for changes and performing backup of modified files for configuration C:\Users\MyUserName\AppData\Local\Microsoft\Windows\FileHistory\Configuration\Config". 
    Based on others' posts, the problem appears to be a bug in how FH handles files/folder names that are similar,
    contain unusual (but legal) characters, and shortcuts ("reparse error").   The second bug is, regardless of which Event ID, that
    FH does not alert the user when it fails, so you have no idea your files are not being backed up.  Even if you are able to eliminate the problem once, there is no guarantee that it won't happen again.  Once error 201 occurs, File
    History is dead in the water and unfortunately since Windows 7 File Backup was removed, there is no alternative data backup method available.
    If anyone has an idea of how to solve or work around this problem (i.e. under exactly what filename conditions FH fails), please post.  I have Windows 8.1 installed on drive C, Windows 7 on drive D, and a data partition E onto which I moved all my Libraries. 
    The Win 7 and 8.1 libraries are in separate folders and not linked in any way, so 8.1 is not trying to back up 7's data.  However, the partition arrangement does not appear relevant.
    Thanks!
    Related links:
    http://answers.microsoft.com/en-us/windows/forum/windows_8-files/filehistory-unable-to-scan-user-libraries-for/b43183bc-eeaa-4d1a-bda4-0ab9dcf061be
    http://social.technet.microsoft.com/Forums/windows/en-US/ccd27fbc-2d95-4ab7-bdd1-2c0c6a43bd2f/file-history
    My Event Log:
    Log Name:      Microsoft-Windows-FileHistory-Engine/BackupLog
    Source:        Microsoft-Windows-FileHistory-Core
    Date:          4/3/2014 11:01:19 PM
    Event ID:      201
    Task Category: None
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      ThinkPad-Edge
    Description:
    Unable to scan user libraries for changes and perform backup of modified files for configuration C:\Users\inert_000\AppData\Local\Microsoft\Windows\FileHistory\Configuration\Config
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-FileHistory-Core" Guid="{B447B4DB-7780-11E0-ADA3-18A90531A85A}" />
        <EventID>201</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x1000000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-03T14:01:19.267846200Z" />
        <EventRecordID>12</EventRecordID>
        <Correlation ActivityID="{388E273A-4F3D-0001-022B-8E383D4FCF01}" />
        <Execution ProcessID="556" ThreadID="5128" />
        <Channel>Microsoft-Windows-FileHistory-Engine/BackupLog</Channel>
        <Computer>ThinkPad-Edge</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="Hr">2147747327</Data>
        <Data Name="ConfigFilePath">C:\Users\inert_000\AppData\Local\Microsoft\Windows\FileHistory\Configuration\Config</Data>
      </EventData>
    </Event>

    Hi, thanx for the post. It helped me to fix my Problem with file history.
    In my case it was the spelling of some files. I'm German and we have some Special chars like ä,ö,ü and ß.
    The "Problem" is that You can spell These also in a different way for example "ä" is same like "ae" and "ß" is same like "ss" .
    If I Name one file like "groß.txt" and the other one "gross.txt" file history won't work! I don't know why, probably MS conversts the Name in the background or whatever - but this really
    sucks!
    Even more that You don't get informed! Only when checking the eventlog - and not even in the "normal" eventlog - You have to go to "Microsoft-Windows-FileHistory-Engine/BackupLog" - well, how often does one look up this??
    I think file history is quite useless in this state as it does not inform the user about Problems with the backup. And I really don't want to get "informed" when I Need to restore some files...
    Cheers
    To life is christ, to die is gain...

  • Mac Pro (Early 2008) failing with new monitor

    Hi All,
    I am having a strange problem with my Mac Pro and new display (ViewSonic VX2703MH-LED 27-Inch LED-Lit LCD Monitor). I first noticed some strangeness when I attempted to temporarily run the maching on a new Samsung HDTV that doubles as a computer monitor. I am using a Mini-DV to HDMI adapter, which worked great on two Samsung monitors I'd previously purchased. Anyway, I returned those because I needed ones with standard VESA mounts. So when I plug any of the new monitors in, I am getting some very unstable behavior. Sometimes the mac won't even start up, not even in safe mode. I was able to check all of my disks and zap the P-RAM, and all seems OK, yet every time I am able to startup and login successfully, it crashes after a short while after the display starts acting up. Horizontal and vertical lines come through and all of the color gets messed up. Sometimes my startup screen looks like this:
    I found a table on apple.com that shows which Mac models can use Mini DVI --> HDMI adapters, but it is incomplete - it doesn't mention the Mac Pro from early 2008 at all. I was going to install Mavericks, hoping that might help, but I couldn't burn a bootable DVD copy of Lion because it is a tad too large for a DVD, even though I've read on several sites that this is possible! I am scared to blindly do the upgrade, because I am pretty sure this is some kind of hardware issue. Anyone have any experience with this? I don't think it can be just the Viewsonic monitor because I had similar troubles on the Samsung TV...however the previous Samsung monitors are not here to test. Any insight appreciated!

    RE: Mac Pro Replacement Graphics cards
    1) Apple brand cards,
    2) "sold in the Apple store" cards, and
    3) "Mac Edition" cards ...
    ... show all the screens, including Boot up screens, Safe Mode, Installer, Recovery, debug screens, and Alt/Option boot screens. At this writing, these choices include:
    1) Apple brand cards:
    • Apple-firmware 5770, about US$250** works near full speed in every model Mac Pro, Drivers in 10.6.5
    • Apple-firmware 5870, about US$450
    2) "sold in the Apple store" cards
    • NVIDIA Quadro 4000, about US$1200
    • NVIDIA Quadro 5000, about US$2500
    3) "Mac Edition" cards -- REQUIRE 10.8.3 or later:
    • SAPPHIRE HD 7950 3GB GDDR5 MAC Edition, about US$480** Vendor recommends Mac Pro 4,1
    • EVGA GTX 680 Mac Edition, about US$600
    The cards above require no more than the provided two 6-pin aux power connectors provided in the Mac Pro through 2012 model. Aux cables may not be provided for third-party cards, but are readily available.
    If you are Meet ALL of these:
    • running 10.8.3 or later AND
    • don't care about "no boot screens" etc AND
    • can re-wire or otherwise "work out" the power cabling, THEN:
    You can use many more cards, even most "PC-only cards"

  • R9 290 Black screens with newer drivers

    Hi guys. I have a brand new Gaming 290 4G. I cannot get both my displays (1 on DVI and the other on HDMI) to work when trying to install the latest couple of drivers. I have tried 14.12, 14.11.2 and 14.9. As soon as the driver is installed, both my screens just go black and i have to unplug a display and hard reset my pc. If i try booting with both screens attached, i have display on both, up to just before the login screen, then both go black. With only a single display attached (DVI or HDMI), everything works fine. I tried the drivers that came bundled with the card (13.11) and i have no issues then, both displays works perfectly. What am i doing wrong here ?

    complete uninstall older drivers 1st in Safe Mode with DDU:
    http://www.wagnardmobile.com/DDU/ddudownload.htm
    then reboot to normal mode and install the new one as usual
    Quote from: etienneb0601 on 31-January-15, 18:54:02
    Hi.
    No, not yet, ive been downloading from AMD's site.
    I will download the 14.4 here from work and try them tonight when I get home.
    Is there a difference between the drivers that MSI offers and the ones from AMD's site ?
    Does MSI update the drivers frequently, in line with AMD ?
    Thanks
    on msi site are mostly stable one with less issues

  • Openssh bug - GSSAPI authentication fails with Round Robin DNS hosts

    Hello,
    today I run into this bug:
    https://bugzilla.mindrot.org/show_bug.cgi?id=1008
    There is a patch for it (the one proposed by Simon Wilkinson which enable the GSSAPITrustDNS and it's known to work), but I noticed that unfortunately the version shipped by Arch Linux does not include it.
    Is it possible to consider to rebuild the package (or having a fork) from the patched sources?
    Many thanks!

    I would check if you are not getting a new IP after a connection drop, that might cause trouble with dyndns.
    Do a dns lookup and check that you get the correct IP and not something like 127.0.0.1 or your previous IP. You can also try to connect using IP only after you start having problems and check if the problem is with dns or something else. Check the logs and look for anything suspicious.

  • Nokia Messaging send failing with new certificate

    I got a certificate update from my mail provider (IMAP business mail) and since then have been unable to send any emails from my Nokia E72. Reading mail is fine but everytime I send I get a bounce with the following message:
    500: Failure - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Everything still works fine with my blueyonder email (branded google mail).
    I think the problem therefore is that the certificate update from the mail provider isn't trusted by the nokia messaging server and that I don't seem to have a way to tell it to trust the new certificate (which I had to do on my laptop to access the same mail). ALthough I don't understand why I can still receive ok.....
    Help!

    Found it out at last.Look at the trouble shooting section of the following faq
    https://email.nokia.com/account/faq.action

  • Time Machine Fails with New Internal HDD

    After vertical lines began proliferating on the screen of my iMac (intel core duo, late 2006 running Leopard 10.5.8), my Apple tech swapped it for a "similar" iMac, running the same OS, and dumped the contents of the original HDD onto the much larger new one. However, instead of an intel, the swap got me one of the original iMac G5 PPCs made in early 2006. After several days of having to reinstall software and other awful adjustments, the biggest problem is accessing Time Machine and having it continue with the new set-up (I gave the new HDD the same name as the old one).
    I can enter Time Machine but it remains static and I can not access any previous backups the usual way... I can click open the external drive (LaCie 1TB, Mac OS Extended, case-sensitive, journaled) and copy files if need be. It is filled only at 1/4 capacity.
    While doing that, I noticed in the backup list a last document "2011-11-01-024657.inProgress" at 3:47am followed by an alias folder "Latest" with the time stamp of 1:47am. I take it that 3:47am backup was interrupted when the iMac was shut down.
    I turned on Time Machine yesterday to get backups restarted but the first backup "failed." Now that the computer is different, will I have to reformat the LaCie to engage TM once more? Partition for two backup sets? For any of these options, I'd appreciate a step-by-step.
    Thank you too much!

    ClarkCom wrote:
    I can enter Time Machine but it remains static and I can not access any previous backups the usual way
    By default, Time Machine only shows the backups for the Mac it's running on.  To see the backups for a different one, you need the Browse... option, per #E2 in Time Machine - Troubleshooting.
    I can click open the external drive (LaCie 1TB, Mac OS Extended, case-sensitive, journaled)
    That's not a problem, and is the default when you let Time Machine format a backup drive.
    I noticed in the backup list a last document "2011-11-01-024657.inProgress" at 3:47am followed by an alias folder "Latest" with the time stamp of 1:47am. I take it that 3:47am backup was interrupted when the iMac was shut down.
    Correct. 
    I turned on Time Machine yesterday to get backups restarted but the first backup "failed."
    That could be any of a number of things.  See #C2 in the Troubleshooting article.  It will show you how to locate the message(s) that describe the problem, then help you fix it.    If that doesn't help, post back with details, including all the messages.
    Now that the computer is different, will I have to reformat the LaCie to engage TM once more?
    Depending on the space available, maybe, and it may be wise anyway.  Time Machine will start a new set of backups for the new Mac, so will need lots of room.  Worse, when the backup disk gets full, it will not delete the oldest backups from the old Mac to make room -- it will delete the oldest backups from the new one, instead.  (That's been fixed in Snow Leopard and Lion, but not Leopard.)

  • Geforce3 Incompatibility Issue with Newer Drivers

    Well... now that I know that my GF3 Ti-200 won't work properly with drivers above 44.xx, does anyone know for sure if MSI is aware of this issue? Or is it all just hearsay? Are they doing anything about it? Is there a software fix or BIOS update in the works?
    If MSI deviated from the reference design, they should be responsible enough to fix it.

    Thaks for your message.  I am having similar problem. I have the VGA card just slightly over 18 months and some of my DVDs stopeed playing. I have tried updates of drivers and BIOS, couple removals of MSI WinDVD and new installations.
    NOTHING WORKS. I HAVE EVEN SEND THEM AN E-MAIL. They do not seem to give a damn.
    I guess that was last time I bought anything from MSI.
    George

  • External Authentication failed with new key

    I have a card using SCP 01 05. There is 1 keyset(3 keys) with version 01. I have added a new keyset(3 keys as well) with version 02.
    I run external authentication with keyset version 01 and it passed. I run external authentication with keyset version 02 immediately but it returned 6982. This mean "Security status not satisfied". Why can't I do authentication with other key?

    Read the INITIAL UPDATE command !!!! What is the P1/P2 ? If you inform it to use the keyset 1, then you can't possibly think that calculating with the keyset 2 will work ?
    The response data contains a bunch of information, including the keyset used to create the card cryptogram. That is the required key for calculating the off-card cryptogram. You would have seen this if you were calculating the card cryptogram properly because you would have been using the wrong key and the cryptograms wouldn't have matched.
    So, Why can't I do authentication with other key? Because you have to INITIALIZE UPDATE with that other key.

  • EBCC syncronisation fail with new application

    Hello.
    My team has problems using the Portal 4.0 with WLS 6.1 SP1.
    We copied the p13n Domain and rename the Domain and the Server.
    When we then syncronise one of the sample webflows with the new server, all
    works fine.
    Then we add our very simple application with 2 jsps (one with a webflow form
    that fires an event that is configured to switch to the second one) on the
    same Domain/Server.
    When we then want to syncronise the EBCC could not connect (errormsg:
    Authorisation denied. Check User/pass and ensure server running)
    Can someone help us?
    Must we add some tables inside the cloudspace database or is this done
    automatically?
    Where is the relationship between the database and the application
    configured?
    Is there a simple tutorial from A to Z how to set up a new Domain and Server
    ready for webflow / Code and deploy a simplest application / configure
    webflow with ebcc.
    I need a all steps included tutorial to give this to my developers. The
    e-docs are great but it is dificult to collect all pices together.
    If someone has a finished configured simple webflow application please send
    it to me together with the domain config xml.
    Thanks a lot!
    Markus Lutum
    [email protected]

    Frank,
    You only need to do this config steps if you are setting up a cluster (or
    would like to synchronize several machines with a single EBCC instance
    automatically). For the default single user dev. box you should not need to
    do this, just deploying the DataSync WebApp (our apps have it) is all that
    is required. If you don't have any EJBs deployed on the machine (which is
    the case with the typical admin server) you also have to put p13n_util.jar
    under WEB-INF/lib of the DataSync WebApp.
    Please note that config is significantly improved with the upcoming 7.0
    release.
    (Param Name) = (Param Value)
    notifiedName = notifiedNameDataRepository
    notifiedPassword = password
    notifiedLogin = system
    notifiedUrl = http://localhost:7501/scddDataSync/DataSyncServlet
    notifiedRealm = weblogicYou need to append "-1" to all of these (ie. the paramter for the first URL
    would be "notifiedUrl-1", "notifiedUrl-2" for the second etc.
    This does not explain your NoClassDefFoundError however. Try cleaning up the
    temp server directories, double checking you put p13n_util.jar under the
    correct WEB-INF/lib and restarting the server.
    Sincerely,
    Daniel Selman
    "Frank Wang" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi again, Michael,
    I tried what you suggested, and still got the same NoClassDefFoundErrorexception
    for com/bea/p13n/management/data/message/MessageExecutor. This is what Idid:
    >
    1) I moved the p13n_util.jar file intoconfig\petflowDomain\applications\scdd\datasync\WEB-INF\lib.
    >
    2) I added the following parameters to the deployment descriptor for thedatasync
    webapp. Within the console's deployment descriptor screen for thedatasync webapp,
    I went to "Data Synchronization Web Application > Web App Descriptor >Parameters",
    and added the following parameters:
    (Param Name) = (Param Value)
    notifiedName = notifiedNameDataRepository
    notifiedPassword = password
    notifiedLogin = system
    notifiedUrl = http://localhost:7501/scddDataSync/DataSyncServlet
    notifiedRealm = weblogic
    3) Within the startup script (config\petflowDomain\startPetflow.bat), Iadded the
    argument "-Ddata.sync.jdbc.master.dr=true" to the end of the "java"command, immediately
    before "weblogic.Server".
    4) There is only one server configured for the petflowDomain, and it isnamed "petflowServer".
    Since this domain is a part of BEA's sample apps, I did not think I wouldneed to
    configure a separate "sync" server. The JDBC dataSyncPool (Services >JDBC > Connection
    Pools) starts up correctly, and is targeted at petflowServer. The Tx DataSource
    is also configured at Services > JDBC > Tx Data Sources. I really don'tthink that
    there's anything wrong with these configs since I copied this overstraight from
    PetFlow.
    Do you have any other suggestions? I do have a proposal: How about if youguys set
    up a working, blank domain with the correct servers, jar files, xmldescriptors,
    datasync app(s), and then e-mail it to me? Or, conversely, I can zip upmy current,
    non-working domain and send it to you for debugging? This would be fasterthan trying
    to exchange messages on the newsgroup.
    -Frank
    "Frank Wang" <[email protected]> wrote:
    Hi Michael,
    Thank you very much for your research and reply.
    Can you elaborate on Item 2 you mentioned? Which "parameters for
    synchronization
    w/managed servers" are you speaking of? Can you list which file(s) and
    which parameter(s)
    and values to configure? This will save me a lot of time trying tofigure
    that out.
    In Item 4, I'm not sure which servers are the "sync" server and "managed"
    server.
    I only have one server for my "ddDomain" domain. Can you explain this
    as well?
    I'm currently evaluating Portal on my local workstation, so there is no
    other physical
    server involved at the moment.
    Thanks again,
    Frank
    "Michael Goldverg" <[email protected]> wrote:
    Good news, issue is RESOLVED.
    Several things need to be done:
    1. Copy p13n_util.jar to the WEB-INF/lib directory under the datasync
    webapp,
    which
    is used as a proxy. This needed to be done because of the problems with
    the class
    loader.
    2. The BEA Deployment guide has several discrepancies, so the parameters
    fo synchronization
    with managed servers should be defined for the webapp itself, not forthe
    servlet.
    This could be done using the deployment descriptor edit from theconsole.
    Also, the
    document states the name for URL parameter as "notifiedURL" (incorrect),
    should be
    "notifiedUrl".
    3. In the startup parameters for the WLPortal server, running the proxy
    datasync
    application the following parameter should be added:"-Ddata.sync.jdbc.master.dr=true".
    4. Finaly, the datasync connection pool and TX datasource should bedeployed
    on all
    servers (sync server and managed servers).
    It took us 2 days to figure this out, but it works well now.
    Regards,
    Michael Goldverg
    "Frank Wang" <[email protected]> wrote:
    I have the same exact problem as the previous poster. I created a
    brand
    new domain
    called "ddDomain", and made a new enterprise app
    called "scdd". Within it, I created a simple webapp also called"scdd".
    Here's
    my folder structure:
    ddDomain\applications\scdd\
    pipeline.jar
    p13n_util.jar
    scdd\
    index.jsp
    welcome.jsp
    WEB-INF\
    web.xml
    weblogic.xml
    lib\
    webflow_servlet.jar
    webflow_taglib.jar
    datasync\
    (datasync files copied from\bea\wlportal4.0\applications\p13nApp\datasync)
    META-INF\
    application.xml
    The following are my settings:
    ddDomain\applications\scdd\META-INF\application.xml:
    <module>
    <web>
    <web-uri>datasync</web-uri>
    <context-root>scddDataSync</context-root>
    </web>
    </module>
    ebcc > Connection Settings > Connection Details > Data Synchronization:
    /scddDataSync/DataSyncServlet
    WLS starts up fine, and I know that I am hitting my "scdd" applicationfrom
    the browser
    (http://localhost:7501/scdd) since the
    index.jsp file was compiled.
    When I use the ebcc to synchronize (ebcc > Tools > Syncrhonize...), I
    get
    the following
    exception in WLS:
    <Jun 5, 2002 6:01:05 PM PDT> <Info> <Management> <Configuration changes
    for domain
    saved to the repository.>
    <Jun 5, 2002 6:02:56 PM PDT> <Info> <NT Performance Pack> <Allocating:'2'
    NT reader
    threads>
    <Jun 5, 2002 6:02:58 PM PDT> <Error> <HTTP>
    <[WebAppServletContext(14774279,datasync,/datasync)]
    Error loading servlet:
    'DataSyncServlet'
    java.lang.NoClassDefFoundError:com/bea/p13n/management/data/message/MessageExecutor
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    atweblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
    :665)
    atweblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
    va:643)
    (stack trace left out...)
    After a bit of looking, I discovered that the MessageExecutor classresides
    in p13n_util.jar.
    I tried adding this file to the
    scdd\WEB-INF\lib directory, but that didn't work. I also trieddeploying
    it as an
    EJB, that didn't work either, and gave me the
    following error:
    <Jun 7, 2002 11:25:39 AM PDT> <Error> <J2EE> <Error deployingapplication
    pipeline:
    Caught IOException for path=:
    C:\bea\wlportal4.0\.\config\petflowDomain\applications\.wlnotdelete\wlap1
    5174\pipeline.jar>
    Per tip of Mr. Daniel Selman in a previous posting, I tried deployinga
    number of
    other jar files found in
    \bea\wlportal4.0\applications\p13nApp, but they all gave me WLS
    exceptions.
    >>>>
    I am evaluating Portal/Webflow for my company, and would like thisresolved
    asap.
    The documentation is very poor and lacking a
    beginner's step-by-step guide.
    -Frank
    =============================================
    "David Anderson" <[email protected]> wrote:
    Synchronization is accomplished using the DataSyncServlet that needs
    to
    be
    deployed as part of you enterprise application in the datasync web
    application. If you have more than one enterprise application
    deployed
    to
    the same instance of Weblogic Server, you need to make sure that thecontext
    URI for the datasync web application is different for each of the
    enterprise
    applications.
    In your application.xml file there should be an entry as follows:
    <module>
    <web>
    <web-uri>datasync.war</web-uri>
    <context-root>portalDataSync</context-root>
    </web>
    </module>
    Make sure that the <context-root> element is different for each of the
    instances of the datasync application. Additionally, you should checkyour
    synchronization connection settings to make sure that the Data
    Synchronization setting is pointing to your context root. You can
    check
    this from the EBCC using Tools->Connection Settings selecting the
    connections tab on the resulting dialog box, selecting one of your
    connections, hitting the edit button and then the advanced button.
    You may need to clean out the database in order for thesynchronization
    to
    work.
    Dave
    "Markus Lutum" <[email protected]> wrote in message
    news:[email protected]...
    Hello.
    My team has problems using the Portal 4.0 with WLS 6.1 SP1.
    We copied the p13n Domain and rename the Domain and the Server.
    When we then syncronise one of the sample webflows with the new
    server,
    all
    works fine.
    Then we add our very simple application with 2 jsps (one with a
    webflow
    form
    that fires an event that is configured to switch to the second one)
    on
    the
    same Domain/Server.
    When we then want to syncronise the EBCC could not connect
    (errormsg:
    Authorisation denied. Check User/pass and ensure server running)
    Can someone help us?
    Must we add some tables inside the cloudspace database or is thisdone
    automatically?
    Where is the relationship between the database and the application
    configured?
    Is there a simple tutorial from A to Z how to set up a new Domainand
    Server
    ready for webflow / Code and deploy a simplest application /
    configure
    webflow with ebcc.
    I need a all steps included tutorial to give this to my developers.The
    e-docs are great but it is dificult to collect all pices together.
    If someone has a finished configured simple webflow application
    please
    send
    it to me together with the domain config xml.
    Thanks a lot!
    Markus Lutum
    [email protected]

  • Can anyone please tell me how does MIDI sound with new drivers (2.15.0002 - 30th May

    Can anyone check this out for me? I'm intending to switch to Vista if there are no issues, so please, would anyone please check if there are any dropouts or delays during playback of MIDI files (especially with a lots of fast notes)? Please?

    Thank you both very very much! Well, I guess I'll have to stick with XP! Maybe in a few YEARS when there's some other after-Vista operating system, maybe then it will finally work the way it should!
    Once again, thank you all

  • Adrelink.sh fails with new environment variable settings (HISTTTY)

    Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonly. They did this for locking down some security issues. When you run adpatch, for example, it would error when running adrelink. When you look at adrelink log, you see the following text:
    You are running adrelink, version 115.28
    Start of adrelink session
    Date/time is Mon Feb 7 10:42:00 EST 2011
    Log file is /in/OAAP/apps11i/oaapappl/admin/OAAP/log/adrelink.log
    Command line arguments are
    "force=y" "ranlib=y" "link_debug=n"
    "filelist=/in/OAAP/apps11i/oaapappl/admin/OAAP/out/alkglx000.txt"
    Operating System Information (output of 'uname -a'):AIX m015ap01 3 5 000AB1E0D600
    Backup Mode is "file"
    Removing extra variables from the environment...
    adrelink will save the following variables (if set): - Generic:"PATH ORACLE_HOME TMPDIR TZ APPL_TOP APPLFENV
    PLATFORM LD_LIBRARY_PATH COBDIR
    LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
    - Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
    Beginning pass 1.
    Processing 408 environment variables...
    /in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
    adrelink is exiting with status 1
    End of adrelink session
    Date/time is Mon Feb 7 10:42:01 EST 2011
    Thanks in advance!

    Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonlyWhat is the value of HISTTTY"
    Processing 408 environment variables...
    /in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
    adrelink is exiting with status 1
    End of adrelink sessionFrom the error, looks like you need to give applmgr user more privileges on HISTTTY (try the execute privilege only first).
    Thanks,
    Hussein

Maybe you are looking for

  • Do you need an additional slot for the RBS and does the RBS count as an additional hard drive in the Sharepoint 2013 Server farm?

    Hello Community     If you have a clustered Sharepoint 2013 Server farm running RAID 10, on a clustered WS2012 R2 server that has 10 hard drive slots:         (4) drives being part of the Sharepoint 2013 Server farm         (1) drive for the Web App

  • PS Elements saving to iPhoto problem

    Help! I am using Photoshop Elements 9 with iPhoto 11 on a Mac (Mountain Lion). My original problem was that any edits I made in PSE elements (using PSE as the edit program for iPhoto) were not reflected in iPhoto. However, after bad instructions from

  • Capturing from HI8 through HV20 - does it work without timecode?

    I am capturing material from a Hi8 camera. I have connected it with my Mac through the Canon HV20. I can see the material in the Log and capture window in my FCP 6.0.2, but when I choos capture now. FcP wants to locate the timecode, which does not ex

  • Call Z rfc from SUP2.1 mbo

    Hi all I have created a custom FM to return the rows from a custom table. When creating my MBO, everything works as expected. When I run the workflow application I get the following error. Error getting SAP function template for [ZGETTABLE] Using a s

  • Phone cut off

    here a good on i just got the triple play on 8/21/14 and on 9/5/14 the cut off my phone service said someone at fios doubled my order. So i called at 12:30am this morning to see how to fix this problem and they told me in billing they had to add the