Problem using VB Client with a JAVA Webservice

Hi people!
I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms.
I need to invoke my methods using a VB Client with MIcrosoft SOAP ToolKit. My VB code is:
Function autenticar(login As String, senha As String)
Dim ObjWS As New MSSOAPLib30.SoapClient30
Dim retorno As Variant
Call ObjWS.MSSoapInit("http://10.71.200.40:8888/iSimp-Web-Root/br.gov.anp.isimp.controleVersao.ControleVersaoEJB?WSDL")
retorno = ObjWS.autentica(login, senha)
autenticar = retorno
End Function
My webservice publish a method called autentica that receives two parameters (a login and a password) and authenticates to obtain access to my system.
When I try to execute this function, I got this message error:
No deserializer found to deserialize a ":login" using encoding style "http://schemas.xmlsoap.org/soap/encoding/". [java.lang.illegalArgumentException]
Anyone knows what is this error?

If you could post what solved your problem that would be useful for others that run into the same issue. Thanks if possible!
Mike.

Similar Messages

  • 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

  • Problem using instant client with Win 7

    Hi,
    I have a Powerbuilder application that runs very well with Win XP and Oracle client 8 to 10.
    With new computers (Win 7), we try to use instant client... but there are problems with accents ! In fact, all accents are replaced by a "¿" in the database.
    It only appears when we are using our programs from a Win 7 machine with instant client.
    Do you know if there is something to configure to solve this problem ?
    Best regards.

    user1931557 wrote:
    Hi,
    I have a Powerbuilder application that runs very well with Win XP and Oracle client 8 to 10.
    With new computers (Win 7), we try to use instant client... but there are problems with accents ! In fact, all accents are replaced by a "¿" in the database.
    It only appears when we are using our programs from a Win 7 machine with instant client.
    Do you know if there is something to configure to solve this problem ?
    Best regards.
    If the characters only appear on certain clients, then they are NOT being "replaced ... in the database".  What you are seeing is an issue with presentation, not data.

  • 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)

  • How to use Instant Client with JDBC?

    I unzipped all the *.zip (basic, JDBC Supplement, ODBC, SQLPlus) to a clean directory and added it to my env PATH variable.
    SQLPlus is working, but when I try via OCI JDBC I get:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: t2cCreateState
    at oracle.jdbc.driver.T2CConnection.t2cCreateState(Native Method)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:341)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:347)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:549)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at ConnectionExample.jdbcOCIDriver(ConnectionExample.java:379)
    at ConnectionExample.main(ConnectionExample.java:463)
    can anyone help?

    Thanks,
    I had the same problem on Windows 2000 with Tomcat 5.0 and Oracle 10's ojdbc14.jar.
    As I read your answer, I edited catalina.bat and added java.library.path to the Oracle10 client directory, where the ocijdbc10.dll was:
    -Djava.library.path="C:\Oracle\product\10.1.0\Client_1\BIN"
    Then I got exception:
    java.lang.UnsatisfiedLinkError: t2cCreateState
    , so I installed InstantClient from Oracle of the same version, and reset the path:
    -Djava.library.path="C:\Oracle\instantclient10_1"
    After that started to works fine. As you see, there is internal uncompatibility within Oracle's different drivers... I hope I could help somebody with this information.
    johnnyco

  • Problems using Ajax-AutoComplete with FireFox

    Hello
    I'm trying to use the JSF-Ajax AutoComplete (java 1.4) with the FireFox with no success. The errors, according to the firefox console, is: BPUI IS NOT DEFINED.
    The DIV does`t show and the backing method responsible to do the completion result was`t called.
    This situation does`t occur with IE.
    i appeciate any help.
    Regards

    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 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 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

  • Problem synchronizing windows clients with solaris 10 NTP server

    Hello everyone,
    I realyy need help on the following:
    I tried to synchronize windows 2003 as client with NTP server running in Solaris 10
    My Time Zone in the NTP server is GMT+3, and in my windows is also set to GMT+3
    When I start NTP server and clients , I got 6 hours delay between the clients and the server
    I tried to synchronize the Solaris server with another solaris system, the synchronization is working fine
    Your help
    Regards
    Hakim Fourar

    True (but only for later releases). But since he mentioned getting a 6 hour offset after starting them, that makes me think that the systems are communicating, and that the time zones are incorrect.
    This is easily verified by using 'ntpq -p' and 'date ; date -u'. The first will show if the client thinks it is synchronized to a server (and what the UTC offset is in miliseconds). The second will show the date in the default timezone and in UTC.
    If you're not using POSIX, you'd think that GMT+XX meant east of UTC, but for POSIX, it means west of UTC.
    Darren

  • 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 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}" />

  • 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.

Maybe you are looking for

  • NOT EXISTS - not working

    Dear all, I have 3 tables say A1000, B1000, C1000 create table A1000(a number); create table B1000(a number); create table C1000(a number); With below values: insert into A1000 values(1) insert into B1000 values(1) insert into C1000 values(2) My Quer

  • My built in youtube app on iphone 4s isn't working!!

    hi guys my youtube app used to work on both 3g signal and wi-fi but lately it says "cannot open " when i want to watch a video with a 3g signal but it works with a wi-fi signal i dont know whats caused this problem i havent jailbroken or downloaded a

  • Real-time apply cascaded logical standby database

    Hi I have a primary database orcl Pysical standby database orcl_std Cascaded logical standby database orcl_tri which receives archivelogs from orcl_std Real time apply is enabled both in orcl_std (physical standby) and orcl_tri (logical standby) When

  • OpenAMF/Flex Resources

    I'm having a difficult time connecting to an OpenAMF service via Flex Remoting. I can do it fine in Flash but am having problems in Flex. I've also been succesful using an amfphp service and Flex. But when I provide the service information for the Op

  • On the second pc I only have the trial version

    Hello , I have the creative cloud installed on my second pc today . But if I want to start Photoshop or other programs , it shows me that I have 29 days trial version . How can I fix this ?  Thank you - Creative Cloud Student version (newest version)