ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10748) Views: IllegalAccessError: tried to access class
Date Mon, 27 Apr 2015 18:09:39 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514575#comment-14514575
] 

Hudson commented on AMBARI-10748:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2449 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2449/])
AMBARI-10748 - Views: IllegalAccessError: tried to access class (tbeerbower) (tbeerbower:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=71f72903430949a4b153846ee448be24e1e9b98d)
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewClassLoader.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/FailsafeServletResponseTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/FailsafeHandlerListTest.java
* ambari-project/pom.xml
* ambari-server/src/main/java/org/apache/ambari/server/controller/FailsafeHandlerList.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewExtractor.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/FailsafeServletResponse.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* ambari-server/pom.xml
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewArchiveUtility.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariHandlerListTest.java
* ambari-server/src/test/java/org/apache/ambari/server/view/ViewClassLoaderTest.java


> Views: IllegalAccessError: tried to access class
> ------------------------------------------------
>
>                 Key: AMBARI-10748
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10748
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 2.1.0
>
>
> Deploying a spring web app within a view.
> Certain spring jars are being picked up from /usr/lib/ambari-server as opposed to my
web app's WEB-INF/lib directory.  
> For example, when  my view web app gets instantiated (when the web.xml is processed),
classes from the jar spring-context are loaded from:
> {code}
> Latest exception from my view:
> IllegalAccessError: tried to access class org.springframework.core.convert.support.NumberToNumberConverterFactory
from class org.springframework.core.convert.support.DefaultConversionService
> at org.springframework.core.convert.support.DefaultConversionService.addScalarConverters(DefaultConversionService.java:79)
> at org.springframework.core.convert.support.DefaultConversionService.addDefaultConverters(DefaultConversionService.java:63)
> at org.springframework.core.convert.support.DefaultConversionService.<init>(DefaultConversionService.java:50)
> at org.springframework.data.solr.core.convert.SolrConverterBase.<init>(SolrConverterBase.java:33)
> at org.springframework.data.solr.core.convert.MappingSolrConverter.<init>(MappingSolrConverter.java:73)
> at org.springframework.data.solr.core.SolrTemplate.getDefaultSolrConverter(SolrTemplate.java:480)
> at org.springframework.data.solr.core.SolrTemplate.afterPropertiesSet(SolrTemplate.java:529)
> at org.springframework.data.solr.repository.support.SolrRepositoryFactory.createTemplate(SolrRepositoryFactory.java:88)
> at org.springframework.data.solr.repository.support.SolrRepositoryFactory.<init>(SolrRepositoryFactory.java:76)
> at hortonworks.hdp.refapp.ecm.service.core.indexstore.SolrIndexStore.initialize(SolrIndexStore.java:54)
> at hortonworks.hdp.refapp.ecm.registry.ECMBeanRefresher.refreshIndexStoreInAppContext(ECMBeanRefresher.java:40)
> at hortonworks.hdp.refapp.ecm.registry.ECMBeanRefresher.refreshBeans(ECMBeanRefresher.java:28)
> at hortonworks.hdp.refapp.ecm.view.DocumentManagementViewService.createAppContext(DocumentManagementViewService.java:138)
> at hortonworks.hdp.refapp.ecm.view.DocumentManagementViewService.initialize(DocumentManagementViewService.java:53)
> at hortonworks.hdp.refapp.ecm.view.DocumentManagementViewService.getDocumentService(DocumentManagementViewService.java:109)
> at hortonworks.hdp.refapp.ecm.view.DocumentManagementViewService.search(DocumentManagementViewService.java:94)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message