cancel
Showing results for 
Search instead for 
Did you mean: 

Logon Customziation Problem.

Former Member
0 Kudos
34

Hi Folks,

I was trying to customize the login page in portal.

I modified com.sap.portal.runtime.logon.par.bak.I tested with Java Developer and the images are changed in login page.

When i try to modify umelogonbase.jar (unzip and modify) for changing the text in portal iam getting exception.

I changed authschemes.xml in portal and when i start the portal iam getting the following error:

An exception occurred while processing a request for :

iView : N/A

Component Name : N/A

The exception was logged. Inform your system administrator..

See the details for the exception ID in the log file

#1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method

Component : LogonParProject.default

at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)

at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)

at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)

at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)

at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLogonIView(AuthenticationService.java:233)

at com.sapportals.portal.prt.service.hook.SecurityHookService.doNodeHook(SecurityHookService.java:154)

at com.sapportals.portal.prt.connection.PortalHook.doNodeHook(PortalHook.java:469)

at com.sapportals.portal.prt.pom.factory.ComponentNodeFactory.newInstance(ComponentNodeFactory.java:138)

at com.sapportals.portal.prt.pom.factory.ComponentNodeFactory.newInstance(ComponentNodeFactory.java:50)

at com.sapportals.portal.prt.pom.PortalNode.createComponentNode(PortalNode.java:276)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:617)

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.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)

at com.sap.portal.navigation.Gateway.service(Gateway.java:126)

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:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonComponent of Portal Component LogonParProject.default because: Linkage error while loading implementation class

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:234)

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)

at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)

at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)

at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)

... 35 more

Caused by: java.lang.NoClassDefFoundError: com/sap/security/core/logonadmin/IAccessToLogic

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:219)

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)

... 39 more

any input highly apreciated.

thanks

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vijay,

It is clear from the log that the class IAccessToLogic is not found. So,probably you didn't include it in the umelogonbase.jar. Check the jar again.

Also, which text do you want to change? Is it not possible to achieve it by editing the logon PAR file?

Why do you want to alter the jar file?

Regards,

M.Subathra

Former Member
0 Kudos

Hi Subathra,

Thanks for the reply!!

I included those two jar file in lib folder but still i am getting that error.

In the portal login page there is a text "welcome" and copyright "© 2002-2004 SAP AG All Rights Reserved."

i wanted to change those message so i modified the jar file.

Did you come across any of this issue.pls let me know.

Thanks

Vijay

Former Member
0 Kudos

hai,

try this

1.The text seen on the logon page is not in the JSP page, but in properties files which are called by tags like the Welcome text : <%=logonLocale.get("xtit_WELCOME")%>

2.In order to change "Welcome" to "your company name" you have to :

- Unzip the file umelogonbase.jar which you can find under dist\PORTAL-INF\lib

- Find the file "logonLabels_" which contains your language;

e.g. for german logonLabels_de.properties,

for russian logonLabels_ru.properties or

for English logonLabels_en.properties

3.The default is in the file logonLabels.properties .

- Find the key which is used in the tag (here it is xtit_WELCOME) and change

the text after the equal sign.

- Save the changed file and create a updated JAR file using a zip program. The

file needs to be named umelogonbase.jar, not umelogonbase.zip or

umelogonbase.jar.zip.

- Put the JAR file back to dist\PORTAL-INF\lib.

Regards,

malini

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vijay ,

refer to this

thanx

Pankaj

Former Member
0 Kudos

Make sure you have "work" directory at <drive>/usr/sap/<ID>/JC00/j2ee/cluster/server<instance>/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/<namespace>.portal.logon/

if not please create work directory at above location. Also check lib directory containt.

Hope this will surely help.

Regards,

Nitin