Expand my Community achievements bar.

SOLVED

AEM 6.0 on weblogic server 12

Avatar

Level 1

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)

1 Accepted Solution

Avatar

Correct answer by
Level 10
5 Replies

Avatar

Employee Advisor

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

Jörg

Avatar

Correct answer by
Level 10

Avatar

Level 1

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

Avatar

Employee Advisor

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

Avatar

Level 1

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