This discussion is archived
1 Reply Latest reply: Aug 10, 2011 6:11 AM by 881570 RSS

SES and ADF

626918 Newbie
Currently Being Moderated
Hi Experts,

I am trying to create a ADF VO as source and perform a crawl on SES 10.1.8.4.0. I have enabled Oracle E-Business Suite R12 plug-in. I am using fusion ECSF to do the following.

- created the engine instance
- register and deploy the VO
- create search group
- create the index schedule
- start the schedule.

All these changes are reflecting in SES UI.

But when i try to execute the schedule, i am getting an error in the log file and the schedule is not indexing anything the VO represents.

14:07:02:830 INFO     main          =================== Crawling status ===================
14:07:02:830 INFO     main          Crawling started at 10/12/09 2:07 PM
14:07:03:502 INFO     main          URL manager connecting to Oracle...
14:07:04:034 INFO     main          connected
14:07:04:096 INFO     main          Time of last crawl is Mon Oct 12 14:00:17 IST 2009
14:07:04:143 INFO     main          Queue manager connecting to Oracle...
14:07:04:393 INFO     main          connected
14:07:05:957 INFO     main          Invoking "oracle.search.plugin.ebs.EBS12CrawlerManager"
14:07:05:957 INFO     main          URL manager connecting to Oracle...
14:07:06:238 INFO     main          connected
14:07:06:238 INFO     main          Initializing crawler plug-in manager "oracle.search.plugin.ebs.EBS12CrawlerManager"
14:07:06:254 INFO     main          URIHandler initialized for the URI http://dadvmc0451.us.oracle.com:7102/approot/searchfeedservlet/model.AttachmentVO/ConfigFeed?engineInstId=161
14:07:07:036 INFO     main          HTTP status code: 200
14:07:07:458 INFO     main          URIHandler initialized for the URI http://dadvmc0451.us.oracle.com:7102/approot/searchfeedservlet/model.AttachmentVO/ControlFeed?engineInstId=161
14:07:08:302 INFO     main          HTTP status code: 200
14:07:08:318 INFO     main          RSS SAX queue - init on http://dadvmc0451.us.oracle.com:7102/approot/searchfeedservlet/model.AttachmentVO/ControlFeed?engineInstId=161
14:07:08:318 INFO     main          Initialized error feed at c:\Temp\ControlFeed.err
14:07:08:334 INFO     main          Created thread to parse the feed: Thread-2
14:07:08:334 INFO     main          Starting Thread-2
14:07:08:756 INFO     Thread-2          Initialized RSS queue: channel=Error batch=null
14:07:08:756 ERROR     Thread-2     EQP-80327: Invalid Channel Feed type 3 oracle.search.sdk.crawler.PluginException     oracle.search.plugin.rss.RSSSAXQueue:addChannelInfo:246     oracle.search.plugin.rss.SAXThread:endElement:378     oracle.xml.parser.v2.NonValidatingParser:parseElement:1257     oracle.xml.parser.v2.NonValidatingParser:parseRootElement:314     oracle.xml.parser.v2.NonValidatingParser:parseDocument:281     oracle.xml.parser.v2.XMLParser:parse:195     oracle.xml.jaxp.JXSAXParser:parse:288     oracle.search.plugin.rss.SAXThread:run:157     java.lang.Thread:run:534
14:07:08:756 ERROR     Thread-2          EQP-60303: Exiting saxthread due to errors
14:07:08:756 ERROR     Thread-2     EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3 oracle.search.sdk.crawler.PluginException     oracle.search.plugin.rss.RSSSAXQueue:addChannelInfo:262     oracle.search.plugin.rss.SAXThread:endElement:378     oracle.xml.parser.v2.NonValidatingParser:parseElement:1257     oracle.xml.parser.v2.NonValidatingParser:parseRootElement:314     oracle.xml.parser.v2.NonValidatingParser:parseDocument:281     oracle.xml.parser.v2.XMLParser:parse:195     oracle.xml.jaxp.JXSAXParser:parse:288     oracle.search.plugin.rss.SAXThread:run:157     java.lang.Thread:run:534
14:07:08:756 ERROR     Thread-2     EQP-60305: Exception when parsing channel: EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3. Verify that the feed conforms to the feed schema and there are no XML parsing errors in the feed. java.lang.Exception     oracle.search.plugin.rss.SAXThread:run:169     java.lang.Thread:run:534
14:07:08:756 ERROR     Thread-2     caused by:EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3
14:07:08:756 ERROR     Thread-2          EQP-60305: Exception when parsing channel: EQP-60305: Exception when parsing channel: EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3. Verify that the feed conforms to the feed schema and there are no XML parsing errors in the feed.. Verify that the feed conforms to the feed schema and there are no XML parsing errors in the feed.
14:07:08:756 ERROR     Thread-2          EQP-60307: Error when processing item channel_error: EQP-60305: Exception when parsing channel: EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3. Verify that the feed conforms to the feed schema and there are no XML parsing errors in the feed.
Error Stack:
java.lang.Exception: EQP-60305: Exception when parsing channel: EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3. Verify that the feed conforms to the feed schema and there are no XML parsing errors in the feed.
     at oracle.search.plugin.rss.SAXThread.run(SAXThread.java:169)
     at java.lang.Thread.run(Thread.java:534)
Caused by: EQG-30236: Crawler plug-in fatal error: EQG-30236: Crawler plug-in fatal error: EQP-80327: Invalid Channel Feed type 3
     at oracle.search.plugin.rss.RSSSAXQueue.addChannelInfo(RSSSAXQueue.java:262)
     at oracle.search.plugin.rss.SAXThread.endElement(SAXThread.java:378)
     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1257)
     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:195)
     at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:288)
     at oracle.search.plugin.rss.SAXThread.run(SAXThread.java:157)
     ... 1 more


Also please note that i am ale to access the configfeed and controlfeed. But the datafeed is not showing up due to JNDI lookup error. Here again eventhough i have configured SearchDB properly, the JNDI lookup is failing.

<html>

<body>

<pre>
oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/SearchDBDS
</pre>
<!--

java.lang.RuntimeException: oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/SearchDBDS
     at oracle.ecsf.data.RelationalCrawlerImpl.createDataFeed(RelationalCrawlerImpl.java:889)
     at oracle.ecsf.data.CrawlableFactory.start(CrawlableFactory.java:273)
     at oracle.ecsf.feed.SearchFeedServlet.processDataFeed(SearchFeedServlet.java:683)
     at oracle.ecsf.feed.SearchFeedServlet.doPost(SearchFeedServlet.java:395)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:61)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3584)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2196)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2102)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/SearchDBDS
     at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1396)
     at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
     at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:561)
     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8470)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4392)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2388)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareResource(ApplicationPoolImpl.java:3621)
     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:343)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2200)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3088)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
     at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1397)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1365)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1337)
     at oracle.ecsf.util.SearchRootAMFactory.getSearchRootAM(SearchRootAMFactory.java:91)
     at oracle.ecsf.util.SearchRootAMFactory.getSearchRootAM(SearchRootAMFactory.java:58)
     at oracle.ecsf.data.VOCrawlerImpl.getThreadViewObjInstance(VOCrawlerImpl.java:421)
     at oracle.ecsf.data.VOCrawlerImpl.getThreadViewObjInstance(VOCrawlerImpl.java:408)
     at oracle.ecsf.data.VOCrawlerImpl.initDocumentsIterator(VOCrawlerImpl.java:102)
     at oracle.ecsf.data.RelationalCrawlerImpl.indexDocuments(RelationalCrawlerImpl.java:436)
     at oracle.ecsf.data.RelationalCrawlerImpl.createDataFeed(RelationalCrawlerImpl.java:881)
     ... 26 more
Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/SearchDBDS in /app/webapp/approot/26540667.; remaining name 'comp/env/jdbc/SearchDBDS'
     at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
     at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:144)
     at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
     at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:388)
     at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
     at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1382)
     ... 51 more

-->
</body>
</html>

I was able to query through the Datasource "jdbc/SearchDBDS"

Any help or direction for debugging will be highly appreciated.

Thanks,
Sandeep.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points