Re: Solr with Tomcat on VPS
Thanks for clarifying! I have the solr/home configured in the server.xml of Tomcat. When I had not set it properly there were errors in the log. It is configured correctly now as no errors are in the log regarding sorl/home. The issue is that I cannot access any of the Servlets. I can access any of the JSP's by name. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-with-Tomcat-on-VPS-tp3990397p3990712.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr with Tomcat on VPS
Hi, you can also refer below url for solr configuration http://tek-manthan.blogspot.in/ Regards, Irshad On Thu, Jun 21, 2012 at 4:24 PM, mcfly04 wrote: > Thank you for your response. > > Are you referring to the SolrRequestFilter path-prefix? > Here is a copy of my web.xml: > > - > > > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > > > > > > >SolrRequestFilter >org.apache.solr.servlet.SolrDispatchFilter > > > > > > >SolrRequestFilter >/* > > > > > >SolrServer >Solr >Solr Server >org.apache.solr.servlet.SolrServlet >1 > > > >SolrUpdate >SolrUpdate >Solr Update Handler >org.apache.solr.servlet.SolrUpdateServlet >2 > > > >Logging >org.apache.solr.servlet.LogLevelSelection > > > > >ping >/admin/ping.jsp > > > >SolrServer >/select/* > > > >SolrUpdate >/update/* > > > >Logging >/admin/logging > > > > > ping > /admin/ping > > > > >Logging >/admin/logging.jsp > > > >.xsl > >application/xslt+xml > > > >index.jsp >index.html > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-with-Tomcat-on-VPS-tp3990397p3990687.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr with Tomcat on VPS
HI, in this web.xml file you need to add below line solr/home your solr core path here java.lang.String On Thu, Jun 21, 2012 at 4:24 PM, mcfly04 wrote: > Thank you for your response. > > Are you referring to the SolrRequestFilter path-prefix? > Here is a copy of my web.xml: > > - > > > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > > > > > > >SolrRequestFilter >org.apache.solr.servlet.SolrDispatchFilter > > > > > > >SolrRequestFilter >/* > > > > > >SolrServer >Solr >Solr Server >org.apache.solr.servlet.SolrServlet >1 > > > >SolrUpdate >SolrUpdate >Solr Update Handler >org.apache.solr.servlet.SolrUpdateServlet >2 > > > >Logging >org.apache.solr.servlet.LogLevelSelection > > > > >ping >/admin/ping.jsp > > > >SolrServer >/select/* > > > >SolrUpdate >/update/* > > > >Logging >/admin/logging > > > > > ping > /admin/ping > > > > >Logging >/admin/logging.jsp > > > >.xsl > >application/xslt+xml > > > >index.jsp >index.html > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-with-Tomcat-on-VPS-tp3990397p3990687.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr with Tomcat on VPS
Thank you for your response. Are you referring to the SolrRequestFilter path-prefix? Here is a copy of my web.xml: - http://java.sun.com/dtd/web-app_2_3.dtd";> SolrRequestFilter org.apache.solr.servlet.SolrDispatchFilter SolrRequestFilter /* SolrServer Solr Solr Server org.apache.solr.servlet.SolrServlet 1 SolrUpdate SolrUpdate Solr Update Handler org.apache.solr.servlet.SolrUpdateServlet 2 Logging org.apache.solr.servlet.LogLevelSelection ping /admin/ping.jsp SolrServer /select/* SolrUpdate /update/* Logging /admin/logging ping /admin/ping Logging /admin/logging.jsp .xsl application/xslt+xml index.jsp index.html -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-with-Tomcat-on-VPS-tp3990397p3990687.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr with Tomcat on VPS
Hi, You have to check installation configuration. Inside tomcat webapps folder you have putted solr.war file. and within this WEB-INF folder web.xml you have to check your solr core folder url On Thu, Jun 21, 2012 at 3:34 PM, mcfly04 wrote: > Can anyone help? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-with-Tomcat-on-VPS-tp3990397p3990677.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr with Tomcat on VPS
Can anyone help? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-with-Tomcat-on-VPS-tp3990397p3990677.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr with Tomcat on VPS
I am running Solr in a shared Tomcat v5.5.28 (I have access to all instances) on a Linux VPS server. When I set it all up, Tomcat starts properly and I can see that it has accesses my Solr Config directory properly. I can access the JSP pages if I reference them directly (http://mysite.com/solr/admin/index.jsp for example) but access to URL's like: 1. http://mysite.com/solr/admin/ 2. http://mysite.com/solr/admin/dataimport.jsp?clean=false&commit=true&comm and=full-import 3. http://mysite.com/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&inden t=on all return 404 errors like "URL /solr/select/ was not found on this server." I have tried all I can think of and wondering if anyone else has some thoughts. This all works great on my development PC where I run the same version of Tomcat. Thanks, Mike
Solr with Tomcat on VPS
I am running Solr in a shared Tomcat v5.5.28 (I have access to all instances) on a Linux VPS server. When I set it all up, Tomcat starts properly and I can see that it has accesses my Solr Config directory properly. I can access the JSP pages if I reference them directly (http://mysite.com/solr/admin/index.jsp for example) but access to URL's like: 1. http://mysite.com/solr/admin/ 2. http://mysite.com/solr/admin/dataimport.jsp?clean=false&commit=true&comm and=full-import 3. http://mysite.com/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&inden t=on all return 404 errors like "URL /solr/select/ was not found on this server." I have tried all I can think of and wondering if anyone else has some thoughts. This all works great on my development PC where I run the same version of Tomcat. Thanks, Mike