Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Using custom skin for login screen
Using custom skin for login screen [message #1567000] Fri, 16 January 2015 05:24 Go to next message
A G is currently offline A GFriend
Messages: 8
Registered: January 2015
Junior Member
I am trying to coustomize the login page and followed all the steps mentioned at stardust documentation (Creating & using custom skins -> Applying a Customizable Branding to the Login Page) -

But I am getting following exception at the tomcat console and getting no change at the login screen -

SEVERE: Servlet.service() for servlet [SkinContentServlet] in context with path [/ApprovePO] threw exception
org.eclipse.stardust.common.error.PublicException: Failed retrieving content for file '/default-skin/login.css'.: java.lang.NullPointerException
at org.eclipse.stardust.ui.client.dms.SkinContentServlet$1.invoke(SkinContentServlet.java:210)
at org.eclipse.stardust.ui.client.dms.SkinContentServlet$1.invoke(SkinContentServlet.java:98)
at org.eclipse.stardust.common.Function.call(Function.java:38)
at org.eclipse.stardust.common.Function.execute(Function.java:33)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean$TxIsolatedActionInvoker.isolate(AbstractSpringForkingServiceBean.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.CallingInterceptor.invoke(CallingInterceptor.java:29)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.POJOExceptionHandler.invoke(POJOExceptionHandler.java:30)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.RuntimeExtensionsInterceptor.invoke(RuntimeExtensionsInterceptor.java:34)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.NonInteractiveSecurityContextInterceptor.invoke(NonInteractiveSecurityContextInterceptor.java:47)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.doWithDataSource(SpringSessionInterceptor.java:142)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.access$000(SpringSessionInterceptor.java:48)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor$1.doInConnection(SpringSessionInterceptor.java:87)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.invoke(SpringSessionInterceptor.java:81)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringConfigurationInterceptor.invoke(SpringConfigurationInterceptor.java:101)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.PropertyLayerProviderInterceptor.invoke(PropertyLayerProviderInterceptor.java:129)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.DebugInterceptor.invoke(DebugInterceptor.java:55)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringTxInterceptor$1.doInTransaction(SpringTxInterceptor.java:66)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
at org.eclipse.stardust.engine.api.spring.SpringTxInterceptor.invoke(SpringTxInterceptor.java:51)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.execute(MethodInvocationImpl.java:68)
at org.eclipse.stardust.engine.core.runtime.beans.InvocationManager.invoke(InvocationManager.java:53)
at $Proxy51.isolate(Unknown Source)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean$2.doInTransaction(AbstractSpringForkingServiceBean.java:146)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean.isolate(AbstractSpringForkingServiceBean.java:135)
at org.eclipse.stardust.ui.client.dms.SkinContentServlet.doDownloadFileContent(SkinContentServlet.java:97)
at org.eclipse.stardust.vfs.impl.jcr.web.AbstractVfsContentServlet.doGet(AbstractVfsContentServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.eclipse.stardust.ui.web.html5.EnhancedJarResourceFilter.doFilter(EnhancedJarResourceFilter.java:140)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.eclipse.stardust.ui.client.dms.SkinContentServlet$1.invoke(SkinContentServlet.java:164)
... 61 more
Jan 16, 2015 10:33:08 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [SkinContentServlet] in context with path [/ApprovePO] threw exception
org.eclipse.stardust.common.error.PublicException: Failed retrieving content for file '/default-skin/login_safari.css'.: java.lang.NullPointerException
at org.eclipse.stardust.ui.client.dms.SkinContentServlet$1.invoke(SkinContentServlet.java:210)
at org.eclipse.stardust.ui.client.dms.SkinContentServlet$1.invoke(SkinContentServlet.java:98)
at org.eclipse.stardust.common.Function.call(Function.java:38)
at org.eclipse.stardust.common.Function.execute(Function.java:33)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean$TxIsolatedActionInvoker.isolate(AbstractSpringForkingServiceBean.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.CallingInterceptor.invoke(CallingInterceptor.java:29)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.POJOExceptionHandler.invoke(POJOExceptionHandler.java:30)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.RuntimeExtensionsInterceptor.invoke(RuntimeExtensionsInterceptor.java:34)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.NonInteractiveSecurityContextInterceptor.invoke(NonInteractiveSecurityContextInterceptor.java:47)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.doWithDataSource(SpringSessionInterceptor.java:142)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.access$000(SpringSessionInterceptor.java:48)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor$1.doInConnection(SpringSessionInterceptor.java:87)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.invoke(SpringSessionInterceptor.java:81)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
Re: Using custom skin for login screen [message #1572361 is a reply to message #1567000] Mon, 19 January 2015 05:10 Go to previous messageGo to next message
A G is currently offline A GFriend
Messages: 8
Registered: January 2015
Junior Member
Did anybody worked on configuring custom skin for the login page and it worked?
Re: Using custom skin for login screen [message #1572559 is a reply to message #1572361] Mon, 19 January 2015 07:49 Go to previous messageGo to next message
Robert Emsbach is currently offline Robert EmsbachFriend
Messages: 186
Registered: October 2011
Location: Singapore
Senior Member

Yes, AG.
Have you tried if the file you are referencing is available in that location?
Maybe try if it works with a simple URL location in your server first. Then you can reference a file in a plugin jar if needed.

[Updated on: Mon, 19 January 2015 07:50]

Report message to a moderator

Re: Using custom skin for login screen [message #1574249 is a reply to message #1572559] Tue, 20 January 2015 05:49 Go to previous messageGo to next message
A G is currently offline A GFriend
Messages: 8
Registered: January 2015
Junior Member
Hi,
Thanks for the reply.

Could you please let me know the steps followed for customizing the login page.

I have created a login.css under resource management->skin->customSkin
and put the required image under customSkin->images folder.
code in login.css is as follows -

div#loginBox .logo {
background: url("./images/mylogin.png") no-repeat left top transparent;
border-bottom: 1px solid #CCCCCC;
clear: both;
color: #708090;
font-weight: bold;
height: 65px;
line-height: 70px;
width: auto;
}


Re: Using custom skin for login screen [message #1584311 is a reply to message #1574249] Sun, 25 January 2015 18:04 Go to previous message
Anthony Lewis is currently offline Anthony LewisFriend
Messages: 9
Registered: December 2014
Junior Member
For what is worth, just last week i got to that point in the tutorials and it worked for me without issue ... changed the logo and font.
Previous Topic:Accessing application activity information
Next Topic:Newbie Frustration
Goto Forum:
  


Current Time: Fri Sep 21 00:42:36 GMT 2018

Powered by FUDForum. Page generated in 0.02727 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top