Re: [Dspace-tech] Maven Errors

2011-07-07 Thread P. S. Mukhopadhyay
What Java u r using?



On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay psmukhopadh...@gmail.com
 wrote:

 hello

 my settings.xml under .m2 folder (hidden folder)

 settings
  proxies
   proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
username/username
   password/password
   host192.168.3.5/host
   port3128/port
   nonProxyHostslocalhost,*.example.com/nonProxyHosts
  /proxy
  /proxies
 /settings

 On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:
  Hi
 
 
 
  In addition to what I have sent, here is part of server.xml file in
 maven,
 
 
 
  proxy
 
idOptional/id
 
activetrue/active
 
protocolhttp/protocol
 
hostourproxy.wits.ac.za/host
 
port80/port
 
usernamemyusername/username
 
passwordmypassword/password
 
nonProxyHosts/nonProxyHosts
 
  /proxy
 
 
 
  Your input is appreciated.
 
 
 
  Regards,
 
  Lewatle
 
 
 
  From: Lewatle Phaladi
  Sent: 06 July 2011 02:06 PM
  To: dspace-tech@lists.sourceforge.net
  Subject: Maven Errors
 
 
 
  Hi All
 
 
 
  I am installing dspace1.7.2 and I have this errors, can anyone give me
 idea
  with this errors.
 
 
 
  [INFO] BUILD FAILURE
 
  [INFO]
  
 
  [INFO] Total time: 13:10.929s
 
  [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011
 
  [INFO] Final Memory: 32M/60M
 
  [INFO]
  
 
  [ERROR] Failed to execute goal on project solr: Could not resolve
  dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
  collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
  (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
  org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6
  (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
  descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
  artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
  (http://download.carrot2.org/maven2/): Error transferring file: Server
  redirected too many  times (20) - [Help 1]
 
  [ERROR]
 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e
  switch.
 
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 
  [ERROR]
 
  [ERROR] For more information about the errors and possible solutions,
 please
  read the following articles:
 
  [ERROR] [Help 1]
 
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 
  [ERROR]
 
  [ERROR] After correcting the problems, you can resume the build with the
  command
 
  [ERROR]   mvn goals -rf :solr
 
 
 
 
 
 
 
 
 
  I have setup server.xml file in maven for proxy but I still receive this.
 
 
 
  Regards,
 
  Lewatle
 
 
  htmlpfont face = verdana size = 0.8 color = navyThis
  communication is intended for the addressee only. It is confidential. If
 you
  have received this communication in error, please notify us immediately
 and
  destroy the original message. You may not copy or disseminate this
  communication without the permission of the University. Only authorized
  signatories are competent to enter into agreements on behalf of the
  University and recipients are thus advised that the content of this
 message
  may not be legally binding on the University and may contain the personal
  views and opinions of the author, which are not necessarily the views and
  opinions of The University of the Witwatersrand, Johannesburg. All
  agreements between the University and outsiders are subject to South
 African
  Law unless the University agrees in writing to the
  contrary./font/p/html


 --
 ---
 Dr. Parthasarathi Mukhopadhyay
 Assistant Professor, Department of Library and Information Science,
 University of Burdwan,
 Burdwan - 713 104 (WB), India
 ---




-- 
---
Dr. Parthasarathi Mukhopadhyay
Assistant Professor, Department of Library and Information Science,
University of Burdwan,
Burdwan - 713 104 (WB), India
---
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven Errors

2011-07-07 Thread Lewatle Phaladi
Hi



I am using version 1.6.0, and other guys have responded with positive
ideas that I have also followed even if I never responded to them I
really appreciate their time,

The thing is that other packages are downloaded easily  but while
process is continuing  the following packages are not  downloaded from
repository for some reasons.



Please see this error.



[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Failed to resolve artifact.



Missing:

--

1) org.carrot2:carrot2-mini:jar:3.1.0



  Try downloading the file manually from the project website.



  Then, install it using the command:

  mvn install:install-file -DgroupId=org.carrot2
-DartifactId=carrot2-mini -Dversion=3.1.0 -Dpackaging=jar
-Dfile=/path/to/file



  Alternatively, if you host your own repository you can deploy the file
there:

  mvn deploy:deploy-file -DgroupId=org.carrot2
-DartifactId=carrot2-mini -Dversion=3.1.0 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



  Path to dependency:

1) org.dspace.modules:solr:war:1.7.0

2) org.dspace:dspace-solr:jar:classes:1.4.1.0

3) org.apache.solr:solr-clustering:jar:1.4.1

4) org.carrot2:carrot2-mini:jar:3.1.0



--

1 required artifact is missing.



for artifact:

  org.dspace.modules:solr:war:1.7.0



from the specified remote repositories:

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots
(https://oss.sonatype.org/content/repositories/snapshots)



Regards,

Lewatle



From: P. S. Mukhopadhyay [mailto:psmukhopadh...@gmail.com]
Sent: 07 July 2011 12:54 PM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Errors



What Java u r using?




On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay
psmukhopadh...@gmail.com wrote:

hello

my settings.xml under .m2 folder (hidden folder)

settings
 proxies

 proxy
  idoptional/id
  activetrue/active
  protocolhttp/protocol

  username/username
  password/password
  host192.168.3.5/host
  port3128/port
  nonProxyHostslocalhost,*.example.com/nonProxyHosts
 /proxy
 /proxies
/settings


On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:
 Hi



 In addition to what I have sent, here is part of server.xml file in
maven,



 proxy

   idOptional/id

   activetrue/active

   protocolhttp/protocol

   hostourproxy.wits.ac.za/host

   port80/port

   usernamemyusername/username

   passwordmypassword/password

   nonProxyHosts/nonProxyHosts

 /proxy



 Your input is appreciated.



 Regards,

 Lewatle



 From: Lewatle Phaladi
 Sent: 06 July 2011 02:06 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: Maven Errors



 Hi All



 I am installing dspace1.7.2 and I have this errors, can anyone give me
idea
 with this errors.



 [INFO] BUILD FAILURE

 [INFO]



 [INFO] Total time: 13:10.929s

 [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

 [INFO] Final Memory: 32M/60M

 [INFO]



 [ERROR] Failed to execute goal on project solr: Could not resolve
 dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
 collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
 (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
 org.slf4j:slf4j-api:jar:1.5.6 (compile),
org.slf4j:slf4j-jdk14:jar:1.5.6
 (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
 descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
 artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
 (http://download.carrot2.org/maven2/): Error transferring file: Server
 redirected too many  times (20) - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
the -e
 switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
please
 read the following articles:

 [ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExc
eption

 [ERROR]

 [ERROR] After correcting the problems, you can resume the build with
the
 command

 [ERROR]   mvn goals -rf :solr









 I have setup server.xml file in maven for proxy but I still receive
this.



 Regards,

 Lewatle



 htmlpfont face = verdana size = 0.8 color = navyThis

 communication is intended for the addressee only. It is confidential.
If you
 have received this communication in error, please notify us
immediately and
 destroy the original message. You may not copy or disseminate this
 communication without the permission of the University. Only
authorized
 signatories are competent to enter into agreements on 

[Dspace-tech] (no subject)

2011-07-07 Thread Nisreen Kabani
We got a file for adding language interface designed in JSP  findly instruct
as on How to apply to Dspace in linux?

Please instruct as on how to form The first account (manger Account) with
finest thanks?
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Where to put static web pages

2011-07-07 Thread Mark Ehle
Hello -

We are trying to put a crossdomain.xml (for cooliris) file in the root of
our Dspace server. Dspace is located at /dspace. /dspace/webapps/ROOT does
not seem to work. I also tried /dspace/webapps/xmlui/static. Dspace says
page not found. I know that it must be some sort of Tomcat setting, but I
don't know where.

Can anybody help?

Library Mark
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven Errors

2011-07-07 Thread Tim Donohue
Hi Lewatle,

It still sounds like either a Maven caching issue or something with your 
setup.

Here's my setup:
Maven 2.2.1 (note: I'm not using a proxy in my settings.xml)
Java 1.6.0
Windows 7

I've just successfully rebuilt DSpace 1.7.2 after completely deleting my 
local Maven cache.  Essentially, I did the following:

(1) First, I removed my entire Maven Cache by moving my 
~/.m2/repository/ directory to ~/.m2/repository-OLD/   This forced Maven 
to recreate a fresh ~/.m2/repository/ folder and re-download all DSpace 
dependencies.

(2) Next, I pulled down a completely fresh copy of DSpace 1.7.2 to a 
folder called D:/dspace-1.7.2/:
svn co http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.2/

(3) Finally, I rebuilt DSpace 1.7.2 (this took a while, as Maven went 
through and downloaded all dependencies again one-by-one):
cd D:/dspace-1.7.2/dspace/
mvn package

In the end, everything built fine.  My local Maven was also able to 
locate the carrot2-mini dependency which you received errors on.

Could you verify the exact version of Maven you are using?  You also may 
want to try the same experiment (completely delete or move your existing 
~/.m2/repository/ Maven cache and rebuild).  It's possible this could 
also be an issue with your proxy settings.

- Tim


On 7/7/2011 8:45 AM, Lewatle Phaladi wrote:
 Hi

 I am using version 1.6.0, and other guys have responded with positive
 ideas that I have also followed even if I never responded to them I
 really appreciate their time,

 The thing is that other packages are downloaded easily but while process
 is continuing the following packages are not downloaded from repository
 for some reasons.

 Please see this error.

 [INFO]
 

 [ERROR] BUILD ERROR

 [INFO]
 

 [INFO] Failed to resolve artifact.

 Missing:

 --

 1) org.carrot2:carrot2-mini:jar:3.1.0

 Try downloading the file manually from the project website.

 Then, install it using the command:

 mvn install:install-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini
 -Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:

 mvn deploy:deploy-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini
 -Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]

 Path to dependency:

 1) org.dspace.modules:solr:war:1.7.0

 2) org.dspace:dspace-solr:jar:classes:1.4.1.0

 3) org.apache.solr:solr-clustering:jar:1.4.1

 4) org.carrot2:carrot2-mini:jar:3.1.0

 --

 1 required artifact is missing.

 for artifact:

 org.dspace.modules:solr:war:1.7.0

 from the specified remote repositories:

 central (http://repo1.maven.org/maven2),

 sonatype-nexus-snapshots
 (https://oss.sonatype.org/content/repositories/snapshots)

 Regards,

 Lewatle

 *From:*P. S. Mukhopadhyay [mailto:psmukhopadh...@gmail.com]
 *Sent:* 07 July 2011 12:54 PM
 *To:* Lewatle Phaladi
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] Maven Errors

 What Java u r using?


 On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay
 psmukhopadh...@gmail.com mailto:psmukhopadh...@gmail.com wrote:

 hello

 my settings.xml under .m2 folder (hidden folder)

 settings
 proxies

 proxy
 idoptional/id
 activetrue/active
 protocolhttp/protocol

 username/username
 password/password
 host192.168.3.5/host
 port3128/port
 nonProxyHostslocalhost,*.example.com http://example.com/nonProxyHosts
 /proxy
 /proxies
 /settings


 On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za
 mailto:lewatle.phal...@wits.ac.za wrote:
   Hi
  
  
  
   In addition to what I have sent, here is part of server.xml file in
 maven,
  
  
  
   proxy
  
   idOptional/id
  
   activetrue/active
  
   protocolhttp/protocol
  
   hostourproxy.wits.ac.za http://ourproxy.wits.ac.za/host
  
   port80/port
  
   usernamemyusername/username
  
   passwordmypassword/password
  
   nonProxyHosts/nonProxyHosts
  
   /proxy
  
  
  
   Your input is appreciated.
  
  
  
   Regards,
  
   Lewatle
  
  
  
   From: Lewatle Phaladi
   Sent: 06 July 2011 02:06 PM
   To: dspace-tech@lists.sourceforge.net
 mailto:dspace-tech@lists.sourceforge.net
   Subject: Maven Errors
  
  
  
   Hi All
  
  
  
   I am installing dspace1.7.2 and I have this errors, can anyone give
 me idea
   with this errors.
  
  
  
   [INFO] BUILD FAILURE
  
   [INFO]
   
  
   [INFO] Total time: 13:10.929s
  
   [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011
  
   [INFO] Final Memory: 32M/60M
  
   [INFO]
   
  
   [ERROR] Failed to execute goal on project solr: Could not resolve
   dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
   collect dependencies for 

Re: [Dspace-tech] Where to put static web pages

2011-07-07 Thread Peter Dietz
Hi Mark,

Ok, so I'm guessing that your DSpace is located at:
reponame.university.edu/dspace and you've mapped dspace to
/dspace/webapps/xmlui in tomcat's settings.

If you've got a standard linux environment, it should be as easy as making a
directory /var/lib/tomcat6/webapps/ROOT and putting your xml file there.

The annoyance of configuring tomcat's server.xml to map ROOT to
/dspace/webapps/ROOT, if its possible, is that on every rebuild of DSpace,
you'll lose whatever files you've put in there, as they'll get backed up to
/dspace/webapps.bak.-mm-dd





Peter Dietz



On Thu, Jul 7, 2011 at 10:25 AM, Mark Ehle marke...@gmail.com wrote:

 Hello -

 We are trying to put a crossdomain.xml (for cooliris) file in the root of
 our Dspace server. Dspace is located at /dspace. /dspace/webapps/ROOT does
 not seem to work. I also tried /dspace/webapps/xmlui/static. Dspace says
 page not found. I know that it must be some sort of Tomcat setting, but I
 don't know where.

 Can anybody help?

 Library Mark


 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Where to put static web pages

2011-07-07 Thread Mark Ehle
Thanks, Peter - I found that once I edited the sitemap.xmap file to allow
.xml files,

map:match pattern=*.xml
map:read src=static/{1}.xml/
/map:match

it seems to work. Webroot on my server winds up at
/var/lib/tomcat6/webapps/ROOT/static

Even though I can now browse the crossdomain.xml  file, cooliris still isn't
happy. Not sure what is going with it.

Later -

Mark

On Thu, Jul 7, 2011 at 10:38 AM, Peter Dietz pdiet...@gmail.com wrote:

 Hi Mark,

 Ok, so I'm guessing that your DSpace is located at:
 reponame.university.edu/dspace and you've mapped dspace to
 /dspace/webapps/xmlui in tomcat's settings.

 If you've got a standard linux environment, it should be as easy as making
 a directory /var/lib/tomcat6/webapps/ROOT and putting your xml file there.

 The annoyance of configuring tomcat's server.xml to map ROOT to
 /dspace/webapps/ROOT, if its possible, is that on every rebuild of DSpace,
 you'll lose whatever files you've put in there, as they'll get backed up to
 /dspace/webapps.bak.-mm-dd





 Peter Dietz



 On Thu, Jul 7, 2011 at 10:25 AM, Mark Ehle marke...@gmail.com wrote:

 Hello -

 We are trying to put a crossdomain.xml (for cooliris) file in the root of
 our Dspace server. Dspace is located at /dspace. /dspace/webapps/ROOT does
 not seem to work. I also tried /dspace/webapps/xmlui/static. Dspace says
 page not found. I know that it must be some sort of Tomcat setting, but I
 don't know where.

 Can anybody help?

 Library Mark


 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Create Administrator

2011-07-07 Thread Hardik Mishra

 Hi Nisreen,

Its called DSpace Administrator.

Assuming you are using DSpace 1.6.x or above.
Browse your DSpace installation directory and run below command 'dspace 
create-administrator'.

[dspace]/bin/dspace create-administrator
This will ask a few information to create a new administrator.

Thanks  Regards
Hardik Mishra



 
Message: 1
Date: Thu, 7 Jul 2011 17:14:40 +0300
From: Nisreen Kabani nisreenkaban...@gmail.com
Subject: [Dspace-tech] (no subject)
To: dspace-tech@lists.sourceforge.net
Message-ID:
CANXp+bBYW-o-cAMZ3MA7P_is=7rutod5z6n0jtlztglpd54...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

We got a file for adding language interface designed in JSP  findly instruct
as on How to apply to Dspace in linux?

Please instruct as on how to form The first account (manger Account) with
finest thanks?


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] (no subject)

2011-07-07 Thread Josefina Perez Alvarez
In [dspace]/bin execute:
./dspace create-administrator

Try
./dspace --help
to see other interesting actions in this script

Good luck
Josi Perez



2011/7/7 Nisreen Kabani nisreenkaban...@gmail.com

  We got a file for adding language interface designed in JSP  findly
 instruct as on How to apply to Dspace in linux?

 Please instruct as on how to form The first account (manger Account) with
 finest thanks?


 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech