coursework-help Mailing List for CourseWork
Brought to you by:
ianeboston,
john765367
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(19) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
From: Mumit K. <mu...@br...> - 2004-11-19 13:20:56
|
Hi Ian, Thanks very much for the explanation, it helps a lot. > This is almost exactly what we do at Cambridge, we have the users in > LDAP and when they first visit Coursework they are auto registered. > From their they can join courses. We have a further added complication > that makes it a little more difficult. Some users authenticate against > the campus wide single sign-on, and so their details have to be auto > entered into both LDAP and the Database. > > You need to > 1. Activate the JAAS based login modules, from memory their is a > properties file where the auth module is defined > edu.stanford.core.authentication ? > > 2. Comment out any reference to Raven in jaas.config and associated > property files. Raven is the UoC single signon mechanism. > > 3. Configure the Database Login Module and the LDAP Login module to > point to the correct places. Database to the coursework DB and LDAP to > your LDAP. We use an OpenLDAP server, with anon bind for search and > auth bind for Authentication. 1-3 done, mostly following some of your responses to the mailing list (supplemented by some uneducated guesswork). > 4. Make certain that you put the jaas.config file in the > CATALINA_HOME/conf directory, and reference it in a command line -D > argument. Jaas doc will help here. Remember their is only on > jaas.config per JVM. Also done. The install process does this already, so I got lucky. I didn't know about -D argument, thanks. > Operation - this is from memory, so could be wrong... ( please correct > me if Im wrong on this ) > The user comes to the login page, enters their username and password. > The Jaas Login modules are called in turn and register callbacks. The > callback handlers take the auth tokens and do things with them. eg > 1. Try to locate the LDAP DN and then bind to the LDAP DN, if > sucessfull a principal is created and set. > 2. Try to locate the username and password inthe DB, if sucessfull a > principal is created. > 3. Use an authenticated principal (from LDAP) to populate the DB. > > There is a readme associated with the deployment of the JAAS framework > that explains this in more detail. > > Does this help ? How far have you got ? This helps significantly, especially as it validated my current understanding. I'll take another hack at it next weekend, when I'll know more. Looks like I can use your cambridge setup for the most part, so I'll try to dig through it first and figure out how it's done in detail and then try ours out. Thanks for a terrific port. Perhaps I can contribute back by documenting our process when I have it done. Regards, Mumit |
From: Ian B. <ie...@tf...> - 2004-11-19 09:02:34
|
This is almost exactly what we do at Cambridge, we have the users in LDAP and when they first visit Coursework they are auto registered. From their they can join courses. We have a further added complication that makes it a little more difficult. Some users authenticate against the campus wide single sign-on, and so their details have to be auto entered into both LDAP and the Database. You need to 1. Activate the JAAS based login modules, from memory their is a properties file where the auth module is defined edu.stanford.core.authentication ? 2. Comment out any reference to Raven in jaas.config and associated property files. Raven is the UoC single signon mechanism. 3. Configure the Database Login Module and the LDAP Login module to point to the correct places. Database to the coursework DB and LDAP to your LDAP. We use an OpenLDAP server, with anon bind for search and auth bind for Authentication. 4. Make certain that you put the jaas.config file in the CATALINA_HOME/conf directory, and reference it in a command line -D argument. Jaas doc will help here. Remember their is only on jaas.config per JVM. Operation - this is from memory, so could be wrong... ( please correct me if Im wrong on this ) The user comes to the login page, enters their username and password. The Jaas Login modules are called in turn and register callbacks. The callback handlers take the auth tokens and do things with them. eg 1. Try to locate the LDAP DN and then bind to the LDAP DN, if sucessfull a principal is created and set. 2. Try to locate the username and password inthe DB, if sucessfull a principal is created. 3. Use an authenticated principal (from LDAP) to populate the DB. There is a readme associated with the deployment of the JAAS framework that explains this in more detail. Does this help ? How far have you got ? Ian Mumit Khan wrote: > Dear all, > > Is it possible to use an LDAP server to authenticate against existing > users and a database for ones that do not exist in our LDAP server? Our > LDAP server is basically a migration from legacy YP/NIS (aided the PADL > migration tools), so you can imagine what the schema looks like. We > would like our students/staff/faculty to be able to use Coursework > without having to do anything extra, and have the guest users register > themselves in a database. > > I have 3.0RC1 working in the "old" mode, against a database (by editing > security.properties as suggested in an earlier email to the list), but > can't get authentication in CVS HEAD working at all. > > I'm a complete newbie at this, so any help would be terrific in pointing > out what I should be looking at. I have a rough idea about JAAS (from > Sun's docs), but that's not helping much in deciphering Cambridge's > current authentication modules. > > Regards, > Mumit > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Coursework-help mailing list > Cou...@li... > https://lists.sourceforge.net/lists/listinfo/coursework-help |
From: Mumit K. <mu...@br...> - 2004-11-19 08:05:08
|
Dear all, Is it possible to use an LDAP server to authenticate against existing users and a database for ones that do not exist in our LDAP server? Our LDAP server is basically a migration from legacy YP/NIS (aided the PADL migration tools), so you can imagine what the schema looks like. We would like our students/staff/faculty to be able to use Coursework without having to do anything extra, and have the guest users register themselves in a database. I have 3.0RC1 working in the "old" mode, against a database (by editing security.properties as suggested in an earlier email to the list), but can't get authentication in CVS HEAD working at all. I'm a complete newbie at this, so any help would be terrific in pointing out what I should be looking at. I have a rough idea about JAAS (from Sun's docs), but that's not helping much in deciphering Cambridge's current authentication modules. Regards, Mumit |
From: Ian B. <ie...@tf...> - 2004-07-27 16:20:25
|
Yes, when the system is first installed there is no obvious way to get to the Admin pages. If you go to http://hostnam/coursework/servlet/AdminSite you should see the admin pages It probably worth # Regenerate list of departments # Regenerate courses for each department # Regenerate all course navbars # Refresh database pool In that order and then going to Admin Mime Types and editing one mimetype to get the mime types templates content managed. I hope that helps. Also you might find it worth looking in for later release tags as there have been a number of bug fixes since the RC1 release. HTH Ian Leow Hock Seng wrote: > Hello, > > I installed and setup coursework_postgres.3.0.RC1 on > jakarta-tomcat-5.0.27. I am able to register a user and login to admin. > However, there is no added functions when I login as admin. It seems > like the system is treating admin user as a student. I did a check on > postgresql database, admin has superuser attribute. > > Any suggestion to fix the problem? > > Thanks. > > Leow Hock Seng > > > The debug messages are as shown: > > 27 Jul 2004 22:23:02,346 -- DEBUG [TP-Processor7] (AuthFactory.java) - > AUTHCLASSNAME=edu.stanford.coursework.passwordauth.PasswordAuthImpl > 27 Jul 2004 22:23:02,361 -- DEBUG [TP-Processor7] (AuthFactory.java) - > AUTHCLASS=class edu.stanford.coursework.passwordauth.PasswordAuthImpl > 27 Jul 2004 22:23:02,374 -- DEBUG [TP-Processor7] (UserLogin.java) - > submitting username password > 27 Jul 2004 22:23:02,554 -- DEBUG [TP-Processor7] (BaseServlet.java) - > STARTING BASESERVLET doPost > 27 Jul 2004 22:23:02,564 -- DEBUG [TP-Processor7] (BaseServlet.java) - > contextPath = coursework > 27 Jul 2004 22:23:02,570 -- DEBUG [TP-Processor7] > (SessionController.java) - PersonID is 1 > 27 Jul 2004 22:23:02,579 -- DEBUG [TP-Processor7] > (SessionController.java) - psession last modified at 2004-07-27 > 22:22:20.795 > 27 Jul 2004 22:23:02,583 -- DEBUG [TP-Processor7] > (SessionController.java) - Will update psession at 2004-07-27 22:37:20.795 > 27 Jul 2004 22:23:02,589 -- DEBUG [TP-Processor7] (CoreDTLObject.java) - > ***** dtl_login = > /home/lhs/coursework_postgres.3.0.RC1/coursework_postgres/build/webapp/WEB-INF/dtlcam/login.dtl > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Coursework-help mailing list > Cou...@li... > https://lists.sourceforge.net/lists/listinfo/coursework-help |
From: Leow H. S. <ose...@pa...> - 2004-07-27 14:42:35
|
Hello, I installed and setup coursework_postgres.3.0.RC1 on jakarta-tomcat-5.0.27. I am able to register a user and login to admin. However, there is no added functions when I login as admin. It seems like the system is treating admin user as a student. I did a check on postgresql database, admin has superuser attribute. Any suggestion to fix the problem? Thanks. Leow Hock Seng The debug messages are as shown: 27 Jul 2004 22:23:02,346 -- DEBUG [TP-Processor7] (AuthFactory.java) - AUTHCLASSNAME=edu.stanford.coursework.passwordauth.PasswordAuthImpl 27 Jul 2004 22:23:02,361 -- DEBUG [TP-Processor7] (AuthFactory.java) - AUTHCLASS=class edu.stanford.coursework.passwordauth.PasswordAuthImpl 27 Jul 2004 22:23:02,374 -- DEBUG [TP-Processor7] (UserLogin.java) - submitting username password 27 Jul 2004 22:23:02,554 -- DEBUG [TP-Processor7] (BaseServlet.java) - STARTING BASESERVLET doPost 27 Jul 2004 22:23:02,564 -- DEBUG [TP-Processor7] (BaseServlet.java) - contextPath = coursework 27 Jul 2004 22:23:02,570 -- DEBUG [TP-Processor7] (SessionController.java) - PersonID is 1 27 Jul 2004 22:23:02,579 -- DEBUG [TP-Processor7] (SessionController.java) - psession last modified at 2004-07-27 22:22:20.795 27 Jul 2004 22:23:02,583 -- DEBUG [TP-Processor7] (SessionController.java) - Will update psession at 2004-07-27 22:37:20.795 27 Jul 2004 22:23:02,589 -- DEBUG [TP-Processor7] (CoreDTLObject.java) - ***** dtl_login = /home/lhs/coursework_postgres.3.0.RC1/coursework_postgres/build/webapp/WEB-INF/dtlcam/login.dtl |
From: Ian B. <ie...@tf...> - 2004-05-25 19:14:28
|
Hi, You can safely remove all classes in = uk/ac/cam/coursework/authentication/raven since it is very unlikely that = you will be using Raven ( a University of Cambridge single signon = protocol). The installation is more complicated if you want to integrate with an = Authentication source via JAAS (eg LDAP). If you want to continue to use = the standalone system then it should be only very slightly more = complicated than the 2.1 and 2.5 release. If you edit the = src/edu/stanford/coursework/authentication/security.properties file so = that it looks like #auth.classname=3Duk.ac.cam.coursework.security.JaasAuthImpl auth.classname=3Dedu.stanford.coursework.passwordauth.PasswordAuthImpl #auth.classname=3Dedu.stanford.coursework.webauth.WebAuthImpl It should use the old database authentication system that was in place = in 2.1 and 2.5. I hope that helps Ian Boston ----- Original Message -----=20 From: Marisa Maximiano=20 To: cou...@li...=20 Sent: Tuesday, May 25, 2004 12:11 PM Subject: [Coursework-help] Instalation problem with new release Hi, I'm having some problems installing the version 3.0 of coursework on = postgres. When I execute the ant command, appear an error saying that the = package uk.ac.cam.caret.raven does not exist. I verify that this packages isn't in the src directory. Where can I = find it? There are any installation instructions for this new release? The = installation process seems to be different, and it's necessary configure = other files. Thanks, Marisa Maximiano |
From: Marisa M. <ma...@ip...> - 2004-05-25 11:13:38
|
Hi, I'm having some problems installing the version 3.0 of coursework on postgres. When I execute the ant command, appear an error saying that the package uk.ac.cam.caret.raven does not exist. I verify that this packages isn't in the src directory. Where can I find it? There are any installation instructions for this new release? The installation process seems to be different, and it's necessary configure other files. Thanks, Marisa Maximiano |
From: Marisa M. <ma...@ip...> - 2004-04-19 13:27:08
|
Hi, =20 I would like to know when you indented to release the new version of coursework to postgresql. I have installed in my university the version 2.5, but we need to do = some changes in the interface and in some authentication code. =20 The new version seams to resolve these problems. For know I=92m the responsible person for this project in the institution, so I would like = to know if you have any documentation useful for understanding the = architecture of the system. =20 Thanks, Marisa Maximiano =20 =20 Instituto Polit=E9cnico de Leiria http://www.ipleiria.pt =20 |
From: Ian B. <ie...@tf...> - 2004-01-14 20:54:52
|
oops forgot to include the list ----- Forwarded message from Ian Boston <ie...@tf...> ----- Date: Wed, 14 Jan 2004 20:52:29 +0000 From: Ian Boston <ie...@tf...> Reply-To: Ian Boston <ie...@tf...> Subject: Re: [Coursework-help] JDBC Pool timing out To: Sam Ottenhoff <ott...@lo...> This looks like objects are not being released or returned to the pool. There are a number of bugs in some of the Servlet implementations in Tomcat where events on request object reslease and session object release are not propogates under certain circumstances. If the pool relies on one of these events to auto release it is likely that it will "leak" to consume all objects, resulting in a "Timeout waiting for idle object" which would give a null connection. Have you tried monitoring the available connections in the pool ? If they go upwards than perhapse we are not releasing or the auto release mechanism is not working ( perhapse due to a unhandled exception pathway with no explicit release ) Ian Quoting Sam Ottenhoff <ott...@lo...>: > Has anyone run into problems with their JDBC pool dying? Our JDBC pool > has died a couple of times, and I am not able to track down the cause > through logs (nothing abnormal leading up to the pool death). Any ideas > on directions to prevent this from happening? Adding some code to > refresh the pool if it comes back null? Making sure the pool is closed > after use? > > Thanks, > Sam > > 13 Jan 2004 12:46:57,828 -- WARN [Thread-33] (BaseServlet.java) - > SQLExceptionjava.sql.SQLException: java.util.NoSuchElementException: > Timeout waiting for idle object > 13 Jan 2004 12:46:57,829 -- WARN [Thread-33] (CourseMaterials.java) - > DB Error: connection was null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Coursework-help mailing list > Cou...@li... > https://lists.sourceforge.net/lists/listinfo/coursework-help > . ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ----- End forwarded message ----- . ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Sam O. <ott...@lo...> - 2004-01-13 20:44:30
|
Has anyone run into problems with their JDBC pool dying? Our JDBC pool has died a couple of times, and I am not able to track down the cause through logs (nothing abnormal leading up to the pool death). Any ideas on directions to prevent this from happening? Adding some code to refresh the pool if it comes back null? Making sure the pool is closed after use? Thanks, Sam 13 Jan 2004 12:46:57,828 -- WARN [Thread-33] (BaseServlet.java) - SQLExceptionjava.sql.SQLException: java.util.NoSuchElementException: Timeout waiting for idle object 13 Jan 2004 12:46:57,829 -- WARN [Thread-33] (CourseMaterials.java) - DB Error: connection was null |
From: Ian B. <ie...@tf...> - 2003-11-20 21:57:38
|
Which version are you using ? I remember that there was a problem with the DTL (template) that did registration, where the password field had been left off the template. I think (hope) that this got into the RC2 release. If it didnt then we must open a bug and get it fixed. The SUID is the Stanford University ID, which is only used at Stanford and integrates with the centralised WebAuth system they use there. There is no need for SUID to be anything other than unique. You might want to have a look at WebAuth and the OKI AuthN implementation within Coursework that integrates to that mechanism. (Just a hint) Ian Quoting Marisa Maximiano <ma...@ip...>: > Hi > > > > I my University we are trying to install the coursework, to find if it can > be use in ours courses. But I'm having some problems with the registration > from user to the coursework: > > The problems are: > > 1) users can't register (self-registration) because doesn't appears the > field to the password, than appears a message saying that password must be > entered; > > 2) It is really necessary use a SUID with 8 digit? In hear the > identification of students is with e.g. ei00000 (only have 7 digits, they > refer the department and the student number) > > > > Can someone help me in this questions, I would be very appreciated, > > > > Thanks, > > Marisa Maximiano > > > > |
From: Ian B. <ie...@tf...> - 2003-10-27 17:57:53
|
Looks like we have an error in the SQL statement for moving a folder. I'll get someone to have a look at it here and see if we can reproduce the behaviour. Ian Leonardo Hernandez wrote: > > Hi, > > I've added some material to a course and created a folder, and when I > try to move one material to that folder, I'm prompted to select what > folder I want the material to be moved and then I get an "Error 500" > from tomcat server. Anyway, material es moved to the folder I select, > but I can't make this error dissappear. > It seems that for some reasons, the database connection resets. > Do you have any idea what can be causing this? > I copy some log at the end of this message. > > - Leonardo > > > ----------------------------------------------- > TOMCAT ERROR 500 LOG: > ----------------------------------------------- > java.lang.NullPointerException > at AdminCourseMaterials.doPost(AdminCourseMaterials.java:415) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) > > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) > > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) > > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) > > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) > > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > at > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562) > > at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) > > at java.lang.Thread.run(Thread.java:534) > ----------------------------------------------- > > > > > > > > ----------------------------------------------- > CATALINA.OUT: > ----------------------------------------------- > 27 Oct 2003 12:42:58,111 -- DEBUG [Thread-21] > (AdminCourseMaterials.java:153) - agree = yes > 27 Oct 2003 12:42:58,114 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - > ***** admin_coursematerials_move = > /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/move.dtl > > 27 Oct 2003 12:42:58,155 -- DEBUG [Thread-21] > (CourseMaterialController.java:176) - setting sort to 9 > 27 Oct 2003 12:43:02,043 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - > ***** admin_coursematerials_byfolder = > /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/byfolder.dtl > > 27 Oct 2003 12:43:02,087 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - > ***** admin_coursematerials_bydate = > /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bydate.dtl > > 27 Oct 2003 12:43:02,306 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15060 to date > folder > 27 Oct 2003 12:43:02,475 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15080 to date > folder > 27 Oct 2003 12:43:02,674 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15081 to date > folder > 27 Oct 2003 12:43:02,821 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15100 to date > folder > 27 Oct 2003 12:43:02,990 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15101 to date > folder > 27 Oct 2003 12:43:03,159 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15102 to date > folder > 27 Oct 2003 12:43:03,346 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15120 to date > folder > 27 Oct 2003 12:43:03,514 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15121 to date > folder > 27 Oct 2003 12:43:03,723 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15122 to date > folder > 27 Oct 2003 12:43:03,861 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15123 to date > folder > 27 Oct 2003 12:43:04,030 -- DEBUG [Thread-21] > (CourseMaterialController.java:745) - -- by date: adding 15124 to date > folder > 27 Oct 2003 12:43:04,034 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - > ***** admin_coursematerials_bytitle = > /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bytitle.dtl > > 27 Oct 2003 12:43:04,284 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15080 to folder A > 27 Oct 2003 12:43:04,461 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15081 to folder B > 27 Oct 2003 12:43:04,690 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15101 to folder C > 27 Oct 2003 12:43:04,798 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15100 to folder J > 27 Oct 2003 12:43:04,977 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15122 to folder P > 27 Oct 2003 12:43:05,155 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15123 to folder P > 27 Oct 2003 12:43:05,322 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15124 to folder P > 27 Oct 2003 12:43:05,502 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15060 to folder S > 27 Oct 2003 12:43:05,684 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15120 to folder T > 27 Oct 2003 12:43:05,839 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15121 to folder T > 27 Oct 2003 12:43:06,008 -- DEBUG [Thread-21] > (CourseMaterialController.java:621) - -- by title: adding 15102 to folder V > 27 Oct 2003 12:43:06,011 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - > ***** admin_coursematerials_bytype = > /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bytype.dtl > > 27 Oct 2003 12:43:06,228 -- DEBUG [Thread-21] > (CourseMaterialController.java:691) - -- by resourcetype: adding 15100 > to folder Reference > 27 Oct 2003 12:43:06,396 -- DEBUG [Thread-21] > (CourseMaterialController.java:691) - -- by resourcetype: adding 15101 > to folder Web Resource > 27 Oct 2003 12:43:06,565 -- DEBUG [Thread-21] > (CourseMaterialController.java:691) - -- by resourcetype: adding 15124 > to folder Other > 27 Oct 2003 12:43:06,752 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15123 > to folder Other > 27 Oct 2003 12:43:06,920 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15122 > to folder Other > 27 Oct 2003 12:43:07,090 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15120 > to folder Other > 27 Oct 2003 12:43:07,284 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15102 > to folder Other > 27 Oct 2003 12:43:07,454 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15081 > to folder Other > 27 Oct 2003 12:43:07,622 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15080 > to folder Other > 27 Oct 2003 12:43:07,800 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15060 > to folder Other > 27 Oct 2003 12:43:07,978 -- DEBUG [Thread-21] > (CourseMaterialController.java:679) - -- by resourcetype: adding 15121 > to folder Other > 27 Oct 2003 12:43:07,981 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - > ***** admin_coursematerials_bymimetype = > /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bymimetype.dtl > > 27 Oct 2003 12:43:08,231 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is application/msword > 27 Oct 2003 12:43:08,272 -- DEBUG [Thread-21] > (CourseMaterialController.java:810) - -- by mimetype: adding 15102to > folder Microsoft Word > 27 Oct 2003 12:43:08,450 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is > audio/x-pn-realaudio-plugin > 27 Oct 2003 12:43:08,492 -- DEBUG [Thread-21] > (CourseMaterialController.java:810) - -- by mimetype: adding 15124to > folder Real Player > 27 Oct 2003 12:43:08,732 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is > audio/x-pn-realaudio-plugin > 27 Oct 2003 12:43:08,736 -- DEBUG [Thread-21] > (CourseMaterialController.java:796) - -- by mimetype: adding 15123to > folder Real Player > 27 Oct 2003 12:43:08,831 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is > audio/x-pn-realaudio-plugin > 27 Oct 2003 12:43:08,835 -- DEBUG [Thread-21] > (CourseMaterialController.java:796) - -- by mimetype: adding 15122to > folder Real Player > 27 Oct 2003 12:43:09,017 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is image/gif > 27 Oct 2003 12:43:09,059 -- DEBUG [Thread-21] > (CourseMaterialController.java:810) - -- by mimetype: adding 15081to > folder GIF Image > 27 Oct 2003 12:43:09,220 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is image/gif > 27 Oct 2003 12:43:09,224 -- DEBUG [Thread-21] > (CourseMaterialController.java:796) - -- by mimetype: adding 15080to > folder GIF Image > 27 Oct 2003 12:43:09,389 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is text/html > 27 Oct 2003 12:43:09,432 -- DEBUG [Thread-21] > (CourseMaterialController.java:810) - -- by mimetype: adding 15101to > folder HTML Document > 27 Oct 2003 12:43:09,617 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is text/html > 27 Oct 2003 12:43:09,621 -- DEBUG [Thread-21] > (CourseMaterialController.java:796) - -- by mimetype: adding 15060to > folder HTML Document > 27 Oct 2003 12:43:09,786 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is text/plain > 27 Oct 2003 12:43:09,827 -- DEBUG [Thread-21] > (CourseMaterialController.java:810) - -- by mimetype: adding 15120to > folder Text Document > 27 Oct 2003 12:43:09,998 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is text/plain > 27 Oct 2003 12:43:10,001 -- DEBUG [Thread-21] > (CourseMaterialController.java:796) - -- by mimetype: adding 15100to > folder Text Document > 27 Oct 2003 12:43:10,183 -- DEBUG [Thread-21] > (CourseMaterialController.java:794) - mimetype is text/plain > 27 Oct 2003 12:43:10,186 -- DEBUG [Thread-21] > (CourseMaterialController.java:796) - -- by mimetype: adding 15121to > folder Text Document > 27 Oct 2003 12:43:10,190 -- DEBUG [Thread-21] > (CourseMaterialController.java:921) - adding folder for byfolder to DTL > 27 Oct 2003 12:43:10,193 -- DEBUG [Thread-21] (Folder.java:386) - > getting subfolders for 5040 > 27 Oct 2003 12:43:10,354 -- DEBUG [Thread-21] (Folder.java:367) - > getting coursematerials for 5040 > 27 Oct 2003 12:43:11,992 -- DEBUG [Thread-21] (Folder.java:386) - > getting subfolders for 5061 > 27 Oct 2003 12:43:12,069 -- DEBUG [Thread-21] (Folder.java:367) - > getting coursematerials for 5061 > 27 Oct 2003 12:43:12,323 -- DEBUG [Thread-21] (Folder.java:386) - > getting subfolders for 5061 > 27 Oct 2003 12:43:12,416 -- DEBUG [Thread-21] (Folder.java:386) - > getting subfolders for 5062 > 27 Oct 2003 12:43:12,500 -- DEBUG [Thread-21] (Folder.java:367) - > getting coursematerials for 5062 > 27 Oct 2003 12:43:12,755 -- DEBUG [Thread-21] (Folder.java:386) - > getting subfolders for 5062 > 27 Oct 2003 12:43:12,912 -- DEBUG [Thread-21] > (CourseMaterialController.java:921) - adding folder for bydate to DTL > 27 Oct 2003 12:43:12,941 -- DEBUG [Thread-21] > (CourseMaterialController.java:921) - adding folder for bytitle to DTL > 27 Oct 2003 12:43:12,976 -- DEBUG [Thread-21] > (CourseMaterialController.java:921) - adding folder for bytype to DTL > 27 Oct 2003 12:43:13,031 -- DEBUG [Thread-21] > (CourseMaterialController.java:921) - adding folder for bymimetype to DTL > 27 Oct 2003 12:43:13,062 -- DEBUG [Thread-21] > (AdminCourseMaterials.java:413) - saving material 15101 into folder 5040 > 27 Oct 2003 12:43:13,065 -- WARN [Thread-21] > (FolderController.java:614) - SQLException:Connection is closed. > Oct 27, 2003 12:43:13 PM org.apache.jk.server.JkCoyoteHandler action > INFO: RESET > ----------------------------------------------- > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Coursework-help mailing list > Cou...@li... > https://lists.sourceforge.net/lists/listinfo/coursework-help > |
From: Leonardo H. <her...@or...> - 2003-10-27 16:42:13
|
Hi, I've added some material to a course and created a folder, and when I try to move one material to that folder, I'm prompted to select what folder I want the material to be moved and then I get an "Error 500" from tomcat server. Anyway, material es moved to the folder I select, but I can't make this error dissappear. It seems that for some reasons, the database connection resets. Do you have any idea what can be causing this? I copy some log at the end of this message. - Leonardo ----------------------------------------------- TOMCAT ERROR 500 LOG: ----------------------------------------------- java.lang.NullPointerException at AdminCourseMaterials.doPost(AdminCourseMaterials.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) ----------------------------------------------- ----------------------------------------------- CATALINA.OUT: ----------------------------------------------- 27 Oct 2003 12:42:58,111 -- DEBUG [Thread-21] (AdminCourseMaterials.java:153) - agree = yes 27 Oct 2003 12:42:58,114 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - ***** admin_coursematerials_move = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/move.dtl 27 Oct 2003 12:42:58,155 -- DEBUG [Thread-21] (CourseMaterialController.java:176) - setting sort to 9 27 Oct 2003 12:43:02,043 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - ***** admin_coursematerials_byfolder = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/byfolder.dtl 27 Oct 2003 12:43:02,087 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - ***** admin_coursematerials_bydate = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bydate.dtl 27 Oct 2003 12:43:02,306 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15060 to date folder 27 Oct 2003 12:43:02,475 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15080 to date folder 27 Oct 2003 12:43:02,674 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15081 to date folder 27 Oct 2003 12:43:02,821 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15100 to date folder 27 Oct 2003 12:43:02,990 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15101 to date folder 27 Oct 2003 12:43:03,159 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15102 to date folder 27 Oct 2003 12:43:03,346 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15120 to date folder 27 Oct 2003 12:43:03,514 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15121 to date folder 27 Oct 2003 12:43:03,723 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15122 to date folder 27 Oct 2003 12:43:03,861 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15123 to date folder 27 Oct 2003 12:43:04,030 -- DEBUG [Thread-21] (CourseMaterialController.java:745) - -- by date: adding 15124 to date folder 27 Oct 2003 12:43:04,034 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - ***** admin_coursematerials_bytitle = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bytitle.dtl 27 Oct 2003 12:43:04,284 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15080 to folder A 27 Oct 2003 12:43:04,461 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15081 to folder B 27 Oct 2003 12:43:04,690 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15101 to folder C 27 Oct 2003 12:43:04,798 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15100 to folder J 27 Oct 2003 12:43:04,977 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15122 to folder P 27 Oct 2003 12:43:05,155 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15123 to folder P 27 Oct 2003 12:43:05,322 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15124 to folder P 27 Oct 2003 12:43:05,502 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15060 to folder S 27 Oct 2003 12:43:05,684 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15120 to folder T 27 Oct 2003 12:43:05,839 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15121 to folder T 27 Oct 2003 12:43:06,008 -- DEBUG [Thread-21] (CourseMaterialController.java:621) - -- by title: adding 15102 to folder V 27 Oct 2003 12:43:06,011 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - ***** admin_coursematerials_bytype = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bytype.dtl 27 Oct 2003 12:43:06,228 -- DEBUG [Thread-21] (CourseMaterialController.java:691) - -- by resourcetype: adding 15100 to folder Reference 27 Oct 2003 12:43:06,396 -- DEBUG [Thread-21] (CourseMaterialController.java:691) - -- by resourcetype: adding 15101 to folder Web Resource 27 Oct 2003 12:43:06,565 -- DEBUG [Thread-21] (CourseMaterialController.java:691) - -- by resourcetype: adding 15124 to folder Other 27 Oct 2003 12:43:06,752 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15123 to folder Other 27 Oct 2003 12:43:06,920 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15122 to folder Other 27 Oct 2003 12:43:07,090 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15120 to folder Other 27 Oct 2003 12:43:07,284 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15102 to folder Other 27 Oct 2003 12:43:07,454 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15081 to folder Other 27 Oct 2003 12:43:07,622 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15080 to folder Other 27 Oct 2003 12:43:07,800 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15060 to folder Other 27 Oct 2003 12:43:07,978 -- DEBUG [Thread-21] (CourseMaterialController.java:679) - -- by resourcetype: adding 15121 to folder Other 27 Oct 2003 12:43:07,981 -- DEBUG [Thread-21] (CoreDTLObject.java:236) - ***** admin_coursematerials_bymimetype = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/coursematerials/admin/bymimetype.dtl 27 Oct 2003 12:43:08,231 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is application/msword 27 Oct 2003 12:43:08,272 -- DEBUG [Thread-21] (CourseMaterialController.java:810) - -- by mimetype: adding 15102to folder Microsoft Word 27 Oct 2003 12:43:08,450 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is audio/x-pn-realaudio-plugin 27 Oct 2003 12:43:08,492 -- DEBUG [Thread-21] (CourseMaterialController.java:810) - -- by mimetype: adding 15124to folder Real Player 27 Oct 2003 12:43:08,732 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is audio/x-pn-realaudio-plugin 27 Oct 2003 12:43:08,736 -- DEBUG [Thread-21] (CourseMaterialController.java:796) - -- by mimetype: adding 15123to folder Real Player 27 Oct 2003 12:43:08,831 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is audio/x-pn-realaudio-plugin 27 Oct 2003 12:43:08,835 -- DEBUG [Thread-21] (CourseMaterialController.java:796) - -- by mimetype: adding 15122to folder Real Player 27 Oct 2003 12:43:09,017 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is image/gif 27 Oct 2003 12:43:09,059 -- DEBUG [Thread-21] (CourseMaterialController.java:810) - -- by mimetype: adding 15081to folder GIF Image 27 Oct 2003 12:43:09,220 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is image/gif 27 Oct 2003 12:43:09,224 -- DEBUG [Thread-21] (CourseMaterialController.java:796) - -- by mimetype: adding 15080to folder GIF Image 27 Oct 2003 12:43:09,389 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is text/html 27 Oct 2003 12:43:09,432 -- DEBUG [Thread-21] (CourseMaterialController.java:810) - -- by mimetype: adding 15101to folder HTML Document 27 Oct 2003 12:43:09,617 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is text/html 27 Oct 2003 12:43:09,621 -- DEBUG [Thread-21] (CourseMaterialController.java:796) - -- by mimetype: adding 15060to folder HTML Document 27 Oct 2003 12:43:09,786 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is text/plain 27 Oct 2003 12:43:09,827 -- DEBUG [Thread-21] (CourseMaterialController.java:810) - -- by mimetype: adding 15120to folder Text Document 27 Oct 2003 12:43:09,998 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is text/plain 27 Oct 2003 12:43:10,001 -- DEBUG [Thread-21] (CourseMaterialController.java:796) - -- by mimetype: adding 15100to folder Text Document 27 Oct 2003 12:43:10,183 -- DEBUG [Thread-21] (CourseMaterialController.java:794) - mimetype is text/plain 27 Oct 2003 12:43:10,186 -- DEBUG [Thread-21] (CourseMaterialController.java:796) - -- by mimetype: adding 15121to folder Text Document 27 Oct 2003 12:43:10,190 -- DEBUG [Thread-21] (CourseMaterialController.java:921) - adding folder for byfolder to DTL 27 Oct 2003 12:43:10,193 -- DEBUG [Thread-21] (Folder.java:386) - getting subfolders for 5040 27 Oct 2003 12:43:10,354 -- DEBUG [Thread-21] (Folder.java:367) - getting coursematerials for 5040 27 Oct 2003 12:43:11,992 -- DEBUG [Thread-21] (Folder.java:386) - getting subfolders for 5061 27 Oct 2003 12:43:12,069 -- DEBUG [Thread-21] (Folder.java:367) - getting coursematerials for 5061 27 Oct 2003 12:43:12,323 -- DEBUG [Thread-21] (Folder.java:386) - getting subfolders for 5061 27 Oct 2003 12:43:12,416 -- DEBUG [Thread-21] (Folder.java:386) - getting subfolders for 5062 27 Oct 2003 12:43:12,500 -- DEBUG [Thread-21] (Folder.java:367) - getting coursematerials for 5062 27 Oct 2003 12:43:12,755 -- DEBUG [Thread-21] (Folder.java:386) - getting subfolders for 5062 27 Oct 2003 12:43:12,912 -- DEBUG [Thread-21] (CourseMaterialController.java:921) - adding folder for bydate to DTL 27 Oct 2003 12:43:12,941 -- DEBUG [Thread-21] (CourseMaterialController.java:921) - adding folder for bytitle to DTL 27 Oct 2003 12:43:12,976 -- DEBUG [Thread-21] (CourseMaterialController.java:921) - adding folder for bytype to DTL 27 Oct 2003 12:43:13,031 -- DEBUG [Thread-21] (CourseMaterialController.java:921) - adding folder for bymimetype to DTL 27 Oct 2003 12:43:13,062 -- DEBUG [Thread-21] (AdminCourseMaterials.java:413) - saving material 15101 into folder 5040 27 Oct 2003 12:43:13,065 -- WARN [Thread-21] (FolderController.java:614) - SQLException:Connection is closed. Oct 27, 2003 12:43:13 PM org.apache.jk.server.JkCoyoteHandler action INFO: RESET ----------------------------------------------- |
From: Ian B. <ie...@tf...> - 2003-10-24 06:58:04
|
Its quite possible that this is the right thing to do, since the orriginal 2.5 code from stanford would have integrated to their SUID system and not the password mechanism in the Postgres version. I'll get one of the developers to check the imact of this and get it into the CVS version. Ian Leonardo Hernandez wrote: > I'm running v2.5; I'm self registering and not logged in as any other > user (I even restarted tomcat to ensure this) and still don't get the > password field. > > Having a look at UserRegistration.dtl... > [[IF EQUAL $ACTION "changeprofile"]] > <TR><TD BGCOLOR="[[$BGLIGHT]]" VALIGN="TOP"><FONT FACE="arial,helvetica" > SIZE=-1 COLOR="[[$TEXTDARK]]"><B>Contrasena</B></FONT></TD> > <TD><INPUT TYPE=PASSWORD NAME=password VALUE="[[$PERSON.FIRSTNAME > FORMSAFE]]" SIZE=50></FONT></TD></TR> > <TR><TD BGCOLOR="[[$BGLIGHT]]" VALIGN="TOP"><FONT FACE="arial,helvetica" > SIZE=-1 COLOR="[[$TEXTDARK]]"><B>Confirmar Contrasena</B></FONT></TD> > <TD><INPUT TYPE=PASSWORD NAME=confirmpassword VALUE="[[$PERSON.FIRSTNAME > FORMSAFE]]" SIZE=50></FONT></TD></TR> > [[/IF]] > > If I comment the first and the last lines above, then I see the password > field in the user registration form, but I'm not sure about what > functionality could be affected by this change. > > > - Leonardo > > > Ian Boston wrote: > >> If you are self registering , ( and not currently logged in as another >> user ) you should get the password field. But if you are adding a new >> users to a course, then the password will be generated and emailed to >> the user. At which point the user confirms their registration and >> (hopefully) changes their password. >> >> Does that make sense. If you are not logged in and still not seeing >> the password field there is a problem with the UserRegistration dtl. >> (I guess) >> >> I just checked a couple of our 2.1 systems and they appear to behave >> as above. >> >> Ian >> >> Leonardo Hernandez wrote: >> >>> Hi, >>> >>> Something's happening when trying to register a new user. I access >>> /servlet/UserRegistration but I don't see the 'password' field in the >>> page. Password is a required field, so, I cannot register new users. >>> >>> I'm looking at the source to understand how this work, but haven't >>> found any tips yet. >>> >>> - Leonardo >>> >>> >>> >>> >> >> > > > |
From: Leonardo H. <her...@or...> - 2003-10-23 16:56:32
|
I'm running v2.5; I'm self registering and not logged in as any other user (I even restarted tomcat to ensure this) and still don't get the password field. Having a look at UserRegistration.dtl... [[IF EQUAL $ACTION "changeprofile"]] <TR><TD BGCOLOR="[[$BGLIGHT]]" VALIGN="TOP"><FONT FACE="arial,helvetica" SIZE=-1 COLOR="[[$TEXTDARK]]"><B>Contrasena</B></FONT></TD> <TD><INPUT TYPE=PASSWORD NAME=password VALUE="[[$PERSON.FIRSTNAME FORMSAFE]]" SIZE=50></FONT></TD></TR> <TR><TD BGCOLOR="[[$BGLIGHT]]" VALIGN="TOP"><FONT FACE="arial,helvetica" SIZE=-1 COLOR="[[$TEXTDARK]]"><B>Confirmar Contrasena</B></FONT></TD> <TD><INPUT TYPE=PASSWORD NAME=confirmpassword VALUE="[[$PERSON.FIRSTNAME FORMSAFE]]" SIZE=50></FONT></TD></TR> [[/IF]] If I comment the first and the last lines above, then I see the password field in the user registration form, but I'm not sure about what functionality could be affected by this change. - Leonardo Ian Boston wrote: > If you are self registering , ( and not currently logged in as another > user ) you should get the password field. But if you are adding a new > users to a course, then the password will be generated and emailed to > the user. At which point the user confirms their registration and > (hopefully) changes their password. > > Does that make sense. If you are not logged in and still not seeing the > password field there is a problem with the UserRegistration dtl. (I guess) > > I just checked a couple of our 2.1 systems and they appear to behave as > above. > > Ian > > Leonardo Hernandez wrote: > >> Hi, >> >> Something's happening when trying to register a new user. I access >> /servlet/UserRegistration but I don't see the 'password' field in the >> page. Password is a required field, so, I cannot register new users. >> >> I'm looking at the source to understand how this work, but haven't >> found any tips yet. >> >> - Leonardo >> >> >> >> > > |
From: Leonardo H. <her...@or...> - 2003-10-23 16:48:03
|
Hi, Something's happening when trying to register a new user. I access /servlet/UserRegistration but I don't see the 'password' field in the page. Password is a required field, so, I cannot register new users. I'm looking at the source to understand how this work, but haven't found any tips yet. - Leonardo |
From: Ian B. <ie...@tf...> - 2003-10-23 14:13:27
|
If you are self registering , ( and not currently logged in as another user ) you should get the password field. But if you are adding a new users to a course, then the password will be generated and emailed to the user. At which point the user confirms their registration and (hopefully) changes their password. Does that make sense. If you are not logged in and still not seeing the password field there is a problem with the UserRegistration dtl. (I guess) I just checked a couple of our 2.1 systems and they appear to behave as above. Ian Leonardo Hernandez wrote: > Hi, > > Something's happening when trying to register a new user. I access > /servlet/UserRegistration but I don't see the 'password' field in the > page. Password is a required field, so, I cannot register new users. > > I'm looking at the source to understand how this work, but haven't found > any tips yet. > > - Leonardo > > > > |
From: Leonardo H. <her...@or...> - 2003-10-23 08:58:48
|
Hi, I've tryed both suggestions but I'm stil getting "connection was null" error... Here's part of my log... 22 Oct 2003 10:29:23,992 -- DEBUG [main] (CoreDTLObject.java) - DTLPATH: /usr/local/tomcat/webapps/coursework/WEB-INF/dtl 22 Oct 2003 10:29:24,017 -- DEBUG [main] (CoreDTLObject.java) - SITEPATH: /home/opensource/data/coursework-v2.5/site 22 Oct 2003 10:29:24,130 -- DEBUG [main] (CoreDTLObject.java) - COURSESPATH: /home/opensource/data/coursework-v2.5/courses 22 Oct 2003 10:29:24,321 -- DEBUG [main] (CoreDTLObject.java) - GLOBALINCLUDE: /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/globalinclude.dtl 22 Oct 2003 10:29:24,569 -- DEBUG [main] (DbConnectionManager.java) - Registering JDBC Driver org.postgresql.Driver 22 Oct 2003 10:29:24,776 -- DEBUG [main] (DbConnectionManager.java) - Creating connectionPool 22 Oct 2003 10:29:24,788 -- DEBUG [main] (DbConnectionManager.java) - done..... more to come 22 Oct 2003 10:29:24,984 -- DEBUG [main] (DbConnectionManager.java) - Creating connectionFactory 22 Oct 2003 10:29:24,990 -- DEBUG [main] (DbConnectionManager.java) - Creating PoolableConnectionFactory 22 Oct 2003 10:29:25,190 -- DEBUG [main] (DbConnectionManager.java) - Creating PoolingDataSource 22 Oct 2003 10:29:25,195 -- DEBUG [main] (DbConnectionManager.java) - All Done 22 Oct 2003 10:29:25,405 -- DEBUG [main] (DbConnectionManager.java) - Pool finished Creation 22 Oct 2003 10:29:49,350 -- DEBUG [Thread-9] (CoreDTLObject.java) - ***** student_error = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/error.dtl 22 Oct 2003 10:29:49,356 -- DEBUG [Thread-9] (CoreDTLObject.java) - ***** dtl_userlogin = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/userlogin.dtl 22 Oct 2003 10:29:49,948 -- DEBUG [Thread-9] (AuthFactory.java) - AUTHCLASSNAME=edu.stanford.coursework.passwordauth.PasswordAuthImpl 22 Oct 2003 10:29:49,968 -- DEBUG [Thread-9] (AuthFactory.java) - AUTHCLASS=class edu.stanford.coursework.passwordauth.PasswordAuthImpl 22 Oct 2003 10:29:55,442 -- DEBUG [Thread-8] (CoreDTLObject.java) - ***** student_error = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/error.dtl 22 Oct 2003 10:29:55,450 -- DEBUG [Thread-8] (CoreDTLObject.java) - ***** dtl_userreg = /usr/local/tomcat/webapps/coursework/WEB-INF/dtl/userreg.dtl 22 Oct 2003 10:29:55,527 -- WARN [Thread-8] (UserRegistration.java) - DB Error: connection was null Thanks for the help... -Leonardo Ian Boston wrote: > connection was null is definitely caused by the connection being unable > to open. Usually cause by one of 2 things. > > 1. It couldn't find the JDBC driver, you should get a full trace back > with a ClassNotFound Exception in catalina.out if this is the case. > Normally fixed by putting the PostgresQL driver jar in > $tomcat_home/common/lib and restarting the coursework webapp. > > 2. Postgres JDBC considers a login that does not require a password to > be different from one that requires a password but where the password is > blank. The oracle.properties file, below, specifies a required, blank > password. Try a real password. > > If either of these work, could you confirm which to the list for future > users. > > Thanks (and thanks for trying Coursework) > Ian > > Leonardo Hernandez wrote: > >> Hello, >> >> I'm getting an error when trying to connect to database. For example, >> when I try to access "User Registration" or "User Login" I get this >> error: >> >> -- WARN [Thread 9] (UserRegistration.java) - DB Error: connection was >> null >> >> I can't find any other log to help me solve this problem. Any ideas? >> Here is my oracle.properties: >> >> --------------------------------- >> dbDriver=org.postgresql.Driver >> minConns=5 >> maxConns=25 >> maxConnTime=1.0 >> >> >> # mode can be FAILOVER or ORACLE_CONNECTION_POOL(default) >> #mode=FAILOVER >> dbDriver=org.postgresql.Driver >> dbServer=jdbc\:postgresql\://archie/cw >> dbLogin=hernandez >> dbPassword= >> >> >> # add the following properties for DUAL (FAILOVER) mode >> dbServer_failover=jdbc\:postgresql\://archie/cw >> dbLogin_failover=hernandez >> dbPassword_failover= >> ---------------------------------- >> >> I access a remote database without password, maybe this is the problem. >> >> Any Ideas? >> >> -Leonardo >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by OSDN developer relations >> Here's your chance to show off your extensive product knowledge >> We want to know what you know. Tell us and you have a chance to win $100 >> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 >> _______________________________________________ >> Coursework-help mailing list >> Cou...@li... >> https://lists.sourceforge.net/lists/listinfo/coursework-help >> > > |
From: Ian B. <ie...@tf...> - 2003-10-22 20:42:49
|
The only reason I can think of why a name change should make any difference in the common/lib directory is the load order. The fact that it worked before you copied the jar into common/lib implies that there might be a jar in comon/lib already containing the driver class, it might be worth a check to see if there are any other jars containing the postgres driver in the common/lib or other directories. find . -name '*.jar' -exec jar tvf {} \; | grep "org.postgresql.Driver" might find it on a unix box. Ian Leonardo Hernandez wrote: > Good... here's the solution I found: > > 1) I copy postgresql driver to $tomcat_home/common/lib and restarted > coursework webapp, but, in my case, driver was in a file named > pgsql73.jar, I renamed it to postgresql.jar and then restarted webapp. > > Some notes: > In my case, I don't require a password to access the remote database. > Even though, I try setting a password in oracle.properties, any > password. Coursework Run. > Then I erased password and Coursework still run. > > So, in conclusion, I think the problem was the driver, not only the > driver but also the name of .jar file. > > Thanks a lot, I'm evaluating coursework from this moment on, and maybe > we will be using it at my university. > > -Leonardo > > > > > > > > Ian Boston wrote: > >> connection was null is definitely caused by the connection being >> unable to open. Usually cause by one of 2 things. >> >> 1. It couldn't find the JDBC driver, you should get a full trace back >> with a ClassNotFound Exception in catalina.out if this is the case. >> Normally fixed by putting the PostgresQL driver jar in >> $tomcat_home/common/lib and restarting the coursework webapp. >> >> 2. Postgres JDBC considers a login that does not require a password to >> be different from one that requires a password but where the password >> is blank. The oracle.properties file, below, specifies a required, >> blank password. Try a real password. >> >> If either of these work, could you confirm which to the list for >> future users. >> >> Thanks (and thanks for trying Coursework) >> Ian >> >> Leonardo Hernandez wrote: >> >>> Hello, >>> >>> I'm getting an error when trying to connect to database. For example, >>> when I try to access "User Registration" or "User Login" I get this >>> error: >>> >>> -- WARN [Thread 9] (UserRegistration.java) - DB Error: connection was >>> null >>> >>> I can't find any other log to help me solve this problem. Any ideas? >>> Here is my oracle.properties: >>> >>> --------------------------------- >>> dbDriver=org.postgresql.Driver >>> minConns=5 >>> maxConns=25 >>> maxConnTime=1.0 >>> >>> >>> # mode can be FAILOVER or ORACLE_CONNECTION_POOL(default) >>> #mode=FAILOVER >>> dbDriver=org.postgresql.Driver >>> dbServer=jdbc\:postgresql\://archie/cw >>> dbLogin=hernandez >>> dbPassword= >>> >>> >>> # add the following properties for DUAL (FAILOVER) mode >>> dbServer_failover=jdbc\:postgresql\://archie/cw >>> dbLogin_failover=hernandez >>> dbPassword_failover= >>> ---------------------------------- >>> >>> I access a remote database without password, maybe this is the problem. >>> >>> Any Ideas? >>> >>> -Leonardo >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by OSDN developer relations >>> Here's your chance to show off your extensive product knowledge >>> We want to know what you know. Tell us and you have a chance to win $100 >>> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 >>> _______________________________________________ >>> Coursework-help mailing list >>> Cou...@li... >>> https://lists.sourceforge.net/lists/listinfo/coursework-help >>> >> >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Coursework-help mailing list > Cou...@li... > https://lists.sourceforge.net/lists/listinfo/coursework-help > |
From: Leonardo H. <her...@or...> - 2003-10-22 17:43:29
|
Good... here's the solution I found: 1) I copy postgresql driver to $tomcat_home/common/lib and restarted coursework webapp, but, in my case, driver was in a file named pgsql73.jar, I renamed it to postgresql.jar and then restarted webapp. Some notes: In my case, I don't require a password to access the remote database. Even though, I try setting a password in oracle.properties, any password. Coursework Run. Then I erased password and Coursework still run. So, in conclusion, I think the problem was the driver, not only the driver but also the name of .jar file. Thanks a lot, I'm evaluating coursework from this moment on, and maybe we will be using it at my university. -Leonardo Ian Boston wrote: > connection was null is definitely caused by the connection being unable > to open. Usually cause by one of 2 things. > > 1. It couldn't find the JDBC driver, you should get a full trace back > with a ClassNotFound Exception in catalina.out if this is the case. > Normally fixed by putting the PostgresQL driver jar in > $tomcat_home/common/lib and restarting the coursework webapp. > > 2. Postgres JDBC considers a login that does not require a password to > be different from one that requires a password but where the password is > blank. The oracle.properties file, below, specifies a required, blank > password. Try a real password. > > If either of these work, could you confirm which to the list for future > users. > > Thanks (and thanks for trying Coursework) > Ian > > Leonardo Hernandez wrote: > >> Hello, >> >> I'm getting an error when trying to connect to database. For example, >> when I try to access "User Registration" or "User Login" I get this >> error: >> >> -- WARN [Thread 9] (UserRegistration.java) - DB Error: connection was >> null >> >> I can't find any other log to help me solve this problem. Any ideas? >> Here is my oracle.properties: >> >> --------------------------------- >> dbDriver=org.postgresql.Driver >> minConns=5 >> maxConns=25 >> maxConnTime=1.0 >> >> >> # mode can be FAILOVER or ORACLE_CONNECTION_POOL(default) >> #mode=FAILOVER >> dbDriver=org.postgresql.Driver >> dbServer=jdbc\:postgresql\://archie/cw >> dbLogin=hernandez >> dbPassword= >> >> >> # add the following properties for DUAL (FAILOVER) mode >> dbServer_failover=jdbc\:postgresql\://archie/cw >> dbLogin_failover=hernandez >> dbPassword_failover= >> ---------------------------------- >> >> I access a remote database without password, maybe this is the problem. >> >> Any Ideas? >> >> -Leonardo >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by OSDN developer relations >> Here's your chance to show off your extensive product knowledge >> We want to know what you know. Tell us and you have a chance to win $100 >> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 >> _______________________________________________ >> Coursework-help mailing list >> Cou...@li... >> https://lists.sourceforge.net/lists/listinfo/coursework-help >> > > |
From: Ian B. <ie...@tf...> - 2003-10-21 23:07:39
|
connection was null is definitely caused by the connection being unable to open. Usually cause by one of 2 things. 1. It couldn't find the JDBC driver, you should get a full trace back with a ClassNotFound Exception in catalina.out if this is the case. Normally fixed by putting the PostgresQL driver jar in $tomcat_home/common/lib and restarting the coursework webapp. 2. Postgres JDBC considers a login that does not require a password to be different from one that requires a password but where the password is blank. The oracle.properties file, below, specifies a required, blank password. Try a real password. If either of these work, could you confirm which to the list for future users. Thanks (and thanks for trying Coursework) Ian Leonardo Hernandez wrote: > Hello, > > I'm getting an error when trying to connect to database. For example, > when I try to access "User Registration" or "User Login" I get this error: > > -- WARN [Thread 9] (UserRegistration.java) - DB Error: connection was null > > I can't find any other log to help me solve this problem. Any ideas? > Here is my oracle.properties: > > --------------------------------- > dbDriver=org.postgresql.Driver > minConns=5 > maxConns=25 > maxConnTime=1.0 > > > # mode can be FAILOVER or ORACLE_CONNECTION_POOL(default) > #mode=FAILOVER > dbDriver=org.postgresql.Driver > dbServer=jdbc\:postgresql\://archie/cw > dbLogin=hernandez > dbPassword= > > > # add the following properties for DUAL (FAILOVER) mode > dbServer_failover=jdbc\:postgresql\://archie/cw > dbLogin_failover=hernandez > dbPassword_failover= > ---------------------------------- > > I access a remote database without password, maybe this is the problem. > > Any Ideas? > > -Leonardo > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Coursework-help mailing list > Cou...@li... > https://lists.sourceforge.net/lists/listinfo/coursework-help > |
From: Sam O. <sa...@lo...> - 2003-10-21 16:44:28
|
Are you able to access the remote database through psql? I turned full logging on in Postgres to better debug Coursework. This shows me all queries, query errors, etc. I uncommented these 3 lines in Postgres: ------------------------ log_statement = true log_duration = true log_timestamp = true ------------------------ The only other line I uncommented in postgresql.conf was: tcpip_socket = true Sam Leonardo Hernandez wrote: > Hello, > > I'm getting an error when trying to connect to database. For example, > when I try to access "User Registration" or "User Login" I get this > error: > > -- WARN [Thread 9] (UserRegistration.java) - DB Error: connection was > null > > I can't find any other log to help me solve this problem. Any ideas? > Here is my oracle.properties: > > --------------------------------- > dbDriver=org.postgresql.Driver > minConns=5 > maxConns=25 > maxConnTime=1.0 > > > # mode can be FAILOVER or ORACLE_CONNECTION_POOL(default) > #mode=FAILOVER > dbDriver=org.postgresql.Driver > dbServer=jdbc\:postgresql\://archie/cw > dbLogin=hernandez > dbPassword= > > > # add the following properties for DUAL (FAILOVER) mode > dbServer_failover=jdbc\:postgresql\://archie/cw > dbLogin_failover=hernandez > dbPassword_failover= > ---------------------------------- > > I access a remote database without password, maybe this is the problem. > > Any Ideas? > > -Leonardo > |
From: Leonardo H. <her...@or...> - 2003-10-21 15:34:04
|
Hello, I'm getting an error when trying to connect to database. For example, when I try to access "User Registration" or "User Login" I get this error: -- WARN [Thread 9] (UserRegistration.java) - DB Error: connection was null I can't find any other log to help me solve this problem. Any ideas? Here is my oracle.properties: --------------------------------- dbDriver=org.postgresql.Driver minConns=5 maxConns=25 maxConnTime=1.0 # mode can be FAILOVER or ORACLE_CONNECTION_POOL(default) #mode=FAILOVER dbDriver=org.postgresql.Driver dbServer=jdbc\:postgresql\://archie/cw dbLogin=hernandez dbPassword= # add the following properties for DUAL (FAILOVER) mode dbServer_failover=jdbc\:postgresql\://archie/cw dbLogin_failover=hernandez dbPassword_failover= ---------------------------------- I access a remote database without password, maybe this is the problem. Any Ideas? -Leonardo |
From: Ian B. <ie...@tf...> - 2003-10-20 20:10:46
|
Ray, This could be a complete red herring. But when we first used the 2.5 system it had the capability to manage fail over on the Oracle connections. ie 2 backends. When the first connection fails it switches to the backup. Once or twice our developers left the connections in oracle.properties to the Stanford Oracle server. The result was that all of a sudden we would loose all sessions, and the course content and logins would change as if by magic. It even appeared to switch JDBC drivers mid flow. We changed passwords and urls on the connections in the Postgres version to ensure that it didn't happen. However, I dont know quite what would happen, if a connection was switched to failover and the failover connection failed. It could account for the behaviour you are seeing. ( The "unable to relogin until server is restarted" looks like a symptom of this. ) Have a look in oracle.properties and if there are any references to other servers. Its probably also worth removing any references to Stanford servers in the other config files. We will check the code in CVS to fix this. HTH Ian BTW, I've cc'd in the help list for the Postgres version. Daisy, sorry, this problem may have been caused by the port. Ray Davis wrote: > We've installed the 2.5 / PostgreSQL kit from Sourceforge for > evaluation. I'm stymied by two big problems: > > 1) As an administrator, I can create assignments and they preview > correctly. When I switch to the student view, or when I log in as a > student, and click on the assignment link, e.g.: > > > /coursework/servlet/Assignments?action=assignment&course=5360&assignment=5001&key=1838421524 > > > I get a popup window warning me about the 60 minute time limit, but the > main browser window is blank. A "View Source" shows only an empty HTML > document. I don't find any error messages in the log files. I've put > some more debug-level logging into > "coursework_postgres/src/Announcements.java" myself, but so far nothing > odd seems to be happening. > > 2) When the software tries to connect to an unavailable service, all > users lose their sessions and are unable to log in again until the > servers are restarted. (This is my tentative understanding of what's > happening, anyway.) > > We were first able to reproduce this by selecting the "Admin Print > Reserve" link: > > /coursework/servlet/AdminPrintReserve?action=process > > Not surprisingly, since it still pointed to Stanford's system, this > returned a 500 error, and the following message was in the error log: > > DEBUG [Thread-20] (AdminPrintReserve.java) - problem process Library > ReserveConnection refused. Check that the hostname and port are correct > and that the postmaster is accepting TCP/IP connections. > > The surprising part was that authentication stopped working. And, as > with the first problem, no relevant errors or warnings were being logged. > > Given the inconvenience, I commented out that line in > "dtl/admin/nexus/adminsite.dtl". However, we're still occasionally > bumping into the same symptoms, although I haven't been able to track > down the new trigger. > > Has anyone else had similar issues and solved them? > > Thanks, > Ray > ======================== > Ray Davis, Web Services > Educational Technology Services > University of California, Berkeley > > Phone: 510-642-8581 > > -++**==--++**==--++**==--++**==--++**==--++**==--++**==--++**== > This message was posted through the Stanford campus mailing list > server. If you wish to unsubscribe from this mailing list, send the > message body of "unsubscribe coursework_eval_tech" to > maj...@li... > |
From: Ian B. <ie...@tf...> - 2003-10-07 09:26:26
|
Sam, I've started a task to get Lets-Talk ported to 2.5 its quite a quick job ( hopefully). Ian Sam Ottenhoff wrote: > Hi Ian, > > Thanks for the response. I was able to find sitemap.xmap in 2.1 but not > in 2.5. I wasn't able to find the discuss directory mounted on 2.1 or > 2.5. I've thought about integrating Yazd, Jive, or another piece of > discussion software but figured I would see if anyone has already gone > through the process. Having these files added to the CVS tree would be > a great help for us! > Thanks, > Sam > > Ian Boston wrote: > >> The Lets Talk software is a Cocoon application that is mounted under >> the discuss directory. You must have a Cocoon servlet mapped in >> web.xml and the sitemap.xmap configured correctly. From memory the 2.1 >> release and 2.5 RC1 releases both have discussion built in, just >> activate the tool when using a course. If you want to use a 3rd party >> discussion server like panfora, you will need to change the Discussion >> tool class to use that instead. >> >> It might be worth a check in 2.5 to make certain that the integration >> was done and that we didnt just leave it out (by mistake). Remember >> that the 2.5 port was a port from the Oracle version and not an >> upgrade from the 2.1 on postgres release. >> >> Ian >> >> Sam Ottenhoff wrote: >> >>> Hi all, >>> >>> Quick question about discussion software integrated into Coursework.... >>> >>> I can't find any reference to Lets-Talk in the Coursework CVS or in >>> the RC1 tarball. Am I missing something? Do I need to integrate the >>> lets-talk source into the Coursework source and adjust the builds >>> accordingly? The only references to discussion board software I see >>> in 2.5 are to linking to third-party discussion boards. >>> >>> Thanks, >>> Sam >>> >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Coursework-help mailing list >>> Cou...@li... >>> https://lists.sourceforge.net/lists/listinfo/coursework-help >>> >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Coursework-help mailing list >> Cou...@li... >> https://lists.sourceforge.net/lists/listinfo/coursework-help > > > > |