I am getting an Access Denied on a file.

Hi,
I am getting an Access Denied on a file.
I am VPNing into a client, Remote Desktop to Windows Server, windows 7 as user x but the files were installed by user y, they are both in the same group.. ???

.FileNotFoundException (Access is denied)
C:\apexlistenerdata\apex\conf2\apex\apex\WEB-INF\standalone.jar does exist


Is this a Permissions problem?
How do I view my user's groups?



      java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:58)
      Caused by: java.io.FileNotFoundException: C:\apexlistenerdata\apex\conf2\apex\apex\WEB-INF\standalone.jar
      (Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
        at oracle.dbtools.standalone.Standalone.extract(Standalone.java:162)
        at oracle.dbtools.standalone.Standalone.extractWar(Standalone.java:180)
        at oracle.dbtools.standalone.Standalone.prepareWarFolder(Standalone.java:118)
        at oracle.dbtools.standalone.Standalone.execute(Standalone.java:43)
        at oracle.dbtools.common.cmds.DefaultCommand.execute(DefaultCommand.java:106)
        at oracle.dbtools.common.cmds.Commands.main(Commands.java:91)
        ... 5 more
LVL 2
BILL CarlisleAPEX DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SterlingMcClungCommented:
Good possibility that this is permission related, if it works just fine for one user, but not another.  Permissions can be set on a per user basis, with the creator of a file/folder most definitely getting different permissions then others.  If this is in a domain environment, then you can check group membership by clicking on the Member Of tab in Active Directory Users and Computers.  If this is not a domain environment, then you can check your groups by typing
lusrmgr.msc

Open in new window

into the Start Menu search box, finding your user account, right click to Properties and select Member Of tab.
0
SterlingMcClungCommented:
Another useful tool is the "Effective Permissions" tab that you can access by right-clicking on a file/folder, going to Properties, selecting the Security tab, clicking the Advanced button and then clicking the Effective Permissions tab.  After you select your user account, the entire list of what permissions you have or don't have will be populated.
0
Giovanni HewardCommented:
Or from the command prompt:

To view permissions:
cacls C:\apexlistenerdata\apex\conf2\apex\apex\WEB-INF\standalone.jar

Open in new window


To grant full permissions to user being denied:
cacls C:\apexlistenerdata\apex\conf2\apex\apex\WEB-INF\standalone.jar /e /g %userdomain%\%username%:f

Open in new window


You can also verify the file is not locked by analyzing it with this program:
http://lockhunter.com/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BILL CarlisleAPEX DeveloperAuthor Commented:
Got it ! Thatk you for the help and the tools..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.