T3 file erroe

In my ejbCreate method of the bean, the control breaks after the lookup
is done. It doesn't throw any exception either. Can somebody please help
me? I am using the WL6 sp1.
Regards,
Vikas
public void ejbCreate() {
System.out.println("File Handler Bean ejbCreate Called");
try {
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
h.put(Context.PROVIDER_URL, "t3://localhost:7001");
InitialContext ctx = new InitialContext(h);
System.out.println("After the initial Context");
T3ServicesDef t3services = (T3ServicesDef) ctx.lookup(T3SERVICES);
System.out.println("lookup done");
T3FileSystem fileSystem =
t3services.io().getFileSystem(FILE_SYSTEM);
System.out.println("Got the filesystem");
file = fileSystem.getFile(FILE_NAME);
System.out.println("Got the File" + file);
if (file.exists()) {
System.out.println("The file already exists");
} catch(Exception ex) {
System.out.println("Exception in FileHandlerBean ctor");
ex.printStackTrace();

hello
i still cant find any solution.
Please help.
Imran Baig

Similar Messages

  • LSMW - Specify Files - erro message

    Hi,
    Getting the erro message "No logical path specified" when  specify  files.
    how to solute it.thank you.
    regards.
    sophia

    in step 7 where u specify file, drop down imported data folder and give any file name like "test.lsmw.read" .
    also specify a file name for converted data "test.lsmw.conv"
    the system will automatically generate files on application server..
    dont use " " with file name..and remember to use correct extension i.e. .lsmw.read & .lsmw.conv
    plz reward points if dis helps
    Edited by: abapuser on May 8, 2008 12:05 PM

  • Is it possible to read a file from Method?

    Hello people,
    I will be much grateful for your help!
    I try to read file from one of the methods of the class.
    It is compilated but doesn't work?
    Who knows what's the matter?
    public void fillSinglePoly()
    String s1;
    int [] migi;
    int line_number;
    try
    migi=new int[500];
    FileInputStream is=new FileInputStream("pereb.txt");
    BufferedReader ds=new BufferedReader(new InputStreamReader(is));
    line_number=0;
    while((line_str=ds.readLine())!=null)
    s1=(line_str.substring(0,2)).trim();
    migi[line_number]=Integer.valueOf(s1).intValue();
    line_number=line_number+1;
    ds.close();
    catch(IOException e)
    System.out.println("File erroe"+e);

    public void fillSinglePoly()
      String s1 = null;
      int [] migi;
      int line_number = 0;
      String line_str = null;
    try
      migi = new int[500];
      FileInputStream is = new FileInputStream("pereb.txt");
      BufferedReader ds = new BufferedReader(new  InputStreamReader(is));
      line_number = 0;
      while ((line_str = ds.readLine()) != null)
        s1 = (line_str.substring(0,2)).trim();
        migi[line_number] = Integer.parseInt(s1);
        ++line_number;
      ds.close();
    catch(IOException e)
      System.out.println("File erroe"+e);
    }

  • AlertfileErr: ORA-02097 and ORA-00439 on Oracle 10g Rel 2 Stdrd Instances

    Hello,
    I need some help for the following alert file erros, that I get periodically on every database instance.
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-00439: feature not enabled: Database resource manager
    I red in another newsforum, that this ist a bug, cause Oracle Standard Edition uses functionality of the Enterprise Edition(=DB Resource manager). Is there any workaround for this? I don't have access to the Oracle metalink section.
    Database Resource Manager isn't installed in my environment.
    Environment:
    Windows 2003 SP1
    Oracle Database 10g Rel 2 (10.2.0.1) Standard Edition
    Hope anybody can help me.
    Thanks in advance,
    Zigi

    Yes,
    and That's exactly my problem. I haven't installed the resource manager. And I don't know which process, session, jobs or what ever tries to use the resource manager.
    I only created round about 50 Tables and views in the database, no stored procedures or anything special, no jobs.... only simple SQL Statements.
    and I'll get this message nearly every 6 hours. so what is going on there.
    The only thing, that i found was this:
    http://ora-02097.ora-code.com/msg/49049.html
    I don't have access to metalink so I don't know how to solve this problem.
    Can anybody help?

  • XFI-64 Bit Driver, remote control not work

    I have just installed the 64Bit drivers for my X-fi Fatality. The sound works however the 'sound console' that plugs into the dri've bay at the front of my pc does not seem to be working. I press start on the remote control and nothing happens. The X-fi volume icon does not appear in the system tray. When I boot up the 32 bit version of windows all is well and i can use the remote control and all of its functions. Can anyone help as this is now very frustrating.

    Originally Posted by MiLoCzE
    Hi men, if you will use remote control, you must install ECUP_PCVTAPP_LB_3_40_21 . :-)
    What is " ECUP_PCVTAPP_LB_3_40_21 " ?
    I searched on the internet and all I could find about it is that it's a virus? Can you tell me something more about that file ?
    http://www.pc-face.com/exe-file-erro...exe-fix-22694/

  • I can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!

    i can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!

    Apple dropped playback support for .swf formats in QuickTime almost ten years ago.
    Adobe Flash Player is the only way to view them.

  • Erro in bursting ZIP file must have at least one entry

    Hi All ,
    i am using bursting utility for xmlp report ,but getting the following error
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    i have no clue y this error is coming ,any hint would be very helpful,
    Thanks in advance
    thanks
    Pratap

    Hi All
    i got resolved this error (Erro in bursting ZIP file must have at least one entry) ,was doing very silly mistake i was using the template name instead of Data Definition code name in location string
    location= ' '
    so the ZIP file error is removed ,now getting one more error after this ,which i am not able to under stand
    --Exception
    /tmp/011211_023243126/xdo1_164902_2.pdf (No such file or directory)
    java.io.FileNotFoundException: /tmp/011211_023243126/xdo1_164902_2.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:532)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:299)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Please help me on this
    Thanks
    Pratap

  • Nokia 5310 supportive file nothing to display ERRO...

    after reset factory setting in nokia 5310xm i am not abale to open any application
    "supportive file nothing to display"
     every time same erroe messege . i am also not able to open browser.  
    what can i do please help me
    MODERATOR'S NOTE:
    We would like to inform you that we have edited your post and removed personal details (e.g. full name, mobile number, email address) from the post as it is unwise to publish personal details on forums like this.

    Hello i have nokia 2700 classic mobile phone....
    When i want to try to launch games/apps it gives an error "supportive file. Nothing to display"
    please help me out of this problem...

  • While browsing Firefox, display another htm*file by double-clicking it in Windows Explorer and not getting the erro message "Firefox is already running (etc) "

    While browsing the Web with Firefox, I often want to view an htm (or html etc) file that is recorded on my computer, by double-clicking it in my Windows Explorer, hoping it will open automatically a new tab.
    When I try this now, I get the error message "Firefox is already running (etc)" .
    In my current setup, Firefox is associated with the htm and html file name extensions.
    If, instead of double-clicking the filename in the Explorer, I choose the Firefox menu item "Open a file", this works OK.
    In old versions of Firefox, double-clicking a filename in the Windows Explorer or File Manager caused Firefox to open a new window every time which was ok.
    I have the same problem with Thunderbird, which I have associated with the "eml" file name extension. How can I view a series of recorded ".eml" files with Thunderbird when Thunderbird is already running ? Thank you.

    The target field of the desktop shortcut is "D:\C_Mozilla Firefox\firefox.exe" (no switch)
    The system/environment variable MOZ_nO_REMOTE is now 0, changed from 1, but I can see no difference. Maybe I need to restart the system to get a change ?
    Thank you.

  • How to get the erroe message, if i run java program using .bat file

    Hi,
    I have a java file which accepts two inputs as command line argument. I want to make this pgm a tool. So have created a *.bat file which has the following command
    java myprogram arg1 arg2
    I'm gonna share this program with others. So i'll keep the class file and the .bat file in a commaon folder. All the users have to do is, edit the .bat file to give his/her args and run the .bat file. The pbm is, if the user input is not valid, I have put displays in the pgm to show it.
    But if i run thru .bat, I'm not getting the error message or I don't know where it is getting displayed.
    Can anyone help me with this ?
    Thanks,
    Mary

    When i run from the console, I can see the output.
    But, when i double click on the .bat file from the
    folder, it runs fine and i couldn't see the output.
    nullThat's because the error message is printed, and then the console is closed. The message is there but you need to read really really fast :)

  • Erro in file to mail scenario

    Hi all
    In file to mail scenario, i m getting a error
    com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.messaging.util.XMLScanException: illegal value in {}Date
    my input message to the adapter is
    <ns0:Mail encoding="" xmlns:ns0="http://sap.com/xi/XI/Mail/30">
       <Subject>hi</Subject>
       <From>[email protected]</From>
       <To>[email protected]</To>
       <Reply_To>[email protected]</Reply_To>
       <Content_Type/>
       <Date>12122007</Date>
       <Message_ID/>
       <X_Mailer/>
       <Content>dfdfdfdf</Content>
    </ns0:Mail>  
    Any idea where i have gone wrong?

    Hi,
    Try to send data with using the date feild if it works then probelm with the date format.
    What is ur scenario.u can directly hard code the TO,FROM and other valus in mial adapter na.....
    Can u be clear on ur senario so that i can help.
    Regards,
    phani

  • I got following erro message in Apache error log file

    Why mod_plsql is not started while trying to use Oracle Apex
    I got connection error as below into modplsql log file
    <106296140 ms>[ReqStartTime: 11/Sep/2007:14:48:50]
    <106296140 ms>Request ID ReqID:5160_1189536530
    <106296140 ms>Connecting to database with connect string : "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=https)(PORT=//escis-000567.eschq.esc.state.)))(CONNECT_DATA=(SID=80)))"
    <106296140 ms>ORA-12545 LogOn ORA-12545: Connect failed because target host or object does not exist
    <106296140 ms>Stale Connection due to Oracle error 12545
    <106296140 ms>Logoff: Closing connection due to stale connection
    <106296140 ms>[ReqEndtime: 11/Sep/2007:14:48:50]
    <106296140 ms>[ReqExecTime: 0 ms]
    I got following from Oracle Apache error log file
    [Tue Sep 11 15:31:46 2007] [notice] FastCGI: process manager initialized
    [Tue Sep 11 15:32:03 2007] [error] [client 10.18.144.215] [ecid: 1189539123:10.18.144.215:2612:1148:1,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
    [Tue Sep 11 15:32:15 2007] [error] [client 10.18.144.215] [ecid: 1189539135:10.18.144.215:2612:2232:1,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
    [Tue Sep 11 15:32:21 2007] [error] [client 10.18.144.215] [ecid: 1189539141:10.18.144.215:2612:4896:1,0] File does not exist: c:/gridhomes/http/apache/apache/htdocs/apex
    [Tue Sep 11 15:32:29 2007] [error] [client 10.18.144.215] [ecid: 1189539149:10.18.144.215:2612:4896:2,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
    What could be problem
    also in first error log I found
    Connecting to database with connect string : "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=https)(PORT=//escis-000567.eschq.esc.state.)))(CONNECT_DATA=(SID=80)))"
    why it picks up https as HOST name. I think that's problem. How to resolve it ?
    Thanks
    ~Keyur

    Please post the details of the application release, database version and OS.
    I am getting several of these messages in the Apache error logfile.
    File does not exist: $JAVA_TOP (this is actually my physical patch for $JAVA_TOP)Is this the complete error message?
    Is it normal to see this messages or some configuration is wrong?If your application is functioning properly with no issues, then you can ignore those errors.
    Thanks,
    Hussein

  • I guess I uninstalled the wrong files, some type of help file. Any way when I try to reinstall itunes  for wondows XP I get a erro code 2330

    I am having trouble reinstalling itunes, I do have a pc with Quick times windows XP and I get error code 2330. I had uninstalled  apple support file

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Erro when opening a file wrong type of file.

    I cannot open an EPS file in Elements 11 it has an .eps file extension and I get an error that it is the wrong type of file.

    Thanks, I wish I would have known that before I upgraded to 11.  My old
    Elements 9 did more.
    On Mon, Jul 28, 2014 at 7:42 PM, Barbara B. <[email protected]>

  • File-to-idoc erro while creating IDOC

    Hi,
      I am working FIL-TO-IDOC scenario.
       my idoc : DESADV.DELVRY03.
    while creating IDOC in target end created with error status 51.
      the error is POSEX field is empty.
    I gave the value for POSEX  then i tried it is giving another error..'field POSEX is empty'
    actully what i need to give for POSEX.
    where do i find the POSEX value for delivery document.
    Please can any one help me to create succefully with Delyry03 idoc.
      I have another douts also..to create the Delivery document IDOC is DESADV.DELVRY03 is correct or not...if any other IDOC's is there to create delivery document.
    Regards,
    venu.

    Hi Venu,
    <i>>>>I have another douts also..to create the Delivery document IDOC is DESADV.DELVRY03 is correct or not...if any other IDOC's is there to create delivery document.</i>
    This IDOC is the right one.
    POSEX is the external item number. How many line items are there, I mean how many delivery items are there? Are you sure you are assigning POSEX for all the records?
    Thanks,
    Prakash

Maybe you are looking for

  • Cutomer theme is not working properly

    HI, we have upgraded our portal version from EP6.0 sp 9 to EO 7.0 SP9. after upgrade customer theme is not displaying properly. like tabs ,font size are displaying with improper format. can any one tell me what needs to be done. But SAP standard them

  • N9300i Phone taking more time

    Dear Pals, My N9300i Phone takes more time to update and some time hangs also. Then i have to switch off and restart to solve the problem. Please help me

  • Problem Importing Web Service as model in Web Dynpro

    Hi experts, I want to import a new adaptive web service model into web dynpro. As when I open Data Model to create the model, it prompt me login to DTR as the feature required logon to DTR.  After I logon to DTR, there is nothing happen. Any idea wha

  • Color Cast in "Grid" Thumbnails

    I have a strange color cast (pink) that only shows up in the "Grid" and only on the thumbnails of the original RAW file. This color cast shows up in the over-exposed highlights of my thumbnails and is "NOT" because the "Highlight Hot Areas" is turned

  • What priviliges need to Run Discoverer Desktop

    Hi all, I have installed Discoverer Desktop on client machine. When I login throug the administrator on any client machine then I can connect to Desktop. But unable to connect to Discoverer Desktop on client machine when I connect with my personal ID