You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by deniz <de...@gmail.com> on 2011/10/12 09:47:39 UTC

upgrading 1.4 to 3.x

hi all

is there any kind of tutorials or sample upgrades that i can follow and
learn how to do so? i have been trying to upgrade since morning checking on
web and so on but couldnt find anything efficient... 

and also my other question; should i use nightly versions or building from
the source is better for upgrading process? 

thank you in advance

-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3415044.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: upgrading 1.4 to 3.x

Posted by deniz <de...@gmail.com>.
well i made a little diggin on web... so the problem is also described here
too 

https://issues.apache.org/bugzilla/show_bug.cgi?id=40719

basically there was no details in the tomcat logs (maybe in some other logs
but well i dont know)

i came up with the same problem while implementing something else... anyway
i hope this will be helpful for anyone who gets the same error 

thank you for you all who helped me with the issue

-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3430748.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: upgrading 1.4 to 3.x

Posted by pravesh <su...@yahoo.com>.
Just look into your tomcat logs in more detail.....specifically the logs when
tomcat loads the solr application's web context. There you might find some
clues or just post the logs snapshot here.


Regds
Pravesh

--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3421225.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: upgrading 1.4 to 3.x

Posted by deniz <de...@gmail.com>.
Hi Otis,

I know it is coming from Tomcat and was curious if anyone had the same
problem before... and as for details it is the only thing i got in the logs
as an error... i can put more details if you tell me what exactly you want
to see... i am confused and dunno what else i can put other than error logs
here...

-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3420322.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: upgrading 1.4 to 3.x

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Deniz,

I don't think anyone will be able to help you without more details, except for saying that the exception below is from Tomcat, not Solr.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


>________________________________
>From: deniz <de...@gmail.com>
>To: solr-user@lucene.apache.org
>Sent: Wednesday, October 12, 2011 11:52 PM
>Subject: Re: upgrading 1.4 to 3.x
>
>I have checked the links both pravesh and otis sent, however still i am
>stucked and confused...
>
>i just put the 3.1 war file in webapps of tomcat and change the home
>directory to a solr directory that i has indexes and cores and other
>settings from 1.4, just to see what happens... 
>
>so at the end when i try to access http://localhost:18080/solr31/ i get a
>blank page showing nothing at all... and in the logs i have this error:
>
>java.lang.ArrayIndexOutOfBoundsException
>        at java.lang.System.arraycopy(Native Method)
>        at
>org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:690)
>        at
>org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:429)
>        at
>org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1617)
>        at
>org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:967)
>        at org.apache.coyote.Response.action(Response.java:181)
>        at
>org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573)
>        at org.apache.coyote.Response.doWrite(Response.java:560)
>        at
>org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
>        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
>        at
>org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:236)
>        at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
>        at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
>        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
>        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
>        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
>        at
>org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:185)
>        at
>org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:128)
>        at
>org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:536)
>        at
>org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:438)
>        at
>org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:268)
>        at
>org.apache.catalina.connector.Response.finishResponse(Response.java:484)
>        at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:177)
>        at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
>        at
>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>        at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>        at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>        at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>        at java.lang.Thread.run(Thread.java:680)
>
>
>
>any ideas? i would expect some other errors actually but array out of bonds
>just make me confused... totally...
>
>
>
>
>-----
>Zeki ama calismiyor... Calissa yapar...
>--
>View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3417660.html
>Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>

Re: upgrading 1.4 to 3.x

Posted by deniz <de...@gmail.com>.
I have checked the links both pravesh and otis sent, however still i am
stucked and confused...

i just put the 3.1 war file in webapps of tomcat and change the home
directory to a solr directory that i has indexes and cores and other
settings from 1.4, just to see what happens... 

so at the end when i try to access http://localhost:18080/solr31/ i get a
blank page showing nothing at all... and in the logs i have this error:

java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:690)
        at
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:429)
        at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1617)
        at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:967)
        at org.apache.coyote.Response.action(Response.java:181)
        at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573)
        at org.apache.coyote.Response.doWrite(Response.java:560)
        at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
        at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:236)
        at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
        at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
        at
org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:185)
        at
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:128)
        at
org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:536)
        at
org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:438)
        at
org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:268)
        at
org.apache.catalina.connector.Response.finishResponse(Response.java:484)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:177)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:680)



any ideas? i would expect some other errors actually but array out of bonds
just make me confused... totally...




-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3417660.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: upgrading 1.4 to 3.x

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi Tom,

I think you won't need to, but I see this has been asked several times before, so please have a look here for more details:

http://search-lucene.com/?q=upgrade+1.4+3.1&fc_project=Solr&fc_type=mail+_hash_+user

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


----- Original Message -----
> From: Tom Gullo <sp...@gmail.com>
> To: solr-user@lucene.apache.org
> Cc: 
> Sent: Wednesday, October 12, 2011 10:05 AM
> Subject: Re: upgrading 1.4 to 3.x
> 
> Does anyone know if you can just copy the index from a 1.4 Solr instance to a
> 3.X Solr instance? And be mostly done with the upgrade?
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3415790.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Re: upgrading 1.4 to 3.x

Posted by Tom Gullo <sp...@gmail.com>.
Does anyone know if you can just copy the index from a 1.4 Solr instance to a
3.X Solr instance? And be mostly done with the upgrade?

--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3415790.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: upgrading 1.4 to 3.x

Posted by pravesh <su...@yahoo.com>.
This link might help:
http://www.lucidimagination.com/blog/2011/04/01/solr-powered-isfdb-part-8/
http://www.lucidimagination.com/blog/2011/04/01/solr-powered-isfdb-part-8/ 

Regds
Pravesh

--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-1-4-to-3-x-tp3415044p3415546.html
Sent from the Solr - User mailing list archive at Nabble.com.