Deploying applet to OAS 4.0.8.1

I have made simple applet using the Wizard in JDeveloper 3.0. I have used the Deployment wizard to make a Jar file. I also included
the swingall.jar. The Jar file is generated successfully. I then copy
the jar file and the html file to the OAS 4.0.8.1. But when I try to run
it I get the following error:
java.lang.NoClassDefFoundError: javax/swing/JApplet
Anyone?

Sounds like you might still be having swing problems. Insure that you are using the java plugin from Sun and that the swingall.jar is included in the ARCIHVE tag before running the HTML converter (from Sun) on the HTML file. Then stage the converted HTML file on the webserver and have all of the deployment archives included in the CODEBASE directory.

Similar Messages

  • Deploying Applets on OAS (urgent help needed)

    I have installed and Configured OAS 4.0.7.1 on Win Nt Server ( SP5)
    I have created a very simple Java Applet using JDeveloper 1.1 and followed the deployment method as specified in the Work book (Student Work book).
    I have modified the source to add the ARCHIVE line.Using the Deployment Wizard I have created the archive file (.jar).
    I have the Java class files and the archive file in the same directory.
    I have added a HTTP Listener with port 90 and set the Directory for Virtual path corresponding to the directory where the java class files and archive files are available.
    Now when I enter the URL for the invoking HTML file from the Browser the Applet seems to be loading but it doesn't. The error message at the bottom of the Applet(looks like the Applet Window):
    load: <packagename>.<classname> cannot be instaniated.
    Please help me to resolve the problem at the earliest.
    Thanks
    Thiru

    Marcosk2,
    I am still having problems.
    kindly tell me the steps in detail.
    what i have done is:
    1.i have a simple applet (with frame) with a button.
    2. I have edited the html file and included the following:
    CODEBASE="imtac" -the virtual directory name
    ARCHIVE = "carclas.zip"
    3.with Deployment Wizard I have created the zip file (carclass.zip);
    Whe I run the Applet (in JD1.1) it is not running as it is looking for the path (imtac) but if i remove the virtual path (imtac) then the applet runs. You asked me to include the virtual path name in the CODEBASE parameter.
    Please do let me know in steps so that i too can deploy the applets in the WEB.
    It will be of great help even if u give me your telephone no with country code and area code so that I could talk to u and make things workable here. ( i am in Oman).
    I have to give a demo tomorrow.
    Thanks

  • Deploying Applet which uses JCORBA

    Hi,
    I've a problem with deploying Applet, which uses JCORBA
    application jcoSql (it's on OAS 4 on Windows NT). I need in
    deploy directory package COM/visigenic/vbroker.. (because of
    calling ObjectFactory) and com/swing/... (because of using
    component JDialog in the Applet). But first direcory COM must be
    in uppercase and second com in lowercase!! And that is problem
    on NT. Could somebody help me?
    Thanks,
    Ales
    null

    You can make one (or both) of te packages available in a ZIP or
    JAR file.
    Thanks,
    -Roel.
    Ales Kemr (guest) wrote:
    : Hi,
    : I've a problem with deploying Applet, which uses JCORBA
    : application jcoSql (it's on OAS 4 on Windows NT). I need in
    : deploy directory package COM/visigenic/vbroker.. (because of
    : calling ObjectFactory) and com/swing/... (because of using
    : component JDialog in the Applet). But first direcory COM must
    be
    : in uppercase and second com in lowercase!! And that is problem
    : on NT. Could somebody help me?
    : Thanks,
    : Ales
    null

  • Error while deploying EJB on OAS 4.0.8.1

    I have installed OAS 4.0.8.1 on Windows NT 4.0 with Support Pack 6a. The java compiler used is from JDK 1.1.6 provided with OAS.
    The following error occurs while deploying EJB on OAS. The error is the same while deploying through the node manager or by using oasdeploy command line utility.
    java.lang.NoClassDefFound Error
    Code generation for
    D:\\orant\\ows\\upload\\425BrowserBean.jar failed!
    Creating registration files.....
    Unable to expand attribute Unable to load from C:\temp\src425\oasbae.properties
    Please let me know the possible causes for non deployment of the bean on OAS.
    null

    With JDev 3.1, we only support deployment to OAS 4.0.8.2.
    JDev 3.0 supported deployment to OAS 4.0.8.1.
    I believe most of this restriction is due to internal changes in OAS that we were only able to integrate with 3.1.

  • Deploy Applet and MySQL - how to read and write

    Question on deploying Applet and MySQL
    I am building an applet that is to be a part of a simple game. The applet is supposed to read data from a MySQL server and use it to place towns on the map. In addition, the applet must be able to write to the base.
    I have build a prototype and ran it in netbeans on my computer. It then successfully read data from a local MySQL base. HOWEVER; when I embed the applet in html code it no longer reads from the base. My method for connecting to the base is
    try{
    Statement stmt;
    ResultSet rs;
    Class.forName("com.mysql.jdbc.Driver");
    String url=adress;
    Connection con=DriverManager.getConnection(url, user, user);
    stmt=con.createStatement();
    rs=stmt.executeQuery("SELECT * " +
    "from "+table+" ORDER BY id");
    while(rs.next()){
    get data...
    Town T=new Town(data...); //construct town object
    TL.put(T); //put town objects in an object TownList to use later
    con.close();
    catch(Exception e){
    So;
    1) Why wont the applet read anymore?
    2) Is there a better way to do this? I have heard that its better to connect applets to servlets in some situations. What demands does this place on the server? Is there software that you need to install on the server to use servlets?

    I think I do need an applet. The map I have written permits a lot of features that I dont know how to achieve in another way.
    1) Zooming in and out on mousewheel
    2) Clicking on on two towns gives the distance and by selecting a trooptype one can get information about the traveltime between cities.
    3) Right now, I have a feature to find players or groups of players that are of special interest. It allows a player to submit a list of interesting players. The applet reads this list and provides a button with the players name. If one clicks the name of a player, all his cities flash between their originall color and white (using thread).
    I need java to do this and I need to run it in a webbrowser because there are som parts of the game that is made up of php. So I assume I have to build it as an applet?

  • Deploy Servlet to OAS 4

    hiye guys,
    Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
    I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
    what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
    needed help asap
    from
    kenneth

    Hi Kenneth,
    I'd recommend the developers simply deploy locally and copy the files over to your server.
    Have they tried this? Have you run into any problems?
    Is it a DBServlet? If so, have you seen the following documentation?:
    CHoose Help | Help Topics
    Then navigate to
    User Guides
    --Developing Applications
    ----Developing Web Applications
    ------Developing Java Servlets
    --------Deploying Java Servlets
    ----------Deploying a Database Servlet to OAS
    Hope this helps.
    Best,
    Avrom
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kenken64:
    hiye guys,
    Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
    I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
    what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
    needed help asap
    from
    kenneth<HR></BLOCKQUOTE>
    null

  • Why I cannot connect to database after deploying application to OAS?

    Hello experts...i have a new problem and here are the facts:
    I`m using on Windows Xp:
    Oracle Database 10.2.0
    Oracle Application Server 10.1.3
    Oracle Jdeveloper 10.1.3.3
    I`m creating a new application using jdeveloper and i`m using 2 connection classes:
    a) First connection class using:
    InitialContext ctx=new InitialContext();
    DataSource ds=ctx.lookup("jdbc/connDS");
    Connection conn=ds.getConnection();
    b) Second connection class using:
    Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
    So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
    If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
    Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
    - on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
    - I`m creating a war file from jdeveloper and deploy the ear file on the OAS
    - on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
    Why the uploaded files are downloaded in this way? it`s the connection the problem?
    - I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
    - as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
    - if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
    There are someone who had the same problem?
    Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

    no one knows nothing about this issue? :(... i`m dissapointed...

  • Deploying applets in Websphere

    How do I deploy applets in Websphere? Reply required urgently. Thanks in advance.

    What do you mean follow the same steps as an HTML file? You don't "deploy" HTML files, they are in the web application directory and the server serves them up upon request! The question remains, how do we deploy an applet. I have spent 2 days trying to get this crap to work, and NOTHING!
    I realize this is an old thread, but if anyone can help, that'd be cool!

  • Deploying JSP to OAS

    Hi,
    I4ve developed an application using JSP. Now I wanna deploy it in OAS 8.4.0.1. I downloaded the patch for JSP, but I didn4t install yet because my oracle_home is not pointing to my installation of OAS. There was a previous installation of an OAS in the oracle home (version 4.0.4.3.0), so I installed the OAS 8.4.0.1 in another directory.
    I4m using windows NT.
    How can I change the oracle_home, so that I can install the patch? And does this pacth work?
    Thanks in advance,
    Mamra

    OAS has a bug that causes all system.out output to be echoed to the http client's response output stream. You get this message only once becuase your application is registered the first time and subsequently this message is not displayed.

  • Use Jdev 11h to deploy app on OAS 10.1.2 (front-end) and Jboss (back-end)

    Hi,
    I have a JBoss AS to deploy the buisness services (spring + hibernate) and a OAS 10.1.2 to deploy the WUI (ADF faces).
    I would like also use the ADF Model layer.
    In summary:
    view: ADF faces 11g on OAS 10.1.2
    model: ADF Model layer on both servers
    buisiness model: hibernate + spring + webservices on Jboss AS
    It's possible do that with Jdev 11g ?

    Hi,
    thats not going to work. Please use OC4J 11 with ADF Faces RC
    Frank

  • Deployment Error in OAS 10.1.2

    Hi
    I'm trying to deploy an Webapp EAR which contains a WAR and a EJB Jar to OAS 10.1.2. I have created a separate OC4J Instance for hosting this Webapp.
    Whenever I'm deploying from Admin Console I'm getting a java.lang.NoClassDefFoundError Error. The detail Error shown on Console Screen is:
    Deployment failed: The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoClassDefFoundError
    com/fmr/pna/dao/DaoException. com/fmr/pna/dao/DaoException
    When I check the Log files, I could find following Stack traces:
    In EM Error Log:
    2009-07-10 07:00:45,511 [Thread-66] ERROR ias.IASUtil displayError.753 -
    java.lang.NoClassDefFoundError: com/fmr/pna/dao/DaoException
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
         at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
         at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    In Server Log of the OC4J INstance, I could find that the Error is coming when the EJB jar file is being compiled.
    The Class file being referenced in the Error is part of the Application Code and is present in the EJB Jar itself.
    I'm not able to understand why the server is not able to reference it.
    I tried recycling the whole server with no luck
    I have put all the JAR Files (Logger, validator, etc) required for the classpath into a folder and added the path to application.xml file.
    Also, I'm able to deploy the same EAR File in my Local OC4J 10.1.2 Standalone instance on my desktop, without any issues.
    I would appreciate any help on this regard
    Thanks
    Manoj

    See this thread for a JDBC bug number reference
    JDev 10.1.3 : Error running my first ADF application.

  • JDev3 deployment problem on OAS

    Hi,
    When I try to deploy an EJB for the second time on OAS using the JDEV3 deployment tool I get the following error in the deployment process (see below). If I try to remove the EJB from OAS it often does not allow me to do so. My current workaround is to reboot the PC and then the JDev3 deploymenttool does it correctly.
    Is there a solution to avoid rebooting the PC in order to deploy a newer version of an EJB on OAS?
    Thanks Peter
    Error I get in Jdev3 deployment tool
    Processing jar...
    Analyzing Beans...
    RequestProcessorClass
    Code generation for D:\\OAS\\ows\\upload\\180GatewayV1Source.jar has been completed.
    Compiling generated code...
    Creating client jar...
    java.io.FileNotFoundException: D:\OAS\ows\4.0\..\apps\ejb\GatewayV1\_client.jar at java.lang.Throwable.<init>(Compiled Code)
    at java.io.FileNotFoundException.<init>(Compiled Code)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:69)
    at sun.tools.jar.Main.run(Main.java:76)
    at sun.tools.jar.Main.main(Main.java:524)
    at oracle.oas.tools.util.JarGenerator.createJar(Compiled Code)
    at oracle.oas.tools.util.CreateJars.main(Compiled Code)
    Creation of client jar for D:\\OAS\\ows\\upload\\180GatewayV1Source.jar failed!
    null

    Set FileCaching = OFF in svnode.cfg file in OAS.
    The file is located in OAS_HOME/admin/website40/httpd_machinename/www
    raghu

  • Problem deploying applet to browser

    Hi all, i am with a problem when deploying an applet to a web browser.
    i am using netbeans 6.7.1, JDK 6 Update 16 with Java EE and IE 8 [or firefox 3.5.3].
    I've created a JApplet Form and then in the self generated .html file with <applet> tags, i can deploy the applet to the IE8. the thing is i need to put a picture in the applet. waht i did was to create a label, remove it's text and seted a icon with the image. I can run the applet fine and everything is ok. When i go to the .html file and deploy it to the browser, i get a gray image with the size of the applet but completly...dead, only gray, no controls, no image, no nothing.
    It this a known bug or what?
    Thank you for your help guys!

    It seems that I am answering to myself :). This stack trace solves the mystery, why it was working only when signed - no right to change logging level. I just don't understand that totally misleading error while it was static part of code...
    Caused by: java.security.AccessControlException: access denied (java.util.logging.LoggingPermission control)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.util.logging.LogManager.checkAccess(Unknown Source)
         at java.util.logging.Logger.checkAccess(Unknown Source)
         at java.util.logging.Logger.setLevel(Unknown Source)
         at org.sors.openOEMS.applet.GraphApplet.<init>(GraphApplet.java:91)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Deploy servlet in OAS

    By using Jdeveloper, I can build a servlet and run it under
    JDeveloper easily.
    According to the reference, it shows how to delopy it outside
    JDeveloper using "Java Web Server".
    However, I am using OAS and I don't know how to do it.
    Can anyone teach me how to do that ?
    Rgds,
    Edward
    null

    andrew (guest) wrote:
    : Edward (guest) wrote:
    : : By using Jdeveloper, I can build a servlet and run it under
    : : JDeveloper easily.
    : I'm sorry I'm not able to answer your question.
    : But I have a question of my own. What version of
    : JDeveloper are you using? Is it 3.0?
    : I too would like to use JDeveloper to develop servlets.
    : I hear that this support will be available with v3.0
    : but I would like advise on where I could get a copy of it.
    : thnx
    I would like to clarify that I am interested in using
    JDeveloper not just to develop and compile servlet code.
    Rather I am interested in being able to deploy and
    debug servlets from within JDeveloper, i.e. I am looking
    for an integrated development environment with compiler,
    debugger AND mini web server + servlet engine. OAS408 does
    not support debugging. In the msg Edward posted,
    you seem to be saying that you have a version of JDeveloper
    that allows you to "deploy" (and, I assume, also to debug
    using a visual debugger) your servlets on JDeveloper.
    Is my assumption correct?
    thnx
    null

  • Deploying applets through workshop for weblogic

    Hi.
    I recently posted a question under the weblogic.developer.interest.workshop newsgroup, but was informed that this was not the appropriate place for such a post, and was directed here. Hope I will have more luck in here.
    We are creating a web application whic primarily is driven through java/jsp (using Workshop 10.1). We have come over a problem which requires us to introduce an applet to the stack.
    Our application configuration concists of a dynamic web project (main project) and a utility J2EE project (the applet). The Applet currently concists of just one java class, and if we could, we would happily incorporate this into our main project. But I hear that to run the applet it has to be inside a containing jar and that requires us to use a separate project.
    * If we configure our main projects J2EE Module dependency to point to the applets project, we seemingly get no results.
    * If we add the utility project to the main project's build path, we get an error message during deployment: "The web project build path contains classes or jars which are not inside the standard <WebApproot>/WEB-INF/classes or <WebApproot>/WEB-INF/lib directories"
    We want the applet to be available to the client. The "/WEB-INF/lib/" and "/WEB-INF/classes" aren't, and we can therefore not export the utility project manually as a jar to these folders.
    The best solution would be to create a dependancy which would compile and deploy our utility project as a jar or classes automatically when we build our main project, and place the file(s) in a location available to the client. But I do not know how we could do this.
    Anyone want to share some knowledge on this issue? It would be greatly appreciated.
    Concreatly:
    * On which path in the main project does the jar file have to be placed in order for it to be available to the client?
    * How do we deploy the jar through the Workshop IDE? Do we have to use ANT scripting to acheive this?
    Thanks in advance.

    Hi
    You can also checkout the link http://e-docs.bea.com/wls/docs100/webapp/configureresources.html#wp158951
    If you need to serve classes or other resources from the system CLASSPATH, or from the WEB-INF/classes directory of a Web application, you can use a special servlet called the ClasspathServlet. The ClasspathServlet is useful for applications that use applets or RMI clients and require access to server-side classes.
    The ClasspathServlet returns the classes or resources from the system CLASSPATH in the following order:
    WEB-INF/classes
    jar files under WEB-INF/lib/*
    system CLASSPATH
    So may be you can place your applet in one of the places and serve it using classpath servlet from wls. I haven't tested this servlet with workshop but I will check it out.
    Vimala-

Maybe you are looking for

  • Jabber and Missed Call history

    Hello I am looking for and explanation or a document around expected behavior for how the Call Log works within the Jabber for Windows client. Our customers setup has Jabber for windows deployed in Deskphone Control mode, where the Jabber clients con

  • Audio track restarts in the middle of a clip

    Hi! I'm having an interesting issue with the audio tracks in my Timeline. When I start playing a clip the audio is in sync with the video. Then about 5 seconds into playing the clip the audio starts over. The playhead does not go back to the beginnin

  • Can I change background size for websites?

    Hallo, I am building a website in flash and was wondering if it is possible to change the background size for each page of a website that I build in Flash? I know how to change the template background etc. but I changed the background size to a bigge

  • Reading text from a URL location

    I am having problems trying to read a text file from a URL. This is the code i have been using: package Java; import java.net.*; import java.io.*; public class Main_1 { public static void main(String[] args) throws Exception { URL myAddress = new URL

  • OVM and OCFS2 1.6

    Ok this question may be a little complicated so I'll start by explaining what I'm trying to achive. I have 3 OVM 2.2.1 servers in 1 Server pool running OCFS2 on an EMC SAN. I also ave an Oracle Enterprise Linux server which connects to the same ocfs2