Topic
  • 1 reply
  • Latest Post - ‏2012-06-23T23:11:56Z by JPV6_Arnab_Mishra
SystemAdmin
SystemAdmin
344 Posts

Pinned topic looseconfig.xmi error

‏2008-12-19T19:04:17Z | mdm-migration
While publishing the MDM.ear, the following exception occurs:
Stack trace of nested exception:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveRuntimeException: Exception occurred loading loose application
Stack trace of nested exception:
Wrapped exception
java.io.FileNotFoundException: C:\MDM_VANILA_DEC18\.metadata\.plugins\com.ibm.etools.wrd.websphere\looseconfigurations\MDM1\looseconfig.xmi (Access is denied.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:462)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:424)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:829)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:320)
at org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseConfigRegister.loadLooseApplicationResource(LooseConfigRegister.java:271)
at org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseConfigRegister.loadLooseApplication(LooseConfigRegister.java:261)
at org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:93)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:45)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:179)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.initializeResourceSet(LoadStrategyImpl.java:360)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:242)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:342)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:869)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:255)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:39)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:87)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:81)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:296)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:627)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:706)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:787)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:604)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:532)
at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:117)
at com.ibm.ws.management.application.ArchiveSchedulerImpl.getArchive(ArchiveSchedulerImpl.java:127)
at com.ibm.ws.management.application.InstallSchedulerImpl.getEarFile(InstallSchedulerImpl.java:88)
at com.ibm.ws.webservices.deploy.WSDeployTask.performTask(WSDeployTask.java:89)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:262)
at java.lang.Thread.run(Thread.java:797)
We checked and verified that looseconfig.xmi does exists in that directory.

Any clue on this specific issue?
  • JPV6_Arnab_Mishra
    JPV6_Arnab_Mishra
    3 Posts

    Re: looseconfig.xmi error

    ‏2012-06-23T23:11:56Z  
    I think The location u r using for the looseconfig.xmi is not accessible (only read permission).
    It's better to put it inside the EAR file and go for the process...Just and advice some times the folder name (exact location of the file) with a blank space can create an issue while deployment so better not to put the EAR in a folder having blank space in the name(c:/my project/ear---avoid it...use c:/my_project/EAR).You can use any script to to the task or in Eclipse IDE jst right click on the EAR and deploy it to the websphere option(please add the plugin of was in eclipse) go to the running profile and it's done.

    In windows OS it's working fine.But has anyone tried it in the linux box with a ND version 6.1.0.25.
    please reply back in my mailid(arnab.mishra@tcs.com).I am eagerly waiting for the reply.

    Regards,
    Arnab Mishra
    mobile: 09007015636