Can PJC ORACLE9IAS FORMS Services - FILEUPLOAD Java Bean run on UNIX?

I got the File Upload Utility sample code from //otn.oracle.com/sample_code/products/forms/content.html
The File Upload demo consists of the following files:-
1. fileuploader90.fmb
2. fileupload90.pll
3. FileUploader.java, FileUploaderProgrressBar.java ==> By using Oracle 9i JDeveloper(version 9.0.2.822 and java version 1.3.1), I had compiled and deployed and jarred java classes for the client side bean. Finally, I get uploadclient.jar.
4. FormsDecoder.java, FormsDecoderException.java ==> By using Oracle 9i JDeveloper(version 9.0.2.822 and java version 1.3.1), I had compiled and deployed and jarred java classes for the server side bean. Finally, I get uploadserver.jar.
And I had done accordingly to the steps.
I had added an entry in the formsweb.cfg file to call the FileUpload demo as following:-
[FileUpload]
pageTitle=Oracle9iAS Forms Services - FileUpload Demo
archive_jini=f90all.jar,uploadclient.jar
archive_ie=f90all.jar,uploadclient.jar
archive=f90all.jar,uploadclient.jar
form=fileuploader90.fmx
width=675
height=480
separateFrame=false
splashScreen=no
lookAndFeel=oracle
colorScheme=blue
background=/forms90demo_images/blue.gif
logo=/forms90demo_images/Forms9i.gif
envFile=fileupload.env
And this environment file, fileupload.env, code is as following:-
#fileupload.env
#Environment file used to setup the FileUpload Demo
ORACLE_HOME=/export/home2/9ids/OraHome1
PATH=/export/home2/9ids/OraHome1/bin/classic:/export/home2/9ids/OraHome1/bin
CLASSPATH=/export/home2/9ids/OraHome1/forms90/java/uploadserver.jar:/export/home2/9ids/OraHome1/jdk/jre/lib/rt.jar
FORMS90_PATH=/export/home2/9ids/OraHome1/forms90/demos/lib:/export/home2/9ids/OraHome1/forms90/demos/fileupload/forms
Then by using Oracle Forms 9.0(version 9.0.2.7.0) attach the FileUpload.pll library and compiled and run the forms.Click on the select button.and NO REPLY.NO ERROR NUMBER.No Progress Bar. Nothing...
Then I exit the form and add the config=FileUpload& into the web browser. Then I get the forms. Click on the select button and also NO RESPOND,NO ERROR,No Progress Bar. The File Upload Utility is not working.
Can anyone help me on this issue? Urgent...
Thank you so much.
Best Regards,
Wong

Hello Duncan,
Are you one of the authors for the File Upload Utility? I am very happy to talk with you. How can we solve this BIG BUG 2550330? And make it run on UNIX platforms.
Best Regards,
Wong

