Problem using Handler chain with JAXWS

Hi, I want to use handler chain on a web service and I'm not sure if I understood correctly how it works. In every example I found on the web the handler chain is applied on the client side (the binding is made on the generated client side). So, when I send a request the handler catch an outbound message and when the web service respond, it receive an inbound message. The problem is that I would like to link the handler on the server side, i.e. when the web service receive a request, the handler receives an inbound message and when the WS respond it receives an outbound message.
Is it possible to do so?? I mean, it makes no sense to link the handler on the client side, since I don't have control on the client side, I produce web services and I want to apply some handlers at this level.
Any idea??? Or is there something that I didn't understand about handler chains??
Thanks,
Korg

Hello again, I finally found how to do what I wanted to do. The problem came from different examples I found on the web. In my handler.xml file, the structure must be something like:
<jws:handler-chains xmlns:jws="http://java.sun.com/xml/ns/javaee">
<jws:handler-chain>
<jws:handler>
<jws:handler-class>........</jws:handler-class>
</jws:handler>
</jws:handler-chain>
</jws:handler-chains>
In many examples, there is an element at the root that is "handler-config" and it doesn't work if I use it this way. Here's an example of a handler.xml file that doesn't work:
<handler-config>
<handler-chains>
<handler-chain>
<handler>
<handler-class>............</handler-class>
</handler>
</handler-chain>
</handler-chains>
</handler-config>
Korg

Similar Messages

  • Is it possible to throw an exception from a handler chain with JAXWS???

    I know I cannot throw directly an exception from the handler cause my handler extends SOAPHandler and the method handlerMessage cannot throw exceptions. The problem is that I would like to validate some authorization and if the client doesn't have the appropriate rights, I would like to throw an exception from the handler without calling the web service itself, so the client would receive a valid soap response from the server. Is it possible?? Is there another mechanism that I can use to do that??
    Thanks a lot
    Korg

    You can throw a ProtocolException or RuntimeException from handleMessage().
    If you throw ProtocolException, HandleFault() is called on previously invoked handlers.
    If you throw a RuntimeException, handleFault() or handleMessage() is not called on previously invoked handlers, and the Exception is converted to Fault message and dispatched.

  • Problem using SQL Loader with ODI

    Hi,
    I am having problems using SQL Loader with ODI. I am trying to fill an oracle table with data from a txt file. At first I had used "File to SQL" LKM, but due to the size of the source txt file (700MB), I decided to use "File to Oracle (SQLLDR)" LKM.
    The error that appears in myFile.txt.log is: "SQL*Loader-101: Invalid argument for username/password"
    I think that the problem could be in the definition of the data server (Physical architecutre in topology), because I have left blank Host, user and password.
    Is this the problem? What host and user should I use? With "File to SQL" works fine living this blank, but takes to much time.
    Thanks in advance

    I tried to use your code, but I couldn´t make it work (I don´t know Jython). I think the problem could be with the use of quotes
    Here is what I wrote:
    import os
    retVal = os.system(r'sqlldr control=E:\Public\TXTODI\PROFITA2/Profita2Final.txt.ctl log=E:\Public\TXTODI\PROFITA2/Profita2Final.txt.log userid=MYUSER/myPassword @ mySID')
    if retVal == 1 or retVal > 2:
    raise 'SQLLDR failed. Please check the for details '
    And the error message is:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 5, in ?
    SQLLDR failed. Please check the for details
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • Problem using CORBA clients with RMI/EJB servers..!!!???

    Hi,
    I have a question on using EJB / or RMI servers with CORBA clients using
    RMI-IIOP transport, which in theory should work, but in practice has few
    glitches.
    Basically, I have implemented a very simple server, StockTreader, which
    looks up for a symbol and returns a 'Stock' object. In the first example, I
    simplified the 'Stock' object to be a mere java.lang.String, so that lookup
    would simply return the 'synbol'.
    Then I have implemented the above, as an RMI-IIOP server (case 1) and a
    CORBA server (case 2) with respective clients, and the pair of
    client-servers work fine as long as they are CORBA-to-CORBA and RMI-to-RMI.
    But the problem arises when I tried using the RMI server (via IIOP) with the
    CORBA client, when the client tries to narrow the object ref obtained from
    the naming service into the CORBA idl defined type (StockTrader) it ends up
    with a class cast exception.
    This is what I did to achieve the above results:
    [1] Define an RMI interface StockTrader.java (extending java.rmi.Remote)
    with the method,
    public String lookup( String symbol) throws RMIException;
    [2] Implement the StorckTrader interface (on a PortableRemoteObject derived
    class, to make it IIOP compliant), and then the server to register the stock
    trader with COS Naming service as follows:
    String homeName =....
    StockTraderImpl trader =new StockTraderImpl();
    System.out.println("binding obj <" homeName ">...");
    java.util.Hashtable ht =new java.util.Hashtable();
    ht.put("java.naming.factory.initial", args[2]);
    ht.put("java.naming.provider.url", args[3]);
    Context ctx =new InitialContext(ht);
    ctx.rebind(homeName, trader);
    [3] Generate the RMI-IIOP skeletons for the Implementation class,
    rmic -iiop stock.StockTraderImpl
    [4] generate the IDL for the RMI interface,
    rmic -idl stock.StockTraderImpl
    [5] Generate IDL stubs for the CORBA client,
    idlj -v -fclient -emitAll StockTraderImpl.idl
    [6] Write the client to use the IDL-defined stock trader,
    String serverName =args[0];
    String symList =args[1];
    StockClient client =new StockClient();
    System.out.println("init orb...");
    ORB orb =ORB.init(args, null);
    System.out.println("resolve init name service...");
    org.omg.CORBA.Object objRef
    =orb.resolve_initial_references("NameService");
    NamingContext naming =NamingContextHelper.narrow(objRef);
    ... define a naming component etc...
    org.omg.CORBA.Object obj =naming.resolve(...);
    System.out.println("narrow objRef: " obj.getClass() ": " +obj);
    StockTrader trader =StockTraderHelper.narrow(obj);
    [7] Compile all the classes using Java 1.2.2
    [8] start tnameserv (naming service), then the server to register the RMI
    server obj
    [9] Run the CORBA client, passing it the COSNaming service ref name (with
    which the server obj is registered)
    The CORBA client successfully finds the server obj ref in the naming
    service, the operation StockTraderHelper.narrow() fails in the segment
    below, with a class cast exception:
    org.omg.CORBA.Object obj =naming.resolve(...);
    StockTrader trader =StockTraderHelper.narrow(obj);
    The <obj> returned by naming service turns out to be of the type;
    class com.sun.rmi.iiop.CDRInputStream$1
    This is of the same type when stock trader object is registered in a CORBA
    server (as opposed to an RMI server), but works correctly with no casting
    excpetions..
    Any ideas / hints very welcome.
    thanks in advance,
    -hari

    On the contrary... all that is being said is that we needed to provide clearer examples/documentation in the 5.1.0 release. There will be no difference between the product as found in the service pack and the product found in the 5.1.1. That is, the only substantive will be that 5.1.1 will also
    include the examples.
    "<=one way=>" wrote:
    With reference to your and other messages, it appears that one should not
    expect that WLS RMI-IIOP will work in a complex real-life system, at least
    not now. In other words, support for real-life CORBA clients is not an
    option in the current release of WLS.
    TIA
    "Eduardo Ceballos" <[email protected]> wrote in message
    news:[email protected]...
    We currently publish an IDL example, even though the IDL programmingmodel in Java is completely non-functional, in anticipation of the support
    needs for uses who need to use IDL to talk to the Weblogic server,
    generically. This example illustrates the simplest connectivity; it does not
    address how
    to integrate CORBA and EJB, a broad topic, fraught with peril, imo. I'llnote in passing that, to my knowledge, none of the other vendors attempt
    this topic either, a point which is telling if all the less happy to hear.
    For the record then, what is missing from our distribution wrt RMI-IIOPare a RMI-IIOP example, an EJB-IIOP example, an EJB-C++. In this you are
    correct; better examples are forth coming.
    Still, I would not call our RMI-IIOP implementation fragile. I would saythat customers have an understandably hard time accepting that the IDL
    programming model is busted; busted in the sense that there are no C++
    libraries to support the EJB model, and busted in the sense that there is
    simply no
    support in Java for an IDL interface to an EJB. Weblogic has nothing to doit being busted, although we are trying to help our customers deal with it
    in productive ways.
    For the moment, what there is is a RMI (over IIOP) programming model, aninherently Java to Java programming model, and true to that, we accept and
    dispatch IIOP request into RMI server objects. The way I look at it is this:
    it's just a protocol, like HTTP, or JRMP; it's not IDL and it has
    practically nothing to do with CORBA.
    ST wrote:
    Eduardo,
    Can you give us more details about the comment below:
    I fear that as soon as the call to narrow succeeds, the remainingapplication will fail to work correctly because it is too difficult ot
    use an idl client in java to work.It seems to me that Weblogic's RMI-IIOP is a very fragile
    implementation. We
    don't need a "HelloWorld" example, we need a concrete serious example(fully
    tested and seriously documented) that works so that we can get a betteridea
    on how to integrate CORBA and EJB.
    Thanks,
    Said
    "Eduardo Ceballos" <[email protected]> wrote in message
    news:[email protected]...
    Please post request to the news group...
    As I said, you must separate the idl related classes (class files and
    java
    files) from the rmi classes... in the rmic step, you must set a newtarget
    (as you did), emit the java files into that directory (it's not clearyou
    did this), then remove all the rmi class files from the class path... ifyou
    need to compile more classes at that point, copy the java files to theidl
    directly is you must, but you can not share the types in any way.
    I fear that as soon as the call to narrow succeeds, the remainingapplication will fail to work correctly because it is too difficult otuse
    an idl client in java to work.
    Harindra Rajapakshe wrote:
    Hi Eduardo,
    Thanks for the help. That is the way I compiled my CORBA client, by
    separating the IDL-generated stubs from the RMI ones, but still I
    get a
    CORBA.BAD_PARAM upon narrowing the client proxy to the interfacetype.
    Here's what I did;
    + Define the RMI interfaces, in this case a StockTrader interface.
    + Implement RMI interface by extendingjavax.rmi.PortableRemoteObject
    making
    it IIOP compliant
    + Implemnnt an RMI server, and compile using JDK1.2.2
    + use the RMI implementation to generate CORBA idl, using RMI-IIOPplugin
    utility rmic;
    rmic -idl -noValueMethods -always -d idl stock.StockTraderImpl
    + generate Java mappings to the IDL generated above, using RMI-IIOPplugin
    util,
    idlj -v -fclient -emitAll -tf src stocks\StockTrader.idl
    This creates source for the package stock and also
    org.omg.CORBA.*
    package, presumably IIOP type marshalling
    + compile all classes generated above using JDK1.2.2
    + Implement client (CORBA) using the classes generated above, NOTthe
    RMI
    proxies.
    + start RMI server, with stockTrader server obj
    + start tnameserv
    + start CORBA client
    Then the client errors when trying to narrow the obj ref from the
    naming
    service, into the CORBA IDL defined interface using,
    org.omg.CORBA.Object obj =naming.resolve(nn);
    StockTrader trader =StockTraderHelper.narrow(obj); // THIS
    ERRORS..!!!
    throwing a CORBA.BAD_PARAM exception.
    any ideas..?
    Thanks in advance,
    -hari
    ----- Original Message -----
    From: Eduardo Ceballos <[email protected]>
    Newsgroups: weblogic.developer.interest.rmi-iiop
    To: Hari Rajapakshe <[email protected]>
    Sent: Wednesday, July 26, 2000 4:38 AM
    Subject: Re: problem using CORBA clients with RMI/EJBservers..!!!???
    Please see the post on june 26, re Errors compiling... somewherein
    there,
    I suspect, you are referring to the rmi class file when you are
    obliged
    to
    completely segregate these from the idl class files.
    Hari Rajapakshe wrote:
    Hi,
    I have a question on using EJB / or RMI servers with CORBA
    clients
    using
    RMI-IIOP transport, which in theory should work, but in practice
    has
    few
    glitches.
    Basically, I have implemented a very simple server,
    StockTreader,
    which
    looks up for a symbol and returns a 'Stock' object. In the firstexample, I
    simplified the 'Stock' object to be a mere java.lang.String, so
    that
    lookup
    would simply return the 'synbol'.
    Then I have implemented the above, as an RMI-IIOP server (case
    1)
    and a
    CORBA server (case 2) with respective clients, and the pair of
    client-servers work fine as long as they are CORBA-to-CORBA andRMI-to-RMI.
    But the problem arises when I tried using the RMI server (via
    IIOP)
    with
    the
    CORBA client, when the client tries to narrow the object ref
    obtained
    from
    the naming service into the CORBA idl defined type (StockTrader)
    it
    ends
    up
    with a class cast exception.
    This is what I did to achieve the above results:
    [1] Define an RMI interface StockTrader.java (extending
    java.rmi.Remote)
    with the method,
    public String lookup( String symbol) throws RMIException;
    [2] Implement the StorckTrader interface (on a
    PortableRemoteObject
    derived
    class, to make it IIOP compliant), and then the server to
    register
    the
    stock
    trader with COS Naming service as follows:
    String homeName =....
    StockTraderImpl trader =new StockTraderImpl();
    System.out.println("binding obj <" homeName ">...");
    java.util.Hashtable ht =new java.util.Hashtable();
    ht.put("java.naming.factory.initial", args[2]);
    ht.put("java.naming.provider.url", args[3]);
    Context ctx =new InitialContext(ht);
    ctx.rebind(homeName, trader);
    [3] Generate the RMI-IIOP skeletons for the Implementation
    class,
    rmic -iiop stock.StockTraderImpl
    [4] generate the IDL for the RMI interface,
    rmic -idl stock.StockTraderImpl
    [5] Generate IDL stubs for the CORBA client,
    idlj -v -fclient -emitAll StockTraderImpl.idl
    [6] Write the client to use the IDL-defined stock trader,
    String serverName =args[0];
    String symList =args[1];
    StockClient client =new StockClient();
    System.out.println("init orb...");
    ORB orb =ORB.init(args, null);
    System.out.println("resolve init name service...");
    org.omg.CORBA.Object objRef
    =orb.resolve_initial_references("NameService");
    NamingContext naming=NamingContextHelper.narrow(objRef);
    ... define a naming component etc...
    org.omg.CORBA.Object obj =naming.resolve(...);
    System.out.println("narrow objRef: " obj.getClass() ":"
    +obj);
    StockTrader trader =StockTraderHelper.narrow(obj);
    [7] Compile all the classes using Java 1.2.2
    [8] start tnameserv (naming service), then the server to
    register
    the
    RMI
    server obj
    [9] Run the CORBA client, passing it the COSNaming service ref
    name
    (with
    which the server obj is registered)
    The CORBA client successfully finds the server obj ref in the
    naming
    service, the operation StockTraderHelper.narrow() fails in thesegment
    below, with a class cast exception:
    org.omg.CORBA.Object obj =naming.resolve(...);
    StockTrader trader =StockTraderHelper.narrow(obj);
    The <obj> returned by naming service turns out to be of the
    type;
    class com.sun.rmi.iiop.CDRInputStream$1
    This is of the same type when stock trader object is registeredin a
    CORBA
    server (as opposed to an RMI server), but works correctly with
    no
    casting
    excpetions..
    Any ideas / hints very welcome.
    thanks in advance,
    -hari

  • Can i use Handle C with the LABVIEW FPGA module?

    Hi,
    Can i use Handle C with the LABVIEW FPGA module?  I am working with CompactRIO right now so, i want to know weather i can use Handle C with CompactRIO.Can i access FPGA in compactRIO independant of LABVIEW  means can i program it without using LABVIEW?
    regards,
    Vishnu.

    Hi Vishnu,
    Although we don't support Handel-C directly, it is possible to design your algorithms using 3rd party tools or system integrators and consume them from a top-level LabVIEW VI. The webcast at http://zone.ni.com/wv/app/doc/p/id/wv-268 shows an example of how you can use IP from C-based tools provided by Celoxica in the LabVIEW FPGA environment.

  • Problem using iPad mirroring with an Apple TV and 4:3 Projector

    I'm a teacher and I've been using my iPad 2 in the classroom for about a year and a half. I would use Apple's VGA Adapter to connect to my projector, which worked fine. I just didn't like being tied down, and the dock connector would come loose very easily and lose connection to the projector, which interrupted the flow of the lesson.
    So this summer, I got an Apple TV and a projector with an HDMI port so I could start using Airplay Mirroring to get the iPad screen onto the projector. But I'm having trouble with the aspect ratio. Forgive my drawing, but the genius at the Apple store had a hard time understanding my explanation, so I'm hoping this will help show what I mean.
    My projector (ViewSonic DLP PJD5133) can be set to either a 4:3 or 16:9 aspect ratio (4:3, 800x600 is the native resolution). My projector screen in the front of the classroom is 4:3, so when the projector is set to 4:3, the image fills up the screen (which is what I want - it needs to be as big as possible so the entire class can see it clearly; plus it means all the output pixels are being used). When the projector is set to 16:9, the image is letterboxed (not ideal unless I'm showing a widescreen video or image).
    The Apple TV's native aspect ratio is widescreen, and the iPad's native aspect ratio is 4:3, so if you use Airplay mirroring on a widescreen TV, the Apple TV will pillarbox the image (add horizontal black bars on each side), so that the image will not be stretched/distorted. (I know that it will show widescreen videos and a few widescreen-ready apps without the pillarbox, but the apps I use in class - Keynote, Noteshelf, etc. - don't fall in that category). The effect on my projector screen is a tiny 4:3 image taking up half the area it would have taken if I had used the VGA connection.
    So in the Apple TV, I went to Settings>Audio & Video>TV resolution, and chose 800x600 60Hz (the max 4:3 resolution for my projector). Since the Apple TV is natively widescreen, it seems to accomplish this change be stretching the image vertically; but it basically works because the Apple TV home screen fills up the projector screen. However, when I turn on Airplay Mirroring on my iPad, the image does not fill up the screen. The Apple TV still puts a pillarbox on the image, so I end up with a distorted, square image of my iPad screen. It's the right height - the max 600 pixels for my projector - but it's not as wide as it should/could be.
    Is there a setting that I'm missing? I understand that the Apple TV has to stretch its home screen image to accommodate the 4:3 resolution, but I think it should be smart enough to realize that if it's receiving a 4:3 image from the iPad and sending it out to a 4:3 TV, it doesn't need to pillarbox the image.
    Before you answer - this is not a problem with the projector settings, and my Apple TV is not defective. You could simulate what's happening on your Apple TV, even if it's hooked up to a widescreen TV. In the Apple TV settings, change the TV Resolution to 800x600 as mentioned above (or any other of the 4:3 options). Now go to the Apple TV home screen, and note the amount of space the image is taking up on your screen (on a widescreen TV, it will be pillarboxed, and it will look like it's been squished horizontally). Then turn on Airplay mirroring on the iPad, and you'll see that the iPad image does not have the same width as the Apple TV home screen and it looks square/squished.
    Also, while my projector does have a zoom function, it will not magnify the small iPad mirror image correctly (if I were to leave the Apple TV and projector on a 16:9 setting). It cuts off the top and sides. But even if it didn't crop the image, it's a digital zoom, so that option still won't fix the fact that I'm not getting a full 800x600 image on the projector. The same problem would apply if I were to move the projector farther away from the screen (so that the widescreen image takes up the full height of the projector screen, while spilling off the sides). I'll still have a lower resolution image, which isn't ideal since I'm often showing text on the screen through Keynote. Also, widescreen videos wouldn't fit on the screen, and I can't move the projector easily because it's fixed to the ceiling.
    Sorry for the long explanation. Any ideas? I'd really appreciate some insight.

    We have the same problem, and not only with ipads. Macbook Air is doing something similar. it can only use airplay with 1080 and 720 resolution, so the image is squeezed on a 4:3 projector. We use AppleTV 3 and Mountain Lion OS. We use ATVPRO from Kanex.
    Apple must get its act together and fix this, they promise gold and green forests, but nothing works.
    DO SOMETHING!

  • Problem using Time Machine with Seagate BackUp Plus Pls HELP!!

    I have a late 2006 iMac (running OS 10.5.8) & am trying to back up using Time Machine with a new Seagate BackUp Plus drive. When I select the Seagate drive in Time Machine it tells me I msut first erase the (Seagate) disk. When I hit ERASE, I get a Time Machine error : COULD NOT UNMOUNT DISK. I see from various posts that 10,5 & 10,6 have issues with some external drives so want to upgrade to Mavericks (to get around this incompatibility issue): HOwever apparently my iMac is too old (by 1 year) to allow this. Can anyone give me any advice on how to get my iMac content backed up via Time Machine using the Seagate BackUP PLus drive I  bought (becasue it is supposedly "compatible with PCs & Macs".
    Thank you!!
    Wendy

    Your Seagate drive should work just fine. If it doesn't have any important data on it, try re-formatting it with Disk Utility to blank it out. Or run the Disk verify/repair and see if you can get it to fix any problems.
    I have a Drobo FS too. You probably need a firmware update, they issued one a while back to fix problems with Time Machine. Use the Dashboard or download it from their support site, http://www.drobo.com/support/updates.php
    Just curious how long you let it run after it "stalled". If it is a big file it could just be taking a while to copy over, do you see activity lights on the USB drive? The first time you use time machine let it run overnight, it's going to take a while, after that it will update quickly.
    While you're at it, you might want to verify your start-up disk too with Disk Utility.

  • Any problem using PC fonts with Fontbook?

    Hi all.
    Are there any potential issues using PC fonts with Fontbook? I've downloaded a free internet font, ran the "Validate File" option, then loaded the font into Fontbook. Afterwards, I also ran "Validate Font" and it checked out okay.
    It seems to be working, but I'm wondering if there is cause for concern that maybe down the line something funny will happen?
    Any insight into this?
    B.

    It seems to be working, but I'm wondering if there is cause for concern that maybe down the line something funny will happen?
    No, a font is just a font. All PC .ttf and .ttc fonts work in OS X. Windows Type 1 PostScript fonts (the ones with matching .pfb and .pfm extensions) do not.
    The only real problem with free fonts is that the majority of them are not made well and can cause various problems because of it. Read section 14 of Font Management in OS X to see what those issues can be.
    The link, or one of the links above directs you to my personal web site. While the information is free, it does ask for a contribution. As such, I am required by Apple's rules for these discussions to include the following disclaimer.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Problems using TFS 2008 with RoboHelp 11?

    Adobe has not been able to resolve our company's connection problem with SharePoint thus far.
    We do know that we can use TFS 2008 with RoboHelp because they have done that in the past.  We are on RH11.
    We need to know...Has anyone experienced any problems with using TFS 2008 with RH11?  If so, what kind of problem(s)?

    I've used TFS 2008/2010/2012 with RoboHelp without problems so far. You will always get the check in dialog, but that is the way it works, not a problem. This will become annoying when you are relocating lots of topics, since you will have to check in files a lot during these operations. But otherwise it works perfect in my experience.
    As long as you make sure you have the 32 bit MSSCCI provider for the correct TFS version (MSSCCI 2008 for TFS 2008), you should be fine.

  • Does anyone have problems using Dragon NaturallySpeaking with Firefox

    I have just started using Dragon NaturallySpeaking version 13 premium and I am encountering a few problems using it with Firefox. Completing text fields to login to various websites seems to be a major problem. With the cursor in the actual text field Dragon seems to not recognise the username or password that I dictate. I have made sure that the Dragon add-on within Firefox is activated and most of the other commands within the browser seem to work perfectly well.
    Any help would be greatly appreciated.

    This is most likely more of a Dragon problem than Firefox. I would suggest also opening a ticket on their end to. Most likely it just is not familiar with new versions of Firefox and has yet to be updated.

  • Problem using dual monitors with Radeon 9000 Pro and 2 x Samsung SM223BW

    Hello all
    I really need an expert opinion here:
    I am using quite a lot my MDD 1.25Ghz that is still equipped with the OEM ATI 9000 Pro Mac Edition with 64MBs of Video RAM and as most if not all Mac-specific cards it has an ADC and a DVI port. I recently purchased a couple of Samsung monitors; the afore mention in the subject SM223BW. The monitors have two inputs, both DVI and D-SUB (Analog VGA or otherwise plain old RGB).
    I have purchased a Formac ADC to DVI converter and connected this output to the DVI input of the first monitor. It works like a charm and the picture quality it is quite good (not as with an Apple Display but I couldn't afford them at this stage). For the second monitor I used a DVI to VGA cable (going from the DVI output of the card to the VGA In of the monitor).
    Now here is the problem: The monitor that is connected ADC to DVI has all the available 16:10 ratio option that are suitable for this monitor. The DVI to VGA one gives me only a 1680x1050 and all the rest are 4x3 resolutions.
    Would anyone know why this happens? Could it be a monitor issue? Could it be that perhaps TFT monitors offer different resolutions according to the input used. Or could it be the graphics card? Or even perhaps the cable?
    Under OS X, same settings and same computer I am given more resolution options. Would that mean that it might be as well my beloved OS 9 in combination with the card?
    Or am I stressing this too far?
    Please any ideas are more than welcome
    PS: I have a dual 2.0Ghz G5 connected to the rest of the DVI and VGA inputs to be able to run both without having to repatch. Otherwise a DVI to DVI connection would have made more sense and solved the problem

    Hey Simon
    I bought these monitors for their dual input functionality. The reason that I have the G4 connected to VGA is because I have another G5 connected the other way around in order to be able to use both computers, at any given time, with two screens.
    Perhaps to make clear the connections I've done (if of course anyone is interested :)) ...
    The G4 connects via ADC to DVI to the DVI input of Monitor No.1
    The G5 connects via VGA to VGA to Monitor No.1
    The G4 connects via DVI to VGA to Monitor No.2
    The G5 connects via DVI to DVI to Monitor No.2
    Another question would be why simply one mac isn't connected solely via DVI and the other one via VGA? The reason is that the VGA input looks awful on these screens for whatever reason. The image is seriously not sharp, the fonts looks horrendous and even with a lot of tweaking from the monitor settings, still I'd say the image is minging. If anyone knows why a VGA input can look that bad and still a monitor being in the market please let me know. It could be that this monitor is aimed to PC users and with the accompanying PC-only drivers all such are non-existent...Anyway I decided to go with the half DVI-half VGA solution to get the best out of the situation.
    But on the question asked, I decided to use a 2 DVI input Avocent KVM that I've got with interesting results. I am pretty sure it is boring to read but if anyone has spare time here it goes:
    The G4 connects via ADC to DVI to Monitor 1.
    Monitor 2 DVI output connects to DVI KVM Input
    The G4 connects via DVI to DVI to KVM Output 1
    The G5 connects via DVI to DVI to KVM Output 2
    The G5 still connects via VGA to VGA to Monitor 2
    In this manner I am guaranteed to utilize the DVI inputs for both monitors, at least on my G4 and the G5 be forced to utilize one VGA. The plus side of the situation is that I can use both systems with the flick of a button without having to get up to change the Source on the monitors plus of course one keyboard and a mouse. Now here is the interesting bit:
    Under OS 9, with the resolution 1280x800 on Monitor No.1 (the one connected via ADC to DVI) flips to - I think - 1680x1050 - it could be higher than that - with a thick black frame around the Desktop occupying a good chunk of the screen and the actual OS 9 looking minuscule at the center of it.
    Monitor No.2 (the DVI to DVI connected one) looks just fine.
    Now on top of that, when the G5 is switched on but the KVM is outputting the G4 desktop on Monitor No.2, whenever the mouse cursor slides on this monitor, it goes black! Just simply black and when I move the mouse cursor back on Monitor No.1 goes Desktop again.
    Under OS X, none of the afore mentioned problems exist. Everything runs fine and I am give more 16:10 resolutions as well.
    Confused? I am

  • Problem using Proxie server with Authentication & JEditorPane

    Hello
    I don't know if anyone has done this and if someone has I would really appreciate any help you could give me. I need to display a web page in a JEditorPane but the web page is accessed through a proxie server that uses authentication. I have tried using the setPage with username:[email protected] URL format for authentication but it doesn't work.
    JEditorPane.setPage(new URL(urlStr))
    this gives me an exception. The following is the exception message and printStackTrace
    error:Server returned HTTP response code: 401 for URL: (Url I am trying to access)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:238)
    at javax.swing.JEditorPane.getStream(JEditorPane.java:674)
    at javax.swing.JEditorPane.setPage(JEditorPane.java:392)
    at com.UrlChecker.panels.HTML.EditorPane._$2863(EditorPane.java:184)
    at com.UrlChecker.panels.HTML.EditorPane.changeUrls(EditorPane.java:321)
    Thank you for any help you can give me.

    Steve,
    The URLs that I am using are internal. A similar type login page is the Oracle Metalink
    http://metalink.oracle.com/metalink/plsql/ml2_gui.startup
    I will try to find another webstie that you can test. Be back shortly
    thanks

  • Problem using jdk included with JDEV9i

    I am trying to use jdk supplied with jdev9i release candidate 2 on my system
    (win 98).I have included c:\jde9i\jdk\bin in my system's path and c:\jdev9i\jdk\lib
    in my class path.
    But when I invoke compiler using javac it prints a long error message ,
    some of them are given below(I can't see the main exception because it scrolls up).
    Sun.misc.Resource Sun.misc.URLClassPath.getReasource(java.lang.String.boolean)
    java.lang.Object java.net.URLClassLoader$1.run()
    java.lang.Object java.security.AccessController.dePriviledged(java.security.
    PriviledgedExceptionAction,java.security.AccessControlContext)
    So how can I use this jdk to compile and run my other applications.

    Hi,
    My document looks as follows:
    <pre:inventory xmlns:pre="http://www.example.com/books">
    <pre:book year="2000">
    <pre:title>Snow Crash</pre:title>
    <pre:author>Neal Stephenson</pre:author>
    <pre:publisher>Spectra</pre:publisher>
    <pre:isbn>0553380958</pre:isbn>
    <pre:price>14.95</pre:price>
    </pre:book>
    <!-- more books... -->
    </pre:inventory>
    And I tried the following:
    //pre:book
    /pre:inventory and
    /pre:inventory/pre:book
    I have the necessaty code in my namespaceresolver as follows:
    public String getNamespaceURI(String prefix) {
            if (prefix == null)
                  throw new NullPointerException("Null prefix");
            else if ("pre".equals(prefix))
                   return "http://www.example.com/books";
            else if ("xml".equals(prefix))
                   return XMLConstants.XML_NS_URI;
              return XMLConstants.NULL_NS_URI;
                    cheers,
    ovisvana

  • Problems using different scope with useBean

    Hi all,
    I've been trying over and over to place the data from my inputForm.jsp in request, session or even application scope and then try to retrieve the data from my process.jsp.
    I can't understand why not the request object (emp) is available in my second jsp file. I'm having the same problem using sessionScope and applicationScope.
    inputForm.jsp
    <jsp:userBean id="emp" class="Employee" scope="request">
    <jsp:setProperty name="emp" property="*" />
    </jsp:userBean>
    <form method="POST" action="process.jsp>
    <input type="text" name="firstName">
    <input type="text" name="lastName">
    </form>process.jsp
    <c ut value="${requestScope.emp.firstName}" />

    The useBean tag has to be on the page WHERE THE BEAN IS BEING used.
    The jsp:setProperty tag works from request parameters. So it has to be on the page that is RECEIVING the parameters - ie your second page.
    You misspelled jsp:useBean.
    Also your Employee bean must be in a package, and the useBean tag should use its fully qualified package name.
    I will presume that your Employee class has appropriate get/set methods for firstName and lastName - ie getFirstName() and setFirstName()...
    Try this:
    inputForm.jsp
    <form method="POST" action="process.jsp>
    <input type="text" name="firstName">
    <input type="text" name="lastName">
    </form>process.jsp
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <jsp:useBean id="emp" class="com.mypackage.Employee" scope="request">
      <jsp:setProperty name="emp" property="*" />
    </jsp:useBean>
    <c:out value="${requestScope.emp.firstName}" />

  • Various problems using extension manager with command line

    Hello all,
    We are installing our plugins  to CS4/5/5.1 version of Adobe Photoshop as part of our installer and  allow the users to select specific versions of Photoshop to install the  panel for. There are a few old problems that I wanted to rant about for  quite some while and now with a whole bunch of problems that the 5.1  update introduced I feel I just have to voice them. I will limit it to  PC only as it seems to be the most troubled platform
    #1 As we cannot install our plugin only by using the  Extension Manager (simply because it cannot handle all we've to do upon  the installation) we have to run commands from within the our installer,  non-interactively, of course.
    The interface to command line installation is xmancommand.exe (or "Extension manager (Version). exe" - not sure whether it makes any difference. ). Now the first question is how to find this executable on   the target machine, from an installer. Users may specify different  locations to install the Creative Suite and it certainly does NOT have  to  be  C:\Program Files\...(or %PRGRAMFILES% in general). ATM we are using an odd place in the registry  to to find the path to the most recent Extension Manager but first its  sometimes overwritten by another installation and in any case it  only shows ONE version of the extension manager which of course cannot  handle other versions (see #2)
    #2 Why the most recent version of  Adobe Extension Manager (5.5) cannot install the extension for 5.0?  Well, install it actually does, however its disabled for CS5 and it  seems that the only way to enable it on this platform is to find  previous (CS5) extension manager and to enable it. Oh, actually no - it  doesn't work! The only way that I found here working is to find CS5  extension manager first, install the extension there and then use CS5.5  extension manager to enable it. Why do I need both utilities to manage  my extensions?!
    #3 The program is severely lacking in  documentation AND it doesn't produce reasonable output messages, so  determining what it can actually support is a puzzle. For example, why  "Dreamweaver CS5" is a correct product name and "Photoshop CS5" is not (don't different teams talk to each other)? Ok, lets forget the consistency, but how do I make the utility output the list of all products it supports, in their  magic token form that it will actually be understood if passed in in the  command line? By trial and error? This menthod btw is also extremely painful: nany times when  specifying wrong parameters the program doesn't provide any output and just shrugs "whatever, go figure it yourself"...
    #4 Why the only way to enable/disable an extension in Photoshop  seems to be using magic "productfamily" keyword that is not even listed  on Adobe's help page for command line options (here:  http://help.adobe.com/en_US/extensionmanager/cs/using/WSB4845EDD-14E5-476a-B749-FF328830D1 4F.html).?  E.g. "xmancommand.exe" -suppress -remove  product=Photoshop  extension=OurExtension" will ALWAYS fail with a lovely "'Photoshop is  not supported by Extension Manager CS5.5." error; I've tried "PhotoshopCS5", "Photoshop CS5", "PhotoshopCS5.1"  "Photoshop CS5.1", "Photoshop-12" (mentioned in examples section in  http://help.adobe.com/en_US/extensionmanager/cs/using/packaging_extension.pdf )  and a whole bunch of other permutations - none  seem to work (see #3). Magic "productfamily=Photoshop" does work. But  then it only aims the current version ("CS5.1") and I need it to work  for CS5 (I'm not even mentioning CS4...."). Would there be any suggestions?
    Really, the question is, how do we, third-party developers, are  supposed to interact with the command-line utility without knowing where  it is, what product names is capable to work with and without being  able to target specific platforms (i86 vs x64 anyone  (http://forums.adobe.com/thread/672537)? CS5 vs CS5.1 (above)?). I don't  know what your test cases are for the command line tool (if any!), but this is simply insane, folks, simply  insane.

    I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
    1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
    2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find  previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
    3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
    4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk.

Maybe you are looking for

  • Follow up reports

    We have created a form that collects progress reports from individuals working on a team.  Is it possible to recieve the progress report and then have the coordinator provide a followup comment that would be logged in the original response?

  • Files (fonts) appear as Unix files when viewing on an SMB share

    We have a UNIX server running Linux which our Mac users are connecting via SMB.  We moved our company fonts to this server from an OSX Server.  All of our machines are running 10.6.6 or later.  Very intermittantly without any rhyne or reason some use

  • Web application publishing

    Hello, I need to publish a few queries in the portal. I have created simple web templates for each of the queries and should publish each of them in a role. There has been created two new roles for these queries. Unfortunately I can't see the roles i

  • Could not resolve mx:DataGrid to a component implementation

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code: <?xml version="1.0" encoding="utf-8"?> <!-- dp

  • Startup on external screen

    Dear all, As my MacBook Pro screen is causing problems, I was wondering whether it is possible to set the external screen as standard. So that my Macbook Pro will start up, not on the laptop screen, but just on an external screen connected via HDMI.