Topic
4 replies Latest Post - ‏2009-11-25T09:53:38Z by SystemAdmin
SystemAdmin
SystemAdmin
1860 Posts
ACCEPTED ANSWER

Pinned topic pe_cc.dll already loaded in anothe class loader.....

‏2007-02-06T18:37:10Z |
Hi,
We are trying to open IBM Workplace form with in a IBM portlet. After deploying the application first time we are able to succesucfully view the form,but when next time trying to deploy the same application getting the bellow mentioned error. Please help me out. This is an urgent issue........

The steps we followed to configure the IBM workplace forms with portal server

Installing and setting up the Workplace Forms Server API on WebSphere Application Server

To setup the Workplace Forms Server API to work with WebSphere Application Server, perform the following procedure.

On your Workplace Forms Server, locate the directory <Workplace Forms Server Directory>\x.x\API\redist\msc32, in which x.x is your version of IBM Workplace Forms.
Within this directory, locate the following DLL files:
MSLUR71.dll
pe_cc.dll
pe_com.dll
pe_java.dll
unicows.dll
uwi_java.dll
Copy these DLL files into the WebSphere Application Server's bin directory.
Create a new text file called PureEdgeAPI.ini that includes the following lines, and then place this file in the <WebSphere install dir>\AppServer\java\bin directory:

API *=<<Workplace Forms Server Directory>>\redist\msc32\PureEdge\xx

Change xx to the version of IBM Workplace Forms installed on your server.

Giving WebSphere Application Server access to the API JAR files

Grant the WebSphere Application Server access to the API's JAR files for use.

Create a directory <WebSphere installation directory>\AppServer\shared.
Locate the directory <Workplace Forms Server Directory>\redist\msc32\PureEdge\xx\java\classes.
Copy the following files from the previous directory into the directory created in step 1:
pe_api.jar
pe_api_native.jar
uwi_api.jar
uwi_api_native.jar
Creating a library for the API JAR files

Now, create a library for the Workplace Forms Server API JAR files.

Select Environment - Shared Libraries.
Click New to create a new shared library.
In the Name file field, type PureEdgeLib.
In the Classpath field, provide the path to the JAR files copied in the previous procedure.
Click Apply, and then save the configuration to the master.
Adding IBM libraries to the WebSphere Application Server ClassLoaders

Now, add the Workplace Forms Server API library to the WebSphere Application Server classloader so that the APIs are available at the server startup.

From the WebSphere Application Server Administrative Console, select Servers - Application Servers.
Under Application Server, select the server on which you installed the Workplace Forms Server API.
Under Configuration, select Classloader.
Under Classloader, click New.
Under Configuration, click Apply, and then click Libraries.
Under Library Ref, click Add.
In the Library name drop-down list, select PureEdgeLib.
Click Apply.
Click Save.
Main error : pe_cc.dll already loaded in another classloader

2/6/07 21:41:49:590 IST 00000063 ServletWrappe A SRVE0242I: SamplePortlet_PA_kjr550w [/wps/PA_kjr550w] com_ibm_wps_AdminServlet: Initialization successful.
2/6/07 21:41:49:606 IST 00000063 ServletWrappe A SRVE0242I: SamplePortlet_PA_kjr550w [/wps/PA_kjr550w] FormSample: Initialization successful.
2/6/07 21:41:49:762 IST 00000063 SystemOut O with in doviewEx method********
2/6/07 21:41:49:778 IST 00000063 SystemOut O with in doviewEx method********Ifffffffff
2/6/07 21:41:49:778 IST 00000063 SystemOut O with in doviewEx method********start directoryC:\PROGRA~1\IBM\WEBSPH~1\PORTAL~1\installedApps\SamplePortlet_PA_kjr550w.ear\formsample.war\forms
2/6/07 21:41:49:809 IST 00000063 ServletWrappe E SRVE0019I: Place your servlets class on classpath of the application server {0}: {1}
2/6/07 21:41:49:825 IST 00000063 PortletRender E com.ibm.wps.engine.tags.PortletRenderTag doStartTag EJPEJ0066E: The portlet could not be rendered.
javax.portlet.PortletException: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\IBM\WebSphere1\AppServer\bin\pe_cc.dll already loaded in another classloader
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:251)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:97)
at com.ibm.wps.pe.pc.std.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:110)
at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:587)
at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:247)
at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:115)
at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:161)
at com.ibm._jsp._Control._jspx_meth_portal$1skin_portletRender_0(_Control.java:852)
at com.ibm._jsp._Control._jspx_meth_portal$1logic_if_3(_Control.java:884)
at com.ibm._jsp._Control._jspService(_Control.java:498)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
at com.ibm.wps.composition.elements.Control.render(Control.java:124)
at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java(Compiled Code))
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java(Compiled Code))
at com.ibm._jsp._UnlayeredContainer_2D_V._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_V.java:246)
at com.ibm._jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:150)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java(Compiled Code))
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java(Compiled Code))
at com.ibm._jsp._UnlayeredContainer_2D_H._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_H.java:259)
at com.ibm._jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:158)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java(Compiled Code))
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:396)
at com.ibm._jsp._Home._jspService(_Home.java:82)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:54)
at com.ibm.wps.engine.templates.screens.Default.render(Default.java:91)
at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:61)
at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:89)
at com.ibm._jsp._Default._jspx_meth_portal$1core_screenRender_0(_Default.java:4419)
at com.ibm._jsp._Default._jspService(_Default.java(Compiled Code))
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Compiled Code))
at com.ibm.wps.engine.templates.themes.Default.render(Default.java:142)
at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67)
at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:322)
at com.ibm.wps.engine.phases.WPRenderPhase.execute(WPRenderPhase.java:137)
at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:93)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:791)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:257)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\IBM\WebSphere1\AppServer\bin\pe_cc.dll already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2108)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2022)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at com.PureEdge.DTK.<clinit>(DTK.java:38)
at com.ibm.form.samples.Form.initialize(Form.java:106)
at com.ibm.form.samples.Form.<init>(Form.java:52)
at com.ibm.form.samples.PurchaseOrderForm.<init>(PurchaseOrderForm.java:76)
at com.ibm.form.samples.portlet.FormPortlet.doViewEx(FormPortlet.java:182)
at com.ibm.form.webform.framework.portlet.IBMWorkplaceFormsServerPortlet.callApplication(Unknown Source)
at com.ibm.form.webform.framework.portlet.IBMWorkplaceFormsServerPortlet.doView(Unknown Source)
at com.ibm.form.samples.portlet.FormPortlet.doView(FormPortlet.java:158)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doGet(PortletServlet.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:393)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(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.om.definition.impl.ServletDefinitionImpl$RDWrapper.include(ServletDefinitionImpl.java(Compiled Code))
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
... 139 more
Updated on 2009-11-25T09:53:38Z at 2009-11-25T09:53:38Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1860 Posts
    ACCEPTED ANSWER

    Re: pe_cc.dll already loaded in anothe class loader.....

    ‏2007-02-13T22:05:53Z  in response to SystemAdmin
    First, make sure in WAS that the class loader is set to 'Parent Last' or 'Application First' (depends on the version of WAS, I think).

    Next, make sure you only have ONE Class Loader pointed at the WFS_API_LIB shared library. I know from experience that there are a few places that you can set this ref up, but make sure you only have it specified in the app-server scope /only/
  • mbir
    mbir
    411 Posts
    ACCEPTED ANSWER

    Re: pe_cc.dll already loaded in anothe class loader.....

    ‏2007-03-15T21:22:15Z  in response to SystemAdmin
    It looks like you're following the directions from the version 2.5 manual.

    The instructions to install the API from the 2.6 manual seem to work better which I have used to install all versions of the Forms Server API. That would be my suggestion. (Plus it no longer requires moving files into a new location.)
    • SystemAdmin
      SystemAdmin
      1860 Posts
      ACCEPTED ANSWER

      Re: pe_cc.dll already loaded in anothe class loader.....

      ‏2009-11-24T09:31:20Z  in response to mbir
      Hi

      I am getting the below when i am trying to render an Eform with in portlet.

      "Place your servlets class on classpath of the application server {0}: {1}"

      It renders an Eform with in a portlet for one application but for the other it is showing the above message.

      When i am refreshiong the portal page again it is giving me the below exception

      11/24/09 14:59:47:752 IST 0000007e ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: SampleEformPortlet. Exception thrown : java.lang.NoClassDefFoundError: com.PureEdge.DTK (initialization failure)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
      at com.ibm.sampleeformportlet.SampleEformPortlet.init(SampleEformPortlet.java:35)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doInit(PortletServlet.java:830)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:140)
      at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doInit(PortletServletCollaborator.java:47)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:133)
      at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doInit(RRDServerPortletServletCollaborator.java:111)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:133)
      at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doInit(CacheCollaborator.java:97)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:133)
      at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doInit(PortletServletCollaboratorImpl.java:74)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:133)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.initClone(PortletServlet.java:767)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.getPortletClone(PortletServlet.java:853)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:234)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:82)
      at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doDispatch(PortletServletCollaborator.java:124)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
      at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doDispatch(RRDServerPortletServletCollaborator.java:60)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
      at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doDispatch(CacheCollaborator.java:74)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
      at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doDispatch(PortletServletCollaboratorImpl.java:121)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.dispatch(PortletServlet.java:208)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.service(PortletServlet.java:165)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:639)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:235)
      at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerCollaboratorChainImpl.doCollaborator(PortletInvokerCollaboratorChainImpl.java:78)
      at com.ibm.ws.port
      I placed all the needful jar files in the classpath.

      But still no go...

      can any one please help me in resolving this issue.

      Thanks,
      Suresh R.
      • SystemAdmin
        SystemAdmin
        1860 Posts
        ACCEPTED ANSWER

        Re: pe_cc.dll already loaded in anothe class loader.....

        ‏2009-11-25T09:53:38Z  in response to SystemAdmin
        " 00000043 ServletWrappe E Place your servlets class on classpath of the application server {0}: {1} "

        Restarting the portal server results in solving the above Exception.

        if any one come accross this kind of situation, please guide me to render an Eform in a portlet with out any porblems.

        Thanks,
        Suresh R.