Webutil demo not working ?

Hello experts,
recently i install and configure according to steps:
1. Run create_webutil_db.sql
a. CREATE USER webutil IDENTIFIED BY webutil
b. Grant connect, resource to webutil
c. Connect webutil/webutil
d. @[ORACLE_HOME]/forms/create_webutil_db.sql
e. Create public synonym webutil_db for webutil.webutil_db;
f. Connect sys as sysdba
g. Grant execute on webutil_db to public;
2. Copy and download Jacob from
http://sourceforge.net/projects/jacob-project/files/jacob-project/1.14.3/jacob-1.14.3.zip/download
a. Unzip the jacob download and place jacob.jar in the
ORACLE_HOME/forms/java directory
b. backup sign_webuitl.bat script in [ORACLE_INSTANCE]/bin/sign_webutil.sh
c. search for <Your KEYSTORE password> and replace it with welcome1 (or
something like this)
d. search for <Your private key password> and replace it with welcome1 (or
something like this)
e. Save the script and use it to sign jacob.jar as below
f. [ORACLE_INSTANCE]/bin/sign_webutil.sh
[ORACLE_HOME]/forms/java/jacob.jar
3. Place jacob.dll in the ORACLE_HOME/forms/webutil/ directory
4. Jacob.dll in r2 – file names must be verified against webutil.cfg file
a. Place jacob-1.14.3-x86.dll in the ORACLE_HOME/forms/webutil/win32
directory.
b. Place jacob-1.14.3-x64.dll in the ORACLE_HOME/forms/webutil/win64
directory
5. Using weblogic EM console, Add ORACLE_HOME/forms/java/frmall.jar to the
CLASSPATH in the default.env
6. Update formsweb.cfg webutil section with the following if not already
done:
a. Add frmwebutil.jar and jacob.jar to the WebutilArchive parameter in the
[webutil] configuration section. For some versions of 11g, this is already
added.
b. Specify webutil_demo as the form to be run in the [webutil]
configuration section
7. Download webutil demo from link below, extract and put the contents in
a folder
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/196249.zip
8. Copy ffisamp.dll to the <ORACLE_HOME>\forms\webutil directory.
9. Open your webutil.cfg file and add the following line
install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
10. If not already done do the following in webutil.cfg
a. transfer.appsrv.workAreaRoot=c:\temp
b. transfer.appsrv.accessControl=TRUE
c. transfer.database.enabled=TRUE
d. transfer.appsrv.enabled=TRUE
11. Add the folder in FORMS_PATH in enterprise manager
12. Replace db and run the following command:
a. frmcmp.sh module=webutil_demo.fmb module_type=form
userid=webutil/webutil@<db> compile_all=yes
b. FORMS_PATH variable and make sure webutil.pll folder is available in the
path or run the above command from command shell in the folder where webutil.pll
is available
13. Restart opmnctl and wls_forms weblogic instance
14. Run the webutil
running the url:
http://server:port/forms/frmservlet?form=webutil_demo&config=webutil
logon window appear, after login following mess comes:
frm-40735: when-custom-item-event trigger raised
unhendled exception ora: 06502
thanks
yash
Edited by: yash_08031983 on Mar 8, 2013 12:12 AM

There are a few things you did not mention or were unclear about.
1. Exactly which Forms version are you using? In order to do what you described, you should be using 11.1.2.x. Forms 11.1.1 or older will not work using the instructions you referred to.
2. I assume you just copied and pasted the instructions in your post because you included steps like this: "+ 3. Place jacob.dll in the ORACLE_HOME/forms/webutil/ directory+ ". If you downloaded the correct Jacob, you won't have a jacob.dll file.
3. You said, " +b. FORMS_PATH variable and make sure webutil.pll folder is available + ". At runtime, FORMS_PATH will need access to webutil.plx and webutil_demo.fmx. The pll and fmb are for design time only. In the past, we permitted the use of ungenerated libraries (pll) at runtime, but this is no longer the case. You should always use the "X" file.
4. You did not mention any of the client information. OS, browser and version, JRE and version, etc. If the client OS is 64bit and you are running Forms 11.1.2, you have the option of using either the 32bit or 64bit Internet Explorer versions. However, you must have a matching JRE. In other words, if you are using 32bit IE, you must also use the 32bit JRE. For 64bit IE you must use the 64bit JRE.
5. If you are attempting to use Java 7 on the client, you must be running Forms 11.1.2.1.
6. Someone asked if you compiled webutil.plx. Did you do this before or after you generated the form (webutil_demo.fmx)? If you generated the form before the library, I would recommend regenerating the form. Again, be sure to include the compile_all=yes option.

Similar Messages

  • Webutil demo not working for me-

    this error is being thrown in java console
    Loading http://x8pv5t71.cis.ad.state.mi.us:8889/forms/java/frmall_jinit.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    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)
    any suggestions pls. i have configured the formweb.cfg and webconfig as per the instruction

    d error shows that jar file has not been loaded.... Check the paths u specified in
    formsweb.cfg and default.env....... nd check other settings also

  • Webutil is not working well in the browser

    hi everybody
    I have a problem in my Forms. First, I was doing Form and I wanted to add picture for item and I want the picture to be saved
    in database through pressing on button and a browser open and select the image to be saved in database. and if I want to later on
    when I select the item the picture automatically come up with the item_id.
    a later on I knew that I need to config the Oracle to Webutil + Jacob and also I knew that the Forms 10G 2R comes with webutil so I just
    need to config Jacob in my system and after a long searching on the net and forums and reading I couldn't solve my problems
    after following the configuration I reached to point which I stuck in and I don't know how to solve it.
    so After assiging the two Jar files in under Dos I couldn't done them in success
    here is the way I did:
    sign_webutil.bat C:\DevSuiteHome_1\forms\java\frmwebutil.jar
    sign_webutil.bat C:\DevSuiteHome_1\forms\java\jacob.jar
    I get this error after signing the jar files and that mean it's not configured well from the first time by showing error.
    C:\DevSuiteHome_2\forms\webutil>sign_webutil.bat c:\devsuitehome_2\forms\java\ja
    cob.jar
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> alr
    eady exists
    There were warnings or errors while generating a self signing certificate. Pleas
    e review them.
    Backing up c:\devsuitehome_2\forms\java\jacob.jar as c:\devsuitehome_2\forms\jav
    a\jacob.jar.old...
    1 file(s) copied.
    Signing c:\devsuitehome_2\forms\java\jacob.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    I tried to check some forms in a browser but still I get error asigned from Microsoft Windows like "Oracle Forms Runform has stopped working" and I press on Close the program and another Oracle error come up "FRM-92101:There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
    Systems I'm using might help in identifing and solving the problem I'm facing.
    * I'm using Vista Ultimate edition.
    *Oracle Database 10G 2R.
    *Oracle Developer Suite Forms 10G 2R Version 10.1.2.0.2
    * OCJ4 Instance is working well and I can work with any Forms in a browser in best way except when I have Forms that configured to retrieve Image or save Image.
    * I tried using webutil Demo and it's not helping me still the problem there because the problem in configuring the Jar files
    * I use JInitiator 1.3.1.22 do you think this might cause a problem in Vista so if I use JInitiator 1.3.1.28 will fix the problem?.
    Here is a link has some picture that I'm facing and some files that I modified, might help in solving my problem.
    http://rapidshare.com/files/240717866/My_files.rar.html
    Hopefully this information can identify my problem. Thank you very much for helping me.
    Edited by: [email protected] on Jun 3, 2009 4:41 PM
    Edited by: [email protected] on Jun 4, 2009 5:55 AM
    Edited by: [email protected] on Jun 4, 2009 5:56 AM

    Thanks man for your help. I have some question regarding your code
    1. create table img_table (id number not null , img blob, primary key (id))
    I create this table in SQL and this is clear step to me.
    ================================
    2. Create database block based on this table accepting all defaults.
    How can I create database block based on the table I mean where can I do this?.
    ===============================
    3. Add non database item FILE_NAME to input filename to read image from.
    4. Add a button with when-button-pressed trigger:
    READ_IMAGE_FILE(:file_name, '', 'img_table.img');
    What you mean here to ass non database item. I'll put this in button under when button pressed triger, is that right or you mean something else?.
    ===============================
    5. Run form, enter 1 into ID item, full name of some image into FILE_NAME and press button.
    create table image(
    id number not null ,
    IMG BLOB
    create a form
    select a image item
    then select a button and a text box(test box name is file_name nondatabase item)
    in text box give the path of your image and just click the button your image is saved in datbase.
    write this code on when-button-press trigger
    READ_IMAGE_FILE(:file_name, '', 'img_table.img');
    Still not clear to me how I can implement this code. Could you please send to me a ready Form and upload it to rapidshare and put the link here so I can idenitfy how code will be in the Form and I'll create the table in database. Thanks a lot man.
    By the way, I noticed something to let webutil to work I think I can't sign the frmwebutil.jar & Jacob.jar under Dos because of Jarsigner and I get this info: 'jarsigner' is not recognized as an internal or external command,operable program or batch file.
    if you know or anybody knows why jarsigner is not recognized.
    Thanks

  • Excel File read using WebUtil does not work. Gives java.lang.NoSuchMethodEr

    We have a form which reads from an Excel File. The form works in development env., but in the live env when we deployed the form it does not work. Form fails @ the 1st call to Client_OLE2 where we set the Excel file to read.
    For both the envs. the values are given here:
    (1.) Client Forms Version : Forms [32 Bit] Version 10.1.2.0.2 (Production)
    (2.) Application Server Version : 10.1.2.0.2
    (3.) AS Linux Version : (Live) RHEL 5.7 Tikanga / (Dev) Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    (4.) Client Sun JRE Version :Version 1.5.0 (build 1.5.0_10)
    (5.) Client Web Browser & Version: I.E 8.0.6001 or Mozilla  3.0.15
    (6.) WebUtil Version: 1.0.6Both envs. are the same except the Linux version.
    Works fine in Dev but does not work in Live. Other Webutil functions like file open dialog box works fine in live, only this Excel read is not working.
    Full Error message
    Java Plug-in 1.5.0_10
    Using JRE version 1.5.0_10 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\dinesha.IIL
    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
    p:   reload proxy configuration
    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>
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError:
    com.jacob.com.Dispatch.put(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
         at
    oracle.forms.webutil.ole.OleFunctions.set_obj_property(OleFunctions.java:1216)
         at
    oracle.forms.webutil.ole.OleFunctions.setProperty(OleFunctions.java:333)
         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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)We connected to Live AS server via VPN and ran the Form in a client machine (where the Dev. is working) but same problem.
    Any help would be greatly appreciated.

    Channa,
    I sounds like you might have missed a configuration step on your Linux application server (AS). I recommend you go back through the configuration of your AS and verify each step of the WebUtil Runtime Setup Checklist was completed correctly. Seach the Forms Help system on "Runtime Setup Checklist" for a copy of the checklist.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • JMS Demo Not working!!!Very poor samples from Oracle.

    Hi i have installed the CHat JMS Sample into Oc4j.
    Everything was OK until i wanted to log into the chat application.
    Then on my oc4j consol the following occured:
    03/10/04 14:49:08 javax.jms.JMSException: TopicConnection[Oc4jJMS.Connection.bak
    desktop.e06940:f807230602:-8000.9]: cannot invoke method "setClientID" within th
    e J2EE container.
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1
    920)
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.toJMSException(JMSUt
    ils.java:2003)
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.toJMSException(JMSUt
    ils.java:1969)
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.assertNotContainer(J
    MSUtils.java:2427)
    03/10/04 14:49:08 at com.evermind.server.jms.EvermindConnection.setClientI
    Can anyone help? It is very sad because i experienced that most samples will not work if you only follow the install manual.
    regads,
    attila

    Hello Attila,
    It seems that you are using OC4J 10G to run the sample. The sample has been tested on OC4J 904 Developers preview. Please use this to run the sample application.
    This demo uses JMS 1.0 and OC4J 10G supports JMS 1.1. In JMS 1.1, you cannot call setClientID() directly within the J2EE container. Due to this inherent change in the spec, the Chat Demo does not work properly in OC4J 10G.
    This is a known problem and we are working on rectifying this.
    Thanks,
    Rajat

  • Jdeveloper PJC wizard demo not working and how to debug?

    Hi,
    Has anyone try the follow the steps in PJC wizard demo in http://www.oracle.com/technology/sample_code/products/forms/index.html?
    And is it working?
    I tried created the demo.securefield jar file in Jdeveloper in add the package in implementation class in the form text item but the function is not working.
    How I can debug whether the jave code is fired or not?
    And does anyone has the source code that is working can be shared.
    Regards,
    Anna

    Hello,
    You can put some System.out.println("the text i want to output"); functions anywhere in the java code, then see the output in the java console.
    Francois

  • Pause key during recording Video demo not work

    Hello everybody, I dont know why, but Pause key during recording Video demo project not work. I tried all others keys what I see in the Preferences dialog box and all works corectly, only Pause key not. Can somebody help me? Win 7, Captivate 6.
    Yarik

    Hi there and thank you for reaching Adobe Community.
    Unfortunately, this feature is not there in Captivate 6 Video demo.
    Thanks!

  • Simple ws-policy demo not working

    Hi Gurus,
    It's been quite awhile, I could not work it out though. I guess your help would be the last change to stop it from driving me crazy~
    The goal is to implement a simple ws-seurity enabled webservice demo using only username/password token as the policy. username/password in the ones listed in "myrealm" (might have SQL Authentication provider as well),and X509 is not the thing to be considered in this simple test.
    Env:
    WebLogic Server Version: 10.3.0.0
    JVM: Sun one installed with weblogic
    WebLogic Eclipse plugin: 1.0.0.2008.0808135653
    Windows XP sp3
    After reading that much docs, it came to below procedure and code:
    1. Eclipse -> new Dynamic web project "WSTest3"
    2. create file: example.ws.HelloW1.java
    package example.ws;
    import javax.jws.WebService;
    import weblogic.jws.Policy;
    import weblogic.jws.Policies;
    @WebService(serviceName="HelloW1")
    @Policies( { @Policy(uri = "policy:usernametoken.xml") } )
    public class HelloW1 {
         public String sayHi(String hi){
              System.out.println("Already here: " + hi);
              return "Welcome, you said: " + hi;
    3. add "weblogic.jar" to build path
    4. create WEB-INF/policies/usernametoken.xml
    <?xml version="1.0"?>
    <wsp:Policy
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512"
    >
    <sp:SupportingTokens>
    <wsp:Policy>
    <sp:UsernameToken
    sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:WssUsernameToken10/>
    </wsp:Policy>
    </sp:UsernameToken>
    </wsp:Policy>
    </sp:SupportingTokens>
    </wsp:Policy>
    5. Publish the project WSTest3 to weblogic server
    6. Test the webservice within weblobic admin console, get below response which is expected since there is no input for user/pass in the simple test web page:
    ~~~~~~~~~~~~~~~~~~~
    <faultcode>wsse:InvalidSecurity</faultcode>
    <faultstring>Error on verifying message against security policy Error code:1000</faultstring>
    ~~~~~~~~~~~~~~~~~~~
    7. create the WSTest3Client project
    8. new "web service client"
    9. input the WSDL "http://127.0.0.1:7001/WSTest3/HelloW1?WSDL" and have the webservice related stub files created.
    10. create java file: example.ws.client.Main.java
    package example.ws.client;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.security.cert.X509Certificate;
    import javax.xml.rpc.ServiceException;
    import org.apache.axis.client.Stub;
    import example.ws.HelloW1_PortType;
    import example.ws.HelloW1_Service;
    import example.ws.HelloW1_ServiceLocator;
    import weblogic.jws.jaxws.ClientPolicyFeature;
    import weblogic.jws.jaxws.policy.InputStreamPolicySource;
    import weblogic.security.SSL.TrustManager;
    import weblogic.wsee.security.unt.ClientUNTCredentialProvider;
    import weblogic.xml.crypto.wss.WSSecurityContext;
    import weblogic.xml.crypto.wss.provider.CredentialProvider;
    public class Main {
         public static void main(String[] args)
         throws ServiceException, RemoteException{
              String username = "weblogic";
              String password = "weblogic";
              CredentialProvider cp = new ClientUNTCredentialProvider(username.getBytes(), password.getBytes());
              List credProviders = new ArrayList();
              credProviders.add(cp);
              HelloW1_Service service = new HelloW1_ServiceLocator();
              HelloW1_PortType port = service.getHelloW1Port();
         Stub stub = (Stub)port;
         stub._setProperty(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
    //Map rc = ((BindingProvider)port).getRequestContext();
    //rc.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
         System.out.println(port.sayHi("nihao"));
    11. add weblogic.jar to build path and let it go.
    The expected output string was not coming, but still the exception there:
    ~~~~~~~~~~~~~~~
    Exception in thread "main" AxisFault
    faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurity
    faultSubcode:
    faultString: Error on verifying message against security policy Error code:1000
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:Error on verifying message against security policy Error code:1000
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    {WITH MANY OTHER LINES BELOW}
    ~~~~~~~~~~~~~~~~~~
    use below code suggested from reference link (2)
    Map rc = ((BindingProvider)port).getRequestContext();
    rc.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
    to replace stub._setProperty, but I was told can not make the CAST from stub to BindingProvide, seems it's something in Jdeveloper11, not for my env.
    if I comment "@Policies( { @Policy(uri = "policy:usernametoken.xml") } ) " off and republish the webservcie, the test would be running good, but defniately there is no anthentication, which is not what I want.
    reference link (1): http://e-docs.bea.com/wls/docs103/webserv_sec/message.html
    reference link (2): http://kingsfleet.blogspot.com/2008/12/simple-custom-policy-example-using-jax.html
    I am grateful to have your input, thanks in advance and wish you a good day!
    Regards,

    Hi, it comes to episode2.
    Now the WS client's very smoothly working in my Jdev10.1.3, the code is very alike, but it uses
    stub._setProperty(Stub.USERNAME_PROPERTY, "weblogic");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "weblogic");
    // This source file is generated by Oracle tools and is subject to change
    // It is a utility client for invoking the operations of the Web service port.
    // For reporting problems, use the following
    // Version = Oracle WebServices (10.1.3.1.1, build 070111.22769)
    package proj2.proxy;
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    public class HelloW1PortClient {
    private proj2.proxy.HelloW1_PortType _port;
    public HelloW1PortClient() throws Exception {
    ServiceFactory factory = ServiceFactory.newInstance();
    port = ((proj2.proxy.HelloW1Service)factory.loadService(proj2.proxy.HelloW1_Service.class)).getHelloW1Port();
    * @param args
    public static void main(String[] args) {
    try {
    proj2.proxy.HelloW1PortClient myPort = new proj2.proxy.HelloW1PortClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    myPort.setUsername("weblogic");
    myPort.setPassword("weblogic");
    System.out.println( myPort.sayHi("Hello") );
    } catch (Exception ex) {
    ex.printStackTrace();
    * delegate all operations to the underlying implementation class.
    public String sayHi(String arg0) throws java.rmi.RemoteException {
    return _port.sayHi(arg0);
    * used to access the JAX-RPC level APIs
    * returns the interface of the port instance
    public proj2.proxy.HelloW1_PortType getPort() {
    return _port;
    public String getEndpoint() {
    return (String) ((Stub) port).getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY);
    public void setEndpoint(String endpoint) {
    ((Stub) port).setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint);
    public String getPassword() {
    return (String) ((Stub) port).getProperty(Stub.PASSWORD_PROPERTY);
    public void setPassword(String password) {
    ((Stub) port).setProperty(Stub.PASSWORD_PROPERTY, password);
    public String getUsername() {
    return (String) ((Stub) port).getProperty(Stub.USERNAME_PROPERTY);
    public void setUsername(String username) {
    ((Stub) port).setProperty(Stub.USERNAME_PROPERTY, username);
    public void setMaintainSession(boolean maintainSession) {
    ((Stub) port).setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession));
    public boolean getMaintainSession() {
    return ((Boolean) ((Stub) port).getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue();
    * returns the transport context
    public ClientTransport getClientTransport() {
    return ((OracleStub) _port).getClientTransport();
    the weird thing is when I moved "
    stub._setProperty(Stub.USERNAME_PROPERTY, "weblogic");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "weblogic");
    into Eclipse, it still complains the same error: "Error on verifying message against security policy Error code:1000", meanwhile the server outputs:
    <WSEE:18>Trying to validate identity assertion token http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken<SecurityMessageInspector.inspectIdentity:629>
    Thanks,

  • Oracle Forms Demo Not working -- Attn. Oracle Customer Service

    Hi,
    I try to see Multiselect T-List Demo in the following page.It's not working.
    http://www.oracle.com/technology/sample_code/products/forms/index9i.html
    -Murali

    Hello,
    have you read the <ORACLE_HOME>\forms90\demos\multiselect\doc\multiselect90.html doc file ?
    this is a part of the content:
    "Enabling and Using the Multi-Select capabilities of the PJCBy default the enhanced TList continues to operate just like a normal TList, in order to enable the multi-select capability you must set a custom property on the item ENABLE_LIST_MULTISELECT to the string value 'true' e.g.
    SET_CUSTOM_PROPERTY('PJC.MULTISELECT_LIST',1,'ENABLE_LIST_MULTISELECT','true');"
    Francois

  • Webutil 11g Demo not working

    I have forms correctly configured on my server, as I can run most of the app, the only problem is forms which contain webutil.
    I have followed the installation as per doc id [1093985.1]. Everything is in the correct place and signed, however, when I run the compiled wu_test_106 form, I get three popup boxes :
    WUC-21 : System library
    http://[myserver]/forms/frmservlet/webutil.dll has incorrect size in WebUtil config. Download will be cancelled.
    I also get this for :
    http://[myserver]/forms/frmservlet/webutil/jacob.dll
    http://[myserver]/forms/frmservlet/webutil/JNIsharedstubs.dll
    http://[myserver]/forms/frmservlet/webutil/d2kwut60.dll
    I have changed the file sizes in the webutil.cfg to match, however, I feel the problem is that the file locations are wrong, as they are in:
    http://[myserver]/forms/webutil/jacob.dll
    http://[myserver]/forms/webutil/JNIsharedstubs.dll
    http://[myserver]/forms/webutil/d2kwut60.dll
    ie, no frmservlet
    Is there any way to re-point these? This is from a standard install of weblogic, forms and webutil.
    Windows 2008 64-bit, weblogic 10.3.2, Forms 11.1.3
    Thanks.

    I don't think it's getting as far as the sizes as the virtual path does not resolve, however, the file size is definately correct.
    The path points to : install.syslib.location=/webutil
    It is the virtual path that precedes this I want to remove (frmservlet).
    Just for clarity, I have changed this to /mynewpath/webutil and it is now looking for the files in:
    http://[myserver]/forms/frmservlet/mynewpath/webutil/jacob.dll
    My webutil.cfg is as follows (I've removed the comments), the only line I've changed is the one that lists the size of the file:
    # webutil.cfg - WebUtil default configuration file
    logging.file=
    logging.enabled=FALSE
    logging.errorsonly=FALSE
    logging.connections=FALSE
    install.syslib.location=/webutil
    #install.syslib.0.7.1=jacob.dll|106496|1.10|true
    install.syslib.0.7.1=jacob.dll|94208|1.10|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    transfer.database.enabled=FALSE
    transfer.appsrv.enabled=FALSE
    transfer.appsrv.workAreaRoot=
    transfer.appsrv.accessControl=TRUE
    transfer.appsrv.read.1=c:\temp
    transfer.appsrv.write.1=c:\temp
    BlockAllowHeartBeat=False

  • Forms90-demo not working on client, what should be done? urgent please

    I have installed forms90 demo & it is working fine on the middle tier, but when invoked from the client browser the applet just stops initializing & does not start.
    Could any one throw light as what action will make the demo work on client machine

    The problem is probablty due to the Signed JAR files the demo uses - when you install the Demo, these certificates are imported onto that machines JInitiator automatically (that's why the install prompts you for the location of JInit.)
    To solve your problem of running on another machine I need to make a slight change to the Demo scripts and template files but for now you can use the following W/A
    Create a simple form - say one button and no logon call it test.fmx.
    Create a config for that form in the Forms90demo.cfg like this:
    [test]
    form=test.fmx
    archive_jini=f90all_jinit.jar
    Run that config using the url
    http://machine:8888/forms90demo/f90servlet?config=test
    Exit that Form - then in the SAME Browser Window run the Demos
    http://machine:8888/forms90demo/demo90.html
    When you run one of the demos a Dialog should pop up asking you to trust a certificate. Trust always and then that should solve the problem.
    In future you can just run the demos directly - no need to run the test app first.

  • Webutil - Client_host not working

    Hi all,
    I have installed/configured Webutil along with Jacob.jar and signed them. Also compiled the webutil.pll. Attached this to a form and when I used the client_host command to call any exe file, I get a please acknowledge message and the thereafter no processing.
    I am using Oracle Forms 9.0.4.
    sample command
    client_host('CMD /C cp c:\abc.txt c:\a.txt');
    Is this could be configuration issue of webutil?
    An exe on Application server should be opened in the client system.
    Is there any other way to access this?
    Please suggest.
    Regards,
    Gopal.

    Hello,
    I tested with Webutil 1.0.5 and Forms 9.0.4 on Windows 2000:
    It worked for me with:
    client_host('CMD /C cp c:\abc.txt c:\a.txt');
    What OS do you have?
    You should check to see if it does work in CMD promt in order to see if this is an OS issue or an WebUtil issue.
    Best Regards,
    Eugen

  • Forms9i Demo Not working

    I have downloads forms demo from otn website(graph demo,progress bar,calender) and install vi Oracle Universal installer. It has make a icon on desktop when I am executing it. It is not opening demo90.htm file. Please solve this problem??
    I have already install Jinitiator 1.3.9.
    this is the url when i double click on icon
    http://istemp2.hutchindia.com:8888/forms90demo/demo90.html
    but its not opening this html file.It has created demos directory in c:/ora9i/forms90.
    Thanks,
    Neeraj

    I have done it but still i am unable to execute it. Installtion has create this route..
    c:\ora9i\j2ee\oracle9iDS\application-deployments\forms90demo\forms90demo this directory has only i file orion-web.xml and this file has these data with it...
    ----------- orion-web.xml file data -----------
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://www.orionserver.com/dtds/orion-web.dtd">
    <orion-web-app
    deployment-version="2.0.0.0"
    jsp-cache-directory="./persistence"
    temporary-directory="./temp"
    servlet-webdir="/servlet/"
    directory-browsing="allow"
    >
    <!-- formsweb.cfg file used with our demos -->
    <context-param-mapping name="configFileName">c:\ora9i/forms90/server/forms90demo.cfg</context-param-mapping>
    <!-- Define the virtual directories used by the demos. These are all relative to /forms90demo-->
    <virtual-directory virtual-path="/java" real-path="c:\ora9i/forms90/java" />
    <virtual-directory virtual-path="/jinitiator" real-path="c:\ora9i/jinit" />
    <virtual-directory virtual-path="/html" real-path="c:\ora9i/tools/web90/html" />
    <virtual-directory virtual-path="/images" real-path="c:\ora9i/forms90/demos/images" />
    <virtual-directory virtual-path="/jars" real-path="c:\ora9i/forms90/demos/jars" />
    <virtual-directory virtual-path="/doc" real-path="c:\ora9i/forms90/demos/doc" />
    <virtual-directory virtual-path="/" real-path="c:\ora9i/forms90/demos" />
    <virtual-directory virtual-path="/temp" real-path="c:\ora9i/forms90/demos/temp" />
    <virtual-directory virtual-path="/hl_home" real-path="c:\ora9i/forms90/demos/hl" />
    <virtual-directory virtual-path="/hl_demo" real-path="c:\ora9i/forms90/demos/hl/forms/web" />
    <virtual-directory virtual-path="/hl_registry" real-path="c:\ora9i/forms90/demos/hl/forms/web/registry" />
    <virtual-directory virtual-path="/hl_images" real-path="c:\ora9i/forms90/demos/hl/forms/web/images" />
    <virtual-directory virtual-path="/iorg" real-path="c:\ora9i/forms90/demos/iorganizer" />
    <virtual-directory virtual-path="/iorg_registry" real-path="c:\ora9i/forms90/demos/iorganizer/registry" />
    <virtual-directory virtual-path="/iorg_images" real-path="c:\ora9i/forms90/demos/iorganizer/images" />
    <virtual-directory virtual-path="/java_api_samples" real-path="c:\ora9i/forms90/demos/jdapi" />
    <!-- This points the forms90demo servlet to use the normal forms servlet -->
    <classpath path="c:\ora9i/forms90/j2ee/forms90app/forms90web/web-inf/lib/f90srv.jar;c:\ora9i/forms90/java/f90jdapi.jar;c:\ora9i\forms90\demos/metadatabrowser/classes" />
    <session-tracking cookies="disabled" />
    </orion-web-app>

  • File Upload Demo not working

    I downloaded the source for this from OTN for 6i & recompiled the forms & libraries in 9i & tried to run after following all the steps mentioned in the readme doc but the form does not show up, the jinitiator java console window shows loading f90all...jar file & UploadClient.jar.sig file & stops
    i have registered PJC using JavaKey as mentioned in the doc & also set the class path in the default.env file pointing to orahome/jdk/jre/bin/classic.
    Would any one throw light on what has gone wrong???
    Mahesh

    If you install the 9i demos from OTN, they include the fileupload sample and the installation does all the setup for you including the classpath etc.

  • JFormattedTextField demo not working

    Hi there,
    I just executed the JFormattedTextField demo provided at
    http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html#FormattedTextFieldDemo
    However, it is possible to enter any character into the textfields (such as asdf). Would be great to get some ideas...
    Till

    The text is validated "after" focus is lost on the component. After all a data can't be considered valid until all the digits are entered.
    If you want to differentiate between alpha and numeric characters then I believe you need to use a MaskFormatter. The class is not the easiest to understand to play with the examples and the API to understand it bettter.

Maybe you are looking for

  • Resizing text boxes in Pages 5.2

    Looking for some pretty simple help here: At this point I merely want to resize a text box and the edges of the box refuses to be active for me to pull it to change the shape!    Why is this so hard now? (Below is my mini gripe session about Page 5.2

  • How do I enable the Mac keys in windows XP?

    I recently bought a new Mac keyboard with a num pad. Before that I was using a normal mac keyboard. I cannot remember if I changed the drivers or any settings before, but my old mac keyboard could lower and increase volumes using the assigned buttons

  • Why do my apps refuse to start when my iPod 4G turns off from lack of power?

    When my iPod 4th Generation runs out of power and shuts off, giving me the signal to plug it in to charge, some apps refuse to work. For example, I open up an app, and it immediately closes. Is this because there are some apps from another account on

  • If I erase a game and I want to play it again, do I keep the same profile?

    I have no intentions in starting over again. Because I erased some of my games (Contract Killer, Reign of Dragons, ect.) and I want to play them again. So if I download them again, do I have the same profile?

  • What the best way for STORAGE the documents from DMS?

    Please, can someone tell me if the limit of storage the originals through a data carrier is two for document or i can to large this limit? 'Cause i know that using Kpro i don't have limit of storage, but i'm trying to use the data carriers 'cause i j