users@glassfish.java.net

Solr integration?

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 Aug 2008 19:12:07 PDT

Greetings,

I am setting up solr search engine under Glassfish and am having hard time doing it.

I dropped off the .war file into autodeploy, the error I quoted below.

I rebuilt the .war file Context-wrapped variable, redeployed to no avail.

In the context of /opt/SUNWappserver/domains/domain1, what would be location:

Solr home set to 'solr/'

All pointers are sorely appreciated, I prefer to get this working instead of going jetty/tomcat route.

Thank you,

David


===============
[#|2008-08-26T01:09:08.581+0000|INFO|sun-appserver9.1|org.apache.solr.servlet.SolrDispatchFilter|_ThreadID=15;_ThreadName=pool-1-thread-8;|SolrDispatchFilter.init()|#]

[#|2008-08-26T01:09:08.595+0000|INFO|sun-appserver9.1|org.apache.solr.core.SolrCore|_ThreadID=15;_ThreadName=pool-1-thread-8;|No /solr/home in JNDI|#]

[#|2008-08-26T01:09:08.595+0000|INFO|sun-appserver9.1|org.apache.solr.core.SolrCore|_ThreadID=15;_ThreadName=pool-1-thread-8;|Solr home defaulted to 'null' (could not find system propert
y or JNDI)|#]

[#|2008-08-26T01:09:08.595+0000|INFO|sun-appserver9.1|org.apache.solr.core.SolrCore|_ThreadID=15;_ThreadName=pool-1-thread-8;|Solr home set to 'solr/'|#]

[#|2008-08-26T01:09:08.597+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=pool-1-thread-8;_RequestID=212531d3-b75e-4aeb-964d-36cb24405eb3;|We
bModule[/apache-solr-1.2.0]PWC1270: Exception starting filter SolrRequestFilter
java.lang.NoClassDefFoundError: Could not initialize class org.apache.solr.core.SolrConfig
        at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:74)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:369)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4389)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5189)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
|#]
[Message sent by forum member 'dvdklnr' (dvdklnr)]

http://forums.java.net/jive/thread.jspa?messageID=295245