Results 1 to 4 of 4
  1. #1
    gixxer05 is offline Member
    Join Date
    May 2011
    Posts
    8
    Rep Power
    0

    Default Java app on 64 bit Windows 2008

    I need help finding the solution to a problem that I'm having with an java application that I'm running on 64 bit Windows 2008 Server for a P to V, physical to virtual server migration. My application has been running fine on Windows 2003 32 bit OS. Windows 2008 Server seems to be causing my applicaton to issue file copy errors (null value) for a text file that is a basic listing of a directory, nothing large or arcane. Also, the application does not move files from folders designated in the properties file. I gave admin access to all resources the application requires. I'm stuck at a standstill. I installed jdk1.6.0_26 and modified the PATH environment variable by adding the following: C:\Program Files\Java\jdk1.6.0_26\jre . I also installed the 32 and 64 bit version of jre 6_26 to no avail. Any and all suggestions are welcome. Thanks.

  2. #2
    fxRichard is offline Member
    Join Date
    Dec 2008
    Posts
    64
    Rep Power
    0

    Default

    Hard to say without knowing the exact files and locations you are dealing with, you say you are moving files designated by a properties file...what files are these and where are you moving them to? I ask because in Win Vista,7,2008 you may have to have your program run with elevated privileges in order to perform this task else you will get an access denied, this means you need the UAC to popup allowing the user to grant your program privileges. There are 2 ways I have done this, one is to modify the registry adding java or javaw as a program requiring uac access the restarting your application, once restarted removing the registry setting or the better way is to wrap it in a C application compiled with asAdmin access in the manifest and in turn use JNI to kick off your application. Just a shot in the dark here with what is known at this point.

  3. #3
    gixxer05 is offline Member
    Join Date
    May 2011
    Posts
    8
    Rep Power
    0

    Default

    The files that are being moved are small text files and pdf files. The files should be moved from the shared directories to the local folder at the root of C:. After reviewing privilages, icacls.exe on all directories and folder, etc. with fellow admins, we determine that all is well security wise. Afterwards, I loaded Eclipse and moved the solution to the virtualized server for more troubleshooting. After doing so I discovered that the import for org.apache.commons is failing, throwing errors. More specifically, the org.apache.commons.configuration.PropertiesConfigu ration and org.apache.commons.configuration.ConfigurationExce ption are failing in the code. Why is it failing on the 64 bit machine but is importing on the 32 bit machine? Is there another class I must use to replace the org.apache commons? Thanks.

  4. #4
    gixxer05 is offline Member
    Join Date
    May 2011
    Posts
    8
    Rep Power
    0

    Default

    I found the problem. The app couldn't see a couple shared directories. Thanks.

Similar Threads

  1. 64 bit java on Windows Server 2008 Enterprise SP2?
    By darrens in forum New To Java
    Replies: 1
    Last Post: 07-06-2011, 07:51 PM
  2. Java Classic RPG 2008-05-30
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 05-31-2008, 08:19 PM
  3. Java Classic RPG 2008-04-16
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-19-2008, 05:13 PM
  4. Java Classic RPG 2008-04-16
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-17-2008, 06:53 PM
  5. Java Classic RPG 2008-03-15
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 03-17-2008, 08:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •