You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ab...@innoventsolutions.com on 2013/06/06 21:57:18 UTC

Solr 4.1 over Websphere errors

hi all

We are having a problem getting Solr4.1 (Solr 4.3 is also not starting) 
to run in Websphere on Windows.

Websphere version? [8.0.0.3]
Windows version? [Win7 64bit]
Solr version? [4.1]
JDK version? [1.7.0_13 64bit]


Here is the error that none of us have ever seen before.  Can somebody 
please help figure this one out?
Thanks
Anria

-------------------------------------------------------------------------------------------------------
[6/6/13 11:50:47:102 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader locateSolrHome No /solr/home in 
JNDI
[6/6/13 11:50:47:102 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader locateSolrHome using system 
property solr.solr.home: C:\solr
[6/6/13 11:50:47:122 PDT] 00000040 CoreContainer I 
org.apache.solr.core.CoreContainer$Initializer initialize looking for 
solr.xml: C:\solr\solr.xml
[6/6/13 11:50:47:125 PDT] 00000040 CoreContainer I 
org.apache.solr.core.CoreContainer <init> New CoreContainer 397781387
[6/6/13 11:50:47:129 PDT] 00000040 CoreContainer I 
org.apache.solr.core.CoreContainer load Loading CoreContainer using Solr 
Home: 'C:\solr\'
[6/6/13 11:50:47:130 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader <init> new SolrResourceLoader 
for directory: 'C:\solr\'
[6/6/13 11:50:47:134 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader replaceClassLoader Adding 
'file:/C:/solr/lib/commons-beanutils-1.7.0.jar' to classloader
[6/6/13 11:50:47:135 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader replaceClassLoader Adding 
'file:/C:/solr/lib/commons-collections-3.2.1.jar' to classloader
[6/6/13 11:50:47:135 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader replaceClassLoader Adding 
'file:/C:/solr/lib/solr-core-4.1.0.jar' to classloader
[6/6/13 11:50:47:135 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader replaceClassLoader Adding 
'file:/C:/solr/lib/solr-velocity-4.1.0.jar' to classloader
[6/6/13 11:50:47:137 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader replaceClassLoader Adding 
'file:/C:/solr/lib/velocity-1.7.jar' to classloader
[6/6/13 11:50:47:138 PDT] 00000040 SolrResourceL I 
org.apache.solr.core.SolrResourceLoader replaceClassLoader Adding 
'file:/C:/solr/lib/velocity-tools-2.0.jar' to classloader
[6/6/13 11:50:47:224 PDT] 00000040 SolrDispatchF E 
org.apache.solr.servlet.SolrDispatchFilter init Could not start Solr. 
Check solr/home property and the logs
[6/6/13 11:50:47:327 PDT] 00000040 SolrCore      E 
org.apache.solr.common.SolrException log null:java.lang.VerifyError: 
JVMVRFY012 stack shape inconsistent; 
class=org/apache/lucene/codecs/lucene40/Lucene40FieldInfosReader, 
method=read(Lorg/apache/lucene/store/Directory;Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/index/FieldInfos;, 
pc=28
                 at java.lang.J9VMInternals.verifyImpl(Native Method)
                 at 
java.lang.J9VMInternals.verify(J9VMInternals.java:90)
                 at 
java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
                 at 
org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat.<init>(Lucene40FieldInfosFormat.java:99)
                 at 
org.apache.lucene.codecs.lucene40.Lucene40Codec.<init>(Lucene40Codec.java:48)
                 at java.lang.J9VMInternals.newInstanceImpl(Native 
Method)
                 at java.lang.Class.newInstance(Class.java:1355)
                 at 
org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:62)
                 at 
org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:42)
                 at 
org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:37)
                 at 
org.apache.lucene.codecs.Codec.<clinit>(Codec.java:41)
                 at java.lang.J9VMInternals.initializeImpl(Native 
Method)
                 at 
java.lang.J9VMInternals.initialize(J9VMInternals.java:233)
                 at 
org.apache.solr.core.SolrResourceLoader.reloadLuceneSPI(SolrResourceLoader.java:181)
                 at 
org.apache.solr.core.SolrResourceLoader.<init>(SolrResourceLoader.java:113)
                 at 
org.apache.solr.core.SolrResourceLoader.<init>(SolrResourceLoader.java:229)
                 at 
org.apache.solr.core.CoreContainer.load(CoreContainer.java:421)
                 at 
org.apache.solr.core.CoreContainer.load(CoreContainer.java:404)
                 at 
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:336)
                 at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:98)
                 at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
                 at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:566)
                 at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:473)
                 at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:306)
                 at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:378)
                 at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:890)
                 at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
                 at 
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
                 at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
                 at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
                 at 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
                 at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
                 at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
                 at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
                 at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
                 at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
                 at 
com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1049)
                 at 
com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:643)
                 at 
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
                 at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                 at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                 at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                 at 
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
                 at 
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
                 at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
                 at 
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
                 at 
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)

[6/6/13 11:50:47:327 PDT] 00000040 SolrDispatchF I 
org.apache.solr.servlet.SolrDispatchFilter init 
SolrDispatchFilter.init() done
[6/6/13 11:50:47:332 PDT] 00000040 webapp        E 
com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet 
Error]-[Server is shutting down]: 
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Server is shutting 
down





Re: Solr 4.1 over Websphere errors

Posted by Anria <ab...@innoventsolutions.com>.
Thank you 

This sure is a lot to chew on



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-over-Websphere-errors-tp4068715p4068740.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 4.1 over Websphere errors

Posted by Chris Hostetter <ho...@fucit.org>.
: Based on seeing java.lang.J9VMInternals in your log, I am guessing that your
: JVM is IBM's J9, not Oracle.  The Java from IBM is notoriously buggy when it
: comes to running Lucene and Solr.  Try Oracle, version 1.7.0_21.

Note specifically the excellent verbage here...

http://wiki.apache.org/lucene-java/JavaBugs#IBM_J9_Bugs


-Hoss

Re: Solr 4.1 over Websphere errors

Posted by Shawn Heisey <so...@elyograg.org>.
On 6/6/2013 1:57 PM, abillavara@innoventsolutions.com wrote:
> We are having a problem getting Solr4.1 (Solr 4.3 is also not starting)
> to run in Websphere on Windows.
>
> Websphere version? [8.0.0.3]
> Windows version? [Win7 64bit]
> Solr version? [4.1]
> JDK version? [1.7.0_13 64bit]

Based on seeing java.lang.J9VMInternals in your log, I am guessing that 
your JVM is IBM's J9, not Oracle.  The Java from IBM is notoriously 
buggy when it comes to running Lucene and Solr.  Try Oracle, version 
1.7.0_21.

If I'm wrong about your JVM, then I have no idea what's wrong.  It looks 
like some kind of fundamental JVM or system problem.

Thanks,
Shawn


Re: Solr 4.1 over Websphere errors

Posted by bbarani <bb...@gmail.com>.
As suggested by Shawn try to change the JVM, this might resolve your issue.

I had seen this error ':java.lang.VerifyError' before (not specific to SOLR)
when compiling code using JDK1.7.

After some research I figured out the code compiled using Java 1.7 requires
stack map frame instructions. If you wish to modify Java 1.7 class files,
you need to use ClassWriter.COMPUTE_FRAMES or MethodVisit.visitFrame().

I was able to solve this issue by using the java option
"-XX:UseSplitVerifier"..



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-over-Websphere-errors-tp4068715p4068735.html
Sent from the Solr - User mailing list archive at Nabble.com.