HI

Perhaps vufind has not been started propertly, have you tried to stop and start vufind. and check that vufind and solr process is turned on before importing?

Hugo 


2014-04-23 20:47 GMT+02:00 Yongming Wang <wangyo@tcnj.edu>:
Thanks, Demian,

I changed other two files as you mentioned. Now the port number changes to 18080 but I still got the connection error:

INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL http://localhost:18080/solr/biblio/update
java.net.ConnectException: Connection refused

What else should I look at?

Thanks,



Yongming


---------------------------------
Yongming Wang
Systems Librarian
The College of New Jersey Library
phone: 609-771-3337
email: wangyo@tcnj.edu
---------------------------------

----- Original Message -----
From: "Demian Katz" <demian.katz@villanova.edu>
To: "Yongming Wang" <wangyo@tcnj.edu>, vufind-general@lists.sourceforge.net
Sent: Wednesday, April 23, 2014 2:03:16 PM
Subject: RE: [VuFind-General] "connection refused" error when importing records to VuFind2

You also need to change the port in local/import/import.properties and local/config/vufind/config.ini so that all the components of VuFind are able to communicate with one another.

- Demian

> -----Original Message-----
> From: Yongming Wang [mailto:wangyo@tcnj.edu]
> Sent: Wednesday, April 23, 2014 1:53 PM
> To: vufind-general@lists.sourceforge.net
> Subject: [VuFind-General] "connection refused" error when importing records to
> VuFind2
>
> Hi,
>
> I've just installed VuFind2 to Ubuntu 13.10 and when I started to import/index
> records, I got a java "connection refused" error on localhost:8080. Then I
> edited /solr/jetty/etc/jetty.xml to change the default port to 18080 like the
> following:
>
>  <Call name="addConnector">
>       <Arg>
>           <New class="org.eclipse.jetty.server.bio.SocketConnector">
>             <Set name="host"><SystemProperty name="jetty.host" /></Set>
>             <Set name="port"><SystemProperty name="jetty.port"
> default="18080"/></Set>
>             <Set name="maxIdleTime">50000</Set>
>             <Set name="lowResourceMaxIdleTime">1500</Set>
>             <Set name="statsOn">false</Set>
>           </New>
>       </Arg>
>     </Call>
>
> I remember that was I did when I installed VuFind 1.x. But this time it still
> shows connection refused error on port 8080. It seems that the changed port of
> 18080 has no effect. Did I miss something?
>
> Thanks very much.
>
>
>
> Yongming
>
> P.S.
>
> The error message:
>
> /vufind2$ ./import-marc.sh /marcallMARCs480.mrc
> Now Importing ./marc/allMARCs480.mrc ...
> Apr 23, 17:50:31 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -
> Duser.timezone=UTC -Dsolr.core.name=biblio  -jar
> /usr/local/vufind2/import/SolrMarc.jar
> /usr/local/vufind2/local/import/import.properties
> /usr/local/vufind2/marc/allMARCs480.mrc
>  INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
>  INFO [main] (Utils.java:339) - Opening file:
> /usr/local/vufind2/local/import/import.properties
>  INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at
> URL http://localhost:8080/solr/biblio/update
> java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         .....
>
>
> ---------------------------------
> Yongming Wang
> Systems Librarian
> The College of New Jersey Library
> phone: 609-771-3337
> email: wangyo@tcnj.edu
> ---------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> VuFind-General mailing list
> VuFind-General@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vufind-general

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
VuFind-General mailing list
VuFind-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-general



--

Hugo Agud - Orex Digital 

www.orex.es


Director

Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70   hagud@orex.es · http://www.orex.es/

 

No imprima este mensaje a no ser que sea necesario. Una tonelada de papel implica la tala de 15 árboles y el consumo de 250.000 litros de agua.

 

Aviso de confidencialidad
Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
está autorizado a recibirlo por el remitente), no está autorizado a copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje
por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.