Confusion about zkcli.sh and solr.war

2015-05-13 Thread Jim . Musil
I'm trying to use zkcli.sh to upload configurations to zookeeper and solr 5.1. It's throwing an error because it references webapps/solr.war which no longer exists. Do I have to build my own solr.war in order to use zkcli.sh? Please forgive me if I'm missing something here. Jim Musil

Re: solr.war built from solr 4.7.2 not working

2015-05-08 Thread Shawn Heisey
On 5/7/2015 11:52 PM, Rahul Singh wrote: > ERROR - 2015-05-08 11:15:25.738; org.apache.solr.common.SolrException; > null:java.lang.IllegalArgumentException: You cannot set an index-time bo > ost on an unindexed field, or one that omits norms This seems to be the problem. You are trying to set an

Re: solr.war built from solr 4.7.2 not working

2015-05-07 Thread Rahul Singh
response inline. On Thu, May 7, 2015 at 7:01 PM, Shawn Heisey wrote: > On 5/7/2015 3:43 AM, Rahul Singh wrote: > > I have tried to deploy solr.war from building it from 4.7.2 but it is > > showing the below mentioned error. Has anyone faced the same? any lead > > woul

Re: solr.war built from solr 4.7.2 not working

2015-05-07 Thread Shawn Heisey
On 5/7/2015 3:43 AM, Rahul Singh wrote: > I have tried to deploy solr.war from building it from 4.7.2 but it is > showing the below mentioned error. Has anyone faced the same? any lead > would also be appreciated. > > Error Message: > > { > "responseH

solr.war built from solr 4.7.2 not working

2015-05-07 Thread Rahul Singh
Hi, I have tried to deploy solr.war from building it from 4.7.2 but it is showing the below mentioned error. Has anyone faced the same? any lead would also be appreciated. Error Message: { "responseHeader": { "status": 500, "QTime": 33 }, "

Re: Mixing 4.x SolrJ and Solr.war - compatible?

2015-01-01 Thread Shawn Heisey
On 1/1/2015 6:34 AM, Gili Nachum wrote: > So, It seems I can't upgrade Solr beyond 4.7 as long as I'm running SolrJ > on Java6 JVM. > With any luck I might be able to compile SolrJ that's newer than 4.7 with > Java6. I'll check that next. > Thanks Shawn. That's very helping! Solr 4.8 and later (co

Re: Mixing 4.x SolrJ and Solr.war - compatible?

2015-01-01 Thread Gili Nachum
wrote: > On 12/31/2014 6:23 AM, Gili Nachum wrote: > > Can I use SolrJ v4.7 with the latest 4.x Solr.war? > > Should I switch the writer from Javabin, back to XML to ensure > > compatibility? > > > http://wiki.apache.org/solr/Solrj#SolrJ.2FSolr_cross-version_compat

Re: Mixing 4.x SolrJ and Solr.war - compatible?

2014-12-31 Thread Shawn Heisey
On 12/31/2014 6:23 AM, Gili Nachum wrote: > Can I use SolrJ v4.7 with the latest 4.x Solr.war? > Should I switch the writer from Javabin, back to XML to ensure > compatibility? > http://wiki.apache.org/solr/Solrj#SolrJ.2FSolr_cross-version_compatibility > > I'm using CloudS

Mixing 4.x SolrJ and Solr.war - compatible?

2014-12-31 Thread Gili Nachum
Can I use SolrJ v4.7 with the latest 4.x Solr.war? Should I switch the writer from Javabin, back to XML to ensure compatibility? http://wiki.apache.org/solr/Solrj#SolrJ.2FSolr_cross-version_compatibility I'm using CloudSolrServer. My client is running on Java6 so I can't go beyond 4.7.

Re: Deploy solr.war on glassfish server

2014-04-16 Thread Shawn Heisey
On 4/16/2014 6:51 AM, Ajay Patel wrote: > i am trying to deply the solr.war on glassfish server while deploying > those war file i get the following error. can some one please guide me > for this same. that how can i deploy solr.war in galssfish server. > > Error occurred du

Re: Deploy solr.war on glassfish server

2014-04-16 Thread Ajay Patel
gards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Wed, Apr 16, 2014 at 7:51 PM, Ajay Patel wrote: Hi there i am trying to deply the solr.war on glassfish server while deploying those war file i ge

Re: Deploy solr.war on glassfish server

2014-04-16 Thread Alexandre Rafalovitch
Solr proficiency On Wed, Apr 16, 2014 at 7:51 PM, Ajay Patel wrote: > Hi there > i am trying to deply the solr.war on glassfish server while deploying those > war file i get the following error. can some one please guide me for this > same. that how can i deploy solr.war in

Deploy solr.war on glassfish server

2014-04-16 Thread Ajay Patel
Hi there i am trying to deply the solr.war on glassfish server while deploying those war file i get the following error. can some one please guide me for this same. that how can i deploy solr.war in galssfish server. Error occurred during deployment: Exception while loading the app : CDI

Re: secure deployment of solr.war on jboss

2013-04-01 Thread Ali, Saqib
Thanks. Are you using IP tables firewall on the jboss to prevent access from other systems? Or are you using some jboss configuration for that? Thanks, Saqib On Mon, Apr 1, 2013 at 6:25 AM, adityab wrote: > Hi Ali, > > We have Solr 4.2 on Jboss running on a separate VM behind firewall. Only IT

Re: secure deployment of solr.war on jboss

2013-04-01 Thread adityab
Hi Ali, We have Solr 4.2 on Jboss running on a separate VM behind firewall. Only IT Administration and our FrontEnd Application Server is able to access the Solr servers in production. -- View this message in context: http://lucene.472066.n3.nabble.com/secure-deployment-of-solr-war-on-jboss

secure deployment of solr.war on jboss

2013-03-31 Thread Ali, Saqib
Hello all, We are using Apache Solr 4.2 in our application to provide search capabilities. We are deploying the solr.war file to jboss along with our application. Any suggestions on proper security controls for this type of solr setup? Also solr is now accessible to everyone from the http

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-20 Thread Rogerio Pereira
ml, and to set the path above I`m using the solr.solr.home system property with solr admin deployed on tomcat from solr.war I`m getting the same strange behavior on both Xubuntu 10.04 and Ubuntu 12.10 2012/10/16 Chris Hostetter > : To answer your question, I tried both -Dsolr.solr.home and s

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-16 Thread Chris Hostetter
: To answer your question, I tried both -Dsolr.solr.home and solr/home JNDI : variable, in both cases I got the same result. : : I checked the logs several times, solr always only loads up the collection1, That doesn't really answer any of the questions i was asking you. *Before* solr logs anyth

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-16 Thread Rogério Pereira Araújo
r Sent: Monday, October 15, 2012 5:38 PM To: solr-user@lucene.apache.org ; rogerio.ara...@gmail.com Subject: Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7 : on Tomcat I setup the system property pointing to solr/home path, : unfortunatelly when I start tomcat the solr.xml

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-15 Thread Chris Hostetter
: on Tomcat I setup the system property pointing to solr/home path, : unfortunatelly when I start tomcat the solr.xml is ignored and only the Please elaborate on how exactly you pointed tomcat at your solr/home. you mentioned "system property" but when using system properties to set the Solr Ho

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-15 Thread Rogério Pereira Araújo
e.org ; rogerio.ara...@gmail.com Subject: Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7 Hi Rogerio, i can imagine what it is. Tomcat extract the war-files in /var/lib/tomcatXX/webapps. If you already run an older Solr-Version on your server, the old extracted Solr-war could

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-15 Thread Vadim Kisselmann
- Jack Krupansky >> >> -Original Message- From: Rogerio Pereira >> Sent: Sunday, October 14, 2012 10:01 AM >> To: solr-user@lucene.apache.org >> Subject: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7 >> >> >> Hi, >> >

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-14 Thread Rogerio Pereira
re did change in 4.0. > Look at the example/solr directory. > > -- Jack Krupansky > > -Original Message- From: Rogerio Pereira > Sent: Sunday, October 14, 2012 10:01 AM > To: solr-user@lucene.apache.org > Subject: Multicore setup is ignored when deploying solr.war on Tomcat

Re: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

2012-10-14 Thread Jack Krupansky
? The directory structure did change in 4.0. Look at the example/solr directory. -- Jack Krupansky -Original Message- From: Rogerio Pereira Sent: Sunday, October 14, 2012 10:01 AM To: solr-user@lucene.apache.org Subject: Multicore setup is ignored when deploying solr.war on Tomcat 5/6/7

Re: move solr.war to Glassfish and got error running http://host:port/ProjectName/browse

2012-10-02 Thread Iwan Hanjoyo
> >> Hello all, >> >> I used older Solr 3.6.1 version. >> I created a new web project (called SolrRedo) on Netbeans 7.1.1 running >> on Glassfish Web Server >> Then I moved sources from the solr.war sample code (that resided inside >> apache-solr-3.6.1.zi

Re: move solr.war to Glassfish and got error running http://host:port/ProjectName/browse

2012-10-02 Thread Iwan Hanjoyo
Hello list, On Sun, Sep 30, 2012 at 6:43 PM, Iwan Hanjoyo wrote: > Hello all, > > I used older Solr 3.6.1 version. > I created a new web project (called SolrRedo) on Netbeans 7.1.1 running on > Glassfish Web Server > Then I moved sources from the solr.war sample code (t

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-25 Thread k9157
via package manager you might want to > install directly by simple unpacking the apache-tomcat-{verison}.tar.gz > and copying the solr.war file into the /webapps/ subdirectory. My solr 'install' has only been 'directly'. I've cp'd the war - from both v3.6.1 & 4.

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-25 Thread Chantal Ackermann
or-in-op If you have installed Tomcat via package manager you might want to install directly by simple unpacking the apache-tomcat-{verison}.tar.gz and copying the solr.war file into the /webapps/ subdirectory. What the answers in the stackoverflow thread suggest is packaging something int

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-24 Thread Chris Hostetter
: I'm suspicious now, of an Opensuse-ism. Maybe lingering pkg pollution : of the java stack on this box. I would be more suspicious of lingering pkg pollution in tomcat ... i'm assuming you already tried the solr tutorial using the provided jetty first ... right? if that works it's unlikely

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-24 Thread k9157
On Tue, Jul 24, 2012, at 11:43 AM, Chris Hostetter wrote: > > : Whoops ... sorry, somehow i totally missed that. I just tried again > with Solr 3.6.1 and everything still worked fine... > > BTW: I ran all these steps on Solr 3.6.1 using both... > > java version "1.6.0_24" > OpenJDK Runtime Envir

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-24 Thread Chris Hostetter
: Whoops ... sorry, somehow i totally missed that. I just tried again with : Solr 3.6.1 and everything still worked fine... BTW: I ran all these steps on Solr 3.6.1 using both... java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1) OpenJDK 64-Bit

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-24 Thread Chris Hostetter
hossman@frisbee:/var/tmp$ cp apache-solr-3.6.1/dist/apache-solr-3.6.1.war solr.war hossman@frisbee:/var/tmp$ sha1sum solr.war e1da03c97be88e2e72d120b6ba32de1133603766 solr.war hossman@frisbee:/var/tmp$ mkdir -p apache-tomcat-7.0.29/conf/Catalina/localhost/ hossman@frisbee:/var/tmp$ cp solr-context

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-24 Thread k9157
x27;s > : no change. I still get > ... > : java.lang.IllegalArgumentException: Invalid or unreadable WAR > : file : /srv/solr_home/solr.war > > Are you sure you didn't accidently corrupt the war file in some way? I DL'd solr, and cp'd its .war over. No

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-24 Thread Chris Hostetter
d or unreadable WAR : file : /srv/solr_home/solr.war Are you sure you didn't accidently corrupt the war file in some way? what is the md5 or sha1sum of the war file you have? does "jar tf solr.war" give you any errors? .. I just used the following steps (ba

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7 (upgrade to 7.0.29/upstream)?

2012-07-23 Thread k9157
Starting web application '/solr' Jul 23, 2012 5:19:01 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Invalid or unreadable WAR file :

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7?

2012-07-22 Thread k9157
On Sun, Jul 22, 2012, at 02:08 PM, Jon Sharp wrote: > /srv/www sounds like a doc root for a web server... It's a simple directory. It's not configured as doc root for my web server.

Re: "Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7?

2012-07-22 Thread Jon Sharp
gt; >cd /usr/local/apache-solr-3.6.1 >/bin/cp -Rf ./example/solr/* /srv/www/solr/home >/bin/cp -f ./dist/apache-solr-3.6.1.war >/srv/www/solr/home/solr.war >/bin/cp -f ./example/solr/conf/schema.xml >/srv/www/solr/home/conf/ > > the

"Invalid or unreadable WAR file : .../solr.war" when starting solr 3.6.1 app on Tomcat 7?

2012-07-22 Thread k9157
g this, you've successfully installed Tomcat. Congratulations! ... Deploying SOLR 3.6.1 cd /usr/local/apache-solr-3.6.1 /bin/cp -Rf ./example/solr/* /srv/www/solr/home /bin/cp -f ./dist/apache-solr-3.6.1.war /srv/www/solr/home/solr.

Re: Using jetty's GzipFilter in the example solr.war

2012-03-30 Thread Dmitry Kan
> > >GzipFilter >/* > > > This is giving the following error again > > java.lang.ClassNotFoundException: org.mortbay.servlet.GzipFilter > Failed startup of context > org.mortbay.jetty.webapp.WebAppContext@b8bef7 > {/solr,jar:file:

Re: Using jetty's GzipFilter in the example solr.war

2012-03-30 Thread mechravi25
,image/svg+xml GzipFilter /* This is giving the following error again java.lang.ClassNotFoundException: org.mortbay.servlet.GzipFilter Failed startup of context org.mortbay.jetty.webapp.WebAppContext@b8bef7{/solr,jar:file:/apache-solr-1.4.0/example/webapps/solr.war

Re: Error deploying solr.war into Jboss7

2011-08-17 Thread Erik Hatcher
tter wrote: > > : Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: > : failed to process > : > "/opt/jboss-as-web-7.0.0.Final/standalone/deployments/solr.war/WEB-INF/lib/velocity-tools-2.0.jar" > ... > : Caused by: java.util.zip.ZipException: e

Re: Using jetty's GzipFilter in the example solr.war

2010-11-15 Thread Jay Luker
On Sun, Nov 14, 2010 at 12:49 AM, Kiwi de coder wrote: > try to put u filter on top of web.xml (instead of middle or bottom), i try > this few day and it just only a simple solution (not sure is a spec to put > on top or is a bug) Thank you. An explanation of why this worked is probably better e

Re: Using jetty's GzipFilter in the example solr.war

2010-11-13 Thread Kiwi de coder
urning on gzip compression but I can't seem to get > jetty's GzipFilter to actually compress my responses. I unpacked the > example solr.war and tried adding variations of the following to the > web.xml (and then rejar-ed), but as far as I can tell, jetty isn't > actually

Using jetty's GzipFilter in the example solr.war

2010-11-13 Thread Jay Luker
Hi, I thought I'd try turning on gzip compression but I can't seem to get jetty's GzipFilter to actually compress my responses. I unpacked the example solr.war and tried adding variations of the following to the web.xml (and then rejar-ed), but as far as I can tell, jetty

RE: Solr.war

2009-06-02 Thread Francis Yakin
Thank You! Francis -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Monday, June 01, 2009 5:14 PM To: solr-user@lucene.apache.org Subject: Re: Solr.war They are identical. solr.war is a copy of apache-solr-1.3.0.war. You may want to look at example target in

Re: Solr.war

2009-06-01 Thread Koji Sekiguchi
They are identical. solr.war is a copy of apache-solr-1.3.0.war. You may want to look at example target in build.xml: Koji Francis Yakin wrote: We are planning to upgrade solr 1.2.0 to 1.3.0 Under 1.3.0 - Which of war file that I need to use and deploy on my application? We are

Solr.war

2009-06-01 Thread Francis Yakin
We are planning to upgrade solr 1.2.0 to 1.3.0 Under 1.3.0 - Which of war file that I need to use and deploy on my application? We are using weblogic. There are two war files under /opt//apache-solr-1.3.0/dist/apache-solr-1.3.0.war and under /opt/apache-solr-1.3.0/example/webapps/solr.war

Re: Suggestion for solr.war

2006-12-11 Thread Chris Hostetter
: application/xml : : : That causes the MIME type to get set explicitly and Firefox renders : the page properly, with or without IE Tab. thanks for the suggestion, i went ahead and added this to the Solr web.xml, but i used "application/xslt+xml" instead since it seems to work just as we