2 Replies Latest reply on Jan 6, 2006 10:04 AM by glodo

    Problem with jboss on oracle

    glodo

      Hello!, I am work with Jboss AS 4.0.3SP1 on oracle9i, i use the jboss portal.
      First, i build the portal 2.0 and just when run succesfully.. appears the version 2.2.
      i try many ways to run the portal 2.2 without success.. i believe that it all the ways.
      First, i want to know if really work the portal 2.2 with oracle. if did.. please i need to know how did..and if didn't still i need to know because i work for that and i lost very time..
      Second, I try from the binaries, and don't show any errors.. but still cannot set the portal, still shows this: http Status 404 -
      type Status report

      message

      description The requested resource () is not available.

      I try too from the sources, and is the same window...
      I try from the migration database.. and still have the same window..

      Is any more configuration that i forget or it need?
      I thing the problem is with the database.. because.. with the hsqldb i have not any problem..
      with postgreSQL i have not any problem too.. is just with oracle that i have problems.

      Is more configuration to database oracle?
      Is one message that show and take my attention:
      [ObjectDeployment] Cannot create portal object null because t
      he parent that the deployment descriptor references does not exist

      what that means?

      One more thing.. when the jboss portal set the database in the first time, it didn't create all the table that it need.. i have to create by my hand through
      one migration of database.. i have to insert all rows that it need... because before to do that show me many errors.. and now don't have aparently any errors
      but still can set the portal..

      Please i need your help.. please answer my questions..
      If you don't really know what can be the problem.. please let me know..
      Regards

      glodo

        • 1. Re: Problem with jboss on oracle

          Do you have a stack trace to give us ?

          • 2. Re: Problem with jboss on oracle
            glodo

            This is one part of the stack trace.. if need more tell me so i can send you by email.. is big the server.log to put here.. but if you want just tell me..
            I did this from the binaries.. from the source have the same problem..

            INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
            INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
            INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
            INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
            INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
            INFO [TreeCache] preloading transient state from cache loader wassuccessful (in 4859 milliseconds)
            INFO [TreeCache] interceptor chain is:class org.jboss.cache.interceptors.CallInterceptor
            class org.jboss.cache.interceptors.LockInterceptorclass org.jboss.cache.interceptors.UnlockInterceptor
            INFO [TreeCache] cache mode is local, will not create the channel
            INFO [Configuration] processing extends queue
            INFO [Configuration] processing collection mappings
            INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.user.PreferencesGroupImpl.prefMap -> jbp_user_pref_set
            INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.user.PreferencesImpl.content -> jbp_user_pref
            INFO [Configuration] processing association property references
            INFO [Configuration] processing foreign key constraints
            INFO [NamingHelper] JNDI InitialContext properties:{}
            INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
            INFO [SettingsFactory] RDBMS: Oracle, version: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
            With the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production
            INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
            INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialect
            INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
            INFO [NamingHelper] JNDI InitialContext properties:{}
            INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
            INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
            INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
            INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
            INFO [SettingsFactory] Automatic flush during beforeCompletion():enabled
            INFO [SettingsFactory] Automatic session close at end of transaction: enabled
            INFO [SettingsFactory] JDBC batch size: 15
            INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
            INFO [SettingsFactory] Scrollable result sets: enabled
            INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
            INFO [SettingsFactory] Connection release mode: auto
            INFO [SettingsFactory] Default batch fetch size: 1
            INFO [SettingsFactory] Generate SQL with comments: disabled
            INFO [SettingsFactory] Order SQL updates by primary key: disabled
            INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
            INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
            INFO [SettingsFactory] Query language substitutions: {}
            INFO [SettingsFactory] Second-level cache: enabled
            INFO [SettingsFactory] Query cache: enabled
            INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
            INFO [SettingsFactory] Optimize cache for minimal puts: disabled
            INFO [SettingsFactory] Structured second-level cache entries: disabled
            INFO [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
            INFO [SettingsFactory] Statistics: disabled
            INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
            INFO [SettingsFactory] Default entity-mode: POJO
            INFO [SessionFactoryImpl] building session factory
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.role.RoleImpl]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferenceImpl]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.UserImpl]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferencesImpl]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferencesGroupImpl]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.UserImpl.dynamic]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.role.RoleImpl.users]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferencesImpl.content]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferenceImpl.strings]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferencesGroupImpl.prefMap]; using defaults.
            WARN [EhCacheProvider] Could not find configuration
            [org.jboss.portal.core.impl.user.UserImpl.roles]; using defaults.
            INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
            INFO [NamingHelper] JNDI InitialContext properties:{}
            INFO [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
            INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
            INFO [SessionFactoryImpl] Checking 0 named queries
            INFO [Configuration] processing extends queue
            INFO [Configuration] processing collection mappings
            INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.instance.InstanceImpl.preferencesMap -> JBP_INSTANCE_PREF
            INFO [Configuration] processing association property references
            INFO [Configuration] processing foreign key constraints
            INFO [NamingHelper] JNDI InitialContext properties:{}
            INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
            INFO [SettingsFactory] RDBMS: Oracle, version: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
            With the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production
            INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
            INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialect
            INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
            INFO [NamingHelper] JNDI InitialContext properties:{}
            INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
            INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
            INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
            INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
            INFO [SettingsFactory] Automatic flush during beforeCompletion():enabled
            INFO [SettingsFactory] Automatic session close at end of transaction: enabled
            INFO [SettingsFactory] JDBC batch size: 15
            INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
            INFO [SettingsFactory] Scrollable result sets: enabled
            INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
            INFO [SettingsFactory] Connection release mode: auto
            INFO [SettingsFactory] Default batch fetch size: 1
            INFO [SettingsFactory] Generate SQL with comments: disabled
            INFO [SettingsFactory] Order SQL updates by primary key: disabled
            INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
            INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
            INFO [SettingsFactory] Query language substitutions: {}
            INFO [SettingsFactory] Second-level cache: enabled
            INFO [SettingsFactory] Query cache: enabled
            INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
            INFO [SettingsFactory] Optimize cache for minimal puts: disabled
            INFO [SettingsFactory] Structured second-level cache entries: disabled
            INFO [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
            INFO [SettingsFactory] Statistics: disabled
            INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
            INFO [SettingsFactory] Default entity-mode: POJO
            INFO [SessionFactoryImpl] building session factory
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.PortalObjectImpl]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.ObjectNode]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.PortalImpl.windowStates]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.PortalObjectImpl.declaredProperties]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.ObjectNode.children]; using defaults.
            WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.PortalImpl.modes]; using defaults.

            INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
            INFO [NamingHelper] JNDI InitialContext properties:{}
            INFO [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
            INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
            INFO [SessionFactoryImpl] Checking 0 named queries
            INFO [PersistentPortalObjectContainer] Created portal object rootcontext
            WARN [ObjectDeployment] Cannot create portal object null because the parent that the deployment descriptor references does not exist
            INFO [LayoutDeployment] create new layout(s), found in : /portal
            INFO [LayoutDeployment] done creating new layout(s), found in : /portal
            INFO [LayoutDeployment] create new layout(s), found in : portal
            INFO [LayoutDeployment] done creating new layout(s), found in : portal
            INFO [ThemeDeployment] create new theme(s), found in : portal
            INFO [ThemeDeployment] done creating new theme(s), found in : portal
            INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
            INFO [FacesConfigurator] Reading config jar:file:/C:/Archivos de programa/jboss-4.0.3SP1/server/all/tmp/deploy/tmp1043jsf-facelets.jar!/META-INF/f
            aces-config.xml
            INFO [FacesConfigurator] Reading config jar:file:/C:/Archivos de programa/jboss-4.0.3SP1/server/all/tmp/deploy/tmp1055tomahawk.jar!/META-INF/faces
            -config.xml
            INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
            ERROR [LocaleUtils] Locale name null or empty, ignoring
            INFO [RenderKitFactoryImpl] RenderKit with renderKitId 'HTML_BASIC' was replaced.
            INFO [MyFacesGenericPortlet] PortletContext 'C:\Archivos de programa\jboss-4.0.3SP1\server\all\.\deploy\jboss-portal.sar\portal-core.war\' initialized.
            INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
            INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
            INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
            INFO [JkMain] Jk running ID=0 time=0/47 config=null
            INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBos
            s_4_0_3_SP1 date=200510231751)] Started in 43s:781ms

            if you see anything that i can change or you have some example please show me..
            thank very much for your help
            regards
            glodo