Re: [Dspace-tech] Error 404 and Tomcat configuration
Hi Susan, I edited the files as suggested, so now I have the following lines: in /usr/local/dspace/config/dspace.cfg: log.init.config = ${dspace.dir}/config/log4j.xml log.dir = ${dspace.dir}/log in /usr/local/dspace/config/log4j.xml: param name=File value=/usr/local/dspace/log/dspace.log / in /usr/local/dspace/config/log4j.properties: log4j.appender.A1.File=/usr/local/dspace/log/dspace.log log4j.appender.A2.File=/usr/local/dspace/log/checker.log Restarted Catalina and have the same problem. Tomcat is running, but Dspace is not listed as an application and xmlui and jspui give me 404 errors. Shall I rebuild dspace or are there some more things to try first? Cheers, Stan P.S. I'm attaching two log files just in case. There isn't much in the dspace.cfg though. On Tue, Jan 27, 2009 at 1:32 PM, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Thornton susan.m.thorn...@nasa.gov wrote: Hi Stan, You can put the dspace.log and checker.log files wherever you want them. We have ours in /export/home/dspace/log/….Just make sure they are fully qualified and don't use the ${log.dir} symbolic in the log4j files. I did leave the symbolics in our dspace.cfg files as follows: # Logging configuration # # These settings are currently NOT used by the XMLUI. # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/' # in the actual XMLUI web application. # Override default log4j configuration # you may provide your own configuration here, existing # alternatives are: log.init.config = ${dspace.dir}/config/log4j.xml # Where to put the logs (used in configuration only) log.dir = ${dspace.dir}/log And it wouldn't hurt to create the log directory where you want it, because I do believe it will create the files, but don't think it can create the directory. Let me know if you have any further problems! Good luck, Sue catalina.out Description: Binary data 2008-11-18 20:35:41,884 INFO org.dspace.core.ConfigurationManager @ Loading from classloader: file:/usr/local/dspace/config/dspace.cfg 2008-11-18 20:35:41,934 INFO org.dspace.core.ConfigurationManager @ Using dspace provided log configuration (log.init.config) 2008-11-18 20:35:41,934 INFO org.dspace.core.ConfigurationManager @ Loading: /usr/local/dspace/config/log4j.properties 2008-11-18 20:36:09,910 INFO org.dspace.eperson.EPerson @ anonymous::create_eperson:eperson_id=1 2008-11-18 20:36:09,928 INFO org.dspace.eperson.EPerson @ anonymous::update_eperson:eperson_id=1 2008-11-18 20:36:09,941 INFO org.dspace.eperson.Group @ anonymous::update_group:group_id=1 2008-11-18 20:36:09,944 INFO org.dspace.event.EventManager @ -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error 404 and Tomcat configuration
Make sure the permissions on your dspace file hierarchy are set to your tomcat user. I had the same problem last night while installing a new dspace instance and missed this step only to wind up with a 404 error. Hope this helps Cheers Hayden Stan Orlov wrote: Hi Susan, I edited the files as suggested, so now I have the following lines: in /usr/local/dspace/config/dspace.cfg: log.init.config = ${dspace.dir}/config/log4j.xml log.dir = ${dspace.dir}/log in /usr/local/dspace/config/log4j.xml: param name=File value=/usr/local/dspace/log/dspace.log / in /usr/local/dspace/config/log4j.properties: log4j.appender.A1.File=/usr/local/dspace/log/dspace.log log4j.appender.A2.File=/usr/local/dspace/log/checker.log Restarted Catalina and have the same problem. Tomcat is running, but Dspace is not listed as an application and xmlui and jspui give me 404 errors. Shall I rebuild dspace or are there some more things to try first? Cheers, Stan P.S. I'm attaching two log files just in case. There isn't much in the dspace.cfg though. On Tue, Jan 27, 2009 at 1:32 PM, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Thornton susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov wrote: Hi Stan, You can put the dspace.log and checker.log files wherever you want them. We have ours in /export/home/dspace/log/….Just make sure they are fully qualified and don't use the ${log.dir} symbolic in the log4j files. I did leave the symbolics in our dspace.cfg files as follows: # Logging configuration # # These settings are currently NOT used by the XMLUI. # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/' # in the actual XMLUI web application. # Override default log4j configuration # you may provide your own configuration here, existing # alternatives are: log.init.config = ${dspace.dir}/config/log4j.xml # Where to put the logs (used in configuration only) log.dir = ${dspace.dir}/log And it wouldn't hurt to create the log directory where you want it, because I do believe it will create the files, but don't think it can create the directory. Let me know if you have any further problems! Good luck, Sue -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error 404 and Tomcat configuration
Hi Stan, You can put the dspace.log and checker.log files wherever you want them. We have ours in /export/home/dspace/log/Just make sure they are fully qualified and don't use the ${log.dir} symbolic in the log4j files. I did leave the symbolics in our dspace.cfg files as follows: # Logging configuration # # These settings are currently NOT used by the XMLUI. # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/' # in the actual XMLUI web application. # Override default log4j configuration # you may provide your own configuration here, existing # alternatives are: log.init.config = ${dspace.dir}/config/log4j.xml # Where to put the logs (used in configuration only) log.dir = ${dspace.dir}/log And it wouldn't hurt to create the log directory where you want it, because I do believe it will create the files, but don't think it can create the directory. Let me know if you have any further problems! Good luck, Sue From: stanisla...@gmail.com [mailto:stanisla...@gmail.com] On Behalf Of Stan Orlov Sent: Monday, January 26, 2009 8:40 PM To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thanks a lot, Susan! It starts to make sense now (albeit slowly :). I edited dspace.cfg, according to your point 1. Before doing points 2 and 3, one clarification. Do I have to change the current: param name=File value=/usr/local/dspace/log/dspace.log / to param name=File value=/export/home/dspace/log/dspace.log /. I'm asking because we don't have the /export directory right now (current path in points 2 and 3 is /usr/local/dspace/log/ where dspace.log and checker.log are currently located) . Should I create this directory or will it be created automatically? Cheers, Stan P.S. I am attaching the config files just in case. On Mon, Jan 26, 2009 at 7:15 PM, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Thornton susan.m.thorn...@nasa.gov wrote: Hi Stan, In looking at your Catalina.log file, you are having the same problem I was having with the dspace.log and checker.log. I solved the problem by doing the following: 1. Set the following parameters in dspace.cfg a. log.init.config = ${dspace.dir}/config/log4j.xml b. log.dir = ${dspace.dir}/log 2. Set the following parameter in /dspace/config/log4j.xml a. param name=File value=/export/home/dspace/log/dspace.log / (had to fully qualify log location - don't know why???) 3. Set the following parameters in /dspace/config/log4j.properties a. log4j.appender.A1.File=/export/home/dspace/log/dspace.log (had to fully qualify log location - don't know why???) b. log4j.appender.A2.File=/export/home/dspace/log/checker.log (had to fully qualify log location - don't know why???) Seems like a lot of folks have had this problem. Maybe this should be included in the doc?? Sue From: Stan Orlov [mailto:stan.or...@msvu.ca] Sent: Monday, January 26, 2009 2:35 PM To: felipe Melero; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thank you for the directions! I am attaching the content of the log files and the jspui folder. Not sure, though, how to check in tomcat's log whether tomcat is deploying jspui. Cheers, Stan On Mon, Jan 26, 2009 at 4:00 AM, felipe Melero fmel...@unav.es wrote: Hi, could you please attach tomcat's log or dspace's log (dspace.log)? Copy application folder or jspui's war and check if tomcat is deploying it in tomcat's log. regards, Felipe Stan Orlov escribió: Greetings! I installed Dspace 1.5 and Tomcat 6 on Linux SUSE 10.1 on an internal server and got jspui working. Then, after restarting Tomcat, I had error 404 on accessing both http://localhost:8080/jspui and http://localhost:8080/xmlui. At the same time, http://localhost:8080 shows the tomcat screen, but when I login into Tomcat Manager, I don't have jspui or xmlui in the list of applications. I am almost sure I saw them there before. Thanks to Mark, I understand that I'll need to check that Tomcat is starting with the appropriate server.xml and webapps configuration. If you could suggest what to look for (and where), I would be most obliged. If it helps, I can attach the file(s) in question. Cheers, Stan Stanislav Orlov, MEd, MISt Systems Librarian Mount Saint Vincent University Halifax, NS, B3M 2J6 - Tel: 902-457-6212 - Fax: 902-457-6445 stan.or...@msvu.ca This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking
Re: [Dspace-tech] Error 404 and Tomcat configuration
Susan, I'm a little surprised you had to do that. Its actually the Ant script that should have expanded that ${log.dir} in your build process. I suspect something went wrong with your install at that stage, maybe file permissions errors or timestamps on the log4j.properties that was already installed. Mark On Jan 27, 2009, at 9:32 AM, Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote: Hi Stan, You can put the dspace.log and checker.log files wherever you want them. We have ours in /export/home/dspace/log/….Just make sure they are fully qualified and don’t use the ${log.dir} symbolic in the log4j files. I did leave the symbolics in our dspace.cfg files as follows: # Logging configuration # # These settings are currently NOT used by the XMLUI. # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/' # in the actual XMLUI web application. # Override default log4j configuration # you may provide your own configuration here, existing # alternatives are: log.init.config = ${dspace.dir}/config/log4j.xml # Where to put the logs (used in configuration only) log.dir = ${dspace.dir}/log And it wouldn’t hurt to create the log directory where you want it, because I do believe it will create the files, but don’t think it can create the directory. Let me know if you have any further problems! Good luck, Sue From: stanisla...@gmail.com [mailto:stanisla...@gmail.com] On Behalf Of Stan Orlov Sent: Monday, January 26, 2009 8:40 PM To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thanks a lot, Susan! It starts to make sense now (albeit slowly :). I edited dspace.cfg, according to your point 1. Before doing points 2 and 3, one clarification. Do I have to change the current: param name=File value=/usr/local/dspace/log/dspace.log / to param name=File value=/export/home/dspace/log/dspace.log /. I'm asking because we don't have the /export directory right now (current path in points 2 and 3 is /usr/local/dspace/log/ where dspace.log and checker.log are currently located) . Should I create this directory or will it be created automatically? Cheers, Stan P.S. I am attaching the config files just in case. On Mon, Jan 26, 2009 at 7:15 PM, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Thornton susan.m.thorn...@nasa.gov wrote: Hi Stan, In looking at your Catalina.log file, you are having the same problem I was having with the dspace.log and checker.log. I solved the problem by doing the following: 1. Set the following parameters in dspace.cfg a. log.init.config = ${dspace.dir}/config/log4j.xml b. log.dir = ${dspace.dir}/log 2. Set the following parameter in /dspace/config/ log4j.xml a. param name=File value=/export/home/dspace/log/ dspace.log / (had to fully qualify log location – don't know why???) 3. Set the following parameters in /dspace/config/ log4j.properties a. log4j.appender.A1.File=/export/home/dspace/log/dspace.log (had to fully qualify log location – don't know why???) b. log4j.appender.A2.File=/export/home/dspace/log/checker.log (had to fully qualify log location – don't know why???) Seems like a lot of folks have had this problem. Maybe this should be included in the doc….?? Sue From: Stan Orlov [mailto:stan.or...@msvu.ca] Sent: Monday, January 26, 2009 2:35 PM To: felipe Melero; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thank you for the directions! I am attaching the content of the log files and the jspui folder. Not sure, though, how to check in tomcat's log whether tomcat is deploying jspui. Cheers, Stan On Mon, Jan 26, 2009 at 4:00 AM, felipe Melero fmel...@unav.es wrote: Hi, could you please attach tomcat's log or dspace's log (dspace.log)? Copy application folder or jspui's war and check if tomcat is deploying it in tomcat's log. regards, Felipe Stan Orlov escribió: Greetings! I installed Dspace 1.5 and Tomcat 6 on Linux SUSE 10.1 on an internal server and got jspui working. Then, after restarting Tomcat, I had error 404 on accessing both http://localhost:8080/jspuiand http://localhost:8080/xmlui. At the same time, http://localhost: 8080 shows the tomcat screen, but when I login into Tomcat Manager, I don't have jspui or xmlui in the list of applications. I am almost sure I saw them there before. Thanks to Mark, I understand that I'll need to check that Tomcat is starting with the appropriate server.xml and webapps configuration. If you could suggest what to look for (and where), I would be most obliged. If it helps, I can attach the file(s) in question. Cheers, Stan Stanislav Orlov, MEd, MISt Systems Librarian Mount Saint Vincent University Halifax, NS, B3M 2J6 - Tel: 902-457-6212
Re: [Dspace-tech] Error 404 and Tomcat configuration
I tried everything I knew, even giving the entire /dspace directory 777 permissions. It doesn't make sense to me either. Sue From: Diggory Mark [mailto:mdigg...@gmail.com] Sent: Tuesday, January 27, 2009 4:11 PM To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Cc: Stan Orlov; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Susan, I'm a little surprised you had to do that. Its actually the Ant script that should have expanded that ${log.dir} in your build process. I suspect something went wrong with your install at that stage, maybe file permissions errors or timestamps on the log4j.properties that was already installed. Mark On Jan 27, 2009, at 9:32 AM, Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote: Hi Stan, You can put the dspace.log and checker.log files wherever you want them. We have ours in /export/home/dspace/log/Just make sure they are fully qualified and don't use the ${log.dir} symbolic in the log4j files. I did leave the symbolics in our dspace.cfg files as follows: # Logging configuration # # These settings are currently NOT used by the XMLUI. # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/' # in the actual XMLUI web application. # Override default log4j configuration # you may provide your own configuration here, existing # alternatives are: log.init.config = ${dspace.dir}/config/log4j.xml # Where to put the logs (used in configuration only) log.dir = ${dspace.dir}/log And it wouldn't hurt to create the log directory where you want it, because I do believe it will create the files, but don't think it can create the directory. Let me know if you have any further problems! Good luck, Sue From: stanisla...@gmail.com [mailto:stanisla...@gmail.com] On Behalf Of Stan Orlov Sent: Monday, January 26, 2009 8:40 PM To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thanks a lot, Susan! It starts to make sense now (albeit slowly :). I edited dspace.cfg, according to your point 1. Before doing points 2 and 3, one clarification. Do I have to change the current: param name=File value=/usr/local/dspace/log/dspace.log / to param name=File value=/export/home/dspace/log/dspace.log /. I'm asking because we don't have the /export directory right now (current path in points 2 and 3 is /usr/local/dspace/log/ where dspace.log and checker.log are currently located) . Should I create this directory or will it be created automatically? Cheers, Stan P.S. I am attaching the config files just in case. On Mon, Jan 26, 2009 at 7:15 PM, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Thornton susan.m.thorn...@nasa.gov wrote: Hi Stan, In looking at your Catalina.log file, you are having the same problem I was having with the dspace.log and checker.log. I solved the problem by doing the following: 1. Set the following parameters in dspace.cfg a. log.init.config = ${dspace.dir}/config/log4j.xml b. log.dir = ${dspace.dir}/log 2. Set the following parameter in /dspace/config/log4j.xml a. param name=File value=/export/home/dspace/log/dspace.log / (had to fully qualify log location - don't know why???) 3. Set the following parameters in /dspace/config/log4j.properties a. log4j.appender.A1.File=/export/home/dspace/log/dspace.log (had to fully qualify log location - don't know why???) b. log4j.appender.A2.File=/export/home/dspace/log/checker.log (had to fully qualify log location - don't know why???) Seems like a lot of folks have had this problem. Maybe this should be included in the doc?? Sue From: Stan Orlov [mailto:stan.or...@msvu.ca] Sent: Monday, January 26, 2009 2:35 PM To: felipe Melero; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thank you for the directions! I am attaching the content of the log files and the jspui folder. Not sure, though, how to check in tomcat's log whether tomcat is deploying jspui. Cheers, Stan On Mon, Jan 26, 2009 at 4:00 AM, felipe Melero fmel...@unav.es wrote: Hi, could you please attach tomcat's log or dspace's log (dspace.log)? Copy application folder or jspui's war and check if tomcat is deploying it in tomcat's log. regards, Felipe Stan Orlov escribió: Greetings! I installed Dspace 1.5 and Tomcat 6 on Linux SUSE 10.1 on an internal server and got jspui working. Then, after restarting Tomcat, I had error 404 on accessing both http://localhost:8080/jspuiand http://localhost:8080/xmlui. At the same time, http://localhost:8080 shows the tomcat screen, but when I login into Tomcat Manager, I don't have jspui or xmlui in the list of applications. I am almost sure
Re: [Dspace-tech] Error 404 and Tomcat configuration
Hi, could you please attach tomcat's log or dspace's log (dspace.log)? Copy application folder or jspui's war and check if tomcat is deploying it in tomcat's log. regards, Felipe Stan Orlov escribió: Greetings! I installed Dspace 1.5 and Tomcat 6 on Linux SUSE 10.1 on an internal server and got jspui working. Then, after restarting Tomcat, I had error 404 on accessing both http://localhost:8080/jspui and http://localhost:8080/xmlui. At the same time, http://localhost:8080 shows the tomcat screen, but when I login into Tomcat Manager, I don't have jspui or xmlui in the list of applications. I am almost sure I saw them there before. Thanks to Mark, I understand that I'll need to check that Tomcat is starting with the appropriate server.xml and webapps configuration. If you could suggest what to look for (and where), I would be most obliged. If it helps, I can attach the file(s) in question. Cheers, Stan Stanislav Orlov, MEd, MISt Systems Librarian Mount Saint Vincent University Halifax, NS, B3M 2J6 - Tel: 902-457-6212 - Fax: 902-457-6445 stan.or...@msvu.ca mailto:stan.or...@msvu.ca -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error 404 and Tomcat configuration
Hi Stan, In looking at your Catalina.log file, you are having the same problem I was having with the dspace.log and checker.log. I solved the problem by doing the following: 1. Set the following parameters in dspace.cfg a. log.init.config = ${dspace.dir}/config/log4j.xml b. log.dir = ${dspace.dir}/log 2. Set the following parameter in /dspace/config/log4j.xml a. param name=File value=/export/home/dspace/log/dspace.log / (had to fully qualify log location - don't know why???) 3. Set the following parameters in /dspace/config/log4j.properties a. log4j.appender.A1.File=/export/home/dspace/log/dspace.log (had to fully qualify log location - don't know why???) b. log4j.appender.A2.File=/export/home/dspace/log/checker.log (had to fully qualify log location - don't know why???) Seems like a lot of folks have had this problem. Maybe this should be included in the doc?? Sue From: Stan Orlov [mailto:stan.or...@msvu.ca] Sent: Monday, January 26, 2009 2:35 PM To: felipe Melero; dspace tech Subject: Re: [Dspace-tech] Error 404 and Tomcat configuration Thank you for the directions! I am attaching the content of the log files and the jspui folder. Not sure, though, how to check in tomcat's log whether tomcat is deploying jspui. Cheers, Stan On Mon, Jan 26, 2009 at 4:00 AM, felipe Melero fmel...@unav.es wrote: Hi, could you please attach tomcat's log or dspace's log (dspace.log)? Copy application folder or jspui's war and check if tomcat is deploying it in tomcat's log. regards, Felipe Stan Orlov escribió: Greetings! I installed Dspace 1.5 and Tomcat 6 on Linux SUSE 10.1 on an internal server and got jspui working. Then, after restarting Tomcat, I had error 404 on accessing both http://localhost:8080/jspui and http://localhost:8080/xmlui. At the same time, http://localhost:8080 shows the tomcat screen, but when I login into Tomcat Manager, I don't have jspui or xmlui in the list of applications. I am almost sure I saw them there before. Thanks to Mark, I understand that I'll need to check that Tomcat is starting with the appropriate server.xml and webapps configuration. If you could suggest what to look for (and where), I would be most obliged. If it helps, I can attach the file(s) in question. Cheers, Stan Stanislav Orlov, MEd, MISt Systems Librarian Mount Saint Vincent University Halifax, NS, B3M 2J6 - Tel: 902-457-6212 - Fax: 902-457-6445 stan.or...@msvu.ca -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech