Not able to access CD file system from java (or how to)

I am trying to access CDROM from java
program that is running from my HD. I am
accessing as d:\data\ (d: = my cd rom drive)
I am using windows 2000 and jdk1.4. I am getting
java.io.IOException - Access denies.. any pointers please..
- Ravi

Hi friends,
i want to develop an online exam application.
but i am not having any idea how to access CDROM databse from java programe????
Any help ???
Thanks in advance
Navik Pathak

Similar Messages

  • Not able to access a file referenced from a HTML file

    Hi,
    Using UCM i am checking two files aboutus.html and aboutusBanner.png in About Us FOLDER.Checkin is happening perfectly well.
    Now In JDEVELOPER I am creating a webcenter application (named MyPortalApplication) and accessing those file using a connection to the UCM server.I am able to fetch the files under
    Application Resouces->Connection ->Content Repository ->UCM ->Contribution Folder ->About Us
    UCM I am using a connection name.
    My aboutus.html file in accessing the aboutusBanner.png to display some image.
    Below is code snippet for aboutus.html ...
    <table align="CENTER" width="930px" BORDER=0 bgcolor="white">
    <tr>
    <td>
    <img src="aboutusBanner.png" />
    </td>
    </tr>
    <tr>
    <td valign="top">
    <p style="font-family:Verdana;font-size:14px">
    <br>
    Go Green Eat Fresh opened in 1992 by three Italian brothers with a vision:
    </p>
    </td>
    </tr>
    </table>
    But when i am running the application that banner image (aboutusBanner.png) is not getting displayed.I think i am not giving the path aboutusBanner.png in aboutus.html correctly.
    Please suggest me how my aboutus.html should use the aboutusBanner.png in code given above.
    Thanks,
    Rajeev

    <img src="aboutusBanner.png" />This may reference the file while it is on filesystem (most likely on a web server, must be in the same directory).
    If you want to create a reference to a file in UCM (document repository), you need to do it differently. The easiest way (if your file is in Public security group) is to use html link to the file: e.g. http://{serverURL}/{instance name}/groups/public/documents/graphic/oly_088631.jpg (search for the file in UCM and copy the link from the search result dialog).
    A better way is to use SSXA - see this manual http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/toc.htm - when your html will be constructed from a template and the image will be defined through a placeholder (you will learn to use placeholders in Chapter 3 of the manual). Since PS3, SSXA should be usable for Webcenter pages.

  • Access linux file system from windows and vice versa

    Friends
    Do anyone of you have any idea about how to access linux file system from windows using java. Thanx in advance.
    Regards
    Rakesh

    "Accessing" is vague. Do you want to read? write? Both?
    Here are two ways I'll mention.
    1. Write an ftp client for the "cleint" computer. I beleive java has some framework functions for doing this.
    2. Write java RMI client and server to open, read or write, and close a file. Pass a byte array parameter containing each block of data.

  • Not able to access the Database & Clusterware from OEM Console.

    hi,
    I had installed Oracle RAC 11g R2 in RHEL 5.3 Operating environment. I had installed my Oracle RAC with Enterprise Manager Console.
    Its with the defailt port 1158. After the installation when i try to access my EM Console, i was not able to access the Database and Clusterware from EM Console.
    When i access the EM console with url, I found with Startup and Perform Recovery option. But whereas my database is already startup and running.
    So when i click startup its saying database is already started. Since it is a prodution environment i dont want to go with Perform recovery option.
    Please tell me hw to attach files in this thread so that i can send the snap shot of the console for your reference.
    with regards
    A.Aravind
    Edited by: 795847 on Sep 21, 2010 10:40 PM

    hi,
    As mentioned due to not having the default listener port 1521, we are facing this problem.
    As meniotned i had changed the emoms.properties file and changed the port and my emctl page is opening.
    But am not able to access the other parameters like ASM, Servers, Clusters etc bcoz since in some file it is looking for 1521 default port.
    So is it better to go for emctl deconfig and config again or to change the port the files which required.
    If i do in what are the file the default port will be located related to emctl.
    with regards
    A.Aravind

  • Not able to access webservice after migrating from 8.1 to 10.3,plz help

    Hi All,
    Prev our application was running in weblogic 8.1 and now we moved to 10.3
    We are able to deploy our webservice in 10.3 and access the wsdl but we are not able to access the webservice from the client.
    Even the testclient is not comming up.
    After spending long time in that,now i dont have any clue on this issue.
    Plz help on this
    Thanks ni advance,
    Mouli

    Sunil,
    We are not seeing any exception.We regenerated the webservice and then deployed in the 10.3
    When we make req from the client ,we are getting null response but thing is there are no log trace in the server side for that
    folllowing is the input string we are pasing to the method notifyservice
    IN the client we pass the wsdl url and then pass the following input string and hit the notifySerivce method
    Req:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><object><GLCCode>102431</GLCCode><callBackNumber>888256798</callBackNumber></object>
    Res:
    <m:notifyService xmlns:m="http://www.testportal.com/outbound/tsp/WowWebservices">
    <result xsi:nil="true"/>
    </m:notifyservice>
    Therre was an exception in the client side,plz check below
    javax.xml.rpc.soap.SOAPFaultException: Failed to get operation name from incoming request
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:317)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)
    Thanks For your time,
    Mouli

  • Not able to access the result set from one member function to another

    Im new to jdbc
    I have declared a connection object , a result set object and statement object in one member function and i am not able to access these in another member function. But both are in the same class
    Kindly help
    Thanks
    Shasi

    Kindly refrain from double-posting:
    http://forum.java.sun.com/thread.jspa?threadID=700659&tstart=0
    - Saish

  • I have LR2 but not able to access nef files from my Nikon D800

    Unable to access nef files from my Nikon D800.

    You need Lightroom 4.1 or later (the current version is 5.7.1 but will not run on Windows Vista or XP and certain Mac operating systems, if that's an issue)
    You could also download the FREE Adobe DNG Converter version 7.1 or later and convert your RAWs to DNG and import those into your Lightroom 2.

  • Not able to access my server remotely from windows 8 pc

    Hi,
    I've windows 8 pc and not able to take remote access of my 2008 server from this pc, getting below error.
    (An authentication error has occurred, The requested security package does not exist.)
    I checked after changing registry value as mentioned below.
    kerberos
    msv1_0
    schannel
    wdigest
    tspkg
    pku2u
    livessp
    Regards
    Devraj
    [email protected]

    Hi,
    Firstly, would you please let us know following:
    1. Is it a domain network or workgroup/home network.
    2. Is this Windows 8 machine able to remote other machines and is this Windows Server 2008 machine able to be reached by other machines remotely?
    3. What kind of User Account do you use to log on?
    4. Did the issue occur previously?
    Meanwhile, in the Windows Server 2008 machine, please uncheck “Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)” and try again.
    Best Regards.
    Jeremy Wu
    TechNet Community Support

  • Not able to access the floating content from UCM into WLP using VCR

    Hi,
    I am facing an issue while accessing the content ( floating content i.e CSS,content,javascript) from UCM 11g into WLP 10.3.2 using VCR. But at the sametime, i am able to access the content once its moved to contribution folder.
    Please let me know is there any limitation in VCR i.e VCR can read the content from UCM once its moved to Contribution folder.
    Thanks a lot,
    Suresh

    Hi
    Do you have sample code , how to refer css stored in UCM. If you have please share it

  • Not able to access my files on in built device media on BB 9800

    I am unable to access any files (music, pictures, videos etc) saved on Device in-built storage neither from BB nor from desktop manager since morning.

    Hello Atinmahajan,
    To better assist you with this issue I have a couple questions:
    Are you receiving any error messages on the BlackBerry® 9800 smartphone?
    Have you reinserted the battery?
    Go to the Media folder, press the menu key, choose Explore, Device or Media card, can you find the files in here?
    Thank you.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Not able to access my iPhoto library from external harddrive

    I get this message when I attempt to access my iphoto Library from my LeCie external hard drive.  "Your photo library is either in use by another application or has become unreadable. Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and Command keys pressed. You can also try restoring your photo library from a backup.
    I'm nervous to do as instructed for fear of deleting my photos from the external harddrive.

    What format is the external drive? Has the iPhoto library been working on the external drive in the past? What recently changed? what ahppened when you tried
    Shut down and restart your computer, and then open iPhoto again.
    LN

  • Remote Object - not able to get the returned value from java method

         Hi ,
    I am developing one sample flex aplication that connects to the java code and displays the returned value from the
    java method in flex client. Here I am able to invoke the java method but not able to collect the returned value.
    lastResult is giving null .  I am able to see the sysout messages in server console.
    I am using flex 3.2 and blazeds server  and java 1.5
    Here is the code what I have written.
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" initialize="initApp()">
     <mx:Script><![CDATA[
    import mx.controls.Alert; 
    import mx.binding.utils.ChangeWatcher; 
    import mx.rpc.events.ResultEvent; 
    import mx.messaging.*; 
    import mx.messaging.channels.* 
    public function initApp():void { 
         var cs:ChannelSet = new ChannelSet(); 
         var customChannel:Channel = new AMFChannel("my-amf", "http://localhost:8400/blazeds/messagebroker/amf");     cs.addChannel(customChannel);
         remoteObj.channelSet = cs;
    public function writeToConsole():void {      remoteObj.writeToConsole(
    "hello from Flash client");
          var returnedVal:String = remoteObj.setName().lastResult;     Alert.show(returnedVal);
    //[Bindable] 
    // private var returnedVal:String; 
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteObj" destination="sro" /> 
    <mx:Form width="437" height="281">
     <mx:FormItem>  
    </mx:FormItem>  
    <mx:Button label="Write To Server Console" click="writeToConsole()"/>
     </mx:Form>
     </mx:WindowedApplication>
    Java code
    public  
         public SimpleRemoteObject(){  
              super();     }
      class SimpleRemoteObject { 
         public void writeToConsole(String msg) {          System.out.println("SimpleRemoteObject.write: " + msg);     }
         public String setName(){          System.
    out.println("Name changed in Java"); 
              return "Name changed in Java";
    And I have configured destination in  remote-config.xml
    <destination id="sro">
       <properties>    
        <source>SimpleRemoteObject</source>
        <scope>application</scope>
       </properties>
      </destination>
    Please help me .

    You are not able to get the returned value because if you see the Remote object help you will realise you have to use result="resultfn()" and fault = "faultfn()"
    In this you define what you wish to do.
    More importantly in the remote object you need to define which method you wish to call using the method class like this
    <mx:RemoteObject id="remoteObj" destination="sro" result="r1" fault="f1"  >
         <Method name="javaMethodName" result="r2" fault="f2"/>
    <mx:RemoteObject>
    r2 is the function where you get the result back from java and can use it to send the alert.

  • I am not able to access referenced files consistently

    When I import into Aperture 3 I am able to edit my work. If I disconnect and later reconnect the external hard drive they are stored on and try to come back to work, it says the files are offline. I go to the reconnect option and although the drive is connected and showing up, I cannot access it to connect it.
    Until today rebuilding the library worked. Now that doesn't work either.
    I have tried several firewire cables.
    What can I do to resolve this? What have I done wrong?

    What do you see when you click the course, then the student tab? Is "Allow new requests" on?
    In Course Settings, is the course self-paced or in-session, i.e. it has dates listed?

  • I just installed FontPack Pro.  I am not able to access the new fonts from Pages.  What am I doing wrong?

    I installed FontPack Pro.  I was successful in loading them into the font book.  However, when I open pages and attempt to select a font, quite a number of them have an "A" with a box around the A.  In the document it comes up as a box with a graphic inside.  What's wrong, and how do I fix it?

    They are from memory just a bucket full of cheap fonts (despite the "Pro" moniker). The lot I saw were not even OpenType and there were problems with older fonts in late versions of Snow Leopard so the problems could be anywhere from cheap and nasty fonts, to older format, to installed in the wrong location, to problems with the font cache as mentioned.
    Peter

  • Hello, i had to uninstall itunes. now when i want to install agian it keeps telling me that the bonjour file and applesupport... whatever can not be replaced. so i can not install agian. and i am not able to uninstall the files manually from my pc either.

    hello, i had to uninstall itunes from my pc. now i wanted to install it agian. but it keeps telling me that the older files bonjour and applesupport... whatever cannot be removed or replaced. now what can i do? ´cause i cannot remove them manually from my pc (from software list) either. please help!!

    applesoftwareupdater.msi and bonjour.msi
    Many thanks.
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up").
    In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    Next, select any Bonjour entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

Maybe you are looking for

  • How to de-activate Qty and Price fields for Service purchase requisition

    Dear all, We have a request to de-activate (leave it as "Display") the fields of quantity and gross price when changing a service purchase requisition of a specific document type. In example: We want that purchase requisition type NB, allows in chang

  • Delivery split in STO

    hi all, i have a scenario where in i am sending mats with diff material types in the same STO order. is it possible for me to split the deliveries on the basis of material type. thnx in advance saurabh

  • Crackling/substandard sound in flash videos (YouTube etc) regardless of video quality setting.

    Hi all, I hope you can help! Apologies if this is in the wrong forum, I'm struggling to find the best place to put this. 1. a summary of your issue Crackling/substandard sound in flash videos (YouTube etc) regardless of video quality setting. 2. the

  • Want to transfer pics to my Win 7 Photo Stream folder from my ipad

    I have taken pictures on my iPad that are in "my photo stream" on my iPad. I would like them to be wireless  transferred to my photo stream folder automatically on my Windows 7 PC. I can attach my iPad to my computer,copy all the pictures and paste t

  • SQL History and timestamp order

    Hi, I have SQL Developer 12.84 (4.0.0.12). Sql history forces MM/DD/RR format in Timestamp instead of NLS format: DD.MM.YYYY HH24:MI:SS. As a consequence the sort order fails. Played with  C:\Users\<user>\AppData\Roaming\SQL Developer\SqlHistory file