MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
tantunes
Post subject: Deploy error: java.io.FileNotFoundException (access denied)  PostPosted: Jan 19, 2009 - 03:09 PM



Joined: Dec 12, 2008
Posts: 7

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!

Code:

[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)
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Deploy error: java.io.FileNotFoundException (access deni  PostPosted: Jan 19, 2009 - 04:05 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

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

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
tantunes
Post subject: RE: Deploy error: java.io.FileNotFoundException (access deni  PostPosted: Jan 19, 2009 - 04:29 PM



Joined: Dec 12, 2008
Posts: 7

No, we are both working under Windows XP and the server has Windows Server 2003.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Deploy error: java.io.FileNotFoundException (access deni  PostPosted: Jan 22, 2009 - 06:41 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

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

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits