PRT fails load the class of CustomeRepositoryManager
Hi All,
I have deployed the par file for a Custom Repository manager namely "com.documentum.ei.eprm.manager.DCTMRepositoryManager" from Portal Runtime iview or through NW04 Developer studio This repository implements Documentum at backend .When I have tried to create configurables(.co.xml) of this,and restarted the j2ee server,Nothing appears in monitor or KM iview. The only log about this appears is in defaultTrace.trc. It seems the class DCTMRepositoryManager doesn't get loaded it self. So there is no call to startUpImpl and subsequently no instances appear in KM iview.
I am using following platform
J2EE Engine 6.40 PatchLevel 98256.313
Portal 6.0.14.0.0
KnowledgeManagementCollaboration 6.0.14.0.0 (NW04 SPS14)
The system has been upgraded from SPS09 to SPS14
Could any one resolve this problem?
Following is the Log of default.trc
(APP.KM.Collaboration.SCF.ConfiguredConnectors, max. 40 characters)#
#1.5#000C29DF6877004F0000001500000C6000040D71C251DDAB#1140682149265#com.sapportals.config.fwk.meta.MetaConfigManager_V2#sap.com/irj#com.sapportals.config.fwk.meta.MetaConfigManager_V2#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###[meta_v2_config://local] error while migrating [metarchive_portal]. The configMetaArchive needs to be removed or migrated 'manually' : ConfigException: Configuration framework system error: "source [config://pcd/local/meta/lib] already contain the configMetaArchive."#
#1.5#000C29DF6877004F0000001E00000C6000040D71C6D96576#1140682225234#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Info##Plain###ClassLoader com.documentum.ei.eprm.manager.DCTMRepositoryManager added.#
#1.5#000C29DF6877004F0000002000000C6000040D71C6D9673D#1140682225234#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Info#1#/Applications/KMC/RF#Plain###CM system is shutting down...
#1.5#000C29DF6877004F0000002200000C6000040D71C6D986AF#1140682225250#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Info#1#/Applications/KMC/RF#Plain###CM system is shutting down... - shutdown of CRT#
#1.5#000C29DF6877004F0000002400000C6000040D71C6F9CA15#1140682227359#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(90)#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###Failed to access the component instance: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService com.sapportals.wcm.crt.component.ComponentException: Failed to access the component instance: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService
at com.sapportals.wcm.crt.CrtComponentManager.lookup(CrtComponentManager.java:325)
at com.sapportals.wcm.crt.CrtComponentManager.lookupChildComponent(CrtComponentManager.java:403)
at com.sapportals.wcm.crt.CrtContainerManager.lookupComponent(CrtContainerManager.java:44)
at com.sapportals.wcm.repository.runtime.CmAdapter.getService(CmAdapter.java:626)
at com.sapportals.wcm.repository.manager.um.UMRepositoryManager.shutDownImpl(UMRepositoryManager.java:105)
at com.sapportals.wcm.repository.manager.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:626)
at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleShutDown(CrtThreadSafeComponentHandler.java:172)
at com.sapportals.wcm.crt.CrtComponentManager.shutDown(CrtComponentManager.java:303)
at com.sapportals.wcm.crt.CrtSystemImpl.shutDownComponentManager(CrtSystemImpl.java:180)
at com.sapportals.wcm.repository.runtime.CmSystem.shutDown(CmSystem.java:300)
at com.sapportals.wcm.repository.runtime.CmSystem.classLoaderAdded(CmSystem.java:446)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.notifyClassLoaderAdded(CrtClassLoaderRegistry.java:501)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.registerClassLoader(CrtClassLoaderRegistry.java:440)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:327)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:299)
at com.documentum.ei.eprm.wrapper.RFServiceWrapper.init(RFServiceWrapper.java:17)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:801)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:614)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1563)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1518)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1866)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1702)
at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:191)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
java.lang.IllegalStateException: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService
at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleLookup(CrtThreadSafeComponentHandler.java:97)
at com.sapportals.wcm.crt.CrtComponentManager.lookup(CrtComponentManager.java:322)
at com.sapportals.wcm.crt.CrtComponentManager.lookupChildComponent(CrtComponentManager.java:403)
at com.sapportals.wcm.crt.CrtContainerManager.lookupComponent(CrtContainerManager.java:44)
at com.sapportals.wcm.repository.runtime.CmAdapter.getService(CmAdapter.java:626)
at com.sapportals.wcm.repository.manager.um.UMRepositoryManager.shutDownImpl(UMRepositoryManager.java:105)
at com.sapportals.wcm.repository.manager.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:626)
at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleShutDown(CrtThreadSafeComponentHandler.java:172)
at com.sapportals.wcm.crt.CrtComponentManager.shutDown(CrtComponentManager.java:303)
at com.sapportals.wcm.crt.CrtSystemImpl.shutDownComponentManager(CrtSystemImpl.java:180)
at com.sapportals.wcm.repository.runtime.CmSystem.shutDown(CmSystem.java:300)
at com.sapportals.wcm.repository.runtime.CmSystem.classLoaderAdded(CmSystem.java:446)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.notifyClassLoaderAdded(CrtClassLoaderRegistry.java:501)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.registerClassLoader(CrtClassLoaderRegistry.java:440)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:327)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:299)
at com.documentum.ei.eprm.wrapper.RFServiceWrapper.init(RFServiceWrapper.java:17)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:801)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:614)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1563)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1518)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1866)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1702)
at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:191)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
#1.5#000C29DF6877004F0000002500000C6000040D71C6FAD9EF#1140682227437#com.sapportals.wcm.repository.manager.um.UMRepositoryManager#sap.com/irj#com.sapportals.wcm.repository.manager.um.UMRepositoryManager#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###exception occured when trying to unregister RID generator - com.sapportals.wcm.repository.ResourceException: Failed to access the component instance: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at com.sapportals.wcm.WcmException.<init>(WcmException.java:78)
at com.sapportals.wcm.WcmException.<init>(WcmException.java:74)
at com.sapportals.wcm.util.content.ContentException.<init>(ContentException.java:42)
at com.sapportals.wcm.repository.ResourceException.<init>(ResourceException.java:250)
at com.sapportals.wcm.repository.runtime.CmAdapter.getService(CmAdapter.java:652)
at com.sapportals.wcm.repository.manager.um.UMRepositoryManager.shutDownImpl(UMRepositoryManager.java:105)
at com.sapportals.wcm.repository.manager.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:626)
at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleShutDown(CrtThreadSafeComponentHandler.java:172)
at com.sapportals.wcm.crt.CrtComponentManager.shutDown(CrtComponentManager.java:303)
at com.sapportals.wcm.crt.CrtSystemImpl.shutDownComponentManager(CrtSystemImpl.java:180)
at com.sapportals.wcm.repository.runtime.CmSystem.shutDown(CmSystem.java:300)
at com.sapportals.wcm.repository.runtime.CmSystem.classLoaderAdded(CmSystem.java:446)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.notifyClassLoaderAdded(CrtClassLoaderRegistry.java:501)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.registerClassLoader(CrtClassLoaderRegistry.java:440)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:327)
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:299)
at com.documentum.ei.eprm.wrapper.RFServiceWrapper.init(RFServiceWrapper.java:17)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:801)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:614)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1563)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1518)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1866)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1702)
at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:191)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
#1.5#000C29DF6877006B0000000000000C6000040D71C6FBC824#1140682227500#com.sapportals.wcm.util.logging.CatchBlockHandler#sap.com/irj#com.sapportals.wcm.util.logging.CatchBlockHandler.NotificatorService#Guest#192####d938e6c0a44311dacbb6000c29df6877#Thread[com.sapportals.wcm.notificator.sender,5,system]##0#0#Error##Plain###[ECB] sleep interrupted: java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at com.sapportals.wcm.service.notificator.wcm.NotificatorService$Sender.run(NotificatorService.java:590)
at java.lang.Thread.run(Thread.java:534)
#1.5#000C29DF6877004F0000002700000C6000040D71C6FC1649#1140682227515#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#dmadmin#860####3f4d5e10a44311da9e3f000c29df6877#SAPEngine_Application_Thread[impl:3]_11##0#0#Info#1#/Applications/KMC/RF#Plain###CM successfully shut down.#
#1.5#000C29DF687700400000000D00000C6000040D71D8DD6144#1140682527453#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#dmadmin#770##VMENGPE3_PE3_7099050#dmadmin#276daea0a44111da9060000c29df6877#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#/Applications/KMC/RF#Plain###CM system is starting ...
#1.5#000C29DF687700400000000F00000C6000040D71D97B03D2#1140682537781#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#dmadmin#770##VMENGPE3_PE3_7099050#dmadmin#276daea0a44111da9060000c29df6877#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#/Applications/KMC/RF#Plain###CM successfully started.#
Obviously the class isn't loaded. So that suggests one of the following.
- There is no class output (no byte codes.)
- It is written as a file.
- It is written into memory.
Nothing I saw in the java docs suggests the last. Nothing I can find would suggest the first.
super(new URI(className + ".java"), Kind.SOURCE);The URI must mean something in the above. Is there a ".java" file created somewhere? Did you open it?
Similar Messages
-
Failed loading disp class "HSIService". Exception java.lang.ClassCastExcep
<Failed loading disp class "HSIService". Exception java.lang.ClassCastExcep
Posted: 12 Aug 2004 13:36 PM Reply
I am receiving the following error in most all of the logs when trying to run/test this web service. The service worked fine a day ago, then this happened. I finally rebuilt it entirely in workshop, it ran a couple of times between changes and then started producing this error again. The workshop test browser either states "DispMessage is null" on the test form or if the form appears then it says "get" is not supported for the operation .... and maybe other weird stuff.
Can you give me an idea of where to specifically look for the problem?? Complete error message is below:
####<Aug 12, 2004 3:40:16 PM EDT> <Error> <WLW> <KLRAY8Z> <cgServer>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <>
<Failed loading disp class "HSIService". Exception java.lang.ClassCastException at
com.bea.wlw.runtime.core.dispatcher.TypeUtils.validate(TypeUtils.java:1130)
at com.bea.wlw.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:398)
at com.bea.wlw.runtime.jws.dispatcher.JwsDispFile.createPrimaryDispClass(JwsDispFile.java:52)
at com.bea.wlw.runtime.core.dispatcher.DispFile.<init>(DispFile.java:162)
at com.bea.wlw.runtime.jws.dispatcher.JwsDispFile.<init>(JwsDispFile.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.bea.wlw.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
at com.bea.wlw.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:553)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.getDispUnit(HttpServerHelper.java:491)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:531)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
--------------------------------------------------------FYI - solved this problem. The problem was that I had set a callback handler as an operation like so:
* @common:operation
* @common:message-buffer enable="true"
* @jws:conversation phase="finish"
public void mycontrol_mycallbackhandler()
Apparently callback handler's can not be operations. -
Dear all,
Do we have any extra things to execute the Java mapping using the Sax Parser?
When I am executing the interface mapping ,I am getting the" Linkage error when loading the class" error.
Kindly let me know your personnel maildId so that I can mail you the screen shots.
Thanks,
SrinivasaDear sunil,
Find the File.
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import com.sap.aii.mapping.api.StreamTransformation;
class Echo {
public static OutputStream out;
public class myEcho extends DefaultHandler implements StreamTransformation {
private Map map;
public void setParameter(Map param) {
map = param;
public void execute(InputStream in, OutputStream out) {
DefaultHandler handler = this;
SAXParserFactory factory = SAXParserFactory.newInstance();
try {
SAXParser saxParser = factory.newSAXParser();
Echo.out = out;
saxParser.parse(in, handler);
} catch (Throwable t) {
t.printStackTrace();
public void startDocument() throws SAXException {
try {
Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
} catch (IOException e) {
e.notify();
public void endDocument() throws SAXException {
try {
Echo.out.flush();
} catch (IOException e) {
throw new SAXException("I/O error", e);
public void startElement(String namespaceURI, String sName, // simple name
String qName, // qualified name
Attributes attrs) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("<" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void endElement(String namespaceURI, String sName, // simple name
String qName // qualified name
) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("</" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void characters(char buf[], int offset, int len)
throws SAXException {
String s = new String(buf, offset, len);
try {
Echo.out.write(s.getBytes());
} catch (Exception e) {
e.printStackTrace(); -
Server could not load the class
I m trying to create a new adapter task bt when i select xliACE.jar from the dropdown box, its trowing an error " Server could not load the class"
Below is the server log--
ERROR,04 Dec 2007 09:18:48,217,[XELLERATE.JAVACLIENT],Class/Method: tcADPClient/introspect encounter some problems : RemoteException occurred in server thread; nested exception is:
java.rmi.ServerError: Unexpected Error; nested exception is:
java.lang.UnsatisfiedLinkError: no ACEUser in java.library.path
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
Could any one provide some help
ThanksShould compile java code with the same jdk as being used by OIM
-
I have SCCM 2012 R2 CU3. Before when I've had DP problems it was always with secondary DPs. Now I've got an issue with my primary DP. Content will not validate on the main DP, called DP1. In Monitoring Distribution Point Configuration Status there are repeated
errors about "Failed to validate package ABC12345\\fqdn". On the site server in distmgr.log this entry repeats over and over:
"Mofcomp.exe failed, delete the classes and retry compiling E:\program files\microsoft configuration manager\bin\64\smsdpprov.mof
Failed to compile MOF file. Error code 2."
The problem is I don't know what classes it's talking about, nor how to delete them, nor can I find anything directly applicable about this error. I did run "mofcomp.exe smsdpprov.mof" anyway but I get the error "error syntax 0x8004400a: unexpected
token at file scope. Compiler returned error 0x8004400a."
This DP1 was working fine until a few days ago. We haven't made any upgrades/changes to the server either.
We sent a package just to DP1 and it did deploy the content, so it appears that it just can't validate.
Thanks for any help.
Ben JohnsonWYHi,
About the error in Mpcontrol.log, you could try to uninstall the MP, reinstall IIS components, then install MP to see if it can resolve this issue.
If not, please have a look at the following blogs.
Support Tip: ConfigMgr 2012 Management Point fails
with a 500 error after working fine for a short period of time
SCCM MP Internal Server Error ISS Call to HttpSendRequestSync
failed for port 80 with status code 500
From you description above, you reinstalled the DP. Did you reinstall the IIS components during the DP reinstallation? If not, please try to reinstall the IIS components.
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Unable to load the class set in the humantask as a callback Class
I am getting the below error when I set a class bpel.StockReview.MyCallback in my humantask as a callback on some update on the task. The class is getting packed with the jar properly and gets deployed to the server directory. However when I initiate the BPEL proc and run it, the class is notfound/ not laoded into the system. Below are the logs -
<2009-04-27 15:19:09,207> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Class.forName0(Native Method)
<2009-04-27 15:19:09,207> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Class.forName(Class.java:164)
<2009-04-27 15:19:09,207> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.workflow.task.impl.RoutingSlipCallbackInvoker.executeJavaOnTaskCompleted(RoutingSlipCallbackInvoker.java:204)
<2009-04-27 15:19:09,207> <ERROR> <default.collaxa.cube.services> <::> ... 49 more
<2009-04-27 15:19:09,207> <ERROR> <oracle.bpel.services.workflow> <::>
Missing class: bpel.StockReview.MyCallback
Dependent class: oracle.bpel.services.workflow.task.impl.RoutingSlipCallbackInvoker
Loader: oracle.bpel.common:10.1.3
Code-Source: /D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar
Configuration: <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
This load was initiated at oracle.bpel.common:10.1.3 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: bpel.StockReview.MyCallback
Dependent class: oracle.bpel.services.workflow.task.impl.RoutingSlipCallbackInvoker
Loader: oracle.bpel.common:10.1.3
Code-Source: /D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar
Configuration: <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
This load was initiated at oracle.bpel.common:10.1.3 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:164) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at oracle.bpel.services.workflow.task.impl.RoutingSlipCallbackInvoker.executeJavaOnTaskCompleted (RoutingSlipCallbackInvoker.java:204) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.RoutingSlipCallbackInvoker.onTaskComplete (RoutingSlipCallbackInvoker.java:102) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.invokeCallbacks (TaskService.java:3096) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation (TaskService.java:3345) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.localHandleRoutingSlipInterpretationResult (TaskService.java:1239) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.handleRoutingSlipInterpretationResult (TaskService.java:1298) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.evaluateRoutingSlipTaskAssignment (TaskService.java:1173) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcomeAndEvaluateRoutingSlip (TaskService.java:1129) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcome (TaskService.java:941) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcome (TaskService.java:920) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.updateTaskOutcome (TaskServiceBean.java:410) [D:/product_OAS/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /D:/product_OAS/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml), by oracle.bpel.common:10.1.3]
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
Does java import loads the class?
Hi,
Acc common practive {not mentioned in Sun java convention} if a class is using more than three classes from a pacakage then its ideal to import all the classes from tht package instead of importing individual classes. i.e., import pacakage.*;
1) Does this kind of load all the classes into memory?
2) Does import statement actually loads a class into memory
isnt import jst to use class name instead of complete package name in the code?
3) Does a class get loaded only when its object/ its static memebers are invoked?
Would appreciate if anyone can answer these queries.
Thanks
DeepakAcc common practive {not mentioned in Sun java
convention} And not mentioned or usually followed anywhere else. Who says this?
if a class is using more than three
classes from a pacakage then its ideal to import all
the classes from tht package instead of importing
individual classes. i.e., import pacakage.*;
1) Does this kind of load all the classes into
memory?imports have no influence on anything but the length of written code. Thanks for being the second person this hour to ask this question without researching first.
2) Does import statement actually loads a class into
memoryNo. It does nothing at all.
isnt import jst to use class name instead of complete
package name in the code?Yes.
3) Does a class get loaded only when its object/ its
static memebers are invoked?Yes. -
ColdFusion MX: fails loading the ColdFusion Administrator
I just installed an older version of ColdFusion MX. When I
try to load the ColdFusion Administrator, using "
http://localhost:8500/CFIDE/administrator/index.cfm"
I get the below errors (I have also tried substituting the computer
name for "localhost"):
Error Occurred While Processing Request
Please Try The Following:
Check the CFML Reference Manual to verify that you are using
the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1)
Remote Address 127.0.0.1
Referer
Date/Time 17-Aug-07 04:56 PM
Stack Trace (click to expand)
java.lang.NoClassDefFoundError
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
at coldfusion.compiler.TemplateReader.decrypt(Unknown
Source)
at coldfusion.compiler.TemplateReader.(Unknown Source)
at
coldfusion.compiler.NeoTranslationContext.getPageReader(Unknown
Source)
at coldfusion.compiler.NeoTranslator.translateJava(Unknown
Source)
at coldfusion.compiler.NeoTranslator.translateJava(Unknown
Source)
at coldfusion.runtime.TemplateClassLoader$1.fetch(Unknown
Source)
at coldfusion.util.LruCache.get(Unknown Source)
at
coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(Unknown
Source)
at coldfusion.util.AbstractCache.fetch(Unknown Source)
at coldfusion.util.SoftCache.get(Unknown Source)
at coldfusion.runtime.TemplateClassLoader.findClass(Unknown
Source)
at coldfusion.filter.PathFilter.invoke(Unknown Source)
at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source)
at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
at coldfusion.CfmServlet.service(Unknown Source)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Any ideas? Thanks,I tried the workaround solution since the "ColdFusion MX 6.1
Upgrade" link is dead, but it didn't work. I've tried searching for
free MX 6.1 upgrade but it appears it has been pulled off the site.
Does anyone know where I can get a copy of the upgrade?
Thanks, -
Linkage error occured when loading the class:Java Mapping
I AM GETTING THE ABOVE ERROR IN SUB WHEN TESTING THE MAPPING .
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import com.sap.aii.mapping.api.StreamTransformation;
class Echo {
public static OutputStream out;
public class myEcho extends DefaultHandler implements StreamTransformation {
private Map map;
public void setParameter(Map param) {
map = param;
public void execute(InputStream in, OutputStream out) {
DefaultHandler handler = this;
SAXParserFactory factory = SAXParserFactory.newInstance();
try {
SAXParser saxParser = factory.newSAXParser();
Echo.out = out;
saxParser.parse(in, handler);
} catch (Throwable t) {
t.printStackTrace();
public void startDocument() throws SAXException {
try {
Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
} catch (IOException e) {
e.notify();
public void endDocument() throws SAXException {
try {
Echo.out.flush();
} catch (IOException e) {
throw new SAXException("I/O error", e);
public void startElement(String namespaceURI, String sName, // simple name
String qName, // qualified name
Attributes attrs) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("<" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void endElement(String namespaceURI, String sName, // simple name
String qName // qualified name
) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("</" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void characters(char buf[], int offset, int len)
throws SAXException {
String s = new String(buf, offset, len);
try {
Echo.out.write(s.getBytes());
} catch (Exception e) {
e.printStackTrace();Hi,
When you make the jar to import to XI you must verify the two classes are generated at the same time. Later you can verify in Inteface Mapping that you are using the myEcho class to do the java mapping.
Plesae verify the java version are the same in you own machine and the xi machine.
Regards. -
Re: Fiori Launchpad Failed load the Group
Hi,
I 've faced with the errors
And also I have an error
I have SAP_UI SP11
UI5 1.26.11
I've assigned all nessesury roles
SAP_UI2_ADMIN_700
SAP_UI2_ADMIN_702
SAP_UI2_ADMIN_731
SAP_UI2_FIORI_CATALOGS_READ
SAP_UI2_LAUNCH_PAGE
SAP_UI2_NEWS_TILE
SAP_UI2_PAGEBUILDER_CONFIG
SAP_UI2_PAGEBUILDER_CUST
SAP_UI2_PAGEBUILDER_PERS
SAP_UI2_USER_700
Also I have implemented all notes mentioned here
http://scn.sap.com/docs/DOC-61494#comment-580882
I have no success.
Could u please suggest what can be the reason.
Thanks a lot.
Best regards,
OlgaHi Olga,
I hope you are getting : "Resource chip not found" error in your inspect element -> Network tab.
Please check SU53 and assign all missing authorizations.
Follow this link and configure step by step R3TR .
Configuring Authorization Roles - User Interface Add-On for SAP NetWeaver - SAP Library
Also you have missing authorizations for these auth objects : S_PB_CHIP, /UI2/CHIP, S_SERVICE,S_DEVELOP,
Assign manually to your role :SAP_UI2_ADMIN_700
Regards,
Tejas -
How to Load a class file base on .class file name???
Hi,
Can anyone help me?
1) Based on filename (d:\temp\bla.class), I want to load this bla.class and get the actual package of this class.
example:
package something.temp;
public class bla
I want to load the file base on filename and get the package of the class. Is it possible ?
Thank you.Hi nikki96,
It will not work. I will get java.lang.NoClassDefFoundError eventhough I extends classloader to use the findClass(String filename);
Example:
import java.security.*;
import java.util.Enumeration;
import java.util.NoSuchElementException;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import sun.misc.Resource;
import sun.misc.URLClassPath;
public class MyURLClassLoader extends ClassLoader
String host;
int port;
public Class findClass(String name)
try
byte[] b = loadClassData(name);
return defineClass(name, b, 0, b.length);
} catch(Exception e)
e.printStackTrace();
return null;
private byte[] loadClassData(String name) throws Exception
// load the class data from the connection
File file = new File(name);
InputStream is = new FileInputStream(file);
long length = file.length();
// You cannot create an array using a long type.
// It needs to be an int type.
// Before converting to an int type, check
// to ensure that file is not larger than Integer.MAX_VALUE.
if (length > Integer.MAX_VALUE) {
// File is too large
// Create the byte array to hold the data
byte[] bytes = new byte[(int)length];
// Read in the bytes
int offset = 0;
int numRead = 0;
while (offset < bytes.length
&& (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
offset += numRead;
// Ensure all the bytes have been read in
if (offset < bytes.length) {
throw new IOException("Could not completely read file "+file.getName());
// Close the input stream and return bytes
is.close();
return bytes;
Problem: The class file is not in the proper package (d:\temp\bla.class) where the proper package is d:\something\temp\bla.class.
Objective: I just want to base on the bla.class (no matter where is it located), then get the package of the classfile (bla.class) like example something.temp.
Simple as that but I don't know how to do :(. -
Error while trying to load java classes
I am doing a 9iAS installation - at the end
of the installation I get an error stating
that the SSOHash class has not been loaded into the database. When I run the loadjava utility to load the class into the database
I get the following error:
ora-29545: badly formed class: user has
attempted to load a class (oracle.security.sso.SSOHash) into a restricted package. Permission can be granted by using dbms_java.grant_permission.
When I execute the dbms_java package I get
the following error:
ora-29532: classnotfoundexception
ora-06512: at "SYS.DBMS_JAVA", line 0
The install is being carried out on Solaris.
and the jdk version of the OS is 1.1. I read
in the oracle documentation that Oracle 8i
uses Java 2 compliance. Would it be a good
idea to upgrade the os jdk to 2.0 and do
a fresh install or are there workarounds.
Any help would be greatly appreciated.
Thanks,
SuzanneThis is a little late, but it sounds like you don't have the Java option installed on the database.
-
Problem in loading a class from server
hello,
Please help me ,i m using this code to load a class from server and this code load this successfully but i don't how to make object of class that is just loaded.
i want to load the class and use its method in my program please help me i m in very critical position.
pelase help me give me hint
import java.sql.*;
import java.net.*;
import java.io.*;
public class MyLoader
public static void main (String argv[]) throws Exception
URLClassLoader loader = new URLClassLoader(new URL[] { new URL("url") });
// Load class from class loader. argv[0] is the name of the class to be loaded
String str = "FinalMyConnection";
Class c = loader.loadClass (str);
System.out.println(c.getClass().getName());
// Create an instance of the class just loaded
Object o = c.newInstance();
System.out.println(o.getClass());
FinalMyConnection mycon = new FinalMyConnection();
String query1 = " select * from game_master order by game_id;";
mycon.connect();
ResultSet rs1=mycon.executequery(query1);
while (rs1.next())
String s1=rs1.getString(1);
String s2=rs1.getString(2);
System.out.println("game_id"+s1);
System.out.println("game_name"+s2);
}also load all required parser and sax classes into oracle,i.e.,
you can load the '.jar' file containg all the parser and sax classes and then load you ContentHandler class. -
Loading a class not on classpath
how can we load a class not on classpath?
uddinr0121 wrote:
try this
private void addArchive(File jarFile) throws IOException {
URL u = jarFile.toURI().toURL();
URLClassLoader sysloader = (URLClassLoader) ClassLoader.getSystemClassLoader();
Class<?> sysclass = URLClassLoader.class;
try {
Method method = sysclass.getDeclaredMethod("addURL", parameters);
method.setAccessible(true);
method.invoke(sysloader, new Object[]{u});
} catch (Throwable t) {
t.printStackTrace();
}this will add the jar file to the classpath after which you should be able to invoke using Class.forName()
hope this helpsThat's a horrible solution, when you can just create a new URLClassLoader and use that to load the class.
Adding it to the system classpath with reflection trickery is not really a clean solution to that. -
I'm getting the following exception when executing logic/queries around JPA entity classes:
{color:#333399}nested exception is: <1.0.0 fatal user error> org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "MyClass". This could mean that the OpenJPA enhancer or load-time weaver was not run on the type whose alias is "MyClass". Registered alias mappings: "{MyClass=null}"{color}
I get this exception on occassion. It is intermitent and i can't seem to reproduce it consistently.
I'm using the following:
WebLogic: 10
KODO: 4.1.3.1 bundled with WL10 which in turn uses OpenJPA 1.0.0
In other forums on the net they have suggested explicitly adding the classes to the persistence.xml file ( i've done this )
They have also stated to run the openjpa enhancer on the code before deployment to WL ( done this too!)
One last step that i have yet to attempt is to load the class within the code before use ( haven't tried this as it seems so hackish)
Any other thoughts? ANyone else experience this?
ThanksWe are having the same issue.. Anybody knows how to deal with this problem?
Maybe you are looking for
-
Can we create a dynamic action for Training and Event Management???
Hi All i need to configure automatic email generation for an employee when he gets booked for a training program in the training and event management module. can we use a dynamic action for it? and how to configure it?? I also guess that i have to us
-
Hi all, I have an ABAP proxy - XI - Webservice scenario, in the XI side we are getting error saying input data not coming in. How to check weather proxy is triggering the actual payload or data? There has been a change in the WSDL from the Webservice
-
How do I cancell extra storage plan on iCloud?
I want to cancell the extra storage plan on iCloud but can't seem to find where to do it. Are they trying to make it difficult to cancell because I find no place to do it om the apple site
-
Cannot place file in sidebar of Mac OS X Lion
in Mac OS X Snow Leopard (10.6.x) I was able to place a file on the sidebar and when I clicked on it, it would open. Mac OS X Lion does not allow placing a file ( a .doc file, for example) in the sidebar. I know I need to convert an alias to a certai
-
DBMS_DATAPUMP - can it pump to a network drive?
I'm trying to execute a PL/SQL block that looks like this: DECLARE PUMP_HANDLE NUMBER := 0; STATE_OF_JOB VARCHAR2(30) := 'UNKNOWN'; FULL_STATUS KU$_STATUS := NULL; BEGIN PUMP_HANDLE := DBMS_DATAPUMP.OPEN ('EXPORT','TABLE'); DBMS_DATAPUMP.ADD_FILE (HA