Problem Starting a custom built portal service

Hi,
When I try to start my custom build portal service I get the following error message:
"Server 4128450:Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of handleTopic."
Does anyone have a solution on this problem?
Here is my portalapp.xml file:
<?xml version="1.0" encoding="utf-8"?>
<application>
  <application-config>
    <property name="releasable" value="false"/>
    <property name="startup" value="true"/>
  </application-config>
  <components/>
  <services>
    <service name="TestService" alias="Test">
      <service-config>
        <property name="className" value="se.xxx.mdm.TestService"/>
      </service-config>
      <service-profile>
        <property name="ServerName" value="ABC"/>
      </service-profile>
    </service>
  </services>
</application>
Kind Regars
Michael

Hi Jasmin
Yes TemplateCC is my class. I originally used RSA (Rational) to export the JAR, but have since also done it with Vanilla Eclipse (Using the same export options that you use). Eventually I've come to the conclusion that there's nothing wrong with the jar, but rather something wrong with my App server. Here's why:
If I install and start the component on another ES2 server (running on JBoss) it installs perfectly and works correctly in a LC application. The problem only occurs when I try to install the component to my ES2 server on Websphere. I was wondering if it might have something to do with the IBM JVM, but haven't been able to confirm that suspicion yet.
In pursuit of a solution, can you confirm whether the following statement is valid: "If a component installs and starts on one LC server, it must be able to deploy and start on another,  even on different platforms"
Thanks for the help thus far.

