Re: [Dspace-tech] solr configuration

2012-11-21 Thread Domingo Iglesias
Hi

Thanks for your responses.
Re-checking the config files we have seen that the following line

 

was missing in [dspace.dir]/solr/statistics/conf/schema.xml




2012/11/21 helix84 

> I'm not completely sure, but from your stracktrace it looks like you
> may be hitting the localhost restriction (by default, Solr in DSpace
> is set up so that you can connect to it only from localhost).
>
> I'm not familiar with WebLogic, but here's how to do that in Tomcat:
>
>
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestrictionpermanently
>
> What exactly are you trying to do? What DSpace version are you using?
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> Aquest correu electrònic i els annexos poden contenir informació
> confidencial o protegida legalment i està adreçat exclusivament a la
> persona o entitat destinatària. Si no sou el destinatari final o la persona
> encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo,
> modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu
> rebut aquest correu electrònic per error, us preguem que n’informeu al
> remitent i que elimineu del sistema el missatge i el material annex que
> pugui contenir. Gràcies per la vostra col·laboració.
>
> Este correo electrónico y sus anexos pueden contener información
> confidencial o legalmente protegida y está exclusivamente dirigido a la
> persona o entidad destinataria. Si usted no es el destinatario final o la
> persona encargada de recibirlo, no está autorizado a leerlo, retenerlo,
> modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha
> recibido este mensaje electrónico por error, le rogamos que informe al
> remitente y elimine del sistema el mensaje y el material anexo que pueda
> contener. Gracias por su colaboración.
>
> This email message and any documents attached to it may contain
> confidential or legally protected material and are intended solely for the
> use of the individual or organization to whom they are addressed. We remind
> you that if you are not the intended recipient of this email message or the
> person responsible for processing it, then you are not authorized to read,
> save, modify, send, copy or disclose any of its contents. If you have
> received this email message by mistake, we kindly ask you to inform the
> sender of this and to eliminate both the message and any attachments it
> carries from your account. Thank you for your collaboration.
>



-- 

---
Domingo Iglesias
Universitat de Barcelona
Area de Tecnologies
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] solr configuration

2012-11-21 Thread Hilton Gibson
Hi Truong

Without knowing which platform you are using.
If it is linux based, then a simple firewall rule will protect port 8080.
For Ubuntu see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Firewall


On 21 November 2012 14:08, revskill  wrote:

> I'm running dspace/tomcat behind Nginx as reverse proxy, i've changed also
> the solr url into real hostname (not localhost:8080), and i can access SOLR
> admin from outside. Do you know how to make SOLR more secure with that
> setup ?
>
>
> 2012/11/21 helix84 
>
>> I'm not completely sure, but from your stracktrace it looks like you
>> may be hitting the localhost restriction (by default, Solr in DSpace
>> is set up so that you can connect to it only from localhost).
>>
>> I'm not familiar with WebLogic, but here's how to do that in Tomcat:
>>
>>
>> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestrictionpermanently
>>
>> What exactly are you trying to do? What DSpace version are you using?
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>> --
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
>
> --
> TRUONG HOANG DUNG*
> **Librarian Researcher
> **Information and Library Centre
> Mobile: 0121.411.5322
> Email: dun...@hpu.edu.vn*
> *Hai Phong Private University* 
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] solr configuration

2012-11-21 Thread helix84
On Wed, Nov 21, 2012 at 1:08 PM, revskill  wrote:
> I'm running dspace/tomcat behind Nginx as reverse proxy, i've changed also
> the solr url into real hostname (not localhost:8080), and i can access SOLR
> admin from outside. Do you know how to make SOLR more secure with that setup
> ?

Yes, use the RemoteAddrValve in Tomcat to define allowed source IPs:

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestrictionpermanently

Alternatively, use a firewall to define allowed source IPs and deny
access from elsewhere.

Please, next time don't hijack an email thread but start a new one.
Your question is not related to the original question.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] solr configuration

2012-11-21 Thread revskill
I'm running dspace/tomcat behind Nginx as reverse proxy, i've changed also
the solr url into real hostname (not localhost:8080), and i can access SOLR
admin from outside. Do you know how to make SOLR more secure with that
setup ?


2012/11/21 helix84 

> I'm not completely sure, but from your stracktrace it looks like you
> may be hitting the localhost restriction (by default, Solr in DSpace
> is set up so that you can connect to it only from localhost).
>
> I'm not familiar with WebLogic, but here's how to do that in Tomcat:
>
>
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestrictionpermanently
>
> What exactly are you trying to do? What DSpace version are you using?
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
TRUONG HOANG DUNG*
**Librarian Researcher
**Information and Library Centre
Mobile: 0121.411.5322
Email: dun...@hpu.edu.vn*
*Hai Phong Private University* 
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] solr configuration

2012-11-21 Thread helix84
I'm not completely sure, but from your stracktrace it looks like you
may be hitting the localhost restriction (by default, Solr in DSpace
is set up so that you can connect to it only from localhost).

I'm not familiar with WebLogic, but here's how to do that in Tomcat:

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestrictionpermanently

What exactly are you trying to do? What DSpace version are you using?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] solr configuration

2012-11-21 Thread Hilton Gibson
Hi Domingo

I assume you did an upgrade.
This is new with DSpace 1.8.2 stats.
See:
https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.7.x+to+1.8.x
Look for: "Optional Upgrade Step: Fix Broken File Statistics"

Cheers

hg


On 21 November 2012 13:50, Domingo Iglesias  wrote:

> Hello
>
> We are trying to setup solr to gather statistics and found in the server
> log this error:
>
> -
> Nov 21, 2012 11:20:37 AM org.apache.solr.common.SolrException log
> SEVERE: org.apache.solr.common.SolrException: ERROR:unknown field
> 'bundleName'
> at
> org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:320)
> at
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
> at
> org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:147)
> at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:77)
> at
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:67)
> at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1368)
> at
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:357)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:253)
> at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
> at
> org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:61)
> at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
> at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
> at
> weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
> at
> weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
> at
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2091)
> at
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
> at
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
> at
> weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
> at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)--
> --
>
>
> Any ideas?
>
> Thanks!
>
> ---
> Domingo Iglesias
> Universitat de Barcelona
> Area de Tecnologies
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SOLR Configuration Problem

2011-07-25 Thread Jason B .
Not as of yet.  Our new build (on Ubuntu Server) seemed to work with no
issues.  It may have something to do with how FreeBSD handles requests
to the SOLR webapp from localhost?

We didn't find any sysctl, firewall or TomCat settings that would have
interfered, so we figured it was something with either Java or SOLR
itself on FreeBSD.  If you find out anything we would love to know! 

What OS are you using if I may ask?

On Mon, 2011-07-25 at 10:18 -0400, barries wrote:
> Hi Jason
> 
> We seem to be having the same issue. Did you manage to get it working yet?
> 
> --
> View this message in context: 
> http://dspace.2283337.n4.nabble.com/SOLR-Configuration-Problem-tp3614024p3692916.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
> 
> --
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide.  Store less, Store more with what you own, Move data to 
> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SOLR Configuration Problem

2011-07-25 Thread barries
Hi Jason

We seem to be having the same issue. Did you manage to get it working yet?

--
View this message in context: 
http://dspace.2283337.n4.nabble.com/SOLR-Configuration-Problem-tp3614024p3692916.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech