dotCMS 2.1 XMLSitemap plugin deployment

55 views
Skip to first unread message

Peter Laca

unread,
May 22, 2013, 7:28:44 AM5/22/13
to dot...@googlegroups.com
Hello,

I am having troubles with deploying XMLSitemap plugin on dotCMS 2.1 (Commerce license). We have dotCMS 2.1 running on JBoss 5.0.0.
Plugin was downloaded from https://github.com/dotCMS/plugin-XMLSiteMap
JAR file is located in WEB-INF/lib
web.xml is merged with web-ext.xml


The plugin is not deploying (as far as I know from logs). I have also tried to merge dotmarketing-config.properties with plugin.properties, copy plugin classes directory into WEB-INF classes, but nothing changed.
How can I correctly deploy the plugin?

Thank you in advance,
Peter

Maria Ahues Bouza

unread,
May 22, 2013, 11:21:46 AM5/22/13
to dot...@googlegroups.com
Peter,

I was just looking at this plugin last week and in the deployer its using pluginId = org.dotcms.plugins.XMLSitemap


I think unless you clone the project on a folder called org.dotcms.plugins.XMLSitemap it won't be able to look for you.

You don't need to manually merge any files. If the plugin deploys it will be in the plugin table in the database.

It may have deployed but the job might not be scheduled correctly, so move the folder to the name above, change the manifest version and restart dotCMS to get the plugin redeployed.

Then check for the job in the database to make sure it was created correctly. The tables to check are:


qrtz_excl_cron_triggers

qrtz_excl_triggers

qrtz_excl_job_details



Thanks
Maria






--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Community Manager

dotCMS
Main: 305.900.2001
Fax: 305.397.2579
www.dotcms.com
http://www.twitter.com/dotCMS
http://www.facebook.com/dotCMS
http://www.twitter.com/mabouza

Please consider the planet before printing this email.

Peter Laca

unread,
May 23, 2013, 3:15:31 AM5/23/13
to dot...@googlegroups.com
Maria,

I found the plugin and properties in PLUGIN and PLUGIN_PROPERTY table, but I can't find the jobs in DB. The only one job in QRTZ_EXCL_CRON_TRIGGERS with CRON_EXPRESSION same as the XMLSitemap is DeliverCampaignJob.

I am not sure what folder do you mean?
Now we have the plugin jar file only in WEB-INF/lib folder.

Peter


From: dot...@googlegroups.com [dot...@googlegroups.com] on behalf of Maria Ahues Bouza [ma...@dotcms.com]
Sent: Wednesday, May 22, 2013 5:21 PM
To: dot...@googlegroups.com
Subject: Re: [dotcms] dotCMS 2.1 XMLSitemap plugin deployment

Maria Ahues Bouza

unread,
May 24, 2013, 12:17:57 AM5/24/13
to dot...@googlegroups.com
Peter,

I meant the folder under plugins/ (in the file system) where you installed the plugin.

What did you do to install it?

If you cloned it from github on a specific folder under plugins, just rename the folder to org.dotcms.plugins.XMLSitemap and redeploy the plugin.

Make sure you change the manifest version on the plugin to get it to deploy again.

-Maria

Nathan Maves

unread,
May 24, 2013, 1:27:04 AM5/24/13
to dot...@googlegroups.com
I have always just left my install as "plugin-XMLSiteMap-master".  Do you think this would cause issues?  Mine seems to have deployed correctly but I still have issues with how the plugin runs.  Not sure if I should rename the directory.
To post to this group, send email to do...@googlegroups.com.

Maria Ahues Bouza

unread,
May 25, 2013, 12:02:51 PM5/25/13
to dot...@googlegroups.com
Nathan,

Don't rename just yet. I haven't tested the plugin locally just looked at the code the other way on github so I'm not 100% sure that's the error but since Peter said it wasn't deploying I thought that could be the issue.

What is the error you're getting with the plugin? 

-Maria

Peter Laca

unread,
May 27, 2013, 2:56:06 AM5/27/13
to dot...@googlegroups.com
Maria,

we don't have any plugins directory in dotCMS, since we are deploying from exploded war on JBoss. However, after several reboots and deletes from PLUGIN and PLUGIN_PROPERTY table, it now works.

Anyway, is there any way to preserve the plugin deployment functionality from the plugins folder even if we are deploying from exploded war on JBoss?

Thank you,
Peter

From: dot...@googlegroups.com [dot...@googlegroups.com] on behalf of Maria Ahues Bouza [ma...@dotcms.com]
Sent: Friday, May 24, 2013 6:17 AM
Reply all
Reply to author
Forward
0 new messages