JSP unable to load applet

I'm trying to load an applet from my JSP (under WL 6.1 SP2 on Win2K) with
          the following code:
          <OBJECT ...>
          <PARAM NAME = "CODE" VALUE = "com.foo.bar.MyApplet" >
          <PARAM NAME = "CODEBASE" VALUE = "/classes/[email protected]/" >
          </OBJECT>
          Before you say "try the <jsp:plugin> tag..." - I did and got nothing except
          the display from the <jsp:fallback> tag. At least with the <OBJECT> method I
          can see the errors... once I get it working with <OBJECT>, I'll switch over
          to <jsp:plugin>!
          Anyway, my applet is located in a JAR, which is located in an EAR. I'm sure
          that my problem is not having the correct CODEBASE, but just what should
          that CODEBASE be? According to the docs, /classes/ear@war/ should work...
          but using that I get a FileNotFound exception from the Java PlugIn. Am I
          missing something in a deployment descriptor? Ideally, I would like to have
          my JAR loaded from the root of the EAR, not the WAR... is this possible
          using /classes/my.ear@/ as the CODEBASE?
          Any help would be greatly appreciated!
          Thanks!
          Steve
          

1 - Place your applet class in the CLASSPATH. Not in the web application
          that your jsp is in.
          2 - In your jsp do something like this:
          <html>
          <body>
          <P>Applet below</p>
          <APPLET CODE="com.applet.TestMyApplet.class" CODEBASE="/classes/" WIDTH=600
          HEIGHT=100></APPLET>
          </body>
          </html>
          Regards,
          Joseph Nguyen
          BEA Support
          "Steve Soloski" <[email protected]> wrote in message
          news:[email protected]...
          > I'm trying to load an applet from my JSP (under WL 6.1 SP2 on Win2K) with
          > the following code:
          >
          > <OBJECT ...>
          > ...
          > <PARAM NAME = "CODE" VALUE = "com.foo.bar.MyApplet" >
          > <PARAM NAME = "CODEBASE" VALUE = "/classes/[email protected]/" >
          > ...
          > </OBJECT>
          >
          > Before you say "try the <jsp:plugin> tag..." - I did and got nothing
          except
          > the display from the <jsp:fallback> tag. At least with the <OBJECT> method
          I
          > can see the errors... once I get it working with <OBJECT>, I'll switch
          over
          > to <jsp:plugin>!
          >
          > Anyway, my applet is located in a JAR, which is located in an EAR. I'm
          sure
          > that my problem is not having the correct CODEBASE, but just what should
          > that CODEBASE be? According to the docs, /classes/ear@war/ should work...
          > but using that I get a FileNotFound exception from the Java PlugIn. Am I
          > missing something in a deployment descriptor? Ideally, I would like to
          have
          > my JAR loaded from the root of the EAR, not the WAR... is this possible
          > using /classes/my.ear@/ as the CODEBASE?
          >
          > Any help would be greatly appreciated!
          >
          > Thanks!
          >
          > Steve
          >
          >
          >
          

