java.lang.IllegalAccessError: tried to access method Error Message

A

Arge

Looking for help to troubleshoot an java.lang.IllegalAccessError
message. I am getting this error message at run time. While searching
for this error message I have found that this could be a problem with
different versions of the same jar. How do I find out which jar is
causing the problem? I will also include my maven pom.xml and
services.xml. Thanks in advance for your help.

2008-10-21 14:40:59,630 WARN [http-8080-Processor23]
RemoteInvocationTraceInterceptor - Processing of
HttpInvokerServiceExporter remote call resulted in fatal exception:
com.saic.pf.lib.security.PfLoginManager.login
java.lang.IllegalAccessError: tried to access method
org.springframework.ldap.core.support.AbstractContextSource.createContext(Ljava/
util/Hashtable;)Ljavax/naming/directory/DirContext; from class
org.springframework.security.ldap.DefaultSpringSecurityContextSource
at
org.springframework.security.ldap.DefaultSpringSecurityContextSource.getReadWriteContext(DefaultSpringSecurityContextSource.java:
80)
at
org.springframework.security.providers.ldap.authenticator.BindAuthenticator
$BindWithSpecificDnContextSource.getReadOnlyContext(BindAuthenticator.java:
134)
at
org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:
770)
at
org.springframework.security.ldap.SpringSecurityLdapTemplate.retrieveEntry(SpringSecurityLdapTemplate.java:
114)
at
org.springframework.security.providers.ldap.authenticator.BindAuthenticator.bindWithDn(BindAuthenticator.java:
99)
at
org.springframework.security.providers.ldap.authenticator.BindAuthenticator.authenticate(BindAuthenticator.java:
76)
at
org.springframework.security.providers.ldap.LdapAuthenticationProvider.authenticate(LdapAuthenticationProvider.java:
229)
at
org.springframework.security.providers.ProviderManager.doAuthentication(ProviderManager.java:
188)
at
org.springframework.security.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:
46)
at
com.saic.pf.lib.security.LoginHandlerAcegiImpl.login(SourceFile:
82)
at
com.saic.pf.lib.security.LoginHandlerAcegiImpl.login(SourceFile:
23)
at
com.saic.pf.lib.security.PfLoginManagerImpl.login(SourceFile:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:
310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:
182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
149)
at
org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:
70)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:
204)
at $Proxy22.login(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:
205)
at
org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:
38)
at
org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:
78)
at
org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:
114)
at
org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:
74)
at
org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
49)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
870)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
2008-10-21 14:40:59,632 DEBUG [http-8080-Processor23]
HttpInvokerServiceExporter - Target method failed for
RemoteInvocation: method name 'login'; parameter types
[java.lang.String, java.lang.String]
java.lang.IllegalAccessError: tried to access method
org.springframework.ldap.core.support.AbstractContextSource.createContext(Ljava/
util/Hashtable;)Ljavax/naming/directory/DirContext; from class
org.springframework.security.ldap.DefaultSpringSecurityContextSource
at
org.springframework.security.ldap.DefaultSpringSecurityContextSource.getReadWriteContext(DefaultSpringSecurityContextSource.java:
80)
at
org.springframework.security.providers.ldap.authenticator.BindAuthenticator
$BindWithSpecificDnContextSource.getReadOnlyContext(BindAuthenticator.java:
134)
at
org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:
770)
at
org.springframework.security.ldap.SpringSecurityLdapTemplate.retrieveEntry(SpringSecurityLdapTemplate.java:
114)
at
org.springframework.security.providers.ldap.authenticator.BindAuthenticator.bindWithDn(BindAuthenticator.java:
99)
at
org.springframework.security.providers.ldap.authenticator.BindAuthenticator.authenticate(BindAuthenticator.java:
76)
at
org.springframework.security.providers.ldap.LdapAuthenticationProvider.authenticate(LdapAuthenticationProvider.java:
229)
at
org.springframework.security.providers.ProviderManager.doAuthentication(ProviderManager.java:
188)
at
org.springframework.security.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:
46)
at
com.saic.pf.lib.security.LoginHandlerAcegiImpl.login(SourceFile:
82)
at
com.saic.pf.lib.security.LoginHandlerAcegiImpl.login(SourceFile:
23)
at
com.saic.pf.lib.security.PfLoginManagerImpl.login(SourceFile:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:
310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:
182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
149)
at
org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:
70)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:
204)
at $Proxy22.login(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:
205)
at
org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:
38)
at
org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:
78)
at
org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:
114)
at
org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:
74)
at
org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
49)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
870)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)

