cancel
Showing results for 
Search instead for 
Did you mean: 

After upgrading from 7.0 to 7.3 portal custom logon screen is giving runtime error.

Former Member
0 Kudos

Hello Experts,
We have upgraded our system form 7.0 to 7.3.
We had custom logon screen which is giving portal run-time error as below.

  1. PortalAppBroker.getPortalComponent () failed com.abcd.portal.runtime.logon.default
    [EXCEPTION]
    com.sap.portal.prt.om.ObjectNotAvailableException: Object: [com.abcd.portal.runtime.logon.default] load failed
    at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:246)
    at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
    at com.sap.portal.prt.broker.PortalAppBroker.getPortalComponent(PortalAppBroker.java:373)
    at com.sap.portal.prt.component.PortalComponentContext.getPortalComponentApp(PortalComponentContext.java:115)
    at com.sap.portal.prt.component.PortalComponentContextFactory.createPortalComponentContext(PortalComponentContextFactory.java:188)
    at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:82)
    at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:55)
    at com.sap.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:404)
    at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLogonIView(AuthenticationService.java:236)
    at com.sapportals.portal.prt.service.authenticationservice.PortalSecurityHandler.getLogonNode(PortalSecurityHandler.java:194)
    at com.sapportals.portal.prt.service.authenticationservice.PortalSecurityHandler.forwardToFormLoginPage(PortalSecurityHandler.java:81)
    at com.sapportals.portal.prt.service.authenticationservice.PortalSecurityHandler.forwardToLoginOrErrorPage(PortalSecurityHandler.java:103)
    at com.sap.engine.interfaces.security.auth.AbstractWebCallbackHandler.handle(AbstractWebCallbackHandler.java:1632)
    at com.sap.engine.interfaces.security.auth.AbstractWebCallbackHandler.handle(AbstractWebCallbackHandler.java:1083)
    at com.sap.engine.interfaces.security.auth.AbstractWebCallbackHandler.handle(AbstractWebCallbackHandler.java:673)
    at com.sap.engine.services.security.login.FastLoginContext.notifyAuthState(FastLoginContext.java:1335)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:653)
    at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:876)
    at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:453)
    at com.sapportals.portal.prt.service.hook.SecurityHookService.doNodeHook(SecurityHookService.java:151)
    at com.sapportals.portal.prt.connection.PortalHook.doNodeHook(PortalHook.java:383)
    at com.sap.portal.prt.pom.factory.ComponentNodeFactory.newInstance(ComponentNodeFactory.java:136)
    at com.sap.portal.prt.pom.factory.ComponentNodeFactory.newInstance(ComponentNodeFactory.java:49)
    at com.sap.portal.prt.pom.PortalNode.createComponentNode(PortalNode.java:270)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:445)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:201)
    at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.sap.portal.prt.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonComponent of Portal Component com.abcd.portal.runtime.logon.default because: Could not find implementation class
    at com.sap.portal.prt.broker.PortalComponentItem.getInstanceInternal(PortalComponentItem.java:453)
    at com.sap.portal.prt.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:191)
    at com.sap.portal.prt.broker.PortalComponentItem.load(PortalComponentItem.java:371)
    at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
    ... 69 more
    Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.ume.component.logon.SAPMLogonComponent
    ------------------------- Loader Info -------------------------
    ClassLoader name: [WCE_PRIVATE_CL_sap.com/com.abcd.portal.runtime.logon]
    Loader hash code: 17cdfdd0
    Living status: alive
    Direct parent loaders:
       [sap.com/com.abcd.portal.runtime.logon]
    Resources:
       /usr/sap/XYZ/J30/j2ee/cluster/apps/sap.com/com.abcd.portal.runtime.logon/servlet_jsp/com.abcd.portal.runtime.logon/work
    ---------------------------------------------------------------
    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:249)
    at com.sap.portal.prt.broker.PortalComponentItem.getInstanceInternal(PortalComponentItem.java:439)

Kindly suggest..
At least we get the standard logon page at east so that the user can login.

Regards,
Prajakta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks all for all your valuable time and support..

Issue got fixed ...by replacing the Property ()in nwa/auth to standared value.

authschemes.xml as their a custom .xmal file was appearing.


Regards,
Prajakta k

Former Member
0 Kudos

Answers (2)

Answers (2)

junwu
Active Contributor
0 Kudos

i think you have to re-implement the custom logon screen

Former Member
0 Kudos

Hi Jun,

What do you mean by Implementing the custom logon screen .
I am getting the following runtime error also a certificate error in IE browser. Kindly suggest..

Former Member
0 Kudos

HI,

Post the error you are getting by searching exception ID in the log viewer.

How to see log viewer:

a) Create an iView of PAR type referring to standard par *.*....logviewer

b) Preview log viewer iview

c) search for the exception ID to see more details of the error

Former Member
0 Kudos

Hi,

Please refer the property Alias of the application for customizing logon page and reset to default value. reference link http://scn.sap.com/docs/DOC-27909

Former Member
0 Kudos

Hi Ganga,
   I had tried this .even this don't work. It only effects for the nwa logon screen ,irj/portal screen gives the same runtime error.Please suggest

Regards,
Prajakta

Former Member
0 Kudos

Hi,

Please post the detailed errort by looking into log viewer.

Former Member
0 Kudos

Hi,

Can you ask Basis to restart portal once; if that is an option

Former Member
0 Kudos

Hi,
we tried restarting the portal 2-3 time but it didn't work.

Below is the error log:

-------------------------------------------------

2.#2013 07 14 23:33:06:703#0-700#Error#/System/Server/WebRequests#

com.sap.ASJ.web.000137#BC-NWA-INC-UIF#sap.com/tc~lm~itsam~ui~mainframe~wd#C0000A402D38013200000002009E0070#309235250000000004#sap.com/tc~lm~itsam~ui~mainframe~wd#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##33B2A3D9ED1811E2CA170000126E8E32#33b2a3d9ed1811e2ca170000126e8e32#33b2a3d9ed1811e2ca170000126e8e32#0#Thread[HTTP Worker [@409745719],5,Dedicated_Application_Thread]#Plain#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle#

Cannot process an HTTP request to servlet [dispatcher] in [webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd] web application.

For more details on the problem please check traces searching by logId: C0000A402D38013200000001009E0070#

---------------------------------------------------------------------

Regards

Prajakta

junwu
Active Contributor
0 Kudos

nw7 and nw7.3 are quite different, better redo the logon screen customization in nw7.3 envrionment.

Former Member
0 Kudos

Hey Ganga,
            In the doc which you had send, their is a comment by Robot

(

only one: pls remark in your doc. if you you use httpS  > modify certLogonPage.jsp

Robert

)

saying if you are using HTTPS please make change in certLogonPage.jsp but what change we need to do their?

Any idea.

regards,
Prajakta K

Former Member
0 Kudos

HI,

Robert comment is for customizing logon page.

Please refer the following once; may be of help - http://scn.sap.com/thread/2057977

former_member246153
Active Contributor
0 Kudos

Hi,

Have you tried by changing the value for login.authschemes.definition.file in nwa/auth to "authschemes.xml".

Regards,

Srinivasan V

former_member246153
Active Contributor
0 Kudos

Hi,

Try to reset standard logon in http://hostname:portno/nwa/auth.

Regards,

Srinivasan V

Former Member
0 Kudos

Hi  Srini ,
                We tried doing that even then it didn't work .the entry was as it was before

Alias of Application for customizing login pages (ume.logon.application.ui_resources_alias)= /logon_ui_resources (original)
Kindly suggest.
Thanks
Regards,
Prajakta.

former_member246153
Active Contributor
0 Kudos

Hi,

In same area can you please check if there is any custom value set for authscheme.xml file or it is referring to the standard.

Regards,

Srinivasan V

Former Member
0 Kudos

Hi Srini,
Thanks for your help but can u tell us which properties of the service should we check.below is the screen short .Kindly suggest what is missing.

former_member246153
Active Contributor
0 Kudos

Hi,

Did you find any property with the name login.authschemes.definition.file in that list , Please check what is the value given it and if it has any custom value restore it to default and Restart the Portal server and check...

Regards,

Srinivasan V

Former Member
0 Kudos

hi Srini,

           what has to be maintained in that  property "login.authschemes.definition.file" ?is it "authschemes.xml" for the std logon page to appear but their its maintained as "authscheme_RIP_SP9.xml"

Kindly suggest.



former_member246153
Active Contributor
0 Kudos

Hi,

Please refer the below link

http://help.sap.com/saphelp_nw73/helpdata/en/a2/03aa3d5acd40f082db65ee59c360b7/content.htm

In PropertySheet look for the property login.authschemes.definition.file.

Instead of applying custom value Restore the value to default.

Hope it will help.

Regards,

Srinivasan V

Former Member
0 Kudos

Hi Srini,
       I want the standard logon portal only i don't want the custom logon page for now.

What entry should appear in this property "login.authschemes.definition.file" to retain the standard logon.

Regards,

Prajakta k

former_member246153
Active Contributor
0 Kudos

Hi,

Have you got that property login.authschemes.definition.file or authscheme.xml refrence ? if so double click on that property and try to edit that property. It will give you a popup where it has Restore Default button at the bottom.If you click this button it will automatically reset the Standard Authscheme.xml value.

Please take help from Basis if required

Regards,

Srinivasan V

Former Member
0 Kudos

hi ,

this is the xml file code :

<?xml version="1.0" encoding="UTF-8" ?>

- <!--

  Configuration File for Authentication Schemes 

-->  - <!--

 $Id: //shared_tc/com.sapall.security/dev/src/_deploy/dist/configuration/shared/authschemes.xml#5 $ from $DateTime: 2004/01/22 15:00:46 $ ($Change: 14214 $) 
-->

 

- <document>

- <authschemes>

- <!--

  authschemes, the name of the node is used 
--> 
- <authscheme name="uidpwdlogon">

- <!--

 multiple login modules can be defined 
--> 
<authentication-template>ticket</authentication-template>

<priority>20</priority>

- <!--
 the frontendtype TARGET_FORWARD = 0, TARGET_REDIRECT = 1, TARGET_JAVAIVIEW = 2 
--> 

<frontendtype>2</frontendtype>

- <!--
 target object 
--> 

<frontendtarget>com.sap.portal.runtime.logon.certlogon</frontendtarget>

</authscheme>

- <authscheme name="certlogon">

<authentication-template>client_cert</authentication-template>

<priority>21</priority>

<frontendtype>2</frontendtype>

<frontendtarget>com.sap.portal.runtime.logon.certlogon</frontendtarget>

</authscheme>

- <authscheme name="basicauthentication">

<authentication-template>ticket</authentication-template>

<priority>20</priority>

<frontendtype>2</frontendtype>

<frontendtarget>com.sap.portal.runtime.logon.basicauthentication</frontendtarget>

</authscheme>

- <!--
 Reserved 'anonymous' authscheme added for being in the list of authschemes 
--> 

- <authscheme name="anonymous">

<priority>-1</priority>

</authscheme>

</authschemes>

- <!--
  References for Authentication Schemes, this section must be after authschemes 
--> 

- <authscheme-refs>

- <authscheme-ref name="default">

<authscheme>uidpwdlogon</authscheme>

</authscheme-ref>

- <authscheme-ref name="UserAdminScheme">

<authscheme>uidpwdlogon</authscheme>

</authscheme-ref>

</authscheme-refs>

</document>

Regards,Prajakta

former_member246153
Active Contributor
0 Kudos

Hi,

Again i am telling for Setting Custom and Reseting to Standard you have to follow the below link...

Please refer the below link

http://help.sap.com/saphelp_nw73/helpdata/en/a2/03aa3d5acd40f082db65ee59c360b7/content.htm

Regards,

Srinivasan V

Former Member
0 Kudos

hi srini,

       Yes we got that file authscheme.xml under the service "com.sap.security.core.ume.service "
   Also "login.authschemes.definition.file" with the value as "authschemes_RIP_SP9.xml" and when we edit its showing the same value in default.

even then should we try to restore default.

Thanks for your instant reply..

regards,
Prajakta

Former Member
0 Kudos

Hi,

Please check in NWA the portal logon page configuration. As you need standard logon page, please make sure you have standard WAR file configured for logon page.

Regards,

Ganga

Former Member
0 Kudos

hi Ganga,
Following is the screen short of the nwa/auth log.what you want me to check here..I have highlighted the few of the points . In which i am unable to understand what should be the value of path of authscheme file if i want the std logon page.

Regards,
Prajakta k

Former Member
0 Kudos

Hello Srini,
            The button is disable so we are not able to reset it to default.

and it gives same value in default .

regards,
Prajakta

abdulbasit
Active Contributor
0 Kudos

Did you try to change the value to "authschemes.xml" ?