Similar Messages

  • 401 Error on Consuming SharePoint Versions Web Service by java client running on Unix Machine

    In my organiszation I have sharepoint site of our project. I have a java client to consume Versions Web Service offered by SharePoint. The response received from web service without any issue when triggered from a client running on windows machine on
    intranet.
    When same java client ran from UNIX server on same intranet, it gives 401 error. Is there some different approach required for authentication while connecting from unix machine?
    Thanks in advance.

    Hello,
    Are you passing credential in code? If not then try to add using networkcredential.
    If you are passing then make sure that current user is having access on SP site and your javaserver is setup for NTLM security. Here is few links for same issue which could help you troubleshoot the issue
    http://stackoverflow.com/questions/8884152/ntlm-fails-when-consuming-sharepoint-web-service-from-java
    http://www.pentalogic.net/sharepoint-products/reminder/reminder-manual?p=troubleshooting%2F401errors%2F401errors.htm
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Run oracle form 6i contain java bean in web?

    i have already made oracle form 6i contain java bean when i run it in client/server
    there is no errors but there is no bean to appear when i invoke it?
    and i'd like to put this form in the oracle application suite

    I think it is better for you to ask this question in Oracle Forms/Oracle Forms Server development forum.
    This issue would better addressed in Development forums.
    Just my 0.02£
    Yury

  • Search in form by using java bean or PJC.

    hi all
    i am confused because i do not know java bean to much,is it possible to create a search button with one text item in java bean to display all records
    example:
    if i enter dept 10 then it display all records related to dept 10?
    is it possible?
    if yes please cany anyone send me a demo?
    here is my email add.
    [email protected]
    sarah

    hi
    Francois thanks for the link and its very useful and i am studying the codes and also i downloaded demos and run them its working fine and its very very nice.
    i like java and trying to learn and its very useful.
    why i want to use java bean because one of my friend her name is sheela she wants me to do it but i am failed i did not do it in java bean
    so i thought lets try on the forum may be someone help u.
    so i posted a thread over here.
    thanks Francois.
    u r appreciated.once again thanks.
    sarah

  • Help with Login Form (JSP DB Java Beans Session Tracking)

    Hi, I need some help with my login form.
    The design of my authetication system is as follows.
    1. Login.jsp sends login details to validation.jsp.
    2. Validation.jsp queries a DB against the parameters received.
    3. If the query result is good, I retrieve some information (login id, name, etc.) from the DB and store it into a Java Bean.
    4. The bean itself is referenced with the current session.
    5. Once all that's done, validation.jsp forwards to main.jsp.
    6. As a means to maintain state, I prefer to use url encoding instead of cookies for obvious reasons.I need some help from step 3 onwards please! Some code snippets will do as well!
    If you think this approach is not a good practice, pls let me know and advice on better practices!
    Thanks a lot!

    Alright,here is an example for you.
    Assume a case where you don't want to give access to any JSP View/HTML Page/Servlet/Backing Bean unless user logging system and let assume you are creating a View Object with the name.
    checkout an example (Assuming the filter is being applied to a pattern * which means when a resource is been accessed by webapplication using APP_URL the filter would be called)
    public doFilter(ServletRequest req,ServletResponse res,FilterChain chain){
         if(req instanceof HttpServletRequest){
                HttpServletRequest request = (HttpServletRequest) req;
                HttpSession session = request.getSession();
                String username = request.getParameter("username");
                String password = request.getParameter("password");
                String method = request.getMethod();
                String auth_type  = request.getAuthType();
                if(session.getAttribute("useInfoBean") != null)
                    request.getRequestDispatcher("/dashBoard").forward(req,res);
                else{
                        if(username != null && password != null && method.equaIsgnoreCase("POST") && (auth_type.equalsIgnoreCase("FORM_AUTH") ||  auth_type.equalsIgnoreCase("CLIENT_CERT_AUTH")) )
                             chain.doFilter(req,res);
                        else 
                          request.getRequestDispatcher("/Login.jsp").forward(req,res);
    }If carefully look at the code the autherization is given only if either user is already logged in or making an attempt to login in secured way.
    to know more insights about where these can used and how these can be used and how ?? the below links might help you.
    http://javaboutique.internet.com/tutorials/Servlet_Filters/
    http://e-docs.bea.com/wls/docs92/dvspisec/servlet.html
    http://livedocs.adobe.com/jrun/4/Programmers_Guide/filters3.htm
    http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
    http://www.servlets.com/soapbox/filters.html
    http://www.onjava.com/pub/a/onjava/2001/05/10/servlet_filters.html
    and coming back to DAO Pattern hope the below link might help you.
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
    http://java.sun.com/blueprints/patterns/DAO.html
    http://www.javapractices.com/Topic66.cjp
    http://www.ibm.com/developerworks/java/library/j-dao/
    http://www.javaworld.com/javaworld/jw-03-2002/jw-0301-dao.html
    On the whole(:D) it is always a good practice to get back to Core Java/J2EE Patterns.and know answers to the question Why are they used & How do i implement them and where do i use it ??
    http://www.fluffycat.com/java-design-patterns/
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html
    http://www.cmcrossroads.com/bradapp/javapats.html
    Hope that might help :)
    REGARDS,
    RaHuL

  • Forms 6i and Java Bean

    Hi
    I need to establish communication between my forms and java code.
    i have made a java bean and set the implementation class path(i.e the package path (oracle.forms.demo for the bean class)) in the form item.
    I want to know where exactly should put the java code or do i have to make modification in any of the environment variables to allow the forms to acces the java code.
    what exactly is a java class and do i need to have a wrapper class also to implement the java bean.
    please respond fast as i need this info urgently...any small info might prove fruitful
    Thanks
    Message was edited by:
    user532526

    Hello,
    All you have to do is to copy the .jar file that contains the Java class(es) in the <devsuite>/forms/java/ directory, configur the <devsuite>/forms/server/formsweb.cfg file to add this jar file to the archive_jini tag to indicate where Forms have to load the classes:
    archive_jini=frmall_jinit.jar,...,my_jar_file.jar
    Then after, you have 2 possibilities:
    - the bean does not have any "screen" representation so you can just handle its functions with the Forms internal FBean package functions (no need to put implementation class on the bean area item property)
    - it has a screen representation, so you put its implementation class like you did, and you set its properties with the Set_Custom_Property() built-in and get its properties with the Get_Custom_Property() built-in.
    Francois

  • Need advice about web services and Java beans

    Hi
    I am very new to web services and to Java beans as well.
    I am trying to understand if and how a web service can use functionality I have in a Java bean. I couldn't find any documentation I can use.
    For example:
    InitialContext ic = new InitialContext();
    Adder adder = (Adder) ic.lookup("ejb/AdderJNDI");In a EJB client project (I'm working with Eclipse) if I add the EJB project to the build path, the Adder interface is recognized.
    Theoritacally I thought I can do the same in a web service server project, but the Adder interface is not recognized.
    Is there something I can read to understand how I need to use the EJB or implement the web service?
    Many thanks
    Sigal

    Okay....I think I made some errors with the original scenario:
    It basically comes down to this....I think. OCS Calendar has a set of Java classes and methods that provide an abstraction for their web services interface. I know how to create something to use these classes using an IDE like JDeveloper, but I'm not sure how that would work with HTML DB.
    I've noticed that the SQL Workshop has a place for Java sources and classes, and I've heard mentions of PL/SQL wrapping. Is there a way to import classes into an HTML DB workspace, wrap 'em up, and access them via PL/SQL?
    Thanks again,
    Jonathan

  • Create a web service from java bean and map exceptions to SOAP faults

    Hi,
    We have to expose our Session stateless EJB3 as web services. I've tried to use annotations and jdev wizard "java bean to web service" and it works fine.
    Our problem now is that our methods can throw a business exception that contains a list of error message strings to be presented on the client.
    I did not find any way to use annotations to make it build a wsdl with soap fault mapped to our exception class. Neither I could to make the wizard to create wsdl with faults.
    As we are exposing already designed and implemented classes as web services, I think the bottom-top (java->wsdl) approach is better that top->botton (wsdl->java). Therefore, I'm looking for a possibility to generate the web services from the java beans and have the exception be mapped to a soap fault message.
    We are using jdev 10.1.3.1 and OAS 10.1.3.1., is there a way to map exceptions to soap faults using bottom->top approach?
    thank you

    A couple of links that may be of help:
    http://www.netbeans.org/servlets/ReadMsg?listName=nbj2ee&msgNo=1218
    My last question concerning web services:
    I have already written a session bean and I'd like to add some methods
    as a web service to it, how do I do that?
    Or I can only create another bean for a webservice and cannot modify the
    original one?You might create web service with existing sources and select you bean. New web services with appropriate lookup method will be generated.
    All web service method, that will be exposed in web service, you
    should add itself (Pop-up menu Web Service -> Add operation)
    http://usersguide.netbeans.org/files/documents/40/73/Chapter9-WebServices.pdf

  • Popup menus in Forms 10g and Java Bean

    Hi all.
    What class in Java corresponds with popup menus(not in menu module) ?
    I know that oracle.ewt.lwAWT.lwMenu.LWPopupMenu is corresponds with MenuBar's submenu. I can find Buttons, Text Fields, Menu and other components in my Form-Applet, but I don't know how to find popup menus in forms through Java Bean...

    Hello François,
    I have created a java bean that dynamically creates a popup by left-clicking on the bean.
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item' ) ;
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_SEPARATOR', '' ) ;
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item one' ) ;     
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item two' ) ;
    My problem is the layout. I want to simulate a button. I can't put the bean transparent over a button and I can't simulate a button with the bean.
    How can I add the popup functionality to a button and not only to the bean? Or any other workaround?
    Regards Pedro.

  • Can Designer10gR2 generate Forms with Pluggable Java Components and WebUtil

    I know that Forms 10g supports Pluggable Java Components and WebUtil. Designer 10g R2 provides Design Capture of Forms to Modules. Can Designer capture a Form with Pluggable Java Components and WebUtil and then regenerate Form from within Designer? IF yes, would you give me more details. Thanks.

    Hi
    I am also looking for an alternative way to implement Drop and Drag functionality in Forms 9i.
    Regards
    Janet

  • CAN I DO DATA CACHING by JAVA BEAN persistence?

    I need to keep Objects cached in the server side. so in order to make it persistence can i use JAVA BEANS.
    I am not interested to do for EJB.
    I need a cache component build in the server side .
    how can i do it in JAVA / J2EE platform?

    Your cache doesn't necessarily need to be persistant unless you're doing something like calculating the size or keeping it between server restarts.
    A simple cache is very easy to do but can get quite complex very quickly. Search for Caching on javaworld.com there's a pretty good article on it there.
    Also take a look for JCache on jcp.org, it's a request for a cacheing spec to be built into Java. Some interesting stuff there.
    Basically all you need is a HashMap to hold, keys and objects.

  • JAX-WS web service returning java bean

    how can i create a webservice that returns a javabean?
      @WebMethod   
    public Person query(@WebParam(name = "id") String id) {
        Person person=new Person();
        person.setId(id);
        person.setFirstName("Lisa");
        person.setLastName("Cruz");
        return person;
    }will JAX-WS generate the WSDL and XSD Schema file? do i need to edit or create a Schema file or is there something i need to set in my project.
    btw, my IDE is NETBEANS5.5 and my application server is Sun Java System Application Server Platform edition 9.0.
    please help me with this, i'm really new to this technology.
    thanks in advance.

    I got the Same problem and only today i tried web services
    Is it right to do this way.
    If so Please See the thng i've done.
    Otherwise Please Suggest alternatives
    I created Two Projects
    1. Web Service
    2. Web Client.
    A Bean (It is in Web service Project)
    public class Results
    private int sum;
    private int difference;
    private int multi;
    private float division;
    /** Creates a new instance of Results */
    public Results ()
    public Results (int sum,int difference,int multi,float division)
    this.difference=difference;this.division=division;
    this.multi=multi;
    this.sum=sum;
    A Service Method
    public class myService
    // It works Fine in the client
    @WebMethod
    public int addTwoNumbers (@WebParam(name = "var1") int var1, @WebParam(name = "var2") int var2)
    // TODO implement operation
    return var1+var2;
    // How do Get this Stuff Work at the Client
         @WebMethod
    public Results getResults (@WebParam(name = "var1") int var1, @WebParam(name = "var2") int var2)
    Results aResult=new Results((var1+var2),(var1-var2),(var1*var2),(var1/var2));
    return aResult;
    Now, How do I get this working in the Client.
    In the Ide Get get Error (Using Netbeans5.5 -Tomcat).

  • Is there an Oracle forms services trace java api

    Hi All,
    Is there a java api to use Oracle Trace on a running oracle form. I see that when I run the Oracle trace here it gets the correct item names. I want to be able to custom make my own trace files useing the oracle trace mechanism as a base. Is there a java api to develop our own forms trace?
    Thanks,
    Mia

    Erik wrote:
    Hi.
    Jdeveloper 11.1.1.2
    Is there a way in ADF to populate extra read-only text-columns in an af:table (based on a ViewObject) as was possible in Oracle Forms with a Post-Query-Trigger:
    Post-Query
    Perform an action after fetching a record, such as looking up values in other tables based on a value in the current record.
    Fires once for each record fetched into the block.
    Best regards
    ErikHi,
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/appendix_formstriggers.htm#sm0350

  • Can report or form column be reoder at running time

    Hello there,
    We have a customer who is happy with the reports and form design. he wanted to reoder the column to his look and feel. I found out that once the report or form is put in production, I can not reoder the column. Can someone tell me different? can we reoder the column once the reports or forms are put in production?
    I need your insight please.

    Calling a subvi dynamically and passing references to it is a tall order for a rookie.  Examples may be around but they are scattered.  I already had an example written, I just had to find it. 
    I learn best by example so I teach by example.  I can't see making the OP spend hours searching for something I have immediately.  His time is better spent studying my code than searching for pieces and then trying to put them together, and having to come here to ask more questions.
    - tbob
    Inventor of the WORM Global
    Attachments:
    MainVI_Ref.vi ‏17 KB
    SubVI_Ref.vi ‏12 KB

  • Yahoo mail - can't open eail from inbox, java is running, 2 diff browsers, 2 diff computers

    this has been going for a long time -- cannot open an email from my inbox -- it hangs and hangs -- tried cntr-click to open in a new tab -- same hanging.
    various results when it stops attempting: error code 7 -- or totally blank screen -- or "were working on it"
    have done to try to fix,
    -- latest java installed and running
    -- much searching of help pages
    -- FF help page re java is no good, must be outdated
    -- tried 2 diff browsers
    -- tried 2 diff computers
    am not a newbie, but not a tekkie
    too many hours with no help
    everything else on both computers works just fine!!!
    tried to add the tech info with the button , connect issue with support.mozilla! I GIVE UP

    ''helpneede [[#question-1037980|said]]''
    <blockquote>
    this has been going for a long time -- cannot open an email from my inbox -- it hangs and hangs -- tried cntr-click to open in a new tab -- same hanging.
    various results when it stops attempting: error code 7 -- or totally blank screen -- or "were working on it"
    have done to try to fix,
    -- latest java installed and running
    -- much searching of help pages
    -- FF help page re java is no good, must be outdated
    -- tried 2 diff browsers
    -- tried 2 diff computers
    am not a newbie, but not a tekkie
    too many hours with no help
    everything else on both computers works just fine!!!
    tried to add the tech info with the button , connect issue with support.mozilla! I GIVE UP
    </blockquote>
    How long is "a long time" ... hours? days? weeks?
    Since you are using Yahoo mail, and having the same problem on more-than-one computer... the 'error code 7' is very likely to be a Yahoo-generated message, not related to your browser.
    (I suggest this because I have seen similar messages many times from Yahoo in the past two months... although typically error code 4 or 14, rather than 7... and "We're working on it" is, literally, one of Yahoo's standard responses. Several times, Yahoo blamed network issues, including a severed underwater cable, for the problem; I have not experienced the issue for a few weeks now.)
    To reach Yahoo help: http://help.yahoo.com

Maybe you are looking for