cancel
Showing results for 
Search instead for 
Did you mean: 

Installing AMP to alfesco.war directory under JBoss

lnfalandino
Champ in-the-making
Champ in-the-making
Hello,

I'm running into an issue with the MMT installer that I think is due to the fact that "alfresco.war" under server/default/deploy in JBoss is an unpacked directory. The actual war file isn't there. The command I'm running is

java -jar alfresco-mmt-2.1.0.jar install /wcm-metadata.amp D:\prod-jboss\server\default\deploy\alfresco.war

and I get the exception



Caused by: java.io.FileNotFoundException: D:\cep-jboss\server\default\deploy\alfresco.war (Access is denied)


The "Access is denied" thing made me think it's permissions, but I verified that this account has full control over that directory. Could the problem be because it's a directory and not an actual war file?

Thanks for any help,
Naim
2 REPLIES 2

lnfalandino
Champ in-the-making
Champ in-the-making
I just noticed something interesting. I ran the same command but with the -preview flag and this came out instead:

"No module.properties file has been found in the installing .amp file '/wcm-metadata.amp'"

Now, I've opened that amp file and I know that there's a module.properties file in it. In fact, here's the contents of it:


module.id=org.alfresco.module.WCMExtension
module.title=WCM Metadata Extension
module.description=WCM Metadata Extension to add aspects to Web Content
module.version=1.0

module.repo.version.min=2.1

Hopefully that extra info is helpful.

lnfalandino
Champ in-the-making
Champ in-the-making
Nevermind, I had a mysterious file system issue as well as a couple silly path problems with my command. I managed to have it install the amp to a empty war file which I'll now just explode into my alfresco.war directory. That should work.