Maven pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.saic.imi</groupId>
<artifactId>nling</artifactId>
<version>1.0.0</version>
</parent>
<groupId>com.saic.imi.nling</groupId>
<artifactId>nling-service</artifactId>
<packaging>jar</packaging>
<name>nLing Service</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nling-core</artifactId>
<version>${project.version}</version>
<classifier>small</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nling-textengines</artifactId>
<version>${project.version}</version>
<classifier>small</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nling-lucene</artifactId>
<version>${project.version}</version>
<classifier>small</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nling-scheduler</artifactId>
<version>${project.version}</version>
<classifier>small</classifier>
</dependency>
<dependency>
<groupId>com.saic</groupId>
<artifactId>saic-pf-lucene</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.htmlparser</groupId>
<artifactId>htmlparser</artifactId>
<version>1.6</version>
</dependency>

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.apache.axis</groupId>
<artifactId>axis</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
</dependency>
<dependency>
<groupId>javax.xml</groupId>
<artifactId>jaxrpc-api</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-bindings-soap</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-databinding-aegis</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>${springVersion}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>com.sun</groupId>
<artifactId>ldapbp</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commonsLoggingVersion}</version>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.jcr</
groupId>
<artifactId>jcr</
artifactId>
<version>1.0</version>
<scope>provided</
scope>
</dependency>
</dependencies>

<build>
<plugins>

<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
</plugin>

</plugins>
</build>

</project>

services.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">

<context:property-placeholder
location="classpath:nling.properties"/>

<bean id="pfCacheManager"

class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/>

<bean id="srMgrEhCache"
class="org.springframework.cache.ehcache.EhCacheFactoryBean"
p:cacheManager-ref="pfCacheManager"
p:cacheName="searchResultsMgr"/>

<bean id="srMgrCache"
class="com.saic.pf.lib.cache.PfCacheEhcacheImpl"
p:cache-ref="srMgrEhCache"/>

<bean id="searchResultsManager"

class="com.saic.pf.lib.engine.service.SearchResultsManagerImpl"
p:cache-ref="srMgrCache"
p:maxPerUser="100"/>

<bean id="serviceIdManager"
class="com.saic.pf.lib.service.ServiceIdManager"/>

<bean id="serviceStorage"
class="com.saic.pf.lib.service.ServiceStorageImpl"/>

<bean id="pfUserManager"
class="com.saic.pf.lib.user.manager.PfUserManagerImpl"
p:pfUserDAO-ref="pfUserDAO"
p:searchResultsManager-ref="searchResultsManager"/>

<bean id="pfUserService"
class="com.saic.pf.lib.user.service.PfUserServiceImpl"
p:pfUserDAO-ref="pfUserDAO"/>

<bean id="srPfEhCache"
class="org.springframework.cache.ehcache.EhCacheFactoryBean"
p:cacheManager-ref="pfCacheManager"
p:cacheName="searchResultsCache"/>

<bean id="srPfCache"
class="com.saic.pf.lib.cache.PfCacheEhcacheImpl"
p:cache-ref="srPfEhCache"/>

<bean id="searchResultsCache"

class="com.saic.pf.lib.engine.service.SearchResultsCacheImpl"
p:cache-ref="srPfCache"/>

<bean id="recordCollectorFactory"

class="com.saic.pf.lib.engine.MultiEngineRecordCollectorFactory"/>

