I am trying to connect the SOLR with Java code using URLConnection, i have deployed solr war file in jboss server(assuming server machine in some other location or remote) its working fine if no exception raises... but if any exception raises in server like connection failure its stopping the jboss client(assuming client machine) where my Java code resides.
11:49:38,345 INFO [STDOUT] [2011-10-27 11:49:38.345] class = com.dstsystems.adc.efs.rs.util.SimplePost,method = fatal(),level = SEVERE: ,message = Connection error (is Solr running at http://xx.yy.zzz:8080/solr/update ?): java.net.ConnectException: Connection refused: connect 11:49:38,361 INFO [Server] Runtime shutdown hook called, forceHalt: true 11:49:38,376 INFO [Server] JBoss SHUTDOWN: Undeploying all packages 11:49:48,018 INFO [TransactionManagerService] Stopping recovery manager 11:49:48,128 INFO [Server] Shutdown complete Shutdown complete.. -- View this message in context: http://lucene.472066.n3.nabble.com/Why-Jboss-server-is-stopped-due-to-SOLR-tp3456903p3456903.html Sent from the Solr - User mailing list archive at Nabble.com.