facebook

Deploy error: java.io.FileNotFoundException (access denied)

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #293653 Reply

    tantunes
    Member

    Hi!

    I’m getting a strange error that perhaps you can help me with.
    Me and my partner are developing a web portal and deploying it on IBM Websphere 6.1.

    We have the exact same code, synchronized via CVS. When I deploy the project we can install the .war successfully on IBM WAS but when it’s my partner doing it we get the error bellow.

    When we deploy locally on Glassfish both of us have no problem.

    We are sure that the code is the same, and we believe that we have the same configuration on MyEclipse.

    Do you have any idea?

    Thank you!

    
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R Stack trace of nested exception:
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R java.io.FileNotFoundException: D:\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp\wstemp\app_11eeed0d7b6\ext\XXXXX.war\WEB-INF\classes\Constants\. (Access is denied.)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at java.io.FileOutputStream.open(Native Method)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveURIConverterImpl.openFileOutputStream(ArchiveURIConverterImpl.java:396)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveURIConverterImpl.createOutputStream(ArchiveURIConverterImpl.java:369)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectorySaveStrategyImpl.save(DirectorySaveStrategyImpl.java:158)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:153)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:165)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:107)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:1469)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:161)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:134)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:143)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:165)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:107)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:1469)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:161)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.extractTo(ArchiveImpl.java:594)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at com.ibm.websphere.management.application.EarUtils.extractEar(EarUtils.java:133)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at com.ibm.websphere.management.application.EarUtils.extractEar(EarUtils.java:105)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at com.ibm.ws.management.application.task.ExtractionTask.performTask(ExtractionTask.java:91)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:262)
    [19-01-2009 12:15:24:930 GMT] 00000398 SystemErr     R     at java.lang.Thread.run(Thread.java:810)
    
    #293664 Reply

    Loyal Water
    Member

    Are you’ll working on different operating systems? This could be some kind of a permissions issue.

    #293667 Reply

    tantunes
    Member

    No, we are both working under Windows XP and the server has Windows Server 2003.

    #293819 Reply

    Loyal Water
    Member

    That’s weird. If you deploy the war file created by him, does it work?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Deploy error: java.io.FileNotFoundException (access denied)

You must be logged in to post in the forum log in