Similar Messages

  • JSP Unable to load class

    I am using the core servlets book and Tomcat 3.2.4 to learn JSP. The first example will not work because of the follwing exception:
    org.apache.jasper.compiler.CompileException: E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp\SimpleExample.jsp(14,7) Unable to load class E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag
    I have the following files in the following paths:
    ExampleTag.java is in the path E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag and the code is as follows:
    package tags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    /** Very simple JSP tag that just inserts a string
    * ("Custom tag example...") into the output.
    * The actual name of the tag is not defined here;
    * that is given by the Tag Library Descriptor (TLD)
    * file that is referenced by the taglib directive
    * in the JSP file.
    * <P>
    * Taken from Core Servlets and JavaServer Pages
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    * &copy; 2000 Marty Hall; may be freely used or adapted.
    public class ExampleTag extends TagSupport {
    public int doStartTag() {
    try {
    JspWriter out = pageContext.getOut();
    out.print("Custom tag example " +
    "(tags.ExampleTag)");
    } catch(IOException ioe) {
    System.out.println("Error in ExampleTag: " + ioe);
    return(SKIP_BODY);
    This is an excert from the Tag Library Descriptor file named csajsp-taglib.tld (the entire file is too long to include). This is in path :E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <!-- a tag library descriptor -->
    <taglib>
    <!-- after this the default space is
    "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd"
    -->
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>csajsp</shortname>
    <!-- ** CHANGED FROM "urn" TO "uri" IN TOMCAT 3.1 ** -->
    <uri></uri>
    <info>
    A tag library from Core Servlets and JavaServer Pages,
    http://www.coreservlets.com/.
    </info>
    <!--
    <tag>
    The name (after prefix) tag will have in JSP code
    <name>example</name>
    The actual class implementing tag. In
    Tomcat 3.1 beta, it MUST be in a package.
    <tagclass>tags.ExampleTag</tagclass>
    Descriptive information about tag.
    <info>Simplest example: inserts one line of output</info>
    One of three values describing what goes between
    start and end tag.
    empty: no body
    JSP: body that is evaluated by container normally,
    then possibly processed by tag
    tagdependent: body is only processed by tag;
    JSP in body is not evaluated.
    ** NOTE: TOMCAT 3.1 FINAL DOES NOT SUPPORT BODYCONTENT **
    ** THE BETA SUPPORTED IT, AND IT IS PART OF SPEC, BUT... **
    <bodycontent>empty</bodycontent>
    </tag>
    -->
    <tag>
    <name>example</name>
    <tagclass>E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag</tagclass>
    <info>Simplest example: inserts one line of output</info>
    <!-- TOMCAT 3.1 DOES NOT SUPPORT BODYCONTENT
    <bodycontent>empty</bodycontent> -->
    </tag>
    and the .jsp file is SimpleExample.jsp and is located in the path E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp\SimpleExample.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!--
    Illustration of very simple JSP custom tag.
    Taken from Core Servlets and JavaServer Pages
    from Prentice Hall and Sun Microsystems Press,
    http://www.coreservlets.com/.
    &copy; 2000 Marty Hall; may be freely used or adapted.
    -->
    <HTML>
    <HEAD>
    <%@ taglib uri="csajsp-taglib.tld" prefix="csajsp" %>
    <TITLE><csajsp:example /></TITLE>
    <LINK REL=STYLESHEET
    HREF="JSP-Styles.css"
    TYPE="text/css">
    </HEAD>
    <BODY>
    <H1><csajsp:example /></H1>
    <csajsp:example />
    </BODY>
    </HTML>
    I have tried putting the ExampleTag.java file and the folder that it is in, 'tags', in about every path I can think of and I get the same error. I also tried removing the entire path from the .tld file and just calling for tags.ExampleTag. Still no luck.
    I am using win98.
    Any assistance will be greatly appreciated.
    Thanks,
    Scott

    I compiled the .java and put the .class file in the following path:
    E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags
    I am getting the error: org.apache.jasper.compiler.CompileException: E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp\SimpleExample.jsp(14,7)
    Unable to load class E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag
    Here is another look at the .java file that I compiled:
    package tags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    /** Very simple JSP tag that just inserts a string
    * ("Custom tag example...") into the output.
    * The actual name of the tag is not defined here;
    * that is given by the Tag Library Descriptor (TLD)
    * file that is referenced by the taglib directive
    * in the JSP file.
    * <P>
    * Taken from Core Servlets and JavaServer Pages
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    * � 2000 Marty Hall; may be freely used or adapted.
    public class ExampleTag extends TagSupport {
    public int doStartTag() {
    try {
    JspWriter out = pageContext.getOut();
    out.print("Custom tag example " +
    "(tags.ExampleTag)");
    } catch(IOException ioe) {
    System.out.println("Error in ExampleTag: " + ioe);
    return(SKIP_BODY);
    Any idea why I am still getting an error?

  • Unable to load Applet in JSP using Tomcat 5.5.12

    Hi
    I am aunable to applet in jsp using Tomcat 5.5.12 and JRE 1.5. Below is the code that I am using
                                       <applet
                                       codebase = "."
                                       archive = "WebPOSApplet.jar"
                                       code = "webposprint.WPMainApplet.class"
                                       name = "Trans Applet"
                                       width = "450"
                                       height = "115"
                                       hspace = "0"
                                       vspace = "0"
                                       align = "middle"
                                       >
    <param name = "redirectInfo" value = "SearchProducts.do">
                                       </applet>
    <%/*%>
    <OBJECT
                                       classid = "clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA"
                                       codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0"
                                       WIDTH = 450 HEIGHT = 115 >
    <PARAM NAME = CODE VALUE = webposprint.WPMainApplet.class>
    <PARAM NAME = archive VALUE = WebPOSApplet.jar>
    <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.2">
    <param name = "redirectInfo" value = "SearchProducts.do">
    <PARAM NAME = "scriptable" VALUE = "false">
    <PARAM NAME = model VALUE=models/buckminsterfullerine.xyz>
    <embed width="450" height="115" code="webposprint.WPMainApplet.class" archive="WebPOSApplet.jar" type="application/x-java-applet;jpi-version=1.4.2" redirectinfo="SearchProducts.do" scriptable="false" model="models/buckminsterfullerine.xyz" src="webposprint.WPMainApplet.class">
    </embed> <COMMENT> <EMBED
                                       type = "application/x-java-applet;jpi-version=1.4.2" \
                                       CODE = webposprint.WPMainApplet.class\
                                                 archive = WebPOSApplet.jar\
                                       WIDTH = 373 \
                                       HEIGHT = 167 \
                                       model =models/buckminsterfullerine.xyz \
                                            scriptable = false \
                                            pluginspage = "http://java.sun.com/products/plugin/index.html#download"> <NOEMBED>
    alt="Your browser understands the <APPLET>
    tag but isn't running the applet, for some reason."
    Your browser is completely ignoring the <APPLET>
    tag! </NOEMBED> </EMBED> </COMMENT>
    </OBJECT>
    <%*/%>
    This code doesn't seems working with Tomcat 5.5.12. I works fine with Tomcat 4.1.31
    Please help
    Thanks

    Applets run client side - which means the relevant class files need to be downloaded to the client.
    Anything under the WEB-INF directory is not directly accessible by the client. Nothing under WEB-INF can be downloaded.
    ergo, specifying the WEB-INF directory as part of your applet codebase is a bad idea.
    I would suggest try copying the applet classes from under WEB-INF to some other place in your application.
    Also, you should probably specify the full class name of your Applet in the plugin tag.
    <%@ page import="com.util.MyApplet" %>
    <jsp:plugin type="applet" code="com.util.MyApplet" codebase="/classes" width="250" height="100" jreversion="1.6">
         <jsp:fallback>
              <B>Unable to start plugin!</B>
         </jsp:fallback>
    </jsp:plugin>cheers,
    evnafets

  • Unable to load applet on one machine, but runs fine on others

    Hi there
    I have created and deployed, successfully, a JavaFX applet which I tested on my development machine and a separate machine and all is fine. The Applet with its associated HTML, JNLP and JAR file reside on a webserver, and my testing was still successful (and another colleague tried also).
    I proudly announced the location to others within the organisation (sorry I am not able to share the URL) and one person reported that all was fine, they loaded and used the application, the other reported the following error message:
    Ignored exception: java.lang.NullPointerException
    exception: JNLP file error: xxx_browser.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct..
    java.io.FileNotFoundException: JNLP file error: xxx_browser.jnlp. Please make sure the file exists and check if the "codebase" an "href" in the JNLP file are correct.
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$appletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown source)
    Exception: java.io.FileNotFoundException: JNLP file error: xxx_browser.jnlp
    This person, who is in a remote site (so not yet been able to visit the machine) is using Windows XP, IE 6.0. I have a machine which also runs this setup and can load the application.
    I am really unsure what could be the problem. I have even asked the user to load the Winter Olympics JavaFX visualisation to see if that works (it does).
    Can anyone give me any advise? I am guessing it is a problem local to that machine, rather than the JavaFX application?

    Hi there
    An update on this situation. I managed to visit said machine on Friday and found the following:
    1 - The error in the Java console is:
    java.io.FileNotFoundException: JNLP file error: XXX_browser.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct.
    2 - I was able to browse, and resolve, the XXX_browser.jnlp file
    3 - The client was able to load other JavaFX applets from the same server/website but they were not behind any password protection.
    4 - The client is able to use the JavaFX application via the XXX.jnlp file (i.e. web start)
    Whilst on site I noticed that IE was reporting "Could not find privacy policy for http://dl.javafx.com/ping.js". I added this site to the browsers accepted list, and marked this as Always allow this site to use cookies but to no avail.
    Remember, this site does work for another user.
    My thinking now is, when executing the URL to load the HTML you have to enter a password, (which we did), this loads the HTML which then tries to load the JAR file (in the same location) but for some reason it in turn cannot load it XX_browser.jnlp file and it is does not challenge for a username and password again (like it does when you run it as a web start).
    Any thoughts?

  • JSP unable to load javascript

    I have a JSP page that is using a tag library from DotJ software. With the tag library there is an accompanying javascript library that handles the client side of the form. The screen runs okay on my laptop from within JDeveloper and from JDeveloper on the server that we are to deploy to.
    The problem occurs when I try to run the page from 10g application server.
    Generally, when I test the page its usually as an address of the form:-
    xxx.xxx.xxx.xxx/UPDORA/Screen.jsp
    When the page loads everything is there (logos, buttons, grid data etc.) but an error is displayed stating that the javascript file couldn't be loaded. The alert displays the URL that it is trying to load the javascript from - this seems to be different to the URL that I run the page from:
    http://<machine name here>:81/UPDORA/dotj/dotj_2_0.js
    I'm guessing that the inclusion of the port number is causing the problem ? The dotj directory is in the same place as Screen.jsp so I would assume if it can find one it can find another - but it isn't. I'm not sure if the problem is with the application server or the tag library that is trying to load the javascript file - but the screen runs okay from JDeveloper.
    Does anyone have any idea what the problem may be ?

    Hi,
    I do not know what is the cause of your problem. However, it should be easy to identity the root cause. Here are some basic suggestions:
    1. Since you can access http://something/here/Screen.jsp, try accessing http://samething/here/dotj/dotj_2_0.js from your browser directly just to make sure it is there.
    2. check page source received by your browser to see the address of your javascript.
    3. check .java file generated out of your jsp file by jdeveloper, which should be inside the directory for your jdeveloper project. Also check the .java file generated by your application server, which is in j2ee/home/application-deployments/yourApp/yourWebApp/persistence/_page. Find what is the difference that causes, I assume, different urls for your javascript.

  • JSP Unable to Load Class (posted in Java Programming for 5 Dukes)

    I hope this isn't a violation of forum etiquette, but I posted my question in Java Programming at http://forum.java.sun.com/thread.jsp?forum=31&thread=203255
    I realize now that it may have been wiser to post it here, but I have some replies already and it makes more sense just to inlcude the link.
    Can anyone assist with the question at http://forum.java.sun.com/thread.jsp?forum=31&thread=203255
    It's worth 5 dukes.

    Try changing <tagclass>E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag</tagclass> to <tagclass>tags.ExampleTag</tagclass>
    because <tagclass> tag is for the class name and not the location of class file
    And make sure your ExampleTag.class file is in
    \WEB-INF\classes\tag\ExampleTag.class
    B!

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

  • JSP, JavaBeans and iPlanet 4.1-  Unable to load JavaBean

    I get the following error when trying to access a JavaBean from a JSP page. I have tried just about everything including using the <@page import /> in the JSP page.
    I can get it to run perfectly in Tomcat 3.2 but it must run in iPlanet 4.1. I think the solution should be fairly simple I just can't find it.
    Any help would be greatly appreciated.
    Thanks.
    The exception is as follows (thrown on running the generatePage.jsp linked from index.jsp).
    [29/Nov/2001:16:50:23] info ( 1364): Internal Info: loading servlet /TechCom/generatePage.jsp
    [29/Nov/2001:16:50:23] info ( 1364): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to load class JspPageLoader
         at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:183)
         at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:97)
         at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java:728)
         at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java:190)
         at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:159)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:141)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:214)
         at com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java:104)
         at com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:607)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:357)
    [29/Nov/2001:16:50:23] warning ( 1364): Unable to locate class: D:\Netscape\Server4\docs\TechCom (java.lang.ClassNotFoundException: D:\Netscape\Server4\docs\TechCom)
    [29/Nov/2001:16:50:23] warning ( 1364): Internal error: Failed to load servlet (servlet=/TechCom/generatePage.jsp)

    To solve this problem you have to:
    include <@page import /> tags importing the JavaBean to be used.
    In the classpath of iPlanet include the directory in which your JavaBeans are placed.
    Also in the classpath of iPlanet include the root directory of you web site containing the JSP's. this should then solve the problem.

  • Unable to load file ..jsp

    Hi
    When Iam forwarding a jsp page to other jsp page after
    some condition meets using jsp forward than some times
    when i access it it gives
    "Unable to load as it is not a top level class"
    for file while is forwarded
    for example:--
    <jsp:forward page="Login.jsp">
    <jsp:param name="user" value="<%=user%>"/>
    </jsp:forward>
    it gives login.jsp not a top level class
    unable to load
    note :---- all files in one directory
    suggestion required

    actually it depends on your JSP engine. I'm not sure but I've a doubt that once you have flushed some response , you may get an error in forwarding ( in some of the jsp engines, but I think in tomcat it's fine).
    you could try by using "buffer" property in such a way that no response is flushed before you forward the JSP page.

  • Jsp on iplanet 6.0 sp7 error: unable to load jsp class

    I am having trouble to install astraweb on iplanet with following error
    [06/Apr/2005:08:46:38] info (21397): WebApp service: uri = /astraweb/ contextPath = /astraweb servletPath = /index.jsp pathInfo = null servletName = jsp
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log:JspEngine --> /index.jsp
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log: ServletPath: /index.jsp
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log: PathInfo: null
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log: RealPath: /opt/iplanet60sp7/docs/astraweb/index.jsp
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log: RequestURI: /astraweb/
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log: QueryString: null
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log:Classpath according to the Servlet Engine is: /opt/iplanet60sp7/docs/astraweb/WEB-INF/classes:/opt/iplanet60sp7/docs/astraweb/WEB-INF/lib/Basej4.jar:/opt/iplanet60sp7/docs/astraweb/WEB-INF/lib/commons-fileupload-1.0.jar:/opt/iplanet60sp7/docs/astraweb/WEB-INF/lib/hsi.jar:/opt/iplanet60sp7/docs/astraweb/WEB-INF/lib/net.jar:/opt/iplanet60sp7/docs/astraweb/WEB-INF/lib/oreilly.jar:
    [06/Apr/2005:08:46:38] info (21397): JSP11 Log:unable to load jsp class: jsps.index_jsp
    [06/Apr/2005:08:46:38] failure (21397): Internal error: exception thrown from the servlet service function (uri=/astraweb/): java.lang.NullPointerException, Stack: java.lang.NullPointerException
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.isJspFileModified(JspServlet.java:231)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:199)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:171)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:596)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1058)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
    Any idea? Thanks

    In the course of your troubleshooting to date, have you worked through the following document, Jeff?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

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

  • After closing an Applet, how can I say a HTML/JSP Site to load a new site?

    Hi!
    I have a problem. I�m writting a little chat, and after qutting I want to say my HTML/JSP site to load or go further to another page.
    This is possible because a saw this already, but i didn�t got the way how!
    Thnx
    Ren�

    Hi,
    I assume you mean with "after quitting" pressing the Quit button.
    Your JSP can use the forward-statement to move to another JSP or HTML. You can find it on Suns
    JSP-Syntax Card.
    I hope I could help you
    Frank Rettweiler

  • Unable to load pages after update to 3.6.8

    unable to load pages with any browser after update to 3.6.8
    windows update only online function that works

    try this
    download and run norton removal tool. this woked for me
    http://www.symantec.com/norton/support/kb/web_view.jsp?wv_type=public_web&docurl=20080710133834EN&ln=en_US

  • Unable to load taghandler

    Hi All,
    I am deploying my application from JDeveloper remotely in Oracle 10g AS.in my application I have generated a couple of reports using Oracle Report Writer.basically i generated report JSPs.when I run my application report is not getting generated, it raises following error-
    unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
    Error: Unable to load taghandler class: /WEB-INF/lib/reports_tld.jar

    You might want to post this on the Reports discussion forum.
    http://forums.oracle.com/forums/index.jsp?cat=19
    Did you move to an older version 904->902? I'm not sure this is supported.

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

Maybe you are looking for

  • Can I upgrade oracle 10.1.0.5 to 10.2.0.3 ?

    os: x86_64 x86_64 x86_64 GNU/Linux oracle:10.1.0.5 3 instances are running currently 10.1.0.5. Now I want to upgrade this with oracle 10.2.0.3 patch set p5337014_10203_Linux-x86-64 I just downloaded the patch. My question is can we directly upgrade t

  • V30.0.016 update not showing on NSU

    ON the can I update page it says that V30.0.016 is available for product code 0570817 but it doesn't show up on NSU! Has anyone been able to update yet? N900 (V3.2010.02-8.203.1 / Rx-51) N97 (V21.0.102 / RM-505)

  • I'm running Adobe 9 pro on snow leopard and when I save or print from word for mac 14 the bottom gets cuts off

    I'm running Adobe 9 pro on snow leopard and when I save or print from word for mac 14 the bottom gets cuts off. Can someone help?

  • Error accessing data

    Hi, I'm new to Java and wonder if anyone out there can help me spot the error in my code... Basically, I have three classes which do the following; MyApplication is a utility class which contains a main method, in which a connection to a web page is

  • Content Type of Older Versions of the Documents

    Hi, Trying to find the Content Type of a Older version of a document using powershell. We are trying to delete a Content Type from SharePoint Library from the UI and keep getting the error "Content Type Is Still In Use", have gone through many posts