<bean id="config"
class="com.saic.pf.lib.app.PfConfig"/>

<bean id="startWaitLogAdvisor"
class="com.saic.pf.lib.spring.StartWaitLogAdvisor"
p:auditActionManager-ref="auditActionManager"
p:config-ref="config"/>

<bean id="startWaitLog"

class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
<property name="advice" ref="startWaitLogAdvisor"/>
<property name="patterns">
<list>
<value>.*\.start</value>
<value>.*\.waitForOutput</value>
</list>
</property>
</bean>

<bean id="exporter"
class="org.springframework.jmx.export.MBeanExporter"
depends-on="jmxServerFactory">
<property name="beans">
<map>
<entry key="com.saic.pf.lib.app:Name=myConfig">
<ref bean="config"/>
</entry>
</map>
</property>
<property name="server" ref="jmxServerFactory"/>
</bean>

<bean id="jmxServerFactory"

class="org.springframework.jmx.support.MBeanServerFactoryBean"
p:defaultDomain="com.saic.pf.lib.app"/>

<bean id="htmlAdapter"
class="com.saic.pf.lib.app.HtmlAdapterFactoryBean"
p:MBeanServer-ref="jmxServerFactory"/>

<bean name="authenticationManager"
class="org.springframework.security.providers.ProviderManager">
<property name="providers">
<list>
<ref bean="flatFileAuthenticationProvider"/>
<ref bean="ldapAuthenticationProvider"/>
</list>
</property>
</bean>

<bean id="flatFileAuthenticationProvider"

class="org.springframework.security.providers.dao.DaoAuthenticationProvider">
<property name="userDetailsService"
ref="flatFileAuthDao" />
<property name="passwordEncoder"
ref="passwordEncoder" />
</bean>

<bean id="flatFileAuthDao"
class="org.springframework.security.userdetails.memory.InMemoryDaoImpl">
<property name="userMap">
<!-- Format of value: login=password,ROLE[,ROLE_2,...,ROLE_N]
-->
<value>
demo=*************,ROLE_USER
demoAdmin=*************,ROLE_ADMIN
terlesky=*************,ROLE_USER
newkirke=*************,ROLE_USER
mgoddard=*************,ROLE_USER
nsnyder=*************,ROLE_USER
jmichel=*************,ROLE_USER
covingtons=*************,ROLE_USER
jenks=*************,ROLE_USER
wasson=*************,ROLE_USER
steege=*************,ROLE_USER
proxycache=*************,ROLE_USER
</value>
</property>
</bean>

<bean id="passwordEncoder"

class="org.springframework.security.providers.encoding.Md5PasswordEncoder"/


<bean id="ldapAuthenticationDao"

class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
<constructor-arg value="ldap://${LDAP_HOST}:${LDAP_PORT}/$
{LDAP_ROOT_CONTEXT}"/>
</bean>

<bean id="ldapAuthenticationProvider"

class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
<constructor-arg>
<bean
class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator">
<constructor-arg ref="ldapAuthenticationDao"/>
<property name="userDnPatterns">
<list><value>${LDAP_USER_CONTEXT}</value></list>
</property>
</bean>
</constructor-arg>
</bean>

<bean id="loginHandler"
class="com.saic.pf.lib.security.LoginHandlerAcegiImpl"
p:authenticationManager-ref="authenticationManager"
p:userManager-ref="pfUserManager"/>

<bean id="loginManager"
class="com.saic.pf.lib.security.PfLoginManagerImpl"
p:loginHandler-ref="loginHandler"/>

<bean id="preferenceService"
class="com.saic.pf.lib.service.PreferenceServiceImpl"
p:recordFieldPreferencesDAO-ref="recordFieldPreferencesDAO"
p:generalPreferencesDAO-ref="generalPreferencesDAO"/>

<bean id="recordDecoderService"

