Application Exception using @Application not working

I'm trying to create 2 business application exception using the @Application annotation on my 2 java exception class. The first exception is a StarException class that extends java.lang.Exception (per ejb 3.0 spec). Below is snippet of the class.
@ApplicationException(rollback=true)
public class StarException extends Exception {...}.
As you can tell that this is a check exception and will rollback transaction when it occurred. I have another exception class called StarRuntimeException that extends java.lang.RuntimeException. This is also mention on ejb 3.0 spec and is useful if you don't want to catch the exception on the server side and just throw it and the client will receive such application exception class. Below is a snippet of the class ...
@ApplicationException(rollback=false)
public class StarRuntimeException extends RuntimeException {...}.
By the way I'm using this exception in my wls 10.3 webservices stateless beans (jax-rpc 1.1). Some of the methods throws these 2 exceptions.
There are 2 problems with this application exception during runtime on the client side.
1. Regarding StarException, the client can catch this exception when the webservice method throws this exception. The problem is that the error messages is null. Tried both getMesssage() and getLocalizedMessage() are all null.
2. Regarding StarRuntimeException, the generated client stubs and artifacts does not even throw this exception, therefore it will not the caught. This exception is wrapped inside RemoteException instead.
Your help are needed. Thanks

Ok. I figured it out. The url rewrite was missing in the config. Put it there and its working now.

Similar Messages

  • Two part question 1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? 2) does installing messages beta on os x lion 10.7.5  delete ichat?

    Two part question
    1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? can you stil use AIM, jabbar, google talk, or yahoo?  if you open messages beta does it immediately tell you that messages beta expired?
    2) does installing messages beta on os x lion 10.7.5  delete ichat or just transform ichat into messages beta giving the illusion that ichat is deleted?

    Hi,
    It was never completely clear whether it was just hidden or whether Apple ran a download page for iChat 6.
    As the Download for Messages Beta was separate and "Deleted" iChat it would seem it would be another download for iChat 6.
    iMessages will not function as it is only an Account type within Messages and iChat 6 does not have it.
    Therefore messages on the iPhone will not sync to the Mac. (until you get Mountain Lion and Messages in that OS X version).
    Mountain Lion and it's full version of Messages will not sync the iMessages that have happened in between the 14th December 2012  (end date of Messages beta) and the Install of Mountain Lion if you decide on that route.
    8:51 PM      Sunday; May 5, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • Application not working without restart the blackberry

    Dear All, when i get connected through WiFi , the only app working is the browser and the reset of the applications not working , and after restarting the blackberry phone every thing working fine for just 24 hours then it come back down again and i need to restart again , so could any one help

    mohammedzico1 wrote:
    the only app working is the browser and the reset of the applications not working , a
    Specifically, what other applications are not working? Name them.
    Do you have a BlackBerry Data Plan enabled on your account with your carrier or mobile provider? You must, in order to get the RIM push email functions you are looking for, as well as additional BlackBerry data services such as the internet browser, Facebook for BlackBerry, BlackBerry Messenger, and much more.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Change password on the first use - does not work

    Change password on the first use - does not work.
    Created a user and specified 'Change password on the first use' - when user logs in - the 'Change password' window does not pop- up.
    Please advise.

    (APEX 4.0.2) I am running into this same issue - if you don't set the password expiration and locking to 'Yes', the user gets into the app without being asked to change the pw.
    When you do set expiration and locking - after the user logs on with their temporary password, it does take them to the change password page (4155:50) but the username is blank. Because the username didn't get to the page the old password will never match and you get the "Invalid password" message.
    What am I missing? Anyone successful doing this?
    Simple application, default authentication, no javascript, HTTP_SERVER, no ssl.
    Thanks,
    Steve

  • Application for receiving application not working..

    Hi..experts.
    i m new to j2me programming. plese help me.
    I got an application for receiving SMS from net. i nstalled it on nokia N73. but it's not working.
    this is the code of that app...
    package receivedemo.sms;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import javax.microedition.midlet.*;
    import java.io.*;
    public final class ReceiveMidlet extends MIDlet
    //The data we expect to receive.
    private static final String TEST_DATA = "This is just a test";
    public ReceiveMidlet()
    //Signals the MIDlet that it has entered the Active state.
    public void startApp()
    //Get the display object for this MIDlet.
    Display d = Display.getDisplay(this);
    //Create and start a new WorkerThread.
    Thread t = new WorkerThread();
    t.start();
    //Create a new Alert.
    Alert alert = new Alert("Starting DynamicPushRegisry");
    //Display the alert for 2 seconds.
    alert.setTimeout(2000);
    d.setCurrent(alert);
    private class WorkerThread extends Thread
    public void run()
    //Get all connections registered with the PushRegistry
    //for the current MIDlet suite.
    String[] connections = PushRegistry.listConnections(true);
    if ( connections.length == 0 )
    //Nothing is registered, register a connection.
    try
    //Dynamically register a socket connection
    //on port 50000.
    PushRegistry.registerConnection("socket://:50000",
    "receivedemo.sms.ReceiveMidlet","*");
    } catch (ConnectionNotFoundException e)
    message(e.toString());
    } catch (ClassNotFoundException e)
    message(e.toString());
    } catch (IOException e)
    message(e.toString());
    else
    //A connection is already registered and data is arriving.
    //Fetch the incoming data.
    fetchData(connections[0]);
    //Shut down to wait for data.
    message("Done");
    System.out.println("correct till here");
    notifyDestroyed();
    //Fetches the incoming data.
    private void fetchData(String connection)
    try
    //Open the connection.
    Connection c = Connector.open(connection);
    if ( c instanceof StreamConnectionNotifier )
    //Open an InputStream.
    StreamConnectionNotifier scn = (StreamConnectionNotifier)c;
    StreamConnection sc = scn.acceptAndOpen();
    InputStream input = sc.openInputStream();
    //Extract the data from the InputStream.
    StringBuffer sb = new StringBuffer();
    byte[] data = new byte[256];
    int chunk = 0;
    while ( -1 != (chunk = input.read(data)) )
    sb.append(new String(data, 0, chunk));
    //Close the InputStream and StreamConnection.
    input.close();
    sc.close();
    String s = sb.toString();
    //Test the data for validity.
    //If invalid an exception is thrown.
    Assert.assertTrue(TEST_DATA.equals(s),
    "Failed to receive proper string: " + s);
    //Display the received data.
    message("Received: " + sb.toString());
    } catch (IOException e)
    message(e.toString());
    //Display a String message to the user.
    private void message(String msg)
    //Create a new Alert with the message.
    Alert alert = new Alert(msg);
    //Display the alert for 5 seconds.
    alert.setTimeout(5000);
    Display.getDisplay(this).setCurrent(alert);
    //Signals the MIDlet to stop and enter the Pause state.
    public void pauseApp()
    //Signals the MIDlet to terminate and enter the Destroyed state.
    //Unconditional when set to true. The MIDlet must cleanup and release
    //all resources. Otherwise, the MIDlet may throw a
    //MIDletStateChangeException to indicate it does not want to be
    //destroyed at this time.
    public void destroyApp(boolean unconditional)
    //Throws an IllegalStateException with the supplied error message.
    final class Assert
    private Assert()
    static public void assertTrue(boolean exp, String failmsg)
    if (!exp)
    throw new IllegalStateException(failmsg);
    plzz help me...it's important for me. Thanks a lot

    when i send a SMS there is no reaction from application.
    i don't know how is this failing.
    i am very troubling about this.
    i have to receive the SMS that comes to the inbox.
    if you have any working source code please give me.
    Thank you so much.
    Edited by: RavindraDiwakar on Sep 14, 2008 8:17 PM

  • Application not working on CentOS platform...

    Hi,
    I have created an application in Java1.5. I am also using swingX library for Hyperlink control. I have tested my application on various platform i.e. windows xp, Fedora, Ubantu. Its working fine. But this is not working on CentOS v5 platform. I got the following error.
    [root@localhost MyApplication]# ./MyApplication.sh
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    UIDefaults.getUIError: failed to locate UI class:HyperlinkUI
    Any suggestion on this.

    Looks like I'll have to use either an InfoMessage, or a Popup to display a message.

  • Application not working with MS ACCESS DB at runtime

    I have problem with my application that working properly at runtime( via visual studio ) and update data grid of windows form .net . But after publish the application and run this then , I am getting following error as shown in image. Please help me , how
    to solve it , I do a lot of search , not able to find any solution on that. Error come when running the application.
    Application coded in VB.NET, Visual Studio 2013, MS ACCESS 2013
    Connectionstring : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\labprofiles.mdb;User Id=admin;Password=;
    [or Persist Security Info=True or Persist Security Info=false ]

    Hello,
    To set the path use
    SetData and GetData to retrieve the current path
    AppDomain.CurrentDomain.SetData("DataDirectory", "Your path")
    AppDomain.CurrentDomain.GetData("DataDirectory").ToString
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Application not working in Quality, which was working fine in Dev. Urgent!!

    Hello Guru's,
    We are experiencing a problem in portal.
    Issue: We customized application in MSS( General Information which calls FM in the backend to populate the data) using NWDS and deployed the application into Development System and it's working fine. so we used NWDI to transport the code into Quality and the application is not working fine in Quality. The Issue is when transported the application into Quality it is not showing any data. and when checked the RFC trace it is not showing any FM been called when accessing the application. And also when checked in NWA it is not showing any error, when checked the JCo connections they are working fine.
    Anyone please help us out. It's very Urgent.
    Thanks in Advance.
    Regards,
    Pramod
    'Points will be awarded for sure for helpful answers.'

    Hello Harini,
    Thank you for the reply, and I was expecting answer from you. Was seeing other forums and your replies to those .
    Anyways Let me tell a little more on the issue:
    We are implementing ESS/MSS in portal as per the req. we need to create a custom iview with employee details. And for that we have created a FM which will pick up the data and we are accessing that Function Module in WebDynpro application.
    We deployed the code into QA and Prod In prod it is working fine but in quality it's giving 500 Internal Server Error
    when checking the log file we are not getting any error logged. and checking in the R/3 whether that FM is executing when accessing the application using ST05 tcode it is not showing up the RFC trace either.
    And Configuration of QA is same as Prod and all the permission are properly assigned.
    Just wondering how is a application responding differently in different landscapes.
    Looking forward for a solution.
    Appreciate your time and help.
    Regards,
    Pramod

  • Application not working on CSM

    Hi ,
    Could some one explain whats the difference between the using the port and using the Any while configuring VIP on CSM?
    After configuring "Any" keyword under the context the application is not  working.
    (NOTE: If I change it to http it works eg:virtual 192.168.1.1 tcp http/port  number)
    Example:
    vserver usa
    virtual 192.168.1.1 tcp any  :-----If i change this "any" keyword with  tcp  port number it works
      replicate csrp sticky
      replicate csrp connection
      no persistent rebalance
      slb-policy fariha
      inservice
    policy fariha
    sticky-group 4
    serverfarm zain
    sticky 4 cookie zain insert
    The IOS running on the CSM is 2.2(3)
    Any help would be appriciated.
    Thanks
    Fariha

    The "tcp any" will allow connections to that Virtual IP on any TCP port.  If it is
    working using the specific port, it should be working using any.  Keep in mind that the CSM will accept and load balance using "tcp any," b
    ut your server may not be listening on that port and will reset the connection.
    As a best practice, you should define the specific port on the vserver for load balancing.  Using the "any" statement has it's purposes, but for general load blancing define the tcp/udp port number for your application.  This is also more secure.
    Kris

  • Application not working in IE 11

    Hi all,
    application built on 11.1.1.6
    I am working on application which of custom task flow and used in webcenter spaces application.
    Its not working in IE 11.Getting an popup message that it is not supported version.I try to follow  Jonas de Graaff weblog: How to run your ADF 11.1.x application under IE 11: a workaround
    this approach..But still not working.am i doing wrong anywhere?
    Please suggest. Should i raise an SR? What you suggest?

    Timo Hahn Yes, that's the last option i have.I tried this workaround.I am able to see first page(Login page) but buttons are not working.no navigation happening...

  • Sample application not working in iAS6.5

    I am using iAS6.5 and iWS6.0. The provided sample application HelloWorld do not work for my case.
    After deploying the application and using the URL http://myhost/NASApp/helloworld/index.html
    The Result is
    ********Browser Output*********
    GX Error (GX2GX)
    socket result code missing!!!
    *********iAS output**********************************************
    [07/Aug/2002 22:29:17:9] info: NSAPICLI-009: plugin reqexit: 0s+.132s. (-908962816)
    [07/Aug/2002 22:31:11:8] info: NSAPICLI-012: plugin reqstart, tickct: -501276465
    [07/Aug/2002 22:31:12:3] info: PROT-006: new connection established
    [07/Aug/2002 22:31:14:3] info: NSAPICLI-009: plugin reqexit: 2s+.47043s. (-492433444)
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-012: plugin reqstart, tickct: -423260265
    [07/Aug/2002 22:31:33:6] warning: UTIL-013: GXGUID: NameTrans lookup failed (Applogic Servlet System_StaticServlet)
    [07/Aug/2002 22:31:33:6] warning: NSAPICLI-011: socket result code missing!!!
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-009: plugin reqexit: 0s+.135s. (-423255431)
    if I move the index.html to the webserver physically and run this URL
    http://myhost/ias-samples/helloworld/docs/index.html
    The sample application works fine.
    Any explanation why the provided sample application don't work ?
    I do not have this problem when using iAS6.0 and iWS4.1.
    Thank you

    Help, anyone. I have tried deploying the application using both the command line method and the tool provided. The result are the same. I emphasis, I have used iAS6.5 and iWS6.0 to try the sample helloworld application. And I have not problem trying the application with iAS6.0 and iWS4.1.
    I am using iAS6.5 and iWS6.0. The provided sample
    application HelloWorld do not work for my case.
    After deploying the application and using the URL
    http://myhost/NASApp/helloworld/index.html
    The Result is
    ********Browser Output*********
    GX Error (GX2GX)
    socket result code missing!!!
    *********iAS
    output**********************************************
    [07/Aug/2002 22:29:17:9] info: NSAPICLI-009: plugin
    reqexit: 0s+.132s. (-908962816)
    [07/Aug/2002 22:31:11:8] info: NSAPICLI-012: plugin
    reqstart, tickct: -501276465
    [07/Aug/2002 22:31:12:3] info: PROT-006: new
    connection established
    [07/Aug/2002 22:31:14:3] info: NSAPICLI-009: plugin
    reqexit: 2s+.47043s. (-492433444)
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-012: plugin
    reqstart, tickct: -423260265
    [07/Aug/2002 22:31:33:6] warning: UTIL-013: GXGUID:
    NameTrans lookup failed (Applogic Servlet
    System_StaticServlet)
    [07/Aug/2002 22:31:33:6] warning: NSAPICLI-011:
    socket result code missing!!!
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-009: plugin
    reqexit: 0s+.135s. (-423255431)
    if I move the index.html to the webserver physically
    and run this URL
    http://myhost/ias-samples/helloworld/docs/index.html
    The sample application works fine.
    Any explanation why the provided sample application
    don't work ?
    I do not have this problem when using iAS6.0 and
    iWS4.1.
    Thank you

  • Powershell unzip with shell.application not working when launched from windows service

    I have a deployment agent on a machine implemented as a windows service. Service is 32-bit and runs on windows server 2008R2 x64 SP1 with powershell V2. Powershell script requires elevation and to run under x64 because of dependency to powershell module
    'IIS Administration'. To achieve this, the service starts a cmd file which in turn launches powershell x64 console:
    C:\WINDOWS\sysnative\WindowsPowerShell\v1.0\powershell.exe "Start-Process C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell -ArgumentList '-ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File C:\Temp\EndJobCmd\Install.ps1' -Verb RunAs"
    This seems to work well. The problem I have is that the script has a sequence where it unpacks a zip file to a destination folder using shell.application, this works fine when triggered manually on the server or through the task scheduler, but when triggered
    from the service it does not extract any files at all (cannot see any errors thrown by the script but it seems to continue to execute as it logs a successful message to the event log after finishing).
    Unzip sequence looks like:
    $shell = New-Object -com shell.application
    $pkg = $shell.namespace($sourceFile)
    $installDir = $shell.namespace($targetDir)
    $installDir.Copyhere($pkg.items(), 20)
    Any advice greatly appreciated. I have searched some and seen a few people with similar issue but have yet to find a solution.

    If it's still actual, I managed to fix this with having CopyHere params equal 1564. 
    So in my case extract zip function looks like:
    function Expand-ZIPFile{
    param(
    $file, $destination
    $shell = new-object -com shell.application
    $zip = $shell.NameSpace($file)
    foreach($item in $zip.items())
    $shell.Namespace($destination).copyhere($item,1564)
    "$($item.path) extracted"
    1564 description can be found here - http://msdn.microsoft.com/en-us/library/windows/desktop/bb787866(v=vs.85).aspx:
    (4) Do not display a progress dialog box.
    (8) Give the file being operated on a new name in a move, copy, or rename operation if a file with the target name already exists.
    (16) Respond with "Yes to All" for any dialog box that is displayed.
    (512) Do not confirm the creation of a new directory if the operation requires one to be created.
    (1024) Do not display a user interface if an error occurs.

  • IPhone 3g Applications not working.

    Hi there, my name is Eden
    I just recently bought my iPhone 3g and recieved it yesterday, luckily on my birthday=P
    Anyways, my iPhone was working perfectly with no problems and no errors, untill now. I downloaded an Application, iLightr and while it was loading to be downloaded, i deleted some other applications i Did not want no more. When the iLightr application was done, those applications i delete and another application that i never seen popped back up. I deleted them again including the application i never seen.
    Anyway, this application was named something with an F i dont remember perfectly.
    After deleting those applications, I tried to work my AIM Application. It did not work. When i clicked it, screen goes white with stripe as if its about to load AIM and then it goes back to the main page of the iPhone were i have my applications, SMS AIM Facebook Myspace and games.
    All my applications now do this, and it is bugging me out.
    Can someone help me in an easy way because I am still a child and do not understand a lot of words that are complicated. Thanks!

    Okay, my dad's phone had (or has) the same problem so I've spent many many hours with and without a mac genius trying to find a solution, so I've since formed a number of vague ideas about why the problem occurs:
    The problems started shortly after I had authorized his computer to play my Texas Hold Em app, and he subsequently tried to upload it to his phone (let me know if any of you tried something similar). I don't know if this was to blame at all, but I'm pretty sure the issue has to do with authorization: for some reason the account used to download apps through iTunes and the account used to download apps on the iPhone were seen as two different accounts, so upon restarting or resyncing there was a conflict between accounts that made the iPhone think it wasn't authorized to open the apps that were uploaded to the phone (which is why the primary apps will still work - no downloading or syncing involved). Some of the solutions I found to the problem also reinforce this:
    The first time I was able to fix it was by selecting the phone in iTunes and toggling some of the info (calendars, email, contacts etc) that was supposed to sync to the phone. First, they had been auto-deselected for some reason, so when I told iTunes that it was supposed to sync that info (by clicking the checkbox) it came up with a warning that said something like "are you sure because this iPhone is linked to a different account" and then it might have mentioned erasing or something but either way it was mistaken because the phone had only ever been synced with that computer (it was in fact a brand new 3g that the mac genius had just given us over the course of troubleshooting) - so I said sure erase it or whatever and everything worked fine, 3rd party apps and all.
    That fixed it for a while, but when it happened again I did EVERYTHING. I restored the phone to factory settings, reinstalled the entire OS on the MacBook (meaning all apps deleted, etc, etc), and DID NOT restore the phone from a backup. Before syncing I also deauthorized his computer from his account AND my account, then reauthorized him for his account only. I had "sync applications" selected in iTunes, but I told it to never upload apps from the phone to iTunes. That all fixed it for the longest period yet, but the problem recurred once again yesterday, and then it froze on the silver boot-up screen (any of you having this prob too?).
    This time we fixed it by putting the phone into recovery mode (hold down the lock and home buttons together and keep holding them down past the restart until you see the plug-into-itunes logo) while it was plugged into itunes, deleting all applications from iTunes, and setting the phone up as new (do not restore from a backup). Now it's working again.
    So I say it's either a recurring bug to the iPhone, or there is some residual bad info on my dad's account on the apple servers that somehow keeps making it to the iPhone or iTunes thus causing the conflict again. I know it doesn't make sense when I say it, but It LOOKS like the iPhone and iTunes think they're actually two different accounts so the iPhone eventually thinks it's not allowed to play the apps it downloads. Either way, I'm turning off app syncing on the phone for now and just managing them purely from the phone itself.
    Hope this helped ANYBODY .

  • Windows Update and UAC controlled applications not working

    Hi I am currently using Windows 8.1 Pro. When I try to open windows update from control panel, the computer just freezes.
    I tried to stop and then restart the update service from task manager, but it didn't work. Also, while doing this, I
    think I accidentally disabled the Application Experiences Service. Now, any UAC controlled apps are not opening and any task which requires administrator permission is also not working.
    PLEASE HELP!

    Hi,
    It seems like system components corrupt, is there any error message when these tools doesn't work?
    Please check Event Viewer if it identify this problem.
    In addition, please try to use SFC /Scannow command to fix system file for test.
    Roger Lu
    TechNet Community Support

Maybe you are looking for

  • Who has deleted the info type?

    Hi there, We are running ECC6.0 with Oracle 10g Release 2 on Windows 2003 Server. On our development box, somebody had deleted an important info type. The Security Audit is not enabled in ECC. How do I find out which user deleted that info type? What

  • Please help activating EDU version of Master collection purchased from reseller

    Last week I purchased the Adobe CS5 Master collection (Teacher and student edition) from a reseller and received the software package last Thursday (16th Feb).   On that same day, I followed the instructions and visited www.adobe.com/go/eduverify to

  • Can't view files with long file names?

    Hi, Im using Mac OSX 10.3.9 and I have a problem viewing files on a server that have long file names (i.e over about 20 characters) they do not show up on my mac but when viewed on a PC computer they are all there. Strange thing is though I have anot

  • How do i get videos taken on my iPad to imovie

    I took video on my iPad 2 and downloaded it to iPhoto.  I am trying to get it into iMovie but it will not transfer over.  The videos do not play in iPhoto either.

  • CC not installing in CS6

    I've downloaded the CC trial, and the upgrade to CS6 was confirmed, but I don't see any changes when I open CS6. None of the new filters are there, etc. thanks.