Develop on windows, run on unix

hi
whe develop our forms (9i) on win2000. they work on a win2000 test-server.
what do i have to do/configure/compile to run them on a unix (tru64) machine?
can i simply upload my fmx files to the unix-machine? or do i have to recompile the fmb's under unix?
any documentation about this?
thanks a lot

When you get this sort of error it's usually because the PLL lib has "fallen off" your application. I've seen it happen since the day I started working with forms. I usually solve the problem by deleting the attachment, then reattaching the lib in Windows, then doing a compile_all and then trying again on the Unix platform.
(And yes: it will LOOK as if the lib is properly attached, but often it simply is not)
Remember that you have to copy all PLL and OLB files to the source dir you're using on the Unix.
One major advice: ALWAYS open your Explorer, then double click on the FMB you wish to edit. Then NEVER open any forms outside that source dir. If you do, things get screwed up. And beware of simultaneously editing your PLL and your FMB: edit the pll, save it, close it. Then open form and do compile_all. When you're done with the PLL and you like it they way it is: make it read-only - that way forms builder won't think "this is a changed pll so I better drop the attachment without telling the developer".
NEVER open your form builder from the Start Menu and then use the Open feature to find your files. Somehow Forms Builder needs to get an internal folder or something set, which it uses to keep track of where PLL and other attachables are located.
Good luck.
And btw: if you wish to run the Unix builder: look for the .sh file where f90genm.sh is located, e.g.:
/opt/ora9ias_developer/bin/f90desm.sh
If not you need to install the Forms 9iDS on your Unix. However, I've not actually needed a 9iDS to solve the sort of problems you seem to have (and I use webutil also).
--Jesper                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Develop on Windows, run on Solaris - Best Practices?

    We're moving from windows 2003 server to Solaris x86-64/sparc environment - 10gR2 app server and db. Currently, since our servers are in a remote datacenter, we just VPN onto one of our windows server, which has the dev tools and standalone oc4j running so we can develop and test forms. Simple.
    First thing we noticed is there is not a solaris x86-64 version of the dev tools, so we assume we'll have to develop on our windows desktops, and then recompile on the solaris server. So, the question is how best to do this?
    Initial thinking is that each developer needs to have all the .olb,.pll,.jar,.fmb etc. files on their local machine compiled for windows, and then have to copy these to the solaris servers and recompile. This raises all kinds of concerns about how to keep the files on the developers machines in sync with the versions on the solaris servers.
    Seems we are missing something here and there may be better methods to setup this environment. Perhaps use sparc workstations so we can develop natively in solaris, but that is an expensive option. Any ideas?

    Hi,
    Its better to develop in Windows and port it to
    solaris. Thats what we do for our implementations.
    All the developers has all the source code in the
    local desktop. And when ever they want to change
    /update a form, they download it from
    development/prodn in solaris to the local desktop.
    At a time usually one developer will work on a form
    and that can be put to the solaris and compiled there
    in order to test.
    Rajesh ALexWhat about the .pll, .jar, .olb files? Do your developers have to download to their local machines each time they open form builder to get the latest versions? Seems a maintenance nightmare to keep local versions of these files up to date with what is on the servers.
    Perhaps we need to look at some source control software that can manage this. Any out there that work with forms?

  • Upload file to windows share folder running on unix

    Hi, I am having requirement to upload the files into windows share folder, It works fine If I run the application on windows, but we moved the application to UNIX, so right now the client has to upload the files to windows shareholder , server is running on the UNIX,
    as I am using the simple File file = new File(//share/shareholder),
    so the problem is once we move to UNIX, how can I handle ., any example will really helpful.
    Thanks
    Srikanth

    k, when I run the UNIX, I am getting below error, It works fine If I run in windows, but when I run in Unix getting error, as all are inside the network.
    jcifs.smb.SmbException: Failed to connect to server
    java.net.UnknownHostException: shareServer
    at jcifs.UniAddress.getByName(UniAddress.java:297)
    at jcifs.UniAddress.getByName(UniAddress.java:201)
    at jcifs.smb.SmbFile.getAddress(SmbFile.java:792)
    at jcifs.smb.SmbFile.connect(SmbFile.java:820)
    at jcifs.smb.SmbFile.connect0(SmbFile.java:797)
    at jcifs.smb.SmbFile.open0(SmbFile.java:852)
    at jcifs.smb.SmbFile.open(SmbFile.java:881)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:139)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:97)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:67)
    at jcifs.util.FileTest.main(FileTest.java:37)
    at jcifs.smb.SmbFile.connect0(SmbFile.java:799)
    at jcifs.smb.SmbFile.open0(SmbFile.java:852)
    at jcifs.smb.SmbFile.open(SmbFile.java:881)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:139)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:97)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:67)
    at jcifs.util.FileTest.main(FileTest.java:37)

  • File names in Windows NT and UNIX

    I have an application I made using Java 1.1.8 for AIX 4.2.1 ( IBMs UNIX). I develope on Windows NT using JDeveloper ( from Oracle). My problem is that I need to access files in my code. My code will run both on Windows and Unix, but the file directories are different. How can I access the same NAME of a file , which is in different directories on different Platforms. On the NT machine the file would be
    c:\\temp\someFile.txt, but on my Unix machine it would be /users/xxx/test/someFile.txt.
    Are there any ENVIRONMENTAL variables I can use?

    Look at the documentation for system properties: [url http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties()]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties()
    You may be interested in user.home, user.dir, java.io.tmpdir

  • Move JSP page from window XP to UNIX solaris, need change any setting?

    Hi, i am JSP newbie and faced a problems on JSP compatibility. Any expect can give me the answer?
    if I have a server OS is UNIX solaris, Can i develop JSP in Window, it will exist any problems when i move JSP to UNIX server? Is it possible?
    because i not familiar with Solaris OS, Is it possible let in Development in "window" and running in "Unix". it will be convenient to me because I don't much knowledge about UNIX.
    Any specialist has any experience?

    webster wrote:
    Hi, i am JSP newbie and faced a problems on JSP compatibility. Any expect can give me the answer?
    if I have a server OS is UNIX solaris, Can i develop JSP in Window, it will exist any problems when i move JSP to UNIX server?In theory no, you should not have problems.
    You should make sure though that
    - you will be using the same JSP/Servlet version in both places
    - you are not using components or code that relies on native elements. Like using the JdbcOdbcBridge driver is something to avoid.
    - you will have lots of time for testing.

  • Trouble installing/using SQL Developer on Windows 2008 R2

    I need help installing sql developer.
    I am running Windows 2008 R2.
    I tried installing the 64 bit version, and when it asked for the path to the JDK, it complains that it doesn't exists. Can someone PLEASE point me to which JDK I need to install?
    I tried installing the 32 bit versionand it installs fine, but then gives me the error that it can't load AMD 64-bit dll on a IA 32 bit platform.
    PLEASE HELP. How can I run SQL Developer on Windows 2008 R2?
    Links to the exact versions of what to install would be very very helpful.
    Thank you!

    The versions required are in the release notes.
    If you install the 64-bit SQLDeveloper you need a 64-bit JDK.
    If you install the 32-bit SQLDeveloper you need a 32-bit JDK.
    If your operating is 32-bit, you need a 32-bit SQLDeveloper.
    Note that you need a JDK not a JRE
    Edited by: Jim Smith on Apr 4, 2011 9:04 PM to fix 32/64 bit errors.

  • How to run a unix command in java

    Hi all,
    I need to run a unix command in my standalone java application.my java program is in windows.Is it possible to run unix command on windows system.help me out.
    I tried this
    Process p = Runtime.getRuntime().exec("ps -ef");
                BufferedReader stdInput = new BufferedReader(new
                     InputStreamReader(p.getInputStream()));
                BufferedReader stdError = new BufferedReader(new
                     InputStreamReader(p.getErrorStream()));i get IO Exception -Create Process ps-ef error=2

    If you want to run a command from java for a windows platform, you should check windows knows the command.
    So, load up a DOS prompt and type ps -ef and see what happens.

  • File(windows)---- xi ---- file(unix)

    Hi All,
    Our scenario is FILE(windows)-> XI -> FILE(unix).
    Our System is configured on J2SE and we have configured a local adapter engine for this.
    We have 3 folders at Source End say Source, OK and NOT OK.
    Our requirment is to move file to OK if the file transfer is sucess else the file should move to NOT OK.
    File Transfer may be failed due to System crash, receiver down etc.
    We are trying on BPM but we are not sure about the Filename which is must and should be same at both the ends i.e. Source and Target.
    ( We have tried FTP XI FTP, with delete and archive mode. In delete mode even though the receiver is down file is getting deleted at Source End and in MONI we can see a sucess message, Archive is not working properly giving Exception "com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation not complete" in our Company Server may be a Support pack issue).
    We are looking for Ideas to implement this scenario.
    Thanks,
    Nagraju

    This seems to be pretty good scenario...
    You are 100% right that simple usage of delete and archive modes shall not meet your criteria.
    I cannot give you a solution but an idea in which angle you can think on...
    You must handle file acknowledgements and develop a module accordingly and use it to do so.
    I shall also try to work on this and let you know if any.
    Thanks
    Kiran

  • Can't purchase Java Developer for windows CD

    Hi,
    Somehow when purchasing a Java Developer for Windows CD it always gives a web page with an error. Is there a way to avoid this error, or is there a phone number I can call to make that purchase?
    Thanks, Boris.
    P.S. The error page has this content:
    Error Occurred While Processing Request
    Error Diagnostic Information
    unknown exception condition
    PCodeDocumentNodeImp::prepareForExecution
    Date/Time: 11/10/03 10:47:12
    Browser: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
    Remote Address: 68.134.170.160
    HTTP Referer: http://www.oracle.com/webapps/techtracks/legal.jsp?tid=540&owner=1&opt1_rb=NewUser
    Template: E:\Inetpub\wwwroot\oracle-otngold\register.cfm
    Please inform the site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator).
    [Edited by: otngroup on Nov 10, 2003 10:25 AM]

    Basically you have a 99.9 percent Window's install so any Windows software issues are Microsoft problems.
    The only thing I can think of is the Microsoft servers were down briefly for maintenance or problems or maybe had a heavy load. If you were using the Auto update try going to the web site directly as they should be on another server.
    You might also try the Microsoft Window XP forums and see what you can find. Maybe search for: "Security Update stalls"?
    From what I've read just turning virus protection off doesn't work sometimes, you may have to UN-install it to get it to work.
    "Permissions" pertains to MAC SOFTWARE only. 3rd party software or Windows files are NOT affected at all by running permissions. Besides, it will only work on a HD with a Mac operating system anyway. You can't even select the Window partition in permissions to try it anyway.
    Good luck....

  • How to start or shut down database using sql developer in windows

    Dear Sir/Madam,
    how we start or shut down database using sql developer in windows
    we are using oracle 11g release2, unix, java & oracle oracle weblogic administration
    Thanks & Regards
    Manish Kumar
    Datbase Team
    TCS Ltd.

    HI, Welcome to OTN form,
    SHUTDOWN is not a SQL statement but a SQL*Plus command . You cannot use SHUTDOWN in PL/SQL.
    Check following link:
    http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve042.htm#i2699551
    More Information please check OTN discussion: https://forums.oracle.com/thread/2349159
    Thank you

  • IDOC to File Port on Windows Server from Unix SAP System

    Hi All:
    I want to use an IDOC to create a text file on a Windows server. The SAP system runs on Unix. I have no problem creating the text file on the same Unix server running the SAP instance but I can not figure out how to write the file to a share or UNC path on a Windows server. I tried to create a logical file path using transaction FILE and then create a logical port in WE21. The IDOC failed because it is still looking on the Unix server to write the file. Any ideas from the community would be greatly appreciated.

    Hmmm, there are probably lots of ways to skin this cat.
    To make the process asynchronous you probably want to be along the lines of either updating a table or placing a file on the Windows machine, and then having a database process or Windows program to watch for the file or database table entry and triggering your bat file when it appears.

  • Running a Unix script from a Java class

    I am trying to use SCP (Secure copy) to copy an xml file from my J2EE application to a remote Unix server using a Unix script. How can I run the Unix script from my Java class? I could not find any resource for this on the internet. Can someone help me with this please.
    Thanks

    I am trying this below program ,but i am getting the error please help me
    import com.jcraft.jsch.*;
    import com.jcraft.jsch.Channel;
    import com.jcraft.jsch.JSch;
    //import com.jcraft.jsch.JSchException;
    import com.jcraft.jsch.Session;
    //import com.jcraft.jsch.UserInfo;
    import java.io.*;
    public class testrad {
    public static void main(String args[])
    String user="usertvr";
    String host="5.34.12.1";
    String cmd="ls -l";
    JSch jsch = new JSch();
    try{
    Session session=jsch.getSession(user,host,22);
    session.setPassword("$yhaj23");
    //UserInfo usrInfo=new MyUserInfo();
    //session.setUserInfo(usrInfo);
    session.connect();
    Channel channel=session.openChannel("exec");
    ((ChannelExec) channel).setCommand(cmd);
    channel.setXForwarding(true);
    channel.connect();
    //code
    channel.setInputStream(System.in);
    // channel.setOutputStream(System.out);
    //((ChannelExec) channel).setErrStream(System.err);
    InputStream in = channel.getInputStream();
    channel.connect();
    byte[] tmp = new byte[1024];
    while (true)
    while (in.available() > 0)
    int i = in.read(tmp, 0, 1024);
    if (i < 0)
    break;
    System.out.print(new String(tmp, 0, i));
    if (channel.isClosed())
    in.close();
    // System.out.println("JSCH: exit-status: " +
    //channel.getExitStatus());
    break;
    try
    Thread.sleep(1000);
    catch (Exception ee)
    channel.disconnect();
    session.disconnect();
    }catch(Exception e)
    {e.printStackTrace();
    System.out.println("Exception"+e);}
    /*public static class MyUserInfo implements UserInfo {
    public String getPassword()
    { return "password"; }
    public String getPassphrase()
    { return ""; }
    public boolean promptPassword(String arg0)
    { return true; }
    public boolean promptPassphrase(String arg0)
    { return true; }
    public boolean promptYesNo(String arg0)
    { return true; }
    public void showMessage(String arg0)
    Here is the error
    com.jcraft.jsch.JSchException: UnknownHostKey: 5.128.0.10. RSA key fingerprint is 02:a0:d6:c0:6f:69:2c:a9:a7:fa:7c:71:1c:60:ed:57
         at com.jcraft.jsch.Session.checkHost(Unknown Source)
         at com.jcraft.jsch.Session.connect(Unknown Source)
         at com.jcraft.jsch.Session.connect(Unknown Source)
         at testrad.main(testrad.java:23)
    Exceptioncom.jcraft.jsch.JSchException: UnknownHostKey: 5.128.0.10. RSA key fingerprint is 02:a0:d6:c0:6f:69:2c:a9:a7:fa:7c:71:1c:60:ed:57
    Can some one help me please.
    I running this program from Windows to connect to remote unix boxes.

  • Run a UNIX Script from java

    Hi,
    how can i run a unix script from java application. This java application is on windows.
    How can i do this.
    thanks,

    Hi,
    how can i run a unix script from java application.
    This java application is on windows.
    So I think it's safe to assume that the target script is on a remote unix server.
    Take a look at http://sourceforge.net/projects/sshtools/

  • Importing from Windows - Exporting to Unix

    Hello Guys,
    I have this situation where the initial developement was done on a Windows box, but then the staging and production environments have been set up on unix servers.
    Q1: Is it possible to migrate the mappings created on Dev (windows) effectively to unix without needing re-work?
    Q2: What is the approach to go about this migration, if any?
    Q3: Do the OWB versions matter while import/export?
    Has anyone been through this problem before?
    Any help will be appreciated... Just give me your piece of mind on this...!!

    Hi ,
    You can do the following to export OWB metadata into mdl file .
    1. Login to OWB Client
    2. Goto Design
    3. Export
    4. Warehouse Builder Metadata
    You can specify the file location details .
    In order to Import OWB metadata from mdl file
    1. Login to OWB Client
    2. Goto Design
    3. Import
    4. Warehouse Builder Metadata
    It will ask for the mdl file location details
    Thanks,
    Sutirtha

  • Microsoft Windows Services for UNIX 3.5  - unable to sqlplus

    Hi,
    I have installed - Microsoft Windows Services for UNIX 3.5 on my pc running XP 2002 Service Pack2
    Unable to run sqlplus :
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    ORACLE_HOME=/dev/fs/D/oracle/product/10.2.0/db_1
    ORACLE_SID=orcl
    ORAHOME=/dev/fs/D/oracle/product/10.2.0/db_1
    ORASID=orcl
    LD_LIBRARY_PATH=/dev/fs/D/oracle/product/10.2.0/db_1/lib
    Thank you in advance!

    Hi,
    Thanks for your post.
    Did you refer to this article?
    Upgrading an Active Directory Domain from Windows Server 2003 to Windows Server 2008 or Windows Server 2008 R2
    http://blogs.msmvps.com/mweber/2010/02/10/upgrading-an-active-directory-domain-from-windows-server-2003-to-windows-server-2008-or-windows-server-2008-r2/
    Regards.
    Vivian Wang

Maybe you are looking for

  • A little clarification on URLVariables?

    I'm not entirely sure how to use it / what's the best approach here. I have a whole bunch of form fields that I need to send up to my online processing script - a couple of hundred or so. Am I right in thinking that the URLVariables constructor simpl

  • Send link to DPS Gallery

    Hi, How I can send my apple and Android app stores links to DPS Gallery from Adobe. Until last Viewer Builder update I could to send from Manage Panel...but now this option vanish. Any tip? Tks

  • Using a dongle with hotspots

    Cna you use the dongle when out and about with hotspots? do you have to log in differently? i.e. other than email and password. Does a dongle help with the connection?

  • Delete Sales order through BAPI_SALESORDER_CHANGE

    Hoi folks,..   Can we delete the entire Sales order using BAPI_SALESORDER_CHANGE.  If yes, pls let me know the process? Thx

  • Need advice: Accidentally applied the same patch twice

    So I fumbled with my 10 PuTTy sessions and accidentally typed opatch apply in server that I had already patched. It asked me if the system was ready for patching and I hit "yes". It started "Updating" some files and in a bit of a panic I probably did