class="com.saic.pf.lib.engine.service.RecordDecoderServiceImpl"
p:searchResultsManager-ref="searchResultsManager"
p:searchResultsCache-ref="searchResultsCache"
p:recordCollectorFactory-ref="recordCollectorFactory"
p:pfUserManager-ref="pfUserManager"
p:context-ref="engineContext"/>

<bean id="fileService"
class="com.saic.pf.lib.file.service.FileServiceImpl"
p:installDirectory="${INSTALL_DIR}"
p:filesDirectory="${DA_FILES_DIR}/"
p:filesUrl="${DA_FILES_URL}"/>

<!-- <bean id="searchServiceTarget"
class="com.saic.pf.lib.engine.service.SearchServiceImpl"> -->
<bean id="searchServiceTarget"

class="com.saic.pf.lib.engine.service.SynchronousSearchService"
p:searchResultsManager-ref="searchResultsManager"
p:serviceIdManager-ref="serviceIdManager"
p:serviceStorage-ref="serviceStorage"
p:pfUserManager-ref="pfUserManager"
p:engineContext-ref="engineContext"
p:queryHistoryService-ref="queryHistoryService"/>

<bean id="searchService"
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<list>
<value>com.saic.pf.lib.engine.service.SearchService</
value>
</list>
</property>
<property name="interceptorNames">
<list>
<value>startWaitLog</value>
</list>
</property>
<property name="target" ref="searchServiceTarget"/>
</bean>

<bean id="searchResultsDecoderServiceTarget"

class="com.saic.pf.lib.engine.service.SynchronousSearchResultsDecoderServiceImpl"
p:searchResultsManager-ref="searchResultsManager"
p:searchResultsCache-ref="searchResultsCache"
p:recordCollectorFactory-ref="recordCollectorFactory"
p:pfUserManager-ref="pfUserManager"
p:decodeSize="100"
p:serviceIdManager-ref="serviceIdManager"/>

<bean id="searchResultsDecoderService"
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<list>

<value>com.saic.pf.lib.engine.service.SearchResultsDecoderService</
value>
</list>
</property>
<property name="interceptorNames">
<list>
<value>startWaitLog</value>
</list>
</property>
<property name="target"
ref="searchResultsDecoderServiceTarget"/>
</bean>

<bean id="archiveService"
class="com.saic.pf.lib.archive.service.ArchiveServiceImpl"/>

<bean id="crawlService"
class="com.saic.pf.lib.da.service.CrawlServiceImpl"
p:pfUserManager-ref="pfUserManager"
p:crawlScript="${DA_CRAWL_SCRIPT}"
p:killScript="${DA_KILL_SCRIPT}"
p:schedulerScript="${SCHEDULER_SCRIPT}"
p:quartzProperties="${QUARTZ_PROPERTIES}"
p:crawlDataDAO-ref="crawlDataDAO"
p:dbCrawlDataDAO-ref="dbCrawlDataDAO"
p:crawlProcessDAO-ref="crawlProcessDAO"
p:crawlScheduleDAO-ref="crawlScheduleDAO"
p:textEngineDbDAO-ref="textEngineDbDAO"
p:luceneIndexDirectory="${LUCENE_DATABASES_HOME}"
p:luceneCrawlDirectory="${LUCENE_CRAWLS_HOME}"
p:installDirectory="${INSTALL_DIR}"
p:imiServiceUrl="${SERVICE_LAYER_URL}"/>

<bean id="dedupeService"
class="com.saic.pf.dedupe.DedupeServiceImpl"
p:searchResultsDecoderService-
ref="searchResultsDecoderService"
p:searchService-ref="searchService"
p:searchResultsManager-ref="searchResultsManager"
p:pfUserManager-ref="pfUserManager"
p:confidence="0.75"/>

<bean id="queryHistoryService"

class="com.saic.pf.lib.query.service.QueryHistoryServiceImpl"
p:queryHistoryDao-ref="queryHistoryDAO"
p:queryTagDao-ref="queryTagDAO"/>

<bean id="xmlOutputter"
class="org.jdom.output.XMLOutputter"/>

