Weird error message from oc4j with EntityBean

We have an J2EE application written originally to run on Orion 1.4.5.
We have decided to try to port this to oc4j and the version we are using is 1.0.2.2
There is some minor reconfiguration issue but nothing really major.
All the servlet, jsp, and stateless session EJB runs without any problem.
However, all the CMP EntityBean doesn't seem to like their new home.
During deployment, the container will complaints about every single EntityBean with error message like the following:
JavaApplication_EntityBeanWrapper33.java:358: Exception java.sql.SQLException is never thrown in the body of the corresponding try statement.
catch(java.sql.SQLException e)
JavaApplication is one of our CMP EntityBean and the Wrapper is supposingly created automatically by the container at deployment time.
Has anyone encountered this before? Any work around/solutions?
Thanks in advance
Andrew
null

gday Andrew -
I believe that this is caused by setting the attribute exclusive-write-access=false in the orion-ejb-jar.xml file for your EJBs.
This is a known OC4J problem: a bug has been logged and it's been fixed here. The next minor release of OC4J will contain the fix for this.
In the meantime as a workaround removing the exclusive-write-access=false attribute from the orion-ejb-jar.xml files for your beans should get you going.
cheers!
-steve.
null

Similar Messages

  • Weird error message from C#

    Hi everybody,
    I have a relatively complex SQL Statement I am passing to SQL Server from C# application. This statement start from BEGIN TRANSACTION
    insert 
    insert 
    insert
    COMMIT TRANSACTION
    I am getting this error
    The parameterized query '(@sale_no decimal(8,0),@scanDate datetime,@start_date datetime,@' expects the parameter '@operator'
    So, first of all, why does it show this strange part of the query and secondly, I do supply the @operator parameter (although it was assigned null value which is a mistake and I need to fix it).
    Still, why I am getting this strange error?
    Thanks in advance.
    E.g. I have the following code:
    /// <summary>
    /// Adds salespoint and operator parameters to the SqlCommand
    /// </summary>
    /// <param name="sqlCommand"></param>
    public void AddOperatorAndSalespointParameters(SqlCommand sqlCommand)
    sqlCommand.Parameters.Add("@operator", SqlDbType.Char, 6).Value = this.CurrentOperator;
    sqlCommand.Parameters.Add("@salespoint", SqlDbType.Char, 6).Value = this.CurrentSalespoint;
    and at the moment of execution both variables were null.
    UPDATE. After I fixed the NULL values, the error disappeared. Still, I find it misleading.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

    Interestingly, I got a very similar error message today for this piece of code:
    using (SqlCommand insertCommand = new SqlCommand())
    insertCommand.CommandText = @"INSERT INTO dbo.MB_Redemptions
    (date_time, quantity, BenefitID, GstPassPassNo, AccessPassNo, Trans_no)
    values (@datetime, @quantity, @BenefitID, @gstPassNo, @accessPassNo, @transNo);";
    insertCommand.Parameters.Add("@datetime", SqlDbType.DateTime).Value = dt;
    insertCommand.Parameters.Add("@quantity", SqlDbType.Int).Value = quantity;
    insertCommand.Parameters.Add("@BenefitId", SqlDbType.Int).Value = BenefitId;
    insertCommand.Parameters.Add("@gstPassNo", SqlDbType.Decimal, 17).Value = (this.passTable == PassTable.Gst_Pass) ? passNo : (Int64?) null;
    insertCommand.Parameters.Add("@accessPassNo", SqlDbType.Decimal, 17).Value = (this.passTable == PassTable.Access) ? passNo : (Int64?)null;
    insertCommand.Parameters.Add("@transNo", SqlDbType.Decimal, 17).Value = transNo;
    database.ExecuteSqlCommand(insertCommand, CommandExecutionType.NonQuery);
    So, do I understand correctly that I should use DbNull.Value instead of the way I try to assign null value to a variable?
    The error I am getting is:
    The parameterized query '(@datetime datetime,@quantity int,@BenefitId int,@gstPassNo deci' expects the parameter '@accessPassNo', which was not supplied.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • I was trying to restore data to my iphone, and I keep getting an error message from itunes with a (-50) at the end.

    I was updating my iphone, lost my data, and was trying to reload the phone data.  keep getting an error message and data will not restore.  There is a (-50) at the end of the error message.  Any ideas on my next step?

    Thats the annoying part! I have enough space and I'm putting things on a external hard drive and I keep deleting it off the computer.

  • Weird error message from aplay

    Got a new system this week and everything is set up and working, except a few weird audio glitches.  Audio goes through the onboard HDMI thingie, but I'm not using HDMI; my monitor sends the HDMI signal to a different computer and VGA to my problem child.  So HDMI audio is inactive.  I finally got alsa and all the other audio apps to stop trying to use the nonexistent HDMI by default (resulting in a segfault) by simply deleting that module from libs/modules/{...}  I set up /etc/asound.conf to identify the analog PCM as the default (card 2).  But there's a further complication.  I also have an external sound adapter plugged into USB for my podcast work, and it shows up as card #1.
    Anyway, thanks to the default settings in asound.conf I can get most programs to send output to the analog onboard card and external speakers.  But when I try to play a wave file with aplay, I get
    aplay: set_params:1081: Sample format non available
    That message came up in another thread in 2007, and the solution was to install an updated set of alsa-plugins... but pacman says mine are up to date and I assume any problem with them in 2007 is no longer an issue -- at any rate, aplay worked fine with wave files on my old PC.  mpg123 plays mp3 files fine, and mplayer handles wave files (et al) fine... it's just aplay that's giving me grief.
    I do *not* run jack, except during my podcast because idjc requires it.
    Anyone else familiar with that error and can recommend a fix?

    gday Andrew -
    I believe that this is caused by setting the attribute exclusive-write-access=false in the orion-ejb-jar.xml file for your EJBs.
    This is a known OC4J problem: a bug has been logged and it's been fixed here. The next minor release of OC4J will contain the fix for this.
    In the meantime as a workaround removing the exclusive-write-access=false attribute from the orion-ejb-jar.xml files for your beans should get you going.
    cheers!
    -steve.
    null

  • After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine:Are you sure you want to back up to the same device your original data is on? the WD disk has mounted??

    After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine: "Are you sure you want to back up to the same device your original data is on?"  I've reformatted in Disk Utilities...not sure what I did wrong.  Any help would be appreciated.

    Not sure what you mean by "booted" from it.
    If the Mac OS is installed on the external drive, then it's possible to start up from it, just as you do from your internal drive. Please open the Startup Disk preference pane in System Preferences, and verify that your internal drive is selected as the startup disk.
    Assuming that's the case, then it may be that your TM settings have been corrupted. Turn off TM, then move or delete the file /Library/Preferences/com.apple.TimeMachine.plist. Turn TM back on, recreate your settings, and try again.

  • Using Site Content and Structure unable to move documents,pages and getting weird error message

    Hi ,
    earlier we are moving a page ,document from one site to another sub site with in the Site Collection.
    Now,we are getting a un-readable format error.
    After selecting the destination we are getting the error.
    and the file can't move.
    What might me be the error.
    Expecting answers related to my question.
    1.As we can do using Internet Explorer,
    2. Using Send To also we can move.
    Using this Site Content and structure we can maintain Versoining also.
    If any one face the same issue then we can easily find out the solution.
    Regards ,
    Prathap 
    SP Developer
    Specify the destination to move the items you selected.

    Hi,
    Using Site Content and Structure unable to move documents,pages and getting weird error message
    We are getting Below error:
    When Moving Document items from one site to another site in the same site collection using Site content and structure(But it's working in same site,we can move documents from one library to another library)
    1576|/wEWwwECuLLErw0Cy+nFYwK84baBAgK6zNqsAgLs0Le0BQK1s8uaCAL5qrm3CAKk7K6pDwKo9a0GArm+xr4NApKe9KUKAoajpK4CAqqU/2sChJXBtAIC052rYQKS+LTPAgLe+7uQAwLO0re/BwLgoaw2AojAlIMOApSO4JoNAuvW7MoKAojz2P4OAuOMt9EGAv/ns1wC64qI7gEC0LymmAcCro3lnQkCj7viwAsC8Met9QEC3a/DHALg4ZO6AQKAn8ebCALvr72DAwKm/NGmAgKN4aayCQLmmczsCgL+46qSAQKH7paCDgLouOHjDwKGuNCBCQKwuob2CQKP78n3BwLQ7vSYCALxlcvIBALRuajXAwK6/vr4AwKx8YasCQLti5igAQKay7JZAta625IFAuTy6rUKAvnC7eQKApvB3ugPAoTBua8BAoyajvgMAsGdloEJAvH+2KECAua7k9AGAv3Lzd8HAtPD3ocOAuX7hM4GAqO1g9sIAtn65sgFAuDkr9QEAt7I1KkMAryhltsIAtizx/kBAvzS7IcBAr+YhK4PAsO3rtADAvea+sADAsvc4IgKAp/1vIoMApelp3ICl+PqiwwC/KX1gwUC3fv58gIC7ZG/pwIC4cnupQgCq7mdlgYCjciR+AwC8/ue4gkC4YWJywUCs+rviAECpuyJigECkfr5rgkC08rHoQ0C+erayQUCjMqStQkCpIuKtwEC+dG5ngICoZ3/og0CspXoxwwC+pzgmwwCkoD5mAYCn/qH2AcC/N/pvAcCv5OtwAICuZquqgcC0/OFnwkC2/2wzQMCrJrO9woC69G52ggC64nunggCtLOIsQEC9LyC7gUC0ry/zgIC1ZDvgQ0C98OfMgL4kaj3CQKXhebCCwKi3bjPBQKYuojTCAKc4+fxCAKyjLfoBALVxO8SAsXSyuQLAqyvkNIPApDV5PgDAtufwJwEAu2BsoYLAs3Oqd8PAo6i+YMDAsy706oCAsLjx7kLApu3+9gKAuLnvMoIAtWywo8OAv6MjvIHAtSDhJwNArXRmL0LAraZvUcC5cGygQoCz5HN7A0C+YzY9AMCmtWQ6AUC/oHF8w4CxeTgmg8CgszujQECss22vgYCp6HBuggCkfm+FAKngqb5BgKkuIzAAQKPspKCCQLu+eDvCwKf5YrEBQKl0M3ACgKm85DvDALCu/nfCwLbwO38DgLoz5eyDQLfr9XLCwL20/eUDgL7hpr3DAKh1tfbCgL48OuNBwK4tuKaCALpgbn5CgLC4dKvBgKKlu76CwKfhKLJAQLurPTIAwLG0o+hAgKI5Y6dDALq+OOlCQKxjuuICAK8yrLHBwLcrOSSAwLoiJfQCwKKyvrtBALXkbCBCgKt4bG9BQLr6qnxCwLC2pz2DQKQ7OuZBALt7t+DDAKR47b8CAKi6pPGCQKLl4r3CQK5yfj+AwLgzYvjDwKUjerODQK7mOPTCQL9qP3qBgKYiOL9AgLA8pSaBwKay8fBDQLqw93DCgKkjpf/CwLsyquQCwKtpbGsDALMtKmxBwKPpvCmBOAFHtmBuG3iNmIT9fQ8Z1TWMpjZ122|cccccccccnncnnnnn|

  • Weird error message using phone as iPod

    When I plug my iPhone into my car's iPod connection cord (which works fine with regular iPods and does not cause regular iPods to display any weird error messages), the iPhone says something about how "...that accessory does not work with the iPhone..." and asks me whether I want to switch to airplane mode. In spite of this weird message, I am able to play my music via the usual method in my car. Weird. Remedy?

    Actually Human,
    Many iPod accesories were not designed to operate in close proximity to a GSM phone. The iPhone is a GSM phone. There is a program for iPod accessory manufacturers to test and certify their accesories for use with the iPhone. This article contains more information:
    http://docs.info.apple.com/article.html?artnum=305766
    That being said, many will work without going into airplane mode, some will get interference from the GSM signal that will come through as a hum or sometimes popping noise. Since sending and receiving the GSM signal is needed to make calls, the iPhone can't be shielded to prevent interfering, the accessory needs to be.
    This article contains more information on potential interference:
    http://docs.info.apple.com/article.html?artnum=305662
    The short answer is the car adapter may work without going into Airplane Mode, or it may have interference from the GSM signal at times.
    Hope this helps,
    Nathan C.

  • Internet Download error message: the connection with the server has been reset

    With an WRT54GS v6 firmware v 1.50.9 on Windows XP SP2 with Internet Explorer 7, Intel wireless internal adaptor w/ 802.11b,  I was getting the error message "The connection with the server has been reset" when downloading most anything from the Internet.  My IP address would then be reset and download would be interrupted.  To resolve, I turned off the WZC (Wireless Zero Configuration) Services, and this seems to correct the problem.
    Control Panel > Admin Tools > Services > Wireless Zero Configuration > Disable
    Hopes this helps.

    Hi!
    Im using Windows 7.... I tried looking for the Wireless Config - but it isn't in the Services options!
    So, what can I do now?
    Thanx

  • I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Error message from source system

    Hi All,
    We have an infocube and ods which is being loaded from another ods. This is included in a process chain.
    In the process chain the Infopackage execution step has failed. When I right click and go for display messages, I found the following message in Messages tab:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the
    And in Indiv Messages tab,
    Delta upload is only possible after successful initialization.
    Errors in source system.
    I tried to update the data targets from the initial ODS manualy but in vain.
    Any Help is awarded with points.
    Thanks
    AP

    Hi,
      Goto Info pack -> on menu bar select scheduler -> select init options for source system -> one request with green status -> select it and  click on delete symbol , it will delete the init. you can cross verify this in the base ODS where you dint find data mart status(after refresh). now  select init delta process under that select init without data transfer and schedule the load it will update one record and init flag to your source ODS.
    Note: if the last request is not updated from soruce ods to targets for that also you will find data mart status for this select the particular data mart -> click on delete symbol it will delete for the particular request (if it is updated to target it will not allow you to delete) then do delta load it will update the request which is not loaded from source ods to next targets.
    Regards
    Sankar

  • Error message from Adobe Reader. cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly. Print looks like gibberish

    Trying to view/print PDF documents from website. Print looks like gibberish and is unreadable. Problem is with the embedded fonts. Error message from Adobe says cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly.

    Try Adobe support, that's not a Firefox support issue. <br />
    http://forums.adobe.com/index.jspa

  • Error message from Internet Explorer v8.0.6

    My Muse test site is currently on Business Catalyst. The url is http://wfax-test.businesscatalyst.com — my client says that they get an error message from Internet Explorer version 8.0.6 "MuseJSAssert: error calling selector function: error: a security problem occurred". The good news is that this only appears on the "Schedule" page of the site. Any idea what it could be? My client is afraid for me to put the site online because of this error message.

    Hi Artby,
    In your page, you have a link to "http://[email protected]//[email protected]" (Saturday Afternoon at 3:00). This link is technically a valid link, but I'm not sure it is what you intended. If you where looking to create an email there, you should remove the http:// in front of the link and Muse should properly create an email link. If you were trying to go to a website, I'd recommend you check the URL again to make sure you have it right.
    The link is throwing a security error because we have to do some extra processing for some of our links, so we check each of the urls and try to determine if there is extra logic we need. In this case, this link is telling the browser you'd like to "login" to the site qemi.org with the username "apostle". IE 8, by default, will block us from reading information from this type of link in case there is a password, or in case we shouldn't know the username. It is a security measure (thus the error) and should pose no risk.
    If you did intend to have that URL, then this won't quite work at the moment in Muse. To work around this, you could pull out this small snippet into a custom HTML element or something, which Muse won't try and process (though you'd need to remove the class "nonblock" from the link if you copy/pasted the Muse export code).
    Hope that helps,
    Andrew

  • Error message from my time capsule

    I get the following error message from my time capsule when I try to backup my HD:
    There was a problem connecting to the server "XXXXX".
    Check the server name or IP address, and then try again. If you continue to have problems, contact your system administrator.

    You have lost all network connection to the TC. This is not so unusual since Mavericks.
    You have listed hardware but the more important part is OS you are running.
    Have you done a restart of the TC? That often gets it going.
    A full network restart in correct order is next. With everything off.. power up modem.. wait 2min.. power up TC.. wait 2min. Power up computers etc.
    Still no luck. Factory reset the TC and start over.

  • How can I Fetch the error message from a OAF page

    Hi,
    A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
    Is that possible to fetch the error message from the page?

    is it a confirmation message or an error message ?
    Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
    you would need to look at the code to understand where this is thrown from and add your validation there.
    Tapash

  • Dynamic Error Message from a Bundle Showed in a rich:fileUpload

    Hello.
    There is a way to show a dynamic error message from a bundle (i.e, There is a problem in the word {0} in line {1}.) in a rich:fileUpload after the Managed Bean method in fileUploadListener="#{MyManagedBean.myMethod}" attribute was performed? That's because the error message parameters are discovered only after the MyManagedBean.myMethod execution.
    As far I know, I'm able only to show a static message with transferErrorLabel="#{myBundle.myErrorMessage}" attribute.
    Here is my rich:fileUpload component code:
      <rich:fileUpload id="upload"   
         fileUploadListener="#{PlanilhaManagedBean.importar}"  
         maxFilesQuantity="100" 
         immediateUpload="true" listHeight="130" acceptedTypes="xls"  
         addControlLabel="#{bundle.geralProcurarArquivo}" 
         ontyperejected="alert('#{bundle.geralExtensaoInvalida}')"    
         cancelEntryControlLabel="#{bundle.geralCancelar}" 
         clearAllControlLabel="#{bundle.geralLimparTudo}"     
         clearControlLabel="#{bundle.geralLimpar}" 
         doneLabel="#{bundle.geralArquivoTransferidoComSucesso}"  
         progressLabel="#{bundle.geralTransferindoArquivo}" 
         stopControlLabel="#{bundle.geralParar}"  
         stopEntryControlLabel="#{bundle.geralParar}" 
         transferErrorLabel="#{bundle.geralErroNaTransferenciaDoArquivo}" /> Any idea?
    Thanks in advance.

    Hi, BalusC. Thanks for your reply.
    I already tried that. I put a navigation-rule in faces-config.xml to the same page of the rich:fileUpload, but the rich:fileUpload component doesn't starts a get or a post request. So the navigation-rule is ignored and the page wasn't rendered again.
    I also tried to put the <a4j:support ...> in the rich:fileUpload to re-render the <h:messages ...> component, but didn't work too. The <h:messages ...> wasn't re-render.
    Thanks in advance.
    Edited by: reolca on May 10, 2009 5:40 AM

Maybe you are looking for