Hi,
Hope you are using maven or else there are hell lot of dependent jars you
have to include yourself.
Thanks
Vineeth
On Dec 23, 2014 4:54 PM, "Vijayakumari B N" <[email protected]>
wrote:
> Hi,
>
> I used only one jar for elasticsearch i.e. elasticsearch-1.4.1.jar, i
> don't think we need any other jars apart from this and my elastic server is
> also running. Please let me know if there are any additional jars which i
> need to add.
>
> Thanks,
> Vijaya
>
> On Tuesday, December 23, 2014 2:38:43 PM UTC+5:30, vineeth mohan wrote:
>>
>> Hi ,
>>
>> Make sure all the dependent JAR files are present.
>> Its missing some of these.
>>
>> Thanks
>> Vineeth
>>
>> On Tue, Dec 23, 2014 at 11:15 AM, Vijayakumari B N <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I get the below error when i tried to restart my jboss server after
>>> integrating with elastic server. I am using elastic search 1.4 version. Can
>>> some one let me know where i am doing wrong. Elastic server absolutely work
>>> fine apart from below error.
>>>
>>> public static Client getESClient() {
>>> if (esClient == null) {
>>> Client esClient = new TransportClient().addTransportAddress(new
>>> InetSocketTransportAddress("127.0.0.1", 9300));
>>> return esClient;
>>> }
>>> return esClient;
>>> }
>>>
>>>
>>>
>>>
>>> 2014-12-23 10:44:46,933 INFO [org.apache.catalina.loader.WebappClassLoader]
>>> Illegal access: this web application instance has been stopped already.
>>> Could not load org.elasticsearch.transport.
>>> SendRequestTransportException. The eventual following stack trace is
>>> caused by an error thrown for debugging purposes as well as to attempt to
>>> terminate the thread which caused the illegal access, and has no functional
>>> impact.
>>> java.lang.IllegalStateException
>>> at org.apache.catalina.loader.WebappClassLoader.loadClass(
>>> WebappClassLoader.java:1244)
>>> at org.apache.catalina.loader.WebappClassLoader.loadClass(
>>> WebappClassLoader.java:1204)
>>> at org.elasticsearch.transport.TransportService.sendRequest(
>>> TransportService.java:213)
>>> at org.elasticsearch.transport.TransportService.submitRequest(
>>> TransportService.java:177)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> SimpleNodeSampler.doSample(TransportClientNodesService.java:349)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> NodeSampler.sample(TransportClientNodesService.java:288)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> ScheduledNodeSampler.run(TransportClientNodesService.java:321)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>> 2014-12-23 10:44:46,935 INFO [org.elasticsearch.client.transport]
>>> [Hammerhead] failed to get node info for [#transport#-1][BLRD17730][
>>> inet[/127.0.0.1:9300]], disconnecting...
>>> java.lang.NoClassDefFoundError: org/elasticsearch/transport/
>>> SendRequestTransportException
>>> at org.elasticsearch.transport.TransportService.sendRequest(
>>> TransportService.java:213)
>>> at org.elasticsearch.transport.TransportService.submitRequest(
>>> TransportService.java:177)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> SimpleNodeSampler.doSample(TransportClientNodesService.java:349)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> NodeSampler.sample(TransportClientNodesService.java:288)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> ScheduledNodeSampler.run(TransportClientNodesService.java:321)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.elasticsearch.transport.SendRequestTransportException
>>> at org.apache.catalina.loader.WebappClassLoader.loadClass(
>>> WebappClassLoader.java:1358)
>>> at org.apache.catalina.loader.WebappClassLoader.loadClass(
>>> WebappClassLoader.java:1204)
>>> ... 8 more
>>> 2014-12-23 10:44:46,943 INFO [org.apache.catalina.loader.WebappClassLoader]
>>> Illegal access: this web application instance has been stopped already.
>>> Could not load org.elasticsearch.common.netty.channel.Channels$4. The
>>> eventual following stack trace is caused by an error thrown for debugging
>>> purposes as well as to attempt to terminate the thread which caused the
>>> illegal access, and has no functional impact.
>>> java.lang.IllegalStateException
>>> at org.apache.catalina.loader.WebappClassLoader.loadClass(
>>> WebappClassLoader.java:1244)
>>> at org.apache.catalina.loader.WebappClassLoader.loadClass(
>>> WebappClassLoader.java:1204)
>>> at org.elasticsearch.common.netty.channel.Channels.
>>> fireChannelDisconnectedLater(Channels.java:383)
>>> at org.elasticsearch.common.netty.channel.socket.nio.
>>> AbstractNioWorker.close(AbstractNioWorker.java:362)
>>> at org.elasticsearch.common.netty.channel.socket.nio.
>>> NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.
>>> java:58)
>>> at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.
>>> sendDownstream(DefaultChannelPipeline.java:574)
>>> at org.elasticsearch.common.netty.channel.Channels.close(
>>> Channels.java:812)
>>> at org.elasticsearch.common.netty.channel.AbstractChannel.
>>> close(AbstractChannel.java:197)
>>> at org.elasticsearch.transport.netty.NettyTransport$NodeChannels.
>>> closeChannelsAndWait(NettyTransport.java:1107)
>>> at org.elasticsearch.transport.netty.NettyTransport$NodeChannels.close(
>>> NettyTransport.java:1093)
>>> at org.elasticsearch.transport.netty.NettyTransport.disconnectFromNode(
>>> NettyTransport.java:883)
>>> at org.elasticsearch.transport.TransportService.disconnectFromNode(
>>> TransportService.java:158)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> SimpleNodeSampler.doSample(TransportClientNodesService.java:372)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> NodeSampler.sample(TransportClientNodesService.java:288)
>>> at org.elasticsearch.client.transport.TransportClientNodesService$
>>> ScheduledNodeSampler.run(TransportClientNodesService.java:321)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>>
>>> Thanks,
>>> Vijaya
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "elasticsearch" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/elasticsearch/dcba912a-7878-4397-a203-401c31e5bb24%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/elasticsearch/dcba912a-7878-4397-a203-401c31e5bb24%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/d515aa3c-febe-4a03-a8d5-5f175c08e8fa%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/d515aa3c-febe-4a03-a8d5-5f175c08e8fa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nL-vohpRe7eW5FoakPAu_c3xHAk1Z59Z%3D5v%3DZgpsX5Ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.