Similar Messages

  • Problem with Start or Stop of Portal Service from outside the portal

    Hi ,
    Can we manage(start and stop) the portal sevice, which is implemented by IService from out side the portal like Visual Administrator or any other.
    Please let me know if any solution for this.
    Thanks in advance
    Tatayya M

    solved myself

  • Problem starting the Oracle Management Server service

    Hi
    I have configured the Oracle Management Server (since I need to use the Jobs functionality) in an Oracle 9i home installed in my desktop. Then I have tried to put the service to work; it always starts and stops at once; the message also states that some services are automatically shutted down when they are not in use...
    Also, I noticed that I cannot use the typical option when creating the repository for OMS because it does not accept the domain my computer is in (dgsaude.min-saude.pt) since it seems to be an invalid domain name...
    I am a little under pressure here...Please help

    Thank you very much; I will take a look at documentation; anyway, just a question I am in doubt about..the tasks I need to automate have to do with deleting the contents of some local tables, then run some SqlPlus queries to fill those tables again (I run them locally by using a database link to another database); final tables will be connected to an www site and refreshed. As I have understood, I can do this using DBMS_JOBS (for which, I think, I would need to learn some PL/SQL...) or configure the OMS to do it (which, as you said, can be a bit of a pickle in the start...). Given the situation, which one of these tools would you advise me to use?
    Thank You
    Andre

  • Custom Portal Service not displayed under Service Configuration

    Hi All,
    I am working on EP 7.0 SP8.
    SAP Portal is not displaying any custom built Portal Services under Service Configuration tab.
    I checked with the permission, and I am having the required authorization for my service.
    I am not able to find any document on making the custom service available under Service Configutation to start/stop the service.
    Please let me know any reference docs on this.
    -Thanks,
    Pavan

    Hi Pavan,
    > working on EP 7.0 SP8
    Glad to hear that you are not stuck on EP5   No, really, that is older than old... Anyhow:
    > not displaying any custom built Portal Services under Service Configuration tab
    There services are only listed if they are configurable, i.e. if they have a service profile with at least one property (compare http://help.sap.com/saphelp_nw70ehp2/helpdata/en/df/e6b74253ffda11e10000000a155106/frameset.htm). Otherwise it makes less sense to restart a service (normally this is done after changing a service profile parameter).
    Hope it helps
    Detlev

  • Customer Support Portal to report problems is not working

    The Customer Support Portal at: https://www.adobe.com/cfusion/support/index.cfm?event=portal&loc=en_us
    Is not working.
    I called into installation help.  The person said he could not help me and I needed to report the problem through the Customer Support Portal.
    When I go there I sign in.
    I select Installation Help
    I select Your Products
    A drop down box appears
    It says Select Your Product.
    The problem is it doesn't show any products to select.
    Thanks,
    Docfxit
    PS:  How can I report an installation problem to the developers?

    Hi Docfxit
    What product are you trying to install? Acrobat? Reader? PhotoShop? LiveCycle........? Are you an enterprise customer?
    If you are an enterprise customer you should have been given an email address for support
    If not you can always post the questrion on the forums and we'll try to help from there.
    This forum is for the online service hosted at Acrobat.com
    The forum for the desktop application Adobe Acrobat (Standard / Pro / Pro Extended) is http://forums.adobe.com/community/acrobat
    Tai

  • Error during startup of portal service after SPS11

    Hi Guys,
    After installation of SPS11 to our 2004s portal system we have problem with startup of our Portal service.
    Before SPS11 we had SPS9 system and everything was working correctly.
    Our service is connecting to Database during its initialization.
    This is part of our code:
    Properties p = new Properties();
    p.put("java.naming.factory.initial", "com.sap.engine.services.jndi.InitialContextFactoryImpl");
    try
         Context ctx = new InitialContext(p);
         _ds = (DataSource)ctx.lookup(POOLNAME);
         Connection conn = _ds.getConnection();
         conn.close();
         LogWriter.traceInfo(LogWrapper.trace,"Connection established.");
    } catch (NamingException ex)
    The error is:
    #1.5#000802A2BF4A00580000038200003E3000042C1F016BDC9A#1174411586934#System.err#sap.com/irj#System.err#Guest#2####a813ff20d70611dbbcd7000802a2bf4a#SAPEngine_Application_Thread[impl:3]_27##0#0#Error##Plain###com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of SABMILLER.
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at cz.sap.statemanagement.StateLogRetriever.<init>(StateLogRetriever.java:73)
    The probleam appears only during startup of portal!
    If you deploy service on running portal it is started without any problems.
    We tried to apply note (Note 960199 - 2-Phase Init Mechanism for Portal Services is Deprecated) but without success.
    This is modification of our portalapps.xml as described in Note.
        <service name="StatemanagementLogService">
          <service-config>
            <property name="className" value="cz.sap.statemanagement.StatemanagementLogService"/>
            <property name="startup" value="true"/>
            <property name="twophaseinit" value="always"/>
          </service-config>
    Please could you help us with this problem?
    Anyone has an idea what is wrong?
    Thanks a lot
    Ondrej

    Hi Nirmal,
    thanks you for your quick response. This is what the installer returns when I use your suggested command:
    Mar 7, 2012 2:35:56 PM [Error]: The parameter jce_policy_zip in externally supplied configuration is invalid.
    I looked up the parameters for the STARTUP:
    rootdir [guiport] [httpport] [guistart] [guimode] [config] [sid] [instanceNr]
    Thus the jce_policy_zip is not a valid parameter.
    However, after deleting the file specified I could just run STARTUP again and this worked.
    Thanks
    Marcel
    Edited by: M. Rabe on Mar 7, 2012 2:57 PM

  • ISE 1.1 - Error Custom Guest Portal

    Ciao,
    we are facing a strange problem on ISE Custom Guest Portal.
    After pressing the login button it returns an error:
    Error:
    Resource not found.
    Resource:/guestportal/
    It seems like that te function "/guestportal/LoginCheck.action" is not able to return the succesfull login page.
    It's quite strange because user are authenticating without problem.
    Any clue?
    Ciao e grazie!
    Luciano

    Ciao,
    we faced the problem on clients connected in wireless, where WLC redirect to the custom guest portal.
    The setup works fine for almost 2 months, than it stop working; then we re-imaged the device (1st time).
    Digging in the log with SE of TAC (621986639) we found these errors:
    2012-06-06 13:55:32,152 ERROR 2012-06-06 13:55:32,152  [http-443-10][] api.services.persistance.dao.ResourceDAO- Exception while retrieving the resource //ip:port/guestportal/gateway?sessionId=SessionIdValue&action=cwa
    2012-06-06 13:57:43,839 ERROR 2012-06-06 13:57:43,839  [http-443-10][] api.services.persistance.dao.ResourceDAO- Exception while retrieving the resource //ip:8080/guestportal/gateway?sessionId=SessionIdValue&action=cpp
    2012-06-06 13:59:39,923 ERROR 2012-06-06 13:59:39,923  [http-443-5][] api.services.persistance.dao.ResourceDAO- Exception while retrieving the resource //ip:port/guestportal/gateway?sessionId=SessionIdValue&action=cwa
    And during the test these errors were generated:
    2012-06-07 16:05:58,448 ERROR 2012-06-07 16:05:58,448  [http-8080-2][] org.apache.struts2.dispatcher.Dispatcher- Could not find action or result
    There is no Action mapped for action name Login. - [unknown location]
             at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
             at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
             at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
             at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)
    So we performed another re-image (2nd time) with a different media (not sure the problem was the media, it should be some script fail)  today I'm performing some test ... I'll update this discussion asap.
    Ciao!
    Luciano

  • How to create the Portal Service in Portal 7.3,

    Dear Experts,
    how to create the Portal Service in Portal 7.3, as we create in Portal 7.0 by creating the Portal Project in that we create Portal Service and we can start and stop in Portal Service configuration in System Administration
    Thanks,
    Sagar Pande

    Hi Sagar,
    Procedure
      1.  Open the SAP NetWeaver Administrator by either of the following methods:
           a. Use the URL to your AS Java (hostname:port) to access the AS Java home page and use the link to SAP NetWeaver Administrator.
           b. Alternatively, add nwa to the AS Java URL to access SAP NetWeaver Administrator directly. (hostname:port/nwa).
      2  Go to   Operations Management   Systems   and click the Start & Stop link.
        The Start & Stop: Java EE Instances window opens.
      3  Click the Java EE Application bar and select the relevant application in the Application List.
        The Portal Services pane displays the services associated with the selected application.
      4  Use the buttons Start Service or Stop Service.
    Refer to Portal 7.3 help
    http://help.sap.com/saphelp_nw73/helpdata/en/f6/ac978061ac4b24a87a1f821313c4fe/frameset.htm
    Br,
    Venky

  • How to Create Portal Service in Portal 7.3

    Dear Experts,
    how to create the Portal Service in Portal 7.3, as we create in Portal 7.0 by creating the Portal Project in that we create Portal Service and we can start and stop in Portal Service configuration in System Administration
    Thanks,
    Sagar Pande

    Hi Sagar,
    Procedure
      1.  Open the SAP NetWeaver Administrator by either of the following methods:
           a. Use the URL to your AS Java (hostname:port) to access the AS Java home page and use the link to SAP NetWeaver Administrator.
           b. Alternatively, add nwa to the AS Java URL to access SAP NetWeaver Administrator directly. (hostname:port/nwa).
      2  Go to   Operations Management   Systems   and click the Start & Stop link.
        The Start & Stop: Java EE Instances window opens.
      3  Click the Java EE Application bar and select the relevant application in the Application List.
        The Portal Services pane displays the services associated with the selected application.
      4  Use the buttons Start Service or Stop Service.
    Refer to Portal 7.3 help
    http://help.sap.com/saphelp_nw73/helpdata/en/f6/ac978061ac4b24a87a1f821313c4fe/frameset.htm
    Br,
    Venky

  • Problem while starting Portal Service from service configuration

    While starting Portal service i am getting following error message:
    "Server xxxxx:Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of handleTopic"
    Please help me to reolve this error
    Edited by: Pande Sagar on Jul 15, 2010 11:46 AM
    Edited by: Pande Sagar on Jul 15, 2010 11:49 AM

    Following is the PortalApp.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <application alias="sample">
      <application-config>
        <property name="ServicesReference" value="com.sap.portal.ivs.connectorservice,com.sap.portal.ivs.internalconnector"/>
      </application-config>
      <components/>
      <services>
        <service name="sample">
          <service-config>
            <property name="className" value="sample"/>
          </service-config>
          <service-profile>
            <property name="test" value="na"/>
          </service-profile>
        </service>
      </services>
    </application>
    sample.java file
    package samp;
      import com.sapportals.portal.prt.service.IServiceConfiguration;
    import com.sapportals.portal.prt.service.IServiceContext;
      public abstract class sample implements Isample{
      private IServiceContext mm_serviceContext;
         public void init(IServiceContext serviceContext)
         mm_serviceContext = serviceContext;
         public void afterInit()
      public void configure(IServiceConfiguration configuration)
         public void destroy()
      public void release()
    public IServiceContext getContext()
          return mm_serviceContext;
          public String getKey()
          return KEY;
    Isample Interface
    package samp;
    import com.sapportals.portal.prt.service.IService;
    public interface Isample extends IService
         public static final String KEY = "MySample.sample";
         public String hi();
    Edited by: Pande Sagar on Jul 19, 2010 2:04 PM
    Its getting deployed properly but from system administration >> system configuration >> service configuration >> from application >> administrate service >> List of services >> HERE ITS GIVING AN ERROR >> Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of handleTopic
    Edited by: Pande Sagar on Jul 19, 2010 2:06 PM

  • Portal Service Fails to Start

    Hi all,
    I've developed a custom portal service based on
    the com.sap.netweaver.kmc.globalservice.zip example
    available on NWDS Help. When I deploy it, the service
    works ok but whenever I restart the J2EE instance it
    doesn't start. I've already tried to undeploy the
    application, shutdown, start, deploy and start sequence
    that I found on another discussion from who seemed to
    have the same problem but it didn't work.
    Thanks in advanced,
    Here's my portalapp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <application name="com.redcolombia.portal.km" alias="com.redcolombia.portal.km">
    <application-config>
    <property name="startup" value="true"/>
    <property name="PrivateSharingReference" value="com.sap.portal.runtime.config, com.sap.portal.runtime.config.component, usermanagement, com.sap.netweaver.bc.crt, com.sap.netweaver.bc.util, com.sap.netweaver.bc.sf, com.sap.netweaver.bc.rf, com.sap.netweaver.bc.sf.service, com.sap.netweaver.bc.rf.service, com.sap.portal.ivs.connectorservice"/>
    </application-config>
    <components/>
    <services>
    <service name="DocumentosRecientesKM">
    <service-config>
    <property name="className" value="com.redcolombia.portal.km.DocumentosRecientesKM"/>
    <property name="startup" value="true"/>
    </service-config>
    <service-profile>
    <property name="Repository" value="documents"/>
    </service-profile>
    </service>
    </services>
    </application>
    Here's the log extract from the J2EE trace file:
    #1.5#0008540656D80060000001EF00000B1000040BAEAF4AE49A#1138744800314#com.sapportals.wcm.util.logging.CatchBlockHandler#sap.com/irj#com.sapportals.wcm.util.logging.CatchBlockHandler.CatchBlockHandler#Guest#192####cfdc3ce092a411dab3400008540656d8#SAPEngine_Application_Thread[impl:3]_33##0#0#Error##Plain###[INTERNAL] com.sapportals.wcm.util.profiler.IProfiler: java.lang.ClassNotFoundException: com.sapportals.wcm.util.profiler.IProfiler
    at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:176)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.sapportals.wcm.crt.CrtClassLoaderRegistry.forName(CrtClassLoaderRegistry.java:349)
    at com.sapportals.wcm.util.logging.CatchBlockHandler.<clinit>(CatchBlockHandler.java:61)
    at com.sapportals.wcm.repository.ResourceFactory.getInstance(ResourceFactory.java:57)
    at com.redcolombia.portal.km.DocumentosRecientesKM.register(DocumentosRecientesKM.java:202)
    at com.redcolombia.portal.km.DocumentosRecientesKM.init(DocumentosRecientesKM.java:72)
    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.startNonCoreApplications(PortalAppBroker.java:1469)
    at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:406)
    at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
    at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:359)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:392)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:138)
    at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)
    at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
    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:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.5#0008540656D80060000001F000000B1000040BAEAF4B3DE2#1138744800330#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#Guest#192####cfdc3ce092a411dab3400008540656d8#SAPEngine_Application_Thread[impl:3]_33##0#0#Error##Plain###com.sapportals.wcm.repository.runtime.CmAdapter java.lang.ClassNotFoundException: com.sapportals.wcm.repository.runtime.CmAdapter
    at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:176)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.sapportals.wcm.crt.CrtClassLoaderRegistry.forName(CrtClassLoaderRegistry.java:349)
    at com.sapportals.wcm.repository.ResourceFactory.getInstance(ResourceFactory.java:48)
    at com.redcolombia.portal.km.DocumentosRecientesKM.register(DocumentosRecientesKM.java:202)
    at com.redcolombia.portal.km.DocumentosRecientesKM.init(DocumentosRecientesKM.java:72)
    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.startNonCoreApplications(PortalAppBroker.java:1469)
    at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:406)
    at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
    at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:359)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:392)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:138)
    at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)
    at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
    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:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.5#0008540656D80060000001F200000B1000040BAEAF4B988D#1138744800361#com.sap.portal.prt.runtime.broker#sap.com/irj#com.sap.portal.prt.runtime.broker#Guest#192####cfdc3ce092a411dab3400008540656d8#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/System/Server#Java###[PortalServiceItem.startServices] service initialisation failed:RecientesKMService|DocumentosRecientesKM
    [EXCEPTION]
    #1#com.sapportals.portal.prt.core.broker.PortalServiceInstantiationException: Could not instantiate implementation class com.redcolombia.portal.km.DocumentosRecientesKM of Portal Service RecientesKMService|DocumentosRecientesKM because: could not load the service
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:820)
    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.startNonCoreApplications(PortalAppBroker.java:1469)
    at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:406)
    at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
    at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:359)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:392)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:138)
    at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)
    at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
    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:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.redcolombia.portal.km.DocumentosRecientesKM.register(DocumentosRecientesKM.java:216)
    at com.redcolombia.portal.km.DocumentosRecientesKM.init(DocumentosRecientesKM.java:72)
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:801)
    ... 21 more

    Hi Detlev,
    Thanks for pointing that out. I've solved that
    NullPointerException and the service comes up, however, my service fails to register as a ResourceEventReceiver so it is up but it doesn't do its job.
    In my service I try to register as an
    ResourceEventReceiver by implementing the
    IResourceEventReceiver inteface. This is what is failing
    in my service. Is there some service properties that are
    needed for this that I don't know of?
    This is my code:
    public final void register(String repositoryName) {
         if( repositoryName == null ){
              log.fatalT("Repository Property is NULL...not doing anything...");
               return;
         IManagerFactory managerFactory;
         IRepositoryManager repository=null;
         try {
           managerFactory = ResourceFactory.getInstance().getManagerFactory();
           repository = managerFactory.getRepositoryManager(repositoryName);
           IResourceEventBroker broker = repository.getEventBroker();
           if( broker == null ) return;
           boolean async = false; // register as synchronous event receiver
           broker.register(this, resourceReadEvent, IEventBroker.PRIO_MIN, async);
           log.fatalT("Registered to " + repository.getPrefix()" Prefix="repository.getPrefix());
         catch( WcmException e ) {
           //log.fatalT("exception while registering to " + repository==null?null:repository.getPrefix() + ": " + e.getMessage());
           log.fatalT("Exception while registering to repository error: "+e.getMessage());
           e.printStackTrace();
    This is the trace:
    #1.5#0008540656D80060000001EF0000066000040BB044DABFBF#1138751604169#com.sapportals.wcm.util.logging.CatchBlockHandler#sap.com/irj#com.sapportals.wcm.util.logging.CatchBlockHandler.CatchBlockHandler#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###[INTERNAL] com.sapportals.wcm.util.profiler.IProfiler: java.lang.ClassNotFoundException: com.sapportals.wcm.util.profiler.IProfiler
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:176)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.forName(CrtClassLoaderRegistry.java:349)
         at com.sapportals.wcm.util.logging.CatchBlockHandler.(PortalInitializer.java:129)#
    #1.5#0008540656D80060000002060000066000040BB044DB277F#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)#
    #1.5#0008540656D80060000002070000066000040BB044DB27D8#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at java.security.AccessController.doPrivileged(Native Method)#
    #1.5#0008540656D80060000002080000066000040BB044DB2833#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:359)#
    #1.5#0008540656D80060000002090000066000040BB044DB288E#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)#
    #1.5#0008540656D800600000020A0000066000040BB044DB28E7#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)#
    #1.5#0008540656D800600000020B0000066000040BB044DB2943#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:392)#
    #1.5#0008540656D800600000020C0000066000040BB044DB29A1#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:138)#
    #1.5#0008540656D800600000020D0000066000040BB044DB2A0A#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)#
    #1.5#0008540656D800600000020E0000066000040BB044DB2A6A#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)#
    #1.5#0008540656D800600000020F0000066000040BB044DB2AC7#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)#
    #1.5#0008540656D80060000002100000066000040BB044DB2B20#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at java.security.AccessController.doPrivileged(Native Method)#
    #1.5#0008540656D80060000002110000066000040BB044DB2B7C#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)#
    #1.5#0008540656D80060000002120000066000040BB044DB2BD7#1138751604200#System.err#sap.com/irj#System.err#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)#
    #1.5#0008540656D80060000002130000066000040BB044DB7D5B#1138751604231#com.redcolombia.portal.km.DocumentosRecientesKM#sap.com/irj#com.redcolombia.portal.km.DocumentosRecientesKM#Guest#192####a7c9589092b411da9b870008540656d8#SAPEngine_Application_Thread[impl:3]_25##0#0#Fatal##Plain###Initializing instance of service com.redcolombia.portal.km.DocumentosRecientesKM number 1#
    Message was edited by: Andrés Acero

  • Custom portal service not running ni NW 04

    Hello!
    We are about to migrate from EP6 SP2 to NW04 and I'm currently testing the results of the first test run.
    One special problem I encountered is one of my custom portal services no longer running. It did without flaws back in EP6, so something seems to have changed.
    My Service interface:
    [code]
    package com.rag.ekportal.bginfocenter.kmservice;
    @author Juergen Wahlmann
    public interface IBGFetcher extends IService {
    [/code]
    And the implementation:
    [code]
    package com.rag.ekportal.bginfocenter.kmservice;
    public class BGFetcher implements IBGFetcher, Runnable {
    [/code]
    portalapp.xml
    [code]
    <?xml version="1.0"  encoding="UTF-8"?>
         <application>
              <application-config>
              </application-config>
              <components>
                   <component name="BGViewer">
                        <component-config>
                             <property name="ClassName" value="com.rag.ekportal.bginfocenter.bgview.control.BGViewer">
                             </property>
                             <property name="SecurityZone" value="sbi-ruhr.de/ekportal/medium_safety/com.rag.ekportal/components/bgviewer">
                             </property>
                             <property name="ResourceBundleName" value="bginfocenter">
                             </property>
                             <property name="ServicesReference" value="usermanagement,knowledgemanagement,com.rag.ekportal.bginfocenter.kmservice.BGFetcher,com.sap.portal.ivs.connectorservice,landscape">
                             </property>
                        </component-config>
                        <component-profile>
                             <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
                                  <property name="personalization" value="none">
                                  </property>
                             </property>
                             <property name="templatesfolderName" value="Vorlagen">
                             </property>
                             <property name="guidelinesfolderName" value="Richtlinien">
                             </property>
                             <property name="bgContactsfolderName" value="BG-Ansprechpartner">
                             </property>
                             <property name="ksb2folderName" value="KSB 2">
                             </property>
                             <property name="bgControllingfolderName" value="BG-Controlling">
                             </property>
                             <property name="rvURL" value="/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.fo.admin!2fcom.admin.fo.iview!2fcom.admin.iview.fo.ri!2fcom.admin.iview.ri.fo.rag!2fcom.admin.iview.ri.rag.iv.begis_0_0?numberBG=">
                             </property>
                             <property name="KmServiceUser" value="KM Service User">
                             </property>
                             <property name="systemAlias" value="BeGIS_RV_DB">
                             <property name="personalization" value="admin"/>
                             <property name="plainDescription" value="JDBC System object for DB access"/>                         
                        </property>
                        <property name="table" value="janus_contract_bg_v">
                             <property name="personalization" value="admin"/>
                             <property name="plainDescription" value="Database View for reading contracts"/>                         
                        </property>
                        <property name="table1" value="user_roles_v">
                             <property name="personalization" value="admin"/>
                             <property name="plainDescription" value="Database Table for checking user role in RV DB"/>                         
                        </property>
                        </component-profile>
                   </component>
              </components>
              <services>
                   <service name="BGFetcher">
                        <service-config>
                             <property name="className" value="com.rag.ekportal.bginfocenter.kmservice.BGFetcher">
                             </property>
                             <property name="startup" value="true">
                             </property>
                             <property name="SecurityZone" value="sbi-ruhr.de/ekportal/medium_safety/com.rag.ekportal/services/bgfetcher">
                             </property>
                        </service-config>
                        <service-profile>
                             <property name="interval" value="300000">
                             </property>
                             <property name="enable" value="false">
                                  <property name="type" value="boolean">
                                  </property>
                             </property>
                             <property name="numberofruns" value="1">
                             </property>
                             <property name="repository" value="/rag_bgm_test/Beschaffungsgruppen">
                             </property>
                             <property name="KmServiceUser" value="KM Service User">
                             </property>
                             <property name="dbServer" value="xxx">
                             </property>
                             <property name="dbUser" value="xxx">
                             </property>
                             <property name="dbPassword" value="xxx">
                             </property>
                             <property name="dbName" value="xxx">
                             </property>
                             <property name="workfolderName" value="Arbeitsordner">
                             </property>
                             <property name="teamfolderName" value="Teamordner">
                             </property>
                             <property name="contactfolderName" value="Ansprechpartner">
                             </property>
                             <property name="publicfolderName" value="u00D6ffentlicher Ordner">
                             </property>
                             <property name="deletedfolderName" value="/rag_bgm_test/Gelu00F6scht/">
                             </property>
                        </service-profile>
                   </service>
              </services>
         </application>
    [/code]
    The service didn't work after the migration, so I tried to deploy it again. This is the result:
    [code]
    Date : 01/12/2006
    Time : 13:31:37:880
    Message : [PortalServiceItem.startServices] service initialisation failed:com.rag.ekportal.bginfocenter.kmservice|BGFetcher
    [EXCEPTION]
    java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:613)
         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:235)
         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)
    Severity : Error
    Category : /System/Server
    Location : com.sap.portal.prt.runtime.broker
    Application : sap.com/irj
    Thread : SAPEngine_Application_Thread[impl:3]_15
    Datasource : 2390950:E:\usr\sap\PMT\JC00\j2ee\cluster\server0\log\defaultTrace.trc
    Message ID : 000C29A5B62A00400000001300000A4000040A2887A939D9
    Source Name : com.sap.portal.prt.runtime.broker
    Argument Objs : java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:613)
         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:235)
         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)
    Arguments : java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:613)
         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:235)
         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)
    Dsr Component :
    Dsr Transaction : 5f940fe0836711da887d000c29a5b62a
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : /System/Server
    Resource Bundlename :
    Session : 2391
    Source : com.sap.portal.prt.runtime.broker
    ThreadObject : SAPEngine_Application_Thread[impl:3]_15
    Transaction :
    User : xxx
    [/code]
    Looks like something is wrong in the service definition (portalapp.xml) but I have no clue. Class names are spelled right, settings the same as in EP6 SP2, yet the portal engine is not able to find the implementation class of the service.
    Any ideas?
    Cheers,
      Juergen

    Hi Detlev!
    The ServiceReference definition previously was located in the application config under SP2, but didn't work either.
    Now I found the solution. A sharing reference of all non-custom services in the application config and an additional sharing reference to my custom service in the portal application's config like this:
              <application-config>
                   <property name="SharingReference" value="usermanagement,knowledgemanagement,com.sap.portal.ivs.connectorservice,landscape">
                   </property>
              </application-config>
              <components>
                   <component name="BGViewer">
                        <component-config>
                             <property name="ClassName" value="com.rag.ekportal.bginfocenter.bgview.control.BGViewer">
                             </property>
                             <property name="SecurityZone" value="sbi-ruhr.de/ekportal/medium_safety/com.rag.ekportal/components/bgviewer">
                             </property>
                             <property name="ResourceBundleName" value="bginfocenter">
                             </property>
                             <property name="SharingReference" value="com.rag.ekportal.bginfocenter.KMService.BGFetcher">
                             </property>
                        </component-config>
    Case closed, thx for you hint. I awarded points.
    Cheers,
      Jürgen
    Message was edited by: Juergen Wahlmann, solution included

  • How to reflect the use of a custom cert in an unattended setup of FIM R2 SP1 Portal & Service?

    Hi,
    When doing an
    unattended installation of FIM Portal & Service there is a parameter that indicates the certificate subject name to generate: 'CERTIFICATE_NAME'.
    But, the GUI-based setup shows a choice:
    Select a certificate located in the local certificate store
    Generate a new self-issued certificate
    How do I accomplish a selection from the local certificate store through an unattended install?
    It seems that for instance using 'CERTIFICATE_NAME=MyCustomFIMCert' does not search the store first but creates an additional self-issued certificate with exactly the same name; in the msi installer log it then complaints that the installer
    found certificates with the same name.
    Anyone any tips how to deal with this behavior?
    THANKS :-)
    Danny Alvares, Senior Technology Consultant

    Here's the full PowerShell script.
    # FIM Service & Portal MSI & Setup# See: http://technet.microsoft.com/en-us/library/hh322863(v=ws.10).aspx
    $FIMServicePortalMsi = "`"C:\FIMSetup\Service and Portal\Service and Portal.msi`""
    $FIMServicePortalInstallDir = "`"C:\Program Files\Microsoft Forefront Identity Manager\2010`""
    $FIMServicePortalSetupLog = "`"C:\FIMSetup\FIMServicePortalSetup_Log.txt`""
    $FIMServiceCustomCertificateName = "fimservice.domain.local"
    $FIMADDLOCAL = "CommonServices,WebPortals"
    $FIMSQMOPTINSETTING = 0
    $FIMSQLSERVER_SERVER = "dbFIMService" # REQUIRED
    $FIMSQLSERVER_DATABASE = "FIMService"
    $FIMEXISTINGDATABASE = 0
    $FIMMAIL_SERVER = "exch.domain.local" # REQUIRED
    $FIMMAIL_SERVER_USE_SSL = 0
    $FIMMAIL_SERVER_IS_EXCHANGE = 1
    $FIMPOLL_EXCHANGE_ENABLED = 0
    # $FIMCERTIFICATE_NAME = "ForefrontIdentityManager" # IMPORTANT: WHEN USING A CUSTOM CERTIFICATE USE THUMBPRINT
    $FIMCERTIFICATE_THUMBPRINT = (dir Cert:\LocalMachine\My | where {$_.subject -match $FIMServiceCustomCertificateName}).thumbprint
    $FIMSERVICE_ACCOUNT_NAME = "svcFIMservice" # REQUIRED
    $FIMSERVICE_ACCOUNT_PASSWORD = "********" # REQUIRED
    $FIMSERVICE_ACCOUNT_DOMAIN = "DOMAIN" # REQUIRED
    $FIMSERVICE_ACCOUNT_EMAIL = "[email protected]" # REQUIRED
    $FIMSERVICE_MANAGER_SERVER = "" # FIM Reporting Service Management Server
    $FIMSYNCHRONIZATION_SERVER = "fimsync.domain.local" # REQUIRED
    $FIMSYNCHRONIZATION_SERVER_ACCOUNT = "DOMAIN\svcFIMsyncservice"
    $FIMSERVICEADDRESS = "fimservice.domain.local" # DO NOT USE LOCALHOST OR HTTP(S) PREFIX
    $FIMSHAREPOINT_URL = "https://fimportal.domain.local"
    $FIMREGISTRATION_PORTAL_URL = ""
    $FIMFIREWALL_CONF = 1 # Ports 5725, 5726
    $FIMSHAREPOINTUSERS_CONF = 1
    $FIMREQUIRE_REGISTRATION_INFO = 0
    $FIMREGISTRATION_ACCOUNT_NAME = ""
    $FIMREGISTRATION_ACCOUNT_DOMAIN = ""
    $FIMREQUIRE_RESET_INFO = 0
    $FIMRESET_ACCOUNT_NAME = ""
    $FIMRESET_ACCOUNT_DOMAIN = ""
    #MSI Argument list
    $FIMArguments = @("/i", $FIMServicePortalMsi, "/qn", "INSTALLDIR=$FIMServicePortalInstallDir", "ADDLOCAL=$FIMADDLOCAL", "SQMOPTINSETTING=$FIMSQMOPTINSETTING", "SQLSERVER_SERVER=$FIMSQLSERVER_SERVER", "SQLSERVER_DATABASE=$FIMSQLSERVER_DATABASE", "EXISTINGDATABASE=$FIMEXISTINGDATABASE", "MAIL_SERVER=$FIMMAIL_SERVER", "MAIL_SERVER_USE_SSL=$FIMMAIL_SERVER_USE_SSL", "MAIL_SERVER_IS_EXCHANGE=$FIMMAIL_SERVER_IS_EXCHANGE", "POLL_EXCHANGE_ENABLED=$FIMPOLL_EXCHANGE_ENABLED", "CERTIFICATE_THUMBPRINT=$FIMCERTIFICATE_THUMBPRINT", "SERVICE_ACCOUNT_NAME=$FIMSERVICE_ACCOUNT_NAME", "SERVICE_ACCOUNT_PASSWORD=$FIMSERVICE_ACCOUNT_PASSWORD", "SERVICE_ACCOUNT_DOMAIN=$FIMSERVICE_ACCOUNT_DOMAIN", "SERVICE_ACCOUNT_EMAIL=$FIMSERVICE_ACCOUNT_EMAIL", "SERVICE_MANAGER_SERVER=$FIMSERVICE_MANAGER_SERVER", "SYNCHRONIZATION_SERVER=$FIMSYNCHRONIZATION_SERVER", "SYNCHRONIZATION_SERVER_ACCOUNT=$FIMSYNCHRONIZATION_SERVER_ACCOUNT", "SERVICEADDRESS=$FIMSERVICEADDRESS", "SHAREPOINT_URL=$FIMSHAREPOINT_URL", "REGISTRATION_PORTAL_URL=$FIMREGISTRATION_PORTAL_URL", "FIREWALL_CONF=$FIMFIREWALL_CONF", "SHAREPOINTUSERS_CONF=$FIMSHAREPOINTUSERS_CONF", "REQUIRE_REGISTRATION_INFO=$FIMREQUIRE_REGISTRATION_INFO", "REGISTRATION_ACCOUNT_NAME=$FIMREGISTRATION_ACCOUNT_NAME", "REGISTRATION_ACCOUNT_DOMAIN=$FIMREGISTRATION_ACCOUNT_DOMAIN", "REQUIRE_RESET_INFO=$FIMREQUIRE_RESET_INFO", "RESET_ACCOUNT_NAME=$FIMRESET_ACCOUNT_NAME", "RESET_ACCOUNT_DOMAIN=$FIMRESET_ACCOUNT_DOMAIN", "/l*", $FIMServicePortalSetupLog)Clear-Host
    "Installing FIM Portal & Service..."
    $InstallExitCode = (Start-Process -FilePath msiexec.exe -ArgumentList $FIMArguments -Wait -Passthru).ExitCodeif ($InstallExitCode -eq 0) {"Installation successful."}else {"Installation failed with code $InstallExitCode. Check Windows Event Viewer for errors."}
    Danny Alvares, Senior Technology Consultant

  • Problem in testing customer SDO service from Enterprise manager

    I am trying to test customer SDO service( This is a built in service with SOA Demo) . While testing i face exception given below . There seems to be some proble in resolving data source soaDataSource. I have checked all configuration is correct. In JNDI tree also the SoaDataSOurce entry can be clearly seen. i have face similar problem with JCA Db adapter.
    Any suggestion for this problem will be greatly appreciated .
    Syed Naqvi
    <Jul 19, 2011 10:33:09 AM IST> <Warning> <oracle.j2ee.ws.common.jaxws.JAXWSMessa
    ges> <BEA-000000> <Exception while executing the business logic: JBO-27200: JNDI
    failure. Unable to lookup Data Source at context jdbc/soaDataSource: Unable to
    resolve 'jdbc.soaDataSource'. Resolved 'jdbc'>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException:
    JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/soaDataSou
    rce: Unable to resolve 'jdbc.soaDataSource'. Resolved 'jdbc'
    at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestMode
    l.java:575)
    at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381)
    at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMetho
    dBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMet
    hodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand
    .java:183)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
    un(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
    ocessPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
    adcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
    de.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
    un(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
    ocessPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
    adcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
    de.java:96)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7
    56)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplicat
    ion(LifecycleImpl.java:765)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
    ifecycleImpl.java:305)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
    leImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java
    :101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
    ava:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
    (RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
    .java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
    erImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
    r(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
    lter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilt
    er.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
    75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.
    java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java
    :203)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangP
    refFilter.java:158)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.ja
    va:542)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
    ilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: JBO-27200:
    JNDI failure. Unable to lookup Data Source at context jdbc/soaDataSource: Unabl
    e to resolve 'jdbc.soaDataSource'. Resolved 'jdbc'
    at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(
    DispatchUtil.java:260)
    at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWi
    thDispatch(OperationInfoImpl.java:992)
    at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java
    :729)
    at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestMode
    l.java:569)
    ... 79 more
    Caused by: javax.xml.ws.soap.SOAPFaultException: JBO-27200: JNDI failure. Unable
    to lookup Data Source at context jdbc/soaDataSource: Unable to resolve 'jdbc.so
    aDataSource'. Resolved 'jdbc'
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException
    (DispatchImpl.java:1012)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:803
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationW
    ithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchI
    mpl.java:106)
    at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(
    DispatchUtil.java:256)
    ... 82 more
    <Jul 19, 2011 10:33:16 AM IST> <Warning> <oracle.adf.view.rich.change.MDSDocumen
    tChangeManager> <BEA-000000> <ADFv: Unable to find matching JSP Document Node fo
    r: RichShowDetail[UIXFacesBeanImpl, id=drqsd1].>
    <Jul 19, 2011 11:17:54 AM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-0000
    00> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initializati
    on is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent
    To see the stack trace for thread that is initializing this, set the logging lev
    el of oracle.adf.share.ADFContext to FINEST>
    m_connection-jpss nul

    Thanks for the blog Salil.
    What ever it is mentioned is already done in SOAMANAGER. Endpoints are available for the service.
    Below is the Overview of the service:
    Object Status:               Services: 1 / Endpoints: 1 
    Porttype Namespace:   urn:sap-com:document:sap:soap:functions:mc-style
    Porttype Name:             YMTEST_WS
    Internal Name:               YMTEST_WS
    SOAP Applikation:         URN:SAP-COM:SOAP:RUNTIME:APPLICATION:RFC:710
    Package Name:             $TMP
    Ok, i have developed 2 web services. One web service in ECC 6.0, where Java stack not available so i provided CRM system Java stack address in the global setting and executed my ECC 6.0 web service which says "No endpoints are found for the Web service"
    Following is the URL:  http://tuasd06db.tuasw2k.tuaspower.com.sg:8000/sap/bc/srt/wsdl/sdef_YMTEST_WS/wsdl11/ws_policy/document?sap-client=220
    The one web service which created in CRM 2007, i can test in the navigator, no problem with that. 
    Following is the URL: 
    http://tuasd06db.tuasw2k.tuaspower.com.sg:8002/sap/bc/srt/wsdl/bndg_DE7DA5BA0B3A93F1AF60001A64258BFC/wsdl11/allinone/standard/document?sap-client=220
    You can find the URL difference btw the URL's. Do i need to publish the service in the service registry? I thought for testing it is not required.
    Now all i have problem with the ECC 6.0 web service.
    Cheers,
    Madhu

  • Accessing custom Portal service from a java application

    We have a custom portal service that connects to BW using xmla. How do you access this portal service from a java application. Not from web dynpro, jsp or servlet but from the java code.
    Can we use the INITIAL_CONTEXT_FACTORY to get access to the portal service.
    Thank You
    D.K

    Now I tried the following:
    I've added the prtapi.jar and the service's jar to the additional-lib folder and added the appropriate entries to library.txt and reference.txt.
    Now I can obtain now the PortalRuntime, but this is not initialized.
    Has anybody a solution for this problem? Help would be high appreciated!
    Regards,
    Matthias

Maybe you are looking for