the root node is not <dataconf> it should be <dataConfig> On Wed, Jan 7, 2009 at 4:23 AM, The Flight Captain <jason_sheph...@flightcentre.com> wrote: > > If add the <document> tag and an entity, I still get the same error when > starting up JBoss. > > Here is my full data-config.xml > > <dataconf> > <dataSource type="JdbcDataSource" > driver="oracle.jdbc.OracleDriver" > url="jdbc:oracle:thin:@host:port:service" > user="pctadm" > password="pctadm"/> > <document name="products"> > <entity name="product" query="select prd_id from pct_product"> > <field column="prd_id" name="id"/> > </entity> > </document> > </dataconf> > > I also have this field one field in my schema.xml nested under <fields> > > <field name="id" type="string" indexed="true" stored="true" > required="true" /> > > When I restart Jboss I get the same stacktrace. > > ... > 2009-01-07 08:41:40,428 ERROR [STDERR] 7/01/2009 08:41:40 > org.apache.solr.handler.dataimport.DataImportHandler inform > SEVERE: Exception while loading DataImporter > org.apache.solr.handler.dataimport.DataImportHandlerException: Exception > occurred while initializing context Processing Document # > at > org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:176) > at > org.apache.solr.handler.dataimport.DataImporter.<init>(DataImporter.java:93) > at > org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:106) > at > org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:311) > at org.apache.solr.core.SolrCore.<init>(SolrCore.java:480) > ... > Caused by: java.lang.NullPointerException > at > org.apache.solr.handler.dataimport.DataConfig.getChildNodes(DataConfig.java:324) > at > org.apache.solr.handler.dataimport.DataConfig.readFromXml(DataConfig.java:236) > at > org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:170) > ... 140 more > .... > > Am I missing anything else? > > > Noble Paul നോബിള് नोब्ळ् wrote: >> >> the <document> tag and the rest of the stuff is missing in your >> data-config file >> >> On Tue, Jan 6, 2009 at 12:50 PM, The Flight Captain >> <jason_sheph...@flightcentre.com> wrote: >>> >>> I am having trouble setting up an Oracle datasource. Can anyone help me >>> connect to the datasource? >>> >>> My solrconfig.xml: >>> >>> ... >>> <requestHandler name="/dataimport" >>> class="org.apache.solr.handler.dataimport.DataImportHandler"> >>> <lst name="defaults"> >>> <str name="config">data-config.xml</str> >>> </lst> >>> </requestHandler> >>> ... >>> >>> My data-config.xml >>> <dataconf> >>> <dataSource type="JdbcDataSource" >>> driver="oracle.jdbc.OracleDriver" >>> url="jdbc:oracle:thin:@hostname:port:service" >>> user="username" >>> password="password"/> >>> </dataSource> >>> </dataconf> >>> >>> I have placed the oracle driver on the classpath of JBoss. >>> >>> I am getting the following errors in the server.log on startup: >>> >>> 2009-01-06 17:03:12,756 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.handler.dataimport.DataImportHandler inform >>> SEVERE: Exception while loading DataImporter >>> org.apache.solr.handler.dataimport.DataImportHandlerException: Exception >>> occurred while initializing context Processing Document # >>> at >>> org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:176) >>> at >>> org.apache.solr.handler.dataimport.DataImporter.<init>(DataImporter.java:93) >>> at >>> org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:106) >>> at >>> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:311) >>> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:480) >>> at >>> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:119) >>> at >>> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69) >>> at >>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) >>> at >>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) >>> at >>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) >>> at >>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3720) >>> at >>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4358) >>> at >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:732) >>> at >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) >>> at >>> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.apache.catalina.core.StandardContext.init(StandardContext.java:5300) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) >>> at >>> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) >>> at >>> org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) >>> at >>> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) >>> at org.jboss.web.WebModule.startModule(WebModule.java:83) >>> at org.jboss.web.WebModule.startService(WebModule.java:61) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) >>> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) >>> at $Proxy0.start(Unknown Source) >>> at >>> org.jboss.system.ServiceController.start(ServiceController.java:417) >>> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy50.start(Unknown Source) >>> at >>> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) >>> at >>> org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy51.start(Unknown Source) >>> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) >>> at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy9.deploy(Unknown Source) >>> at >>> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) >>> at >>> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) >>> at >>> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) >>> at >>> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) >>> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.ja >>> 2009-01-06 17:03:12,756 ERROR [STDERR] va:978) >>> at $Proxy0.start(Unknown Source) >>> at >>> org.jboss.system.ServiceController.start(ServiceController.java:417) >>> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy4.start(Unknown Source) >>> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) >>> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy5.deploy(Unknown Source) >>> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) >>> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) >>> at org.jboss.Main.boot(Main.java:200) >>> at org.jboss.Main$1.run(Main.java:508) >>> at java.lang.Thread.run(Thread.java:619) >>> Caused by: java.lang.NullPointerException >>> at >>> org.apache.solr.handler.dataimport.DataConfig.getChildNodes(DataConfig.java:324) >>> at >>> org.apache.solr.handler.dataimport.DataConfig.readFromXml(DataConfig.java:236) >>> at >>> org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:170) >>> ... 140 more >>> 2009-01-06 17:03:12,761 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.core.QuerySenderListener newSearcher >>> INFO: QuerySenderListener sending requests to searc...@a574b2 main >>> 2009-01-06 17:03:12,770 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.servlet.SolrDispatchFilter init >>> SEVERE: Could not start SOLR. Check solr/home property >>> org.apache.solr.common.SolrException: FATAL: Could not create importer. >>> DataImporter config invalid >>> at >>> org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:114) >>> at >>> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:311) >>> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:480) >>> at >>> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:119) >>> at >>> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69) >>> at >>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) >>> at >>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) >>> at >>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) >>> at >>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3720) >>> at >>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4358) >>> at >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:732) >>> at >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) >>> at >>> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.apache.catalina.core.StandardContext.init(StandardContext.java:5300) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) >>> at >>> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) >>> at >>> org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) >>> at >>> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) >>> at org.jboss.web.WebModule.startModule(WebModule.java:83) >>> at org.jboss.web.WebModule.startService(WebModule.java:61) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) >>> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) >>> at $Proxy0.start(Unknown Source) >>> at >>> org.jboss.system.ServiceController.start(ServiceController.java:417) >>> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy50.start(Unknown Source) >>> at >>> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) >>> at >>> org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy51.start(Unknown Source) >>> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) >>> at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy9.deploy(Unknown Source) >>> at >>> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) >>> at >>> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) >>> at >>> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) >>> at >>> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) >>> at >>> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) >>> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at >>> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) >>> at $Proxy0.start(Unknown Source) >>> at >>> org.jboss.system.ServiceController.start(ServiceController.java:417) >>> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) >>> at sun.reflect.Delegating >>> 2009-01-06 17:03:12,770 ERROR [STDERR] >>> MethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy4.start(Unknown Source) >>> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) >>> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) >>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) >>> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) >>> at >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) >>> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>> at >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>> at >>> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) >>> at $Proxy5.deploy(Unknown Source) >>> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) >>> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) >>> at org.jboss.Main.boot(Main.java:200) >>> at org.jboss.Main$1.run(Main.java:508) >>> at java.lang.Thread.run(Thread.java:619) >>> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: >>> Exception occurred while initializing context Processing Document # >>> at >>> org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:176) >>> at >>> org.apache.solr.handler.dataimport.DataImporter.<init>(DataImporter.java:93) >>> at >>> org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:106) >>> ... 138 more >>> Caused by: java.lang.NullPointerException >>> at >>> org.apache.solr.handler.dataimport.DataConfig.getChildNodes(DataConfig.java:324) >>> at >>> org.apache.solr.handler.dataimport.DataConfig.readFromXml(DataConfig.java:236) >>> at >>> org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:170) >>> ... 140 more >>> 2009-01-06 17:03:12,770 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.common.SolrException log >>> SEVERE: java.lang.NullPointerException >>> at >>> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:147) >>> at >>> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1204) >>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1228) >>> at >>> org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:50) >>> at org.apache.solr.core.SolrCore$4.call(SolrCore.java:1034) >>> 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) >>> 2009-01-06 17:03:12,771 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.core.SolrCore execute >>> INFO: webapp=null path=null params={start=0&q=fast_warm&rows=10} >>> status=500 >>> QTime=8 >>> 2009-01-06 17:03:12,772 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.core.QuerySenderListener newSearcher >>> INFO: QuerySenderListener done. >>> 2009-01-06 17:03:12,772 ERROR [STDERR] 6/01/2009 17:03:12 >>> org.apache.solr.common.SolrException log >>> SEVERE: java.lang.NullPointerException >>> at >>> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:147) >>> at >>> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1204) >>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1228) >>> at >>> org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:50) >>> at org.apache.solr.core.SolrCore$4.call(SolrCore.java:1034) >>> 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) >>> -- >>> View this message in context: >>> http://www.nabble.com/Setting-up-DataImportHandler-for-Oracle-datasource-on-JBoss-tp21305824p21305824.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> --Noble Paul >> >> > > -- > View this message in context: > http://www.nabble.com/Setting-up-DataImportHandler-for-Oracle-datasource-on-JBoss-tp21305824p21321091.html > Sent from the Solr - User mailing list archive at Nabble.com. > >
-- --Noble Paul