SOLR/Tomcat6 keeping references to deleted tlog files
Hi, I've been running a SolrCloud setup running SOLR 4.4 consisting of 3 nodes for some time. The cloud is hosting about 40 small collections that receive updates once a day. The collections are using different shard and replication configurations (varying from 2 shards without replication to 2 shard with 3 replicas). After running Tomcat for a couple of weeks, I notice the number of open files is dramatically increasing. Most of those files are deleted tlog files that SOLR keeps open: eric@node1:/ # lsof -np 16810 | grep deleted | wc -l 36345 Those files are no longer on disk, but SOLR still has a handle open. My disk use is going through the roof. 6GB is currently 'in use' by deleted but still open files. When I restart Tomcat, the space is freed and it starts all over again. All of my nodes experience this behavior. First I thought it had something to do with the lack of commits. But it happens on all my collections, even the ones with fast autoCommit: autoCommit maxDocs5000/maxDocs maxTime12/maxTime openSearcherfalse/openSearcher /autoCommit My update process always triggers a commit or rollback and updates are showing up correctly. I read something about SOLR having TCP connections in CLOSE_WAIT. The only CLOSE_WAIT connection I see are between the nodes. And there are only about 10 of them. Those connections can't be causing 36k open files, right? Any suggestions/tips? At the moment, I have to restart my leader every couple of weeks and that's not really something I would like to do :) Best regards, Eric Bus
Re: SOLR/Tomcat6 keeping references to deleted tlog files
H, sounds like you've put some time into sleuthing here, cool! Do you notice that your open file handles are increasing roughly linearly with time? Assuming a relatively constant indexing rate, that's what I'd expect if Solr is just failing to close the tlog somehow. I'm assuming no custom code here, thought I'd check to be sure though. But what I'd do is wait a few more hours and see if some of the people deep into SolrCloud answer (Yonik, Shalin, Noble, Mark, etc.). but absent a response from those folks this sounds like a JIRA in the making to me Those folks are scattered all over the world... Best, Erick P.S. This is really a bit unrelated, but unless you're only indexing documents very slowly, your maxDocs number of docs is rather short FWIW. But this should have no bearing on increasing file handles, just a side comment. On Tue, Oct 22, 2013 at 10:00 AM, Eric Bus eric@websight.nl wrote: Hi, I've been running a SolrCloud setup running SOLR 4.4 consisting of 3 nodes for some time. The cloud is hosting about 40 small collections that receive updates once a day. The collections are using different shard and replication configurations (varying from 2 shards without replication to 2 shard with 3 replicas). After running Tomcat for a couple of weeks, I notice the number of open files is dramatically increasing. Most of those files are deleted tlog files that SOLR keeps open: eric@node1:/ # lsof -np 16810 | grep deleted | wc -l 36345 Those files are no longer on disk, but SOLR still has a handle open. My disk use is going through the roof. 6GB is currently 'in use' by deleted but still open files. When I restart Tomcat, the space is freed and it starts all over again. All of my nodes experience this behavior. First I thought it had something to do with the lack of commits. But it happens on all my collections, even the ones with fast autoCommit: autoCommit maxDocs5000/maxDocs maxTime12/maxTime openSearcherfalse/openSearcher /autoCommit My update process always triggers a commit or rollback and updates are showing up correctly. I read something about SOLR having TCP connections in CLOSE_WAIT. The only CLOSE_WAIT connection I see are between the nodes. And there are only about 10 of them. Those connections can't be causing 36k open files, right? Any suggestions/tips? At the moment, I have to restart my leader every couple of weeks and that's not really something I would like to do :) Best regards, Eric Bus
query regarding running solr4.1.0 on tomcat6
hi all I had installed tomcat6 on centos redhat linux os and had configured solr with name on solrt on tomcat and It was running fine now what I did was placed another copy of solr home folder in centos and changed the tomcat directory to this new solr and now every thing is working fine like the full database import and all from the browser and query from browser but when I open the solr-example/admin(the default solr admin panel ) from browser it shows the error that : http://localhost:8080/solr-example/#/ HTTP Status 404 - -- *type* Status report *message* *description* *The requested resource () is not available.* -- Apache Tomcat/6.0.24 and other wise when I hit http://localhost:8080/solr-example/collection1/select?q=samsung%20duoswt=jsonindent=truerows=20 its running fine and even if i hit http://localhost:8080/solr-example/dataimport?command=full-importindent=trueclean=true its running fine and even in the tomcat manager panal I can see solr-example and when I click on it shows the same error. 404 what could be the problem with the solr admin panel help anyone. thanks regards rohan
Re: Open 2 ports on Solr3.6 Tomcat6?
Hello Bruno, Am 01.03.2013 12:43, schrieb Bruno Mannina: Dear Users, Actually we use Solr3.6/Tomcat6 on a specific port like 1234. We connected our software to the solr on this specific port, but several users have a lot of problem to open this specific port on their network company. I would like to know, If I can define two ports at the same time (the specific and the standard http 80) during two months? Yes, tomcat can listen on any ports you wish. Look for the server.xml file and then just duplicate the existing connector. It should look something like this: Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 disableUploadTimeout=true / André -- Aarboard AGPhone: +41 32 332 97 14 Egliweg 10 Fax: +41 32 332 97 15 2560 Nidau Switzerlandwww.aarboard.ch
Open 2 ports on Solr3.6 Tomcat6?
Dear Users, Actually we use Solr3.6/Tomcat6 on a specific port like 1234. We connected our software to the solr on this specific port, but several users have a lot of problem to open this specific port on their network company. I would like to know, If I can define two ports at the same time (the specific and the standard http 80) during two months? These 2 months will be useful for me to change all programs in each company. Thanks for your help, Bruno
Re: Open 2 ports on Solr3.6 Tomcat6?
This really is not a Solr question, rather it is a Tomcat one. You can configure alternative/additional ports in your conf/server.xml file. However, if you are running on Linux, only root can run processes on ports below 1024 so that might not help you. You might find it just as easy to run Apache on port 80, with a simple reverse proxy: VirtualHost *:80 ProxyPass / http://localhost:1234/ ProxyPassReverse / http://localhost:1234/ /VirtualHost That way your Solr would be visible on ports 1234 and on port 80. Upayavira On Fri, Mar 1, 2013, at 11:43 AM, Bruno Mannina wrote: Dear Users, Actually we use Solr3.6/Tomcat6 on a specific port like 1234. We connected our software to the solr on this specific port, but several users have a lot of problem to open this specific port on their network company. I would like to know, If I can define two ports at the same time (the specific and the standard http 80) during two months? These 2 months will be useful for me to change all programs in each company. Thanks for your help, Bruno
Re: Open 2 ports on Solr3.6 Tomcat6?
Hi You could do an ip routing usind linux command iptables to redirect request from port 80 to Tomcat port. In this page explain how-to do: http://forum.slicehost.com/index.php?p=/discussion/2497/iptables-redirect-port-80-to-port-8080/p1 El 01/03/2013 12:43, Bruno Mannina escribió: Dear Users, Actually we use Solr3.6/Tomcat6 on a specific port like 1234. We connected our software to the solr on this specific port, but several users have a lot of problem to open this specific port on their network company. I would like to know, If I can define two ports at the same time (the specific and the standard http 80) during two months? These 2 months will be useful for me to change all programs in each company. Thanks for your help, Bruno
Re: Open 2 ports on Solr3.6 Tomcat6?
Hi Thanks for this info ! Le 01/03/2013 13:42, Miguel a écrit : Hi You could do an ip routing usind linux command iptables to redirect request from port 80 to Tomcat port. In this page explain how-to do: http://forum.slicehost.com/index.php?p=/discussion/2497/iptables-redirect-port-80-to-port-8080/p1 El 01/03/2013 12:43, Bruno Mannina escribió: Dear Users, Actually we use Solr3.6/Tomcat6 on a specific port like 1234. We connected our software to the solr on this specific port, but several users have a lot of problem to open this specific port on their network company. I would like to know, If I can define two ports at the same time (the specific and the standard http 80) during two months? These 2 months will be useful for me to change all programs in each company. Thanks for your help, Bruno
Re: Open 2 ports on Solr3.6 Tomcat6?
Hi Upayavira, Sorry if my question is out of solr subject. Thanks or this information, Bruno Le 01/03/2013 13:33, Upayavira a écrit : This really is not a Solr question, rather it is a Tomcat one. You can configure alternative/additional ports in your conf/server.xml file. However, if you are running on Linux, only root can run processes on ports below 1024 so that might not help you. You might find it just as easy to run Apache on port 80, with a simple reverse proxy: VirtualHost *:80 ProxyPass / http://localhost:1234/ ProxyPassReverse / http://localhost:1234/ /VirtualHost That way your Solr would be visible on ports 1234 and on port 80. Upayavira On Fri, Mar 1, 2013, at 11:43 AM, Bruno Mannina wrote: Dear Users, Actually we use Solr3.6/Tomcat6 on a specific port like 1234. We connected our software to the solr on this specific port, but several users have a lot of problem to open this specific port on their network company. I would like to know, If I can define two ports at the same time (the specific and the standard http 80) during two months? These 2 months will be useful for me to change all programs in each company. Thanks for your help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Hi Michael, I unsinstall Tomcat6, java, etc... and re-install all packages...I will see if it's ok with a new install I will keep inform, thx !! Le 21/07/2012 17:05, Michael Della Bitta a écrit : Yeah, that's Tomcat's memory leak detector. Technically that's a memory leak, but in practice it won't really amount to much. I'm surprised there are no errors related to your empty response problem in the logs. That is strange, and might point to a problem with your Tomcat install. Perhaps your instinct to use Jetty was the right one after all. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 6:36 PM, Bruno Mannina bmann...@free.fr wrote: In the catalina.out, I have only these few rows with: . INFO: Closing Searcher@1faa614 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.coyote.http11.Http11Protocol destroy INFO: Arrêt de Coyote HTTP/1.1 sur http-8983 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur http-8983 ... ... ... Le 21/07/2012 00:04, Bruno Mannina a écrit : Le 21/07/2012 00:02, Bruno Mannina a écrit : Le 21/07/2012 00:00, Bruno Mannina a écrit : catalinat.out -- twice Sorry concerning this file, I do a sudo cat .. |more and it's ok I see the content And inside the catalina.out I have all my requests, without error or missing requests :'( it's amazing
Re: How to Increase the number of connexion on Solr/Tomcat6?
Bonne chance! Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Sun, Jul 22, 2012 at 6:38 AM, Bruno Mannina bmann...@free.fr wrote: Hi Michael, I unsinstall Tomcat6, java, etc... and re-install all packages...I will see if it's ok with a new install I will keep inform, thx !! Le 21/07/2012 17:05, Michael Della Bitta a écrit : Yeah, that's Tomcat's memory leak detector. Technically that's a memory leak, but in practice it won't really amount to much. I'm surprised there are no errors related to your empty response problem in the logs. That is strange, and might point to a problem with your Tomcat install. Perhaps your instinct to use Jetty was the right one after all. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 6:36 PM, Bruno Mannina bmann...@free.fr wrote: In the catalina.out, I have only these few rows with: . INFO: Closing Searcher@1faa614 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.coyote.http11.Http11Protocol destroy INFO: Arrêt de Coyote HTTP/1.1 sur http-8983 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur http-8983 ... ... ... Le 21/07/2012 00:04, Bruno Mannina a écrit : Le 21/07/2012 00:02, Bruno Mannina a écrit : Le 21/07/2012 00:00, Bruno Mannina a écrit : catalinat.out -- twice Sorry concerning this file, I do a sudo cat .. |more and it's ok I see the content And inside the catalina.out I have all my
Re: How to Increase the number of connexion on Solr/Tomcat6?
Yeah, that's Tomcat's memory leak detector. Technically that's a memory leak, but in practice it won't really amount to much. I'm surprised there are no errors related to your empty response problem in the logs. That is strange, and might point to a problem with your Tomcat install. Perhaps your instinct to use Jetty was the right one after all. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 6:36 PM, Bruno Mannina bmann...@free.fr wrote: In the catalina.out, I have only these few rows with: . INFO: Closing Searcher@1faa614 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.coyote.http11.Http11Protocol destroy INFO: Arrêt de Coyote HTTP/1.1 sur http-8983 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur http-8983 ... ... ... Le 21/07/2012 00:04, Bruno Mannina a écrit : Le 21/07/2012 00:02, Bruno Mannina a écrit : Le 21/07/2012 00:00, Bruno Mannina a écrit : catalinat.out -- twice Sorry concerning this file, I do a sudo cat .. |more and it's ok I see the content And inside the catalina.out I have all my requests, without error or missing requests :'( it's amazing
Re: How to Increase the number of connexion on Solr/Tomcat6?
Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Hmm, are you seeing any errors in $CATALINA_HOME/logs/catalina.out that suggest that you're running out of permgen space, or anything else? Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 4:55 PM, Bruno Mannina bmann...@free.fr wrote: hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Very Strange $CATALINA_HOME is empty ?!!! Help is welcome ! Another thing, in the /usr/share/tomcat6/catalina.sh I added twice time JAVA_OPTS=$JAVA_OPTS . -Xms1024m -Xmx2048m -XX:MaxPermSize=512m Le 20/07/2012 23:02, Michael Della Bitta a écrit : Hmm, are you seeing any errors in $CATALINA_HOME/logs/catalina.out that suggest that you're running out of permgen space, or anything else? Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 4:55 PM, Bruno Mannina bmann...@free.fr wrote: hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Sorry, if you're running the Ubuntu-provided Tomcat, your log should be in /var/log/tomcat6/catalina.out. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 5:09 PM, Bruno Mannina bmann...@free.fr wrote: Very Strange $CATALINA_HOME is empty ?!!! Help is welcome ! Another thing, in the /usr/share/tomcat6/catalina.sh I added twice time JAVA_OPTS=$JAVA_OPTS . -Xms1024m -Xmx2048m -XX:MaxPermSize=512m Le 20/07/2012 23:02, Michael Della Bitta a écrit : Hmm, are you seeing any errors in $CATALINA_HOME/logs/catalina.out that suggest that you're running out of permgen space, or anything else? Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 4:55 PM, Bruno Mannina bmann...@free.fr wrote: hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
If I try to do a : cd /var/log/tomcat6 I get a permission denied ??!! tomcat6/ directory exists and it has drwxr-x--- 2 tomcat6 adm Le 20/07/2012 23:16, Michael Della Bitta a écrit : Sorry, if you're running the Ubuntu-provided Tomcat, your log should be in /var/log/tomcat6/catalina.out. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 5:09 PM, Bruno Mannina bmann...@free.fr wrote: Very Strange $CATALINA_HOME is empty ?!!! Help is welcome ! Another thing, in the /usr/share/tomcat6/catalina.sh I added twice time JAVA_OPTS=$JAVA_OPTS . -Xms1024m -Xmx2048m -XX:MaxPermSize=512m Le 20/07/2012 23:02, Michael Della Bitta a écrit : Hmm, are you seeing any errors in $CATALINA_HOME/logs/catalina.out that suggest that you're running out of permgen space, or anything else? Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 4:55 PM, Bruno Mannina bmann...@free.fr wrote: hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Bruno, That sounds like either you need sudo permissions on your machine, or you need help from someone who has them. Having a look at the logs in there should be fairly revealing. Failing that, you could always go back to Jetty. :) Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 5:32 PM, Bruno Mannina bmann...@free.fr wrote: If I try to do a : cd /var/log/tomcat6 I get a permission denied ??!! tomcat6/ directory exists and it has drwxr-x--- 2 tomcat6 adm Le 20/07/2012 23:16, Michael Della Bitta a écrit : Sorry, if you're running the Ubuntu-provided Tomcat, your log should be in /var/log/tomcat6/catalina.out. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 5:09 PM, Bruno Mannina bmann...@free.fr wrote: Very Strange $CATALINA_HOME is empty ?!!! Help is welcome ! Another thing, in the /usr/share/tomcat6/catalina.sh I added twice time JAVA_OPTS=$JAVA_OPTS . -Xms1024m -Xmx2048m -XX:MaxPermSize=512m Le 20/07/2012 23:02, Michael Della Bitta a écrit : Hmm, are you seeing any errors in $CATALINA_HOME/logs/catalina.out that suggest that you're running out of permgen space, or anything else? Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 4:55 PM, Bruno Mannina bmann...@free.fr wrote: hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Michael, I'm admin of my server, I have only 2 accounts. If I use sudo cd /var/log/tomcat6 I enter the pwd and I get the message: sudo: cd: command not found my account is admin. I don't understand what happens but If I do: sudo lsof -p pid_of_tomcat |grep log I see several logs file : catalinat.out -- twice catalina.2012-07-20.log localhost.2012-07-20.log in the /var/log/tomcat6 I can see the content of all .log file but not catalina.out Le 20/07/2012 23:34, Michael Della Bitta a écrit : Bruno, That sounds like either you need sudo permissions on your machine, or you need help from someone who has them. Having a look at the logs in there should be fairly revealing. Failing that, you could always go back to Jetty. :) Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 5:32 PM, Bruno Mannina bmann...@free.fr wrote: If I try to do a : cd /var/log/tomcat6 I get a permission denied ??!! tomcat6/ directory exists and it has drwxr-x--- 2 tomcat6 adm Le 20/07/2012 23:16, Michael Della Bitta a écrit : Sorry, if you're running the Ubuntu-provided Tomcat, your log should be in /var/log/tomcat6/catalina.out. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 5:09 PM, Bruno Mannina bmann...@free.fr wrote: Very Strange $CATALINA_HOME is empty ?!!! Help is welcome ! Another thing, in the /usr/share/tomcat6/catalina.sh I added twice time JAVA_OPTS=$JAVA_OPTS . -Xms1024m -Xmx2048m -XX:MaxPermSize=512m Le 20/07/2012 23:02, Michael Della Bitta a écrit : Hmm, are you seeing any errors in $CATALINA_HOME/logs/catalina.out that suggest that you're running out of permgen space, or anything else? Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 4:55 PM, Bruno Mannina bmann...@free.fr wrote: hum... by using |export JAVA_OPTS=||-Xms1024m -Xmx2048m -XX:MaxPermSize=512m| it seems to be very quick, but I need to add delay between each requests because I loose answer with http answer 200 OK :'( I must do another and another tests but It's a begin ! Le 20/07/2012 22:40, Bruno Mannina a écrit : Hi Michael, I set Xms1024m Xmx2048 I will take a look to your link, thanks !!! Actually, all my tests works slowlyeven with 150 requests :'( Le 20/07/2012 18:17, Michael Della Bitta a écrit : Hi Bruno, It seems the version of Tomcat I was running was customized by Canonical to have that parameter. You might try to add it in... I have no idea what the default is. Do you have any idea how much RAM you're allocating to the Tomcat process? It could be that something is off there. http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Fri, Jul 20, 2012 at 7:57 AM, Bruno Mannina bmann...@free.fr wrote: More details: First (around) 50 requests are very quick and after connection down (very slow) and freeze sometime. I'm trying to install a tool to see what happens. Le 20/07/2012 12:09, Bruno Mannina a écrit : Dear Michael, My system is: Ubuntu 12.04 8Go Ram 4 cores Concerning connector on server.xml, I don't modified something, so all values are default. I have only one connector and no maxThreads are define inside. Connector port=8983 protocol=HTTP/1.1 connectionTimeout=2 URIEncoding=UTF-8 redirectPort=8443 / Must I add a line with maxThreads=? Le 20/07/2012 03:31, Michael Della Bitta a écrit : Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Le 21/07/2012 00:00, Bruno Mannina a écrit : catalinat.out -- twice Sorry concerning this file, I do a sudo cat .. |more and it's ok I see the content
Re: How to Increase the number of connexion on Solr/Tomcat6?
Le 21/07/2012 00:02, Bruno Mannina a écrit : Le 21/07/2012 00:00, Bruno Mannina a écrit : catalinat.out -- twice Sorry concerning this file, I do a sudo cat .. |more and it's ok I see the content And inside the catalina.out I have all my requests, without error or missing requests :'( it's amazing
Re: How to Increase the number of connexion on Solr/Tomcat6?
In the catalina.out, I have only these few rows with: . INFO: Closing Searcher@1faa614 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap GRAVE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@75a744]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 15 juil. 2012 13:51:31 org.apache.coyote.http11.Http11Protocol destroy INFO: Arrêt de Coyote HTTP/1.1 sur http-8983 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.catalina.startup.ClassLoaderFactory validateFile ATTENTION: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false] 15 juil. 2012 13:54:29 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur http-8983 ... ... ... Le 21/07/2012 00:04, Bruno Mannina a écrit : Le 21/07/2012 00:02, Bruno Mannina a écrit : Le 21/07/2012 00:00, Bruno Mannina a écrit : catalinat.out -- twice Sorry concerning this file, I do a sudo cat .. |more and it's ok I see the content And inside the catalina.out I have all my requests, without error or missing requests :'( it's amazing
How to Increase the number of connexion on Solr/Tomcat6?
Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Re: How to Increase the number of connexion on Solr/Tomcat6?
Hi Bruno, It's usually the maxThreads attribute in the Connector tag in $CATALINA_HOME/conf/server.xml. But I kind of doubt you're running out of threads... maybe you could post some more details about the system you're running Solr on. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Thu, Jul 19, 2012 at 6:47 PM, Bruno Mannina bmann...@free.fr wrote: Dear Solr User, I don't know if it's here that my question must be posted but I'm sure some users have already had my problem. Actually, I do 1556 requests with 4 Http components with my program. If I do these requests without delay (500ms) before sending each requests I have around 10% of requests with empty answer. If I add delay before each requests I have no empty answer. Empty answer has HTTP 200 OK, Header OK but Body = '' Where can I increase the limit of Tomcat/Solr requests at the same time or how can I solve my problem. Thanks a lot for your Help, Bruno
Pb installation Solr/Tomcat6
Dear Solr users, I try to run solr/ with tomcat but I have always this error: Can't find resource 'schema.xml' in classpath or '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6 but schema.xml is inside the directory '/home/solr/apache-solr-3.6.0/example/solr/./conf/' http://localhost:8080/manager/html = works fine, I see Applications /solr, fonctionnelle True but when I click on solr/ (http://localhost:8080/solr/) I get this error. Could you help me to solve this problem, it makes me crazy. thanks a lot, Bruno Tomcat6 Ubuntu 12.04 Solr 3.6
Re: Pb installation Solr/Tomcat6
I found the problem I think, It was a permission problem on the schema.xml schema.xml was only readable by the solr user. Now I have the same problem with the solr index directory Le 14/07/2012 14:00, Bruno Mannina a écrit : Dear Solr users, I try to run solr/ with tomcat but I have always this error: Can't find resource 'schema.xml' in classpath or '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6 but schema.xml is inside the directory '/home/solr/apache-solr-3.6.0/example/solr/./conf/' http://localhost:8080/manager/html = works fine, I see Applications /solr, fonctionnelle True but when I click on solr/ (http://localhost:8080/solr/) I get this error. Could you help me to solve this problem, it makes me crazy. thanks a lot, Bruno Tomcat6 Ubuntu 12.04 Solr 3.6
Re: Pb installation Solr/Tomcat6
same problem. but here should tomcat6 have the right to read/write your index. regards vadim 2012/7/14 Bruno Mannina bmann...@free.fr: I found the problem I think, It was a permission problem on the schema.xml schema.xml was only readable by the solr user. Now I have the same problem with the solr index directory Le 14/07/2012 14:00, Bruno Mannina a écrit : Dear Solr users, I try to run solr/ with tomcat but I have always this error: Can't find resource 'schema.xml' in classpath or '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6 but schema.xml is inside the directory '/home/solr/apache-solr-3.6.0/example/solr/./conf/' http://localhost:8080/manager/html = works fine, I see Applications /solr, fonctionnelle True but when I click on solr/ (http://localhost:8080/solr/) I get this error. Could you help me to solve this problem, it makes me crazy. thanks a lot, Bruno Tomcat6 Ubuntu 12.04 Solr 3.6
Re: Pb installation Solr/Tomcat6
Yes, I actually do a backup of my index before changing/testing chgrp action. As I'm a newbie on Linux, is it the right commands: sudo chgrp tomcat6 /solrindex sudo chmod g+s /solrindex ? Le 14/07/2012 15:31, Vadim Kisselmann a écrit : same problem. but here should tomcat6 have the right to read/write your index. regards vadim 2012/7/14 Bruno Mannina bmann...@free.fr: I found the problem I think, It was a permission problem on the schema.xml schema.xml was only readable by the solr user. Now I have the same problem with the solr index directory Le 14/07/2012 14:00, Bruno Mannina a écrit : Dear Solr users, I try to run solr/ with tomcat but I have always this error: Can't find resource 'schema.xml' in classpath or '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6 but schema.xml is inside the directory '/home/solr/apache-solr-3.6.0/example/solr/./conf/' http://localhost:8080/manager/html = works fine, I see Applications /solr, fonctionnelle True but when I click on solr/ (http://localhost:8080/solr/) I get this error. Could you help me to solve this problem, it makes me crazy. thanks a lot, Bruno Tomcat6 Ubuntu 12.04 Solr 3.6
Re: Pb installation Solr/Tomcat6
Le 14/07/2012 16:37, Bruno Mannina a écrit : As I'm a newbie on Linux, is it the right commands: sudo chgrp tomcat6 /solrindex If I do this command line, no change has been done?! For solrindex/ Before I have: solr:solr After I have: solr:solr ?? chgrp has no action?!
Re: Pb installation Solr/Tomcat6
If I use nautilus (with sudo) I have the list of User and the list of Group but when I choose tomcat6, instantanly the selection change to solr and I can't modify it Help please, Bruno Le 14/07/2012 20:03, Bruno Mannina a écrit : Le 14/07/2012 16:37, Bruno Mannina a écrit : As I'm a newbie on Linux, is it the right commands: sudo chgrp tomcat6 /solrindex If I do this command line, no change has been done?! For solrindex/ Before I have: solr:solr After I have: solr:solr ?? chgrp has no action?!
Re: Pb installation Solr/Tomcat6
humm it seems to be a NTFS problem because it's a external HDD that I use also with Windows Le 14/07/2012 20:11, Bruno Mannina a écrit : If I use nautilus (with sudo) I have the list of User and the list of Group but when I choose tomcat6, instantanly the selection change to solr and I can't modify it Help please, Bruno Le 14/07/2012 20:03, Bruno Mannina a écrit : Le 14/07/2012 16:37, Bruno Mannina a écrit : As I'm a newbie on Linux, is it the right commands: sudo chgrp tomcat6 /solrindex If I do this command line, no change has been done?! For solrindex/ Before I have: solr:solr After I have: solr:solr ?? chgrp has no action?!
Re: nutch 1.2, solr 3.3, tomcat6. java.io.IOException: Job failed! problem when building solrindex
you need to update the solrj libs to 3.x version. the java bin format has changed . I made the change a few months back, you can pull the changes from https://github.com/geek4377/nutch/tree/geek5377-1.2.1 hope that helps, On Wed, Jul 13, 2011 at 8:58 AM, Leo Subscriptions llsub...@zudiewiener.com wrote: I'm running 64bit Ubuntu 11.04, nutch 1.2, solr 3.3 (downloaded, not built) and tomcat6 following this (and some other) links http://wiki.apache.org/nutch/RunningNutchAndSolr I have added the nutch schema and can access/view this schema via the admin page. nutch also works as I can perfrom successful searches. When I execute the following: ./bin/nutch solrindex http://localhost:8080/solr/core0 crawl/crawldb crawl/linkdb crawl/segments/* I (eventually) get an io error. Tha above command creates the following files /var/lib/tomcat6/solr/core0/data/index/ --- 544 -rw-r--r-- 1 tomcat6 tomcat6 557056 2011-07-13 11:09 _1.fdt 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 _1.fdx 4 -rw-r--r-- 1 tomcat6 tomcat6 32 2011-07-13 10:59 segments_2 4 -rw-r--r-- 1 tomcat6 tomcat6 20 2011-07-13 10:59 segments.gen 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 write.lock --- but the hadoop.log reports the following error --- 2011-07-13 11:09:47,665 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.basic.BasicIndexingFilter 2011-07-13 11:09:47,666 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.anchor.AnchorIndexingFilter 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: content dest: content 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: site dest: site 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: title dest: title 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: host dest: host 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: segment dest: segment 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: boost dest: boost 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: digest dest: digest 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: tstamp dest: tstamp 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: id 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: url 2011-07-13 11:09:49,272 WARN mapred.LocalJobRunner - job_local_0001 java.lang.RuntimeException: Invalid version or the data in not in 'javabin' format at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:99) at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:39) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:466) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49) at org.apache.nutch.indexer.solr.SolrWriter.write(SolrWriter.java:64) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:54) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask $3.collect(ReduceTask.java:440) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:159) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:50) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:463) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411) at org.apache.hadoop.mapred.LocalJobRunner $Job.run(LocalJobRunner.java:216) 2011-07-13 11:09:49,611 ERROR solr.SolrIndexer - java.io.IOException: Job failed! --- I'd appreciate any help with this. Thanks, Leo
Re: nutch 1.2, solr 3.3, tomcat6. java.io.IOException: Job failed! problem when building solrindex
Works like a charm. Thanks, Leo On Wed, 2011-07-13 at 11:31 +0530, Geek Gamer wrote: you need to update the solrj libs to 3.x version. the java bin format has changed . I made the change a few months back, you can pull the changes from https://github.com/geek4377/nutch/tree/geek5377-1.2.1 hope that helps, On Wed, Jul 13, 2011 at 8:58 AM, Leo Subscriptions llsub...@zudiewiener.com wrote: I'm running 64bit Ubuntu 11.04, nutch 1.2, solr 3.3 (downloaded, not built) and tomcat6 following this (and some other) links http://wiki.apache.org/nutch/RunningNutchAndSolr I have added the nutch schema and can access/view this schema via the admin page. nutch also works as I can perfrom successful searches. When I execute the following: ./bin/nutch solrindex http://localhost:8080/solr/core0 crawl/crawldb crawl/linkdb crawl/segments/* I (eventually) get an io error. Tha above command creates the following files /var/lib/tomcat6/solr/core0/data/index/ --- 544 -rw-r--r-- 1 tomcat6 tomcat6 557056 2011-07-13 11:09 _1.fdt 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 _1.fdx 4 -rw-r--r-- 1 tomcat6 tomcat6 32 2011-07-13 10:59 segments_2 4 -rw-r--r-- 1 tomcat6 tomcat6 20 2011-07-13 10:59 segments.gen 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 write.lock --- but the hadoop.log reports the following error --- 2011-07-13 11:09:47,665 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.basic.BasicIndexingFilter 2011-07-13 11:09:47,666 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.anchor.AnchorIndexingFilter 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: content dest: content 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: site dest: site 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: title dest: title 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: host dest: host 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: segment dest: segment 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: boost dest: boost 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: digest dest: digest 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: tstamp dest: tstamp 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: id 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: url 2011-07-13 11:09:49,272 WARN mapred.LocalJobRunner - job_local_0001 java.lang.RuntimeException: Invalid version or the data in not in 'javabin' format at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:99) at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:39) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:466) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49) at org.apache.nutch.indexer.solr.SolrWriter.write(SolrWriter.java:64) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:54) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask $3.collect(ReduceTask.java:440) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:159) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:50) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:463) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411) at org.apache.hadoop.mapred.LocalJobRunner $Job.run(LocalJobRunner.java:216) 2011-07-13 11:09:49,611 ERROR solr.SolrIndexer - java.io.IOException: Job failed! --- I'd appreciate any help with this. Thanks, Leo
Re: nutch 1.2, solr 3.3, tomcat6. java.io.IOException: Job failed! problem when building solrindex
If you're using Solr anyway, you'd better upgrade to Nutch 1.3 with Solr 3.x support. Works like a charm. Thanks, Leo On Wed, 2011-07-13 at 11:31 +0530, Geek Gamer wrote: you need to update the solrj libs to 3.x version. the java bin format has changed . I made the change a few months back, you can pull the changes from https://github.com/geek4377/nutch/tree/geek5377-1.2.1 hope that helps, On Wed, Jul 13, 2011 at 8:58 AM, Leo Subscriptions llsub...@zudiewiener.com wrote: I'm running 64bit Ubuntu 11.04, nutch 1.2, solr 3.3 (downloaded, not built) and tomcat6 following this (and some other) links http://wiki.apache.org/nutch/RunningNutchAndSolr I have added the nutch schema and can access/view this schema via the admin page. nutch also works as I can perfrom successful searches. When I execute the following: ./bin/nutch solrindex http://localhost:8080/solr/core0 crawl/crawldb crawl/linkdb crawl/segments/* I (eventually) get an io error. Tha above command creates the following files /var/lib/tomcat6/solr/core0/data/index/ --- 544 -rw-r--r-- 1 tomcat6 tomcat6 557056 2011-07-13 11:09 _1.fdt 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 _1.fdx 4 -rw-r--r-- 1 tomcat6 tomcat6 32 2011-07-13 10:59 segments_2 4 -rw-r--r-- 1 tomcat6 tomcat6 20 2011-07-13 10:59 segments.gen 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 write.lock --- but the hadoop.log reports the following error --- 2011-07-13 11:09:47,665 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.basic.BasicIndexingFilter 2011-07-13 11:09:47,666 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.anchor.AnchorIndexingFilter 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: content dest: content 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: site dest: site 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: title dest: title 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: host dest: host 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: segment dest: segment 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: boost dest: boost 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: digest dest: digest 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: tstamp dest: tstamp 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: id 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: url 2011-07-13 11:09:49,272 WARN mapred.LocalJobRunner - job_local_0001 java.lang.RuntimeException: Invalid version or the data in not in 'javabin' format at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:99 ) at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse( BinaryResponseParser.java:39) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commons HttpSolrServer.java:466) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commons HttpSolrServer.java:243) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(Abst ractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49) at org.apache.nutch.indexer.solr.SolrWriter.write(SolrWriter.java:64) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:54) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask $3.collect(ReduceTask.java:440) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java: 159) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java: 50) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:463) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411) at org.apache.hadoop.mapred.LocalJobRunner $Job.run(LocalJobRunner.java:216) 2011-07-13 11:09:49,611 ERROR solr.SolrIndexer - java.io.IOException: Job failed! --- --- - I'd appreciate any help with this. Thanks, Leo
nutch 1.2, solr 3.3, tomcat6. java.io.IOException: Job failed! problem when building solrindex
I'm running 64bit Ubuntu 11.04, nutch 1.2, solr 3.3 (downloaded, not built) and tomcat6 following this (and some other) links http://wiki.apache.org/nutch/RunningNutchAndSolr I have added the nutch schema and can access/view this schema via the admin page. nutch also works as I can perfrom successful searches. When I execute the following: ./bin/nutch solrindex http://localhost:8080/solr/core0 crawl/crawldb crawl/linkdb crawl/segments/* I (eventually) get an io error. Tha above command creates the following files /var/lib/tomcat6/solr/core0/data/index/ --- 544 -rw-r--r-- 1 tomcat6 tomcat6 557056 2011-07-13 11:09 _1.fdt 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 _1.fdx 4 -rw-r--r-- 1 tomcat6 tomcat6 32 2011-07-13 10:59 segments_2 4 -rw-r--r-- 1 tomcat6 tomcat6 20 2011-07-13 10:59 segments.gen 0 -rw-r--r-- 1 tomcat6 tomcat6 0 2011-07-13 11:00 write.lock --- but the hadoop.log reports the following error --- 2011-07-13 11:09:47,665 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.basic.BasicIndexingFilter 2011-07-13 11:09:47,666 INFO indexer.IndexingFilters - Adding org.apache.nutch.indexer.anchor.AnchorIndexingFilter 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: content dest: content 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: site dest: site 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: title dest: title 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: host dest: host 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: segment dest: segment 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: boost dest: boost 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: digest dest: digest 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: tstamp dest: tstamp 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: id 2011-07-13 11:09:47,690 INFO solr.SolrMappingReader - source: url dest: url 2011-07-13 11:09:49,272 WARN mapred.LocalJobRunner - job_local_0001 java.lang.RuntimeException: Invalid version or the data in not in 'javabin' format at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:99) at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:39) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:466) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49) at org.apache.nutch.indexer.solr.SolrWriter.write(SolrWriter.java:64) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:54) at org.apache.nutch.indexer.IndexerOutputFormat $1.write(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask $3.collect(ReduceTask.java:440) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:159) at org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:50) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:463) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411) at org.apache.hadoop.mapred.LocalJobRunner $Job.run(LocalJobRunner.java:216) 2011-07-13 11:09:49,611 ERROR solr.SolrIndexer - java.io.IOException: Job failed! --- I'd appreciate any help with this. Thanks, Leo
Tomcat6 and Log4j
Hi, I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to $CATALINA_HOME/webapps/solr/WEB-INF/lib , then deleted the library “slf4j-jdk14-1.5.5.jar” from $CATALINA_HOME/webapps/solr/WEB-INF/lib, then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes. and created $CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties with the following contents : log4j.rootLogger=INFO log4j.appender.SOLR.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.logfile.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.logfile.DatePattern='.'-MM-dd log4j.appender.SOLR.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.SOLR.logfile.layout.conversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.SOLR.logfile = true I restarted solr and I got the following message in the catalina.out log : log4j:WARN No appenders could be found for logger (org.apache.solr.core.SolrResourceLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. What is told on this page is that this error occurs what the log4j.properties isn't found. Could someone help me to have it working ? Thanks in advance, Xavier
Re: Tomcat6 and Log4j
Have you tried to start Tomcat with -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 10. feb. 2011, at 09.41, Xavier Schepler wrote: Hi, I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to $CATALINA_HOME/webapps/solr/WEB-INF/lib , then deleted the library “slf4j-jdk14-1.5.5.jar” from $CATALINA_HOME/webapps/solr/WEB-INF/lib, then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes. and created $CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties with the following contents : log4j.rootLogger=INFO log4j.appender.SOLR.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.logfile.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.logfile.DatePattern='.'-MM-dd log4j.appender.SOLR.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.SOLR.logfile.layout.conversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.SOLR.logfile = true I restarted solr and I got the following message in the catalina.out log : log4j:WARN No appenders could be found for logger (org.apache.solr.core.SolrResourceLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. What is told on this page is that this error occurs what the log4j.properties isn't found. Could someone help me to have it working ? Thanks in advance, Xavier
Re: Tomcat6 and Log4j
Thanks for your response. How could I do that ? From: Jan Høydahl jan@cominvent.com Sent: Thu Feb 10 11:01:15 CET 2011 To: solr-user@lucene.apache.org Subject: Re: Tomcat6 and Log4j Have you tried to start Tomcat with -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 10. feb. 2011, at 09.41, Xavier Schepler wrote: Hi, I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to $CATALINA_HOME/webapps/solr/WEB-INF/lib , then deleted the library “slf4j-jdk14-1.5.5.jar” from $CATALINA_HOME/webapps/solr/WEB-INF/lib, then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes. and created $CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties with the following contents : log4j.rootLogger=INFO log4j.appender.SOLR.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.logfile.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.logfile.DatePattern='.'-MM-dd log4j.appender.SOLR.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.SOLR.logfile.layout.conversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.SOLR.logfile = true I restarted solr and I got the following message in the catalina.out log : log4j:WARN No appenders could be found for logger (org.apache.solr.core.SolrResourceLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. What is told on this page is that this error occurs what the log4j.properties isn't found. Could someone help me to have it working ? Thanks in advance, Xavier -- Tous les courriers électroniques émis depuis la messagerie de Sciences Po doivent respecter des conditions d'usages. Pour les consulter rendez-vous sur http://www.ressources-numeriques.sciences-po.fr/confidentialite_courriel.htm
Re: Tomcat6 and Log4j
Add it to the CATALINA_OPTS, on Debian systems you could edit /etc/default/tomcat On Thursday 10 February 2011 12:27:59 Xavier SCHEPLER wrote: -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.pr operties -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350
Re: Tomcat6 and Log4j
I added it to /etc/default/tomcat6. What happened is that the same error message appeared twice in /var/log/tomcat6/catalina.out. Like the same file was loaded twice. -- Tous les courriers électroniques émis depuis la messagerie de Sciences Po doivent respecter des conditions d'usages. Pour les consulter rendez-vous sur http://www.ressources-numeriques.sciences-po.fr/confidentialite_courriel.htm
Re: Tomcat6 and Log4j
Oh, now looking at your log4j.properties, i believe it's wrong. You declared INFO as rootLogger but you use SOLR. -log4j.rootLogger=INFO +log4j.rootLogger=SOLR try again On Thursday 10 February 2011 09:41:29 Xavier Schepler wrote: Hi, I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to $CATALINA_HOME/webapps/solr/WEB-INF/lib , then deleted the library “slf4j-jdk14-1.5.5.jar” from $CATALINA_HOME/webapps/solr/WEB-INF/lib, then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes. and created $CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties with the following contents : log4j.rootLogger=INFO log4j.appender.SOLR.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.logfile.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.logfile.DatePattern='.'-MM-dd log4j.appender.SOLR.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.SOLR.logfile.layout.conversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.SOLR.logfile = true I restarted solr and I got the following message in the catalina.out log : log4j:WARN No appenders could be found for logger (org.apache.solr.core.SolrResourceLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. What is told on this page is that this error occurs what the log4j.properties isn't found. Could someone help me to have it working ? Thanks in advance, Xavier -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350
Re: Tomcat6 and Log4j
Oh, and for sharing purposes; we use a configuration like this one. It'll have an info and error log and stores them next to Tomcat's own logs in /var/log/tomat on Debian systems (or whatever catalina.base is on other distros). log4j.rootLogger=DEBUG, info, error log4j.appender.info=org.apache.log4j.DailyRollingFileAppender log4j.appender.info.Threshold=INFO log4j.appender.info.MaxFileSize=500KB log4j.appender.info.MaxBackupIndex=20 log4j.appender.info.Append=true log4j.appender.info.File=${catalina.base}/logs/info.log log4j.appender.info.DatePattern='.'-MM-dd'.log' log4j.appender.info.layout=org.apache.log4j.PatternLayout log4j.appender.info.layout.ConversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.error=org.apache.log4j.DailyRollingFileAppender log4j.appender.error.Threshold=ERROR log4j.appender.error.File=${catalina.base}/logs/error.log log4j.appender.error.DatePattern='.'-MM-dd'.log' log4j.appender.error.layout=org.apache.log4j.PatternLayout log4j.appender.error.layout.ConversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.error.MaxFileSize=500KB log4j.appender.error.MaxBackupIndex=20 On Thursday 10 February 2011 12:51:13 Markus Jelsma wrote: Oh, now looking at your log4j.properties, i believe it's wrong. You declared INFO as rootLogger but you use SOLR. -log4j.rootLogger=INFO +log4j.rootLogger=SOLR try again On Thursday 10 February 2011 09:41:29 Xavier Schepler wrote: Hi, I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to $CATALINA_HOME/webapps/solr/WEB-INF/lib , then deleted the library “slf4j-jdk14-1.5.5.jar” from $CATALINA_HOME/webapps/solr/WEB-INF/lib, then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes. and created $CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties with the following contents : log4j.rootLogger=INFO log4j.appender.SOLR.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.logfile.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.logfile.DatePattern='.'-MM-dd log4j.appender.SOLR.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.SOLR.logfile.layout.conversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n log4j.appender.SOLR.logfile = true I restarted solr and I got the following message in the catalina.out log : log4j:WARN No appenders could be found for logger (org.apache.solr.core.SolrResourceLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. What is told on this page is that this error occurs what the log4j.properties isn't found. Could someone help me to have it working ? Thanks in advance, Xavier -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350
Re: Tomcat6 and Log4j
Yes thanks. This works fine : log4j.rootLogger=INFO, SOLR log4j.appender.SOLR=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.datePattern='.'-MM-dd log4j.appender.SOLR.layout=org.apache.log4j.PatternLayout log4j.appender.SOLR.layout.conversionPattern=%d %p [%c{3}] - [%t] - %X{ip}: %m%n -- Tous les courriers électroniques émis depuis la messagerie de Sciences Po doivent respecter des conditions d'usages. Pour les consulter rendez-vous sur http://www.ressources-numeriques.sciences-po.fr/confidentialite_courriel.htm
Re: Tomcat6 env-entry
The beautiful thing about a wiki is that *anybody* can update them. It's especially useful if someone who's just struggled through the issues can write something up since the pain is still fresh G. Especially if you're better than I am about writing things down All of which leads me to ask if you're willing to volunteer. You have to create an ID, but that's all. Best Erick On Dec 5, 2007 12:05 PM, Matthew Runo [EMAIL PROTECTED] wrote: I found that the JNDI settings for Tomcat6 were hard to figure out. Would someone be willing to write it up for the wiki? Since I think most people getting started with SOLR will be using Tomcat6 (or Jetty), it would make sense to update the docs a bit to make it easier to figure out the proper place and way to set all this up. Even just a link to this thread in some archive would help. --Matthew On Dec 5, 2007, at 1:57 AM, Erik Hatcher wrote: Or, instead of messing around with the JNDI setting, simply set - Dsolr.solr.home=/opt/solr with the JVM startup parameters for Tomcat. Hardcoding a path in web.xml is definitely _not_ what we want to do. Not all containers unpack the WAR file onto disk. Also, consider the case of upgrading to a newer version of Solr after having tweaked web.xml. Erik On Dec 4, 2007, at 9:58 PM, Yousef Ourabi wrote: Tomcat unpacks the jar into the webapps directory based off the context name anyway... What was the original thinking behind not having solr/home set in the web.xml -- seems like an easier way to deal with this. I would imagine most people are more familiar with setting params in web.xml than manually creating Contexts for their webapp... In fact I would take a step further and have a default value of / opt/solr (or whatever...) and if a specific user wants to change it they can just edit their web.xml? This would simplify the documentation, instead of configure your stuff in the Context -- it becomes this is the default, copy example/solr to /opt/solr (or we have a script do it) and deploy the .war - Original Message - From: Chris Hostetter [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 4, 2007 6:34:55 PM (GMT-0800) America/ Los_Angeles Subject: Re: Tomcat6 env-entry : It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/ home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry- value :/env-entry -Hoss
Re: Tomcat6 env-entry
Ok, I updated it. I hope it makes sense =\ I'm not really familiar enough with the Context changes to add those. If someone else would be so kind as to add the other way, it'd be much appreciated. http://wiki.apache.org/solr/SolrTomcat --Matthew On Dec 5, 2007, at 9:31 AM, Erick Erickson wrote: The beautiful thing about a wiki is that *anybody* can update them. It's especially useful if someone who's just struggled through the issues can write something up since the pain is still fresh G. Especially if you're better than I am about writing things down All of which leads me to ask if you're willing to volunteer. You have to create an ID, but that's all. Best Erick On Dec 5, 2007 12:05 PM, Matthew Runo [EMAIL PROTECTED] wrote: I found that the JNDI settings for Tomcat6 were hard to figure out. Would someone be willing to write it up for the wiki? Since I think most people getting started with SOLR will be using Tomcat6 (or Jetty), it would make sense to update the docs a bit to make it easier to figure out the proper place and way to set all this up. Even just a link to this thread in some archive would help. --Matthew On Dec 5, 2007, at 1:57 AM, Erik Hatcher wrote: Or, instead of messing around with the JNDI setting, simply set - Dsolr.solr.home=/opt/solr with the JVM startup parameters for Tomcat. Hardcoding a path in web.xml is definitely _not_ what we want to do. Not all containers unpack the WAR file onto disk. Also, consider the case of upgrading to a newer version of Solr after having tweaked web.xml. Erik On Dec 4, 2007, at 9:58 PM, Yousef Ourabi wrote: Tomcat unpacks the jar into the webapps directory based off the context name anyway... What was the original thinking behind not having solr/home set in the web.xml -- seems like an easier way to deal with this. I would imagine most people are more familiar with setting params in web.xml than manually creating Contexts for their webapp... In fact I would take a step further and have a default value of / opt/solr (or whatever...) and if a specific user wants to change it they can just edit their web.xml? This would simplify the documentation, instead of configure your stuff in the Context -- it becomes this is the default, copy example/solr to /opt/solr (or we have a script do it) and deploy the .war - Original Message - From: Chris Hostetter [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 4, 2007 6:34:55 PM (GMT-0800) America/ Los_Angeles Subject: Re: Tomcat6 env-entry : It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/ home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry- value :/env-entry -Hoss
Re: Tomcat6 env-entry
Thanks Matthew! I tidied up a couple of minor things in there. Erik On Dec 5, 2007, at 2:00 PM, Matthew Runo wrote: Ok, I updated it. I hope it makes sense =\ I'm not really familiar enough with the Context changes to add those. If someone else would be so kind as to add the other way, it'd be much appreciated. http://wiki.apache.org/solr/SolrTomcat --Matthew On Dec 5, 2007, at 9:31 AM, Erick Erickson wrote: The beautiful thing about a wiki is that *anybody* can update them. It's especially useful if someone who's just struggled through the issues can write something up since the pain is still fresh G. Especially if you're better than I am about writing things down All of which leads me to ask if you're willing to volunteer. You have to create an ID, but that's all. Best Erick On Dec 5, 2007 12:05 PM, Matthew Runo [EMAIL PROTECTED] wrote: I found that the JNDI settings for Tomcat6 were hard to figure out. Would someone be willing to write it up for the wiki? Since I think most people getting started with SOLR will be using Tomcat6 (or Jetty), it would make sense to update the docs a bit to make it easier to figure out the proper place and way to set all this up. Even just a link to this thread in some archive would help. --Matthew On Dec 5, 2007, at 1:57 AM, Erik Hatcher wrote: Or, instead of messing around with the JNDI setting, simply set - Dsolr.solr.home=/opt/solr with the JVM startup parameters for Tomcat. Hardcoding a path in web.xml is definitely _not_ what we want to do. Not all containers unpack the WAR file onto disk. Also, consider the case of upgrading to a newer version of Solr after having tweaked web.xml. Erik On Dec 4, 2007, at 9:58 PM, Yousef Ourabi wrote: Tomcat unpacks the jar into the webapps directory based off the context name anyway... What was the original thinking behind not having solr/home set in the web.xml -- seems like an easier way to deal with this. I would imagine most people are more familiar with setting params in web.xml than manually creating Contexts for their webapp... In fact I would take a step further and have a default value of / opt/solr (or whatever...) and if a specific user wants to change it they can just edit their web.xml? This would simplify the documentation, instead of configure your stuff in the Context -- it becomes this is the default, copy example/solr to /opt/solr (or we have a script do it) and deploy the .war - Original Message - From: Chris Hostetter [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 4, 2007 6:34:55 PM (GMT-0800) America/ Los_Angeles Subject: Re: Tomcat6 env-entry : It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/ home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/ context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env- entry- value :/env-entry -Hoss
Re: Tomcat6 env-entry
I don't recall any differences in tomcat 6 configuration compared to tomcat 5, did you try to follow the information on wiki for tomcat 5 on your installation? -- Sami Siren Matthew Runo wrote: Ok, I updated it. I hope it makes sense =\ I'm not really familiar enough with the Context changes to add those. If someone else would be so kind as to add the other way, it'd be much appreciated. http://wiki.apache.org/solr/SolrTomcat --Matthew
Re: Tomcat6 env-entry
I found that the JNDI settings for Tomcat6 were hard to figure out. Would someone be willing to write it up for the wiki? Since I think most people getting started with SOLR will be using Tomcat6 (or Jetty), it would make sense to update the docs a bit to make it easier to figure out the proper place and way to set all this up. Even just a link to this thread in some archive would help. --Matthew On Dec 5, 2007, at 1:57 AM, Erik Hatcher wrote: Or, instead of messing around with the JNDI setting, simply set - Dsolr.solr.home=/opt/solr with the JVM startup parameters for Tomcat. Hardcoding a path in web.xml is definitely _not_ what we want to do. Not all containers unpack the WAR file onto disk. Also, consider the case of upgrading to a newer version of Solr after having tweaked web.xml. Erik On Dec 4, 2007, at 9:58 PM, Yousef Ourabi wrote: Tomcat unpacks the jar into the webapps directory based off the context name anyway... What was the original thinking behind not having solr/home set in the web.xml -- seems like an easier way to deal with this. I would imagine most people are more familiar with setting params in web.xml than manually creating Contexts for their webapp... In fact I would take a step further and have a default value of / opt/solr (or whatever...) and if a specific user wants to change it they can just edit their web.xml? This would simplify the documentation, instead of configure your stuff in the Context -- it becomes this is the default, copy example/solr to /opt/solr (or we have a script do it) and deploy the .war - Original Message - From: Chris Hostetter [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 4, 2007 6:34:55 PM (GMT-0800) America/ Los_Angeles Subject: Re: Tomcat6 env-entry : It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/ home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry- value :/env-entry -Hoss
Re: Tomcat6 env-entry
Erik has already made some good fllowup comments, but to address some specific points... : What was the original thinking behind not having solr/home set in the : web.xml -- seems like an easier way to deal with this. because then people would *have* to unpack the war to change it ... some containers don't unpack the war anyway, let alone expect you to. it would also make upgrading difficult (right now, once you have a setup you like, you just replace the war ... if you had to edit the web.xml every time it would be a pain. : I would imagine most people are more familiar with setting params in : web.xml than manually creating Contexts for their webapp... H most people is a broad term. most java develpers who are use to writting webapp themselves maybe. for non java people it's probably 50/50. And remember: you don't *have* to edit the context file ... Sol looks for the solr home dir 3 different ways, you only need to create/edit a context file *if*: 1) you are using tomcat 2) you want to specify the solr home using JNDI. : In fact I would take a step further and have a default value of : /opt/solr (or whatever...) and if a specific user wants to change it : they can just edit their web.xml? Solr does have a default: it's the current working directory, the one and only directory that Solr can be garunteed will exist on any users file system -- assuming /opt/solr would be very unix centric, and wouldn't be very nice to our windows users who are pretty happy with the default CWD or using a system property to set it at run time. : This would simplify the documentation, instead of configure your stuff : in the Context -- it becomes this is the default, copy example/solr to the basic documentation for running solr is actaully pretty darn simple.. cd example; java -jar start.jar ...it doesn't get much simpler then that. where things get more complicated is in running solr in different containers, and using differnet container specific configuration mechanisms to set the solr home ... and even doesn't really seem all that complicated to me. -Hoss
Re: Tomcat6 env-entry
Or, instead of messing around with the JNDI setting, simply set - Dsolr.solr.home=/opt/solr with the JVM startup parameters for Tomcat. Hardcoding a path in web.xml is definitely _not_ what we want to do. Not all containers unpack the WAR file onto disk. Also, consider the case of upgrading to a newer version of Solr after having tweaked web.xml. Erik On Dec 4, 2007, at 9:58 PM, Yousef Ourabi wrote: Tomcat unpacks the jar into the webapps directory based off the context name anyway... What was the original thinking behind not having solr/home set in the web.xml -- seems like an easier way to deal with this. I would imagine most people are more familiar with setting params in web.xml than manually creating Contexts for their webapp... In fact I would take a step further and have a default value of / opt/solr (or whatever...) and if a specific user wants to change it they can just edit their web.xml? This would simplify the documentation, instead of configure your stuff in the Context -- it becomes this is the default, copy example/solr to /opt/solr (or we have a script do it) and deploy the .war - Original Message - From: Chris Hostetter [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 4, 2007 6:34:55 PM (GMT-0800) America/ Los_Angeles Subject: Re: Tomcat6 env-entry : It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/ home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/ context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry- value :/env-entry -Hoss
Tomcat6 env-entry
It works excellently in Tomcat 6. The toughest thing I had to deal with is discovering that the environment variable in web.xml for solr/home is essential. If you skip that step, it won't come up. env-entry env-entry-namesolr/home/env-entry-name env-entry-typejava.lang.String/env-entry-type env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry-value /env-entry - Original Message - From: Charlie Jackson [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, December 03, 2007 11:35 AM Subject: RE: Tomcat6? $CALINA_HOME/conf/Catalina/localhost doesn't exist by default, but you can create it and it will work exactly the same way it did in Tomcat 5. It's not created by default because its not needed by the manager webapp anymore. -Original Message- From: Matthew Runo [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:15 AM To: solr-user@lucene.apache.org Subject: Re: Tomcat6? In context.xml, I added.. Environment name=/solr/home value=/Users/mruno/solr-src/example/ solr type=java.lang.String / I think that's all I did to get it working in Tocmat 6. --Matthew Runo On Dec 3, 2007, at 7:58 AM, Jörg Kiegeland wrote: In the Solr wiki, there is not described how to install Solr on Tomcat 6, and I not managed it myself :( In the chapter Configuring Solr Home with JNDI there is mentioned the directory $CATALINA_HOME/conf/Catalina/localhost , which not exists with TOMCAT 6. Alternatively I tried the folder $CATALINA_HOME/work/Catalina/ localhost, but with no success.. (I can query the top level page, but the Solr Admin link then not works). Can anybody help? -- Dipl.-Inf. Jörg Kiegeland ikv++ technologies ag Bernburger Strasse 24-25, D-10963 Berlin e-mail: [EMAIL PROTECTED], web: http://www.ikv.de phone: +49 30 34 80 77 18, fax: +49 30 34 80 78 0 = Handelsregister HRB 81096; Amtsgericht Berlin-Charlottenburg board of directors: Dr. Olaf Kath (CEO); Dr. Marc Born (CTO) supervising board: Prof. Dr. Bernd Mahr (chairman) _ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.12/1162 - Release Date: 11/30/2007 9:26 PM
Re: Tomcat6 env-entry
: It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry-value :/env-entry -Hoss
Re: Tomcat6 env-entry
Tomcat unpacks the jar into the webapps directory based off the context name anyway... What was the original thinking behind not having solr/home set in the web.xml -- seems like an easier way to deal with this. I would imagine most people are more familiar with setting params in web.xml than manually creating Contexts for their webapp... In fact I would take a step further and have a default value of /opt/solr (or whatever...) and if a specific user wants to change it they can just edit their web.xml? This would simplify the documentation, instead of configure your stuff in the Context -- it becomes this is the default, copy example/solr to /opt/solr (or we have a script do it) and deploy the .war - Original Message - From: Chris Hostetter [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 4, 2007 6:34:55 PM (GMT-0800) America/Los_Angeles Subject: Re: Tomcat6 env-entry : It works excellently in Tomcat 6. The toughest thing I had to deal with is : discovering that the environment variable in web.xml for solr/home is : essential. If you skip that step, it won't come up. no, there's no reason why you should need to edit the web.xml file ... the solr/home property can be set in a Context configuration using an Environment directive without ever opening the solr.war. See this section of the tomcat docs for me details... http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment%20Entries :env-entry :env-entry-namesolr/home/env-entry-name :env-entry-typejava.lang.String/env-entry-type :env-entry-valueF:\Tomcat-6.0.14\webapps\solr/env-entry-value :/env-entry -Hoss
Tomcat6?
In the Solr wiki, there is not described how to install Solr on Tomcat 6, and I not managed it myself :( In the chapter Configuring Solr Home with JNDI there is mentioned the directory $CATALINA_HOME/conf/Catalina/localhost , which not exists with TOMCAT 6. Alternatively I tried the folder $CATALINA_HOME/work/Catalina/localhost, but with no success.. (I can query the top level page, but the Solr Admin link then not works). Can anybody help? -- Dipl.-Inf. Jörg Kiegeland ikv++ technologies ag Bernburger Strasse 24-25, D-10963 Berlin e-mail: [EMAIL PROTECTED], web: http://www.ikv.de phone: +49 30 34 80 77 18, fax: +49 30 34 80 78 0 = Handelsregister HRB 81096; Amtsgericht Berlin-Charlottenburg board of directors: Dr. Olaf Kath (CEO); Dr. Marc Born (CTO) supervising board: Prof. Dr. Bernd Mahr (chairman) _
Re: Tomcat6?
In context.xml, I added.. Environment name=/solr/home value=/Users/mruno/solr-src/example/ solr type=java.lang.String / I think that's all I did to get it working in Tocmat 6. --Matthew Runo On Dec 3, 2007, at 7:58 AM, Jörg Kiegeland wrote: In the Solr wiki, there is not described how to install Solr on Tomcat 6, and I not managed it myself :( In the chapter Configuring Solr Home with JNDI there is mentioned the directory $CATALINA_HOME/conf/Catalina/localhost , which not exists with TOMCAT 6. Alternatively I tried the folder $CATALINA_HOME/work/Catalina/ localhost, but with no success.. (I can query the top level page, but the Solr Admin link then not works). Can anybody help? -- Dipl.-Inf. Jörg Kiegeland ikv++ technologies ag Bernburger Strasse 24-25, D-10963 Berlin e-mail: [EMAIL PROTECTED], web: http://www.ikv.de phone: +49 30 34 80 77 18, fax: +49 30 34 80 78 0 = Handelsregister HRB 81096; Amtsgericht Berlin-Charlottenburg board of directors: Dr. Olaf Kath (CEO); Dr. Marc Born (CTO) supervising board: Prof. Dr. Bernd Mahr (chairman) _
RE: Tomcat6?
$CALINA_HOME/conf/Catalina/localhost doesn't exist by default, but you can create it and it will work exactly the same way it did in Tomcat 5. It's not created by default because its not needed by the manager webapp anymore. -Original Message- From: Matthew Runo [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:15 AM To: solr-user@lucene.apache.org Subject: Re: Tomcat6? In context.xml, I added.. Environment name=/solr/home value=/Users/mruno/solr-src/example/ solr type=java.lang.String / I think that's all I did to get it working in Tocmat 6. --Matthew Runo On Dec 3, 2007, at 7:58 AM, Jörg Kiegeland wrote: In the Solr wiki, there is not described how to install Solr on Tomcat 6, and I not managed it myself :( In the chapter Configuring Solr Home with JNDI there is mentioned the directory $CATALINA_HOME/conf/Catalina/localhost , which not exists with TOMCAT 6. Alternatively I tried the folder $CATALINA_HOME/work/Catalina/ localhost, but with no success.. (I can query the top level page, but the Solr Admin link then not works). Can anybody help? -- Dipl.-Inf. Jörg Kiegeland ikv++ technologies ag Bernburger Strasse 24-25, D-10963 Berlin e-mail: [EMAIL PROTECTED], web: http://www.ikv.de phone: +49 30 34 80 77 18, fax: +49 30 34 80 78 0 = Handelsregister HRB 81096; Amtsgericht Berlin-Charlottenburg board of directors: Dr. Olaf Kath (CEO); Dr. Marc Born (CTO) supervising board: Prof. Dr. Bernd Mahr (chairman) _
Error when starting Solr using Tomcat V6 (tomcat6-6.0.13)
Hi, I'm getting the follwing error when starting Solr: java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:215) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390) I do not get the error when using Tomcat V5 (jakarta-tomcat5-5.5.20) What could be causing this on the newer version? Thanks, Dan
RE: Error when starting Solr using Tomcat V6 (tomcat6-6.0.13)
-Original Message- From: Kevin Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 1:58 PM To: solr-user@lucene.apache.org Subject: RE: Error when starting Solr using Tomcat V6 (tomcat6-6.0.13) What's the command you are using to start solr? I'm running it from a script, (using tomcat 5.5) $CATALINA_HOME/bin/catalina.sh $1 ${LOGFILE} 21 $1 is start Ultimately, it's translated to the following: /data/servers/cbk-solr/java/bin/java -server -Xms128m -Xmx15g -Duser.timezone=US/Eastern -Dorg.apache.lucene.commitLockTimeout=6 -Dcom.sun.management.jmxremote.port=8998 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=/data/servers/cbk-solr/conf /jmxremote.password -Dcom.sun.management.jmxremote.access.file=/data/servers/cbk-solr/conf/j mxremote.access -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/data/servers/cbk-solr/conf/logging.prop erties -Djava.endorsed.dirs=/data/servers/cbk-solr/tomcat/common/endorsed -classpath :/data/servers/cbk-solr/tomcat/bin/bootstrap.jar:/data/servers/cbk-solr/ tomcat/bin/commons-logging-api.jar -Dcatalina.base=/data/servers/cbk-solr -Dcatalina.home=/data/servers/cbk-solr/tomcat -Djava.io.tmpdir=/data/servers/cbk-solr/temp org.apache.catalina.startup.Bootstrap start Thanks, Dan
RE: Error when starting Solr using Tomcat V6 (tomcat6-6.0.13)
What's the command you are using to start solr?