Re: [Dspace-tech] Error with email registration
Have you tried to send a mail using the systems mail command to the id, you are trying to send mail through your application. does that work without any issues. unable to send email to this address (when using Manakin) or internal error (when using jspui). -- means something is wrong with some configuration on your system. you should atleast see an error in the logs. check the ourput of /var/log/messages too if possible. regards. On Fri, Sep 11, 2009 at 1:36 AM, Dale Patterson gcaharchiv...@gmail.com wrote: Good afternoon - I am having an odd problem with our DSpace installation on what will be our production machine. The entire installation went like a dream on our test bed machine and now I've hit this snag. The problem is that when someone attempts to register we get an unable to send email to this address (when using Manakin) or internal error (when using jspui). I have looked at the /usr/local/dspace/log/dspace.log file and there is nothing in the log that resembles this error (there are precious few errors) and I've looked at /usr/share/tomcat5/log/catalina.out and there are no reports there either. Should I be looking in a different file? Finally here is our setup. RedHat Linux 5 using Tomcat 5.5 with a standard install of Dspace. We have it loaded on two identical machines with the same version of RedHat, Tomcat and Dspace. In both cases sendmail is running on both machines because I get nightly reports from the crontab emailed to me. One setup on our internal or Intranet machine works just fine. I register and get the email no problem. The other machine, our production website machine, gives the above mentioned errors. We are using the most recent version of Dspace. We also have Apache running on both machines. Any suggestions on where to look for problems would be most helpful. Oh, I've looked through the sendmail logs (maillog) and could not find any reference to an error. But sendmail is a bit of mystery at times. So, again, any suggestions would be most appreciated. Thank you. -- Dale Patterson -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Searching of text from PDF files
1) pdf is an image - needs to be ocr'd - then uploaded - metadata filtermedia will try to extract the text out of the pdf and save it as a text file along with the pdf files..-- search happens on the extracted text OR 2) pdf is an text - to be uploaded - metadata filtermedia will try to extract the text out of the pdf and save it as a text file along with the pdf files.. -- search happens on the extracted text 3) indexing is on metadata only. On Thu, Sep 10, 2009 at 2:15 AM, Mark H. Wood mw...@iupui.edu wrote: On Tue, Sep 01, 2009 at 03:55:11PM +1000, Gary Browne wrote: When a user searches via the dspace web interface, is the search run across the content of text pdfs or just the metadata? If so, does the pdf submitted to the repository need to have been previously OCR'd, or does the repository attempt to extract index text from all pdfs? DSpace doesn't include OCR code. The full-text extractor (which feeds the indexing) requires actual coded-character text in the PDF to work with. If all you have is a bag of bitmaps (such as you often get from scanning paper documents into PDF) then they contain nothing useful to extract; you'll need to OCR or otherwise recover the character data before ingesting the file into DSpace. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] help! migration causes slow loading of files
i also tried to access - https://dizzyg.library.vcu.edu/browse-title; is dead slow.. I wanted to know one thing - why do you need https for everything.. even for links to pdf..if they are to be accessed public. Can't you have something which uses HTTPS only for data transfer pages or request paremeters sent across. On Thu, Sep 3, 2009 at 10:18 PM, susan teague-rector setea...@vcu.edu wrote: Hi All, I migrated my database, assetstore application to a new server this morning (after doing a test migration last week) All seems great until I click on a pdf (or other file) in a record. The server just sits and spins and the file never opens. I've migrated to a new linux server with twice the amount of memory, so it seems like memory shouldn't be the problem. I'm not seeing anything at all in the error logs. I'm still running Dspace 1.4.1 Does anyone have any ideas what may have happened? Thanks so much, Susan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changing DSpace time zone
Better search for the file which updates time information into database and try modifying the time before insert/update, as for example in: http://java.sun.com/j2se/1.5.0/docs/api/java/util/GregorianCalendar.html I am not sure if there would be something that you could set.. On Wed, Sep 9, 2009 at 9:07 PM, Kurzenberger, Eric eric.kurzenber...@yale.edu wrote: Hello, I'm running a DSpace 1.5.2 installation, and I need to change the default time zone that Dspace is using from UTC to UTC -4 to timestamp submissions. We're going to be using Dspace for time-sensitive submission of files, and having the time in UTC is going to undoubtedly confuse some of the users reviewing the submisssions. Anyone know of a way to do this? I poured through the dspace.cfg file and checked the Wiki and manual, but couldn't come up with anything. Any help would be greatly appreciated. Cheers, Eric -- Eric Kurzenberger Digital Media Coordinator Yale School of Architecture Yale University 180 York St. New Haven, CT 06511 T: 203.436.4176 F: 203.432.7175 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Logout problem on Dspace 1.4.2
This method in org.dspace.app.webui.util.Authentocate.java is responsible for logging out the user: /** * Log the user out * * @param context *DSpace context * @param request *HTTP request */ public static void loggedOut(Context context, HttpServletRequest request) { HttpSession session = request.getSession(); context.setCurrentUser(null); request.removeAttribute(dspace.current.user); session.removeAttribute(dspace.current.user.id); } You may want to add a session.invalidate() also, after calling session.removeAttribute(dspace.current.user.id);. -VK On 2/19/09, Van der Westhuizen, Ansie watki...@unisa.ac.za wrote: This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details. -- Dear all We are working on DSpace 1.4.2 and are experiencing problems with logging out from MyDSpace. Although the system indicates that a user is logged out it doesn't seem to really log one out. If another person logs in on the same PC, the previous user's user id still displays on some of the screens. Is anyone else out there having a similar problem and could you help us with a solution please? Thank you *Ansie van der Westhuizen* Non-commercial Digital Developer IR Content Management: Collection Development Unisa Library PO Box 392 Unisa 0003 Phone: +27 12 429 3426 Fax: +27 12 429 2925 [image: unisargb(hires)_s] -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech image001.gif-- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How do I set the handle to local ?
There could be two things you may need to check: 1) Are you updating the files on the dspace directory.. using ant update 2) check handle table in your dspace database on the new machine and what are the handles it is showing. Does it still point to the old one.. If so change that in the table - I mean changing handle id with 123456789 or try re-indexing your database.. using /dspace/bin/index-all script.. Regards, Vishal On 4/7/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, another problem with the 1.2.1 - 1.4 upgrade: I am installing the upgrade on another server. I made a fresh environment with new versions of Tomcat (5.5) and Postgres (8.1) and copied the whole thing over: dspace directory, assetstores, database dump. It seems to work pretty well until now, except a few issues that I am slowly staring myself blind upon. The first one is in that previous mail .. the incorrect rendering of some characters in the titles, and the other one is this: I get an error upon clicking on a displayed entry. I *assume* that this is because it is not possible to port the handle over to another machine just like that, and want to at least get a fresh start by starting out with the handle set to the default 123456789/ . But when I change the handle setting in dspace.cnf to 123456789 - nothing changes. It keeps generating URL's like http://lib-ir.lib.sfu.ca:8080/dspace/handle/1892/3409 and not http://lib-ir.lib.sfu.ca:8080/dspace/handle/123456789/3409 after clicking one of those, dspace.log shows this: 2008-04-07 00:59:55,393 INFO org.dspace.app.webui.servlet.DSpaceServlet @ anonymous:session_id=CF40451CD0DCBD8596A6F02F0C189E22:ip_addr=64.180.221.18:view_i tem:handle=1892/3390 2008-04-07 00:59:55,430 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=CF40451CD0DCBD8596A6F02F0C189E22:internal_error:-- URL Was: htt p://lib-ir.lib.sfu.ca:8080/dspace/handle/1892/3390 -- Method: GET -- Parameters were: java.lang.NullPointerException at org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:286) at org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:164) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) (etcetera) and DSpace displays: Internal System Error The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem. any hint as to what might be causing this persistent memory of the old handle prefix .. and how to wipe that? (or other suggestions ... maybe I am all wrong in thinking it is caused by the fact that I cannot use the same handle prefix on another server?) TIA -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 1.5 install
This in a full installation looks something like this - dspace= select count(*) from bitstreamformatregistry; count --- 73 (1 row) .. so I would suggest you to do clean_database and then do a setup_database and finally load_registries step by step.. I understand that this actually means re-installing the database.. and re-loading data. I would have gone for dropping the database itself and restart as in above lines.. And I also hope that you have mentioned all the diectory related information correctly in your dspace.sfg file..Anyways this should not be a problem. ant help Buildfile: build.xml help: [echo] [echo] DSpace configuration file [echo] --- [echo] [echo] Available targets are: [echo] [echo] update -- Update installed code and web applications without [echo] touching your config or data [echo] update_code -- Update compiled code (bin, lib, and etc directories) [echo] update_webapps -- Update web applications [echo] [echo] init_configs-- Write the configuration files to /dspace/config [echo] install_code-- Install compiled code into /dspace [echo] [echo] fresh_install -- Perform a fresh installation of the software, [echo] including the databases config [echo] setup_database -- Create database tables [echo] load_registries -- Load metadata file format registries into the [echo] database [echo] [echo] clean_database -- Remove DSpace database tables, destroying data [echo] [echo] [echo] Available parameters are: [echo] [echo] -Dconfig=path/to/dspace.cfg -- Where your dspace.cfg configuration [echo] is located [echo] -Dwars=true-- Build .war files when updating web [echo] applications [echo] On 3/28/08, George Vernon [EMAIL PROTECTED] wrote: Not quite. I get: dspace_test= \dt bitstreamregistry No matching relations found. dspace_test= \d dspace_test= \dt bitstreamformatregistry List of relations Schema | Name | Type |Owner +-+---+- public | bitstreamformatregistry | table | dspace_test (1 row) dspace_test= \d bitstreamformatregistry Table public.bitstreamformatregistry Column| Type | Modifiers -++--- bitstream_format_id | integer| not null mimetype| character varying(256) | short_description | character varying(128) | description | text | support_level | integer| internal| boolean| Indexes: bitstreamformatregistry_pkey PRIMARY KEY, btree (bitstream_format_id) bitstreamformatregistry_short_description_key UNIQUE, btree (short_description) dspace_test= select * from bitstreamformatregistry; bitstream_format_id | mimetype | short_description | description | support_level | internal -+--+---+-+---+-- (0 rows) From: Vishal Kakapuri [EMAIL PROTECTED] Sent: 28 March 2008 10:12 To: Mark Diggory Cc: George Vernon; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] 1.5 install static String canonicalize(String column){static String canonicalize(String column){ if (oracle.equals(ConfigurationManager.getProperty(db.name))) { // oracle requires uppercase return column.toUpperCase(); } // postgres default lowercase 611 - return column.toLowerCase(); } I guess somehow your column is coming null for bitstreamformatregistry Do you data something like this in this table: dspace= \dt bitstreamformatregistry List of relations Schema | Name | Type | Owner +-+---+ public | bitstreamformatregistry | table | dspace (1 row) dspace= \d bitstreamformatregistry Table public.bitstreamformatregistry Column| Type | Modifiers -++--- bitstream_format_id | integer| not null mimetype| character varying(256) | short_description | character varying(128) | description | text | support_level | integer| internal| boolean| Indexes: bitstreamformatregistry_pkey PRIMARY KEY, btree (bitstream_format_id) bitstreamformatregistry_short_description_key UNIQUE, btree (short_description) dspace= select * from bitstreamformatregistry; bitstream_format_id
Re: [Dspace-tech] 1.5 install
static String canonicalize(String column){static String canonicalize(String column){ if (oracle.equals(ConfigurationManager.getProperty(db.name))) { // oracle requires uppercase return column.toUpperCase(); } // postgres default lowercase 611 - return column.toLowerCase(); } I guess somehow your column is coming null for bitstreamformatregistry Do you data something like this in this table: dspace= \dt bitstreamformatregistry List of relations Schema | Name | Type | Owner +-+---+ public | bitstreamformatregistry | table | dspace (1 row) dspace= \d bitstreamformatregistry Table public.bitstreamformatregistry Column| Type | Modifiers -++--- bitstream_format_id | integer| not null mimetype| character varying(256) | short_description | character varying(128) | description | text | support_level | integer| internal| boolean| Indexes: bitstreamformatregistry_pkey PRIMARY KEY, btree (bitstream_format_id) bitstreamformatregistry_short_description_key UNIQUE, btree (short_description) dspace= select * from bitstreamformatregistry; bitstream_format_id | mimetype | short_description | description | support_level | internal -+---+--- -+--+---+-- 1 | application/octet-stream | Unknown | Unknown data format | 0 | f 2 | text/plain | License | Item-specific license agreed upon to submission | 1 | t 3 | application/pdf | Adobe PDF . . Regards, Vishal On 3/28/08, Mark Diggory [EMAIL PROTECTED] wrote: Hello George, I just ran a test on my workstation to do a fresh install of DSpace 1.5.0 and was successful. So I suspect it is something with your environment/configuration. Can you give me more detail about your setup (database version, OS)? Are those 4 tables the only ones created? there should be 40. Cheers, Mark On Mar 27, 2008, at 9:13 AM, George Vernon wrote: Trying a test install and getting the following error at the 'ant fresh install'. Has anyone else come across this? (log.init.config) [java] 2008-03-27 15:02:51,479 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries: [java] java.lang.NullPointerException [java] at org.dspace.storage.rdbms.TableRow.canonicalize (TableRow.java:611) [java] at org.dspace.storage.rdbms.TableRow.hasColumn (TableRow.java:110) The tables appear to have been created correctly: dspace_test= \dt List of relations Schema |Name| Type |Owner ++---+- public | bi_2_dis | table | dspace_test public | bi_2_dmap | table | dspace_test . . public | workflowitem | table | dspace_test public | workspaceitem | table | dspace_test (40 rows) dspace_test= The full response from ant was: [EMAIL PROTECTED]:/usr/local/dspace_test/dspace/target/ dspace-1.5.0-build.dir ant fresh_install Buildfile: build.xml init_installation: [mkdir] Created dir: /home/dspace_test/bin [mkdir] Created dir: /home/dspace_test/config [mkdir] Created dir: /home/dspace_test/lib [mkdir] Created dir: /home/dspace_test/webapps [mkdir] Created dir: /home/dspace_test/assetstore [mkdir] Created dir: /home/dspace_test/handle-server [mkdir] Created dir: /home/dspace_test/search [mkdir] Created dir: /home/dspace_test/log [mkdir] Created dir: /home/dspace_test/upload [mkdir] Created dir: /home/dspace_test/reports init_configs: [copy] Copying 43 files to /home/dspace_test/config setup_database: [java] 2008-03-27 15:02:40,880 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2008-03-27 15:02:40,884 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2008-03-27 15:02:40,884 INFO