Issue using XMLAGG in package

I have a query that works inside of Toad but I get an error when attempting to add it to an Oracle package. Any ideas of what the issue could be? We are running Oracle 10G fully patched.
The query is :
SELECT 1.xxx, 1.yyy, 1.zzz
, RTRIM
( xmlagg (xmlelement (c, 3.aaa || ',')
order by 3.aaa).extract ('//text()'), ',' ) AS List
FROM table1 1, table2 2, table3 3
WHERE 1.xxx = 2.xxx AND 2.aaa = 3.aaa
GROUP BY 1.xxx, 1.yyy, 1.zzz
Errors when trying to create the package:
PLS-00306: wrong number or types of arguments in call to 'XMLAGG'
PL/SQL: ORA-00904: "XMLAGG": invalid identifier
Thanks for helping

The package is 602 lines and the rest of it works. This works fine if from RTRIM to ProgList is removed or commented out.
Retrieve a Project Report                                                                               
     PROCEDURE READ_ProjectReport( oReasonCode OUT VARCHAR2, oMsgTxt OUT VARCHAR2, oReturnCode OUT PLS_INTEGER)
IS
     BEGIN
          oReturnCode :=0;
          oReasonCode :='00000';
          oMsgTxt :=' ';
          OPEN oReport FOR
               SELECT EP.PROJECT_NBR, EP.PROJECT_NM,
               , RTRIM
               ( xmlagg (xmlelement (c, SUBSTR(E.EMPLOYEE_NM, 1, 1),
     SUBSTR(E.EMPLOYEE_NM,INSTR(E.EMPLOYEE_NM, ' ') + 1 , 1) || ',')
               order by E.EMPLOYEE_NM).extract ('//text()'), ',' ) AS ProgList,
               EP.SCHEDULE_IMPLEMENTATION_PP
               FROM EMPLOYEE_PROJECT EP, EMPLOYEE E, ASSIGN_PROJECT AP
               WHERE EP.PROJECT_NBR = AP.PROJECT_NBR AND AP.USER_ID = E.USER_ID
               GROUP BY EP.PROJECT_NBR, EP.PROJECT_NM;          
     EXCEPTION
          WHEN OTHERS THEN
               oReturnCode := -1;
               oReasonCode := To_Char(SQLCODE);
               oMsgTxt:= 'ProjectReport:' || substr(SQLERRM, 1, 200);
               IF oReport%ISOPEN THEN
                    CLOSE oReport;
               END IF;          
END READ_ProjectReport;
Failed: 3 errors, 0 warnings
Line: 575, Column: 8
PLS-00306: wrong number or types of arguments in call to 'XMLAGG'
Line: 575, Column: 8
PL/SQL: ORA-00904: "XMLAGG": invalid identifier
Line: 573, Column: 4
PL/SQL: SQL Statement ignored
Hopefully this is more helpful.

Similar Messages

  • Issues using msi files packaged by Creative Cloud Packager.

    But when I try installing the products by doublecklicking the msi file, it doesn't install. It will only install if I doubleclick on the Setup file. And since I can't find a sillent install command line for that, and need to package this for use from SCCM 2012, it's no good. Also, I need a silent uninstall command for the product's, since the product codes can't be found in the registry under HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall, I'm not sure where to find the uninstall string either. Had a support chat for more than 50 minutes with an adobe engineer that was not very helpful at all and the chat ended abruptly without any resolution for me...

    Hi Annette,
    If I understand you correctly, you are trying to install a by Double clicking on MSI package.
    If you are looking for the Command that you should use to install, here it is:"msiexec.exe /i <pkg_name>.msi /quiet". Make sure you are already in that directory where you have this MSI package while running this in command prompt
    Here is another link which you can refer around Creative Cloud packager: Creative Cloud Help | Packager
    Kindly let us know if you stuck at any point, so that we can assist you further.
    Thanks,
    Atul Saini

  • Issues with using a assigned package

    I have a task where I've been given pre compiled classes to create a program with. However, I'm having issues using them, and I'm not sure what's going on...
    Theoretically, the following code should work (to test the class for example):
    import question.*;
    public class Quiz {
         final private static int NoOfQuestions = 5;
         public static void main(String[] args) {
              // Create the library
              Question question = new QuestionLibrary();
              // For each question:
              for (int i = 0; i < NoOfQuestions; i++) {
                   // Show where we are
                   System.err.println("Before getQuestion()" + i);
                   // Getf the question
                   String q[] = question.getQuestion();
                   // Show where we are again, and print the first line of the question.
                   System.err.println("After getQuestion()" + i + "\n\n" + q[0] + "\n");
              // It worked
              System.err.println("All good - finishing");
    }The questionLibrary constructor goes and loads some plain text question files and dishes them out in a random order upon calls to getQuestion().
    The javadoc provided shows that getQuestion should return an array of Strings, each line of the question in a different string.
    When the code is compiled and run, the call to getQuestion() throws a null pointer exception, however, on different occasions the call will work as expected. Over many runs of the program, all the questions in the files have been printed out at some point (since they are given randomly), so I know it's not the question files having bad formatting, or one question that breaks the program. The question files total 5 questions, but the run of the program has never passed 3 questions before it fails.
    I know it's probably hard to know exactly what's going on, but is there anything I've forgotten? Or anything I should check?
    Damian

    Damo The Viking,
    I love your nic... though I'm not all sure that there ever were any good ones.
    Is this an exercise in testing? If so, Have you considered that maybe this bug was "injected" explicitly too give you a bug to find? If that's the case it's really not very subtle "bug" is it... every random so many times (I'd guess one in four probability) chuck an error. Even Blind Freddy could find that.
    If you're not sure what's going on I suggest you decompile the provided class files... I've uploaded my old decompiler (it's shareware, pay up after 30 days use) to [DJ_java_decompiler_377.zip|http://groups.google.com/group/comp_lang_java_exchange/web/DJ_java_decompiler_377.zip] [1.7 MB].
    Aside: Please does anyone know of a good "modern" decompiler? Preferably ingrated into Eclipse?... Mine doesn't seem to know about generics, and it's GUI is "a bit poxy".
    If this isn't actually an exercise in testing, then impress the beejazus out of your lecturer by extending the provided class, and overriding the method which has the error.
    If you want more guidance from me I'm going to need to see an SSCCE; the stack trace of the NPE; and of course the jar containing the question package (join my google group and post it up there).
    Cheers. Keith.

  • Unable to install itunes 10.5 after update issue. "windows installer package error"

    So when the update for itunes happened, it wiped my ipod, and then my ipod would not work with itunes. So I uninstalled itunes and tried to reinstall it and it gives me that error message. "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor." I have tried all the fixes from deleting everything to running command prompts. I think i tried everything.
    Method 1: Right click on the setup file and, from the drop down menu, select 'run as administrator'
    Method 2: Open command prompt in elevated mode and, then unregistered and re-register Windows Installer.
    1. In the Start search box and then type 'cmd', when the command application appears at the top of the start window, right click on it and, from the drop down menu, select 'run as administrator' and type each of these commands in the command prompt and press Enter
       • msiexec /unregister
       • msiexec /regserver
    msiexec.exe belongs to the Windows Installer Component and is used to install new programs that use Windows Installer package files (MSI)
    http://windows.microsoft.com/en-US/windows7/Command-Prompt-frequently-asked-ques tions
    Method 3: Start the Windows Installer service
    1. Click Start, type Services.msc and press {ENTER}
    2. Double-click Windows Installer
    3. Set the Startup type of Windows Installer to Manual
    4. Click Start to start the service. Note down the error message if any.
    5. Click OK.
    If the above mentioned steps don’t resolve the issue, then
    follow the steps and check whether you can resolve the issue:
    Method 4: Empty your Temp directory and restart
    1.       Choose Start > Computer
    2.       In Computer, open the "C:" drive.
    3.       Open the Users folder.
    4.       Double-click the folder titled with your username.
    5.       If you see an AppData folder, skip to step 10. If you don't see an AppData folder, proceed to the next step.
    6.       Choose Organize > Folder and Search Options.
    7.       Click the View tab.
    8.       Select the option to "Show hidden files and folders." (In Windows 7 this option will be called "Show hidden files, folders, and drives").
    9.       Click OK.
    10.    Double-click the AppData folder to open it. If Windows needs your permission to continue click Continue.
    11.    Double-click the Local folder to open it.
    12.    Right-click on the Temp folder and choose Delete.
    13.    In the confirmation dialog that appears click Yes.
    14.    If you are unable to delete the Temp folder, close all programs, especially those in the Notification area ("System Tray") of the Windows Task bar and repeat step 12.
    15.    Restart your computer.
    Method 5: Removing iTunes
    Note: iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes.
    1.       Quit iTunes.
    2.       From the Start menu, click Control Panel.
    3.       In Control Panel, click Uninstall a program. The Programs and Features Control Panel opens.
    Alternately, in Classic Panel of Control Panel, click Programs and Features.
    4.       Select iTunes from the list of currently installed programs, then click Uninstall.
    5.       When asked if you would like to remove iTunes, click Yes.
    6.       After the uninstallation is complete, do not restart your computer if you are prompted to.
    7.       If other program entries were listed for iTunes in Programs and Features remove those as well.
    8.       In Programs and Features, also remove any iPod Updater applications that are listed in the same fashion as you removed iTunes.
    Method 6: You may also try downloading the Windows Installer Cleanup utility and run that to remove the leftover ITunes installer files that may be causing issues with your current installation.
    You may refer the following article to download the Windows Installer Cleanup Utility:
    http://support.microsoft.com/kb/290301
    1. Click on Start > All Programs and then click Windows Install Cleanup; the Windows Installer Clean Up Utility window appears, listing software that is currently installed on your computer.
    2. Select iTunes from the list and click Remove. If you have multiple iTunes files, remove all of them.
    3. Once you have completed the above steps to Empty your Temp directory, Completely remove iTunes and QuickTime, and Clean up iTunes installer files on the computer, you can install the latest version of iTunes from
    To this:
    This solution correct my bug.
    I had the same error in with the i-tunes installation and i did this and it worked.... This works for any i tunes that fails to install itself on 64 Bit
    You have to go into your registry.
    Start, run, type in “regedit”.
    Next go to HKEY_LOCAL_MACHINE.
    SYSTEM
    CurrentControlSet
    Services
    MSIServer
    To the right you’ll see WOW64. Double click on it, or right click on it and click on modify. Change the setting from 1 to 0.
    Next, go to the start menu again and type in the search box: “services.msc”.
    Look for and find the Windows Installer service.
    Double click on it and tell it to stop. Next, tell it to start.
    You should now be able to install your programs.
    ------  By the way I dont have the WOW64 option is not available.
    I was able to install quick time just fine. All of the other apple software associated with itunes installed fine but itunes did not. Im not sure if there is a virus that could do this. I didnt delete anything but apple folders.
    I have tried other things but i cant remember exactly there were.
    When the install process for itunes is running it changes with the error message shows up during install.
    Thanks.

    I should have posted this earlier, but anyway. I restored my laptop to factory version after backing up any useful data, and the first thing I the laptop was restored was connect to the internet, download and install the latest version of iTunes. And Bingo! It worked.
    Apple helps you find Original Sin with the Windows.

  • PDF created using Java iText package - Text not editable and not displaying font properties on Acrobat

    Hi,
    I have an issue in editing the text and viewing the font properties of a text region on a PDF created using Java iText package.
    I use Adobe Acrobat 9 Pro Extended and the option Tools -> Advanced Editing -> TouchUp Text Tool.
    The strange behaviour is that, I have 2 PDFs created out of the same base PDF and text added via Java iText package with the same Text, Font and other properties.
    One of the PDF has the text region editable on Acrobat but the other one has the text region which is not editable.
    But both the PDFs are editable via Adobe Illustrator.
    I have attached both the PDFs for your reference
    PDF_Editable.pdf - Editable on Acrobat
    PDF_Not Editable.pdf - Not Editable on Acrobat
    Any help or insight to find out the difference/issue with the PDF which is not editable via Acrobat would be appreciated.
    Thanks in advance.
    Regards,
    Madhusoodhan Henryraman

    You don't have direct control of the leading of a multiline text field. A common approach is to control the background color of the field with JavaScript since the lines are not really needed when the field is used in Reader/Acrobat. They may be useful when using the form by hand. For more information, see the posts by Max in this topic: http://acrobatusers.com/forum/forms-acrobat/how-do-i-use-multi-lined-text-fields-over-prin ted-line-area-existing-form

  • Help Required :Excel Upload Into Oracle Table Using PLSQL Procedure/Package

    Please Help , Urgent Help Needed.
    Requirement is to Upload Excel file Into Oracle Table Using PLSQL Procedure/Package.
    Case's are :
    1. Excel File is On Users/ Client PC.
    2. Application is on Remote Server(Oracle Forms D2k).
    3. User Is Using Application Using Terminal Server LogIn.
    4. So If User Will Use to GET_FILE_NAME() function of D2K to Get Excel File , D2k Will Try to pick File from That Remote Server(Bcs User Logind from Terminal Server Option).
    5. Cannot Use Util_File Package Or Oracle Directory to Place That File on Server.
    6. we are Using Oracle 8.7
    So Need Some PL/SQL Package or Fuction/ Procedure to Upload Excel file on User's Pc to Oracle Table.
    Please Guide me wd some Code. or with Some Pl/SQL Package, or With SOme Hint. Or any Link ....
    Jus help to Sort This Issue ........
    you can also write me on :
    [email protected], [email protected]

    I also Tried to Use This
    But How can i Use SQLLDR Command In Stored Procedure.
    Well IN SQL*PlUS it is successfull but in Stored Procedure /Package ,PL/SQL does not recognise the OS commands.
    So now my Question How can I recognise the SQLLDR Commnad in Stored Procedure.

  • How to use the Client_image package

    I need to use the client_image package (read_image_file, write_image_file) to do the file upload from my client pc.
    we use a digtal camera to take picture and need to use the oracle 9i form webutil to insert into the form and save in 9ias.
    Any samples about how I can use the webutil to upload images will be truly appreciated!
    Thanks for replying!

    Thanks for your reply on Oracle Forums about using webutil to perform image upload in 9i forms.
    I just download the new Webutil Demo but I got the error messages:
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.clientinfo.GetClientInfo
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.fileTransfer.FileTransfer
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.browser.BrowserFunctions
    I have done all the environment config. and things in FAQ
    (Make sure the your environment is set up correctly; including issues such as CLASSPATH and ensure it is no longer that 512 characters.
    Ensure that the WebUtil object group has been dragged onto the form.
    By putting the form into visual view, ensure that you have a window called WEBUTIL_HIDDEN_WINDOW and that it contains a set of WebUtil Java Beans.
    If your forms does already contain the WebUtil object group then the cause is likely to be that the triggers used internally by the bean areas are uncompiled (usually because the OLB was subclassed before the library was attached). To resolve the problem try performing a Compile All on your module (ctrl-shift-k))
    The errors are still coming out and would you please let me know what I should do to solve the problem and thanks a lot!

  • Using SMS to Package Data Services Silent Install not creating shortcuts

    Hello,
    My client has successfully created a package to install DS 3.1 using SMS (Microsoft Packaging) but after the Instalation runs, there is no startup folder created, or shortcuts to kick off any o fthe products.  Has anyone run into this issue?  How did you resolve it?  Thanks!  Ken

    Hi Ken,
    After installing DS XI 3.1 you will have data services available under following path i.e C:\Program Files\Business Objects XI 3.1 \Business Objects Data Services ....'. Also check control panel and see whether you can see the following services
    1. Business Objects Data Services
    2. Business Objects Address Server.
    Sorry i don't have knowledge on SMS.
    Thanks & Regards
    prabu

  • How to use two different packages which in  different directories?

    In my progrom, I'm using two differnet packages that in two different directories, but if I use classpath , the program can only be in one environment, so what can I do?

    or you set your classpath to the first common dir they have, and specify the packages from that dir on...
    or you just simply copy (you don't have to move it) the one package together with the other package...
    by the way you can add multiple paths to your classpath...
    between the paths you specify a ";"
    if i'm not mistaken...
    SeJo

  • How do I make a batch file if the .class file uses a foreign package?

    I am trying to make an MS-DOS batch file using the bytecode file from the Java source file, called AddFields.java. This program uses the package BreezySwing; which is not standard with the JDK. I had to download it seperately. I will come back to this batch file later.
    But first, in order to prove the concept, I created a Java file called Soap.java in JCreator. It is a very simple GUI program that uses the javax.swing package; which does come with the JDK. The JDK is currently stored in the following directory: C:\Program Files\Java\jdk1.6.0_07. I have the PATH environment variable set to the 'bin' folder of the JDK. I believe that it is important that this variable stay this way because C:\Program Files\Java\jdk1.6.0_07\bin is where the file 'java.exe' and 'javac.exe' are stored. Here is my batch file so far for Soap:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java Soap
    pause
    Before I ran this file, I compiled Soap.java in my IDE and then ran it successfully. Then I moved the .class file to the directory C:\acorn. I put NOTHING ELSE in this folder. then I told the computer where to find the file 'java.exe' which I know is needed for execution of the .class file. I put the above text in Notepad and then saved it as Soap.bat onto my desktop. When I double click on it, the command prompt comes up in a little green box for a few seconds, and then the GUI opens and says "It Works!". Now that I know the concept of batch files, I tried creating another one that used the BreezySwing package.
    After I installed my JDK, I installed BreezySwing and TerminalIO which are two foreign packages that make building code much easier. I downloaded the .zip file from Lambert and Osborne called BreezySwingAndTerminalIO.zip. I extracted the files to the 'bin' folder of my JDK. Once I did this, and set the PATH environment variable to the 'bin' folder of my JDK, all BreezySwing and TerminalIO programs that I made worked. Now I wanted to make a batch file from the program AddFields.java. It is a GUI program that imports two packages, the traditional GUI javax.swing package and the foreign package BreezySwing. The user enters two numbers in two DoubleField objects and then selects one of four buttons; one for each arithmetic operation (add, subtract, multiply, or divide). Then the program displays the solution in a third DoubleField object. This program both compiles and runs successfully in JCreator. So, next I moved the .class file from the MyProjects folder that JCreator uses to C:\acorn. I put nothing else in this folder. The file Soap.class was still in there, but I did not think it would matter. Then I created the batch file:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java AddFields
    pause
    As you can see, it is exactly the same as the one for Soap. I made this file in Notepad and called it AddFields.bat. Upon double clicking on the file, I got this error message from command prompt:
    Exception in thread "main" java.lang.NoClassDefFoundError: BreezySwing/GBFrame
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Caused by: java.lang.ClassNotFoundException: BreezySwing.GBFrame
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 12 more
    Press any key to continue . . .
    I know that most of this makes no sense; but that it only means that it cannot find the class BreezySwing or GBFrame (which AddFields extends). Notice, however that it does not give an error for javax.swing. If I change the "set path..." command to anything other than the 'bin' folder of my JDK, I get this error:
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .
    I know this means that the computer cannot find the file 'java.exe' which I believe holds all of the java.x.y.z style packages (native packages); but not BreezySwing or any other foreign packages. Remember, I do not get this error for any of the native Java packages. I decided to compare the java.x.y.z packages with BreezySwing:
    I see that all of the native packages are not actually visible in the JDK's bin folder. I think that they are all stored in one of the .exe files in there because there are no .class files in the JDK's bin folder.
    However, BreezySwing is different, there is no such file called "BreezySwing.exe"; there are just about 20 .class files all with names like "GBFrame.class", and "GBActionListener.class". As a last effort, I moved all of these .class files directly into the bin folder (they were originally in a seperate folder called BreezySwingAndTerminalIO). This did nothing; even with all of the files in the same folder as java.exe.
    So my question is: What do I need to do to get the BreezySwing package recognized on my computer? Is there possibly a download for a file called "BreezySwing.exe" somewhere that would be similar to "java.exe" and contain all of the BreezySwing packages?

    There is a lot of detail in your posts. I won't properly quote everything you put (too laborious). Instead I'll just put your words inside quotes (").
    "..there are some things about the interface that I do not like."
    Like +what?+ This is not a help desk, and I would appreciate you participating in this discussion by providing details of what it is about the 'interface' of webstart that you 'do not like'. They are probably misunderstandings on your part.
    "Some of the .jar files I made were so dangerously corrupt, that I had to restart my computer before I could delete them."
    Corrupt?! I have never once had the Java tools produce a corrupt Jar. OTOH, the 'cannot delete' problem might relate to the JRE gaining a file lock on the archive at run-time. If the file lock persisted after ending the app., it suggests that the JRE was not properly shut down. This is a bug in the code and should be fixed. Deploying as .class files will only 'hide' the problem (from casual inspection - though the Task Manager should show the orphaned 'java' process).
    "I then turned to batch files for their simple structure and portability (I managed to successfully transport a java.util containing batch file from my computer to another). This was what I did:
    - I created a folder called Task
    - Then I copied three things into this folder: 1. The file "java.exe" from my JDK. 2. The program's .class file (Count.class). and 3. The original batch file.
    - Then I moved the folder from a removable disk to the second computer's C drive (C:\Task).
    - Last, I changed the code in the batch file...:"
    That is the +funniest+ thing I've heard on the forums in the last 72 hours. You say that is easy?! Some points.
    - editing batch files is not scalable to 100+ machines, let alone 10000+.
    - The fact that Java worked on the target machine was because it was +already installed.+ Dragging the 'java.exe' onto a Windows PC which has no Java will not magically make it 'Java enabled'.
    And speaking of Java on the client machine. Webstart has in-built mechanisms to ensure that the end user has the minimum required Java version to run the app. - we can also use the [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deplToolkit] on the original web page, to check for minimum Java before it puts the link to download/install the app. - if the user does not have the required Java, the script should guide them through installing it.
    Those nice features in deployJava.js are available to applets and apps. launched using webstart, but they are not available for (plain) Jar's or loose class files. So if 'ensuring the user has Java' is one of the requirements for your launch, you are barking up the wrong tree by deploying loose class files.
    Note also that if you abandon webstart, but have your app. set up to work from a Jar, the installation process would be similar to above (though it would not need a .bat file, or editing it). This basic strategy is one way that I provide [Appleteer (as a downloadable ZIP archive)|http://pscode.org/appleteer/#download]. Though I side-step your part 1 by putting the stuff into a Jar with the path Appleteer/ - when the user expands the ZIP, the parts of the app. are already in the Appleteer directory.
    Appleteer is also provided as a webstart launched application (and as an applet). Either of those are 'easier' to use than the downloadable ZIP, but I thought I would provide it in case the end user wants to save it to disk and transport the app. to a machine with no internet connection, but with Java (why they would be testing applets on a PC with no internet connection, I am not sure - but the option is there).
    "I know that .jar and .exe files are out because I always get errors and I do not like their interfaces. "
    What on earth are you talking about? Once the app. is on-screen, the end user would not be able to distinguish between
    1) A Jar launched using a manifest.
    2) A Jar launched using webstart.
    3) Loose class files.
    Your fixation on .bat files sounds much like the adage that 'If the only tool you have is a hammer, every job starts to look like a nail'.
    Get over them, will you? +Using .bat files is not a practical way to provide a Java app. to the end user+ (and launching an app. from a .bat looks quite crappy and 'second hand' to +this+ user).
    Edit 1:
    The instructions for running Appleteer as a Jar are further up the page, in the [Running Appleteer: Application|http://pscode.org/appleteer/#application] section.
    Edited by: AndrewThompson64 on May 19, 2009 12:06 PM

  • How to use user-defined packages in JAX-RPC web service

    I am trying to use Object of my class located in my package in jax-rpc webservice,the code is
    package supercomputer;
    import Hello.*;
    public class SuperImpl implements SuperIF
    public String sendParam(String data)
    Temp ob=new Temp();
    int i=ob.get1(10000);
    return data+"returned by supercomputer";
    Temp is located in Hello package,I have jar the Hello package as Hello.jar and has set its classpath in targets.xml of Ant tool.
    The code compiles well and service is deployed successfully,but when i try to call the service from the client its gives me following error.
    [echo] Running the supercomputer.SuperClient program....
    [java] java.rmi.ServerException: Missing port information
    [java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
    [java] at supercomputer.SuperIF_Stub.sendParam(SuperIF_Stub.java:60)
    [java] at supercomputer.SuperClient.main(Unknown Source)
    I dont know if it deploys why it gives error on client side.
    Please tell how to use user-defined packages and class in jax-rpc service code ,i am not talking about passing user-defined parameters i am just talking about making objects of user defined classes in jax-rpc service.I think there is some problem in classpath.
    Please guide me in doing that.
    Thanks,
    Farrukh

    Farrukh,
    I don't know if your error is about a missing class from your custom package, ... what track did you followed to say that?
    To use your package in the implementation of you web service, you should only follow the rules of making a web application: put your package jar in your \lib directory inside WEB-INF/ or your package classes unjared in classes (also in WEB-INF/).
    As I already said, I have doubts that your error should be originated from a missing class from your package, but:
    -try to see the logs (errors?) when you deploy your web service that could give a hint about the problem.
    -try to see if you can access your endpoint through your browser to see if there is a online status
    -display your config/WSDL file, and the steps you did to build your web service.
    regards,
    Pedro Salazar.

  • Is there an issue using file vault 2 on a Mac fusion drive

    is there an issue using file vault 2 on a Mac fusion drive

    I'm using that configuration and it works for me. There have been some reports of kernel panics with FileVault and SSD's. The cause is unknown. Chances are you'll be fine, but make good backups.

  • Goods Issue using BAPI_GOODSMVT_CREATE movement type 541

    Hi
        According to my requirement I need to do Post goods issue using BAPI_GOODSMVT_CREATE. But I am unable to do PGI . how to consume BOM details if batches are changed. please let me know what values I need to pass to BAPI . give with an example.
    Its an urgent requirement.

    are you passing batch number to the BAPI?
    if not try pass the batch number the rest of the things bapi will take care of.
    bi

  • Post Goods issue using bapi_goodsmvt_create

    hi,
    Iam trying to do post goods issue using bapi_goodsmvt_create. please let me know what are the mandatory fields to be passed?

    hi,
    *& Report  ZRPT_SUB_KO01GOODSMOVEMENT
    REPORT  ZRPT_SUB_KO01GOODSMOVEMENT.
    PARAMETERS : P_BAG(17)  TYPE C,
                 P_ZZORG LIKE zaUFK-ZZORG,
                 P_MATNR LIKE MARA-MATNR,
                 P_WERKS LIKE AUFK-WERKS,
                 P_WERK LIKE AFPO-PWERK,
                 P_DATE LIKE MKPF-BUDAT,
                 P_LGORT LIKE GOITEM-LGOBE.
    DATA : BDC_DATA TYPE STANDARD TABLE OF BDCDATA. "internla table for bdc data
      DATA : WA_BDC_DATA TYPE BDCDATA .                "work area for bdc data
      DATA : T_XMSEG TYPE   MSEG.
      DATA : T_XMKPF TYPE MKPF.
      DATA : V_BAGS1(17) TYPE C.
    DATA : BEGIN OF WA_MB1B,
           ZZGCODE TYPE ZMIGO-ZZGCODE,
           ZZGBAGS TYPE ZMIGO-ZZGBAGS,
           WERKS TYPE AUFK-WERKS,
           LGORT TYPE VBRP-LGORT,
           ZZORG TYPE zAUFK-ZZORG,
           END OF WA_MB1B.
    DATA : V_MATERIAL TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    data : v_date(10) type c.
    DATA : T_GOODSMVT_HEADER TYPE BAPI2017_GM_HEAD_01,
           T_GOODSMVT_CODE TYPE BAPI2017_GM_CODE,
           T_GOODSMVT_ITEM TYPE STANDARD TABLE OF BAPI2017_GM_ITEM_CREATE,
           T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA : WA_GOODSMVT_ITEM TYPE BAPI2017_GM_ITEM_CREATE.
    DATA : BEGIN OF S_MARA,
           MEINS LIKE MARA-MEINS,
           END OF S_MARA.
    DATA : MATERIALDOCUMENT TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    *FORM GOODSMOVEMENT TABLES T_RETURN
                             USING WA_MB1B LIKE WA_MB1B.
    SELECT SINGLE  MEINS
                   FROM MARA
                   INTO S_MARA
                   WHERE MATNR = P_MATNR.
       CONCATENATE p_date6(2) p_date4(2) p_date+0(4) INTO V_DATE SEPARATED BY '.'.
        T_GOODSMVT_HEADER-PSTNG_DATE = P_DATE.
        T_GOODSMVT_HEADER-DOC_DATE = P_DATE.
        T_GOODSMVT_CODE-GM_CODE = '04'.
        WA_GOODSMVT_ITEM-MATERIAL =      P_MATNR.                    "'000000000000001556'.
        WA_GOODSMVT_ITEM-PLANT  =        P_WERK.                     " '1000'.
        WA_GOODSMVT_ITEM-STGE_LOC =      P_LGORT.                    " '0001'.
        WA_GOODSMVT_ITEM-MOVE_TYPE =     'Z42'.
        WA_GOODSMVT_ITEM-VENDOR =         P_ZZORG.                   "'0000100224'.
        WA_GOODSMVT_ITEM-ENTRY_QNT =      P_BAG.                   " '1'.
        WA_GOODSMVT_ITEM-ENTRY_UOM =     S_MARA-MEINS.
        WA_GOODSMVT_ITEM-ENTRY_UOM_ISO = S_MARA-MEINS.
        WA_GOODSMVT_ITEM-MOVE_PLANT = P_WERKS.
        APPEND WA_GOODSMVT_ITEM TO T_GOODSMVT_ITEM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
          GOODSMVT_HEADER          = T_GOODSMVT_HEADER
          GOODSMVT_CODE            = T_GOODSMVT_CODE
    IMPORTING
        MATERIALDOCUMENT           = V_MATERIAL
    TABLES
          GOODSMVT_ITEM            = T_GOODSMVT_ITEM
    RETURN                        = T_RETURN.
    BREAK shailajaa.
               EXPORT t_return  to MEMORY ID '123'.
               EXPORT V_MATERIAL TO MEMORY ID 'MAT'.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          = ' '.
    *ENDFORM.

  • Error when using javax.script package

    Hi
    I want to call a javascript method from a .js file from .java class.
    when i searched, i came to understand that using jdk1.6 i can use javax.script package tht provide me what i needed.
    using the reply i got from i earlier post, i tried one example.
    public void show() {
    ScriptEngineManager engineMgr = new ScriptEngineManager();
    ScriptEngine engine= engineMgr.getEngineByName("JavaScript");
    try {
    engine.eval(new FileReader("D:/ShowScript.js"));
    Invocable invocableEngine = (Invocable) engine;
    //show_message is my function in ShowScript.js file
    invocableEngine.invokeFunction("show_message",null);
    } catch (Exception e) {
    e.printStackTrace();
    ShowScript.js
    function show_message()
    println("===> hi");
    alert("hi");
    When i execute my program, im getting the following error
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "alert" is not defined. ( #8) in at line number 8
    at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:184)
    at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:142)
    at testbuiltin.backing.Show_alert.show(Show_alert.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    When i remove the alert() from the js file, the println is working. But what i neede is the alert.
    Can anyone plz help me to solve this problem.

    As you're talking about "backing beans", are you using JSF?
    After all, this is definitely not the way to let Java and JS interact with each other. Java runs at the server side. JS runs at the client side. Java can write JS code to the response, but definitely cannot call it. JS can access the HTML DOM and invoke requests to the server (form.submit() and AJAX and so on) and send parameters along the request, but definitely cannot call Java classes and methods independently. Nothing more and nothing less than that.

Maybe you are looking for

  • Wireless fails after 1 minute

    MSI Wind with rtl8187se (name of module and wireless hardware) and using wpa-psk.  New installation of arch.  Wireless works fine for 1-2 minutes then fails (can't get any response pinging google or pointing elinks to google, etc). What I'm doing: ba

  • HP Officejet 4500 - printing files with íáýžřčšě in the name

    Hello, there is a problem with printing of files with Central European letters in the name. If the filename contains éíáýžřčšě (for example avízo, zpráva etc) , it is sent to the printer, but it stays in the query and is not printed. Everytime we nee

  • Xpath expression to get depth child element

    Hi I wanted to find the depth element (sub isuer) in the hierarchy of 93699V issuer through xpath expression . <?xml version="1.0" encoding="UTF-8"?> <issuer id="93699V">/> <subissuer id="06U99A"> <subissuer id="52729N"> <subissuer id="37932J"> <subi

  • 3.1.3.709: How to Verify and Fix a Possibly Corrupted Design?

    How to verify and fix, if necessary, a design that is likely to be corrupted? I first suspected I corrupted file when an attempt to reverse-engineer changes from the relation model to the logical did not work. After some investigation I found datamod

  • Events or exit in Premises created ?

    Hi all, I need to design an inbound interface when User creates (Saves)a new premise. How to go about it.? Please Help Regards, Mohsin