Form compiling with a library.....

Hello folks, i have this issue.
I develop an oracle form with an attached library on my windows developer suite, which worked perfectly.
but when i tried to deployed on my application server i got errors on compilation time, the error was on a procedure that is defined in the attached library.
my question is there a specific way to compile a form with it attached library on application server under HP-Ux ?????????????
It is strange because i eliminate the non-portable path when compiling the form, and i compiled the library on the application server and got the .plx version of it.
please help

Just first compile your .pll and next the form. Please mind all paths (or put them in the same directory). This should work like a charm. The compiler will give you an error file after compilation. This error file can help you solving path issues that can cause errors like this.

Similar Messages

  • 10g Forms Builder with error "cannot attach library" opening R12 fmb file

    Hi all,
    I had set up my Forms Builder with all the necessary PLL and FMB files for developing R12 custom forms. I have used the builder to do few custom PLLs and one custom form, and I did not have any problem opening seeded Oracle Forms. Today when I need to enhance that custom form I did 2 weeks ago and I opened Forms Builder, I got the error "Cannot attach library.." for APPCORE, APPDAYPK, etc.. Same error for opening TEMPLATE.fmb.
    I have done these to troubleshoot:
    1) I verified my Windows XP registry "FORMS_PATH" to include the folder where I store all the PLLs and FMBs.
    2) I updated default.env to include that file path.
    3) I create shortcut to Forms Builder and put folder path with PLLs under the "Start in" field of the shortcut.
    4) I rebooted my machine after changing the registry
    5) I moved the folder with PLLs to under C:; I seperate PLL to "resource" sub-folder and FMB to forms/US/ sub-folder just like the server structure.
    6) I install one more copy of Developer 10G Suite and set up the registry.
    None of these work and the key is it used to work with no issue. Any suggestions what may be the problems?
    Thanks!
    Mike.

    Turned out I reloaded all the $AU_TOP forms and PLLs to my desktop and it worked fine. I think I did not FTP correctly the first time.

  • Compiling program VC++ (and ComponentWork++) in release's mode with static library ...

    When i try to compil the program, there are conflicts between "nafxcw.lib" and an other library. The conflicts doesn't exist when i compil the program with shared library. Can you help me ?
    my OS is Windows NT 4.0
    thanks

    Which "other library" does nafxcw.lib conflict with? Nafxcw.lib is an mfc library and is not distributed with Componentworks++.
    When you say the conflict does not exist when you use the shared library, are you talking about the selection in the Measurement Studio App Wizard where it asks how you want to access the mfc library? What exactly is the conflict that you get?
    In general I would always select to use the mfc library as a shared dll, because it is a known issue to statically link the library into any arbitrary project, not just a Componentworks++ project.
    Jason Foster
    Application Engineer
    National Instruments
    www.ni.com/ask

  • Can't find library when compiled with debugging

    Hi all,
    Compiling this code segment cannot find a library when using -g
    bash-3.2$ cat tester.cc
    #include <iostream>
    #include <string>
    using namespace std ;
    static void
    myRoutine()
    string str= "this is in routine" ;
    string str3 ;
    str3 = str.substr(11,7) ;
    if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    cout << "this is str3 - " << str3 << endl ;
    int main(int argc, char **argv)
    string str = "this is a test" ;
    string str1, str2 ;
    str1 = str.substr(0,4) ;
    str2 = str.substr(10,4) ;
    cout << "this is str1 - " << str1 << endl ;
    cout << "this is str2 - " << str2 << endl ;
    myRoutine() ;
    return 0 ;
    bash-3.2$ CC -g -o tester tester.cc
    bash-3.2$ ldd tester
         libCstd.so.1 =>     /usr/lib/libCstd.so.1
         libCstd.so.1 (SUNW_1.4.2) =>     (version not found)
         libCrun.so.1 =>     /usr/lib/libCrun.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
    If I comment out:
    if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    bash-3.2$ cat tester.cc
    #include <iostream>
    #include <string>
    using namespace std ;
    static void
    myRoutine()
    string str= "this is in routine" ;
    string str3 ;
    str3 = str.substr(11,7) ;
    // if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    cout << "this is str3 - " << str3 << endl ;
    int main(int argc, char **argv)
    string str = "this is a test" ;
    string str1, str2 ;
    str1 = str.substr(0,4) ;
    str2 = str.substr(10,4) ;
    cout << "this is str1 - " << str1 << endl ;
    cout << "this is str2 - " << str2 << endl ;
    myRoutine() ;
    return 0 ;
    bash-3.2$ CC -g -o tester tester.cc
    bash-3.2$ ldd tester
         libCstd.so.1 =>     /usr/lib/libCstd.so.1
         libCrun.so.1 =>     /usr/lib/libCrun.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
    Or if I remove -g:
    bash-3.2$ cat tester.cc
    #include <iostream>
    #include <string>
    using namespace std ;
    static void
    myRoutine()
    string str= "this is in routine" ;
    string str3 ;
    str3 = str.substr(11,7) ;
    if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    cout << "this is str3 - " << str3 << endl ;
    int main(int argc, char **argv)
    string str = "this is a test" ;
    string str1, str2 ;
    str1 = str.substr(0,4) ;
    str2 = str.substr(10,4) ;
    cout << "this is str1 - " << str1 << endl ;
    cout << "this is str2 - " << str2 << endl ;
    myRoutine() ;
    return 0 ;
    bash-3.2$ CC -o tester tester.cc
    bash-3.2$ ldd tester
         libCstd.so.1 =>     /usr/lib/libCstd.so.1
         libCrun.so.1 =>     /usr/lib/libCrun.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
    then I can run successfully
    Any thoughts or hints?
    bash-3.2$ CC -V
    CC: Sun Ceres C++ 5.10 SunOS_i386 2008/07/10
    Usage: CC [ options ] files. Use 'CC -flags' for details
    bash-3.2$ uname -a
    SunOS alpha 5.11 snv_86 i86pc i386 i86pc
    Thanks,
    Jim

    Ack! Please ignore my earlier posting. I did not play close enough attention to details in your post. I apologize for the confusion. Let me start over:
    The Studio Express release you have contains a newer version of the C++ runtime library libCstd.so.1 than is available yet in Solaris patches. We bump the internal version number when we add new interfaces. The internal version number of the Studio Express library is SUNW_1.3.2. The version of the latest release Solaris patch is SUNW_1.3.1.
    Some new string class operator functions are in version SUNW_1.3.2. I think these are also defined as inline functions in the compiler headers. When you compile with -g, inlining is disabled, and you create a dependency on library version SUNW_1.3.2. (Compiling with -g0 allows function inlining, and might resolve your problem, but read on.)
    We have not released a libCstd.so.1 with internal version SUNW_1.4.2, so I don't understand how that version number could appear in an error message. Did you really see that version, or is it a transcription error? For now, let's assume it is a transcription error.
    When you compile and link with CC, the program gets a runpath pointing into the compiler installation area. At program run time, the loader looks for libraries in directories listed in the runpath, with /lib and /usr/lib as last resort. The "ldd" command reports what the runtime loader will do regarding dependent libraries.
    If the compiler is installed in /opt, a 32-bit program gets a runpath that includes /opt/SUNWspro/lib. In that directory in Sun Studio Express is a symbolic link that points to ../prod/usr/lib/libCstd.so.1, the library with version SUNW_1.3.2.
    If you try this:
    % /opt/SUNWspro/bin/CC hello.cc
    % ldd a.out
    you should see, among other things,
    libCrun.so.1 => /opt/SUNWspro/lib/libCstd.so.1
    (Depending on the OS version, you might see
    libCrun.so.1 => /opt/SUNWspro/prod/usr/lib/libCstd.so.1 instead.)
    But if ldd can't resolve the library, you probably have a corrupted Sun Studio Express installation. In that case, uninstall it, and reinstall from a fresh download.
    If you run the program on a different computer where Sun Studio Express is not installed, the loader won't be able to find the right library version, and you will get "not found" results. I addressed this issue in another thread:
    http://forums.sun.com/thread.jspa?threadID=5340163

  • Webutil form compilation error

    Hi all
    I configured webutil on Application server 10g on linux. but when i compile the demo form on application server using
    /u01/app/oracle/OraHome_2/bin/frmcmp.sh module=$ORACLE_HOME/forms/WU_TEST_106.fmb userid=webutil/webutil@orant module_type=form compile_all=yes OUTPUT_FILE=$ORACLE_HOME/forms/WU_TEST_106.fmx
    it give me the errors
    FRM-18108: Failed to load the following objects.
    Source Module:webutil.olb
    Source Object: WEBUTIL
    Compiling procedure GET_CLIENTINFO...
    Compilation error on procedure GET_CLIENTINFO:
    PL/SQL ERROR 201 at line 3, column 35
    identifier 'WEBUTIL_CLIENTINFO.GET_USER_NAME' must be declared
    PL/SQL ERROR 0 at line 3, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 4, column 35
    identifier 'WEBUTIL_CLIENTINFO.GET_IP_ADDRESS' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compilation errors have occurred.
    Form not created
    ==========================================
    i search a lot but failed ..
    any solution regarding this plz thanks in advance.

    [oracle@appserver ~]$ /u01/app/oracle/OraHome_2/bin/frmcmp_batch.sh module=$ORACLE_HOME/forms/webutil.pll userid=webutil/webutil@orant module_type=library compile_all=yes OUTPUT_FILE=$ORACLE_HOME/forms/webutil.plx
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (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
    Compiling library WEBUTIL...
    Invalidating Package Spec CLIENT_IMAGE......
    Invalidating Package Spec CLIENT_OLE2......
    Invalidating Package Spec CLIENT_TEXT_IO......
    Invalidating Package Spec CLIENT_TOOL_ENV......
    Invalidating Package Spec CLIENT_WIN_API_DEBUG......
    Invalidating Package Spec CLIENT_WIN_API......
    Invalidating Package Spec CLIENT_WIN_API_ENVIRONMENT......
    Invalidating Package Spec CLIENT_WIN_API_PRELOAD......
    Invalidating Package Spec JAVA_EXCEPTION......
    Invalidating Package Spec WEBUTIL_BROWSER......
    Invalidating Package Spec WEBUTIL_CLIENTINFO......
    Invalidating Package Spec WEBUTIL_C_API......
    Invalidating Package Spec JAVA_SYSTEM......
    Invalidating Package Spec JAVA_APPSERV_READER......
    Invalidating Package Spec DELIMSTR......
    Invalidating Package Spec WEBUTIL_FILE......
    Invalidating Package Spec JAVA_APPSERV_WRITER......
    Invalidating Package Spec WEBUTIL_DB_LOCAL......
    Invalidating Package Spec JAVA_FILE......
    Invalidating Package Spec WEBUTIL_FILE_TRANSFER......
    Invalidating Package Spec WEBUTIL_HOST......
    Invalidating Package Spec WEBUTIL_SEPARATEFRAME......
    Invalidating Package Spec WEBUTIL_CORE......
    Invalidating Package Spec WEBUTIL_SESSION......
    Invalidating Package Spec WEBUTIL_UTIL......
    Invalidating Package Body WEBUTIL_UTIL......
    Invalidating Package Body WEBUTIL_SESSION......
    Invalidating Package Body WEBUTIL_SEPARATEFRAME......
    Invalidating Package Body WEBUTIL_HOST......
    Invalidating Package Body WEBUTIL_FILE_TRANSFER......
    Invalidating Package Body WEBUTIL_FILE......
    Invalidating Package Body WEBUTIL_DB_LOCAL......
    Invalidating Package Body WEBUTIL_C_API......
    Invalidating Package Body WEBUTIL_CORE......
    Invalidating Package Body WEBUTIL_CLIENTINFO......
    Invalidating Package Body WEBUTIL_BROWSER......
    Invalidating Procedure Body SHOW_WEBUTIL_INFORMATION......
    Invalidating Package Body JAVA_SYSTEM......
    Invalidating Package Body JAVA_FILE......
    Invalidating Package Body JAVA_EXCEPTION......
    Invalidating Package Body JAVA_APPSERV_WRITER......
    Invalidating Package Body JAVA_APPSERV_READER......
    Invalidating Package Body DELIMSTR......
    Invalidating Package Body CLIENT_WIN_API_PRELOAD......
    Invalidating Package Body CLIENT_WIN_API_ENVIRONMENT......
    Invalidating Package Body CLIENT_WIN_API_DEBUG......
    Invalidating Package Body CLIENT_WIN_API......
    Invalidating Package Body CLIENT_TOOL_ENV......
    Invalidating Package Body CLIENT_TEXT_IO......
    Invalidating Package Body CLIENT_OLE2......
    Invalidating Package Body CLIENT_IMAGE......
    Invalidating Procedure Body CLIENT_HOST......
    Invalidating Function Body CLIENT_GET_FILE_NAME......
    Compiling Package Spec CLIENT_IMAGE......
    Compiling Package Spec CLIENT_OLE2......
    Compiling Package Spec CLIENT_TEXT_IO......
    Compiling Package Spec CLIENT_TOOL_ENV......
    Compiling Package Spec CLIENT_WIN_API_DEBUG......
    Compiling Package Spec CLIENT_WIN_API......
    Compiling Package Spec CLIENT_WIN_API_ENVIRONMENT......
    Compiling Package Spec CLIENT_WIN_API_PRELOAD......
    Compiling Package Spec JAVA_EXCEPTION......
    Compiling Package Spec WEBUTIL_BROWSER......
    Compiling Package Spec WEBUTIL_CLIENTINFO......
    Compiling Package Spec JAVA_SYSTEM......
    Compiling Package Spec JAVA_APPSERV_READER......
    Compiling Package Spec DELIMSTR......
    Compiling Package Spec WEBUTIL_FILE......
    Compiling Package Spec JAVA_APPSERV_WRITER......
    Compiling Package Spec WEBUTIL_DB_LOCAL......
    Compiling Package Spec JAVA_FILE......
    Compiling Package Spec WEBUTIL_FILE_TRANSFER......
    Compiling Package Spec WEBUTIL_HOST......
    Compiling Package Spec WEBUTIL_SEPARATEFRAME......
    Compiling Package Spec WEBUTIL_CORE......
    Compiling Package Spec WEBUTIL_SESSION......
    Compiling Package Spec WEBUTIL_UTIL......
    Compiling Package Body WEBUTIL_UTIL......
    Compiling Package Body WEBUTIL_SESSION......
    Compiling Package Body WEBUTIL_SEPARATEFRAME......
    Compiling Package Body WEBUTIL_HOST......
    Compiling Package Body WEBUTIL_FILE_TRANSFER......
    Compiling Package Body WEBUTIL_FILE......
    Compiling Package Body WEBUTIL_DB_LOCAL......
    Compiling Package Body WEBUTIL_C_API......
    Compiling Package Body WEBUTIL_CORE......
    Compiling Package Body WEBUTIL_CLIENTINFO......
    Compiling Package Body WEBUTIL_BROWSER......
    Compiling Procedure Body SHOW_WEBUTIL_INFORMATION......
    Compiling Package Body JAVA_SYSTEM......
    Compiling Package Body JAVA_FILE......
    Compiling Package Body JAVA_EXCEPTION......
    Compiling Package Body JAVA_APPSERV_WRITER......
    Compiling Package Body JAVA_APPSERV_READER......
    Compiling Package Body DELIMSTR......
    Compiling Package Body CLIENT_WIN_API_PRELOAD......
    Compiling Package Body CLIENT_WIN_API_ENVIRONMENT......
    Compiling Package Body CLIENT_WIN_API_DEBUG......
    Compiling Package Body CLIENT_WIN_API......
    Compiling Package Body CLIENT_TOOL_ENV......
    Compiling Package Body CLIENT_TEXT_IO......
    Compiling Package Body CLIENT_OLE2......
    Compiling Package Body CLIENT_IMAGE......
    Compiling Procedure Body CLIENT_HOST......
    Compiling Function Body CLIENT_GET_FILE_NAME......
    Done.
    [oracle@appserver ~]$
    here is the code how i compile webutil.. its done sucessfully.

  • Forms debugger with attached libraries

    Hi
    Is it possible to use the forms debugger with attached libraries ? ( 9I 10g )
    And how to do that if it is possible ?
    thanks

    In fact there is no problem, I had a procedure with a "procedure spec" in my attached library and that caused a PL/SQL problem when I tried to call my procedure. The code in the procedure was never executed and I got no result with the debugger.
    I don't understand why Forms allows me to create a "procedure spec" for an alone procedure in the library ( not in a package ). I got no compilation error for it and the library was generated as well. But there is an error at runtime.
    sorry.

  • Can Oracle Forms compiled in 32-bit run in 64 bit without recompile ?

    My customer has a development machine running on HP-UX 10.2 and a production machine running on HP-UX 11.0 installed with 9IAS form server. Can Oracle Developer 6i be installed on the HP-UX 10.2 32-bit machine and the oracle forms compiled in a 32-bit machine be run on a HP-UX 64-bit machine ?
    Can somebody help ?

    Boy, this was a long time ago and not intended to reply to this particular question but for sharing my experience with 6i client/server development on linux 32bit and running (client/server deployment) on 64bit linux. I don't believe there is a 64bit 6i forms developer - it is 32 bit, so development must be on 32 bit and when you run on 64bit, then you will have library (missing) problems. My solution was to create a custom runtime which included all the related system libraries from the 32 bit for the client/server. This forms 6i custom runtime for client/server also included the patchset 18 and the 10g R2 instant client for sqlplus (to support xquery). All the forms development modules, make files, graphics, docs, etc was stripped out and then it became a lean client/server runtime for Linux (for both 32bit and 64bit). This custom runtime for client/server is technically not supported by Oracle and the 6i is close to its obsolescence (2008) - but it has been tested against 8,8.1.7.4, 9.2.0.8, 10g (R1 and R2) and XE and works like a champ. This does NOT work for 6i web deployment.

  • Forms Compiler v/s Forms IDE for 6i

    I have a case where if I use the Forms 6i ide to compile my forms when I run the form I have the case when I exit the form something has changed. :system.form_status is actually changed and it wants to save the work. But in reality nothing has changed. If I compile this same form outside the forms 6i ide with the forms compiler I don't see this problem. Any ideas?

    Hi
    My guess is that, for some reason, the Form Builder IDE is using an object library (or something like that) other than the Form compiler utility is using.
    If it's not the case... Well, I always supposed that both ways should generate exactly equal fmxs...
    hth

  • Passing arrays with Call Library Function does not work after application builder

    Calling a DLL with Call Library Function which requires an array of data works correctly in Labview, but after building an exe with application builder, the call no longer works.  Dereferecing the pointer in the DLL retuns all 0s and not the actual values.
    Solved!
    Go to Solution.
    Attachments:
    TEST.zip ‏28 KB

    I did not run your code because it is a little unclear to me what it does.
    Two things:
    First, is the DLL you are calling the DLL-ified version of PopUpNames.vi? Then the problem is likely that the panel is not being built into the DLL.
    When LabView builds an application / dll, it strips the front panel and block diagram from all VIs that it doesn't think need to show a panel at run time. This reduces file size and increases code security. The App Builder's panel inclusion logic can be overridden by Build Specifications -> Source File Settings -> Remove front panel. A better method is to put a property node on a control in a window you want to show marking it "visible"; this is sufficient to tell the App Builder it should keep the panel.
    Currently Source File Settings shows "no dependencies" (clearly incorrect---another evil side effect of Express VIs I guess) but if you change the settings as shown below to keep ALL panels, one might hope the App Builder can figure it to keep the panel when it deconstructs the Express VI. (Alternatively convert the Express VI into a regular one.)
    A second comment: I am a bit flummoxed at the larger goal here. You are calling LabView DLL from LabView, which doesn't make a lot of sense, so I assume your larger goal is to call LabView from C or vice-versa. In that case be aware that your DLL is x86 (32-bit) but you are passing 64-bit ints as your pointers. In this case it is 32-bit LabView with 32-bit pointers in embedeed in 64-bit containers calling 32-bit LabView with 32-bit pointers in embedeed in 64-bit containers, so it all works, but if your going to call this from C or whatnot you're going to have to follow that same design.
    When calling C code the LabView Call Library Function does have a "unsigned pointer-sized integer" data type that always appears to be 64 bits in the dev env but which actually passes a 64 or 32-bit int to the DLL depending on the environment. The "pointer sized int" has to be 64 bits in the "LabView" part of the code because LabView's strong typing requires the data type to be determined at compile time. Casting all pointers to the largest data type in LabView makes it possible to write platform-independent code, but down at the Call Library level you still have to put the right number of bytes on the stack.

  • SUNWspro iostream error while compiling with SunStudio 10

    We are getting the following error when we try to compile the C++ code using SunStudio 10 on Sun Solaris Sparc server.
    We made couple of changes in the source code 1) whereever we have stream.h we replaced it with iostream.h and 2) include fstream.h whereever required.
    Can anyone tell us where did it go wrong.
    + /opt/SUNWspro/bin/CC -g -O -DHAWK -mt -lclntsh -lsocket -lnsl -I/export/home/StandardComponents/SC/include -I../../mylib -I../../include -I/opt/SUNWspro/prod/include/CC/Cstd -I. -I- -D_TRACE_ -c collectDborMtoInfo.c
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    4 Error(s) detected.

    Remove the -I directive that points into the compiler installation. You should not have have -I or -L options that point into the compiler installation area, into /usr/include, or into /usr/lib. The CC compiler driver knows where to find system headers and libraries, and in what order to search the directories. If you force a different search order, you can break something.
    If removing -I/opt/SUNWspro/prod/include/CC/Cstd does not fix the problem, compiling with -P or -E will show you the preprocessor output, and looking at the lines with the errors will usually show the source of the problem quickly.
    BTW, you should be aware that the ".h" form of the C++ headers, like <iostream.h> and <fstream.h>, is not standard. Using them is not portable, because not all C++ implementations provide them, and those that do often have different content.

  • IPod Touch has been synced with another Library- can't lose any data!!

    Okay so I have my iTunes Media Folder on an external drive to save some space on my Hard drive. This just works fine, but yesterday I accidentally messed up my Media folder. Luckily, I got all my music, videos, apps etc back in original form, however when I wanted to sync my iPod Touch with My iTunes, I got a message saying that my iPod touch could only be used with one library and that I'd have to erase it! I have LOTS of app data and saved games (over 300 apps)... so is there any way I can make it sync without erasing? Help is appreciated!

    Apps are not an issue since you can always redownload them for no additional cost if you are signed into the same iTunes account that purchased them originally. You can also transfer iTunes purchases to the computer. See:
    http://support.apple.com/kb/HT2519 (redownload)
    http://support.apple.com/kb/HT1848 (transfer)
    It appears that iTunes now sees the fixed media library as new library. Is the computer authorized for the iTunes account on the iPod (Go to the Store tab in iTunes). On your computer if you go to iTunes>Preferences>Devices do you see a backup for your iPod? With you iPod connected to your computer if you right click on on your iPod under devices do you have an option to backup your iPod.
    If you can backup your iPod and transfer purchases then you can restore the iPod using the backup and then sync. If You can't backup but have the backup already then you may be able to restore from backup. If you can't make a backup and one does not exist I know of no way not to lose yur data saved in your app.

  • Using JavaCompiler together with a Library

    Currently I am developing a tool in which Java Source Files are created based on a XSD file with help of a tool named Castor.
    After the generation of the files the files need to be compiled in order to be used by the program. This used to be done with a Library named XMLBean, however I do not wish to use this library anymore.
    As a alternative I ended up using the Java compiler that comes with the JDK in the tools.jar file. This resulted in a problem, which made me search for a other solution. This way I ended up working with the javax.tools.JavaCompiler. However compilation still failed due to the same problem.
    So what is this problem?
    Initially I tested my code generation logic and compile logic in a normal application. The Java code got generated fine using castor, the compilation using both methods I described also went fine.
    The problem occurs when I attempt to use the same logic in a web application I am developing to run on Tomcat. The Code generation goes fine (since the castor library is included in the project) however the compilation goes wrong and results in the following error:
    "package org.exolab.castor.xml does not exist"
    In other words, the compiler does not understand one of the imports of the source file (refering to a namespace in Castor, a library that was used to generate the file, and is included in the web project).
    Does anyone know why compilation fails in a web application but goes well in a normal application? Does anyone know how this problem can be solved, or does anyone know better component for compilation?
    Thanks a lot.
    This is the code I currently use for compilation:
    public void compileJavaSource(String[] sourceFilePaths)
              System.out.println("Begin Compiling of Source Files");
              JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); // Line 1.
              DiagnosticCollector<JavaFileObject> diagnosticsCollector = new DiagnosticCollector<JavaFileObject>();
              StandardJavaFileManager fileManager  = compiler.getStandardFileManager(diagnosticsCollector, null, null); // Line 3.
              Iterable<? extends JavaFileObject> fileObjects = fileManager.getJavaFileObjectsFromStrings(Arrays.asList(sourceFilePaths)); // Line 5
              CompilationTask task = compiler.getTask(null, fileManager, diagnosticsCollector, null, null, fileObjects); // Line 6
              Boolean result = task.call(); // Line 7
              List<Diagnostic<? extends JavaFileObject>> diagnostics = diagnosticsCollector.getDiagnostics();
              for(int i=0; i < diagnostics.size(); i++){
                   Diagnostic<? extends JavaFileObject> d = diagnostics.get(i);
                   System.out.println(d.getMessage(null));
              if(result == true) {
                   System.out.println("Compilation has succeeded");
              else {
                   System.out.println("Compilation fails.");
              System.out.println("Done Compiling of Source Files");
         } Initially I used this:
    com.sun.tools.javac.Main.compile(sourceFilePaths);

    Cross posted. (Sorry about that)
    To avoid people spending time looking for an answer, here is the solution I found myself:
    First off all, for ANT to work, 2 libraries have to be imported in the web project.
    The libraries are: ant.jar and ant-launcher.jar
    Next to that, the library's Xerces (xercesImpl.jar) and xml-apis.jar (also included in ANT). There Library's are also needed to get Castor to work.
    To compile the code of my generated Java Classes I use the following ANT Build file code:
    <project default="build" basedir=".">
         <path id="classpath">
            <fileset dir="WEB-INF/lib" includes="**/*.jar"/>
        </path>
         <target name="build">
            <javac srcdir="src" destdir="WEB-INF/classes" debug="true" includes="**/*.java" classpathref="classpath"/>
         </target>
    </project>The file basically reads every .java file from my "src" folder. Which is the folder I choose to put my generated class files, and compiles them to the WEB-INF/classes folder. This is the folder were Tomcat stores all its classes.
    What went wrong with the compilation I attempted in the opening post, is that javac could not find the Castor Library, even after I added it in my classpath environment variable. Fortunately, with ANT I can define a classpath for the application, which is the WEB-INF/lib folder. This is the folder where Tomcat stores its Library's. Hence, javac can find the Castor Library from then on.
    Finally I call the ant task using the following Java Code:
    public void compileJavaSource(String buildFilePath)
              System.out.println("Start Compilation");
              File buildFile = new File(buildFilePath);
              Project p = new Project();
              p.setUserProperty("ant.file", buildFilePath);
              p.init();
              ProjectHelper helper = ProjectHelper.getProjectHelper();
              p.addReference("ant.projectHelper", helper);
              helper.parse(p, buildFile);
              p.executeTarget(p.getDefaultTarget());
              System.out.println("Compilation Finished");
         }This took care of the problem pretty nicely.

  • Procedure with recursive query working in 11g compiles with error in 10g

    Hi, All,
    I have a procedure that recursively selects tree-like table (with ID-ParentID relationship). Query itself works perfectly and exactly like I need in 11g and procedure containing it compiles well. But when I try to create the same procedure in 10g then I get a message that procedure compiled with error. I have no other suspicions but on the WITH part of the procedure.
    The exact query is here (destination_tariff_zones is the tree-like table which refers to itself by parent_destination_tariff_zone_id):
    + open dtzl_cur FOR
    with dtree (nm, iid, alevel, wldcard, dtzindex)
    as (select dtz.iname, dtz.iid, 0, dtz.wildcard, rcdi.iindex
    from destination_tariff_zones dtz, rating_cube_dimension_indices rcdi, rating_cube_dimensions rcd
    where dtz.parent_tariff_zone_id is null and
    dtz."rc_dimension_index_id" = rcdi.iid and
    rcdi."rc_dimension_id" = rcd.iid and
    rcd.rating_cube_id = rc_id and
    rcd.dimension_type_id = dim_type
    union all
    select dtz.iname, dtz.iid, dtree.alevel + 1,
    cast ((dtree.wldcard || dtz.wildcard) as varchar2(20)), rcdi.iindex
    from dtree, destination_tariff_zones dtz, rating_cube_dimension_indices rcdi, rating_cube_dimensions rcd
    where dtree.iid = dtz.parent_tariff_zone_id and
    dtz."rc_dimension_index_id" = rcdi.iid and
    rcdi."rc_dimension_id" = rcd.iid and
    rcd.rating_cube_id = rc_id and
    rcd.dimension_type_id = dim_type)
    select iid, nm, wldcard, dtzindex
    from dtree
    order by wldcard;+
    Is there any difference between how 11g and 10g handle WITH statements?
    Please advise.
    Thank you very much in advance,
    Max

    Max Afanasiev wrote:
    then is there any alternative to implement what I need?You can look at using CONNECT BY to emulate a recursive query. If you can post the following we may be able to help:
    1. Sample data in the form of CREATE / INSERT statements.
    2. Expected output
    3. Explanation of expected output (A.K.A. "business logic")
    4. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Forms compiler error 103 - help please

    I am trying to compile form procedure with legal PL/SQL block this type
    PROCEDURE xy IS
    CURSOR c_row1_mi IS
    SELECT x&#0124; &#0124;y AS row1, ziehung_id, zs
    FROM (SELECT x, ziehung_id, zs
    FROM table1
    WHERE tm_lo_z_lotto = 'MI'
    ORDER BY zs desc),
    table2
    WHERE ziehung_id = tm_lo_s6_ziehung_id
    AND ROWNUM <= 6
    ORDER BY zs;
    BEGIN
    FOR cr IN c_row1_mi LOOP
    END LOOP;
    END;
    There is no problem with running the procedure via SQL Plus. But it is not possible to compile this procedure as a form procedure (version 6.0.8.13.0).
    The error message is: Error 103 on row ... found symbol "ORDER" ...
    for first (ORDER BY zs desc) clause. Without this "order by" clause the complilation is sucsseful.
    Any comment is welcome.

    The PL/SQL engine in Forms is based on the 8.0.6 RSFs. The ability to use a SELECT statement in the FROM clause of a query was added in 8.1.6 or later. Therefore you can't use that feature in Forms.
    It works in Oracle9i Forms, though, since that's based on the 9i RSFs.
    Your only workaround is to move the query to a stored procedure in the database, or change the query.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • ROWID Problem in 10g forms compilation

    Hai,
    I have one form coded with forms 6i. now i want to update the form with 10g version.
    When i compile with 10g version i got one error relative to ROWID.
    code in form
    l_variable t_tablename.rowid;
    -- here l_variable is variable name
    and t_tablename is tablename
    error when compilation: RowId must be declared.
    give me immt. response on this.
    adv. thanks
    madhava

    I guess you need to enable the Urdu language support in the browser as well.
    In IE, Tools-> Internet Options-> General>Languages

Maybe you are looking for

  • How do i set up my wireless printer to work with my ipad 2

    My ipad will not reconize my lexmark wireless printer what can I do

  • Grey Out Language Field

    Dear All, Is there a way to grey out (disable) the language field in SAPGUI? I don't want users to choose there language. I want them to connect whith the language I have set by default for them. Many thanks for your help. Best Regards Edited by: Dav

  • LastModified()  to millisec

    Hi form Is there a API to convert date/time format for File.lastModified() to milli sec starting from 01-01-1970 or How can this be achieved ??? --- ( : + ] Thx in advance

  • Error when expanding 'Wen Dynpro Application' in 'Content Administration'

    Hi All, I m using CE 7.1 portal. In my Content Administration -> Portal Content, when im trying to expand Web Dynpro Applications, its throwing null pointer exception. Giving following error: java.lang.NullPointerException     at com.sap.tc.webdynpro

  • Webui checkout of custom document

    For document checkout via webui, in the user's guide it says to make versioned and then right click on the file you want to save to your hard drive and do a save as. This works fine EXCEPT for the files that I have tied to my jsp. (Using webui when a