Applets in JDev 3.0

I4ll try again.. i need an answer !
I4ve unzipped all jar files in the directory of my applet, preserving the directory structure that they need. Now, the error in both browsers is the same :
java.lang.NoClassDefFoundError: oracle/dacf/dataset/AppModuleInfo
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:814)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:444)
at sun.applet.AppletPanel.run(AppletPanel.java:282)
at java.lang.Thread.run(Thread.java:479)
i wonder if this oracle/dacf is from jdbc library or not? what4s missing now ?
Real thanks until now. Nobody helped me before and i really need to run a simple applet. People here are starting to say this is so complicated that isn4t worth the sacrifices. Well, i don4t think like them and wanna show them that an applet generated by JDev3.0 really works.. Thanks !
null

Now we4re going somewhere !
I have put all those archives on my webserver and tried to run the applet. Well, the login window appeared for the first time. After i typed the passwd. It gave me the following error :
java.lang.NoSuchMethodError: oracle.jdbc.driver.OracleResultSet: method getCustomDatum(ILoracle/sql/CustomDatumFactory;)Loracle/sql/CustomDatum; not found
at oracle.jbo.server.AttributeDefImpl.loadFromRS(AttributeDefImpl.java:786)
at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java, Compiled Code)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:798)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:1316)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:770)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java, Compiled Code)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:515)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:1908)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java, Compiled Code)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:1724)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:1936)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java, Compiled Code)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:367)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:1711)
at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRange(ViewRowSetIteratorImpl.java, Compiled Code)
at oracle.jbo.server.ViewRowSetImpl.getAllRowsInRange(ViewRowSetImpl.java:1212)
at oracle.jbo.server.ViewObjectImpl.getAllRowsInRange(ViewObjectImpl.java:3470)
at oracle.dacf.dataset.ViewArrayAccessImpl.refresh(ViewArrayAccessImpl.java:128)
at oracle.dacf.dataset.ViewArrayAccessImpl.resize(ViewArrayAccessImpl.java:114)
at oracle.dacf.dataset.ViewArrayAccessImpl.shapeChanged(ViewArrayAccessImpl.java, Compiled Code)
at oracle.dacf.dataset.ViewArrayAccessImpl.<init>(ViewArrayAccessImpl.java:47)
at oracle.dacf.dataset.RowsetAccessImpl.setRowSet(RowsetAccessImpl.java, Compiled Code)
at oracle.dacf.dataset.ResultSetInfo.open(ResultSetInfo.java:816)
at oracle.dacf.dataset.RowSetInfo.open(RowSetInfo.java:175)
at oracle.dacf.dataset.SessionInfo.open(SessionInfo.java, Compiled Code)
at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:952)
at package10.Applet1.init(Applet1.java:389)
at sun.applet.AppletPanel.run(AppletPanel.java:333)
at java.lang.Thread.run(Thread.java:479)
What4s this ?
Thanks !

Similar Messages

  • Problem with running Applets in JDEV 10G Preview

    Our Jdeveloper project has a default run target which is an Applet HTML page.
    Sometimes when a you click Run/Debug the project runs in Applet Viewer and sometimes it spawns an OC4J process and runs it in the container. It seems the execution of our project has a mind of its own. You can run/debug the same project on different developer PCs and have different execution behavior.
    How do you configure the execution environment for applets?
    If possible, it would be nice to be able to create multiple execution profiles so that we could have this applet run in OC4J sometimes and in AppletViewer other times. But it does not seem like you have control of this under the project properties.
    Thanks,
    Paul Manning

    Hi Paul,
    In the 10g preview, the code that launches applet viewer has first crack at whether it should "run" your html file. If that code thinks it should not launch applet viewer, then the code that launches OC4J gets a chance. The applet viewer launcher looks at the contents of the html file and looks for the <applet> tag. Is it possible that the contents of your html file is changing in such a way that my applet viewer launcher code isn't able to find the <applet> tag? If so, can you possibly send me your html file, or describe the applet tag(s), so that I can improve my side? I'd really appreciate it.
    In the near term future (the 10g release), when the run target can be started in different ways (like your applet html), the user will get to choose which way when he/she clicks run/debug. If you use the context menu, the run and debug items will lead to a pull-right submenu that lists all the choices. However, if my applet viewer launcher code doesn't find the applet tag in your html file, you won't see applet viewer in the list of choices.
    In the long term future we will support real multiple execution profiles.
    -Liz Looney

  • Applets in JDev.

    Hi,
    I'm using JDeveloper.
    My problem is:
    I want to include applet to my jsp and html pages but I always get the error 'class not found'.
    Can anyone help me?
    thanks

    Hello,
    Which browser are you using? What is the tag used for calling the applet? APPLET, EMBED or OBJECT?
    Maybe the code for calling the Applet is not correct in the file. Please try to run the applet within OC4J. Check if you can see the applet running there.
    For more information on calling the Applet, please check out the link http://java.sun.com/products/plugin/.
    Hope this helps.

  • How to show applets in a html file ?

    Hi all
    I have created an applet with jdev ,and I also generated the corresponding html file and a main method. So the java file runs standalone when I click on the run button , but when I copied the class file and the html file in a web server, then there is nothing in the applet region ! Can anyone help me ?
    Here are the code :
    Code of the java file :
    // Copyright (c) 2001
    package pack_applet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    * Applet
    * <P>
    * @author xxxx
    public class Capplet extends JApplet {
    boolean isStandalone = false;
    String x;
    String y;
    JLabel label = new JLabel();
    * Constructs a new instance.
    * getParameter
    * @param key
    * @param def
    * @return java.lang.String
    public String getParameter(String key, String def) {
    if (isStandalone) {
    return System.getProperty(key, def);
    if (getParameter(key) != null) {
    return getParameter(key);
    return def;
    public Capplet() {
    * Initializes the state of this instance.
    * init
    public void init() {
    x = this.getParameter("x", "0");
    y = this.getParameter("y", "1");
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    this.setSize(new Dimension(400, 400));
    this.getContentPane().add(label, BorderLayout.CENTER);
    label.setText("x = "+x+" y = "+y);
    * start
    public void start() {
    * stop
    public void stop() {
    * destroy
    public void destroy() {
    * getAppletInfo
    * @return java.lang.String
    public String getAppletInfo() {
    return "Applet Information";
    * getParameterInfo
    * @return java.lang.String[][]
    public String[][] getParameterInfo() {
    String[][] pinfo =
    {"x", "String", ""},
    {"y", "String", ""},
    return pinfo;
    * main
    * @param args
    public static void main(String[] args) {
    Capplet applet = new Capplet();
    applet.isStandalone = true;
    JFrame frame = new JFrame();
    frame.setTitle("Applet Frame");
    frame.getContentPane().add(applet, BorderLayout.CENTER);
    applet.init();
    applet.start();
    frame.setSize(400, 420);
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    frame.setLocation((d.width - frame.getSize().width) / 2, (d.height - frame.getSize().height) / 2);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } });
    static {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e) {
    e.printStackTrace();
    And code of the html file :
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <HTML>
    <TITLE>
    HTML Applet Test Page
    </TITLE>
    </HEAD>
    <BODY>
    <SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;
    var ie = (info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0
    && _info.indexOf("Windows 3.1") < 0)
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var _ns = (navigator.appName.indexOf("Netscape") >=0
    && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0
    && java.lang.System.getProperty("os.version").indexOf("3.5") < 0)
    || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    pack_applet.Capplet will appear below in a Java enabled browser.<BR>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" codebase="HTTP://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0"> <NOEMBED><XMP>');
    else if(_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.2" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" java_CODE = "pack_applet.Capplet" java_CODEBASE = "Capplet.class" "x" = "0" "y" = "1" pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"> <NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE = "pack_applet.Capplet" CODEBASE = "Capplet.class" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" >
    </XMP>
    <PARAM NAME = CODE VALUE = "pack_applet.Capplet" >
    <PARAM NAME = CODEBASE VALUE = "Capplet.class" >
    <PARAM NAME = NAME VALUE = "TestApplet" >
    <PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.2">
    <PARAM NAME = "x" VALUE = "0">
    <PARAM NAME = "y" VALUE = "1">
    </APPLET>
    </NOEMBED></EMBED></OBJECT>
    </BODY>
    </HTML>
    Thank you very much.

    you can load your pdf into your browser using
    navigateToURL(new URLRequest("yourpdf.pdf"));

  • Re-Applet deployement

    Thank you so much for so prompt reply to m ail "Applet
    Deployement" on 31/08/1999.
    In your reply to my question(Applet Deployement) on 31/08/99, you
    were asking for the location of db. My databse is on a different
    server than the web server(i.e the applet i developed on a
    different machine then i deployed in on a separate web server and
    my db server is separate, and from a client i am requesting for
    the html page of the applet). Pl. also clear the following
    a) whether I need a separate web server or i can deply it on the
    machine where i developed the applet using jdev 2.0.(does jdev
    2.0 has any in-built web server?).
    b) The applet developed using jdev 2.0 is signed or unsigned.
    null

    Hi
    You would need a webserver to deploy your html/applets.
    JDeveloper helps you to build and test the applets using
    appletviewer.
    You will have to use the standard java utilities to make your
    applet signed.
    As the applet can only talk to the webserver from where it is
    downloaded, you would need install and configure a connection
    manager which comes with oracle database on the webserver
    machine.
    Note: Check Net8/oracle manuals on configuring the connection
    manager or search for 'connection manager' in the discussion
    groups. I believe this was on the list before.
    regards
    raghu
    Prakash P (guest) wrote:
    : Thank you so much for so prompt reply to m ail "Applet
    : Deployement" on 31/08/1999.
    : In your reply to my question(Applet Deployement) on 31/08/99,
    you
    : were asking for the location of db. My databse is on a
    different
    : server than the web server(i.e the applet i developed on a
    : different machine then i deployed in on a separate web server
    and
    : my db server is separate, and from a client i am requesting for
    : the html page of the applet). Pl. also clear the following
    : a) whether I need a separate web server or i can deply it on
    the
    : machine where i developed the applet using jdev 2.0.(does jdev
    : 2.0 has any in-built web server?).
    : b) The applet developed using jdev 2.0 is signed or unsigned.
    null

  • AccessControlException in debugging Applet

    I tried to debug famous clock2 Applet in
    JDeveloper3/JDK 1.2.2.
    Whenever executing the statement
    "timer = new Thread(this);" exception
    AccessControlException:acces denied (java.runtimePermission modifyThreadGroup)
    will be raised in appletviewer.
    This happens also to other applets trying to
    run themselve as a thread.
    running the applet from Jdev works fine as
    does running directly in browser or appletviewer.
    Any ideas?

    Seems a little odd that a WEB applet can't interact
    with other WEBsites, oh well, thanks for your quick
    response :DNot really. It is a good security restriction.
    You can connect to any website you want from an application. But better to restrict an applet I think.

  • JboInitialContextFactory...

    Hello e'body!
    I deployed my applet with JDev 3.1 to OAS 4.0.8.1.
    It works fine any client's browser, but not on the web server machine's browser. I'd got
    the message: "cannot instantiate oracle.jbo.common.JboInitialContextFactory.",
    because doesn't found the class file. I don't
    understand, because the html file contains the JboInitialContextFactory's zip file!
    What happened???
    If anybody knows the answer....
    Thanx! enrico
    null

    Any one can help ?
    I am encountering the same problem!

  • ER: HTML Applet tag syntax warning - or HTML syntax checker for JDEV.

    Hi,
    I just spent ages (an hour or two) debugging an applet and it turned out that I had left a comma "," out of my 'archive=..' parameter of the 'applet' tag in the HTML :-(.
    E.g. I had <applet code="x" archive="a.jar b.jar, c.jar, d.jar"> and IE simply didn't load 'b.jar' so I got the usual 'class not found' exception. After signing every jar and putting every jar in every directory I finally noticed the commas between some of the jars.
    I can understand IE not helping me load an Applet since, from MS's point of view, that is evil Java code, but JDev must know the syntax of a HTML applet tag too so it could highlight the error for me.
    Alternatively does anyone know of a HTML checker plugin for JDEV?
    Regards,
    Simon.

    No comments?
    I've been looking around for a HTML syntax checker and there are plenty around - just google "html validation". None so far have picked up the missing comma in my busted applet tag. I guess with a missing comma it just looks like a file name with a space in it anyway.
    I still think JDeveloper could flag semantic errors like this at development time.
    Cheers,
    Simon.

  • APPLET - EJB bug fixed in 817? to JDEV

    Deploying BC4J as an EJB to Oracle8i, and accessing that deployed app module from an applet is not supported. This is due to restrictions in the JServer implementation.
    This was supposed to be fixed in rdbms 817 but i haven't tried it.
    This is what I'm having touble with. Can a JDEV Guru tell me if this has not been fix it 817?

    Frank:
    I am not trying to run anything in JHeadstart. I am only in the Model layer trying to create the re-usable Business Components that will eventually be imported into projects - some using Jheadstart, others not.
    The errors I am getting are explained in this post Getting "Unable to find referenced object" at random when opening JDev When I open JDeveloper and HAVE AN ASSOCIATION OPEN IN THE EDIT PANE, then I will get a "unable to reference object" error on some associations. This appears to be caused by our use of refactor in 10g in these entities which was then migrated over to 11g. 2 other people in that thread confirmed that they have had problems with refactor. There is a lot more detail in that thread.
    I am not sure what your Proof of Concept comment means. I am assuming POC means Proof of Concept. Correct me if I am wrong. Are you saying that Oracle is not aware that there has been a refactor problem and want me to check it out? I was hoping for some reassurance that Oracle was aware that there were problems with refactor in 10g, and they have been fixed in 11.1.2.
    Is Oracle not aware there have been problems with refactor and has anyone used refactor A LOT in 11.1.2 and know it to work correctly?
    Is starting from scratch the best idea?
    Are there any ideas about shortcuts to help me use the code that has had hours and hours of time invested in it and bring it over to 11.1.2?
    If you want me to check it out will I get Oracle consulting fees? :)
    Thanks.
    Mary
    UofW

  • Applet works in JDeveloper, but not when deployed to OC4J

    I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
    java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any one have any ideas how to chase this one down?
    Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
    C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
    C:\JDeveloper\BC4J\lib\bc4jct.jar;
    C:\JDeveloper\lib\xmlparserv2.jar;
    C:\JDeveloper\jlib\jdev-cm.jar;
    C:\JDeveloper\j2ee\home\lib\jndi.jar;
    C:\JDeveloper\jlib\regexp.jar;
    C:\JDeveloper\jlib\share.jar;
    C:\JDeveloper\jlib\uix2.jar;
    C:\JDeveloper\jdbc\lib\classes12.jar;
    C:\JDeveloper\jdbc\lib\nls_charset12.jar;
    C:\JDeveloper\j2ee\home\lib\ojsp.jar;
    C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
    C:\JDeveloper\j2ee\home\oc4j.jar;
    C:\JDeveloper\j2ee\home\lib\servlet.jar;
    C:\JDeveloper\jdev\lib\ojc.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
    C:\JDeveloper\jdev\lib\jdev-rt.jar;
    C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
    C:\JDeveloper\BC4J\lib\datatags.jar;
    C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
    C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
    Any assistance would be appreciated.
    s.l.

    i have the same problem
    i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem

  • Calling a WebService from Java Applet

    Hi all,
    In my application I have 3 projects:
    1. server - for all the business logic.
    2. view - for web app.
    3. swing - for applet.
    In the view project I wrote a WS, and I want to call it from my applet. So I created a WS using the Jdev (10.1.3.2) wizard in the view project (I tested it and it worked fine), and in the swing project I created a proxy for this WS, tested it and it worked fine. Then I created a JAR containing the swing project with the WS proxy classes, opened the Applet and find out that I have some classes missing, so I started adding all the relevant Jars and ended with a ~13MB JAR containing all the swing project jars that in the class path for a simple Applet.
    I know that I'm missing something but I dont know what. Do I really need all those Jars. Is there a simple way to call to a WS via Applet?
    This is the list of all the Jars:
    activation.jar
    commons-logging-api.jar
    commons-logging.jar
    ejb.jar
    http_client.jar
    jaxb-api.jar
    jaxb-impl.jar
    jaxen.jar
    jaxr-api.jar
    jaxrpc-api.jar
    jazncore.jar
    jdom.jar
    jms.jar
    jta.jar
    mail.jar
    mdds.jar
    oc4jclient.jar
    ojdl2.jar
    ojmisc.jar
    ojpse.jar
    oraclepki.jar
    orajaxr.jar
    orasaaj.jar
    orawsdl.jar
    orawsrm.jar
    osdt_cert.jar
    osdt_core.jar
    osdt_saml.jar
    osdt_wss.jar
    osdt_xmlsec.jar
    relaxngDatatype.jar
    saaj-api.jar
    saaj-impl.jar_old
    servlet.jar
    wsclient.jar
    wsdl.jar
    wssecurity.jar
    wsserver.jar
    xdb.jar
    xml.jar
    xmlparserv2.jar
    xsdlib.jar
    By the way at the end of all this annoying process I got the next exception:
    [failed to localize] typemapping.nested.exception.initialization(javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found)
         at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
         at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
         at com.tm.view.ws.misc.runtime.WSMisc_Service_SerializerRegistry.getRegistry(WSMisc_Service_SerializerRegistry.java:26)
         at com.tm.view.ws.misc.runtime.WSMisc_Service_Impl.<init>(WSMisc_Service_Impl.java:26)
         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 oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
         at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
         at com.tm.view.ws.misc.WSMiscSoap12HttpPortClient.<init>(WSMiscSoap12HttpPortClient.java:20)
         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 client.base.connectivity.ClientRequestAgent.runWS(ClientRequestAgent.java:135)
         at client.base.connectivity.ClientRequestAgent.run(ClientRequestAgent.java:44)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Shachar

    Try this:
    1. open the webService data controll in the Data Controls section and drag the method from the webService onto the method call activity in your task flow. This will overwrite the current method property (the one which pints to your bean, make a copy of this entry if you can't reproduce it by hand). This too will create an entry in the pageDef of the method call activity.
    2. reenter (or paste) the original value in the method property, so that it again points to your bean. The entry in the pageDef will remain!
    3. now in the bean method you can access the method via its binding like you access any other method from the binding:
    // GET A METHOD FROM PAGEDEF AND EXECUTE IT
    // get the binding container
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    // get an Action or MethodAction
    OperationBinding method = bindings.getOperationBinding("YourMethodActionNAME");
    if (method == null)
    // handle method not found error...
    // if there are parameters to set...
    Map paramsMap = method.getParamsMap();
    paramsMap.put("param","value")  ;    
    // execute the method
    method.execute();
    List errors = method.getErrors();
    if (!errors.isEmpty())
       // handle errors here errors is a list of exceptions!
    // no error resume normal workTimo

  • Get JSP file to run with an applet tag under JDeveloper

    I Created an applet and an html file under JDeveloper. with the applet tag in the html file.
    when I run the html file the applet runs perfectly.
    I Created a jsp file in the same project with the applet and the html file under JDeveloper. I copied and pasted the applet tag from the html file to the jsp file.
    When I try to run the jsp file under JDeveloper I get
    java.io.FileNotFoundExceptions for all of the jar files in the Applet tag ARCHIVE and for the applet tag CODE
    This is the applet tag that I copied and pasted from the html file to the jsp file
    BEGIN:
    <APPLET CODE="myapplet.Applet1" ARCHIVE="jdev-rt.jar,ojsp.jar,ojsputil.jar,oc4j.jar,servlet.jar,ojc.jar" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not appear to support Applets.</APPLET>
    END:
    Here three example of the exceptions that I got BEGIN:
    1.
    java.io.FileNotFoundException: http://139.169.225.224:8988/JspToAppletWS-JspAppletInstantiation-context-root/jdev-rt.jar
    2.
    java.io.FileNotFoundException: http://139.169.225.224:8988/JspToAppletWS-JspAppletInstantiation-context-root/jdev-rt.jar
    3.
    java.lang.ClassNotFoundException: myapplet.Applet1
    Here three example of the exceptions that I got END:
    This is the html file that works BEGIN:
    <HTML>
    <HEAD>
    <TITLE>
    Title
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    This is sample HTML text.
    </H2>
    <BR>
    <APPLET CODE="myapplet.Applet1" ARCHIVE="jdev-rt.jar,ojsp.jar,ojsputil.jar,oc4j.jar,servlet.jar,ojc.jar" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not appear to support Applets.</APPLET>
    </BODY>
    </HTML>
    This is the html file that works END:
    This is the JSP file that does not work BEGIN:
    <!--%@ page contentType="text/html;charset=windows-1252"%-->
    <%@ page import = "myapplet.Applet1, java.util.Enumeration, java.util.Vector, javax.swing.JFrame, java.lang.*" contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <h2>
    The current time is:
    </h2>
    <p>
    <%= new java.util.Date() %></p>
    <APPLET CODE="myapplet.Applet1" ARCHIVE="jdev-rt.jar,ojsp.jar,ojsputil.jar,oc4j.jar,servlet.jar,ojc.jar" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not appear to support Applets.</APPLET-->
    </body>
    </html>
    This is the JSP file that does not work END:
    I would like to know what I need to do so that I can run
    the Jsp file under JDeveloper with the applet tag without any exceptions.

    Hi,
    I meet the same problem and can not get a solution from this forum or other forum in internet, either.
    Have you already solved this problem? Can you tell me your solution? thanks in advance.
    Regards

  • Applet development with JDeveloper

    Hi,
    After many years of not being on the Java bandwagon, I am now faced with having to learn Java for some small projects that I will be working on later this year.
    I have been working through the newest Core Java book. I am currently at chapter x, Applets.
    My question is, How do I run applets from within JDeveloper?
    For example, given the following code:
    package myapplet;
    <applet code="MyApplet.class" width="300" height="300">
    </applet>
    import javax.swing.*;
    public classMyApplet extends JApplet
    public void init()
    JLabel label = new JLabel("Not a \"Hello, world\" applet", SwingConstants.CENTER);
    add(label);
    How can I run it from within JDev or how can I run it in a applet viewer or regular web browser? I tried to execute it in a Firefox browser, but it does not work.
    Thanks for any help you can give me.
    Ron Reidy

    Try this:
    In JDeveloper from the new->web tier->applet create a new applet (check the "can run stand alone").
    Add your 2 lines of code to the jbinit method.
    Then you can just run the applet directly.
    The other option is if you don't check the "run stand alone", you'll go into the new->web tier->applet and create an Applet HTML. The wizard will guide you to selecting your applet. then you run the HTML page.

  • Java Applet Window

    I'm not a developer,and this is probably the wrong place to post this. It's really a small, silly thing....but I play Literati on Yahoo, and all of a sudden, across the bottom of my screen blocking the chat screen is a bar that says Java Applet Window.....how do I get rid of this???

    See my posting on the JDev Forum :-)

  • OC4J 10.1.3.2 oc4jclient.jar makes permission problems in signed applets

    A signed applet on WINDOWS 2000 with JRE 1.5_10 or 1.5_12 plugin in a IE6 browser, which talks to Session beans on a SUN 5.9 OC4J 10.1.3.2 server has no permissions with this library :
    example:
    at XXX.initContext(BeanFactory.java:69)... // 69: context = new InitialContext(props);
    Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.j2ee.logging.severe read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)...
    With the older OC4J 10.1.3 oc4jclient.jar there is no problem !
    Therefore I use the older oc4jclient.jar in my applet.

    Seems to be a bug. That was the response from Oracle support (Metalink)
    Response:
    Your issue seems to be related to bug 5594702 - Abstract: EJB30 ENTITY BEAN WITH @ID AND @COLUMN ANNOTATION FAILS TO DEPLOY ON AIX.
    There is an issue with the IBM JDK/JRE 1.5's processing of annotations.
    Links:
    http://www.theserverside.com/discussions/thread.tss?thread_id=37764
    http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=367&thread=112543&cat=10
    When processing annotations it returns boolean values as false.
    Work-around:
    Fully specify the @Column annotation's boolean values. If insertable and updatable are set to false (which will happen due to this bug) then TopLink sets the PK
    mapping to read-only and the exception seen is expected.
    Note: nullable attribute of the @Colmun is not used in the EJB3/JPA preview of 10.1.3.0 If the customer MUST override the default column name then they should use:
    @Column(name="column-name", insertable=true, updatable=true)
    If they do not wish to override the default column name then simply do not use an @Column annotation.
    It can be deleted or commented out in the JDev generated code.
    There are two reported annotation processing issues with the AIX JVM. One was fixed in SR1 and the other is fixed
    in SR3 (due out Oc 11 - today). Upgrading to these more recent JVM releases may also address this issue.
    RECOMMENDED SOLUTIONS:
    1. Upgrade the IBM AIX JVM to SR3.
    OR
    2. Fix all generated @Column annotations as described above

Maybe you are looking for

  • HTML5/quicktime player plays and pauses several times a second

    We've been getting some weird entries in our statistics logging on our streaming media system, and I've managed to not-so-much recreate the problem as be around when it occurs. Playing about with the interface (scrubbing quickly, then playing/pausing

  • External screen problems with macbook pro

    Hi Guys, I have recently connected my macbook pro to an external screen via HDMI and am having a weird issue. When the MB is open, it perfectly displays on the external screen. But when I shut the MB, it displays the picture on the external screen fo

  • Can't delete an old email message on my iPhone, it also shows 2 new emails that aren't present

    My iPhone shows 2 new email messages in my inbox but there are none. It also has an email from January of 2012 that I can't delete. I think it may be somehow related to sync'ing with my Exchange account but don't know how to resolve. Anyone else have

  • RoboHelp 8.0.1 patch released

    Want to see what is in RoboHelp 8.0.1 before you install it? http://bit.ly/2T4uwm See www.grainge.org for RoboHelp and Authoring tips @petergrainge

  • Message options

    Please let me know how do I validate a parameter on a selection screen by using messaging options. for eg.. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001. SELECT-OPTIONS: s_mru FOR te422-termschl. SELECTION-SCREEN END OF BLOCK b1. PARA