Forum Problems Installing LAMS: Re: Re: installation on opensuse


 
Search: 

3: Re: Re: installation on opensuse
In response to 2 04/18/11 12:36 PM
[ Reply | Forward ]
HI Nikos,

You must have configured in the installation that the Server URL was localhost. So when you are trying to access it thru the IP, then it's trying to send the CSS and images as with URL localhost.

You can fix this very easily login as sysadmin, go to the sysadmin menu, "Edit Configuration settings" and then change the Server URL to use the IP. That should fix this.

Now, if you eventually get a domain rather than the IP, make sure you change it to the actual domain.

Thanks,

Ernie

Posted by Ernie Ghiglione

4: Re: Re: Re: installation on opensuse
In response to 3 04/19/11 09:20 AM
[ Reply | Forward ]
Thank you Ernie,
that was the problem and it is now fixed. Yet, I another problem appeared.
I don't know how in the learner's environment, the left navigation bar isn't displayed. When I have a chat activity the following message appears:
"
java.lang.NullPointerException: Unknown runtime exception! Απόκυψη λεπτομερειών
java.lang.NullPointerException at org.lamsfoundation.lams.util.XMPPUtil.createId(XMPPUtil.java:36) at org.lamsfoundation.lams.tool.chat.service.ChatService.createChatUser(ChatService.java:541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy50.createChatUser(Unknown Source) at org.lamsfoundation.lams.tool.chat.web.actions.LearningAction.getCurrentUser(LearningAction.java:163) at org.lamsfoundation.lams.tool.chat.web.actions.LearningAction.unspecified(LearningAction.java:100) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:249) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:142) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociation
"

When I get rid of the chat activity there is no navigation bar (see attached image)
Please some help.

Posted by Nikos Dovros

Attachments:
Reply to first post on this page
Back to Problems Installing LAMS