URGENT: Problems with the CREATE JAVA command in SQL

I am trying to publish a Java class to the database and have to use CREATE JAVA rather than loadjava for reasons I won't go into.
However, I get the following error:
SQL> create java class using bfile ('C:\neil', 'SkyNetworkRequestUtil.class');
create java class using bfile ('C:\neil', 'SkyNetworkRequestUtil.class')
ERROR at line 1:
ORA-22929: invalid or missing directory name
I can assure you that the C:\neil directory exists and the class exists in that directory, so what am I doing wrong?
Hopeful thanks in advance.

Did you try using C:\\ instead of C:\?
If this does NOT work, then go into the directory where you have your .class file and
use '.' as the directory specification.
Hope this helps.

Similar Messages

  • Getting problem with the new java.util.concurrent package

    i m using the new concurrency package of jdk 1.5 in my code. see the line:
    Executor threadPool = Executors.newCachedThreadPool();
    about this, api doc says Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available
    but i dont find this method to create new threads whenever required. please tell me about this.
    in my code, in some rare cases many threads r created, and very difficult to detect the number of active threads.
    as the previous one failed i tried with another one newFixedThreadPool(int). but here i got another problem. it works successfully but i dont understand what should be the size of the pool. i tried with 1000, it works well, but in a very rare case, it failed also. then i tried with 10000. but i m still confused, i dont know whether it would work always or not. with traditional threads my code never fails.
    please tell me, what should be the size of the pool and also let me know what is the problem with the first one (newCachedThreadPool)

    The thread pool should not be more than 100 threads. Ideally you should only have a small number of threads per CPU. If your threads are not long running it is possible that you could add 10,000 runnables but on start a small number of threads. Note, adding a thread take a non trivial amount of time so while the thread is added, all the others could finish. This could mean the number of threads could be 140 or smaller.
    Have you looked at the code to see what it does?

  • Anyone else having problem with the latest JAVA update?

    I'm not sure if it comes from Apple this or flip4mac. But anyway it said the other day, we think you should have this update it will make things work better. So I thought, what the heck, I might as well. Only, since I've installed the update I've have nothing but problems with the online games at yahoo. Keep getting stale pages, wont load that sort of thing. It's very frustrating, certainly since you have to type the screwed up letters on the screen everytime, and they are barely legible to the human eye most times.
    Message was edited by: STU9000
    Message was edited by: STU9000

    System Preferences->Software Update and review what was installed, then go to http://www.apple.com/downloads/macosx/apple/ and see what they were all about.

  • Problems with the "Create a PDF" tab

    I have a customer who is trying to create a pdf from Word using the "create a pdf" tab.  The PDF is created but only the colored boxes behind his text show up.  He is running Win7, Word 2010 and Acrobat Pro XI (with the latest update). The same thing happens if he uses the "print to pdf" option.  The Word "Save as pdf" works fine.
    Word Document (image below)
    PDF (image below)

    It appears to be some sort of incorrect layering issue. You can fix the problem by selecting the Edit Text & Images command in Acrobat XI and right clicking on the boxes and selecting the Arrange command.
    I've seen this issue occur with older .doc files opened in newer versions of Word. One thing you might try is to save out the word file to another format like RTF (make a backup first) and then resave a .docx before creating the PDF.

  • URGENT: Problem with the viewlink

    Well the problem that I am facing now is with the newly created ViewLink. Let me explain the current situation. I have two viewObjects (say view1 and view2). These viewobjects are independent. I have used these viewobjects in one jspx page. Now I newly created a viewLink (say viewLink1) , making the view2 dependent on view1. I have added viewLink1 to the application module. But there has been no change in the data being generated on the jspx for the view2. Do I need to undo the previously used view2 and use the viewObject that has been newly generated under the viewLink in the DataControl Palatte? Is there a way through which I could make the independent viewObjects communicate without undoing the previously done things?

    Thanks for your reply John. But I couldn't get the required solution. Let me explain the problem more clearly. I have 2 viewobjects. Initially i used both the viewobjects without any viewlink . I din't want the two viewobjects communicate with eachother. But now due to requirement , I had to create a viewlink between the two viewobjects ( I have mapped a common attribute of both the view objects in the viewlink). So now when I select a particular row in the first viewobject, it has to reflect the data in the second viewobject (since I created a viewlink). But this is not happening (since I am not using the viewobject under the view2 via view1 viewlink). The data in the second table is getting reflected if the used the viewobject under the view2 via view1 viewlink. But this requires me to delete the existing table which uses the view2 object and replace it with the viewobject present under the view2 via view1 viewlink. Is there any possible way through which the I could make the viewlink work without deleting the previously created table ?
    Thanks for your immediate response.

  • Problem with the "make config" command

    Kernel Compilation from Source for New Users
    I download the linux-2.6.37-ARCH source files and copied them to /usr/src/.Then i  used "cd linux-2.6.37-ARCH" to move to that directory so i could
    use the "make config" command.Now,when i use "make config" a prompt comes up and I'm not sure how to configure it to my system.
    (when the prompt comes up there are several hundred questions to answer)
    [root@Online linux-2.6.37-ARCH]# make config
    scripts/kconfig/conf --oldaskconfig Kconfig
    # using defaults found in arch/x86/configs/x86_64_defconfig
    * Linux/x86_64 2.6.37 Kernel Configuration
    * General setup
    Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?]
    I think i might have just figured it out. "make xconfig"
    Last edited by unilx (2011-02-20 23:35:24)

    unilx wrote:...so i could use the "make config" command.Now,when i use "make config" a prompt comes up ...
    Are you sure of that command?  Could you have meant make menuconfig  ??

  • Problems With The  eGatetutorial Java Caps

    Hello i'm learning to use Java caps and i use the tutorial but when i create my project all run but my output data has don't created i put the directoy where is my xml file c:\eGate\Project3\*.xml this is in the input file
    and the output file i can't put the directory and only have s3_output.dat
    run my logicalhost
    build the project and deploy but the file dosn't created
    Please help thanks

    I had a similar problem during class and we made the following modifications. I had this happen with both 5.1.1 and 5.1.2
    running local install.
    on the inbound file eway e.g. eaFileIn under the parameter settings I had to change the "/" to a back slash "\"
    so from C:/temp to C:\temp
    next we had to modify the file eway properties in the connectivity map
    On the inbound
    Input file name *Input.dat
    Polling interval 5000 **Note you can set this to what you want 5 seconds works for me
    Remove EOL set to False
    Multiple records per file False
    Maximum bytes per record 4096
    Encoding "blank"
    SerialMode False
    Resend On Error False
    For the outbound same thing for the directory in the environment explorer
    Output file name the name you want to give it, if you don't need to have xml, you can put a "." dat
    e.g. FileOut%d.dat
    Hope this helps,

  • Urgent: Problem with executing an OS command

    Hi, all.
    My system environment is Netweaver 04 on SUSE LINUX Enterprise Server 9 (x86_64). Temporary License has been installed on the machine.
    I'm trying to execute an OS command as an auto-reaction to a monitoring architecture alert.
    I have followed the
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/predefined auto-reaction methods of the alert monitor
    document.
    I have defined operating system command in the External Operating System Command transaction (SM69). I have tested it using transaction (SM49) and it is working fine independently. I have created a auto-reaction method using transaction RZ21 and assigned to the my MTE (Monitoring Tree Element). Then I go to the transaction RZ20. When an alert is arrived to my MTE, the color get changed to Red. When I select the MTE and clicked the Display Alert, It shows the ACTION_REQUIRED status and my command is not executing because my auto-reaction method is not started.
    Could someone tell me what could be the all possible reasons for this? Is there any particular service using transaction SICF I have start for this? What most important steps I am  missing?
    Let me know if anything more informations you people required to answer this.
    Its very urgent for me. If someone help me ASAP, it would great help for me.
    Thanks in advance.
    Best regards,
    Sanjay

    Can you double check the auto reaction method assignment?
    You do not need to have any SICF services enabled for this.

  • URGENT Problem with Greek Character from an Oracle database

    Hello, I am having a serious and urgent problem with the character settings of an oracle database (8.1.7). The database is sitting in a solaris unix server and when we run the env command we have the following in the NLS_LANG parameter: AMERICAN_AMERICA.WE8ISO8859P1 (I do not know if this is helpful). When I retrieve data from oracle database (through a VB.NET 2005 program)to a dataset I use a special font in order to see the greek characters (HELLASARIAL). But when I am trying to save these data to a TXT file the greek characters are like Chinese to us. I tried several encodings (System.Text.Encoding.GetEncoding(869)) but without success. Can someone tell me how to convert the oracle greek characters during the selection or during the saving to the TXT file?
    Please respond as fast as you can.
    Thanks in advance

    Here is the answer of the microsoft:
    I have the information that you have a VB.Net 2005 application connected to an Oracle database 8.1.7.4 hosted on a UNIX server.
    This database has the CharacterSet WE8ISO8859P1.
    When retrieving Greek characters from this database in the application, you cannot see them.
    Could you please send me a screenshot of these characters in the .Net application?
    Are they displayed as gibberish, or as inverted questions marks (?)?
    I already had similar cases with Hebrew characters hosted on an Oracle database.
    These characters were displayed as questions marks on the client side.
    This is due to the fact that System.Data.OracleClient is using the Server CharacterSet to display the characters.
    If your Greek characters are not stored in the WE8ISO8859P1 characterset, then they won’t display correctly on the client-side.
    This is different from OLEDB where you could interact on client side by modifying the NLS_LANG parameter in the registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0.
    The client NLS_LANG and the server CharacterSet had to match in order to correctly display the data, and avoid SQL*NET conversion.
    So there are two solutions to your case:
    - The first one is to create a new database using the P8 characterset. The Oracle .Net managed provider will so be able to use it and display the characters correctly.
    - The second one is to use the OLEDB.Net managed provider, and then use OLEDB for Oracle provider. OLEDB will take care of the client NLS_LANG registry parameter.
    Would it be possible to test your application against an Oracle database with WE8ISO8859P8 characterset?
    Would it be possible to test it with the OLEDB .Net managed provider, and after checking the NLS_LANG client registry parameter?

  • Space problems with the SAP Database MS SQL 2000

    Hi,
    Actually, I have a size problem with the database, I have MS SQL Server 2000 with Service Pack4 on a Windows 2003 Server environment that is my DataBase Server of my ERP ECC 6.0. On the other hand I have a storage where I have 229 Gb of free space used only for the database files of the SAP data and the SAP log file.
    But when I check the DB space allocation on trx. DB02 I saw this:
    3 Database files and 1 transaction log:
    The 3 database files are: PRDDATA1 (size 15,313 MB used 15016 MB) , PRDDATA2 (size 14106 MB used 13984 MB), PRDDATA3 (size 14472 MB used 14352 MB) and the log file is PRDLOG1 ( size 1000 MB) all of them with no limit option and growth by 10%.
    So I went to the SQL Enterprise Manager and I saw that my Database PRD properties and I got this information:
    My database size is 44892.48 Mb size with only 1330.36 Mb of free space and that is alarming.
    So the question here is how ,if I have a storage where the sap data is storing with 229 Gb of free space, can I make the database files grow up in order to use all the available space of my storage.
    Can you help me please because it is critical being my productive system?
    Best Regards
    Erik Espinosa

    I resolved this issue myself. Thanks for all your help.
    Best Regards,
    Erik Espinosa

  • I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple I'd as there was some problem with the first one. Now at some places still my old apple I'd is appearing.  Pls adv how I change this to my new apple Id.

    I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple id
    as there was some problem with the first one. Now at some places still my old apple Id is appearing.  Pls adv how I change this to my new apple Id.

    Anything you downloaded with the first Apple Id will forever be tied to it, and will always require it to update.
    The question here is, why did you think you needed to create a new Apple ID? What was the problem with the first one?
    To get rid of th old one, you'll need to delete everything you downloaded with it, and then sign out of the ID in several places around the iPad. 
    Go to Settings->iTunes & App Stores->Apple ID->Sign out.
    Repeat the process, for Facetime, Messages, Mail and any other App you need to sign out of.

  • Has anyone else had problems with the latest system updates to Mac OS X v10.6.8 with the java virus patch?

    After installing the latest updates to Snow Leopard the system hangs up and will not open properly.  This is the update to Java, etc after the virus was discovered.  I have done the updates on four different systems with the same result. 

    No problems with the Java update here, although I have Java disabled. Might try reapplying the Java standalone while in Safe Boot (Shift at startup chime), if you did it from Software Update.
    http://support.apple.com/kb/DL1516

  • Problems with the imadmin purge user command

    I am using iMS 5.2 hot fix 1.05, iDA1.2sp1 and iDS 5.1
    When I try to use the imadmin purge user command I get the following errors:
    [email protected]: purging user
    [email protected]: purge user failed
    Failed connection refused.
    If I don't use the -g 0 option then it reports success, but the user account is still in LDAP...
    I found a reference to the imadmin user purge command not working when you have iDA 1.2patch1 and iMS 5.1 patch 1 unless you make a change to your resource.properties file but i have tried the file both way and I get the same error with the purge user command.
    I can use the imadmin delete user or imadmin modify user without any problem. I am just having trouble with the imadmin purge user command.
    Any ideas?

    This problem is documented in bug id 4671472. I have attempted the recommeded fix, but the problem persists. If anyone else has been having a similar problem and has any solution let me know. Thanks.
    Peter

  • Problems with the vba command sendkeys in Access 2013.

    Hi, I have problems with the vba command sendkeys in Access 2013.
    I use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field, then place (paste) the text in a Word document. The command line sendkeys
    is followed by moving the focus to a particular control. In Access 2003, which went smoothly. Now the sendkeys command is executed only in Access 2013 in the control that then receives focus. If the procedure ends with the sendkeys command then it works well.
    The procedure with the sendkeys command is activated by a button on a form.
    Who can help me?
    private user

    Hi H.Plmp,
    Based on the description, you want to call the sendkeys from a button.
    >> use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field<<
    What did you mean that you no control? And how did you get the text in memory from the text field? Also I am not able to understand the exact reason that the command doesn't works in Access 2013.
    And based on the test, sendkeys "+ {Delete}" works well for me when I set a focus for the textbox control. Here is th test code:
    Me.Controls("txtField1").SetFocus
    SendKeys "+ {DELETE}", 1
    If I misunderstood, please feel free to let me know.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error thread java : problem with the function "resume 0x***"  (forum sun)

    One problem with the function of jdb occured when I tried to use it to
    pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
    I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
    I give you the code of the class and the code of jdb.
    CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
    public class Test{
         public static void main(String[] args){
              Room r = new Room();
              decrease de = new decrease(r);
              increase in = new increase(r);
              de.start();
              in.start();
    class Room {
         private volatile int degre=20;
         public void more(){
         degre += 4;
         public void less(){      
         degre -= 3;
    class decrease extends Thread{
    private Room room;
    public decrease(Room r){
              room =r;
    public void run(){
    try{ 
         while (!interrupted()){ 
              room.less();
    catch(InterruptedException e) {}
    class increase extends Thread{
    private Room room;
    public increase(Room r){
         room =r;
    public void run(){ 
         try{ 
              while (!interrupted()){
                   room.more();
    catch(InterruptedException e) {}
    JDB:
    Initializing jdb ...
    stop at Test:7Deferring breakpoint Test:7.
    It will be set after the class is loaded.
    runrun Test
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started: Set deferred breakpoint Test:7
    Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
    7 in.start();
    main[1] stop at room:16
    Set breakpoint room:16
    main[1] stop at room:20
    Set breakpoint room:20
    main[1] resume
    All threads resumed.
    >
    Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
    20 degre -= 3;
    Thread-0[1] threads
    Group system:
    (java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
    (java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
    (java.lang.Thread)0x10b Signal Dispatcher running
    Group main:
    (decrease)0x146 Thread-0 running (at breakpoint)
    (increase)0x147 Thread-1 running (at breakpoint)
    (java.lang.Thread)0x148 DestroyJavaVM running
    Thread-0[1] resume 0x147
    Thread-0[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] print degre
    degre = 24
    Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] clear
    Breakpoints set:
    breakpoint Test:7
    breakpoint room:16
    breakpoint room:20
    PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.

    Hi,
    I have read the FAQ of the JMF.
    The problem was the jar files of the JMF were not in the JRE\BIN\EXT
    folder of the Java runtime!
    now it works!
    thanks
    Reg

Maybe you are looking for

  • Hp Office Jet 6600 printer problem

    Recevied  a Missing or Failed Printhead message of my computer that stated " The printhead appears to be missing, not deteced, correctly installed or incompatible."   What must I do to get this problem corrected?

  • SAP HCM - Payroll Posting - Finding personnel number for a credit Memo

    Hi, We are currently trying to trace the personnel number associated with a vendor posting from HR-FI. A credit memo has gotten generated against the vendor (union dues vendo). The FBL1n transaction yields only a consolidated result. The document num

  • How can I get a method to handle the return type flexibly?

    I coded an abstract class implementing an abstract method called retrieve(int index). When I inherit from that class and add an implementation for that method I want to be able to return any primitive values as well as any objects. In effect the meth

  • Procurement cycle

    pl. tell me procurement cycle with excise duty.Is therenecesasary to create excise invoice seperately in J1IS,if it is captured during MIGO and posted in J1IEX.

  • PS script that fills security zones in IE

    This script fills the IE security zones. The idea is for it to be added as a logon script. I reworked it from the original script from David Wyatt on https://social.technet.microsoft.com/Forums/windowsserver/en-US/84434209-0b35-49f1-91f7-0e041ca656da