App Server changes the actual exception thrown [URGENT]

Hello All,
I am getting a very typical problem with SJS Platform Edition 8.1_01. I have a form to delete a record from table which throws an exception with oracle error in message as "ORA-02292: integrity constraint (some_constraint name) violated - child record found" .
Another code checks the message and converts it into more user friendly message to be displayed. This word fine when application runs in Studio. Problem arises when the application is deployed on Application Server. Here, the message is provided when same exception is thrown as "java.rmi.RemoteException: Unidentified Trap Session : nested exception is: java.rmi.RemoteException: nested exception is: java.rmi.RemoteException: "
Since this doesn't contain any ORA error no. the message is not converted to user friendly message.
I am not able to find out the reason for this as the same code works well on IBM Websphere studio/ App Server and also works fine on Sun Java Studio {jstudio_04Q4}.
Is there any configuration change that I need to do on SJS Platform Edition 8.1_01 or is there any setting which truncate the actual message of exception because in log I can see the whole message as "java.rmi.RemoteException: Unidentified Trap Session : nested exception is: java.rmi.RemoteException: nested exception is: java.rmi.RemoteException: Remote Entity Remove:  delete from CARD_MASTER where CARD_TYPE = ? ORA-02292: integrity constraint (ORACLE.FK_PROMO_CARD) violated - child record found"
Please help ASAP as this is becoming very critical.

I'm not sure what do you mean that it works with Studio?
You can see an exception text when you execute the SQL?
To check the actual exception text, you need to catch
the exception on the server side (i.g. in a Session Bean),
make sure the transaction is rolled back (if you need so),
and re-throw it as a checked exception to make sure the
text is untouched.
Regards,
-marina

