Forms 10 - Using FormsGraph.jar JavaBeans

Hi,
I'm trying to use Javabeans from within a Form, in order to display the EMP Salaries in an histogram, but I can't find the Howto.
At the moment it's filed at this location:
D:\DevSuiteHome_1\forms\java\forms10gdemos9_0_4_2\demos\bigraph\classes
I wonder if I should move all the .jars directly under the \java subdirectory.
I thought maybe I could inspect that Jar with Jarexeplorer.jar, in order to have an idea of the classes and methods calls, but googlesearch yields no result for this howto either.
Many thanks for your help :-)
P.S.
I have found a presentation at this address:
http://www.oracle.com/technology/sample_code/products/forms/demo/9i/javabeans_pjc_samples/bi_bean/viewlet/FormsGraph_viewlet.html
Just 142 slides to go...
Message was edited by:
JeanParis

Hi again,
JarExplorer howto:
- Make a shortcut on the desktop
- right click the shortcut
- Open With.... Java(TM) Platform Se Binary
- File ... Open
--- Navigate to the .jar

Similar Messages

  • ClassCastException when using formsgraph.jar

    We are using Bean areas using oracle.forms.demos.bigraph.FormsGraph as the Implementation Class. But we get this excpetion always.
    java.lang.ClassCastException: java.lang.Boolean
         at oracle.forms.demos.bigraph.FormsGraph.setProperty(FormsGraph.java:1824)
         at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Any ideas?

    We are using Bean areas using oracle.forms.demos.bigraph.FormsGraph as the Implementation Class. But we get this excpetion always.
    java.lang.ClassCastException: java.lang.Boolean
         at oracle.forms.demos.bigraph.FormsGraph.setProperty(FormsGraph.java:1824)
         at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Any ideas?

  • How to use FormsGraph in my  forms

    Hello everybody,
    I want to use FormsGraph in my forms. Demo works fine but when I create a bean area in my form, bean area is empty and get some error messages in the java console (1.3.1.13):
    Loading http://localhost:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://localhost:8888/forms90/webutil/webutil.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://localhost:8888/forms90/java/icons.jar from JAR cache
    Loading http://localhost:8888/forms90/java/HandCursor.jar from JAR cache
    Loading http://localhost:8888/forms90/java/demo90.jar from JAR cache
    Loading http://localhost:8888/forms90/java/FormsGraph.jar from JAR cache
    Loading http://localhost:8888/forms90/webutil/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet-Version : 902122
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet-Version : 902122
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi,
    hard to tell because the error simply says that there is a class missing that is expected. If you are not using other beans in Forms, can you take out the Graph bean to see if your module runs without? If it does, then we know that the problem is related to the bean. If the Forms module still doesn't run then you would have to take out the next bean until eventually the error goes away. Starting from here you put think back in and see when th eproblem reoccurs. This helps you to narrow down the problem.
    Frank

  • Error using compiled FormsGraph.jar

    Hi,
    I need to modify the "SCROLLBAR" found in the FormsGraph.java therefore, i did the following:
    I was able to compile FormsGraph.java by using setTabularData() instead of the setLocalRelationalData() method. (Compilation was done on JRE1.3)
    After this modification, i directly exported my java project to a FormsGraph.jar and placed it under forms/java.
    After running the form got the following error in the Java console :
    java.lang.NoSuchMethodError: java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
    Knowing that the provided FormsGraph.java works perfectly, Can anyone advice what's the problem
    thanks
    Lanlani

    Hi,
    The mismatch is the problem. Please get the latest files from Struts 1.2.x and update your project.
    http://struts.apache.org/downloads.html
    Then it would work.
    cheers
    babu

  • Error compiling FormsGraph.jar

    Hi,
    I am trying to compile FormsGraph.java. I am getting the following error:
    "method setLocalRelationalData(java.util.ArrayList) not found in class oracle.dss.graph.Graph. "
    The reason for this is the probably version mismatch of bigraphbean.jar. I am trying to locate the bigraphbean.jar in the Forms10gDemo pack. I am unable to find the jar file in the Forms10GDemo pack. I downloaded
    the 9iDS version, but the directory C:\forms9idemos_ep1\bigraph\src\oracle\dss\graph is empty..
    Can some one let me know the location of bigraphbean.jar file (used in the FormsGraph.jar) so that I can download the file???
    Thanks,
    Purush

    You need to post this on the Forms forum.
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • What is the difference between FormsGraph.jar and formsgraph-522400.jar?

    hello,
    There are two jars FormsGraph.jar(dowloaded with the demo_11g) and formsgraph-522400 (separate link).
    I want to create grahps to my form but im confuse of this two jars.There are no document that i can found about this formsgraph-522400.jar. Is this an upgrade?
    thank you

    I'm sure I've provided an answer for this before -- try searching this forum and see if its there.
    In short: admin.jar is old and uses a bunch of internal APIs.
    admin_client.jar is a new implementation in 10.1.3.x and it uses JMX/JSR77/JSR88 APIs as its basis. It supports config/deployment operations against ALL the OC4J variants -- standalone, OracleAS single instance or OracleAS groups. We've tried to ensure that admin_client.jar has all the necessary coverage from admin.jar -- the syntax is very similar and all the relevant commands are carried forward.
    If you are making a choice, choose admin_client.jar.
    -steve-

  • Problem using a jar file : java.lang.ClassNotFoundException: ApiConn

    Hi everyone.
    i am running a form that use a bean_area to call a jar.
    but i am getting this error, thanks in advnce for any tip.
    Java Plug-in 1.6.0_33
    Using JRE version 1.6.0_33-b05 Java HotSpot(TM) Client VM
    User home directory = C:\Users\user1
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.ClassNotFoundException: ApiConn
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(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)
    Dumping class loader cache...
    Live entry: key=http://192.168.10.100:7778/forms/java/,frmall.jar,siberia_jpg.jar,ApiConn.jar,Hasher.jar,ReadCommand.jar,WriteCommand.jar,libAPI.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://192.168.10.100:7778/forms/java/-threadGroup,maxpri=4]
    Done.
    in my form i have created a bean_area and used as implementation class :ApiConn
    in my formsweb.cfg i used this configuration: archive=frmall.jar,siberia_jpg.jar,ApiConn.jar,Hasher.jar,ReadCommand.jar,WriteCommand.jar,libAPI.jar
    in my forms/java i have placed my jar files listed in the frmall.jar
    i guess i am missing something but i dont know what it is.
    here is my ApiConn.java from wich i generate my jar file:
    package libAPI;
    * This contains connection. Everything should be here,
    * should operate with this class only
    import java.io.*;
    import java.net.*;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    * @author janisk
    public class ApiConn extends Thread {
    private Socket sock = null;
    private DataOutputStream out = null;
    private DataInputStream in = null;
    private String ipAddress;
    private int ipPort;
    private boolean connected = false;
    private String message = "Not connected";
    private ReadCommand readCommand = null;
    private WriteCommand writeCommand = null;
    private Thread listener = null;
    LinkedBlockingQueue queue = new LinkedBlockingQueue(40);
    * Constructor of the connection class
    * @param ipAddress - IP address of the router you want to conenct to
    * @param ipPort - port used for connection, ROS default is 8728
    public ApiConn(String ipAddress, int ipPort) {
    this.ipAddress = ipAddress;
    this.ipPort = ipPort;
    this.setName("settings");
    * State of connection
    * @return - if connection is established to router it returns true.
    public boolean isConnected() {
    return connected;
    public void disconnect() throws IOException{
    listener.interrupt();
    sock.close();
    private void listen() {
    if (this.isConnected()) {
    if (readCommand == null) {
    readCommand = new ReadCommand(in, queue);
    listener = new Thread(readCommand);
    listener.setDaemon(true);
    listener.setName("listener");
    listener.start();
    * to get IP address of the connection. Reads data from socket created.
    * @return InetAddress
    public InetAddress getIpAddress() {
    return sock == null ? null : sock.getInetAddress();
    * returns ip address that socket is asociated with.
    * @return InetAddress
    public InetAddress getLocalIpAddress() {
    return sock == null ? null : sock.getLocalAddress();
    * Socket remote port number
    * @return
    public int getPort() {
    return sock == null ? null : sock.getPort();
    * return local prot used by socket
    * @return
    public int getLocalPort() {
    return sock == null ? null : sock.getLocalPort();
    * Returns status message set up bu class.
    * @return
    public String getMessage() {
    return message;
    * sets and exectues command (sends it to RouterOS host connected)
    * @param s - command will be sent to RouterOS for example "/ip/address/print\n=follow="
    * @return
    public String sendCommand(String s) {
    return writeCommand.setCommand(s).runCommand();
    * exeecutes already set command.
    * @return returns status of the command sent
    public String runCommand() {
    return writeCommand.runCommand();
    * Tries to fech data that is repllied to commands sent. It will wait till it can return something.
    * @return returns data sent by RouterOS
    * @throws java.lang.InterruptedException
    public String getData() throws InterruptedException {
    String s = (String) queue.take();
    return s;
    * returns command that is set at this moment. And will be exectued if runCommand is exectued.
    * @return
    public String getCommand() {
    return writeCommand.getCommand();
    * set up method that will log you in
    * @param name - username of the user on the router
    * @param password - password for the user
    * @return
    public String login(String name, char[] password) {
    this.sendCommand("/login");
    String s = "a";
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #1";
    if (!s.contains("!trap") && s.length() > 4) {
    String[] tmp = s.trim().split("\n");
    if (tmp.length > 1) {
    tmp = tmp[1].split("=ret=");
    s = "";
    String transition = tmp[tmp.length - 1];
    String chal = "";
    chal = Hasher.hexStrToStr("00") + new String(password) + Hasher.hexStrToStr(transition);
    chal = Hasher.hashMD5(chal);
    String m = "/login\n=name=" + name + "\n=response=00" + chal;
    s = this.sendCommand(m);
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #2";
    if (s.contains("!done")) {
    if (!s.contains("!trap")) {
    return "Login successful";
    return "Login failed";
    @Override
    public void run() {
    try {
    InetAddress ia = InetAddress.getByName(ipAddress);
    if (ia.isReachable(1000)) {
    sock = new Socket(ipAddress, ipPort);
    in = new DataInputStream(sock.getInputStream());
    out = new DataOutputStream(sock.getOutputStream());
    connected = true;
    readCommand = new ReadCommand(in, queue);
    writeCommand = new WriteCommand(out);
    this.listen();
    message = "Connected";
    } else {
    message = "Not reachable";
    } catch (UnknownHostException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    } catch (IOException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    }

    I need your help again, i think this is a minor thing.
    i have compiled the class file that i needed and i signed it too. but now it is giving me a new error and need your tip.
    here is the java console loyout and my java file ((i think here is the problem in java file, something must be missing)).
    thanks in advance for any help.
    Java Plug-in 10.17.2.02
    Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Administrator
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    network: Connecting http://192.168.10.100:7778/forms/lservlet;jsessionid=c0a80a6430d6e191eded93774f2f8d1bed73056e66ef.e3mObhiMbxeKe34PahiKbx4Nbh90n6jAmljGr5XDqQLvpAe with proxy=DIRECT
    security: Validate the certificate chain using CertPath API
    security: The certificate hasnt been expired, no need to check timestamping info
    security: Cannot find jurisdiction list file
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    basic: updateValidationResultsForApplet update
    cache: Mark prevalidated: http://192.168.10.100:7778/forms/java/ApiConn.jar true tm=1363335797289 cert=1371107987000
    basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
    java.lang.InstantiationException: oracle.forms.siberia.ApiConn
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$200(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
    network: Connecting http://192.168.10.100:7778/forms/lservlet;jsessionid=c0a80a6430d6e191eded93774f2f8d1bed73056e66ef.e3mObhiMbxeKe34PahiKbx4Nbh90n6jAmljGr5XDqQLvpAe with proxy=DIRECT
    Exception in thread "Forms-DialogThread2" java.lang.NullPointerException
         at oracle.forms.handler.JavaContainer.onDestroy(Unknown Source)
         at oracle.forms.engine.Runform.destroyHandlers(Unknown Source)
         at oracle.forms.handler.DialogThread.doAlert(Unknown Source)
         at oracle.forms.handler.DialogThread.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Dumping class loader cache...
    Live entry: key=http://192.168.10.100:7778/forms/java/,frmall.jar,siberia_jpg.jar,ApiConn.jar,ConcealTextField.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://192.168.10.100:7778/forms/java/-threadGroup,maxpri=4]
    Done.
    here is my java file
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package oracle.forms.siberia;
    * This contains connection. Everything should be here,
    * should operate with this class only
    import java.io.*;
    import java.net.*;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import oracle.forms.*;
    * @author janisk
    public class ApiConn extends Thread {
    private Socket sock = null;
    private DataOutputStream out = null;
    private DataInputStream in = null;
    private String ipAddress;
    private int ipPort;
    private boolean connected = false;
    private String message = "Not connected";
    private ReadCommand readCommand = null;
    private WriteCommand writeCommand = null;
    private Thread listener = null;
    LinkedBlockingQueue queue = new LinkedBlockingQueue(40);
    * Constructor of the connection class
    * @param ipAddress - IP address of the router you want to conenct to
    * @param ipPort - port used for connection, ROS default is 8728
    public ApiConn(String ipAddress, int ipPort) {
    this.ipAddress = ipAddress;
    this.ipPort = ipPort;
    this.setName("settings");
    * State of connection
    * @return - if connection is established to router it returns true.
    public boolean isConnected() {
    return connected;
    public void disconnect() throws IOException{
    listener.interrupt();
    sock.close();
    private void listen() {
    if (this.isConnected()) {
    if (readCommand == null) {
    readCommand = new ReadCommand(in, queue);
    listener = new Thread(readCommand);
    listener.setDaemon(true);
    listener.setName("listener");
    listener.start();
    * to get IP address of the connection. Reads data from socket created.
    * @return InetAddress
    public InetAddress getIpAddress() {
    return sock == null ? null : sock.getInetAddress();
    * returns ip address that socket is asociated with.
    * @return InetAddress
    public InetAddress getLocalIpAddress() {
    return sock == null ? null : sock.getLocalAddress();
    * Socket remote port number
    * @return
    public int getPort() {
    return sock == null ? null : sock.getPort();
    * return local prot used by socket
    * @return
    public int getLocalPort() {
    return sock == null ? null : sock.getLocalPort();
    * Returns status message set up bu class.
    * @return
    public String getMessage() {
    return message;
    * sets and exectues command (sends it to RouterOS host connected)
    * @param s - command will be sent to RouterOS for example "/ip/address/print\n=follow="
    * @return
    public String sendCommand(String s) {
    return writeCommand.setCommand(s).runCommand();
    * exeecutes already set command.
    * @return returns status of the command sent
    public String runCommand() {
    return writeCommand.runCommand();
    * Tries to fech data that is repllied to commands sent. It will wait till it can return something.
    * @return returns data sent by RouterOS
    * @throws java.lang.InterruptedException
    public String getData() throws InterruptedException {
    String s = (String) queue.take();
    return s;
    * returns command that is set at this moment. And will be exectued if runCommand is exectued.
    * @return
    public String getCommand() {
    return writeCommand.getCommand();
    * set up method that will log you in
    * @param name - username of the user on the router
    * @param password - password for the user
    * @return
    public String login(String name, char[] password) {
    this.sendCommand("/login");
    String s = "a";
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #1";
    if (!s.contains("!trap") && s.length() > 4) {
    String[] tmp = s.trim().split("\n");
    if (tmp.length > 1) {
    tmp = tmp[1].split("=ret=");
    s = "";
    String transition = tmp[tmp.length - 1];
    String chal = "";
    chal = Hasher.hexStrToStr("00") + new String(password) + Hasher.hexStrToStr(transition);
    chal = Hasher.hashMD5(chal);
    String m = "/login\n=name=" + name + "\n=response=00" + chal;
    s = this.sendCommand(m);
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #2";
    if (s.contains("!done")) {
    if (!s.contains("!trap")) {
    return "Login successful";
    return "Login failed";
    @Override
    public void run() {
    try {
    InetAddress ia = InetAddress.getByName(ipAddress);
    if (ia.isReachable(1000)) {
    sock = new Socket(ipAddress, ipPort);
    in = new DataInputStream(sock.getInputStream());
    out = new DataOutputStream(sock.getOutputStream());
    connected = true;
    readCommand = new ReadCommand(in, queue);
    writeCommand = new WriteCommand(out);
    this.listen();
    message = "Connected";
    } else {
    message = "Not reachable";
    } catch (UnknownHostException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    } catch (IOException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    }

  • Form 11g and Jar file issue

    I have migrated all the forms from 10g to 11g. When i run the form 11g using my config i get the below error
    USING Java Plug-in 1.6.0_23 i get the below error
    java.lang.SecurityException: class "oracle.forms.demos.enhancedItems.InfoButton"'s signer information does not match signer information of other classes in the same package
         at java.lang.ClassLoader.checkCerts(Unknown Source)
         at java.lang.ClassLoader.preDefineClass(Unknown Source)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$000(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(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)
    I tried using the Java Plug-in 1.6.0_12
    Loaded image: jar:http://130.1.3.171:9001/forms/java/frmall.jar!/oracle/forms/icons/bgnd.gif
    Forms Session ID is formsapp.9
    The proxy host is null, and the proxy port is 0.
    Native HTTP implementation is being used for the connection.
    The connection mode is HTTP.
    Forms Applet version is 11.1.1.4
    Loaded image: jar:http://130.1.3.171:9001/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
    Exception "java.lang.IllegalArgumentException: failed to parse:"while constructing DataFlavor for:
    Exception "java.lang.IllegalArgumentException: failed to parse:"while constructing DataFlavor for:
    java.lang.ClassNotFoundException: oracle.forms.demos.enhancedItems.InfoButton
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(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)
    Caused by: java.io.IOException: open HTTP connection failed:http://130.1.3.171:9001/forms/java/oracle/forms/demos/enhancedItems/InfoButton.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 35 more
    My config section is
    [form11g]
    jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
    jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
    archive=frmall.jar,modcursor.jar,Images.jar,keyfilter.jar,ticker.jar,rolloverbutton.jar,activation.jar,javamailintegration.jar,mail.jar,uploadserver.jar,uploadclient.jar,infobutton.jar,hyperlink.jar,colorpicker.jar
    form=login.fmx
    pageTitle=Oracle Application
    splashScreen=No
    Previously i used to use jinitiator for 10g. Is there any configuration need to be done or should i sign the jar files.

    You might want to use google:
    http://www.google.com/#q=signer+information+does+not+match+signer+information+of+other+classes+in+the+same+package
    cheers

  • FRM-92102 in Forms using Webutil with JInitiator

    Hi Gurus,
    I'm facing the error FRM-92102 in Forms in some clients, that's driving my crazy. The facts are:
    * Oracle Application Server 10g R2 10.1.2 with Patchset 10.1.2.2.0 applied (left to apply patchset as doc 404477.1 in Metalink) on Windows 2003 Server Std. Ed. 64 bits.
    * JInitiator 1.3.1.26 on all clients (Windows XP and Windows 2000)
    * WebUtil 10.1.2.2
    * heartBeat = 35, set in App's section of formsweb.cfg
    * networkRetries = 60 in App's section of formsweb.cfg
    * Modified versions of baseHTMLjinitiator(to be used with JInitiator) and baseHTMLjpi to take into account the heartBeat and networkRetries parameters.
    * FORMS_TIMEOUT set to 30 in application.env
    I've seen that this error happens with Windows XP clients only (with SP2 and/or SP3 applied), while in Windows 2000 with SP4 I get no error at all and the Form works and ens without any problem.
    I've seen that increasing networkRetries parameter increase the likelihood of Forms to end normally, but that doesn't seem a good solution: at which value must I bring it to ?
    The captured Java console of one of this errors is as follows:
    &lt;hr /&gt;
    JInitiator: Versi&oacute;n 1.3.1.26
    Usar versi&oacute;n JRE 1.3.1.26-internal Java HotSpot(TM) Client VM
    Directorio local del usuario = C:\Documents and Settings\myuser
    El usuario ha alterado los valores de delegado del explorador.
    Configuraci&oacute;n del delegado: sin delegado
    JAR cache enabled
    Location: C:\Documents and Settings\myuser\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to
    Loading [http://mydomain.es/forms/java/frmall_jinit.jar] from JAR cache
    Loading [http://mydomain.es/forms/java/frmwebutil.jar] from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.2
    Loading [http://mydomain.es/forms/java/jacob.jar] from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La versi&oacute;n del applet Forms es: 10.1.2.2
    Volviendo a conectar (intento 1 de 30)...
    Volviendo a conectar (intento 2 de 30)...
    Volviendo a conectar (intento 3 de 30)...
    Volviendo a conectar (intento 4 de 30)...
    Volviendo a conectar (intento 5 de 30)...
    Volviendo a conectar (intento 6 de 30)...
    Volviendo a conectar (intento 7 de 30)...
    Volviendo a conectar (intento 8 de 30)...
    Volviendo a conectar (intento 9 de 30)...
    Volviendo a conectar (intento 10 de 30)...
    Volviendo a conectar (intento 11 de 30)...
    Volviendo a conectar (intento 12 de 30)...
    Volviendo a conectar (intento 13 de 30)...
    Volviendo a conectar (intento 1 de 30)...
    Volviendo a conectar (intento 2 de 30)...
    Volviendo a conectar (intento 3 de 30)...
    Volviendo a conectar (intento 4 de 30)...
    Volviendo a conectar (intento 5 de 30)...
    Volviendo a conectar (intento 6 de 30)...
    Volviendo a conectar (intento 7 de 30)...
    Volviendo a conectar (intento 8 de 30)...
    Volviendo a conectar (intento 1 de 30)...
    Volviendo a conectar (intento 2 de 30)...
    Volviendo a conectar (intento 3 de 30)...
    Volviendo a conectar (intento 4 de 30)...
    Volviendo a conectar (intento 1 de 30)...
    Volviendo a conectar (intento 2 de 30)...
    Volviendo a conectar (intento 3 de 30)...
    Volviendo a conectar (intento 4 de 30)...
    Volviendo a conectar (intento 5 de 30)...
    Volviendo a conectar (intento 6 de 30)...
    Volviendo a conectar (intento 7 de 30)...
    Volviendo a conectar (intento 8 de 30)...
    Volviendo a conectar (intento 9 de 30)...
    Volviendo a conectar (intento 10 de 30)...
    Volviendo a conectar (intento 11 de 30)...
    Volviendo a conectar (intento 12 de 30)...
    Volviendo a conectar (intento 13 de 30)...
    Volviendo a conectar (intento 14 de 30)...
    Volviendo a conectar (intento 15 de 30)...
    Volviendo a conectar (intento 16 de 30)...
    Volviendo a conectar (intento 17 de 30)...
    Volviendo a conectar (intento 18 de 30)...
    Volviendo a conectar (intento 19 de 30)...
    Volviendo a conectar (intento 20 de 30)...
    Volviendo a conectar (intento 21 de 30)...
    Volviendo a conectar (intento 22 de 30)...
    Volviendo a conectar (intento 23 de 30)...
    Volviendo a conectar (intento 24 de 30)...
    Volviendo a conectar (intento 25 de 30)...
    Volviendo a conectar (intento 26 de 30)...
    Volviendo a conectar (intento 27 de 30)...
    Volviendo a conectar (intento 28 de 30)...
    Volviendo a conectar (intento 29 de 30)...
    Volviendo a conectar (intento 30 de 30)...
    java.net.BindException: Address in use: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.(Unknown Source)
    at java.net.Socket.(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.plugin.protocol.jdk12.http.HttpClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.(Unknown Source)
    at sun.net.www.http.HttpClient.(Unknown Source)
    at sun.plugin.protocol.jdk12.http.HttpClient.(Unknown Source)
    at sun.plugin.protocol.jdk12.http.HttpClient.New(Unknown Source)
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.createConnection(Unknown Source)
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at oracle.forms.net.HTTPNStream.connect(Unknown Source)
    at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
    at oracle.forms.net.HTTPNStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    java.io.EOFException
    at java.io.DataInputStream.readUnsignedByte(Unknown Source)
    at oracle.forms.engine.Message.readDetails(Unknown Source)
    at oracle.forms.engine.Message.readDetails(Unknown Source)
    at oracle.forms.net.StreamMessageReader.run(Unknown Source)
    &lt;hr /&gt;
    I'm completely at a loss here. Any advice would be greatly appreciated.
    Thanks in advance.

    Hi Michael,
    I've done what the Microsoft note states and the error takes longer to appear, but it does.
    I've done some netstat -an captures before using the Forms App (before the error) and after. Here are:
    Before:
    Conexiones activas
    Proto Direcci¢n local Direcci¢n remota Estado
    TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1991 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2030 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:6129 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:16992 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:16993 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:19226 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1040 127.0.0.1:1041 ESTABLISHED
    TCP 127.0.0.1:1041 127.0.0.1:1040 ESTABLISHED
    TCP 127.0.0.1:1042 127.0.0.1:1043 ESTABLISHED
    TCP 127.0.0.1:1043 127.0.0.1:1042 ESTABLISHED
    TCP 127.0.0.1:1044 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1058 127.0.0.1:1059 ESTABLISHED
    TCP 127.0.0.1:1059 127.0.0.1:1058 ESTABLISHED
    TCP 127.0.0.1:1060 127.0.0.1:1063 ESTABLISHED
    TCP 127.0.0.1:1063 127.0.0.1:1060 ESTABLISHED
    TCP 127.0.0.1:1064 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1066 127.0.0.1:1067 ESTABLISHED
    TCP 127.0.0.1:1067 127.0.0.1:1066 ESTABLISHED
    TCP 127.0.0.1:1068 127.0.0.1:1069 ESTABLISHED
    TCP 127.0.0.1:1069 127.0.0.1:1068 ESTABLISHED
    TCP 127.0.0.1:3274 127.0.0.1:6139 ESTABLISHED
    TCP 127.0.0.1:3275 127.0.0.1:3276 ESTABLISHED
    TCP 127.0.0.1:3276 127.0.0.1:3275 ESTABLISHED
    TCP 127.0.0.1:3277 127.0.0.1:3278 ESTABLISHED
    TCP 127.0.0.1:3278 127.0.0.1:3277 ESTABLISHED
    TCP 127.0.0.1:6083 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:6139 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:6139 127.0.0.1:3274 ESTABLISHED
    TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:31595 0.0.0.0:0 LISTENING
    TCP 192.168.147.139:139 0.0.0.0:0 LISTENING
    TCP 192.168.147.139:3236 192.168.146.2:445 ESTABLISHED
    TCP 192.168.147.139:3283 172.17.4.33:1026 ESTABLISHED
    TCP 192.168.147.139:3318 172.17.7.223:1435 ESTABLISHED
    TCP 192.168.147.139:3322 192.168.146.4:4136 ESTABLISHED
    TCP 192.168.147.139:3323 192.168.146.4:389 ESTABLISHED
    TCP 192.168.147.139:3473 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3481 172.17.7.223:1435 TIME_WAIT
    TCP 192.168.147.139:3482 192.168.146.6:80 CLOSE_WAIT
    TCP 192.168.147.139:3483 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3484 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3485 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3486 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3487 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3488 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3489 192.168.146.6:80 CLOSE_WAIT
    TCP 192.168.147.139:3490 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3491 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3492 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3493 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3494 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3495 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3496 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3497 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3498 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:3499 192.168.146.6:80 CLOSE_WAIT
    TCP 192.168.147.139:6129 192.168.146.90:3102 ESTABLISHED
    UDP 0.0.0.0:259 *:*
    UDP 0.0.0.0:445 *:*
    UDP 0.0.0.0:500 *:*
    UDP 0.0.0.0:1065 *:*
    UDP 0.0.0.0:3285 *:*
    UDP 0.0.0.0:4500 *:*
    UDP 0.0.0.0:18234 *:*
    UDP 0.0.0.0:19226 *:*
    UDP 127.0.0.1:123 *:*
    UDP 127.0.0.1:1025 *:*
    UDP 127.0.0.1:1054 *:*
    UDP 127.0.0.1:1900 *:*
    UDP 127.0.0.1:3289 *:*
    UDP 127.0.0.1:18001 *:*
    UDP 127.0.0.1:18002 *:*
    UDP 192.168.147.139:123 *:*
    UDP 192.168.147.139:137 *:*
    UDP 192.168.147.139:138 *:*
    UDP 192.168.147.139:1900 *:*
    AFTER:
    Conexiones activas
    Proto Direcci¢n local Direcci¢n remota Estado
    TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1991 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2030 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:6129 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:16992 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:16993 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:19226 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1040 127.0.0.1:1041 ESTABLISHED
    TCP 127.0.0.1:1041 127.0.0.1:1040 ESTABLISHED
    TCP 127.0.0.1:1042 127.0.0.1:1043 ESTABLISHED
    TCP 127.0.0.1:1043 127.0.0.1:1042 ESTABLISHED
    TCP 127.0.0.1:1044 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1058 127.0.0.1:1059 ESTABLISHED
    TCP 127.0.0.1:1059 127.0.0.1:1058 ESTABLISHED
    TCP 127.0.0.1:1060 127.0.0.1:1063 ESTABLISHED
    TCP 127.0.0.1:1063 127.0.0.1:1060 ESTABLISHED
    TCP 127.0.0.1:1064 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1066 127.0.0.1:1067 ESTABLISHED
    TCP 127.0.0.1:1067 127.0.0.1:1066 ESTABLISHED
    TCP 127.0.0.1:1068 127.0.0.1:1069 ESTABLISHED
    TCP 127.0.0.1:1069 127.0.0.1:1068 ESTABLISHED
    TCP 127.0.0.1:3274 127.0.0.1:6139 ESTABLISHED
    TCP 127.0.0.1:3275 127.0.0.1:3276 ESTABLISHED
    TCP 127.0.0.1:3276 127.0.0.1:3275 ESTABLISHED
    TCP 127.0.0.1:3277 127.0.0.1:3278 ESTABLISHED
    TCP 127.0.0.1:3278 127.0.0.1:3277 ESTABLISHED
    TCP 127.0.0.1:6083 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:6139 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:6139 127.0.0.1:3274 ESTABLISHED
    TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:31595 0.0.0.0:0 LISTENING
    TCP 192.168.147.139:139 0.0.0.0:0 LISTENING
    TCP 192.168.147.139:1025 192.168.146.6:80 TIME_WAIT
    ... (2000 to 3000 lines follows)
    TCP 192.168.147.139:4980 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:4999 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:5000 192.168.146.6:80 TIME_WAIT
    TCP 192.168.147.139:6129 192.168.146.90:3102 ESTABLISHED
    UDP 0.0.0.0:259 *:*
    UDP 0.0.0.0:445 *:*
    UDP 0.0.0.0:500 *:*
    UDP 0.0.0.0:1065 *:*
    UDP 0.0.0.0:3285 *:*
    UDP 0.0.0.0:4500 *:*
    UDP 0.0.0.0:18234 *:*
    UDP 0.0.0.0:19226 *:*
    UDP 127.0.0.1:123 *:*
    UDP 127.0.0.1:1025 *:*
    UDP 127.0.0.1:1054 *:*
    UDP 127.0.0.1:1900 *:*
    UDP 127.0.0.1:3289 *:*
    UDP 127.0.0.1:18001 *:*
    UDP 127.0.0.1:18002 *:*
    UDP 192.168.147.139:123 *:*
    UDP 192.168.147.139:137 *:*
    UDP 192.168.147.139:138 *:*
    UDP 192.168.147.139:1900 *:*
    FYI, the IP 192.168.146.6 is the Application Server.
    Thanks in advance.

  • Forms demos problem / bigraph form unable to find javabean

    hi there,
    i've installed the developer suite 10g and the forms-demos with patches.
    i can call 127.0.0.1:8889/forms/formsdemos/demo.html, everything loads fine... beans, images (regering to the bigraph demo).
    but when i open the graph.fmb with forms developer, navigate to the PJC_canvas (second tab) ill get an error (frm 13008 bean not found oracle.forms.demos.bigraph.FormsGraph).
    nevertheless i can compile the form and run it (adding ?config=bigraph solves image related problems).
    to get rid of that error i tried to add the FormsGraph.jar to $ORACLE_HOME/forms/server/formsdemo.env (CLASSPATH) - didnt work.
    where are the parameters for forms-developer defining where to look for java-code?
    thanks in advance, cam.

    hi,
    sorry francois, that didnt solve the problem. while i'm now able to navigate the oracle.forms.demos.bigraph javapath in the <program>|<import java classes> dialog i still get the same error. (frm 13008 bean not found oracle.forms.demos.bigraph.FormsGraph)
    i've then tried to import the FormsGraph bean in said java tree - again an error (java.lang.NoClassDefFoundError: oracle/forms/ui/VBean).
    to my surprise another bean is visible in that tree: FormsGraph$1 - importing is successfull but useless regarding to the first error.

  • 11g FormsGraph.jar

    Hi,
    Does anyone know if there is a version of the 11g ForsGraph.jar (from the demos) with the BI graph demo patch in?
    We want to use the SET_SERIES_COLOR property that was added to the BI Graph demo patch but that hasn't been included in the 11g demos
    I've tried using the jar file from the patch and it "seems" to work ok except that the SET_SERIES_COLOR property doesn't seem to do anything (I followed the advice from the thread Forms 10G - Chart PJC Colors
    Although one person in that thread mentioned they had to recompile the source and re-assemble the jar file which I haven't actually tried
    Cheers
    Paul

    Thanks Francois,
    I tried adding a synchronize but the colors are still just the default.
    In debug mode it looks like the command is being accepted, and I've also tried using ADD_INDEX_LINE which was another new command and that works fine so it's definitely picking up the right JAR file.
    I've added the SET_SERIES_COLOR command all over my code now, at the beginning, after each ADD_ROWDATA and before and after the ADD_DATA_TO_GRAPH but it doesn't seem to have any effect.
    The end of the debug file shows:
    Property SET_SERIES_COLOR: setting red as a new series color
    SET_LINEGRAPH_MARKER: received true as an argument
    GRAPH_TYPE: trying to set graph type
    getInternalGraphType(): type returned for VERTICAL_STACKED_BAR = 18
    Setting Y_TITLE to 'CALLS'
    ENABLE_TOOLTIPS: setting all tooltips
    ENABLE_TOOLTIPS: No valid attribute passed. Use ALL, LABELS,VALUES or NONE
    POSITION_LEGEN: position legend to RIGHT
    ADD_INDEX_LINE - Arguments received: Green line,true,y-axis,0,10,green,2
    ADD_INDEX_LINE - Tokens: 7
    ADD_INDEX_LINE: Show index line
    Property SET_SERIES_COLOR: setting red as a new series color
    ADD_DATA_TO_GRAPH - setting data for display
    Property SET_SERIES_COLOR: setting red as a new series color
    But the graph isn't showing any red at all!

  • Forms - Icons without jar file

    Hi!
    I´m trying con configure my standalone weblogic (10.3.6), running in development mode,
    to find my forms 11 applications icons without use a jar file.
    So, at formsweb.cfg i changed imageBase to documentBase and at Registry.dat i set
    default.icons.iconpath=/img/ 
    default.icons.iconextension=gif 
    Now I´m trying to map /img/ to may local directory (/img/ -> C:\repo\img)
    I tried to change httpd.conf and didn´t work. When I access http://localhost:7001/img/myimage.gif, it returns 404.
    Alias /img/ "C:\repo\img\" 
    <Directory "C:\repo\img"> 
        AllowOverride None 
        Order allow,deny 
        Allow from all 
    </Directory> 
    Then, i tried to change forms.conf
    AliasMatch /img/(..*) "C:\repo\img\$1" 
    But No change at all.
    Does anyone know how to create a alias in weblogic in development mode?

    If you chose the "Development" install type you will not have OHS although you might have its config file (httpd.conf).  Further, creating an Alias in WLS is a little more painful than doing it in OHS.  My recommendation is that you keep it simple for testing.  You can use an existing Alias and extend it.  For example consider the Forms \java directory (e.g.
    C:\Oracle\Middleware\Oracle_FRHome1\forms\java)
    Simply add a sub-directory to it and store your images there.  In the form, simply reference the complete image name without a path.  For example:  myimage.jpg.  Then in the Registry.dat include the virtual path to the images.  So, here are the steps.
    1.  Create a sub-directory C:\Oracle\Middleware\Oracle_FRHome1\forms\java\images
    2.  Copy your images to this directory
    3.  In the form, refer to the images by name only.  If your images use a different extension from what is stored in Registry.dat, include the extension in the form.  If the extension is the same then ommit it.
    4.  In Registry.dat, set default.icons.iconpath=/forms/java/images/  (be sure to include the trailing slash)
    5.  On the client machine, close all open browsers and open the Java Control Panel.  Clear the jar cache ("Temporary Internet Files")
    Your done.  Because the form does not have a hard coded path to the images, you can easily move the forms to production without worrying about the need to change the code to handle the image location.
    Oh, one last thing.... If you are using a newer JRE version you will get a securty warning suggesting that there may be unsafe code being executed.  It will then ask if you want to Block or Don't Block.  This dialog is the result of retrieving your image from a source other than the applet jar.  You will need to select Don't Block in order for it to work correctly.  This is another reason why we (Oracle) recommend using signed jar files.
    Message was edited by: Michael Ferrante (Oracle)

  • Using HTML, JSP, JavaBeans and Access database

    I'm trying to create a login page that will allow users to query, insert, modify, and delete information. I have an HTML page that the user chooses which option they want to do. I have 4 JSP's set up for each option. My biggest issue is getting them to talk to the database using a single JavaBean. I can create several beans to pull the information, post, delete, or modify. I'm having trouble pulling information through the JSP's from the HTML page. Please help...

    Hey,
    You get html to communicate with your server using forms. Use the request to retrieve the submitted form data. All you would need to do is tell your bean what it is doing, how and with what.
    Good luck

  • Forms 9.2  jar file with 9.04 forms

    hi .
    can we use forms 9 i jar file in forms 10g(9.04 )

    Hello,
    Could you, please, be more precise in your question.
    Francois

  • Formsgraph.jar and 'SET_BARGRAPH_MARKERS'

    Hi All,
    Re: FormsGraph - display value label for bar chart
    I was looking at this thread where it talks about a version of formsgraph.jar that supports the 'SET_BARGRAPH_MARKERS' facility (puts the number value on top of the bar)
    eg
    SET_CUSTOM_PROPERTY('GRAPH.BIGRAPH',1,'SET_BARGRAPH_MARKERS','true');
    I need a version that supports this that will work with Java version 1.3 for JInitiator.
    It seems that the base version on the Oracle Forms demo 10gR2 and also the 2005 patch upgrade to this do not have this facility.
    Thanks for any help.
    cheers
    Tony

    ???

Maybe you are looking for