Compiling and generate .fmx files on Linux
Hi, I have developed a form on windows XP in Forms 6i, Now I want to compile and generate .fmx on application server running on Linux.
through which user should I logon to application server ?which environment veriables need to be set to compile & generate the .fmx file ?
what is the command to generate .fmx file please explain the complete process.
Thanks & Regards,
what is Forms version in your Linux box.
Normally to generate .fmx you need execute privilege on the folder where you have your application files.
Similar Messages
-
Compile and generate using adadmin step cant display log file
Below is the output of the compile and generate step (1-4).
UTL_FILE.READ_ERROR DIRECTORY: LOG_INSTANCE_1703FILE: script_10438.sh.logProcess Returned: 0 Results in: /mwiz/oracle/mwizdb/10.2.0/eof/log/INSTANCE_1703/script_10438.sh (49 bytes)
I manually went and reviewed the logfile and everything seems like it ran fine and completed normally.
How do I correct this issue that it couldn't display the log?
Note, the logs from prior commands seem to have completed successfully.
Thanks, DeanI have only error seen the UTL_FILE.READ_ERROR as a result of improper configuration. It is an oracle package error. What is the RDBMS release running the MW tool?
This error is generated when the file permissions or owner are incorrect. I have logged a bug to have the entire 11i Pre-Upgrade Patching section removed. The patches being merged and applied are applied again later in the functional steps so that section is really not necessary. -
How to compile and run java files on a mac using command line?
can someone tell me or link me to some article on how to compile and run java files from command line on a mac? I have mac OS X leopard
What do you mean by "where to put them" ? What do you want to put anywhere ?
Have you read Peter's comment in brackets ? Perhaps you have a classpath problem ?
Edited by: Michael_Knight on Aug 31, 2008 4:23 AM -
Can I use RoboHelp to support localization and generate help files in multiple languages?
Hi,
Can I use RoboHelp to support localization and generate help
files in multiple languages?
Can I define a layout or template for RoboHelp to insert
localized strings into the template and generate a localized help
file?
Thanks!Hi newbie_r and welcome to the RH community.
You don't say what version of RH you have but the latest
version (RH7) has Unicode Support that allows you to produce help
files in most languages. The exceptions are mainly the right to
left languages (e.g. arabic, hebrew).
As far as the template is concerned, you can assign any text,
image to a template and it will be applied to any topics you assign
the template to.
If you haven't already, I'd download the trial version and
experiment a bit. Set up a template with what you want and then
create a couple of simple help files containing just a few topics
each. That will reassure you of RH7s capabilities in this
area. -
Create Zip File In Windows and Extract Zip File In Linux
I had created a zip file (together with directory) under Windows as follow (Code are picked from [http://www.exampledepot.com/egs/java.util.zip/CreateZip.html|http://www.exampledepot.com/egs/java.util.zip/CreateZip.html] ) :
package sandbox;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
* @author yan-cheng.cheok
public class Main {
* @param args the command line arguments
public static void main(String[] args) {
// These are the files to include in the ZIP file
String[] filenames = new String[]{"MyDirectory" + File.separator + "MyFile.txt"};
// Create a buffer for reading the files
byte[] buf = new byte[1024];
try {
// Create the ZIP file
String outFilename = "outfile.zip";
ZipOutputStream out = new ZipOutputStream(new FileOutputStream(outFilename));
// Compress the files
for (int i=0; i<filenames.length; i++) {
FileInputStream in = new FileInputStream(filenames);
// Add ZIP entry to output stream.
out.putNextEntry(new ZipEntry(filenames[i]));
// Transfer bytes from the file to the ZIP file
int len;
while ((len = in.read(buf)) > 0) {
out.write(buf, 0, len);
// Complete the entry
out.closeEntry();
in.close();
// Complete the ZIP file
out.close();
} catch (IOException e) {
e.printStackTrace();
The newly created zip file can be extracted without problem under Windows, by using [http://www.exampledepot.com/egs/java.util.zip/GetZip.html|http://www.exampledepot.com/egs/java.util.zip/GetZip.html]
However, I realize if I extract the newly created zip file under Linux, using modified version of [http://www.exampledepot.com/egs/java.util.zip/GetZip.html|http://www.exampledepot.com/egs/java.util.zip/GetZip.html] . The original version doesn't check for directory using zipEntry.isDirectory()).public static boolean extractZipFile(File zipFilePath, boolean overwrite) {
InputStream inputStream = null;
ZipInputStream zipInputStream = null;
boolean status = true;
try {
inputStream = new FileInputStream(zipFilePath);
zipInputStream = new ZipInputStream(inputStream);
final byte[] data = new byte[1024];
while (true) {
ZipEntry zipEntry = null;
FileOutputStream outputStream = null;
try {
zipEntry = zipInputStream.getNextEntry();
if (zipEntry == null) break;
final String destination = Utils.getUserDataDirectory() + zipEntry.getName();
if (overwrite == false) {
if (Utils.isFileOrDirectoryExist(destination)) continue;
if (zipEntry.isDirectory())
Utils.createCompleteDirectoryHierarchyIfDoesNotExist(destination);
else
final File file = new File(destination);
// Ensure directory is there before we write the file.
Utils.createCompleteDirectoryHierarchyIfDoesNotExist(file.getParentFile());
int size = zipInputStream.read(data);
if (size > 0) {
outputStream = new FileOutputStream(destination);
do {
outputStream.write(data, 0, size);
size = zipInputStream.read(data);
} while(size >= 0);
catch (IOException exp) {
log.error(null, exp);
status = false;
break;
finally {
if (outputStream != null) {
try {
outputStream.close();
catch (IOException exp) {
log.error(null, exp);
break;
if (zipInputStream != null) {
try {
zipInputStream.closeEntry();
catch (IOException exp) {
log.error(null, exp);
break;
} // while(true)
catch (IOException exp) {
log.error(null, exp);
status = false;
finally {
if (zipInputStream != null) {
try {
zipInputStream.close();
} catch (IOException ex) {
log.error(null, ex);
if (inputStream != null) {
try {
inputStream.close();
} catch (IOException ex) {
log.error(null, ex);
return status;
*"MyDirectory\MyFile.txt" instead of MyFile.txt being placed under folder MyDirectory.*
I try to solve the problem by changing the zip file creation code to
+String[] filenames = new String[]{"MyDirectory" + "/" + "MyFile.txt"};+
But, is this an eligible solution, by hard-coded the seperator? Will it work under Mac OS? (I do not have a Mac to try out)
p/s To be honest, I do a cross post at [http://stackoverflow.com/questions/2549766/create-zip-file-in-windows-and-extract-zip-file-in-linux|http://stackoverflow.com/questions/2549766/create-zip-file-in-windows-and-extract-zip-file-in-linux] Just want to get more opinion on this.
Edited by: yccheok on Apr 26, 2010 11:41 AMYour solution lies in the File.separator constant; this constant will contain the path separator that is used by the operating system. No need to hardcode one, Java already has it.
edit: when it comes to paths by the way, I have the bad habit of always using the front slash ( / ). This will also work under Windows and has the added benefit of not needing to be escaped. -
Do java programms after giving compilation error generates .class file?
Do java programms after giving compilation error generates the .class file?
Do any outer class may have the private as access modifier?
If someone asks you that -do any program in java after giving a compilation error gives the .class file -do any class except(inner class)
be defined as private or static or protected or abc or xxx Now type the
following program
private class test
public static void main(String s[])
System.out.println("Hello!How are You!!");
-Compile it.... You must have
received this error test.java:1:The type type can't be private. Package members are always accessible within the current package. private class
test ^ 1 error
Here please notify that compiler has given the
error not the warning therfore .class file should not be created but now type
>dir *.class
___________ and you will see that the
test.class file existing in the directory nevertheless this .class file
is executable. if you will type __________________ >java test
it will
wish you Hello! and suerly asks you that How are You!! ________________!
You can test it with the following as acces modifiers and the progrm will run Ofcourse it will give you compilation error.
protected
xxx
abc
xyz
private
Do you have any justification?Hmm,
I've been working with different versions of jdk since, if I'm not mistaken, jdk1.0.6 and never was able to get *.class with compilation errors. It was true for Windows*, Linux, and Solaris*.
About the 'private'/'protected' modifier for the type (class) - it makes perfect sence not to allow it there: why would anyone want to create a type if no one can access it? There should be a reason for restricting your types - let's say, any inner class can be private/protected.
For ex., you shouldn't have compile problems with this:
class Test
public static void main(String s[])
System.out.println("Hello!How are You!!");
private class ToTest{}
Sorry, but I don't really know where you can read up on that. -
Deploying forms ie .fmx files through linux
hello,
need some help.
have to deploy my .fmx files on to the web through linux.
but not beeen able to do that.
have ias and the stuff.
everytime i try to deploy the same it gives a error message saying that some files are missing.
do i have to recomplie the form in linux.
do i have to forms developer on linux.you just need forms6i for linux.
you need to send the fmbs, plls to linux and compile them.
Setting up the server is not too bad hunting around here helped but the documentation is okay.
Steve -
Forms tool not generating FMX file - HELP!
I'm trying to generate a .FMX file. My problem is, is that Forms very rarely creates one when the form is Compiled.
Very occasionally a file is produced, but I can't figure out the conditions when it does.
I've tried deleting an existing .FMX file.
I've tried closing the form and reopening it.
I've tried completely shutting down the session and opening a new one. (This worked once)
I've tried opening a different form first.
I've tried both Module compiles and Incremental compiles first before a Compile All.
Is there a flag or setting somewhere that is stopping the FMX file from being produced.
Message was edited by:
JA12
Thanks - found the icon...This is the build information...
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production -
Reports 6.0 and Parameter Lists and Generate to File
I am using the run_product built in from Forms 6.0 and opening
up a report passing it several parameters via a parameter list.
Everything works great when previewing the report.
There is the option in the report preview under File -> Generate
to File. When I generate a report to file using any type of
format it appears that the report does not use the parameters
that I passed in originally from the form. It appears that it
looses all the parameters I passed in. This is most concerning
to me. Am I doing something wrong or is this a "feature" I
didn't know about? I really would like users to have this
ability.
nullYes I guess this will work, but the option to generate to file
is extremely misleading if you ask me. This option should
generate the current report with the current parameters. This
is unacceptable as far as I am concerned and should be
considered a bug. Oracle needs to give us more control over
FORMS and REPORTS into all too many situations I have been
frustrated because I am not able to do something that I want to
do.
I feel in general REPORTS object is very limited compared to
crystal reports....
Dan Paulsen (guest) wrote:
: Give the user the option on the calling form whether to save
the
: report to file or just view it. If they want to save to file,
: pass the parameter to save to file when you call the report
and
: suppress the parameter form, this will eliminate the problem.
: Spencer Tabbert (guest) wrote:
: : I am using the run_product built in from Forms 6.0 and
opening
: : up a report passing it several parameters via a parameter
: list.
: : Everything works great when previewing the report.
: : There is the option in the report preview under File ->
: Generate
: : to File. When I generate a report to file using any type of
: : format it appears that the report does not use the
parameters
: : that I passed in originally from the form. It appears that
it
: : looses all the parameters I passed in. This is most
: concerning
: : to me. Am I doing something wrong or is this a "feature" I
: : didn't know about? I really would like users to have this
: : ability.
null -
Can a Compiled and saved AppleScript File be modified?
What I mean is, If i were to create an AppleScript file with default variable, functions etc. Could I,say sometime in the future, edit those variables dynamically?
So for example, I have a script file that customizes an XCode project and creates an .app file and an .ipa file. Would it be possible to edit the Applescript file, thereby generating a new .app and .ipa file?
Send Parameters to -----> Default AppleScipt file ---> Modified AppleScript File ----> New .app and .ipa FileHello
You can use "load script" command and modify the properties of loaded script. Something like this:
[1] a.scpt is assumed to be coded :
property p : 0
tell application "SystemUIServer"
activate
display dialog "p = " & p
end tell
[2] When b.scpt is opened in AppleScript Editor, decompiled source shows exactly the same as a.scpt
although its property p's current value is not 0 but 1 as set in this script.
In other words, decompiled source code shows static value as defined in source code
whilst the loaded script stores and uses dynamic value at runtime.
-- load script
set f to (path to desktop)'s POSIX path & "a.scpt" -- [1]
set o to load script POSIX file f
-- run it (p = 0)
tell o to run
-- modify it
set o's p to 1
-- run it (p = 1)
tell o to run
-- store modified script to new file
set f1 to (path to desktop)'s POSIX path & "b.scpt" -- [2]
store script o in POSIX file f1 with replacing
-- load modified script from file
set o1 to load script POSIX file f1
-- run it (p = 1)
tell o1 to run
If you want to modify the source code, you may use osadecompile(1) and osacompile(1). Something like this:
#!/bin/bash
cd ~/desktop || exit
osadecompile a.scpt | perl -CSDA -lpe 's/property p : 0/property p : 2/' | osacompile -o c.scpt
osascript c.scpt
Or to run modified script without saving:
#!/bin/bash
cd ~/desktop || exit
osadecompile a.scpt | perl -CSDA -lpe 's/property p : 0/property p : 2/' | osascript -
* The above is true for plain AppleScript script. Don't know about AppleScriptObjC script. Also in recent OSes, applet might need to be re-signed after modification.
Regards,
H -
Compile and the .pas file
Greetings everyone~
I have gotten familar with webhelp however i have to update
some old program help files and we are using delphi and I need to
compile with the .pas file. I was able to successfully compile but
it seems everytime I restart the program all the topic id changes I
made revert back to the original. Anyone have any advice on why
this happens to me? Been working on the same help since Tuesday
(last week)
Jamesjar92380 -
Not sure where the .pas file fits here - can't offer advice
on compiling Pascal or C# - not within this forums' scope. But if
you are having trouble saving the properties of the help system
topics, perhaps you could provide more information. What version of
RoboHelp are you using - Robohelp for Word, or html? Is this
project on a network? Can you save a change in a file at
all? -
How to read multiple files and generate multiple files
Dear all, I would like to process some LTE measurement files. Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
Attachments:
RF Analyze IQ File.vi 46 KBThere is no official "bin" format and I am confused by some of your statements:
Kiwibunny wrote:
Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
What you could do is use "list folder" with *.bin as pattern, and use a FOR loop and iterate over all *.bin files found in a selected folder.
In any case, your code uses some weird constructs and you seem to do way to much. Are you using "continuous run" mode? Don't!
Use a proper state machine instead ot these stalling loops. Why do you need to query the queue after each enqueue? Why do you need a queue at all?
LabVIEW Champion . Do more with less code and in less time . -
How to Read and Generate XML file from java code.
hi guys,
how to read the xml file (Condition :we know only DTD or Shema only).
How to Generate the new xml file ?(using Shema )
And one more how directly Generate the xml from DB?
Pleas with code or any URLUsing XMLbeans you can generate Java objects from an XSD schema (perhaps DTDs aswell)
Then you can create an instance of the Document object and ask it to write itself.
This will create an XML document complient to the schema.
XMLBeans generates a "type" safe DOM where you can only ever have a structure compilent to you schema.
matfud -
CFMX7 cfserver.log and exception.log files on Linux
Is there any way to make these log files CF Admin viewer
friendly in Linux? The CF Admin log viewer doesn't have any sorting
or filtering capabilities for these files and they start at the
beginning of the log file. So it'll show me for example, 1 - 40 of
54376 and I have to hit next, next, next, next, etc... to see the
most recent activity. There's no last page button, which makes it
impossible to use. I know I can cat the dang thing to the screen or
use another linux utility but shouldn't this work in the CF Admin?
Anyone have a tweak that does this? I'm sure there's an xml
file somewhere I can change < log-usability
logfile="exception.log" value="unusable" /> to <
log-usability logfile="exception.log" value="admin-friendly" />.
Thanks in advance.Is there any way to make these log files CF Admin viewer
friendly in Linux? The CF Admin log viewer doesn't have any sorting
or filtering capabilities for these files and they start at the
beginning of the log file. So it'll show me for example, 1 - 40 of
54376 and I have to hit next, next, next, next, etc... to see the
most recent activity. There's no last page button, which makes it
impossible to use. I know I can cat the dang thing to the screen or
use another linux utility but shouldn't this work in the CF Admin?
Anyone have a tweak that does this? I'm sure there's an xml
file somewhere I can change < log-usability
logfile="exception.log" value="unusable" /> to <
log-usability logfile="exception.log" value="admin-friendly" />.
Thanks in advance. -
Printing with FF 4.0 is slow and generated print files are huge
I tried the RC and released versions of Firefox 4.0 and found the printer module(?) doesn't work as it did in version 3.x
If I print to my laser printer it generates each page slowly (I'm guessing it turns it into graphics) or if I print to a PDF file instead of being a few hundred kilobytes in size, the files are megabytes long.
Is there a way to make Firefox 4 print the way 3.x pronted? I downgraded to 3.6.16 and the problem went away. Other browsers also print normally.
I'm on Windows 7 SP1 64-bit.I am having the same problem with FF 4.01. I have two computers, both newer Dell laptops with Win 7 pro. Both have the same printer drivers installed, including Cute PDF which in particular is what I'm having the problem with. One computer prints to Cute PDF perfectly fine, giving a reasonably small file as a result (e.g. this page here is 187kb as a PDF). The other computer produces enormous files (this same page is 1.1mb!!!). Both computers have all the latest Windows updates. On the computer which is producing the large PDFs, I tried numerous other PDF printing programs including Adobe Acrobat 9. All of them produce large files. This only happens in FF - IE and Chrome produce reasonably-sized files. (Chrome, incidentally, has the smallest file size!)
I love FF but I produce a lot of PDFs of a custom web application, and I can't do them in FF any more. *cough*Chromeworksbetterforthis*cough*
If I find a solution, I'll post it here.
Maybe you are looking for
-
Cannot use Toolbar in message mapping function
In my SAP XI, tool bar is disable even in edit mode. See example in <a href="http://tubeimage.com/viewer.php?file=le1mkpxecuxuwlzxjzol-SAP-XI-.png">http://tubeimage.com/viewer.php?file=le1mkpxecuxuwlzxjzol-SAP-XI-.png</a> ( in red box ) How to make
-
Won't go to sleep when I close the lid
When I close the lid of my Macbook Pro (running Lion) it doesn't realy go to sleep. When I open the lid the screen goes black. Does anyone know what the issue is? Thanks
-
iPad MAPs: used to be able to enter 2 locations and instantly get directions. Came home from Europe and it no longer calculates directions. Did I need to changes something in settings?.
-
Question of multiple interface
I have two interface as below: public interface A{ void hello(); public interface B{ void hello(); I want a class named ABImpl to implements both A and B with different code. How can deal with this? thanks. My tester class is as below. public class T
-
No me deja acceder a fotos desde otras apps y ya fui a lo de privacidad
privacidad fotos no aparecen las apps para permitir el ingreso a los fotos