Forum Problems Installing LAMS: the error in saving activity tool configuration


 
You may request notification for the error in saving activity tool configuration.
Search: 

1: the error in saving activity tool configuration
05/07/07 12:48 PM
[ Reply | Forward ]
Hi!
with your help,now i instaall lams2.02 in linux system. i can enter the author and drag the activity tool, but when i changed the antivity tool configuration there is a problem like following:

Sorry, there as been an error.
There is a problem processing this request. Close the browser window and try again. If the problem persists please contact your system administrator or the technical forums on http://lamscommunity.org/.

javax.servlet.ServletException: Servlet execution threw an exception Hide detail
javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:151) 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(SecurityAssociationValve.java:153) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:121) 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:595)



what is this problem? how can i solve it?

my computers memory is 1G and CPU is Pentium 4 , but after installing lams, i find it is so slow in running lams? what is that problem?

thanks!

best wishes to all of you!!!

Posted by ablet wayit

2: Re: the error in saving activity tool configuration
In response to 1 05/07/07 04:49 PM
[ Reply | Forward ]
Hi Ablet,

do you remember which activity you were trying to change?

Ernie

Posted by Ernie Ghiglione

3: Re: Re: the error in saving activity tool configuration
In response to 2 05/07/07 06:50 PM
[ Reply | Forward ]
Ablet,

Could you also please turn on debugging, try the problem again and then attach the logs here?

The instructions for creating the debugging logs are in the Creating DEBUG Logs page on the wiki.

LAMS may run a bit slower while the debugging is turned on, so when you have posted the logs here, you will need to turn debugging off again (that is, set Threshold back to "INFO")

As for how LAMS is running in general, it is hard to say without knowing what else is running on the PC. I have run LAMS fine with that much memory, but if I am running another program that takes a lot of memory then the PC has problems. What apart from LAMS are you running anything on the PC?

Fiona

Posted by Fiona Malikoff

4: Re: Re: Re: the error in saving activity tool configuration
In response to 3 05/08/07 10:50 AM
[ Reply | Forward ]
Hi! 
 I try to change all acttivity tool,but i failed. the error like follows:

HTTP Status 500 - 

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

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet execution threw an exception    org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:151)    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)    org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)    org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:71)    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause 

java.lang.OutOfMemoryError: Java heap space
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.


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

Apache Tomcat/5.5.9


Posted by ablet wayit

Attachments:
5: Re: Re: Re: Re: the error in saving activity tool configuration
In response to 4 05/08/07 10:59 AM
[ Reply | Forward ]
my attachment file is here.

Posted by ablet wayit

6: Re: the error in saving activity tool configuration
In response to 1 05/08/07 11:03 AM
[ Reply | Forward ]
attachment

Posted by ablet wayit

Attachments:
7: Re: Re: the error in saving activity tool configuration
In response to 6 05/08/07 05:23 PM
[ Reply | Forward ]
Thanks for posting the logs and the other error. I think it is the amount of memory allocated to Java that is the problem.

I assume you starting LAMS by running "run.sh" in /usr/java/jboss/bin?

If yes, then follow these instructions:
* take the attached file "run-lams.sh" and put it in /usr/java/jboss/bin.
* make the new file runnable ie "chmod +x run-lams.sh"
* now start LAMS using "sudo ./run-lams.sh".

If you are not using run.sh, but instead are using the wrapper then please let me know as we need to change a different file.

Fiona

Posted by Fiona Malikoff

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