Like Jan mentioned, it sounds like a dependency issue - you should have two bouncycastle jars (bcprov and bcpg) in your webapp, brought in by magnolia-license, which is in turn brought in by magnolia-module- enterprise - now there might have been a few gaps here and there in the pom files, so depending on which version you use, some of the dependencies might slip away.
Try this from your war project:
   mvn dependency:tree
... and see what comes out of it.

-g


On Nov 3, 2008, at 10:40 PM, McMains, Sean A wrote:

Hi folks,

I'm still working on getting 3.6.3 working in our environment. I've got it merged and checked out to my OS X box. If I build it there, everything works
fine.

Our Continuous Integration box, however, runs on ubuntu linux. I can build the WAR there with no apparent issues, but when I deploy it to tomcat, I
enter our license key, log in, and then get this:

SEVERE: Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError:
org/bouncycastle/openpgp/PGPSecretKeyRingCollection
       at
info.magnolia.license.LicenseManager.onRegister(LicenseManager.java: 234)
       at
info .magnolia .cms.beans.config.ObservedManager.register(ObservedManager.java
:91)
       at
info.magnolia.license.LicenseManager.getLicense(LicenseManager.java: 99)
       at
info .magnolia .license.LicenseManager.getLicenseStatus(LicenseManager.java:14
6)
       at
info .magnolia .enterprise.registration.RegistrationFilter.isRegistered(Regist
rationFilter.java:96)
       at
info .magnolia .enterprise.registration.RegistrationFilter.handle(Registration
Filter.java:60)
       at
info .magnolia .enterprise.registration.RegistrationFilter.doFilter(Registrati
onFilter.java:48)
       at
info .magnolia .cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.jav
a:71)
       at
info .magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java: 71)
       at
info .magnolia .cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:
80)
       at
info .magnolia .cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.jav
a:71)
       at
info .magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java: 71)
       at
info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java: 72)
       at
info .magnolia .cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.jav
a:71)
       at
info .magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java: 71)
Etc....


I'm baffled why the build would be different when I build under Linux than it is when I build under OS X. I did try deleting the .m2 directory on the Linux box and let maven redownload everything, to be sure that I didn't have
a corrupt dependency somewhere. It didn't seem to help.

Does anybody have any ideas what else might be causing this or how to
correct it?

Thanks in advance for any help,
Sean


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to