Applet unable to load JARs from URL?

Please let me preface my query with "I have not done applets ever for live business apps, only for uni and that was over a decade ago..." :)
I've been doing a lot of reading the last couple days and have been trying to modify a currently existing applet which unfortunately currently depends on libraries being installed in the ext dir on the user's PC (!). I am modifying it such that 1. it will now make a web service call and 2. it will need to include all of the good libraries that come with making web service calls. My other goal is to change the way the applet is loaded (applet tag) so that the libraries need not be pre-installed in the user's ext dir.
My trouble is, I cannot seem to persuade the applet to load the libraries that co-exist with it. I am loading the applet via a simple test harness page presently, where the HTML file resides in one directory (http://localhost/cis/dictation/test1.html) and the JARs in another (http://localhost/cis/common), but all at the same subdir level under the main web root. I know the applet is loading, as I have a test debug statement which prints out on each invocation.
Note If I load all of the JARs in the dependency hierarchy into the extensions directory, everything works swimmingly.
I have tried multiple variations on the applet tag, not completely sure of what it should look like. Please note when I load the URLs into the browser for each individual library, e.g. http://localhost/cis/common/axis.jar, the browser prompts me to download the JARs, so I know the browser can "see" them.
<applet code="webmedx.client.applet.audio.TransferApplet.class"
     codebase="http://localhost/cis/common/"
     name=TransferApplet      
     width=10 height=10
     archive="audio.jar,axis.jar,jaxrpc.jar,jndi.jar,commons-logging.jar,commons-discovery.jar"
     MAYSCRIPT>
     <PARAM NAME="image" VALUE="images/webmedx_icon-32x32.gif">
     <PARAM NAME="boxmessage" VALUE="Loading the Webmedx Audio Player">
     <PARAM NAME="cache_archive" VALUE="../common/audio.jar">
     <PARAM NAME="DebugLevel" value="1">
     <PARAM NAME="userenterprise" VALUE="BHS">
     <PARAM NAME="userfacility" VALUE="BHS">
     <param name="scriptable" value="true">
</applet>Using path relative to the browser URL (http://localhost/cis/dictation/test1.html):
<applet
     codebase="../common"
     archive="audio.jar,axis.jar,jaxrpc.jar,jndi.jar,commons-logging.jar,commons-discovery.jar"
     code="webmedx.client.applet.audio.TransferApplet.class"
     name="TransferApplet"
     width="0" height="0"
     MAYSCRIPT>
     <PARAM NAME="image" VALUE="images/webmedx_icon-32x32.gif">
     <PARAM NAME="boxmessage" VALUE="Loading the Webmedx Audio Player">
     <PARAM NAME="cache_archive" VALUE="../common/audio.jar">
     <PARAM NAME="DebugLevel" value="1">
     <PARAM NAME="userenterprise" VALUE="BHS">
     <PARAM NAME="userfacility" VALUE="BHS">
     <param name="scriptable" value="true">
</applet>Each of these results in the java console reporting a NCDFE for javax/xml/rpc/Service, which it should be able to locate in http://localhost/cis/common/jaxrpc.jar.
Then on subsequent page reloads, the java console reports NCDFE's for the newly added class WITHIN the applet jar, webmedx/client/applet/util/cdsproxy/WSAudioArchiveLocator (assuming because it requires javax.xml.rpc.Service, and cannot load it).
Any ideas/help will be very much appreciated :)
Edited by: alexx_wmx on Jul 13, 2010 4:17 PM

ejp wrote:
Those JARs must be installed in the lib/ext directory of the JRE to work correctly. ..Do they? I am surprised to hear that, but have not dealt with them directly. Why?
Note that I had asked the OP not to split what I feel is one question, into two threads. The other thread is at.. [http://forums.sun.com/thread.jspa?threadID=5444667], which had itself already been spawned from another thread.
(sigh..) Following this topic is beginning to make my head hurt.

Similar Messages

  • Itunes was unable to load provider from sync services...

    itunes was unable to load provider from sync services... and on top of that when i click on any apps i download it looks like its going to open for a split sec and then go back to where u click the apps in the menu. from what i read they are two different bugs but i havnt came across any fixes that work

    Doublechecking ... you've also worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • "iTunes was unable to load dataclass from Sync Services"

    Hi, I have iPod Touch 2nd gen 32 gb, everytime I plug my iPod to computer and after it finished auto-sync my iPod, an error message appear saying "iTunes was unable to load dataclass from Sync Services", I haven't do anything to my iPod yet. . . Can anyone help me with this?? T_T

    I've had a similar problem but on a Mac. Here's what I just reported to Apple:
    1. I plug in my iPod Touch 2G to MacBook Pro running OS 10.6.1.
    2. iTunes launches.
    3. Error message appears: "itunes was unable to load dataclass information from SYnc Services. Reconnect or try again later." I hit ok.
    4. Another error message launches: "AppleMobileDeviceHelper quit unexpectedly." I hit ignore.
    5. iPod syncs.
    So the support article regarding the error message on Windows doesn't help me. The iPod seems to be synchronizing all right, but it's annoying getting the error messages. Any ideas, anyone?

  • Unable to read WSDL from URL

    This is my first web service. I thought I read that the
    service registers itself when first run, but it's just not jumping
    for me. I'd try registering it, but I'm not sure how to fill in all
    the blanks in the CF Administrator's Register Web Service form.
    I believe I'm doing this pretty plain and simple. Any ideas
    why this won't work? Tried both methods, both give the same error
    -- "Unable to read WSDL from URL"
    Calling URL:
    http://prod.trollsoftware.com/echotest.cfm
    Is looking at:
    http://prod.trollsoftware.com/trollws.cfc?wsdl
    which looks fine to me, but what do I know? This is my
    first....
    RLS

    I found this wonderful forum post
    {HERE}">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=881689[/S
    and have been tyring to get it to run without removing the "/"
    mapping in case that would "break" something on my production
    server. I've tried hard to get Approach #2 to work as listed in
    that item, but to no avail. I can almost always see the XML code,
    but CF never wants to find it as an object reference.
    To answer your questions -- and thank you for your help on
    this! --
    1. Yes. I can see the XML code just fine.
    2. No. I get unknown host, connection failure, status not
    available.
    3. Doesn't work with IP, but that was expected as there are
    many domains on this server, not just this one.
    So, to continue, I thought I'd back up and try it on my CF7
    server. The program runs from here [
    http://www.saphea.com/echotest.cfm
    against the WSDL/CFC file here [
    http://components.findaportal.com/wsdl/trollws.cfc?wsdl
    I can see the XML file just fine, but the echotest does not work
    (code attached).
    I created a mapping of "/wsdl" to
    "d:\clients\components\wsdl" in trying to emulate Approach #2, and
    created a web subdomain of
    http://components.findaportal.com
    to "d:\clients\components", but no dice. Approach #2 may have to be
    abandoned.
    Why would it work for you and not me? That's the weird part.
    RLS

  • 301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?

    301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?
    I have no idea what to do.

    Probably because "latin-9" doesn't exist?
    # nano /usr/share/X11/xkb/symbols/fr
    xkb_symbols "latin9" {
    include "latin"
    include "nbsp(level3)"
    name[Group1]="French (legacy, alternative)";
    key <TLDE> { [ oe, OE, leftdoublequotemark, rightdoublequotemark ] };
    key <AE01> { [ ampersand, 1, dead_acute, periodcentered ] };
    key <AE02> { [ eacute, 2, asciitilde, Eacute ] };
    Try it without the dash (without the "-").
    And don't forget to mark it as solved (by editing the first post).

  • Receiveing "Unable to load data from Sync Services" message following iOS 5 Upgrade on iPhone 4 w/ Windows Vista, iTunes 10.5.1.  How do I repair?

    I upgraded my phone to iOS 5 yesterday.  Lost several apps which I restored through my Purchased list in the iStore.  Now when I try to sync the phone using iTunes, I receive an error message advising iTunes is unable to load data from Sync Services, and to disconnect and try again later.  Have tried again later...no difference.  After I acknowledge the error, iTunes continues to say it is Syncing the phone, but it continues to idle.
    I have an iPhone 4.  I am running iTunes 10.5.1.42 on a Windows Vista system.
    What do I need to do to clear this up?

    http://support.apple.com/kb/TS2690

  • After downloading ios5 to my ipad2, am unable to copy/paste from URL. Safari browser crashed.

    After downloading ios5 to my ipad2, i am unable to copy/paste from URL. Cursor does not appear when I tap on the address and this only happens in landscape position with home button on the right. On other positions, portraits and landscape with button on the left, it works fine. And when it is working, the site will crashed after awhile. I usually copy the URL to skyfire videoQ to view flash video. Anyone with same issue? Anybody got a fix for this? Pls help.............

    You can try to restore a compressed .jsonlz4 from the bookmarkbackups folder in the "Old Firefox Data" folder on the desktop in the current profile.
    *Bookmarks > Show All Bookmarks > Import & Backup > Restore > Choose File
    *https://support.mozilla.org/kb/restore-bookmarks-from-backup-or-move-them

  • ADF Mobile - Unable to load metadat from pagdef

    Dear All,
    I am getting the following error when i deploy to an android emulator:
    Unable to load metadata from pagedef
    Can aybody suggest what should i do for the same ?
    I have uninstalled app multiple times, ccleaned all and redeloyed. Still getting the issue.
    Regards,
    Deepak

    This is my DataBindings.cpx :
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application" version="11.1.2.62.94" id="DataBindings"
    SeparateXMLFiles="false" Package="mobile" ClientType="Generic">
    <pageMap>
    <page path="/fsSearch.amx" usageId="mobile_fsSearchPageDef"/>
    </pageMap>
    <pageDefinitionUsages>
    <page id="mobile_fsSearchPageDef" path="mobile.pageDefs.fsSearchPageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    <dc id="FlightScheduleList" path="mobile.FlightScheduleList"/>
    </dataControlUsages>
    </Application>
    Do you see any issue in this ?
    Please help.
    Regards,
    Deepak

  • OSB - Load Resources From URL using proxy

    Hi all,
    How does one force the OSB to use a proxy server when using the Load Resources From URL option?
    I'm trying to create a wsdl resource from an url, but the OSB needs to use a proxy to access the url.
    I've tried creating a Proxy Server under System Administration -> Global Resources -> Proxy Servers, but I can't seem to find a place to make it use a proxy server?
    How do guys and gals get wsdl files though a proxy?
    Thanks!
    William

    Hi Milan,
    Thanks for your reply.
    I tried setting -Dhttp.proxyHost=12.34.56.78 -Dhttp.proxyPort=80 in the startWebLogic.cmd file under the ...\domain\bin folder. But still can't download the wsdl.
    Where did you set the property?
    thanks again,
    William

  • TS1538 iTunes was unable to load provider from Sync Services

    Hi all,
    Everytime I plug my iPhone into the USB, iTunes pops a message up saying:
    iTunes was unable to load provider from Sync Services.
    Reconnect or try again later.
    Uninstalled iTunes and installed latest version, still happens. Renamed the ..\AppData\Roaming\Apple Computer\MobileSync folder so it has to be re-created and still doesn't work.
    Any ideas?

    Doublechecking ... you've also worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Load jar from jar in applet

    hi i made an applet that read xml files.
    i using in jaxp.jar and in parser.jar currently i put them in ext folder in plug in. is there any other way to put them in my jar applet file and to load them from there.

    The xml stuff is one of the optional packages you can install and belongs in the /ext (extension) folder just like you have it. Possibly, this will be integrated in the v1.4 release, but I'm not sure about that. Anyway, my best advice for you is to follow the instructions Sun gives on exactly this situation:
    http://java.sun.com/j2se/1.3/docs/guide/extensions/extensions.html
    Also on this page is a link to Optional Package Versioning that I highly recommend you read, as it details how the v1.3 plug-in will automatically install the xml jars on the client machine for you. It doesn't get any easier than this! :-)
    -Ron

  • A sign Applet unable to load "oracle.jdbc.OracleDriver" class

    hi,
    i am chiranjit , i am now working in a web based ERP. where i am using a signed applet which unable to load "oracle.jdbc.OracleDriver" class but it easily loading "sun.jdbc.odbc.JdbcOdbcDriver", i am also giving my code:
    import java.sql.*;
    import java.math.*;
    import java.io.*;
    import java.awt.*;
    class JdbcTest extends Applet{
    public static void main (String args[]) throws SQLException {
    // Load Oracle driver
    DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
    // Connect to the local database
    Connection conn =
    DriverManager.getConnection
    ("jdbc:oracle:thin:@192.168.16.7:1521:kris",
    "plsql", "oracle");
    // Query the employee names
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("SELECT FIRST_NAME FROM
    AUTHORS");
    // Print the name out
    while (rset.next ())
    System.out.println (rset.getString (1));
    // Close the result set, statement, and the connection
    rset.close();
    stmt.close();
    conn.close();
    }

    Hint: The sun.jdbc.odbc.JdbcOdbcDriver is available in any JRE distribution. The Oracle driver is not.

  • Unable to load class from JSTL

    Hello. I am using JSTL 1.06 from Jakarta with Tomcat 4.1 on a MacOS X 10.3.9 server. I have a jsp that contains the following:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <jsp:useBean id="validate" class="mypackage.ValidationBean" scope="request">
            <jsp:setProperty name="validate" property="*" />
    </jsp:useBean>
    <c:if test="${validate.valid == false}">
    The input is not valid.
    </c:if>In case it matters, my web.xml file starts out like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">I have placed jstl.jar and standard.jar in my webapp's WEB-INF/lib directory. However, when I try to load the page, I get this error message:
    org.apache.jasper.JasperException: /myjsp.jsp(60,0) Unable to load class if
    I know that many people have asked similar questions, but in each case, the response was to put jstl.jar and standard.jar in WEB-INF/lib and make sure that you're using the proper URI for the taglib, and I think I have done those things correctly. Any help would be greatly appreciated!

    Thanks for your response! In answer to your questions:
    The JRE is 1.4.2_09. I can't use 1.5 (5.0) without upgrading the OS.
    I haven't tried it on a PC. I might be able to, but it would take me some time to set everything up.
    What follows is taken from Tomcat/logs/localhost_log.2006-10-24.txt. If there is another log file I should be looking in, please let me know. Here is the full stack trace from the log:
    2006-10-24 16:58:40 Could not load TagLibraryValidator class org.apache.taglibs.standard.tlv.JstlCoreTLV: EXCEPTION: org.apache.taglibs.standard.tlv.JstlCoreTLV
    2006-10-24 16:58:40 Could not load TagExtraInfo class org.apache.taglibs.standard.tei.ImportTEI: org.apache.taglibs.standard.tei.ImportTEI
    2006-10-24 16:58:40 Could not load TagExtraInfo class org.apache.taglibs.standard.tei.ForEachTEI: org.apache.taglibs.standard.tei.ForEachTEI
    2006-10-24 16:58:40 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /myjsp.jsp(59,0) Unable to load class if
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)
    at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:712)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
    at java.lang.Thread.run(Thread.java:552)

  • How to load document from url to blob

    How I can load html file from web to
    clob column in database table?

    Sorry, I forget write that I try use Oracle 8.1.7 and 9i
    Intranet server uses MS IIS and
    for external web adresses it use proxy server with NTLM authorisation
    I work in Windows 2000. Oracle server installed on machine with Windows 2000 and
    in network
    I used UTL_HTTP package (with specified proxy server name) for load document from www.oracle.com. It works perfect.
    But if I load document from intranet server then I get DNS server message
    "The requested URL could not be retrieved"
    "Unable to determine IP address from host name for <server>"

  • Unable to load data from an ODS to a Cube

    Hi all,
    I am traying to load data from an ODS to a cube, and I'm getting the following msg at the bottom of the screen monitor: <b>"No corresponding requests were found for request REQU_BZUH9ZPYNL5XLQNB7K8IQDKFS in the ODS/Cube" Message no. RSBM043.</b>
    I am unable to load the data. The QM status is yellow. When the process starts, on the left hand of the monitor it shows: "0 of 84408 records" which is ok. I load that with this package before and it works well.
    Can you help me what I have to do? I tried to wait but it was the same: no progress and no data in the cube.
    Thank you very much and kind regards,
    MM.
    May be this helps...
    When I look at the status, it says that I have a short dump at BW. It was CALL_FUNCTION_REMOTE_ERROR and the short text is "The function module "SUBST_TRANSFER_UPGEVAL" cannot be used for 'remote'". This short dump occurs very much before I shoot the upload.
    Thanks again.

    Hello MM,
    Can you do the following..
    make the Total status Red Delete the request from cube.
    goto ODS -> Remove the Data Mart Status -> Try loading it again.
    The error message that you get is common when we are trying to run a infopackage with the source object having no new request, (means all the requests available in the source are already moved to the targets). So please try the steps given above.
    Hope it will help!

Maybe you are looking for