<bean id="geocoordInstanceListToXmlConverter"

class="com.saic.pf.geocoords.GeocoordInstanceListToXmlConverter"
p:eek:utputter-ref="xmlOutputter"/>

<bean id="geocoordServiceTarget"
class="com.saic.pf.geocoords.GeocoordServiceImpl"
p:decodeSize="100"
p:serviceIdManager-ref="serviceIdManager"
p:serviceStorage-ref="serviceStorage"
p:searchResultsManager-ref="searchResultsManager"
p:pfUserManager-ref="pfUserManager"
p:toXmlConverter-ref="geocoordInstanceListToXmlConverter"/>

<bean id="geocoordService"
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<list>
<value>com.saic.pf.geocoords.GeocoordService</value>
</list>
</property>
<property name="interceptorNames">
<list>
<value>startWaitLog</value>
</list>
</property>
<property name="target" ref="geocoordServiceTarget"/>
</bean>
<!--bean id="geocoordService"
class="com.saic.pf.geocoords.GeocoordServiceImpl"/-->

<!-- begin export -->
<bean id="exportFieldHandler"
class="com.saic.pf.lib.export.FieldHandler">
<property name="requiredFields">
<list>
<value>TITLE</value>
<value>TEXT</value>
<value>RECNUM</value>
<value>ORIGINALCHARENCODING</value>
<value>INFODATE</value>
<value>INFOTIME</value>
<value>GENDATE</value>
<value>GENTIME</value>
<value>CLASSIF</value>
<value>CLASSIFICATION</value>
</list>
</property>
</bean>
<bean id="exportXMLEncoder"
class="com.saic.pf.lib.export.XMLEncoder"/>

<!--bean id="exportService"
class="com.saic.pf.lib.export.ExportServiceImpl">
<property name="fieldHandler" ref="exportFieldHandler"/>
<property name="xmlEncoder" ref="exportXMLEncoder"/>
<property name="searchResultsManager" ref="searchResultsManager"/

<property name="searchResultsCache" ref="searchResultsCache"/>
<property name="recordCollectorFactory"
ref="recordCollectorFactory"/>
<property name="pfUserManager" ref="pfUserManager"/>
</bean-->
<bean id="exportServiceTarget"
class="com.saic.pf.lib.export.ExportServiceImpl"
p:fieldHandler-ref="exportFieldHandler"
p:xmlEncoder-ref="exportXMLEncoder"
p:searchResultsManager-ref="searchResultsManager"
p:searchResultsCache-ref="searchResultsCache"
p:recordCollectorFactory-ref="recordCollectorFactory"
p:pfUserManager-ref="pfUserManager"/>

<bean id="exportService"
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<list>
<value>com.saic.pf.lib.export.ExportService</value>
</list>
</property>
<property name="interceptorNames">
<list>
<value>startWaitLog</value>
</list>
</property>
<property name="target" ref="exportServiceTarget"/>
</bean>
<!-- end export -->

<bean id="securityService"
class="com.saic.pf.lib.service.SecurityServiceImpl"
p:securityGroupsDAO-ref="securityGroupsDAO"
p:dbSecurityGroupsDAO-ref="dbSecurityGroupsDAO"
p:userSecurityGroupsDAO-ref="userSecurityGroupsDAO"
p:pfUserDAO-ref="pfUserDAO"/>

<!-- Managers -->
<bean id="textEngineDbManager"

class="com.saic.pf.lib.engine.manager.TextEngineDbManagerImpl"
p:textEngineDbDAO-ref="textEngineDbDAO"
p:policyServer-ref="policyServer"/>

<bean id="policyServer"
class="com.saic.pf.lib.user.DbPolicyServer"
p:userClearanceDAO-ref="userClearanceDAO"/>

<bean id="auditActionManager"
class="com.saic.pf.lib.service.AuditActionManager"
p:auditActionDAO-ref="auditActionDAO"/>
</beans>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top