Re: [Dspace-tech] how to show hyper links in item description

2008-11-09 Thread wang jiahui
Just found it.
The method org.dspace.core.Utils.addEntities(String value) replaces
characters that could be interpreted as HTML codes with symbolic
references (entities).
Just cancel this function in ItemTag chould achieve this.

Thanks


2008/11/8 wang jiahui [EMAIL PROTECTED]:
 Hi all,

 I added some hyper-links in the item description metadata.
 However, it seems DSpace make decryptions to the metadatas somewhere.
 For example, I added a link like :font
 style=background-color:#66national team/font[a
 href=../123456789/623 title=national team target=_blank1/a.
 I what the hyper link shown in the display-item page, but the page
 shows the make-up script in stead.

 Can someone tell me how to configure it to show the hyper links?

 Thanks,

 Jiahui Wang




-- 
Jiahui Wang

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] how to show hyper links in item description

2008-11-08 Thread wang jiahui
Hi all,

I added some hyper-links in the item description metadata.
However, it seems DSpace make decryptions to the metadatas somewhere.
For example, I added a link like :font
style=background-color:#66national team/font[a
href=../123456789/623 title=national team target=_blank1/a.
I what the hyper link shown in the display-item page, but the page
shows the make-up script in stead.

Can someone tell me how to configure it to show the hyper links?

Thanks,

Jiahui Wang

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Fwd: question about analyzer

2008-05-29 Thread wang jiahui
Hi all,

Just to repost this question...
Thanks

I run a dspace instance which host a lot of items with metadata in Chinese.
The problem is  the search result was not very accurate, and I thought it a
analyzer problem. So I change the analyzer to
org.apache.lucene.analysis.cn.ChineseAnalyzer
in the dspace.cfg file, and run dsrun org.dspace.search.DSIndexer again.
But after I did this, the search result was even worse, actually no
result returned when I submitted a query which I'm sure would get a
number of hits.

Is there anything I missed?
If I change the analyzer, what further steps should I take to obtain
the performance
I want?

Thanks,

--
Jiahui Wang



-- 
Jiahui Wang

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] question about analyzer

2008-05-28 Thread wang jiahui
Hi all,

I run a dspace instance which host a lot of items with metadata in Chinese.
The problem is  the search result is not very accurate, and I thought it a
analyzer problem. So I change the analyzer to Package
org.apache.lucene.analysis.cn
in the dspace.cfg file, and run dsrun.bat org.dspace.search.DSIndexer again.
But after I did this, the search result was even worse, actually no
result returned
when I submitted a query which I'm sure would get a number of hits.

Is there anything I missed?
How could I config the indexer to get a better search performance?

Thanks,

-- 
Jiahui Wang

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] encoding err on search page

2007-12-14 Thread wang jiahui
2007/12/13, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Yes, you must try to modify the apache tomcat config file server.xml, you
 must add the encoding you want to use:

 !--  Define a non-SSL HTTP/1.1 Connector on port 8080
   --
   Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150
 minSpareThreads=25 maxSpareThreads=75 enableLookups=false
 redirectPort=8443 acceptCount=100 connectionTimeout=2
 disableUploadTimeout=true URIEncoding=UTF-8 /


Thanks, this works.


as you can see i use utf-8, that solved a similar problem that the one
 you're posting.



  Hi,
 
  We found that when we search Chinease words in DSpace, the search-result
  page
  shows meaningless characters. There should be something wrong with the
  encoding.
 
  We set the both home.jsp and search/result.jsp's page attribute like
 this:
  %@ page contentType=text/html;charset=UTF-8 %
 
  And we wrote a filter setting all the request's encoding to UTF-8, the
  code is like this:
  request.setCharacterEncoding(UTF-8);
 
  We debuged the programe and the sentence above really run.
  But the the result page still display meaningless characters in the
  search
  for text box.
 
  Is there anything else we should modify?
 
  Any advice would be appreciated.
 
  Jiahui Wang
 
 -
  SF.Net email is sponsored by:
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services
  for just about anything Open Source.
 
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


 Tupac Amaru Bastidas Celis

 SABER-ULA
 Centro de Teleinformación - ULA
 Corporación Parque Tecnológico de Mérida
 Av. 4, Edif. Gral. Masini, Piso 3, Of. A-34
 Tlf: +58 274 2524192 ext. 21




-- 
王嘉惠
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] problem with itemimport in .bat file

2007-09-18 Thread wang jiahui
Hi,

I wrote a .bat file to import items to collection. It's just composed of
individual item-import commands like this:

dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
17 -s I:\aaa\dmcu_data\A000\ACF0 -m ACF0
dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
18 -s I:\aaa\dmcu_data\A000\ACG0 -m ACG0
dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
19 -s I:\aaa\dmcu_data\A000\ACH0 -m ACH0
dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
20 -s I:\aaa\dmcu_data\A000\ACI0 -m ACI0

