roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Error while installing Roller 4.0.1on WAS 6.1 while using schema name prefixed with queries
Date Mon, 06 Sep 2010 11:59:55 GMT
The problem is that you are running Roller 4.0.1 with OpenJPA 2.0.

Roller 4.0.1 requires OpenJPA 0.9.7.

If you MUST use OpenJPA 2.0 then you might wish to try again with the
Roller 5.0 RC1 release candidate. Also, since we have not yet released
Roller 5.0, now is your chance to help make it work on Websphere.

- Dave


On Fri, Aug 27, 2010 at 2:56 PM, amitmittal5 <amitmittal5@gmail.com> wrote:
>
> Hi,
>
> I am trying to install Roller 4.0.1 on WAS 6.1 and DB2. I am facing a
> problem in running it when I the database schema name and user name to
> access it are not same. I have manually created the tables in the database
> and I prefixed the schema name at the following places:
>
> 1. org.apache.roller.weblogger.business.startup.DatabaseInstaller &
> org.apache.roller.weblogger.util.PasswordUtility: All database queries, are
> prefixed by "<SCHEMA_NAME>". For example
>
>            PreparedStatement websiteUpdate = con.prepareStatement(
>                    "update MY_SCHEMA.website set handle=? where id=?");
>
> 2. In all .hbm.xml files:
>
>    <class
>        name="org.apache.roller.weblogger.pojos.AutoPing"
>        table="MY_SCHEMA.autoping"
>        lazy="true"
>    >
>
> 3. In all .orm.xml files:
>
>    <entity metadata-complete="true" name="AutoPing"
>            class="org.apache.roller.weblogger.pojos.AutoPing">
>        <table name="MY_SCHEMA.autoping"/>
>
> This was required because without that it was prefixing the database
> username and the query was failing.
>
>
>
> Now with the above changes when I am running the roller, it is connecting to
> database successfully and can run the queries from DatabaseInstaller class
> but not from other classes through JPA, here is the exception I am getting
> (you will see some unwanted sysouts in the logs, that I added to find out
> the problem):
>
>
>
> Here is the exception trace, Could you please help me to figure out whats
> wrong I am doing or how to get rid of this problem. Due to this, I am not
> able to go into Roller weblog after the start page.
>
>
> [8/27/10 20:00:11:562 IST] 00000022 ApplicationMg A   WSVR0200I: Starting
> application: roller_war
> [8/27/10 20:00:11:562 IST] 00000022 ApplicationMg A   WSVR0204I:
> Application: roller_war  Application build level: Unknown
> [8/27/10 20:00:11:812 IST] 00000022 WebGroup      A   SRVE0169I: Loading Web
> Module: Roller Weblogger.
> [8/27/10 20:00:12:328 IST] 00000022 ContextLoader I
> org.springframework.web.context.ContextLoader initWebApplicationContext Root
> WebApplicationContext: initialization started
> [8/27/10 20:00:12:328 IST] 00000022 WebApp        A   SRVE0180I:
> [roller_war#roller.war] [/roller] [Servlet.LOG]: Loading Spring root
> WebApplicationContext
> [8/27/10 20:00:12:437 IST] 00000022 CollectionFac I
> org.springframework.core.CollectionFactory <clinit> JDK 1.4+ collections
> available
> [8/27/10 20:00:12:453 IST] 00000022 CollectionFac I
> org.springframework.core.CollectionFactory <clinit> Commons Collections 3.x
> available
> [8/27/10 20:00:12:500 IST] 00000022 XmlBeanDefini I
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions Loading XML bean definitions from ServletContext
> resource [/WEB-INF/security.xml]
> [8/27/10 20:00:12:750 IST] 00000022 XmlWebApplica I
> org.springframework.context.support.AbstractRefreshableApplicationContext
> refreshBeanFactory Bean factory for application context [Root
> WebApplicationContext]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans
> [filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,jdbcAuthenticationDao,userCache,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager];
> root of BeanFactory hierarchy
> [8/27/10 20:00:12:765 IST] 00000022 XmlWebApplica I
> org.springframework.context.support.AbstractApplicationContext refresh 21
> beans defined in application context [Root WebApplicationContext]
> [8/27/10 20:00:12:796 IST] 00000022 XmlWebApplica I
> org.springframework.context.support.AbstractApplicationContext
> initMessageSource Unable to locate MessageSource with name 'messageSource':
> using default
> [org.springframework.context.support.DelegatingMessageSource@1e161e16]
> [8/27/10 20:00:12:796 IST] 00000022 XmlWebApplica I
> org.springframework.context.support.AbstractApplicationContext
> initApplicationEventMulticaster Unable to locate ApplicationEventMulticaster
> with name 'applicationEventMulticaster': using default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@3f4a3f4a]
> [8/27/10 20:00:12:812 IST] 00000022 UiApplication I
> org.springframework.ui.context.support.UiApplicationContextUtils
> initThemeSource Unable to locate ThemeSource with name 'themeSource': using
> default
> [org.springframework.ui.context.support.ResourceBundleThemeSource@2d1a2d1a]
> [8/27/10 20:00:12:921 IST] 00000022 DefaultListab I
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> preInstantiateSingletons Pre-instantiating singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans
> [filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,jdbcAuthenticationDao,userCache,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager];
> root of BeanFactory hierarchy]
> [8/27/10 20:00:13:046 IST] 00000022 EhCacheManage I
> org.springframework.cache.ehcache.EhCacheManagerFactoryBean
> afterPropertiesSet Initializing EHCache CacheManager
> [8/27/10 20:00:13:093 IST] 00000022 EhCacheFactor I
> org.springframework.cache.ehcache.EhCacheFactoryBean afterPropertiesSet
> Creating new EHCache cache region 'userCache'
> [8/27/10 20:00:13:125 IST] 00000022 AbstractSecur I
> org.acegisecurity.intercept.AbstractSecurityInterceptor afterPropertiesSet
> Validated configuration attributes
> [8/27/10 20:00:13:218 IST] 00000022 ChannelProces I
> org.acegisecurity.securechannel.ChannelProcessingFilter afterPropertiesSet
> Validated configuration attributes
> [8/27/10 20:00:13:234 IST] 00000022 ContextLoader I
> org.springframework.web.context.ContextLoader initWebApplicationContext
> Using context class
> [org.springframework.web.context.support.XmlWebApplicationContext] for root
> WebApplicationContext
> [8/27/10 20:00:13:265 IST] 00000022 ContextLoader I
> org.springframework.web.context.ContextLoader initWebApplicationContext Root
> WebApplicationContext: initialization completed in 937 ms
> [8/27/10 20:00:13:281 IST] 00000022 SystemOut     O Roller Weblogger:
> Successfully loaded custom properties file from classpath
> [8/27/10 20:00:13:406 IST] 00000022 SystemOut     O
> WebloggerStartup.prepare() START DB
> [8/27/10 20:00:13:406 IST] 00000022 DatabaseProvi I
> org.apache.roller.weblogger.business.DatabaseProvider successMessage
> SUCCESS: Got parameters. Using configuration type JNDI_NAME
> [8/27/10 20:00:13:421 IST] 00000022 DatabaseProvi I
> org.apache.roller.weblogger.business.DatabaseProvider successMessage --
> Using JNDI datasource name: java:comp/env/jdbc/rollerdb
> [8/27/10 20:00:13:437 IST] 00000022 DatabaseProvi I
> org.apache.roller.weblogger.business.DatabaseProvider successMessage
> SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> [8/27/10 20:00:13:437 IST] 00000022 SystemOut     O
> DatabaseProvider.DatabaseProvider()
> [8/27/10 20:00:13:437 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() START
> [8/27/10 20:00:13:437 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@1eaa1eaa
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseProvider.DatabaseProvider()
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@1eaa1eaa
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> WebloggerStartup.prepare()
> dbProvider:org.apache.roller.weblogger.business.DatabaseProvider@2cbc2cbc
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> WebloggerStartup.prepare() before dbInstaller
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.DatabaseInstaller()
> db:org.apache.roller.weblogger.business.DatabaseProvider@2cbc2cbc
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.DatabaseInstaller()
> scrp:org.apache.roller.weblogger.business.startup.ClasspathDatabaseScriptProvider@1bd61bd6
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.DatabaseInstaller()
> path:C:\IBM\WebSphere\AppServer\profiles\AppSrv01\amit.test
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.DatabaseInstaller() prop:4
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.DatabaseInstaller() prop version:4.0.1
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> WebloggerStartup.prepare() before
> dbInstaller::org.apache.roller.weblogger.business.startup.DatabaseInstaller@7d587d58
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.isUpgradeRequired() START::401
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() START
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@4dc44dc4
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion()
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@4dc44dc4
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion()
> stmt:com.ibm.ws.rsadapter.jdbc.WSJccStatement@53025302
> [8/27/10 20:00:13:453 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion() query get:select value from
> ISTORE_SCHEMA.ROLLER_PROPERTIES where name = 'roller.database.version'
> [8/27/10 20:00:13:531 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion()
> rs:com.ibm.ws.rsadapter.jdbc.WSJccResultSet@5a4c5a4c
> [8/27/10 20:00:13:703 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion() else
> [8/27/10 20:00:13:796 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion()
> rs:::com.ibm.ws.rsadapter.jdbc.WSJccResultSet@60fc60fc
> [8/27/10 20:00:13:796 IST] 00000022 SystemOut     O
> DatabaseInstaller.getDatabaseVersion() int:0
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseInstaller.isUpgradeRequired() version::-1
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseInstaller.isUpgradeRequired() START
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() START
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@69fc69fc
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseInstaller.isUpgradeRequired()
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@69fc69fc
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseInstaller.setDatabaseVersion()
> [8/27/10 20:00:13:875 IST] 00000022 SystemOut     O
> DatabaseInstaller.setDatabaseVersion() query:update
> ISTORE_SCHEMA.ROLLER_PROPERTIES set value ='401' where
> name='roller.database.version'
> [8/27/10 20:00:13:953 IST] 00000022 SystemOut     O
> DatabaseInstaller.setDatabaseVersion() QUERY DONE0
> [8/27/10 20:00:13:953 IST] 00000022 SystemOut     O
> DatabaseInstaller.isUpgradeRequired() SET DONE
> [8/27/10 20:00:13:953 IST] 00000022 SystemOut     O
> WebloggerStartup.prepare():true
> [8/27/10 20:00:14:625 IST] 00000022 WebloggerFact I
> org.apache.roller.weblogger.business.WebloggerFactory bootstrap
> Bootstrapping Roller Weblogger business tier
> [8/27/10 20:00:14:625 IST] 00000022 WebloggerFact I
> org.apache.roller.weblogger.business.WebloggerFactory bootstrap Weblogger
> Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
> [8/27/10 20:00:14:640 IST] 00000022 DatabaseProvi I
> org.apache.roller.weblogger.business.DatabaseProvider successMessage
> SUCCESS: Got parameters. Using configuration type JNDI_NAME
> [8/27/10 20:00:14:640 IST] 00000022 DatabaseProvi I
> org.apache.roller.weblogger.business.DatabaseProvider successMessage --
> Using JNDI datasource name: java:comp/env/jdbc/rollerdb
> [8/27/10 20:00:14:640 IST] 00000022 DatabaseProvi I
> org.apache.roller.weblogger.business.DatabaseProvider successMessage
> SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> [8/27/10 20:00:14:687 IST] 00000022 SystemOut     O
> DatabaseProvider.DatabaseProvider()
> [8/27/10 20:00:14:687 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() START
> [8/27/10 20:00:14:687 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> [8/27/10 20:00:14:687 IST] 00000022 SystemOut     O
> DatabaseProvider.getConnection() inside
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@23c023c0
> [8/27/10 20:00:14:687 IST] 00000022 SystemOut     O
> DatabaseProvider.DatabaseProvider()
> con:com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection@23c023c0
> [8/27/10 20:00:14:703 IST] 00000022 JPAPersistenc I
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy <init>
> openjpa.Log: commons
> [8/27/10 20:00:15:421 IST] 00000022 IndexManagerI I
> org.apache.roller.weblogger.business.search.IndexManagerImpl <init> search
> enabled: true
> [8/27/10 20:00:15:421 IST] 00000022 IndexManagerI I
> org.apache.roller.weblogger.business.search.IndexManagerImpl <init> index
> dir: C:\WINDOWS\system32\config\systemprofile\roller_data\search-index
> [8/27/10 20:00:15:453 IST] 00000022 ReferrerQueue I
> org.apache.roller.weblogger.business.referrers.ReferrerQueueManagerImpl
> <init> Instantiating Referrer Queue Manager
> [8/27/10 20:00:15:453 IST] 00000022 ReferrerQueue I
> org.apache.roller.weblogger.business.referrers.ReferrerQueueManagerImpl
> <init> Asynchronous referrer processing = false
> [8/27/10 20:00:15:468 IST] 00000022 ThreadManager I
> org.apache.roller.weblogger.business.runnable.ThreadManagerImpl <init>
> Instantiating Thread Manager
> [8/27/10 20:00:15:531 IST] 00000022 WebloggerFact I
> org.apache.roller.weblogger.business.WebloggerFactory bootstrap Roller
> Weblogger business tier successfully bootstrapped
> [8/27/10 20:00:15:531 IST] 00000022 WebloggerFact I
> org.apache.roller.weblogger.business.WebloggerFactory bootstrap    Version:
> 4.0.1
> [8/27/10 20:00:15:531 IST] 00000022 WebloggerFact I
> org.apache.roller.weblogger.business.WebloggerFactory bootstrap    Revision:
> 729109
> [8/27/10 20:00:15:531 IST] 00000022 WebloggerImpl I
> org.apache.roller.weblogger.business.WebloggerImpl initialize Initializing
> Roller Weblogger business tier
> [8/27/10 20:00:15:546 IST] 00000022 SystemOut     O
> JPAPropertiesManagerImpl.initialize():START
> [8/27/10 20:00:15:546 IST] 00000022 SystemOut     O
> JPAPropertiesManagerImpl.getProperties(): Start
> [8/27/10 20:00:15:562 IST] 00000022 Runtime       I
> org.apache.openjpa.lib.log.CommonsLogFactory$LogAdapter info Starting
> OpenJPA 2.0.0
> [8/27/10 20:00:16:187 IST] 00000022 JDBC          I
> org.apache.openjpa.lib.log.CommonsLogFactory$LogAdapter info Using
> dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/NT
> SQL08020 ,IBM DB2 JDBC Universal Driver Architecture 2.3.63).
> [8/27/10 20:00:16:796 IST] 00000022 JPAProperties E
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl initialize
> Failed to initialize runtime configuration properties.Please check that the
> database has been upgraded!
>                                 <openjpa-2.0.0-r422266:935683 nonfatal
user
> error> org.apache.openjpa.persistence.ArgumentException: This configuration
> disallows runtime optimization, but the following listed types were not
> enhanced at build time or at class load time with a javaagent: "
> org.apache.roller.weblogger.pojos.WeblogBookmark
> org.apache.roller.weblogger.pojos.WeblogEntryTag
> org.apache.roller.weblogger.pojos.WeblogPermission
> org.apache.roller.weblogger.pojos.WeblogHitCount
> org.apache.roller.weblogger.pojos.PingQueueEntry
> org.apache.roller.weblogger.pojos.RuntimeConfigProperty
> org.apache.roller.weblogger.pojos.PingTarget
> org.apache.roller.weblogger.pojos.User
> org.apache.roller.weblogger.pojos.WeblogCategory
> org.apache.roller.weblogger.pojos.WeblogEntryComment
> org.apache.roller.weblogger.pojos.UserRole
> org.apache.roller.weblogger.pojos.WeblogTemplate
> org.apache.roller.weblogger.pojos.WeblogBookmarkFolder
> org.apache.roller.weblogger.pojos.WeblogEntryTagAggregate
> org.apache.roller.weblogger.pojos.WeblogEntryAttribute
> org.apache.roller.weblogger.pojos.WeblogReferrer
> org.apache.roller.weblogger.pojos.Weblog
> org.apache.roller.weblogger.pojos.WeblogEntry
> org.apache.roller.weblogger.pojos.AutoPing
> org.apache.roller.weblogger.pojos.TaskLock".
>    at
> org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:116)
>    at
> org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:304)
>    at
> org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:228)
>    at
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:202)
>    at
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
>    at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
>    at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
>    at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLocalEntityManager(JPAPersistenceStrategy.java:252)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityManager(JPAPersistenceStrategy.java:239)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuery(JPAPersistenceStrategy.java:272)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getProperties(JPAPropertiesManagerImpl.java:123)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize(JPAPropertiesManagerImpl.java:79)
>    at
> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:301)
>    at
> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:159)
>    at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
>    at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350)
>    at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
>    at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
>    at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
>    at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
>    at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
>    at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
>    at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1303)
>    at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
>    at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
>    at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:949)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1486)
>    at
> com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4076)
>    at
> com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4173)
>    at
> com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1491)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:618)
>    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
>    at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:618)
>    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
>    at
> javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)
>    at
> javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)
>    at
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
>    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
>    at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
>    at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
>    at
> com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1082)
>    at
> com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
>    at
> com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:975)
>    at
> com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
>    at
> com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
>    at
> com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:537)
>    at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
>    at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
>    at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
>    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)
>    at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
>    at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
>    at
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1070)
>    at
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:273)
>    at
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
>    at
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
>    at
> com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:206)
>    at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>    at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
>    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
>    at
> com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:792)
>    at
> com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:363)
>    at
> com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)
>    at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)
>    at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
>    at
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
>    at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
>    at
> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
>    at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
>    at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
>    at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
>    at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
>    at
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
>    at
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
>    at
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>    at
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>    at
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
>    at
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
>    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
>    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
>
> [8/27/10 20:00:16:828 IST] 00000022 WebApp        E   Exception caught while
> initializing context
> java.lang.RuntimeException: <openjpa-2.0.0-r422266:935683 nonfatal user
> error> org.apache.openjpa.persistence.ArgumentException: This configuration
> disallows runtime optimization, but the following listed types were not
> enhanced at build time or at class load time with a javaagent: "
> org.apache.roller.weblogger.pojos.WeblogBookmark
> org.apache.roller.weblogger.pojos.WeblogEntryTag
> org.apache.roller.weblogger.pojos.WeblogPermission
> org.apache.roller.weblogger.pojos.WeblogHitCount
> org.apache.roller.weblogger.pojos.PingQueueEntry
> org.apache.roller.weblogger.pojos.RuntimeConfigProperty
> org.apache.roller.weblogger.pojos.PingTarget
> org.apache.roller.weblogger.pojos.User
> org.apache.roller.weblogger.pojos.WeblogCategory
> org.apache.roller.weblogger.pojos.WeblogEntryComment
> org.apache.roller.weblogger.pojos.UserRole
> org.apache.roller.weblogger.pojos.WeblogTemplate
> org.apache.roller.weblogger.pojos.WeblogBookmarkFolder
> org.apache.roller.weblogger.pojos.WeblogEntryTagAggregate
> org.apache.roller.weblogger.pojos.WeblogEntryAttribute
> org.apache.roller.weblogger.pojos.WeblogReferrer
> org.apache.roller.weblogger.pojos.Weblog
> org.apache.roller.weblogger.pojos.WeblogEntry
> org.apache.roller.weblogger.pojos.AutoPing
> org.apache.roller.weblogger.pojos.TaskLock".
>    at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize(JPAPropertiesManagerImpl.java:97)
>    at
> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:301)
>    at
> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:159)
>    at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
>    at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350)
>    at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
>    at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
>    at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
>    at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
>    at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
>    at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
>    at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1303)
>    at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
>    at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
>    at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:949)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1486)
>    at
> com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4076)
>    at
> com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4173)
>    at
> com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
>    at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1491)
>
> Thanks a lot for your help.
> Amit
> --
> View this message in context: http://old.nabble.com/Error-while-installing-Roller-4.0.1on-WAS-6.1-while-using-schema-name-prefixed-with-queries-tp29555782s12275p29555782.html
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>

Mime
View raw message