facebook

Deployment Error

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #297968 Reply

    ampanis
    Member

    I was doing a exploded deployment to WAS 6. MyEclipse logs that the application was deployed successfully but when I browse on the deployment folder, some classes are missing. I check the deployment log and I got the following error,

    ADMA5011I: The cleanup of the temp directory for application app is complete.
    ADMA5013I: Application app installed successfully.
    com.ibm.etools.j2ee.commonarchivecore.exception.SaveFailureException: appEJB.jar
    !Stack_trace_of_nested_exce!
    java.io.FileNotFoundException: C:\wasjava\profile\v60\Server\installedApps\CE01775Node03Cell\app.ear\appEJB.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java(Compiled Code))
    at java.io.FileOutputStream.<init>(FileOutputStream.java(Inlined Compiled Code))
    at com.ibm.etools.j2ee.commonarchivecore.helpers.ArchiveURIConverterImpl.openFileOutputStream(ArchiveURIConverterImpl.java(Compiled Code))
    at com.ibm.etools.j2ee.commonarchivecore.helpers.ArchiveURIConverterImpl.createOutputStream(ArchiveURIConverterImpl.java(Compiled Code))
    at com.ibm.etools.j2ee.commonarchivecore.strategy.DirectorySaveStrategyImpl.save(DirectorySaveStrategyImpl.java(Compiled Code))
    at com.ibm.etools.j2ee.commonarchivecore.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java(Compiled Code))
    at com.ibm.etools.j2ee.commonarchivecore.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java(Compiled Code))
    at com.ibm.etools.j2ee.commonarchivecore.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:85)
    at com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl.save(ArchiveImpl.java:1240)
    at com.ibm.etools.j2ee.commonarchivecore.impl.ModuleFileImpl.save(ModuleFileImpl.java:345)
    at com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl.extractTo(ArchiveImpl.java:634)
    at com.ibm.websphere.management.application.EarUtils.extractEar(EarUtils.java:126)
    at com.ibm.websphere.management.application.EarUtils.extractEar(EarUtils.java:98)
    at com.ibm.ws.management.application.sync.AddBinaryTask.fullUpdate(AddBinaryTask.java:115)
    at com.ibm.ws.management.application.sync.AddBinaryTask.performTask(AddBinaryTask.java:95)
    at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:637)
    at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:410)
    at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:332)
    at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:304)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:298)
    at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
    at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
    at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
    at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
    at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1731)
    at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1677)
    at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
    at com.ibm.ws.management.configservice.ConfigServiceImpl.save(ConfigServiceImpl.java:514)
    at com.ibm.ws.scripting.AdminConfigClient.save(AdminConfigClient.java:2654)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:125)
    at tcl.lang.JavaInvoke.call(JavaInvoke.java:263)
    at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:121)
    at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:914)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2189)
    at tcl.lang.Interp.eval(Interp.java:2243)
    at com.ibm.bsf.engines.jacl.JaclEngine.eval(Unknown Source)
    at com.ibm.bsf.util.BSFEngineImpl.exec(Unknown Source)
    at com.ibm.bsf.BSFManager$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:351)
    at com.ibm.bsf.BSFManager.exec(Unknown Source)
    at com.ibm.ws.scripting.AbstractShell.executeScript(AbstractShell.java:845)
    at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1627)
    at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:855)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)

    TCL_CLASSPATH = TCL_CLASSPATH {{C:/Program Files/Genuitec/MyEclipse 7.1 Blue Edition/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar}}

    Exploding jars: C:/wasjava/profile/v60/Server/installedApps/CE01775Node03Cell/app.ear/appEJB.jar
    Exploding jar file: C:/wasjava/profile/v60/Server/installedApps/CE01775Node03Cell/app.ear/appEJB.jar
    Unable to delete jar file: C:\wasjava\profile\v60\Server\installedApps\CE01775Node03Cell\app.ear\appEJB.jar
    Trying again in 1 second…
    Unable to delete jar file: C:\wasjava\profile\v60\Server\installedApps\CE01775Node03Cell\app.ear\appEJB.jar
    Trying again in 1 second…
    Unable to delete jar file: C:\wasjava\profile\v60\Server\installedApps\CE01775Node03Cell\app.ear\appEJB.jar
    Trying again in 1 second…
    Unable to delete and rename jar: C:/wasjava/profile/v60/Server/installedApps/CE01775Node03Cell/app.ear/appEJB.jar
    Apr. 29, 2009 05:07:36 PM

    Why do I the error above?

    Thanks in advance.

    #298049 Reply

    Loyal Water
    Member

    Was this app created using MyEclipse? What kind of an app is this?

    #298087 Reply

    rmcvay
    Member

    java.io.FileNotFoundException: C:\wasjava\profile\v60\Server\installedApps\CE01775Node03Cell\app.ear\appEJB.jar (Access is denied)

    Looks like some kind of permissions problem.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Deployment Error

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