How can I start a client Application from a procedure?

Hello, can someone help me to solve this problem?
I've written a client Application.(just one file Client.java) Then I created a .jar file for my applicaiton component and loaded it to the server using loadjava. (MyExample.jar)
It should be invoked by a procedure, which I've created.
create or replace procedure TEST as language java name 'MyExample.main(java.lang.String[])';
But when I want to start it in the SQl*Plus using "call TEST();", I received the message:
Executing PL/SQL: CALL COSMOS."JDEV_TMP_PROC_1"()
ORA-29541: Klasse COSMOS.CompUpdateClient konnte nicht aufgelöst werden
ORA-06512: in "COSMOS.TEST", Zeile 0
ORA-06512: in "COSMOS.JDEV_TMP_PROC_1", Zeile 3
ORA-06512: in Zeile 1
Process exited.
Can someone tell me why and how I can solve it?
Thanks
Lucia

As Andrew suggested, it might be an issue with broken java installation on your system.
You could try performing following steps to see if you get similar results. This will verify if there is something with your java installation or something to with the way you coded your java class(es).
(since you did not post the code, I'm not sure which one might be a problem.
SQL> create or replace and compile java source named "Hello" as
  2  import java.lang.* ;
  3  import java.util.* ;
  4
  5  public class Hello
  6  {
  7    public static void Say()
  8    {
  9     System.out.println("Hello World in Java!") ;
10    }
11  }
12  /
Java created.
SQL>
SQL> create or replace procedure Hello_Java is
  2  language java
  3  name 'Hello.Say()' ;
  4  /
Procedure created.
SQL> show errors
No errors.
SQL>
SQL> set serveroutput on size 100000
SQL> exec dbms_java.set_output(100000) ;
PL/SQL procedure successfully completed.
SQL> exec Hello_Java ;
Hello World in Java!
PL/SQL procedure successfully completed.
SQL>

Similar Messages

  • How can a start  my photoshop 12 from my old computer to my new computer

    how can a start my Photoshop 12 from my old computer to my new computer.
    sorry for my English.

    You just need to install it on the new machine and activate it with your serial number.
    PSE 10, 11, 12 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    If you wish to deactivate it on the old machine then open the file and choose Help -> Deactivate.

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • How can I restore just one application from Time Machine?

    Hello, I have just one application that is really acting quirky and won't load correctly anymore and I would like to restore that application from Time Machine but am just not sure how to do that. Can someone please walk me through step by step on how to restore just one application. Thank you. Jean
    Message was edited by: anokienurse

    Before you restore an application from a Time Machine backup it would be wiser to remove the current installed copy then reinstall from the application's original distribution medium - download, CD/DVD, etc. The reason for this is that Time Machine backs up every hour. By now the bad version of this application is now backed up to your Time Machine backup drive. Restoring from the backup won't resolve your problem.
    First, uninstall the old program. If the program came with an uninstaller then use it. If not then start by deleting the application from the Applications folder. Then locate all the support files associated with the application and remove them, too. Look for these in:
    /Users/yourusername/Library/Preferences
    /Users/yourusername/Library/Applications Support
    Applications may come with a separate uninstaller program that could also be in your Applications folder. Some applications may install other files in other locations on your computer. If you tell us what the application is we may be able to provide additional help.
    You may find more information here: The XLab FAQs. Read the FAQ on uninstalling software.

  • How can i migrate a single application from my old macbook to my new macbook

    Can I migrate only single applications or files using the migration assistant? how?

    I feel I've explained plenty what you must do but you aren't getting it.
    All music on your old iPhone should be in your iTunes library on your computer. Transfer the music from your iTunes library on your computer to your new iPhone in the same way it was transferred from your iTunes library to your old iPhone - via the iTunes sync/transfer process.
    Since you prefer the manual way, you must manually drag and drop the same 377 songs from your iTunes library to your new iPhone - in the same way the 377 songs were manually transferred from your iTunes library to your old iPhone.
    Or you can sync which provides more options overall. Create an iTunes playlist for the 377 songs. Select Sync Music under the Music tab for your iPhone sync preferences with iTunes and choose selected playlists, artists, albums, and genres. Select the iTunes playlist below that includes the 377 songs followed by a sync.  

  • How can i deploy a web application from JDeveloper 10.1.3 to tomcat 5.5.x ?

    hello i need easy way to deploy my jsf applications to tomcat .
    i create an application server configuration in my JDeveloper now what ? how can i say to deploy the app to tomcat not to oracle application server.
    another question :
    the "deploy operation" must copy jsf , adf implementations jstl standartd common* and other jars to my tomcat project automaticly and it MUST make classes dir to be in WEB-INF\classes instead of project main.

    Hi,
    These steps worked for me:
    (I assume you successfully created the server configuration)
    1) Select your project and then go to Run --> Deploy --> New Deployment Profile
    Select WAR file, OK,
    Give a name and select a directory,
    in the WAR Deployment Profile Properties page, choose the Target Connection in the "Profile" section.
    2) Now the deployment profile must be ready.
    Select your project and then go to Run --> Deploy --> your new profile.
    This should deploy the project to Tomcat.
    I saw all needed jars deployed as well. Maybe you should check if all the jars are selected in the "Export" column, in the Project Properties --> Libraries section.
    For the last question, in Project Properties --> Project Content, change your output directory to WEB-INF\classes.
    HTH,
    Turgay Zengin

  • How can i transfer files and applications from an old windows 98SE OS?

    Recently, i was surprised with a brand spanking new 15.4" 2.2 GHZ intel core 2 macbook pro. before this awesome new notebook, i was using a very old, arthritic windows 98SE OS and everything in my whole computing life is stored on that old win98SE antique! i would like to know how i can transfer all my music, movies, pictures and applications, including windows 98se itself so i can possibly run them using parallels or bootcamp (ie: my paintshop pro 7 & 9, animation shop, icewindale games, plus other windows based programs i already have.) i have a male to b male usb cable, if that might help me transfer, i do not know. i also have many many cd-r's, if is this the only way to transfer my files, i am going to be burning disks forever & ever! :P can anyone help me out and suggest a way i can have all my stuff on this awesome new macbook pro? Thanks so much! ^_^

    Since its running 98se, i'd say it would have USB 1.1.. which is slow. so if you have a spare ethernet cable which i think is a lot faster than USB, you can set up a network via ethernet and send to the mac that way. If you turn all your sharing preferences on windows 98 (i forgot how to, because its such a long time since i used it) you can access every folder from your mac. But yeah there isnt a lot of ways to transfer quickly on something that old.

  • HT1338 How can I start a software update from scratch?  error states that it was corrupted during transfer but when it starts over later, it still give the same error

    Software updates tells me it needs to download and install a new version of itunes.  When this notice first appeared the download started but stopped after about 34 MB and said the download was corrupted.  Later (after many restarts), the notice appears again but the download starts where it left off and immediately gives me the message that it is corrupted.  How do I force the download to start over from scratch?

    Check the version you're being offered, and go to Apple Support Downloads.
    Read the info on the update and decide if you actually need it. (if your OS version is 10.6.4 as shown in your info, I doubt that you will need it at all).
    The latest update I can find for iTunes is here; http://support.apple.com/kb/DL1426

  • How  can I start my Java Application using double-click  in Windows XP?

    I hava developed an editor in java. The file made by this editor is saved as the .cte format. so, I need to associate this file with the editor, which means that when you double click the .cte file ,this file will be opened in the editor just like the notepad.
    I know that Jbuider has used the JNI to achieve this way to open a project. So, will you kindly tell me the details about this technique or give me some document? My E_Mail is [email protected]
    Best Regards,
    Maria

    I think this can be done from a batch file which you can execute when you install your application.
    There are two commands which you are interested in, and they are:
    assoc - Displays or modifies file extension associations.
    ftype - Displays or modifies file types used in file extension associations.
    You should use assoc to associate an extension with a file type, and ftype to associate the file type with an application.
    E.g. jar is associated with this on my machine:
    .jar=jarfile (from assoc)
    jarfile="C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe" -jar "%1" %* (from ftype)
    Kaj

  • How can i start my java application using double-click in WindowsXP?

    i hava developed an editor in java. The file made by this editor is saved as the .cte format. so, I need to associate this file with the editor, which means that when you double click the .cte file ,this file will be opened in the editor just like the notepad.
    I know that Jbuider has used the JNI to achieve this way to open a project. So, will you kindly tell me the details about this technique or give me some document? My E_Mail is [email protected]
    Best Regards,
    Maria

    Must you use native code? Can't you do what I said in your other thread?
    http://forum.java.sun.com/thread.jspa?threadID=699476
    Kaj

  • I have purchased too many application, now I want to remove some unwanted application from my iCloud backup storage. How can I remove those unwanted application from iCloud backup?

    Please If anybody know this answer, please post me.

    Welcome to the Apple Community.
    Your apps are not in your back up file, only your app data.

  • How can you start the tag config editor from a vi or when labview starts?

    how can you start the tag config editor from a vi or when labview starts?

    Hi,
    There is a VI called "dsc_TagEditorLauncher.vi" under "C:\Program Files\National Instruments\LabVIEW 7.1\project\lvdsc" folder that can be used to launch the TCE programmatically. I hope this helps.
    Best Regards,
    Remzi A.
    Applications Engineering
    National Instruments

  • How can I keep iTunes (10.5) from randomly starting up?

    How can I keep iTunes (10.5) from randomly starting up, just out of the blue?  I have disabled wifi sync to my iPad
    Has anyone figured out how to stop this annoying behaviour?

    I am sorry, but the Windows OS is totally unfamiliar to me. I'm a Mac.
    I did Goggle the issue and there are a number of support articles about this error message on the Internet. It seems to be a problem in your OS but like I said, I am not Windows knowledgeable at all.
    You either have to reregister the Windows installer or reinstall it - if I am reading any of this correctly.
    http://www.google.com/search?client=safari&rls=en&q=safe+mode+or+windows+install er+vista&ie=UTF-8&oe=UTF-8

  • After installing Mavericks my iMac opens with the "rolling surf" desktop. I can then start my preferred desktop from a saved 'photo but when I retsart the iMAc it reverts to "rolling surf". How can I get it to remeber to open with MY choice rather than Ap

    After installing Mavericks my iMac opens with the "rolling surf" desktop. I can then start my preferred desktop from a saved 'photo but when I retsart the iMac it reverts to "rolling surf". How can I get it to remember to open with MY choice rather than Apple's?

    I did a little research on this, as I found some strange things with the .plist files.
    It appears that Apple has changed the way that the plist files are handled, and there is now an extra step in the trashing-the-.plist-file fix:
    1. hold down the option key
    2. in the Go menu in the Finder, scroll down to Libary
    3. in Library, find Preferences
    4. in Preferences, find  com.apple.desktop.plist  and drag it to the trash.
    5. go to Applications > Utilities > Activity Monitor
         1. Sort by Process Name and look for two processes named cfprefsd.
         2. Make sure you select the one that has your user account, not "root", listed as the User.
         3. Click the X up at the top left to kill that process
    5. restart
    6. this will generate a new .plist file, so you will have to reenter your preferences.
    Sorry for the confusion. Could you try this and let us know-

  • How can I run a java-application on starting of Windows 2000

    How can I run a java-application without any user on starting of Windows 2000?
    For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
    How can I do that?

    Hi, you have to put it in a Windows service.
    To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
    For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
    Regards,
    Ivan.