But it returned after the first command run, leaving all the others not run.
I'm sorry not familliar with .bat files, and I tried to google this problem
but
got no answer.

Is there anyone knows what's wrong with this?

Thanks

Wang Jiahui
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] database back to 1.3 from 1.4.2

2007-09-15 Thread wang jiahui
Hi,

We are building Digital Museum of China Universities (DMCU). This project
started 3 or 4 years
ago, and it is based on DSpace *1.3beta1*. Right now many developers have
left from our group
leaving with codes they modified or added.
The problem is that the items are submitted a few days ago, and for some
reason it's hold in
database based on DSpace 1.4.2. There are over 600 collections if we import
them again to
1.3.
So we are looking for ways to turn the database holding items back to 1.3.
Is there anyone
who did this before?

Any advice would be appreciated.

Thanks

Wang Jiahui
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
Hi,

I want to setup two dspace instances on the same server. These two instances
should use different database,
and this claims that one of the databases should not be called *dspace*. If
I want to create a database with
a name rather than *dspace*, which is still used by an instance of dspace,
where of the src should I make
a change?

I niticed that there are entries in dspace.cfg about the username and
password of the database, but I think
leaving these two without changing will be OK.

Is there anyone else did this before?

Thanks

Wang Jiahui
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
When I changed the entry and run the fresh_install task, I got this
exception:

 [java] 2007-09-12 21:56:24,493 FATAL
org.dspace.administer.RegistryLoader @
 anonymous::error_loading_registries:
 [java] org.postgresql.util.PSQLException: ERROR: duplicate key violates
uni
que constraint bitstreamformatregistry_short_description_key
 [java] at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse
(QueryExecutorImpl.java:1512)
 [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults
(Query
ExecutorImpl.java:1297)
 [java] at org.postgresql.core.v3.QueryExecutorImpl.execute
(QueryExecuto
rImpl.java:188)
 [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute
(AbstractJ
dbc2Statement.java:437)
 [java] at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
AbstractJdbc2Statement.java:353)
 [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate
(Abs
tractJdbc2Statement.java:307)
 [java] at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
date(DelegatingPreparedStatement.java:101)
 [java] at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
date(DelegatingPreparedStatement.java:101)
 [java] at org.dspace.storage.rdbms.DatabaseManager.execute
(DatabaseMana
ger.java:1492)
 [java] at org.dspace.storage.rdbms.DatabaseManager.update
(DatabaseManag
er.java:853)
 [java] at org.dspace.content.BitstreamFormat.update(
BitstreamFormat.jav
a:588)
 [java] at org.dspace.administer.RegistryLoader.loadFormat
(RegistryLoade
r.java:214)
 [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats
(Reg
istryLoader.java:169)
 [java] at org.dspace.administer.RegistryLoader.main(
RegistryLoader.java
:107)

BUILD FAILED

Is there any more places I need to make a change?

2007/9/12, Mark H. Wood [EMAIL PROTECTED]:

 In [dspace]/config/dspace.cfg, find the property 'db.url'.  That
 specifies which database to connect.  If you're using PostgreSQL, it
 looks something like this:

   db.url = jdbc:postgresql://localhost:5432/dspace

 Replace dspace with the name of the database you want to use.
 Likewise, if you wanted to put your database(s) on a different host,
 you would replace localhost with the name or address of that host,
 and if you for some reason wanted to run PostgreSQL on a different
 port you'd replace 5432.

 You can indeed use the same username and password for all of your
 DSpace databases, so long as that database user is authorized for
 appropriate access to each of them.  Whether you *should* is another
 question, one which only you can answer.  I create separate
 credentials for every production DSpace instance.

 I have one production box with three DSpace instances, and a
 development-environmnent box with, oh, probably a dozen by now.  I was
 hesitant at first, but it works well.

 --
 Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
 Typically when a software vendor says that a product is intuitive he
 means the exact opposite.


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





-- 
王嘉惠
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
I attached my dspace.cfg file.

Here I want to create a database named *vom*, leaving the usename
and password as *dspace*.

Thanks

2007/9/12, Desmond Elliott [EMAIL PROTECTED]:

 Could you attach your dspace.cfg please?

 wang jiahui wrote:
  When I changed the entry and run the fresh_install task, I got this
  exception:
 
  [java] 2007-09-12 21:56:24,493 FATAL
  org.dspace.administer.RegistryLoader @
  anonymous::error_loading_registries:
  [java] org.postgresql.util.PSQLException: ERROR: duplicate key
  violates uni
  que constraint bitstreamformatregistry_short_description_key
  [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse
  (QueryExecutorImpl.java:1512)
  [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(Query
  ExecutorImpl.java:1297)
  [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecuto
  rImpl.java:188)
  [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJ
  dbc2Statement.java:437)
  [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
  AbstractJdbc2Statement.java :353)
  [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(Abs
  tractJdbc2Statement.java:307)
  [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
  date(DelegatingPreparedStatement.java :101)
  [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
  date(DelegatingPreparedStatement.java:101)
  [java] at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseMana
  ger.java:1492)
  [java] at org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManag
  er.java:853)
  [java] at org.dspace.content.BitstreamFormat.update(BitstreamFormat.jav
  a:588)
  [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoade
  r.java:214)
  [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(Reg
  istryLoader.java:169)
  [java] at org.dspace.administer.RegistryLoader.main (RegistryLoader.java
  :107)
 
  BUILD FAILED
 
  Is there any more places I need to make a change?
 
  2007/9/12, Mark H. Wood [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
  In [dspace]/config/dspace.cfg, find the property 'db.url'. That
  specifies which database to connect. If you're using PostgreSQL, it
  looks something like this:
 
  db.url = jdbc:postgresql://localhost:5432/dspace
 
  Replace dspace with the name of the database you want to use.
  Likewise, if you wanted to put your database(s) on a different host,
  you would replace localhost with the name or address of that host,
  and if you for some reason wanted to run PostgreSQL on a different
  port you'd replace 5432.
 
  You can indeed use the same username and password for all of your
  DSpace databases, so long as that database user is authorized for
  appropriate access to each of them. Whether you *should* is another
  question, one which only you can answer. I create separate
  credentials for every production DSpace instance.
 
  I have one production box with three DSpace instances, and a
  development-environmnent box with, oh, probably a dozen by now. I
 was
  hesitant at first, but it works well.
 
  --
  Mark H. Wood, Lead System Programmer [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  Typically when a software vendor says that a product is
  intuitive he
  means the exact opposite.
 
 
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  mailto:DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 
  --
  ��玫录��禄��
  
 
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tec
 


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
王嘉惠


dspace.cfg
Description: Binary data

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
The dspace.cfg file is ought to be right since that the destination dir name
is exactly what I set in the file.

And sorry for the duplicate message.

2007/9/12, James Rutherford [EMAIL PROTECTED]:

 The problem is that the fresh_install is loading the wrong (old)
 dspace.cfg so it's trying to connect to the existing database, so it's
 having problems with duplicate values. Pass the correct path to the new
 config by calling ant -Dconfig=/path/to/new/dspace.cfg fresh_install.

 Jim

 On Wed, Sep 12, 2007 at 04:34:46PM +0200, Christian Voelker wrote:
  Hello,
 
  Am 12.09.2007 um 16:03 schrieb wang jiahui:
 
   When I changed the entry and run the fresh_install task, I got this
   exception:
  
[java] 2007-09-12 21:56:24,493 FATAL
   org.dspace.administer.RegistryLoader @
anonymous::error_loading_registries:
 
  I remember that I had this error once as well.
  I cant remember what the problem was but it was
  probably something too stupid to write down
  because I dont have it in my records. I guess
  I just removed the db, created again and ran
  fresh_install again, but thats not sure.
 
  Now for what I actually wanted to tell: There
  is a quite elaborate page in the wiki with a
  subject like Installing a test and a live
  instance on the same server or such, which
  describes several ways to do so with various
  degrees of separation (for one developer or
  several developers and so on), but which
  basically all rely on the same procedure that
  you try to use. I guess you will find more
  valuable details there.
 
  Bye, Christian
 
 
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech

 --
 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
Thank you all, and sorry for this stupid mistake.

2007/9/12, Claudia Jürgen [EMAIL PROTECTED]:


 Hi Wang,

 in the config file you attached the name of the db in the db.url is wrong.
 Supposing you created a database called vom owned by the user dspace the
 line

 db.url = jdbc:postgresql://localhost:5432/dspace
 should be
 db.url = jdbc:postgresql://localhost:5432/vom


 Furthermore in the dspace.cfg you provided you must fill in
 dspace.url
 dspace.hostname
 mail.server
 and the mail addresses
 with the correct values for your installation

 hope that helps

 Claudia

 wang jiahui schrieb:
  I attached my dspace.cfg file.
 
  Here I want to create a database named *vom*, leaving the usename
  and password as *dspace*.
 
  Thanks
 
  2007/9/12, Desmond Elliott [EMAIL PROTECTED]:
  Could you attach your dspace.cfg please?
 
  wang jiahui wrote:
  When I changed the entry and run the fresh_install task, I got this
  exception:
 
  [java] 2007-09-12 21:56:24,493 FATAL
  org.dspace.administer.RegistryLoader @
  anonymous::error_loading_registries:
  [java] org.postgresql.util.PSQLException: ERROR: duplicate key
  violates uni
  que constraint bitstreamformatregistry_short_description_key
  [java] at
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse
  (QueryExecutorImpl.java:1512)
  [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults
 (Query
  ExecutorImpl.java:1297)
  [java] at org.postgresql.core.v3.QueryExecutorImpl.execute
 (QueryExecuto
  rImpl.java:188)
  [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute
 (AbstractJ
  dbc2Statement.java:437)
  [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags
 (
  AbstractJdbc2Statement.java :353)
  [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate
 (Abs
  tractJdbc2Statement.java:307)
  [java] at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
  date(DelegatingPreparedStatement.java :101)
  [java] at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
  date(DelegatingPreparedStatement.java:101)
  [java] at org.dspace.storage.rdbms.DatabaseManager.execute
 (DatabaseMana
  ger.java:1492)
  [java] at org.dspace.storage.rdbms.DatabaseManager.update
 (DatabaseManag
  er.java:853)
  [java] at org.dspace.content.BitstreamFormat.update(
 BitstreamFormat.jav
  a:588)
  [java] at org.dspace.administer.RegistryLoader.loadFormat
 (RegistryLoade
  r.java:214)
  [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats
 (Reg
  istryLoader.java:169)
  [java] at org.dspace.administer.RegistryLoader.main (
 RegistryLoader.java
  :107)
 
  BUILD FAILED
 
  Is there any more places I need to make a change?
 
  2007/9/12, Mark H. Wood [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
  In [dspace]/config/dspace.cfg, find the property 'db.url'. That
  specifies which database to connect. If you're using PostgreSQL,
 it
  looks something like this:
 
  db.url = jdbc:postgresql://localhost:5432/dspace
 
  Replace dspace with the name of the database you want to use.
  Likewise, if you wanted to put your database(s) on a different
 host,
  you would replace localhost with the name or address of that
 host,
  and if you for some reason wanted to run PostgreSQL on a different
  port you'd replace 5432.
 
  You can indeed use the same username and password for all of your
  DSpace databases, so long as that database user is authorized for
  appropriate access to each of them. Whether you *should* is
 another
  question, one which only you can answer. I create separate
  credentials for every production DSpace instance.
 
  I have one production box with three DSpace instances, and a
  development-environmnent box with, oh, probably a dozen by now. I
  was
  hesitant at first, but it works well.
 
  --
  Mark H. Wood, Lead System Programmer [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  Typically when a software vendor says that a product is
  intuitive he
  means the exact opposite.
 
 
 
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  mailto:DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 
  --
  ��玫录��禄��
 
 
 
 
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

[Dspace-tech] dspace.cfg load error

2007-09-09 Thread wang jiahui
Hi,

When I started the Tomcat I got this exception:
FATAL: Can't load configuration
java.io.FileNotFoundException: @@dspace.dir@@\config\dspace.cfg
...

It seems that DSpace doesn't know what the @@dspace.dir@@ value is.
How to fix this?
And I am confused that when DSpace is started, where does it find the
@@dspace.dir@@ value? I couldn't find any information in the database.

Is there someone could help me?
Thanks.

Wang Jiahui
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] about itemImport tool

2007-09-09 Thread wang jiahui
Do you mean that the collection ID is the handle value of the table
*handle*, not the *collection_id* column in table *collection*?

2007/9/9, Christian Voelker [EMAIL PROTECTED]:

 Hello,

 Am 09.09.2007 um 09:46 schrieb wang jiahui:

  I read that the there is an option named *-c* in ItemImport tool.
  The source file says that it means *destination collection(s)
  Handle or database ID*.
  But I am confused that if we input a number, how does it know that
  this is a handle
  or a database ID (collection ID)?

 I guess it is just the same. When a handle gets
 created, simply put, this is the row number in
 the database. It is just a different perspective.
 If you look at the URL, you will call this number
 the handle, if you are the backend guy, you look
 at the db and say it is the collection ID.

 Bye, Christian




-- 
王嘉惠
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] when replace the '@@dspace.dir@@' field

2007-08-29 Thread wang jiahui
Hi,

Could any one tell me when and where that the '@@dspace.dir@@' field in
context-param of web.xml file is replaced with the directory where DSpace is
installed?

Thanks

Wang Jiahui
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] postgres createdb err

2007-07-26 Thread wang jiahui

Hi,

We got an error when we created db with this command:
[EMAIL PROTECTED]:/opt/postgres/bin$ ./createdb -E UNICODE dspace
createdb: could not connect to database postgres: FATAL:  role postgres
does not exist

How could this happen? Doesn't the role postgres exist since we installed
postgresql successfully?
Any help would be appreciated.

Wang Jiahui
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech