Re: [Dspace-tech] Dspace 3.0 XMLUI Mirage Theme - Hit highlighting Snippet view

2013-03-27 Thread mErRYo
Well there are not anything which looks missing so far but if dspace manual is 
using the term snippet view for XMLUI then there must be some obvious effect 
that one can see on the interface. On my interface i am seeing few collections 
whose details carries some output from my pdfs bit streams so may be i think 
this is what dspace is referring to for snippet which is obvious from its 
definition(generally).

--- On Tue, 3/26/13, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: Dspace 3.0 XMLUI Mirage Theme - Hit highlighting  Snippet view
 To: mErRYo merryob...@yahoo.com
 Cc: dspace-tech@lists.sourceforge.net
 Date: Tuesday, March 26, 2013, 6:40 PM
 On Tue, Mar 26, 2013 at 2:01 PM,
 mErRYo merryob...@yahoo.com
 wrote:
  May be i am not getting this snippet view thing. Can
 you please explain me how does it look like when it is
 enable. I can't understand it through dspace manual.
 
 Me neither, that's why I'm asking what you meant. Is there
 something
 that seems missing?
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Dspace 3.0 XMLUI Mirage Theme - Hit highlighting Snippet view

2013-03-26 Thread mErRYo
Hi, All i am using Dspace 3.0 and i want to make discovery enable on it with 
hit highlighting and snippet view. Can anyone tell me how can i enable it and 
what files shall i look into.

Secondly by default hit highlighting is enable as per manual but when i search 
any word it doesn't return me result in highlighted form ( i mean in bold form).

Thirdly,Correct me if i am right to enable discovery i need to change 
xmlui.xconf file and enable following line 
aspect name=Discovery path=resource://aspects/Discovery/ /
in place of
aspect name=Searching Artifacts path=resource://aspects/SearchArtifacts/ /

Waiting for positive response from the dspace fellows. 
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Image preview in browse indexes

2013-03-21 Thread mErRYo
Hi, I want to know how can we show pdf or image preview in default browse 
indexes like title and date shown on JSPUI. I am using Dspace 3.0 with JSPUI 
and discovery. I already did some setting in dspace.cfg by which i am getting 
preview column but with blank cells. Can anyone advise me how to do it.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Hit highlighting snippetview in Dspace 3.0 JSPUI

2013-03-21 Thread mErRYo
I specifically want to know about this feature for JSPUI. AS far i know i don't 
think it is supported in Dspace 3.0 JSPUI. So can some one tell me is there any 
other alternative to achieve it. Appreciate if some can help us share its code 
or classes or plugins.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Full text in Advance Search Filter list

2013-02-07 Thread mErRYo
Can anyone help me to resolve this query

--- On Wed, 2/6/13, mErRYo merryob...@yahoo.com wrote:

 From: mErRYo merryob...@yahoo.com
 Subject: [Dspace-tech] Full text in Advance Search Filter list
 To: dspace-tech@lists.sourceforge.net
 Date: Wednesday, February 6, 2013, 4:53 PM
 Hi All, I am using Dspace
 3.0+JSPUI+Discovery, I want to add Full text filter in
 advance search page (i.e. discovery.jsp). Can anyone tell me
 how to do it. 
 Actually what I want is whenever I use this filter against
 the search word it shall search all of my repository
 bitstreams (on which full text is enabled of course) and not
 metadata and return the results.
 
 Please let me know if this can be possible or not. If it is
 then how.
 
 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Feedback page problem (DSpace 3.0)

2013-01-28 Thread mErRYo
i got it right. I changed my host url from localhost to my serverip in 
dspace.cfg and my feedback page is working fine now. What i did is as follows 

dspace.hostname = (from localhost to myserverip)
dspace.baseurl = (from http://localhost:8080 to http://myserverip:8080)
dspace.url = (from http://localhost:8080/jspui to http://myserverip:8080/jspui)
mail.allowed.referrers = localhost,myserverip

Thanks for the support. Specially from Claudia

--- On Mon, 1/28/13, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: [Dspace-tech] Feedback page problem (DSpace 3.0)
 To: mErRYo merryob...@yahoo.com
 Cc: dspace-tech@lists.sourceforge.net, claudia.juer...@ub.tu-dortmund.de
 Date: Monday, January 28, 2013, 2:41 PM
 What is the contents of your hosts
 file (/etc/hosts)?
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] How customize v 3.0 Discovery search filter drop-down labels

2013-01-28 Thread mErRYo
Well i created new sidebar facet and search filter now which is working fine. 
Steps mentioned in manual were right but the only problem i was facing that it 
doesn't implicitly mention to rebuild solr index also, though it has solr index 
maintenance topic after it. 

After doing editing in discovery.xml file i ran command i.e. 
update-discovery-index with -b parameter to recreate my solr index and it 
worked fine after sometime i also ran same command with -o parameter for solr 
search core optimization.


--- On Wed, 1/23/13, mErRYo merryob...@yahoo.com wrote:

 From: mErRYo merryob...@yahoo.com
 Subject: Re: [Dspace-tech] How customize v 3.0 Discovery search filter 
 drop-down labels
 To: heli...@centrum.sk
 Cc: dspace-tech@lists.sourceforge.net
 Date: Wednesday, January 23, 2013, 1:48 PM
 I already did this but no effect any
 other idea
 
 --- On Wed, 1/23/13, helix84 heli...@centrum.sk
 wrote:
 
  From: helix84 heli...@centrum.sk
  Subject: Re: [Dspace-tech] How customize v 3.0
 Discovery search filter drop-down labels
  To: mErRYo merryob...@yahoo.com
  Cc: dspace-tech@lists.sourceforge.net
  Date: Wednesday, January 23, 2013, 12:19 PM
  Here is the official documentation of
  those configuration options:
  https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-SearchfilterssidebarfacetsCustomization
  
  The only difference I can see is that you used the
  DiscoverySearchFilterFacet class, while the
 documentation
  tells you to
  use the DiscoverySearchFilter class. Try changing that.
 Also
  try
  running update-discovery-index after changing the
  configuration,
  although I don't think that's necessary.
  
  I'm in fact using DiscoverySearchFilterFacet myself,
 but my
  search
  filters are also facets and I'm using XMLUI.
  
  
  Regards,
  ~~helix84
  
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
  
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
 HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your
 skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by
 Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnnow-d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Internal Server Error on community-list page

2013-01-27 Thread mErRYo
I am getting following error code in my production enviroment which is running 
on Oracle linux 5.1 with Dspace 3.0+ Postgresql+JSPUI+Discovery.



URL Was: http://myserverip/jspui/community-list

-- Method: GET

-- Parameters were:

 

 

Exception:

javax.servlet.ServletException:
org.apache.jasper.JasperException: java.io.IOException: Stream closed

    at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:85)

    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

    at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

    at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

    at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

    at
org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)

    at
org.dspace.app.webui.servlet.CommunityListServlet.doDSGet(CommunityListServlet.java:76)

    at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)

    at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)

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

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

    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

    at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

    at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)

    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

    at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)

    at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

    at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)

    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

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

Caused by: org.apache.jasper.JasperException:
java.io.IOException: Stream closed

    at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)

    at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:460)

    at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

    at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

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

    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

    ... 31 more

Caused by: java.io.IOException: Stream closed

    at
org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:210)

    at
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:322)

    at
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:353)

    at
org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:488)

    at
org.apache.jasper.runtime.JspWriterImpl.println(JspWriterImpl.java:606)

    at
org.apache.jsp.community_002dlist_jsp.showCommunity(community_002dlist_jsp.java:79)

    at
org.apache.jsp.community_002dlist_jsp.showCommunity(community_002dlist_jsp.java:75)

    at
org.apache.jsp.community_002dlist_jsp.showCommunity(community_002dlist_jsp.java:75)

 

Re: [Dspace-tech] Feedback page problem (DSpace 3.0)

2013-01-27 Thread mErRYo
Here are my dspace.cfg setings:

dspace.hostname = localhost
dspace.baseurl = http://localhost:8080
dspace.url = http://localhost:8080/jspui
mail.allowed.referrers = localhost

and my feeback page url link is : ${dspace.url}/feedback from (server machine)
and http://myserverip:8080/jspui/feedback from (client machine)

I hope this shall help you.



--- On Fri, 1/25/13, Claudia Jürgen claudia.juer...@ub.tu-dortmund.de wrote:

 From: Claudia Jürgen claudia.juer...@ub.tu-dortmund.de
 Subject: Re: [Dspace-tech] Feedback page problem (DSpace 3.0)
 To: dspace-tech@lists.sourceforge.net
 Date: Friday, January 25, 2013, 9:44 PM
 
 Hello,
 
 yes this is reproducable using different names in
 dspace.hostname and 
 dspace.baseUrl. Check your build.properties for these
 values.
 Maybe you got
 dspace.hostname = localhost
 and
 dspace.baseUrl = http://just.something.different
 
 A setting which further influences this is the dspace.cfg
 setting:
 # A comma-separated list of hostnames that are allowed to
 refer browsers 
 to email forms.
 # Default behaviour is to accept referrals only from
 dspace.hostname
 mail.allowed.referrers = ${dspace.hostname}
 
 
 Hope this helps
 
 Claudia Jürgen
 
 
 
 
 Am 24.01.2013 09:04, schrieb mErRYo:
  Hi all, I am using dspace 3.0 with jspui 
 discovery. I am facing problem
  when i click on feedback page. Problem is when a
 anonymous user clicks on
  this page link it ask for username and password (that
 is redirect to
  password login page). While for authenticated users it
 gives the message that
  you don't have the authorization. Can anyone tell
 what is going wrong with
  this page. Have i done something wrong in dspace.cfg
 file. As far as i know
  there is no setting on dspace.cfg file which effects
 this.
 
 
 --
  Master Visual Studio, SharePoint, SQL, ASP.NET, C#
 2012, HTML5, CSS,
  MVC, Windows 8 Apps, JavaScript and much more. Keep
 your skills current
  with LearnDevNow - 3,200 step-by-step video tutorials
 by Microsoft
  MVPs and experts. ON SALE this month only -- learn more
 at:
  http://p.sf.net/sfu/learnnow-d2d
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette: 
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 -- 
 Claudia Juergen
 Universitaetsbibliothek Dortmund
 Eldorado
 0231/755-4043
 https://eldorado.tu-dortmund.de/
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
 HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your
 skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by
 Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnnow-d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Feedback page problem (DSpace 3.0)