Maybe you are looking for

  • How do I block an ad that opens up a new Firefox window and keeps telling me my system performance is poor? I can't even capture the link.

    This particular ad, supposedly from a Windows Certified Partner, opens in a second Firefox window and keeps flashing the message that my System Performance is Poor, wanting me to click on their ad and let them do whatever nasty things they want to my

  • HP LaserJet 4650 and Leopard

    After I upgraded to Leopard, I haven't been able to print to my HP Color LaserJet 4650dn. It's connected via network (TCP/IP) and it used to work fine up through OS 10.4.x. I downloaded the latest driver from HP (v5.5.2.051). I deleted and reinstalle

  • SQL Agent and SAP Agent

    hello gurus,      I am in need of technical details of SQL agent and SAP agent of Symantec database backup server for SQL server/ windows.     Can anybody please help me in this?? Thanks and Regards, Rahul

  • Dynamic logo's

    I am having problems to show dynamic logo's. It seems that XMLP doesn't pick up the value of my fieldname. If i use the the following syntax. It works fine..... url:{contact ('${OA_MEDIA}','/','LOGO_243.gif')} However when i use : url:{contact ('${OA

  • Adapter Engine Entry in SXI_CACHE

    Hi All How to get an entry in the adapter engine cache with user name in the sxi_cache ,Menu:GOTO--AdapterEngine Cache? Thank u Full Points will be Awarded. Regards uday