AEM 6.0 on weblogic server 12 | Community
Skip to main content
rajendra_sohal
October 16, 2015
Solved

AEM 6.0 on weblogic server 12

  • October 16, 2015
  • 5 replies
  • 1022 views

we are working on installing AEM 6 auth & pub war files on single weblogic 12 server instance, the auth instance works fine but as soon as pub war is deployed on the same server, there are number of classloader and MBean exceptions. please check below 

any help will be appreciated. 

Thx

Raj

 

####<Jul 18, 2014 10:21:48 AM EDT> <Error> <ServletContext-/pub> <TOAOBZRDTW21HNY> <AdminServer> <FelixStartLevel> <<anonymous>> <> <> <1405693308847> <BEA-000000> <ERROR: Error starting jcrinstall:/libs/cq/ui/install/cq-widgets-ext-5.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-widgets-ext [242]: Unable to resolve 242.0: missing requirement [242.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons))

org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-widgets-ext [242]: Unable to resolve 242.0: missing requirement [242.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons)

                at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)

                at org.apache.felix.framework.Felix.startBundle(Felix.java:2043)

                at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)

                at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)

                at java.lang.Thread.run(Thread.java:724)

>

####<Jul 18, 2014 10:21:48 AM EDT> <Error> <ServletContext-/pub> <TOAOBZRDTW21HNY> <AdminServer> <FelixStartLevel> <<anonymous>> <> <> <1405693308910> <BEA-000000> <ERROR: Error starting jcrinstall:/libs/cq/apple/install/cq-apns-core-5.4.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-apns-core [250]: Unable to resolve 250.0: missing requirement [250.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons.jcr))

org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-apns-core [250]: Unable to resolve 250.0: missing requirement [250.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons.jcr)

                at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)

                at org.apache.felix.framework.Felix.startBundle(Felix.java:2043)

                at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)

                at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)

                at java.lang.Thread.run(Thread.java:724)

>

####<Jul 18, 2014 10:21:48 AM EDT> <Error> <ServletContext-/pub> <TOAOBZRDTW21HNY> <AdminServer> <FelixStartLevel> <<anonymous>> <> <> <1405693308910> <BEA-000000> <ERROR: Error starting jcrinstall:/libs/cq/compat/install/23/cq-compat-codeupgrade-1.3.12.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-compat-codeupgrade [221]: Unable to resolve 221.0: missing requirement [221.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons.jcr))

org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-compat-codeupgrade [221]: Unable to resolve 221.0: missing requirement [221.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons.jcr)

                at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)

                at org.apache.felix.framework.Felix.startBundle(Felix.java:2043)

                at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)

                at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)

                at java.lang.Thread.run(Thread.java:724)

>

####<Jul 18, 2014 10:21:48 AM EDT> <Error> <ServletContext-/pub> <TOAOBZRDTW21HNY> <AdminServer> <FelixStartLevel> <<anonymous>> <> <> <1405693308941> <BEA-000000> <ERROR: Error starting jcrinstall:/libs/cq/compat/install/25/cq-upgrades-executor-1.2.4.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-upgrades-executor [222]: Unable to resolve 222.0: missing requirement [222.0] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.compat.codeupgrade)(version>=5.7.0)(!(version>=6.0.0))) [caused by: Unable to resolve 221.0: missing requirement [221.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons.jcr)])

org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.cq-upgrades-executor [222]: Unable to resolve 222.0: missing requirement [222.0] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.compat.codeupgrade)(version>=5.7.0)(!(version>=6.0.0))) [caused by: Unable to resolve 221.0: missing requirement [221.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.commons.jcr)]

                at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)

                at org.apache.felix.framework.Felix.startBundle(Felix.java:2043)

                at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)

                at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)

                at java.lang.Thread.run(Thread.java:724)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Does the system come up successfully? Are all packges active after the start?

Jörg

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015
sujandeb
October 16, 2015

Hi Jorg,

I am responding on behalf of Raj.

So when you ask "all the packages active after the start?", do you mean by all the packages listed in the following page of author application:

/crx/packmgr/index.jsp

If not, please suggest where can I find this information in our environment?

Regards

Sujan

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi Sujan,

You can check the bundle status on /system/console/bundles; besides some fragment bundles all bundles should be in "active" state. If you are running AEM 5.6.1, the total number should be around 320 or so (don't know the exact number from the top of my head).

Regards,

Jörg

sujandeb
October 16, 2015

Hi Jorg,

Thanks for your response. Here is the bundles status result for both pub and auth

For PUBLISH(when both publish and author applications are active):

For AUTHOR (when both publish and author applications are active):

For AUTHOR (when ONLY author application is up and publish application is down):

Please let me know if you need more information to suggest a solution.

Regards

Sujan