ReportEngine (XI-R3.1) is not Serializable and fails on a wbelogic cluster

In our J2EE web-application we store <b><code>com.businessobjects.rebean.wi.ReportEngines</code></b> in the <b><code>HttpSession</code></b> as recommended.
<br>From this instance we retrieve the appropriate report "<b><code>ReportEngine</code></b>" instance based on the storeagetoken.
<br>We retrieve the ReportEngine instance by:
<br>
<br><b><code>ReportEngine reportEngine = reportEngines.getServiceFromStorageToken(strEntry);</code></b>     
<br>
<br>The above works in a non-clustered single application server environment (weblogic-10).
<br>
<br>But in a cluster, if the storage-token and "ReportEngines" are created in one Node, then we get a <b><code>null</code></b> when we try retrieving the <b><code>ReportEngine</code></b> in another node.
<br>
<br>We dug in and discovered out that while  "<b><code>ReportEngines</code></b>" implements Serializable  "<b><code>ReportEngine</code></b>" does not implement the same.
<br>
<br>We noticed that the .NET SDK implementation of "<b><code>ReportEngine</code></b>" is serializable though (unlike Java).
<br>
<br>Does anyone know of any patch for the above.
<br>
<br>We have worked around by serializing the <b><code>DocumentInstance</code></b>in the DB and retrieve this using teh storage-token itself as a key.
<br>Obviously, we use this route only as a workaround (only when we encounter a <b><code>null</code></b> <b><code>ReportEngine</code></b>,due the cluster node switches).
<br>
<br>----
<br>There are other ways to get it to work without our workaround. One is by getting the load-balancer to retain the same weblogic node all thru the user-session (and in this case it works), but he cannot use that kind of a setup in our production environment.
<br>We have to have the loadbalancer distributing requests to all nodes in the cluster regadless to the session.
<br>--
<br>
<br>Would be glad to know of a SDK-patch for the above serialization issue.
Edited by: savincent on Aug 11, 2010 9:56 PM
Edited by: savincent on Aug 11, 2010 10:24 PM

There's no patch for that in the XI 3.1 and previous product line.
Your workaround sounds nice, i.e., sticky sessions for the session, and retrieve from token for failover.  When retrieving from the storage token, it serializes the report back from the WebI Report Server.
Sincerely,
Ted Ueda

Similar Messages

  • TextLayout not Serializable AND final class - can't extend and save objects

    As the title reads, I am using a TextLayout object in a class called Foo.
    I want to be able to serialize Foo and save it to the HD. This can't be done because TextLayout does not implement Serializable.
    So I tried to create a new class that extended the TextLayout class. This wasn't possible because TextLayout is defined as:
    public final class TextLayout
    extends Object
    implements Cloneable
    Basically, I have no clue how to be able to save my Foo class to the HD since I can't serialize the TextLayout object inside the Foo class. I would really appreciate help, because it is quite important that this works.
    Thanks.

    Siniz wrote:
    I have never dabbled with with transient variables, but I just read up on it and understand what you are getting at. Is this really the only way?
    The reason why I need to use TextLayout is because I need the bounding box of the text. I see no other way to get a bounding box around text than using TextLayout.That's a question for the swing/awt forums.
    I am also not entirely sure what you mean when you say I should write my own writeObject and readObject methods? You are saying I should entirely ditch the ObjectOutputStream methods?No, you implement those methods on your class in order to customize serialization. Please see the javadocs on the Serializable interface.

  • Turning on Web Sharing does not work and fails to load apache web server

    Sort of answering my own question here but hope it will be useful to other people and save them some time.
    After receiving my shiny new imac with os x lion pre-installed, I was a little dismayed and confused when I went to System Preferences -> Internet and Wireless -> Sharing and attempted to check the Web Sharing. Every time I clicked this option I was told Web Sharing was starting but would then repeatedly fail and apache failed to start.
    Looking in the Console I find:
    org.apache.httpd: dyld: Library not loaded: /usr/lib/libpq.5.dylib
    org.apache.httpd: Referenced from: /usr/sbin/httpd
    org.apache.httpd: Reason: image not found
    Entering in the console:
    vim /Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash (date and time bit will vary)
    reveals:
    Process:         httpd [2418]
    Path:            /usr/sbin/httpd
    Identifier:      httpd
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-08-06 16:50:30.106 +0100
    OS Version:      Mac OS X 10.7 (11A511a)
    Report Version:  9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /usr/sbin/httpd
      Reason: image not found
    Binary Images:
           0x1022f6000 -        0x102352fef  httpd (??? - ???) <9D63FBFD-DD87-3DD5-AD1A-D8A79FEC3EE8> /usr/sbin/httpd
    "/Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash" 32L, 1469C
    TO FIX THIS ISSUE:
    It appears /usr/lib/libpq.5.dylib does not exist but /usr/lib/libpq.5.3.dylib does.
    Fix by creating a symbolic link from /usr/lib/libpq.5.3.dylib to /usr/lib/libpq.5.dylib
    =
    sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Going back to System Preferences -> Internet and Wireless -> Sharing clicking Web Sharing a couple of times turns Web Sharing on successfully!
    Going to http://localhost/ displays the "It Works!" page.
    HTH people as it took me a while to find the correct solution online from:
    http://www.azattis.com/2011/07/os-x-lion-postgresql-84-install-problem.html

    Hi there,
    You seemed to have had a similar problem to what I now have and so wondered if you might be able to help me :-)
    I have posted this as a new post as well but if anyone has five mins could they take a look - I would be very grateful. Here you go:
    I am new to all this so I have probably made some simple errors and I hope someone can help me. I will retell what I have done as I haven't a clue what part of what I have done has mucked things up.
    I am really stuck. Web sharing will not start on my iMac running Lion OS X. It did work fine and then I wanted to activate PHP so my test website contact form would work (and send the data on the form throught to my email address.
    Before I did anything I turned on websharing and could view my website from another computer using: http://192.168.1.4/~stewartfergusson/
    I think followed the instructions on this link to activate PHP -http://foundationphp.com/tutorials/php_leopard.php
    I then did a few things in terminal and will paste below what I did:
    Last login: Sun Jan  1 09:01:52 on console
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd/private/etc
    -bash: cd/private/etc: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd prvate
    -bash: cd: prvate: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd private
    -bash: cd: private: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd /private/etc
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo cp php.ini.default php.ini
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$
    An important point to note is that I now appear to have more than one http.config file and they are located in the following locations:
    1) Macintosh HD/etc/apache2/httpd.conf.default
    2) Macintosh HD/etc/apache2/httpd.conf.default.default
    3) Macintosh HD/etc/apache2/original/httpd.conf
    I edited this file (which one I have not got a clue) and also the php.ini file within Macintosh HD/etc/ using Terminal - the command I used was sudo cp php.ini.default php.ini
    This php.ini file now exists in two locations now as well:
    1) Macintosh HD/etc/php.ini
    2) Macintosh HD/etc/php.ini.default
    I then edited this file by changing the line of code below from:
    514 error_reporting = E_ALL & ~E_NOTICE (I think it said E_DEPRECATED actually) but I am lifting this from the web page in the link above)
    To:
    514 error_reporting = E_ALL
    I then saved this file.
    I then deactivated web sharing in System Preferences and since then have not been able to restart Web Sharing. I click it and it flashes orange for a second then does not start.
    This was all done to activate PHP on my iMac so I can host my own site which has a PHP contact form page.
    Please help I am so out of my depth I am very worried I may have changed things and I am going to forget what I did.
    If you need to know anything then please ask.
    Thank you so much
    sfergusson1
    'JollyoldEngland'

  • Clients finds updates that is not deployed and fails to install them! Code: 80242006

    Hello!
    I have SCCM 2007 SP2 R2 and trying to setup the Software Update Point!.
    The weird thing is that the computers finds updates that is not deployed or not even downloaded and tries to install them but the fail with the error code: 80242006.
    See Pic:
    http://img51.imageshack.us/img51/3180/errorjo.jpg
    Some of those updates in the picture actually are downloaded and deployed but many of them are not.
    "Computer Configuration --> Administrative Templates --> Windows Update --> Specify Intranet Microsoft Update Service Location" is pointing to our SCCM.
    "Install Software Uppdates" in Task Sequance are disable.
    The Update package is distrubuted to all DPs
    Why does my computer find updates that is not is deployed or downloaded and why does it fail to install those that are?
    Where do i start the troubleshoot?
    // Clint eastwood!

    First check the windowsupdate.log and see which WSUS server that is being used. A Configmgr controlled client will not install non-deployed updates.
    Kent Agerlund | My blogs: blog.coretech.dk/keaand
    SCUG.dk/| Twitter:
    @Agerlund| Linkedin: Kent Agerlund
    Hi!
    I Reinstalled the computer through our Task Sequence and when i logged in the first time all the failed updates where there!
    http://www.2shared.com/file/eZ_CYzDC/WindowsUpdate.html
    I Have uploaded the WindowsUpdate.log
    Some interesting things from the log:
    2012-03-27 17:12:43:808 1008 848 PT +++++++++++ PT: Synchronizing server updates +++++++++++
    2012-03-27 17:12:43:808 1008 848 PT + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://www.update.microsoft.com/v6/ClientWebService/client.asmx
    2012-03-27 17:12:44:931 1008 848 PT WARNING: Cached cookie has expired or new PID is available
    2012-03-27 17:12:44:931 1008 848 PT WARNING: PTWarn: Anonymous plug-in skipped for WU
    2012-03-27 17:12:46:478 2584 a1c Misc =========== Logging initialized (build: 7.1.6001.65, tz: +0200) ===========
    2012-03-27 17:12:46:478 2584 a1c Misc = Process: c:\bc396c964f9a1206ade01b43a1\wusetup.exe
    2012-03-27 17:12:46:478 2584 a1c Setup Evaluating CBS package "c:\bc396c964f9a1206ade01b43a1\WUClient-SelfUpdate-Core-TopLevel.cab"
    2012-03-27 17:12:47:823 2584 a1c Handler FATAL: UH: 0x8007047f: CreatePackage failed in CCbs::CreatePackage
    2012-03-27 17:12:47:823 2584 a1c Setup WARNING: Failed to evaluate applicability, will try to install anyway, error = 0x8007047F
    2012-03-27 17:12:47:823 2584 a1c Setup Evaluating CBS package "c:\bc396c964f9a1206ade01b43a1\WUClient-SelfUpdate-ActiveX.cab"
    2012-03-27 17:12:47:823 2584 a1c Handler FATAL: UH: 0x8007047f: CreatePackage failed in CCbs::CreatePackage
    2012-03-27 17:12:47:823 2584 a1c Setup WARNING: Failed to evaluate applicability, will try to install anyway, error = 0x8007047F
    2012-03-27 17:12:47:823 2584 a1c Setup Evaluating CBS package "c:\bc396c964f9a1206ade01b43a1\WUClient-SelfUpdate-Aux-TopLevel.cab"
    2012-03-27 17:12:47:854 2584 a1c Handler FATAL: UH: 0x8007047f: CreatePackage failed in CCbs::CreatePackage
    2012-03-27 17:12:47:854 2584 a1c Setup WARNING: Failed to evaluate applicability, will try to install anyway, error = 0x8007047F
    2012-03-27 17:12:47:854 2584 a1c Setup wusetup has finished. Exit code is 47f. Reboot is NOT needed
    2012-03-27 17:13:11:539 1008 848 Agent WARNING: Failed to evaluate Installed rule, updateId = {818701AF-1182-45C2-BD1E-17068AD171D6}.101, hr = 80242013
    2012-03-27 17:13:12:337 1008 848 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\muv4wuredir.cab:
    2012-03-27 17:13:12:337 1008 848 Misc Microsoft signed: Yes
    2012-03-27 17:13:12:384 1008 848 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\muv4wuredir.cab:
    2012-03-27 17:13:12:384 1008 848 Misc Microsoft signed: Yes
    2012-03-27 17:13:12:384 1008 848 PT +++++++++++ PT: Synchronizing extended update info +++++++++++
    2012-03-27 17:13:12:384 1008 848 PT + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://www.update.microsoft.com/v6/ClientWebService/client.asmx
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/secu/2011/01/windows6.1-kb2475792-x64_2e8f675625883458482042e128f54167f0193f9b.msu for file Lo9nViWINFhIIELhKPVBZ/AZP5s= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/secu/2011/01/windows6.1-kb2425227-x64_0749e0e8531479e1de9347fe584e61d43c209c0f.msu for file B0ng6FMUeeHek0f+WE5h1DwgnA8= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/secu/2011/01/windows6.1-kb2485376-x64_7082a10a94b6cfffdd28f5f57f02e15a5345f5a7.msu for file cIKhCpS2z//dKPX1fwLhWlNF9ac= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/dflt/2011/02/4114643_f51f1bdeb794bd3966e7fc1745b9f697584b6912.cab for file 9R8b3reUvTlm5/wXRbn2l1hLaRI= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/dflt/2011/02/4114639_25270be196f84651a08b6578559a014e067b04b9.cab for file JScL4Zb4RlGgi2V4VZoBTgZ7BLk= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/dflt/2011/02/4114417_7f54b04997e2e7a214de150fed8cbec149c31011.cab for file f1SwSZfi56IU3hUP7Yy+wUnDEBE= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/dflt/2011/02/4114242_dc45445930326e31180748cd5a2afa8f575c61f5.cab for file 3EVEWTAybjEYB0jNWir6j1dcYfU= when file has not been previously added to the datastore
    2012-03-27 17:13:13:948 1008 848 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/software/secu/2011/01/windows6.1-kb2479628-x64_a774713ef62d45373a08d4a7c0acfa18e8ec87c8.msu for file p3RxPvYtRTc6CNSnwKz6GOjsh8g= when file has not been previously added to the datastore
    2012-03-27 17:13:16:624 1008 848 Agent * Found 103 updates and 17 categories in search; evaluated appl. rules of 489 out of 647 deployed entities
    I guess the computer is still in the OS installation during this time.
    Then 13 Minutes after it finds our sccm:
    2012-03-27 17:26:07:641 980 c70 Agent *********** Agent: Refreshing global settings cache ***********
    2012-03-27 17:26:07:641 980 c70 Agent * WSUS server: http://<SCCM-SERVER>:8530 (Changed)
    2012-03-27 17:26:07:641 980 c70 Agent * WSUS status server: http://<SCCM-SERVER>:8530 (Changed)
    2012-03-27 17:26:07:641 980 c70 Agent * Target group: (Unassigned Computers) (Unchanged)
    2012-03-27 17:26:07:641 980 c70 Agent * Windows Update access disabled: No (Unchanged)
    2012-03-27 17:26:07:641 980 c70 AU AU received policy change subscription event
    2012-03-27 17:26:07:641 980 c70 AU Sus server changed through policy.
    2012-03-27 17:26:07:641 980 c70 AU AU Refresh required....
    2012-03-27 17:26:07:641 980 c70 AU AU setting next detection timeout to 2012-03-27 15:26:07
    2012-03-27 17:26:07:656 980 c70 AU Need to reset accelerated install required state
    2012-03-27 17:26:07:656 980 c70 AU Accelerate Install required state reset
    2012-03-27 17:26:07:656 980 c70 AU Auto-approving update for download, updateId = {4AE85C00-0EAA-4BE0-B81B-DBD7053D5FAE}.104, ForUx=0, IsOwnerUx=0, HasDeadline=0, IsMinor=0
    2012-03-27 17:26:07:656 980 c70 AU Auto-approving update for download, updateId = {C5306702-92EC-4E99-9C77-2B70FB60078B}.101, ForUx=0, IsOwnerUx=0, HasDeadline=0, IsMinor=0
    2012-03-27 17:26:07:656 980 c70 AU Auto-approving update for download, updateId = {C5171A07-B024-44B4-B74A-A2EC2EEC177C}.102, ForUx=0, IsOwnerUx=0, HasDeadline=0, IsMinor=0
    2012-03-27 17:26:07:656 980 c70 AU Auto-approving update for download, updateId = {1FE1AC0A-7B22-470B-A317-5DA507385409}.101, ForUx=0, IsOwnerUx=0, HasDeadline=0, IsMinor=0
    2012-03-27 17:26:07:656 980 c70 AU Auto-approving update for download, updateId = {609AEF10-0A3C-4484-BD38-86BB38E3EFA3}.104, ForUx=0, IsOwnerUx=0, HasDeadline=0, IsMinor=0
    2012-03-27 17:26:07:656 980 c70 AU Auto-approved 65 update(s) for download (NOT for Ux)
    This is the Updates that i see when i log on for the first time nad all of them is Failed! Still, Many of those updates does not exist on the SCCM server.
    And here comes the error:
    2012-03-27 17:26:07:937 980 914 Agent WARNING: fail to get update deployments with error 0x80248007
    2012-03-27 17:26:07:937 980 a10 Agent WARNING: Failed to get deployment data from data store, error 80248007
    2012-03-27 17:26:07:937 980 914 DnldMgr *************
    2012-03-27 17:26:07:937 980 914 DnldMgr ** START ** DnldMgr: Downloading updates [CallerId = AutomaticUpdates]
    2012-03-27 17:26:07:937 980 a10 AU WARNING: GetUpdateDeployment3 failed, error = 0x80248007
    2012-03-27 17:26:07:937 980 914 DnldMgr *********
    2012-03-27 17:26:07:937 980 914 DnldMgr * Call ID = {B6C9F0ED-9900-42BC-9BBE-61ADE865CADC}
    2012-03-27 17:26:07:937 980 914 DnldMgr * Priority = 2, Interactive = 0, Owner is system = 1, Explicit proxy = 0, Proxy session id = -1, ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
    2012-03-27 17:26:07:937 980 914 DnldMgr * Updates to download = 1
    2012-03-27 17:26:07:937 980 914 Agent * Title = Security Update for Windows 7 for x64-based Systems (KB2584146)
    2012-03-27 17:26:07:937 980 914 Agent * UpdateId = {4AE85C00-0EAA-4BE0-B81B-DBD7053D5FAE}.104
    2012-03-27 17:26:07:937 980 914 Agent * Bundles 1 updates:
    2012-03-27 17:26:07:937 980 914 Agent * {112FA241-E8C9-4EE7-A8B4-D3A4C65F7FEB}.102
    2012-03-27 17:26:07:953 980 c70 AU AU received handle event
    2012-03-27 17:26:07:984 980 914 PT +++++++++++ PT: Synchronizing file locations +++++++++++
    2012-03-27 17:26:07:984 980 914 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://<SCCM-SERVER>:8530/ClientWebService/client.asmx
    2012-03-27 17:26:10:652 980 914 PT WARNING: GetFileLocations failure, error = 0x8024400D, soap client error = 7, soap error code = 300, HTTP status code = 200
    2012-03-27 17:26:10:652 980 914 PT WARNING: SOAP Fault: 0x00012c
    2012-03-27 17:26:10:652 980 914 PT WARNING: faultstring:Server was unable to read request. ---> There is an error in XML document (1, 369). ---> The string '' is not a valid AllXsd value.
    2012-03-27 17:26:10:652 980 914 PT WARNING: ErrorCode:(null)(0)
    2012-03-27 17:26:10:652 980 914 PT WARNING: Message:(null)
    2012-03-27 17:26:10:652 980 914 PT WARNING: Method:(null)
    2012-03-27 17:26:10:652 980 914 PT WARNING: ID:(null)
    2012-03-27 17:26:10:652 980 914 PT WARNING: PTError: 0x8024400d
    2012-03-27 17:26:10:652 980 914 PT WARNING: GetFileLocations_WithRecovery failed: 0x8024400d
    2012-03-27 17:26:10:652 980 914 PT WARNING: PTError: 0x8024400d
    2012-03-27 17:26:10:652 980 914 DnldMgr WARNING: SyncFileLocations failed with 0x8024400d.
    2012-03-27 17:26:10:652 980 914 DnldMgr WARNING: PopulateFileUrlsForCall failed with 0x8024400d, but continuing with call {B6C9F0ED-9900-42BC-9BBE-61ADE865CADC}.
    2012-03-27 17:26:10:652 980 914 DnldMgr *********** DnldMgr: New download job [UpdateId = {112FA241-E8C9-4EE7-A8B4-D3A4C65F7FEB}.102] ***********
    2012-03-27 17:26:10:652 980 914 DnldMgr * Queueing update for download handler request generation.
    2012-03-27 17:26:10:652 980 914 DnldMgr Generating download request for update {112FA241-E8C9-4EE7-A8B4-D3A4C65F7FEB}.102
    2012-03-27 17:26:10:652 980 914 Handler Generating request for CBS update 112FA241-E8C9-4EE7-A8B4-D3A4C65F7FEB in sandbox C:\Windows\SoftwareDistribution\Download\9214be182ea0ec97ce8a55beaa608a67
    2012-03-27 17:26:10:652 980 914 Handler FATAL: Self-contained package file does not exist or is not on server.
    2012-03-27 17:26:10:652 980 914 Handler FATAL: Request generation for CBS update complete with hr=0x80242006 and pfResetSandbox=0
    2012-03-27 17:26:10:652 980 914 Handler FATAL: Error source is 105.
    2012-03-27 17:26:10:652 980 914 DnldMgr FATAL: DM:CAgentDownloadManager::GenerateAllDownloadRequests: GenerateDownloadRequest failed with 0x80242006.
    2012-03-27 17:26:10:652 980 914 DnldMgr Error 0x80242006 occurred while downloading update; notifying dependent calls.
    2012-03-27 17:26:10:668 980 914 Agent *********
    2012-03-27 17:26:10:668 980 14b8 AU >>## RESUMED ## AU: Download update [UpdateId = {4AE85C00-0EAA-4BE0-B81B-DBD7053D5FAE}]
    2012-03-27 17:26:10:668 980 914 Agent ** END ** Agent: Downloading updates [CallerId = AutomaticUpdates]
    2012-03-27 17:26:10:668 980 14b8 AU # WARNING: Download failed, error = 0x80242006
    Any ideas? :)

  • Dr8-2a - Write speed NOT 8x and Failed writes

    Hello all,
    Well owned my drive a couple weeks now, tried to write my first DVD and it will not work.
    Admitedly I have only tried one media type (BenQ DVD-R) with no luck, but still.
    My second problem is selecting write speed with Nero - I am only given the option of 1, 2, 2.4x.  I didnt go out and buy a 8x writer to get 2.4x write.  Any suggestions?
    PS:  No firmware update done yet - I expect it to at least offer the option to write @ 8 x out the box.
    Thanks
    Leon

    what media do you use?
    In the same way that you have speed grade for CDs, you have the same for DVDs. If your media is only 2.4x, then Nero will select the appropriate speed for you. I think you can force the speed, but you will most likely produce a coaster.
    Use high quality high speed media if you want to burn at 8x... (not the cheap no-name ones)

  • I'm trying to buy the $99/yr iOS Developer Program in Canada, and trying to pay with a $100 Mastercard Gift Card, why is my payment not authorized and failing?

    Title says all..
    Program is $99 Canadian, and my card was just loaded with $100.
    Please let me know.

    The problem is you can't use a gift credit card.
    It has to be a card registered to you at your home address.

  • 'int' not serializable!?

    Hello all,
    When deploying my application to WLS 8.1, I keep getting warnings along the lines of
    <Warning> <EJB> <BEA-012034> <The Remote interface method: '//snip// Foo.bar(java.lang.String,int) throws java.rmi.RemoteException //snip// contains a parameter of type: 'int' which is not Serializable. Though the EJB 'Foo' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
    This message completely confuses me. Since 'int' is a primitive, it cannot implement the Serializable interface. On the other hand this is not necessary since the JVM knows how to serialize primitives anyway. Furthermore, primitives are by Java specification always passed by value.
    My assumption is that this message is essentially bogus, a weblogic bug if you want, and the int parameter will indeed be passed by value no matter what the warning says. I just cant se how WLS could pass it by reference given that it is running on a VM that implements the java standard.
    Am I missing something here? Please give me your thoughts on this one. We have a customer who is very concerned about these warnings showing up in the log...
    Thank you
    Message was edited by:
    [email protected]

    Hello, and thanks for taking a stab at this.
    While it is great that the fix you ar putting into SP5 allows the administrator to supress BEA-012034 warnings all together, would it not be better to simply correct the code not to issue BEA-012034 warnings for ints, floats and other primitives? Enabeling your fix would indeed make these incorrect messages go away, but it will also supress correct BEA-012034 warnings should our ejb interface [heaven forbid :] contain non-serializable objects.
    thanks

  • 'Payload not Serializable' with custom WSDL data types in message-style web service

    I'm implementing a message-style web service which publishes to a JMS Queue.
    I had the web service built and deployed, but noticed that the "sendRequest" message's
    part was of type "xsd:anyType." This is not specific enough for our interface,
    since it is externally facing and needs to describe the object we're expecting
    on the back end.
    So I replaced xsd:anyType with mynamespace:MyType, which is defined as a complex
    type in the same WSDL document.
    My problem is that when I test the web service with the new WSDL (using the client.jar),
    I get a server-side exception from the DestinationSendAdapter.doPost() method.
    The exception reads:
    javax.servlet.ServletException: Payload not Serializable
    at weblogic.soap.server.servlet.DestinationSendAdapter.doPost(DestinationSendAdapter.java:129)
    The domain object ('classic' JavaBean) that it should map to on the server side
    extends a class that implements Serializable, so it should inherit the trait.
    So my questions are:
    1) Did I properly go about trying to restrict the object type that gets sent to
    my Destination?
    2) If no, what is the correct way? If yes, why am I receiving the Payload not
    Serializable error if the domain object implements Serializable?
    Thanks in advance.

    Resolved:
    Apparently this is the right approach, as it boiled down to a classpath issue
    on the client-side. Thanks anyway.

  • Document in xml - Not serializable? Well, I need to cache it.

    Can anyone tell me how can I serialize DOM Document.
    When we try to put it in cache, cache complains that it
    is not serializable (I believe ElementImpl is not Serializable).
    In javadoc it shows serializable form for this Element, but when I look in the source it does not implements Serializable (and none of its parent interfaces).
    My question is this?
    Does anyone know how to serialize Document.
    (I do need to Serialize Document, not XML.In my case it
    is too expensive to parse XML every time I come back
    from cache)
    How do I use Serializable form of one class or interface?
    Thank You.
    Edmon

    Sorry about not being very helpful earlier. The number of people who submit JDC forum questions without reading even the elementary intro docs is rather staggering, IMHO. Here is something more detailed:
    (a) "Serialized form" of a class as found in javadoc has little to do with whether or not the class has been declared as Serializable by the implementor.
    (b) what matters to Java serialization is whether the object in question is runtime-Serializable. In your particular case, org.w3c.dom.Document is an interface and it was not declared as Serializable by W3C. Perhaps justifiably so, because that imposes unfair requirements on parser implementors [seeing that not everybody is expected to want to serialize a DOM tree the way you do].
    However, a particular parser implementation is free to make its Document implementation class as Serializable. If that is the case, writeObject(obj) will succeed even if "obj" variable is of Document [not Serializable] type but happens to point to a Serializable implementation class.
    But, if you rely on this behavior you are locking yourself into that particular parser implementation. Should you choose a different XML parser in the future you will see serialization errors at runtime. With things like JAXP and a variety of XML parsers available this perhaps is not the way to go.
    Things would have been different if Document was declared to implement Serializable. Then all XML parsers would have had a standard behavior for the DOM trees they produced, regardless of implementation details. This is not the case, though.
    Vlad.

  • Document in xml - Not serializable?

    Hi, I was working with the Document in xml.
    I tried to serialize it, but it seems that the implemantation of it is not serializable.
    The problem is that the object is created with a factory method, so also inheriting it is no use, since the creation is not in our hands.
    The only solution i can see is to inherit also the Factory and to ovverde the creation method.
    Any suggestion?
    Thanks,
    Doron

    why do you want to serialize the document object?
    you might as well serialize the xml file it represents and when or where needed, just parse it and get its document object, which would essentially be the same as the object you are trying to serialize.

  • ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable

    We've created a process with an input parameter (String) and an output parameter. There is only one "Query Single Row" node. The SQL we've put has been tested successfully. But when the client Java program invokes it, it got the exception of "ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable"

    Hi,
    I got this Exception when I was trying to convert the BarCode into XML. Here is my client Program.
    import java.io.File;
    import java.io.*;
    import java.io.FileInputStream;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Properties;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import com.adobe.livecycle.barcodedforms.CharSet;
    import com.adobe.livecycle.barcodedforms.Delimiter ;
    import com.adobe.livecycle.barcodedforms.XMLFormat ;
    import com.adobe.idp.Document;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
    import com.adobe.livecycle.barcodedforms.client.*;
    public class Testmain {
    public static void main(String[] args) {
    try
    //Set LiveCycle ES service connection properties
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty("DSC_DEFAULT_EJB_ENDPOINT", "t3://rndvipdev02:80");
    ConnectionProps.setProperty("DSC_TRANSPORT_PROTOCOL","EJB");
    ConnectionProps.setProperty("DSC_SERVER_TYPE", "Weblogic");
    ConnectionProps.setProperty("DSC_CREDENTIAL_USERNAME", "administrator");
    ConnectionProps.setProperty("DSC_CREDENTIAL_PASSWORD", "password");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    BarcodedFormsServiceClient barClient = new BarcodedFormsServiceClient(myFactory);
    //Specify a PDF document to convert to a XDP file
    FileInputStream fileInputStream = new FileInputStream("D:\\abc\\barcode.pdf");
    Document inDoc = new Document (fileInputStream);
    java.lang.Boolean myFalse = new java.lang.Boolean(false);
    java.lang.Boolean myTrue = new java.lang.Boolean(true);
    //Decode barcoded form data
    org.w3c.dom.Document decodeXML = barClient.decode(
    inDoc,
    myTrue,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    CharSet.UTF_8);
    //Convert the decoded data to XDP data
    List extractedData = barClient.extractToXML(
    decodeXML,
    Delimiter.Tab,
    Delimiter.Tab,
    XMLFormat.XDP);
    //Create an Iterator object and iterate through
    //the List object
    Iterator iter = extractedData.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    //Get the org.w3c.dom.Document object in each element
    org.w3c.dom.Document myDom = (org.w3c.dom.Document)iter.next();
    //Convert the org.w3c.dom.Document object to a
    //com.adobe.idp.Document object
    com.adobe.idp.Document myDocument = convertDOM(decodeXML);
    //Save the XML data to extractedData.xml
    File myFile = new File("D:\\abc\\extractedData"+i+".xml");
    myDocument.copyToFile(myFile);
    i++;
    catch(Exception e)
    e.printStackTrace();
    //This user-defined method converts an org.w3c.dom.Document to a
    //com.adobe.idp.Document object
    public static com.adobe.idp.Document convertDOM(org.w3c.dom.Document doc)
    byte[] mybytes = null ;
    com.adobe.idp.Document myDocument = null;
    try
    //Create a Java Transformer object
    TransformerFactory transFact = TransformerFactory.newInstance();
    Transformer transForm = transFact.newTransformer();
    //Create a Java ByteArrayOutputStream object
    ByteArrayOutputStream myOutStream = new ByteArrayOutputStream();
    //Create a Java Source object
    Source myInput = new DOMSource(doc);
    //Create a Java Result object
    Result myOutput = new StreamResult(myOutStream);
    //Populate the Java ByteArrayOutputStream object
    transForm.transform(myInput,myOutput);
    //Get the size of the ByteArrayOutputStream buffer
    int myByteSize = myOutStream.size();
    //Allocate myByteSize to the byte array
    mybytes = new byte[myByteSize];
    //Copy the content to the byte array
    mybytes = myOutStream.toByteArray();
    com.adobe.idp.Document myDoc = new com.adobe.idp.Document(mybytes);
    myDocument = myDoc ;
    catch(Exception ee)
    ee.printStackTrace();
    return myDocument;
    Here is the Exception StackTrace
    ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    Caused by: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:210)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doS upports(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:145)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:93)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:298)
    at com.adobe.idp.dsc.provider.impl.ejb.receiver.EjbReceiverBean.invoke(EjbReceiverBean.java: 151)
    at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl.invoke(Invocation_f pvhue_EOImpl.java:61)
    at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl_WLSkel.invoke(ILweb logic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblog ic.rmi.spi.OutboundResponse;(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.Authentic atedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.Privileged ExceptionAction;)Ljava.lang.Object;(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.adobe.barcodedforms.decoder.DecodingException null: com.adobe.barcodedforms.decoder.processors.DataProcessorException: com.adobe.barcodedforms.decoder.processors.DataProcessorException
    at com.adobe.livecycle.barcodedforms.BarcodedFormsService.decode(BarcodedFormsService.java:2 97)
    at j

  • ALC-DSC-005-000: Not Serializable

    What does the message "ALC-DSC-005-000: Not Serializable" mean? I am trying the simple "Sending an email with an attachment" walkthrough in the training manual and I receive this error when trying to invoke the process.
    Does this mean that a configuration setting in the "Read Document" operation or the "Send With Document" operation is in error?

    You can check the step, in which you get the error, from adminui under
    Services > Process Management > Stalled Operation Errors.
    You are probably not setting a variable, typed document, as input/output.
    Oguz
    http://www.kgc.com.tr

  • Payload not Serializable

    Hi everyone,
    I have implemented an asynchronous web service based on a MDB EJB. Here is the part of the web-services.xml that describes this web service :
    <web-service name="MOCBean" targetNamespace="moc" uri="/MOCBean">
    <components>
    <jms-send-destination name="mocqueue" connection-factory="weblogic.jms.ConnectionFactory">
    <jndi-name path="jms/MOCJMSQueue"/>
    </jms-send-destination>
    </components>
    <operations>
    <operation invocation-style="one-way" name="getCourbesCharge" component="mocqueue">
    <params>
    <param name="listeSites" class-name="java.lang.String" style="in" type="xsd:string"/>
    </params>
    </operation>
    </operations>
    </web-service>
    When I call getCourbesCharge through generated classes, I get this error :
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.rpc.JAXRPCException: Payload not Serializable. Java type is null
    I don't understand since there is an input parameter named listeSites of type String and no return parameter... Do you know what's happening ?
    Thanks in advance,
    Mark

    Well, I think I have identified the problem. When I create asynchronous web services and I pass the operation parameters which names are different from "string", "string0", "string1", etc, then "null" is unstacked from the SOAP message. I have to put the default names as parameters names to make it working... Though, it isn't necessary on synchronous web services. I think it's a Weblogic bug in client stub generation.
    Mark

  • ERROR: could not serialize access due to concurrent update

    Hi.
    I use ejb+glassfish+postgres in my project.
    The project is a web application for finansial data transfering.
    I have three DBs, long global transactions, serializable isolation level, container-managed transaction.
    When i test the project with concurent threads, i get an exception: "ERROR: could not serialize access due to
    concurrent update"
    I read that when you get suck kind of error, your program must rollback current transaction and then reply this transaction.
    what do i need to do to complete this transaction? :
    1) rollback and reply transaction
    2) maybe, the are other ways to reply transaction (for example: glassfish configurations, ....)
    Edited by: 856539 on 04.05.2011 8:10

    If your DAO is nicely separated from your service layer as it should be then the solution I suggested above works and doesn't require you to change many classes because you can catch the expection in the DAO layer and do the retry in the DAO layer. That's where the solution belongs too because it's only applicable for your current database solution (Postgres). i.e If you change your database solution you need to change your DAO anyway, but only your DAO. If you put the solution in your service layer (or client layer) then you need to change those layers when you change your database solution which defeats the purpose of the separation.
    If you still want the interceptor approach, you need to check if the transaction has been marked for rollback back, then you need to join the transaction with EM.join and from there you attempt to close and discard the joined transaction before starting another one to invoke the retry operation on. Bear in mind that you only do the rety when the transaction was marked for roll back because of that specific exception. Needless to say that this doesn't seem to be a clean way to handle your transactions (if you can get it to work that is).

  • Bug in Java objects not serializable

    I plan to use the latest version TopLink 10.1.3.1.0 with Oracle Database 10g (10.2.x).
    Do I still have to use the “Type Conversion” mapping as I had to do in order to address the reported non-serializable bug exiting in TopLink (9.0.4.5). See the link for the bug description:
    http://www.oracle.com/technology/documentation/1012_solaris/relnotes.1012/relnotes/toplink.htm#CEGEBDEG
    My Java object instance variable is defined as java.sql.Timestamp and the corresponding data type on the Oracle DB is defined as TIMESTAMP(6). Can I use the direct-to-field mapping from now on with new TopLink 10.1.3.1.0 without the serializable issue? If I still have to use the Type Conversion mapping, please help provide some detail about the mapping.
    Many thanks for any help.

    From what I can understand from your reply, I can use the direct-to-field mapping for Java class attribute of java.sql.Timestamp to the Oracle DB 10.2.x data type of TIMESTAMP(6) without any issue of not serializable. Please confirm. Many thanks!
    By the way, I am having the same issue (Java objects not serializable) with Oracle DB 10.1.x when I use the direct-to-field mapping. It seems to me that this is more than the Oracle 9i JDBC driver.
    If I have to do this with TopLink 10.1.3.1.0 + Oracle 10.2.x, I plan to use the Type Conversion with:
    Java class attribute: java.sql.Timestamp
    DB data type: oracle.sql.TIMESTAMP
    Is this the proper way to do it? Please confirm.

Maybe you are looking for