Forum Problems Installing LAMS: Main Page of lams show in blanc


 
You may request notification for Main Page of lams show in blanc.
Search: 

1: Main Page of lams show in blanc
By: . .
01/02/07 09:24 AM
[ Reply | Forward ]
when i put the direccion of my Lams server in my web browser, the page dont show anything. This are the last lines from Jboss:

12:15:19,052 INFO  [LocaleFilter] Initializing filter 'LocaleFilter'
12:15:19,052 INFO  [LocaleFilter] Filter 'LocaleFilter' configured successfully
12:15:19,070 INFO  [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/lams.ear/
12:15:19,132 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
12:15:19,363 INFO  [ChannelSocket] Port busy 8009 java.net.BindException: Address already in use
12:15:19,363 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8010
12:15:19,392 INFO  [JkMain] Jk running ID=1 time=0/42  config=null
12:15:19,416 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 44s:280ms



When i enter to myserver:8080 the default page of jboss is show correctly but when put myserver:8080/lams show a blank page. This is the output of jboss



12:20:14,313 DEBUG [SingleSignOn] Process request for '/lams/'
12:20:14,315 DEBUG [SingleSignOn]  Checking for SSO cookie
12:20:14,315 DEBUG [SingleSignOn]  SSO cookie is not present
12:20:14,431 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session, auth obj created. session id: 3hu747w2fjff
12:20:14,450 DEBUG [SingleSignOn] Process request for '/lams/index.jsp'
12:20:14,450 DEBUG [SingleSignOn]  Checking for SSO cookie
12:20:14,450 DEBUG [SingleSignOn]  SSO cookie is not present
12:20:14,451 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: accessing login page before login succeed, display login page. session id: 3hu747w2fjff
12:20:14,458 ERROR [SessionManager] Failed on finding current system session with null sessionId
12:20:14,459 DEBUG [LocaleFilter] Locale set from server is es,CL
12:20:14,482 DEBUG [JspRedirectStrategy] Set locale information for login page:es_AR
12:20:14,508 ERROR [SessionManager] Failed on finding current system session with null sessionId
12:20:14,596 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.io.FileNotFoundException: http://146.83.216.164/lams/www/news.html
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
        at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireReader(ImportSupport.java:331)
        at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:241)
        at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
        at org.apache.jsp.login_jsp._jspx_meth_c_import_0(org.apache.jsp.login_jsp:503)
        at org.apache.jsp.login_jsp._jspService(org.apache.jsp.login_jsp:219)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:238)
        at org.lamsfoundation.lams.web.session.LoginFormAuthenticator.authenticate(LoginFormAuthenticator.java:54)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:89)
        at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:67)
        at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:619)
12:20:14,626 WARN  [FormAuthenticator] Unexpected error forwarding to login page
javax.servlet.ServletException: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://146.83.216.164/lams/www/news.html". java.io.FileNotFoundException: http://146.83.216.164/lams/www/news.html
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:844)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
        at org.apache.jsp.login_jsp._jspService(org.apache.jsp.login_jsp:310)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:238)
        at org.lamsfoundation.lams.web.session.LoginFormAuthenticator.authenticate(LoginFormAuthenticator.java:54)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:89)
        at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:67)
        at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:619)



Im currently using centos 4.4, Jboss 4.0.2 and Mysql 5.
some suggestion to solve my problem?

Posted by . .

2: Re: Main Page of lams show in blanc
In response to 1 01/02/07 05:09 PM
[ Reply | Forward ]
Hello,

The problem is in the ServerURL parameter. It looks like you have put http://146.83.216.164/lams, but it needs to be like http://146.83.216.164:8080/lams/.

Since you cannot login as sysadmin, you will need to modify the ServerURL directly in the database - login to mysql, and do something like:

use lams
update lams_configuration set config_value='http://146.83.216.164:8080/lams/' where config_key='ServerURL';

Hope this helps!

Posted by Jun-Dir Liew

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