[Dspace-tech] Error in Dspace 1.4.2 (Search option)

2008-04-11 Thread José A. Rubio
Hi List,

I'm trying to update my repository from 1.4.1 to 1.4.2, and I get the
following error when I use the Search option (once I have
done the update process):

simple-search?query=pruebasubmit=Ir

-- Method: GET

-- Parameters were:

-- submit: Ir

-- query: prueba

java.io.FileNotFoundException: no segments* file found: files:

at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:485)

at
org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:311)

at
org.apache.lucene.index.IndexReader.getCurrentVersion(IndexReader.java:259)

at
org.apache.lucene.index.IndexReader.getCurrentVersion(IndexReader.java:244)

at
org.apache.lucene.index.IndexReader.getCurrentVersion(IndexReader.java:230)

at org.dspace.search.DSQuery.getSearcher(DSQuery.java:445)

at org.dspace.search.DSQuery.doQuery(DSQuery.java:147)

at
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:208)

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:743)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

at
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

at
com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)

at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)

at java.lang.Thread.run(Thread.java:595)


Any idea? By the way, I'm using a Oracle 10g DB.

Thank you in advanced.
-
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] Warning in the Handle Server

2007-04-25 Thread José A. Rubio

Dear James,

The error was due to a problem with my PATH. The patch works
perfectly :)

Cheers.

On 4/18/07, James Rutherford [EMAIL PROTECTED] wrote:


On Wed, Apr 18, 2007 at 02:11:10PM +0200, Jos? A. Rubio wrote:
 I've used the patch in my system with Korn Bash (changing the first line
to
 #!/bin/ksh), but I get
 the same result. Do you know if I have to do others changes?.

Do you have Sun Java installed? What are the results of the following
commands:

echo $JAVA_HOME
which java
java -version

If any of them point to symlinks, what do the symlinks point to?

cheers,

Jim

 Thanks.

 On 4/16/07, James Rutherford [EMAIL PROTECTED] wrote:
 
 Hi,
 
 On Mon, Apr 16, 2007 at 10:31:57AM +0200, Jos? A. Rubio wrote:
  When I start the Handle Server, with
dspace/bin/start-handle-server, I
 get
  an
 
  Warning: -Xmx256m not understood. Ignoring.
  Warning: -Xmx256m not understood. Ignoring.
 
  Is this a serious problems?, could be solve this with some solution?
 
 I've seen this problem when using GNU java instead of Sun java. There
is
 a patch on the queue that should fix this (by inspecting the JAVA_HOME
 environment variable rather than relying on PATH):
 
 
 
http://sourceforge.net/tracker/index.php?func=detailaid=1621109group_id=19984atid=319984
 
 This fix will be included in the forthcoming 1.4.2 release (due at the
 end of the month): http://wiki.dspace.org/CurrentReleaseToDo
 
 cheers,
 
 Jim
 
 --
 James Rutherford  |  Hewlett-Packard Limited registered Office:
 Research Engineer |  Cain Road,
 HP Labs   |  Bracknell,
 Bristol, UK   |  Berks
 +44 117 312 7066  |  RG12 1HN.
 [EMAIL PROTECTED]   |  Registered No: 690597 England
 
 The contents of this message and any attachments to it are confidential
 and
 may be legally privileged. If you have received this message in error,
you
 should delete it from your system immediately and advise the sender. To
 any
 recipient of this message within HP, unless otherwise stated you should
 consider this message and attachments as HP CONFIDENTIAL.
 



 --


--
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To
any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maximum File Size

2007-04-25 Thread José A. Rubio

Dear William,

In our installation, with Oracle 10g, and applying the path to its proper
functioning, we have found
problems with files of 1 gig or more. Perhaps, it's a problem of our
specific system ..

Cheers.

On 4/23/07, wroldfie [EMAIL PROTECTED] wrote:


 We have a student is wishes to submit his theses which includes a 6 gig
video. He is willing to compress it but worries about loss of resolution.
Two question:



   1. Does anyone have any recommendation regarding the size of files
   that should be allow?
   2. Does anyone know a compression ratio that still delivers reason
   web based resolution?



Thanks.



William Oldfield

Networked Information Research Associate

University of Waterloo Library

519-888-4567 Ext 32461





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maximum File Size

2007-04-25 Thread José A. Rubio

I had to change several lines related to the support of the Long type of
Oracle (my DSpace version is 1.4.1), because it didn't work well ( I
discussed this topic several weeks ago in the mailing list).

When I try to enter a file of more than 1 gig I get an Internal Error, but
in our context we don't have to include files with this size.

Cheers.

On 4/25/07, Graham Triggs [EMAIL PROTECTED] wrote:


On Wed, 2007-04-25 at 09:24 +0200, José A. Rubio wrote:
 Dear William,

 In our installation, with Oracle 10g, and applying the path to its
 proper functioning, we have found
 problems with files of 1 gig or more. Perhaps, it's a problem of our
 specific system ..

What patch(es) did you apply?

And what problems are you having?

There are lots of potential issues when dealing with large files - the
amount of data you can handle in an upload / ingest, file system of the
asset store, etc.

AFAIK, the only database related issue with large files is the storing
of the file size metadata - in that regards, the changes to allow long
integers to store file size originally broke *all* file uploads with
Oracle (not just large files). Even a minimal workaround would likely
have no more issues than to misreport large file sizes, although the
latest patches do not have that limitation.

G
This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Warning in the Handle Server

2007-04-16 Thread José A. Rubio

Dear all,

When I start the Handle Server, with dspace/bin/start-handle-server, I get
an

Warning: -Xmx256m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.

Is this a serious problems?, could be solve this with some solution?

Many thanks.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace and Oracle Application Server 10g

2007-02-20 Thread José A. Rubio

Nowadays, I have some problems with the deployment in OAS, as I can't access
the
web application deployed. I have tried to deploy only one WAR file, with the
idea given by
Stuart Lewis, and with the two WAR files, within the same OC4J.

I haven't any problem with the several phases of deployment, but when I try
to access to the
path in the browser, I get an error.

About the questions, I have one Oracle Database configured in dspace.cfg,
and I don't
believe that there could be any problem with several web-apps deployed in
OAS using the same DB.
So, I think that my problem is due to another issue.

When I manage to solve this issue I will communicate it to you.

Best.

On 2/17/07, Graham Triggs [EMAIL PROTECTED] wrote:


From: Mark Diggory
Is there something unique about Oracle Application Server that is
stopping
two separately deployed web-apps from both using the same db?

I suspect you would be as surprised as I would if you were told that was
the
case. It would be a massive limitation.

I'm a little naive about using Oracle Application Server / Oracle DB.
What
stops you from deploying each war separately? What issues would arise
that
are a concern if you did?

The question is whether both WARs can reside with the same OC4J instance,
or
whether they have to be in separate ones. I've only got a vague
understanding of what an OC4J instance is, but to put in context, it
sounds
like it has a roughly similar scope to a CATALINA_BASE instance (then
imagine Tomcat running with multiple simultaneous instances of those).

I can see administration benefits to having both web apps in a single
instance (and some restrictions when running in spearate instances).
Judging
by question 25 of the FAQ, this should be possible:


http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf

25 Where can I put shared class libraries so they are accessible to all my
deployed applications?
OC4J is configured by default with a shared directory. The directory is
J2EE_HOME/applib. Any class libraries that are placed in this directory
will be accessible to applications deployed on OC4J.

The shared directory is specified using the library tag in the default
application configuration file J2EE_HOME/config/application.xml.
orion-application autocreate-tables=true
default-data-source=jdbc/OracleDS

web-module id=defaultWebApp path=../../home/default-web-app/
web-module id=dms0 path=../../home/applications/dms0.war/
web-module id=dms path=../../home/applications/dms.war/
persistence path=../persistence/

!-- Path to the libraries that are installed on this server.
These will accesible for the servlets, EJBs etc --
library path=../applib/
...
/orion-application

For more information about class Loading and packaging issues, see the
technical note on OTN --
http://otn.oracle.com/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf.

G

This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace and Oracle Application Server 10g

2007-02-16 Thread José A. Rubio

Hi,

Nowadays, I am trying to run DSpace 1.4.1 on Oracle Application Server 10g,
and I have an initial
doubt in this matter. When we create the DSpace binaries, with ant, we
obtain two WAR files, dspace.war and dspace-oai.war, which are necessary to
deploy the application in Tomcat.
But, when I try to deploy the application on Oracle Application Server, I
can only select a WAR file.

So, could I join both WAR files in only one without problems?, has anybody
had this problem?

Many thanks.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace and Oracle Application Server 10g

2007-02-16 Thread José A. Rubio

Hi Mark,

My knowledge on OAS 10g is limited, but I think that if you deploy two
differents WAR files you are obtaining two differents applications within
OAS,
as for each deployment you are limited to deploy only one WAR file.
So, although I deploy two differents applicatios for DSpace, dpsace and
dspace-oai,
in the same OC4J, I think this don't work.

Best.

On 2/16/07, Mark Diggory [EMAIL PROTECTED] wrote:


While this wholy possible now (and actually a nice solution to the
issue) I caution that the future path of DSpace Development could
completely separate these web-applications dependencies as well.
Jose, can't just deploy the web-applications one at a time by hand?

-Mark

On Feb 16, 2007, at 5:45 AM, Stuart Lewis [sdl] wrote:

 Hi José,

 You should be able to do this quite easily by adding the following to:

 [dspace-src]/etc/dspace-web.xml

 Add these into the relevant sections:

  context-param
 param-nameproperties/param-name
 param-value@@dspace.dir@@/config/oaicat.properties/param-value
 description
   The location of the oaicat.properties file containing
   datapairs used to initialize the OAI repository software.
 /description
   /context-param

  servlet
 servlet-nameoai-handler/servlet-name
 servlet-classORG.oclc.oai.server.OAIHandler/servlet-class
   /servlet

   servlet-mapping
 servlet-nameoai-handler/servlet-name
 url-pattern/request/url-pattern
   /servlet-mapping

 You can then just recompile, and deploy dspace.war.

 Your base URL for OAI-PMH will then be:

 www.example.com/dspace/request

 Rather than

 www.example.com/dspace-oai/request as documented.

 Thanks,


 Stuart
 _

 Datblygydd Cymwysiadau'r WeWeb Applications Developer
 Gwasanaethau Gwybodaeth  Information Services
 Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

 E-bost / E-mail: [EMAIL PROTECTED]
  Ffon / Tel: (01970) 622860
 _

 

 From: [EMAIL PROTECTED] [mailto:dspace-tech-
 [EMAIL PROTECTED] On Behalf Of José A. Rubio
 Sent: 16 February 2007 10:35
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Dspace and Oracle Application Server 10g


 Hi,

 Nowadays, I am trying to run DSpace 1.4.1 on Oracle Application
 Server 10g, and I have an initial
 doubt in this matter. When we create the DSpace binaries, with ant,
 we obtain two WAR files, dspace.war and dspace-oai.war, which are
 necessary to deploy the application in Tomcat.
 But, when I try to deploy the application on Oracle Application
 Server, I can only select a WAR file.

 So, could I join both WAR files in only one without problems?, has
 anybody had this problem?

 Many thanks.



 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech