Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] problems with deployment to IBM portal server


Hi folkz,

I am currently testing some AOP-stuff using aspectj and AJDT on my RAD v6 for our IBM Portal Server environment here. After testing locally, I wanted to deploy a small sample portlet with a very simple aspect to central test environment. Though it worked well on my local WAS/Portal server, the deployment failed remotely showing the following error after restarting the app:

[3/21/07 9:55:46:342 CET] 000006d0 WebApp        E   SRVE0026E: [Servlet Error]-[LDAPGroupInfoPortlet]: java.lang.Exception:                                                                                                                                 java.lang.LinkageError: Class org/aspectj/lang/JoinPoint$StaticPart violates loader constraints:  definition mismatch betwe                                                                                                                                en parent and child loaders
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java(Compiled Code))
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
        at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.callMethod(PortletInvokerImpl.java(Compiled Code))
        at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.title(PortletInvokerImpl.java(Compiled Code))
        at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.includePortletTitle(PortletContainerImpl.java(Compiled Code))
        at com.ibm.wps.pe.pc.PortletContainerImpl.includePortletTitle(PortletContainerImpl.java(Compiled Code))
        at com.ibm.wps.engine.tags.PortletTitleTag.doStartTag(PortletTitleTag.java(Compiled Code))
        at com.ibm._jsp._Control._jspx_meth_wps_portletTitle_0(_Control.java(Compiled Code))
        at com.ibm._jsp._Control._jspService(_Control.java(Compiled Code))
[...]

We are using WAS v6.0.2 and Portal v5.1.0.3 as test environment, but locally I have to use WAS v5.1 with Portal v5.1.
Does someone have a clue what is going wrong here and if there are possibly any major differences related to AOP between the IBM WAS versions?

Thanks for any hints and help in advance!!

Greetings
Marian Harbach

Back to the top