Similar Messages

  • Mail SMTP-server changing the port by itself!

    Hi!
    My mail app keeps changing the smtp port from 25 to 547! I dont know how i can fix this..! It happens even though i havent put my macbook pro to sleep, over intervals of a couple of hours. Ive assigned mail to use a custom port 25 because for some reason it doesnt use port 25 when assigned to "Use default ports"..
    Any ideas of how to fix? Couldnt find any case like it on the interwebs.. :/
    -Tormod

    Hi!
    I have my own domain, so port 25 works for that mailaccount, none of the others..

  • How do I make a JTable's header sorting actually change the actual table?

    How do I make a JTable's header sorting actually change the actual table?
    Currently, I'm using
    table.setAutoCreateRowSorter(true);to allow the user to sort the table.
    However, I want to be able to load something based on the selected row's index. The problem is that when the table is rearranged, the change appears to only be local, in other words, the actual table isn't changing.
    For instance:
    index 0 "A"
    index 1 "B"
    index 2 "C"
    Sorted in reverse gives me
    "C"
    "B"
    "A"
    But C is still index 2 (instead of 0).
    Thanks in advance.

    Cross posted and answered in the Swing forum.
    [http://forums.sun.com/thread.jspa?threadID=5353865]
    I see this is not your first incidence of cross posting. In future, please post a question once only.
    db

  • Is there a way to change the actual song file but keep the 'info'?

    I have a compilation that took me a really long time to edit (by which I mean put the date for each individual song in because they were all released different years becaues it's a Bob Dylan compilation and I have smart playlists for each decade from the 50's upwards) and I want to change the actual file in itunes but keep the data, is there any way? It'd take ages to do again because it's a 3-cd album. I'm trying to change the file because the one I have is approx 200kbps bit rate and i want to have a different, 320kbps version that i've downloaded. I've tried opening the file in explorer and deleting it so that i can 'locate' the file again to the one i want to replace it with, but it changes the song title, album artist, and tags etc to the new file, whereas i thought it would just retain the information but change the actual file it played.
    i've had a really hard time explaining this i'm sorry if it's unclear. i was just wondering if there was any way to avoid the painstaking process of googling each song to find its release date and manually entering it when i already have a perfectly organised album.
    i can't find anything anywhere about this, presumably because i've no idea what the key words for the search would be, so i'm sorry if this is common knowledge.
    thanks in advance

    VBR vs. CBR isn't a concern as far as the strategy is concerned. As given it is slightly easier if the replacement files have exactly the same files names and folders as the files they are replacing (case doesn't matter) but if that isn't possible we can work around that too.
    Not my area but I think CBR gives larger files and less processing overhead for the same quality, which is a somewhat nebulous term. I'm not sure there is any real benefit.
    Yes a script is just another kind of a program.
    iTunes gives each track in the database a unique ID and knows the path that the file is supposed to live on. If you replace the original file with a different file of higher bitrate that has the same filename then iTunes will use that new file next time it wants to play the track. When it does so it will also read the tag and update itself if any of the information is different.
    The original function of the ExportImport script was to help someone else rescue play counts from an old library database. If works by scanning through selected tracks and writing out a text file that contains an ID for each track and the data that wants to be copied back later.
    Here is a sample output from the export:
    <#>iTunes Metadata - Exported 19/12/2012 20:03:58
    <ID>E5C69360-306A28AF
    <#>AC-DC\AC-DC Live\1 Thunderstruck
    <Plays>12
    <ID>7C1D487C-3414298C
    <#>AC-DC\AC-DC Live\2 Shoot To Thrill
    <Plays>12
    <ID>0DCF32CE-1079174E
    <#>AC-DC\AC-DC Live\3 Back In Black
    <Plays>15
    Each block consists of the iTunes track ID, a comment so we humans can see which track this is, followed by one or more properties. I can write you a custom version of this script but I need to know exactly which properties you need to save and then restore. For example Name, Year, Genre, etc. You need to compare a new and old version of one of your songs and work out which fields need resetting in the new song to make it match the old one.
    Having saved a file with the information that would otherwise change, you can then delete the older copies of the file, or better yet move them to a backup location, then copy in the new versions. If the filenames match iTunes will "see" the new files automatically, otherwise my FindTracks script can normally fix the broken links. Once iTunes is connected to all of the new files you drag and drop the saved text file onto the ExportImport script to run the import phase. This applies the saved data to each track in turn.
    tt2

  • Changing the actual filename in iPhoto library?

    I am now finally starting to sift through the largest of my iPhoto libraries - tagging them by company and town, etc.
    When I was in the initial tagging phase (using a smart album showing me all those that had no tags), I noticed one picture with Greenbush in the filename seemed out of place in the date order and a check against the map showed that it should have been named Neche instead. I changed the title accordingly, added the proper tags, and went on to the next picture.
    Now, with all the pictures tagged, I am going back through them all, using a smart album to show the tags one by one, so I can weed out duplicates, flag ones needing retakes, deleting those "why?" pictures, etc.
    I typed in Green expecting to pull up Green Valley (and Greenbush in the process) and iPhoto pulled up the picture I expected to see AND the picture whose title I changed - there was nothing that I could see that would cause it to come up under Greenbush instead of Neche, but it still was. I had to export the picture to see that changing the title does NOT change the filename. ¿håå?
    Is there a way to safely change the actual filename within iPhoto without having to export, change the filename, and reimport? (which is what I did to fix the picture)

    I had to export the picture to see that changing the title does NOT change the filename. ¿håå?
    That is correct - it is the way it works
    Is there a way to safely change the actual filename within iPhoto without having to export, change the filename, and reimport? (which is what I did to fix the picture)
    No - the file names are immaterial while your photos are in the iPhoto database - you have no need to look at the files and should not be - only when you take them out (export does it matter or can you change them)
    LN

  • RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ?  and how do I get the description? if I fetch it from itunes pages would that be considered violation of

    RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ?  and how do I get the description? if I fetch it from itunes pages would that be considered violation of apple's terms and conditions? Please help

    See this post.
    tt2

  • If I rename a clip in PPro, is there a command to change the actual file name like in FCP7?

    In FCP7 I could rename a clip in FCP and then use a menu command to change the actual file name to match:
    Can I do this in PPro or Prelude?
    Thanks!
    MtD

    This option is only available in the Project Manager.
    FEATURE request

  • Is there any free app to change the wallpaper automatically with in a particular span of time....if its there it would be great

    is there any free app to change the wallpaper automatically with in a particular span of time....if its there it would be great

    "Is there a tool, or something that I can use to modify the speed of a clip by dragging the edge of the clip, or something of the sort?"
    You can do this in FCP7. Drag with the speed tool.

  • I turn off my whats app lasseen time stamp more than 24 hours ago and now i can't turn it on it sees " could not connect to whats app services please try again latter"  i try deleting the app  and changing the calendar and still didnt worrk

    I turn off my whats app lasseen time stamp more than 24 hours ago and now i can't turn it on it sees " could not connect to whats app services please try again latter"  i try deleting the app  and changing the calendar and still didnt worrk

    Ok - an update ...
    Managed to get the phone to backup to iCloud, so decided to risk the "Factory" reset.
    Took the reset option including delete all data and crossed fingers.
    It took a while to resotre from iCloud, but everthing seems to be back and ...
    Bluetooth now working agaim.
    Backup to Computer working again.
    And somewhat to my surprise, GMail in the mail app is working again. (The surprise being that the implication of other posts was that this was a 6.1.3 fundamental bug)
    Still no idea why the iPhone was corrupted - but at least the "Factory" reset seems to have recovered the situation.

  • SSRS Reports " Failed to unload app domain DefaultDomain.The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015). error

    Hi,
    I'm using SQL Server 2008R2 Reporting Services.
    When i click on Web Services URL link it throws the below error.
    "Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
    The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
    and in the Event viewer i can see the below error for reporting services.
    "Failed to unload app domain DefaultDomain.  The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
    Any help would be greatly appreciated.

    Related thread has a solution:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to deploy a war file from a different app server to the SAP one

    Hello,
    I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?

    Hi Roy,
    in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
    You can do this using Netweaver Developer studio.
    Perform the following steps:
    - Start NWDS
    - Create a New Enterprise Application Project
    - Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
    - Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
    - Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
    => You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
    - Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
    - Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
    You are done
    The EAR file is generated and will be created in your workspace.
    Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
    Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
    You can now deploy the ear file to SAP J2EE
    Hope this helps (Reward points for helpful answers are appreciated!)
    Cheers

  • Bpel Server Does Not Catch Exceptions Thrown By Custom Xpath Functions

    Hi.
    I am using some custom xpath functions in a bpel process and whenever they fail I get an XPathExecutionError with summary:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "<my function>", the reason is FOTY0001: type error.
    Please verify the xpath query.
    I am forcing my function to fail by giving a wrong input, which should result in an XPathFunctionException("Input does not respect format").
    There is a note on Metalink with ID 458434.1 on this subject which says that patch 5926809 should fix my problem.
    Patch 5926809 fixes Bug 5926809 - ORA:PARSEESCAPEDXML XPATH EXPRESSION FAILED TO EXECUTE FOTY0001: TYPE ERROR.
    I am using it, but it does not work :(
    I am using version 10.1.3.3.0 of App Server with various patch sets, including fix for bug 5926809.
    Has anyone suggestions on how to overcome this problem?
    Thanks

    Hello,
    I am trying to add a custom xpath function to the BPEL server, and I see that you made it work. I am using Oracle SOA Suite 10.1.3.3 and jDeveloper 10.1.3.4. I am using this function inside an xsl mapping file, although I am able to compile and deploy the Bpel Process to the server, it stops mapping where I placed the function and I have not seen any meaningful message from the domain/log/ files.
    Can you tell me how you did it?
    I think you will tell me faster than Oracle support, I already placed an SR but they just give me superficial advice.
    I appretiate your time and advice,
    Guillermo

  • Project Server changes the permissions automatically

    Hi everybody
    I've already searched the internet for a solution and unfortunately haven't found anything. Following case: The overnight patch changes every time the given permissions. That means that the patch deletes some permissions or that he gives permissions to people
    who shouldn't have permissions on specified projects. Do you have any idea what could be the issue?
    Kind regards
    Roman

    Roman - have you got either the Enterprise Resource Pool or one or more Security Groups synchronising with Project Server?
    If you do then you may be experiencing situations where a user has been removed from an AD group and as a result is removed or marked as inactive in a security group. Active Directory has primacy over project server, changes in AD impose upon Project Server.
    Dominic Moss | MAPM Microsoft Certified Technology Specialist | Our Newsletter:
    PM News Project Server Specialists
    Project Server PRIME | Twitter:
    @Twitter | Facebook:
    @Facebook | Linkedin:
    Wellingtone

  • How to  change the Portal Exception  from the page

    Hi Experts,
        I want to remove  the exception symbol in Portal.If no roles were assigned to a user you will get a page  displaying that " No roles are assigned to the user please contact System Admin ".I have customizied this page ,changed the string (com.sap.
    portal.navigation.portallauncher.par.).But now I want to remove the exception symbol (Red) from the page.Is it possible to remove  the exception symbol  only for the particular page?Can  any one please guide me.
    Thanks&Regards
    Alexi

    To redirect HTTP to HTTPS
    http://help.sap.com/saphelp_nw04/helpdata/en/b8/437d46d4451e4c9ab756e272a1581d/frameset.htm
    Please check this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/197e6aec-0701-0010-4cbe-ad5ff6703c16
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/48e13a1522a441e10000000a11405a/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
    Cheers!!
    SJ

  • Collaboration Server - changing the SMTP server info

    We have installed the collab server. However the SMTP server info specified during the install, was incorrect. I need to change the SMTP server name. Is this configurable through any config file setting or do I need to re-install collab erver.
    Any help on this would be appreciated.
    Thanks.
    Vanita

    Vanita -
    What version of Collab are you using? The SMTP notification settings are all accessible without re-installing. I am looking at a 3.0 Collab install and the settings are all in the plumtree\ptnotification\3.0\settings\config\config.xml file.
    Hope this helps.
    -- Jeff Chastain

Maybe you are looking for

  • How do i turn off the find my phone

    i have a iphone 6 64 gb gold. i also have the same phone in the grey.i want to sell my gold iphone but i dont know how to turn off the "find my phone program. help?

  • To pass the values in repetitive structures any function module

    hi all,       Is there any function module to pass the values in repetitive structures like infotype 0041(Date spcification). I heard there is a function module, so any of you can tell that function module. thanks, sekhar.

  • Segments with 100 extents

    Hi Brother, We found some of table segments more than 100. How can I fix it? rebuild table or can do some defrag script? Thanks

  • What is the photo sharpening method used in Preview?

    When looking at an image in Preview, under Tools -> Adjust Color, there is an option for sharpening. Does anybody know what sharpening method/ algorithm is used, and is it based on one of the several sharpening methods used in, e.g. Photoshop? Thanks

  • DPMBackup.exe -replica not creating anything in the Shadow Copy folder

    I thought I had this issue resolved in a question I asked earlier. When I run dpmbackup.exe -replicas on my DPM server it says that it was successful for each item. This DPM server only backs up our Exchange 2010 DAG. However, when I go to the volume