Re: no .war with ubuntu release ?

2009-06-22 Thread Chris Hostetter

: Date: Thu, 18 Jun 2009 19:00:18 -0400
: From: Jonathan Vanasco
: Subject: no .war with ubuntu release ?


: after countless searching, it seems that there is no .war file in the distro

: http://packages.ubuntu.com/hardy/all/solr-common/filelist
: http://packages.ubuntu.com/hardy/all/solr-jetty/filelist
: 
: as you can see, there is no .war

i'm not familiar with the ubuntu packaging, but by the looks of those file 
lists, they have unzipedthe solr.war into /usr/share/solr/ (note the 
WEB-INF directory).

the interesting thing about java webapps is that they can be distributed 
as a war file or as a directory ... most servlet containers actually 
unzip the war file into a directory on local disk anyway (so they don't 
have to keep the whole thing in memory) and it looks like the ubuntu 
packagers just decided to package the uncompressed webapp in the .deb 
instead of having a war in there that would get uncompressed on first 
usage.

that's just a theory however, and doens't explain why it isn't working for 
you.

presumably somwhere in one of the jetty config files there should be a 
refrence to /user/share/ as the place to fine webapps, and a refrence to 
/etc/solr as the SolrHomeDir.



-Hoss



no .war with ubuntu release ?

2009-06-18 Thread Jonathan Vanasco

i'm a bit confused.  hoping someone can help.

solr is awesome on my macbook for development.

i've been fighting with getting solr-jetty running on my ubuntu box  
all day.


after countless searching, it seems that there is no .war file in the  
distro


should this be the case?

the actual files are :

http://packages.ubuntu.com/hardy/all/solr-common/filelist
http://packages.ubuntu.com/hardy/all/solr-jetty/filelist

as you can see, there is no .war

there are several .jars in this directory
/usr/share/solr/WEB-INF/lib/

can anyone give me a suggestion ? i haven't touched java / jetty /  
tomcat / whatever in at least a good 8 years and am lost.


Re: no .war with ubuntu release ?

2009-06-18 Thread Phil Hagelberg
On Thu, Jun 18, 2009 at 4:00 PM, Jonathan Vanascojvana...@2xlp.com wrote:
 can anyone give me a suggestion ? i haven't touched java / jetty / tomcat /
 whatever in at least a good 8 years and am lost.

I spent a lot of time trying to get this working too. My conclusion
was simply that the .deb packages for Solr are unmaintained and have
fallen victim to bitrot. You'll have a much easier time getting it
from a maven repository or just downloading a binary release.

I wish that it would be removed from the Ubuntu repositories though if
it isn't fixed as its presence there seems to cause more harm than
good.

-Phil