2013-01-24 Thread mErRYo
Hi all, I am using dspace 3.0 with jspui  discovery. I am facing problem
when i click on feedback page. Problem is when a anonymous user clicks on
this page link it ask for username and password (that is redirect to 
password login page). While for authenticated users it gives the message that
you don't have the authorization. Can anyone tell what is going wrong with 
this page. Have i done something wrong in dspace.cfg file. As far as i know 
there is no setting on dspace.cfg file which effects this.

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] List of Internal Server Error DSpace 3.0 (JSPUI + Postgresql with discovery)

2013-01-24 Thread mErRYo
Yes same errors do occur when i set the db.maxconnections = 30 and 
db.maxwait = 5000. For postgresql, max connections is set on default i.e. 100 


--- On Thu, 1/24/13, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: [Dspace-tech] List of Internal Server Error DSpace 3.0 (JSPUI + 
 Postgresql with discovery)
 To: mErRYo merryob...@yahoo.com
 Cc: dspace-tech@lists.sourceforge.net
 Date: Thursday, January 24, 2013, 1:07 PM
 On Thu, Jan 24, 2013 at 7:52 AM,
 mErRYo merryob...@yahoo.com
 wrote:
  Hi all, I am getting different errors from different
 pages of my Dspace
  production instance. Please help me to resolve it. I
 did set the
  db.maxconnection to 50 and db.maxwait to 3 in
 dspace.cfg file.
 
 What max. number of connections did you set in Postgres
 configuration?
 
 Do the problems persist when you set these options back to
 their
 default values? (Changing db.maxwait is probably a bad idea,
 anyway.)
 db.maxconnections = 30
 db.maxwait = 5000
 
 Also try restarting Postgres just once.
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Internal Server Error on statistics link (Admin menu)

2013-01-24 Thread mErRYo
Initially when this error is occuring i don't have any report in my reports 
directory. I generated two reports and now it is showing me proper report 
without this exception. 

I must say DSpace developer must release their build after through testing 
otherwise such incidents create embarrassments for people like us. 

I thank you for your support.

--- On Thu, 1/24/13, Bram Luyten b...@mire.be wrote:

From: Bram Luyten b...@mire.be
Subject: Re: [Dspace-tech] Internal Server Error on statistics link (Admin menu)
To: mErRYo merryob...@yahoo.com
Cc: dspace-tech@lists.sourceforge.net
Date: Thursday, January 24, 2013, 5:12 PM

Hi mErRYo,
can you verify whether any reports are present in your reports directory?
by default this is/reports/ in your dspace install dir
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1439



Just a wild theory at this point but if the directory is empty, it could be 
that this line already sends you to a no-report 
pagehttps://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L168


while the code still gets down to another forward on line 
260https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L260


At this second forward, he can't forward you anymore because you have already 
been forwarded, hence the error.Can't explain it otherwise because I only see 
two forwards in that servlet.


this bug could be fixed by adding a return statement on line 169.
rgds
Bram Luyten

-- 

 
Bram Luyten @mire



2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 www.atmire.com




On Thu, Jan 24, 2013 at 7:30 AM, mErRYo merryob...@yahoo.com wrote:


Hi All, I am getting following error when i click on statistics page under

administer menu. How can i resolve it, though i change my db.maxconnections

to 50 and db.maxwait to 3 (30 Sec) in dspace.cfg file. I am using Dspace 
3.0 with jspui  discovery



Please help.



-- URL Was: http://myip/jspui/statistics

-- Method: GET

-- Parameters were:





Exception:

java.lang.IllegalStateException: Cannot forward after response has been 
committed

        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:349)

        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

        at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)

        at 
org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:260)

        at 
org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68)

        at 
org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49)

        at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)

        at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)

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

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

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)

        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

        at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)

        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

        at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)

        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:662

Re: [Dspace-tech] How customize v 3.0 Discovery search filter drop-down labels

2013-01-23 Thread mErRYo
I already did this but no effect any other idea

--- On Wed, 1/23/13, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: [Dspace-tech] How customize v 3.0 Discovery search filter 
 drop-down labels
 To: mErRYo merryob...@yahoo.com
 Cc: dspace-tech@lists.sourceforge.net
 Date: Wednesday, January 23, 2013, 12:19 PM
 Here is the official documentation of
 those configuration options:
 https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-SearchfilterssidebarfacetsCustomization
 
 The only difference I can see is that you used the
 DiscoverySearchFilterFacet class, while the documentation
 tells you to
 use the DiscoverySearchFilter class. Try changing that. Also
 try
 running update-discovery-index after changing the
 configuration,
 although I don't think that's necessary.
 
 I'm in fact using DiscoverySearchFilterFacet myself, but my
 search
 filters are also facets and I'm using XMLUI.
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] List of Internal Server Error DSpace 3.0 (JSPUI + Postgresql with discovery)

2013-01-23 Thread mErRYo
Hi all, I am getting different errors from different pages of my Dspace 
production instance. Please help me to resolve it. I did set the 
db.maxconnection to 50 and db.maxwait to 3 in dspace.cfg file.

Please help its very urgent.

Error 1:
=

2013-01-23 17:57:35,143 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=DDD1899117FC2068E65F3F530E6B6534:internal_error:-- 
URL Was: http://myserverip/jspui/simple-search
-- Method: GET
-- Parameters were:

javax.servlet.ServletException: This statement has been closed.
at 
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:66)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.dspace.app.webui.search.SearchProcessorException: This statement 
has been closed.
at 
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:277)
at 
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:62)
... 23 more
Caused by: org.postgresql.util.PSQLException: This statement has been closed.
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.checkClosed(AbstractJdbc2Statement.java:2512)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:386)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at 
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:225)
at org.dspace.content.Community.findAllTop(Community.java:308)
at 
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:273)
... 24 more

Error 2:
=

2013-01-23 17:57:37,437 INFO  org.dspace.app.webui.servlet.CommunityListServlet 
@ ad...@abc.com:session_id=DDD1899117FC2068E65F3F530E6B6534:
ip_addr=myuserip:view_community_list:
2013-01-23 17:57:37,438 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
ad...@abc.com:session_id=DDD1899117FC2068E65F3F530E6B6534:
ip_addr=myuserip:database_error:org.postgresql.util.PSQLException\colon; This 
statement has been closed.
org.postgresql.util.PSQLException: This statement has been closed.
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.checkClosed(AbstractJdbc2Statement.java:2512)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:386)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
   

Re: [Dspace-tech] Getting password login form instead of LDAP login form

2013-01-22 Thread mErRYo
Can anyone help me to resolve this query

--- On Mon, 1/21/13, mErRYo merryob...@yahoo.com wrote:

 From: mErRYo merryob...@yahoo.com
 Subject: [Dspace-tech] Getting password login form instead of LDAP login form
 To: dspace-tech@lists.sourceforge.net
 Date: Monday, January 21, 2013, 3:20 PM
 Hi I am working with Dspace 3.0 with
 jspui. I am using LDAP and password base
 authentication, both are working fine. But problem is
 whatever authentication method i choose from chooser.jsp
 page I always get user/email 
 field label key value set on jsp.components.login-form.email
 from 
 Message.properties. I tired and checked it through dry run
 but chooser.jsp 
 renders password.jsp which inturn renders login-form.jsp in
 both cases 
 whereas in reality it should have rendered ldap.jsp which
 inturns rendered 
 ldap-form.jsp in case of ldap authentication. 
 
 Can some one help me in this. Secondly do i have to rebuild
 my dspace 
 customization again to work fine or not (I think i don't
 need to 
 rebuild my dspace again)
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
 HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your
 skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by
 Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more
 at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] How customize v 3.0 Discovery search filter drop-down labels

2013-01-22 Thread mErRYo
Is there anyone who can tell how to do this thing in JSPUI also. I have 
Dspace3.0 jspui with discovery. I want to add filters only without sidebar 
facet. I acheived to add filter but it is not working. I added abstract 
(dc.description.abstract) filter but when i do filter on this field it returns 
nothing. I added this filter in dspace/config/spring/api/discovery.xml file. 
My abstract filter settings in discovery.xml file is as follows.

!--The search filters which can be used on the discovery search page--
property name=searchFilters
list
ref bean=searchFilterTitle /
ref bean=searchFilterAuthor /
ref bean=searchFilterSubject /
ref bean=searchFilterIssued /
ref bean=searchFilterAbstract /
/list
/property

and, 

!--Search filter configuration beans--
bean id=searchFilterAbstract 
class=org.dspace.discovery.configuration.DiscoverySearchFilterFacet
property name=indexFieldName value=abstract/
property name=metadataFields
list
valuedc.description.abstract/value
/list
/property
/bean

I need urgent reply on it. I also want to know if it is mandatory to have 
sidebar facet of a field enable for respective filter option to work or one can 
create as many filter he wants without having sidebar facet.


--- On Tue, 1/22/13, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: [Dspace-tech] How customize v 3.0 Discovery search filter 
 drop-down labels
 To: c...@umich.edu
 Cc: dspace-tech@lists.sourceforge.net
 Date: Tuesday, January 22, 2013, 2:22 PM
 Hi Charles,
 
 sorry for the late response, I had to test it.
 
 As you correctly found out, the string comes from
 xmlui.ArtifactBrowser.SimpleSearch.filter.dateIssued
 
 The reason why it didn't show up immediately after you
 changed it in
 messages.xml and restarted Tomcat is that you have
 previously viewed
 that page and Cocoon (the framework XMLUI is built on)
 caches pages
 for you. So the old string from before you made the change
 was still
 there. At a later time (when you did a change to the
 underlying DRI by
 adding a filter) the cached version was updated and you
 started to see
 the new string.
 
 To prevent this in the future, don't forget to clear your
 Cocoon cache:
 https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
 HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your
 skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by
 Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnnow-d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] LDAP Authentication (Hierarchical) - Dspace 3.0 (No DN found for user)

2013-01-21 Thread mErRYo
Thanks Helix as this resolved my query. 

--- On Thu, 1/17/13, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: [Dspace-tech] LDAP Authentication (Hierarchical) - Dspace 3.0 
 (No DN found for user)
 To: mErRYo merryob...@yahoo.com
 Cc: dspace-tech@lists.sourceforge.net
 Date: Thursday, January 17, 2013, 5:57 PM
 The first strange thing from the
 get-go is that
 LDAPHierarchicalAuthentication which you're using is no
 longer in
 DSpace 3.0, its functionality has been integrated into
 LDAPAuthentication. So you probably used the old class with
 the new
 code. This should work, assuming you compiled it
 (LDAPHierarchicalAuthentication.java) in the new codebase.
 If you
 decide to go use the new LDAPAuthentication class, you
 should set
 search.anonymous = false (I'm not sure what the default is
 if it's not
 set).
 
 About no DN found for user - this is printed when the
 admin user's
 DN cannot be found in the LDAP directory. This means that
 either
 search.user/search.password is wrong or connection to LDAP
 couldn't be
 established (provider_url et al).
 
 Try the new LDAPAuthentication class first. Details are in
 the upgrading notes.
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Getting password login form instead of LDAP login form

2013-01-21 Thread mErRYo
Hi I am working with Dspace 3.0 with jspui. I am using LDAP and password base
authentication, both are working fine. But problem is whatever authentication 
method i choose from chooser.jsp page I always get user/email 
field label key value set on jsp.components.login-form.email from 
Message.properties. I tired and checked it through dry run but chooser.jsp 
renders password.jsp which inturn renders login-form.jsp in both cases 
whereas in reality it should have rendered ldap.jsp which inturns rendered 
ldap-form.jsp in case of ldap authentication. 

Can some one help me in this. Secondly do i have to rebuild my dspace 
customization again to work fine or not (I think i don't need to 
rebuild my dspace again)

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] LDAP Authentication (Hierarchical) - Dspace 3.0 (No DN found for user)

2013-01-17 Thread mErRYo
Hi, I am using Dspace 3.0 jspui with two authentication mechanism i.e. password 
base and ldap base. My password is working fine but my ldap is throwing me 
warning that No DN found for user. I checked my dspace log and there is no 
other exception. See my log details below:

*
2013-01-17 17:03:32,196 INFO  org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:authenticate:attempting
 password auth of user=myu...@abc.com
2013-01-17 17:03:32,196 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query select * from eperson where email = ?   with parameters: 
myu...@abc.com
2013-01-17 17:03:32,290 INFO  
org.dspace.authenticate.LDAPHierarchicalAuthentication @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:auth:attempting
 trivial auth of user=myu...@abc.com
2013-01-17 17:03:32,290 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query select * from eperson where netid = ?   with parameters: 
myu...@abc.com
2013-01-17 17:03:32,321 INFO  
org.dspace.authenticate.LDAPHierarchicalAuthentication @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:failed_login:no
 DN found for user myu...@abc.com
2013-01-17 17:03:32,321 INFO  org.dspace.app.webui.servlet.PasswordServlet @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:failed_login:email=myu...@abc.com,
 result=2
2013-01-17 17:03:32,321 DEBUG org.dspace.app.webui.util.JSPManager @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:view_jsp:/login/incorrect.jsp
**

my authentication-ldap.cfg details are as follows:

enable = true

# LDAP AutoRegister Settings #
autoregister = false
provider_url = ldap://serverip:389/
id_field = cn
object_context = cn=users,DC=abc,DC=com
search_context = cn=users,DC=abc,DC=com
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber

#login.specialgroup = group-name
# Hierarchical LDAP Settings #

search_scope = 2
# search.anonymous = false
search.user = cn=administrator,cn=users,dc=abc,dc=com
search.password = mypass

#netid_email_domain = @example.com

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Restricted Item Setting

2013-01-15 Thread mErRYo
I am using Dspace 3.0 jspui with discovery. I want to know what this restricted 
item setting is for. In my dspace.cfg file I tried to make the values of 
harvest.includerestricted.oai = true, harvest.includerestricted.rss = true  
harvest.includerestricted.subscription = true all as false but i cant see
any change on my interface settings or any functionality. Can any one
explain in detail as the manual doesn't cover much for understanding.
Secondly I also want users who are not authenticated on my dspace can only
see meta data and attached bitstream of an item but cannot view or download 
it untill they are properly authenticated. I mean whenever they click the 
view or open or bitstream name hyperlink they must always direct to login 
page. Any help in this regard shall highly be appreciated.

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Text Highlighting or Full text Searching

2013-01-08 Thread mErRYo
Thanks All that replied. Helix your solution worked whereas reply from Andrea 
was also what i want to know. I thank both the fellows.

--- On Mon, 1/7/13, Andrea Bollini a.boll...@cineca.it wrote:

 From: Andrea Bollini a.boll...@cineca.it
 Subject: Re: [Dspace-tech] Text Highlighting or Full text Searching
 To: heli...@centrum.sk
 Cc: dspace-tech@lists.sourceforge.net
 Date: Monday, January 7, 2013, 5:55 PM
 true ;-)
 I was confused by the email subject, my answer will be good
 for the next 
 step (when the search will work and no text-snippets will be
 shown)
 
 Andrea
 
 Il 07/01/2013 13:49, helix84 ha scritto:
  Hi Andrea, I don't see any indication that he was
 asking about search
  results highlighting. As I understood it, he seems to
 have a problem
  with indexing/searching fulltext documents.
 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
 HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your
 skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by
 Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more
 at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Text Highlighting or Full text Searching

2013-01-07 Thread mErRYo
I have installled Dspace 3.0 with postgresql and using JSPUI with discovery. I 
enbaled media filter for html,pdf  word to search text within these format 
documents. But when i check it i dont get the result. I only get the result if 
my search word is present in title or abstract field. Can anyone help me to 
resolve this issue. I checked the demo on dspace.org and it gives the searching 
within the pdf documents also. E.g. If i am searching authentication word and 
if this word doesn't exist in title or in abstract but do exists with in the 
pdf document i must get that result. This is currenty not happening in my 
installed version.

Thanks

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Solr Exception in DSpace 3.0

2013-01-03 Thread mErRYo
Hi all can you tell why this following error is occuring.

Exception is :
SEVERE: org.apache.solr.common.SolrException: 
org.apache.lucene.queryParser.ParseException: Cannot parse 'title:()': 
Encountered  ) )  at line 1, column 7.
Was expecting one of:
NOT ...
+ ...
- ...
( ...
* ...
QUOTED ...
TERM ...
PREFIXTERM ...
WILDTERM ...
[ ...
{ ...
NUMBER ...
TERM ...
* ...

at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:125)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:173)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 
'title:()': Encountered  ) )  at line 1, column 7.
Was expecting one of:
NOT ...
+ ...
- ...
( ...
* ...
QUOTED ...
TERM ...
PREFIXTERM ...
WILDTERM ...
[ ...
{ ...
NUMBER ...
TERM ...
* ...

at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)
at 
org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:80)
at org.apache.solr.search.QParser.getQuery(QParser.java:142)
at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:114)
... 24 more
Caused by: org.apache.lucene.queryParser.ParseException: Encountered  ) ) 
 at line 1, column 7.
Was expecting one of:
NOT ...
+ ...
- ...
( ...
* ...
QUOTED ...
TERM ...
PREFIXTERM ...
WILDTERM ...
[ ...
{ ...
NUMBER ...
TERM ...
* ...

at 
org.apache.lucene.queryParser.QueryParser.generateParseException(QueryParser.java:1818)
at 
org.apache.lucene.queryParser.QueryParser.jj_consume_token(QueryParser.java:1700)
at 
org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1327)
at 
org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237)
at 
org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1313)
at 
org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237)
at 
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
... 27 more
 

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

[Dspace-tech] Severe Warnings from SOLR Dspace 3.0

2013-01-03 Thread mErRYo
Any idea why it is happening. Is it related with memory allocation of web 
applications though i have set the Java_opts params at high rate.

Severe Warnings:

SEVERE: The web application [/solr] appears to have started a thread named 
[MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is 
very likely to create a memory leak.
Dec 24, 2012 5:20:45 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6a9a9631]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.
Dec 24, 2012 5:20:45 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6a9a9631]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.
Dec 24, 2012 5:20:45 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6a9a9631]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.
Dec 24, 2012 5:20:45 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6a9a9631]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.
Dec 24, 2012 5:20:45 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6a9a9631]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.
Dec 24, 2012 5:20:45 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6a9a9631]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Discovery SearchServiceException: This statement has been closed.

2013-01-03 Thread mErRYo
Why this error is happening.

2012-12-28 14:12:05,094 ERROR org.dspace.app.webui.discovery.DiscoverUtility @ 
anonymous:session_id=F09C92140F40599DA8F750F10041776A:ip_addr=[IP 
Address]:Error in discovery while setting up date facet range:date facet\colon; 
dateIssued.year
org.dspace.discovery.SearchServiceException: This statement has been closed.
at 
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1448)
at 
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1433)
at 
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1416)
at 
org.dspace.app.webui.discovery.DiscoverUtility.setFacet(DiscoverUtility.java:450)
at 
org.dspace.app.webui.discovery.DiscoverUtility.getDiscoverQuery(DiscoverUtility.java:95)
at 
org.dspace.app.webui.discovery.SideBarFacetProcessor.process(SideBarFacetProcessor.java:67)
at 
org.dspace.app.webui.discovery.SideBarFacetProcessor.process(SideBarFacetProcessor.java:61)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:120)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.postgresql.util.PSQLException: This statement has been closed.
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.checkClosed(AbstractJdbc2Statement.java:2512)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.setInt(AbstractJdbc2Statement.java:1213)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:120)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:120)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:120)
at 
org.dspace.storage.rdbms.DatabaseManager.loadParameters(DatabaseManager.java:1558)
at 
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:223)
at 
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseManager.java:366)
at 
org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.java:514)
at 
org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:476)
at org.dspace.content.Item.find(Item.java:155)
at org.dspace.content.DSpaceObject.find(DSpaceObject.java:119)
at 
org.dspace.discovery.SolrServiceImpl.findDSpaceObject(SolrServiceImpl.java:1748)
at 
org.dspace.discovery.SolrServiceImpl.retrieveResult(SolrServiceImpl.java:1632)
at 
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1444)
... 32 more
2012-12-28 14:12:05,107 WARN  org.dspace.jsp @ 
anonymous:session_id=F09C92140F40599DA8F750F10041776A:ip_addr=[IP 

[Dspace-tech] PremGen Error While adding community

2012-12-20 Thread mErRYo
I am running Dspace 3.0 jspui with postgre 9.2 and tomcat 7. When i try to add 
top level community or check item statistics i get premgen error. Does anyone 
know what is happening wrong. I don't see it a memory issue what else is wrong.



INFO: Starting ProtocolHandler [ajp-bio-8009]
Dec 20, 2012 2:17:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 62960 ms
Dec 20, 2012 2:20:43 PM org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug 
logging for this logger for a complete list of JARs that were scanned but no 
TLDs were found in them. Skipping unneeded JARs during scanning can improve 
startup time and JSP compilation time.
Dec 20, 2012 2:23:35 PM org.apache.solr.core.SolrCore execute
INFO: [statistics] webapp=/solr path=/select 
params={q=type:2+AND+id:1wt=javabinversion=2} hits=0 status=0 QTime=63 
Exception in thread http-bio-8080-exec-7 java.lang.OutOfMemoryError: PermGen 
space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2904)
at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.xbill.DNS.Record.newRecord(Record.java:157)
at org.xbill.DNS.Record.newRecord(Record.java:175)
at org.dspace.statistics.util.DnsLookup.reverseDns(DnsLookup.java:33)
at 
org.dspace.statistics.SolrLogger.getCommonSolrDoc(SolrLogger.java:290)
at org.dspace.statistics.SolrLogger.postView(SolrLogger.java:216)
at 
org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:40)
at 
org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:144)
at 
org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:86)
at 
org.dspace.app.webui.servlet.HandleServlet.communityHome(HandleServlet.java:498)
at 
org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:254)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] PremGen Error While adding community

2012-12-20 Thread mErRYo
Thanks the article resolved our issue.

--- On Thu, 12/20/12, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: PremGen Error While adding community
 To: mErRYo merryob...@yahoo.com
 Cc: hilton.gib...@gmail.com, lighton.ph...@gmail.com, jm...@lyncode.com, 
 dspace-tech@lists.sourceforge.net, mw...@iupui.edu
 Date: Thursday, December 20, 2012, 2:42 PM
 How did you set the amount of memory
 for Tomcat, in which variable and
 which file? Even if the amounts are sufficient, maybe Tomcat
 isn't
 picking them up. The correct variables are described here,
 along with
 some guidelines about the values for individual memory
 pools:
 
 https://wiki.duraspace.org/display/DSDOC3x/Performance+Tuning+DSpace
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Mvn package build fail

2012-12-14 Thread mErRYo
Issue Resolved. 

Actually the problem is (due to dspace online documentaation which says: to 
manually install Oracle JDBC Driver with maven command : mvn install:install 
. , as incomplete oracle version is mentioned 11.2.0.3 instead of 
11.2.0.3.0) .

Secondly again according to dspace online documentation: add Oracle dependency 
descriptor in pom.xml , which is not required, because it is already mentioned 
in pom.xml file, ALL you need is to correct the driver version 11.2.0.2.0 TO 
11.2.0.3.0 

After that run mvn package command to build your package for oracle . You will 
be successful.



--- On Thu, 12/13/12, mErRYo merryob...@yahoo.com wrote:

From: mErRYo merryob...@yahoo.com
Subject: Re: Mvn package build fail
To: heli...@centrum.sk
Cc: hilton.gib...@gmail.com, lighton.ph...@gmail.com, jm...@lyncode.com, 
dspace-tech@lists.sourceforge.net, mw...@iupui.edu
Date: Thursday, December 13, 2012, 9:14 PM

Guys I already these steps as mentioned by Mr. Wood and Helix but the result is 
same error. I got few warnings also which is as follows:

[WARNING] Some problems were encountered while building the effective model for 
org.dspace:dspace:pom:3.0
[WARNING] 
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: com.oracle:ojdbc6:jar - version 11.2.0.2 vs 11.2.0.2.0 @ 
org.dspace:dspace-parent:3.0, /usr/local/dspace-3.0-src-release/pom.xml, line 
853, column 22
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.

my log file is also attached.


--- On Thu, 12/13/12, helix84
 heli...@centrum.sk wrote:

From: helix84 heli...@centrum.sk
Subject: Re: Mvn package build fail
To: mErRYo merryob...@yahoo.com
Cc: hilton.gib...@gmail.com, lighton.ph...@gmail.com, jm...@lyncode.com, 
dspace-tech@lists.sourceforge.net
Date: Thursday, December 13, 2012, 7:22 PM

On Thu, Dec 13, 2012 at 1:46 PM, mErRYo merryob...@yahoo.com wrote:
 I am using dspace 3.0 release and my maven build is failing when i try to run 
 this command
 mvn -Ddb.name=oracle package

The correct installation procedure for Oracle is described in the
official documentation:

https://wiki.duraspace.org/display/DSDOC3x/Installation


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Ant fresh_install fails

2012-12-14 Thread mErRYo
Well the code is right and according to github (weblink that helix provided). I 
think the problem is with oracle db scripts. I don't understand why its not 
working with oracle when it is working fine with postgre. I mean i have 
dspace3.0 release with postgre also and it worked fine. Postgre DB schema is 
created and values inserted fine.

Please help. Its very urgent as my production installation got broke and i have 
timelines to meet.

--- On Fri, 12/14/12, helix84 heli...@centrum.sk wrote:

 From: helix84 heli...@centrum.sk
 Subject: Re: Ant fresh_install fails
 To: mErRYo merryob...@yahoo.com
 Cc: hilton.gib...@gmail.com, lighton.ph...@gmail.com, jm...@lyncode.com, 
 dspace-tech@lists.sourceforge.net, mw...@iupui.edu
 Date: Friday, December 14, 2012, 5:00 PM
 On Fri, Dec 14, 2012 at 12:33 PM,
 mErRYo merryob...@yahoo.com
 wrote:
       [java] 2012-12-14 16:23:17,461
 FATAL org.dspace.administer.RegistryLoader @
 anonymous::error_loading_registries:
       [java]
 java.lang.NullPointerException
       [java]     at
 org.dspace.storage.rdbms.ColumnInfo.canonicalize(ColumnInfo.java:154)
 
 That's strange, there's nothing on this line that would
 cause a NPE:
 
 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-api/src/main/java/org/dspace/storage/rdbms/ColumnInfo.java#L154
 
 What do you see there in your sources?
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Mvn package build fail

2012-12-13 Thread mErRYo
I am using dspace 3.0 release and my maven build is failing when i try to run 
this command
mvn -Ddb.name=oracle package

I am using oracle 11g XE with oracle Linux and maven is 3.x


error it throws is :
Failed to execute goal on project additions: Could not resolve dependencies for 
project org.dspace.modules:additions:jar:3.0: Failure to find 
com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced

detail trace is:

[ERROR] Failed to execute goal on project additions: Could not resolve 
dependencies for project org.dspace.modules:additions:jar:3.0: Failure to find 
com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project additions: Could not resolve dependencies for project 
org.dspace.modules:additions:jar:3.0: Failure to find 
com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not 
resolve dependencies for project org.dspace.modules:additions:jar:3.0: Failure 
to find com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced
    at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
    ... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: 
Failure to find com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced
    at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
    at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
    ... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure 
to find com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution 

[Dspace-tech] Item level Statistics in DSpace 3.0 RC3 is not showing

2012-12-09 Thread mErRYo


I am using DSpace 3.0 Rc3 with JSPUI and discovery
enabled. I noticed that my item level statistics is not showing anything at
all. What can be the reason and how can I correct it.

Secondly do i have to make changes in discovery.cfg, usage-statistics.cfg and 
solr cfg in dspace/config/modules directory. By the way I kept everything in 
default in these files except the url thing 




 

Thanks

UK--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette