Issue Type: Task Task
Assignee: Antti Hietala
Created: 11/Jun/14 8:53 PM
Description:

1. Bouncy Castle library

  • WebLogic 12c is distributed with bcprov-jdk16-1.45.jar, but Magnolia is distributed with bcprov-jdk16-1.46.jar
  • Symptoms:
    • M4.5.x - There is no error shown on "Magnolia license" form, but license is not registered. And in log there is this stack trace
      SEVERE: Can't read license for module enterprise
      org.bouncycastle.openpgp.PGPException: can't set up signature object.
      	at org.bouncycastle.openpgp.PGPOnePassSignature.initVerify(Unknown Source)
      	at org.bouncycastle.openpgp.PGPOnePassSignature.initVerify(Unknown Source)
      	at info.magnolia.license.LicenseProcessor.extractLicense(LicenseProcessor.java:176)
      	at info.magnolia.license.LicenseProcessor.extractLicense(LicenseProcessor.java:202)
      	at info.magnolia.license.LicenseManager.onRegister(LicenseManager.java:229)
      	at info.magnolia.cms.beans.config.ObservedManager.reload(ObservedManager.java:135)
      	at info.magnolia.cms.beans.config.ObservedManager.reload(ObservedManager.java:120)
      	at info.magnolia.cms.beans.config.ObservedManager$1.onEvent(ObservedManager.java:86)
      	at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:256)
      	at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:105)
      	at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:695)
      Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: SHA1WithRSAEncryption, provider: BC, class: org.bouncycastle.jce.provider.JDKDigestSignature$SHA1WithRSAEncryption)
      	at java.security.Provider$Service.newInstance(Provider.java:1245)
      	at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
      	at sun.security.jca.GetInstance.getInstance(GetInstance.java:202)
      	at java.security.Signature.getInstance(Signature.java:367)
      	... 12 more
      
    • M5.2.x - after insterting valid license key into "Magnolia license" form. Error message "License is empty." appears on.
  • Solution:
    • Edit setDomainEnv.sh in WebLogic and add bcprov-jdk16-1.46.jar to PRE_CLASSPATH.
    • Remove bcprov-jdk16-1.45.jar from WebLogic 12c common libraries


2. Magnolia Workflow with JBPM 6

  • Deploying Magnolia with JBPM 6 affects deployment feature of Weblogic AS. It does't care if Administration Console, weblogic.Deployer, wldeploy Ant task or auto deploy directory is used all are affected.
  • Symptoms:
    • Magnolia can't be deployed to Weblogic. "weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.jbpm.services.task.lifecycle.listeners.TaskLifeCycleEventListener". Full stacktrace http://pastebin.com/gsUy28DU
  • Workaround:
    • First deploy application which doesn't contain Magnolia Workflow with jbpm6 (etc. M5.2.2, M5.3 without workflow, etc.). And then in deployment target location replace deployed webapp by new webapp which contains workflow with jbpm6
  • We are still analyzing the problem and looking for better solution
Project: Documentation
Priority: Critical Critical
Reporter: Milan Divilek
Security Level: Public
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to