4 Replies Latest reply on Dec 22, 2005 5:11 PM by roy.russo

    Portal Startup Console Output

    fritzwf

      Can someone please post a listing of the console output that you would see when you launch the JBoss AS with only the jboss-portal.sar properly configured in the deploy directory. There are so many messages that I don't know what is expected and what might be incorrect in my installation.

      Thanks,
      Fritz

        • 1. Re: Portal Startup Console Output
          scottdawson

          I'm running JBoss AS 4.0.3SP1, Portal 2.2 and MySQL 4.1. To reduce the amount of output going to the console, I modified the log4j.xml file in the conf directory, setting the Threshold value of the CONSOLE appender to "WARN", like this:

           <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
           <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
           <param name="Target" value="System.out"/>
           <param name="Threshold" value="WARN"/>
          
           <layout class="org.apache.log4j.PatternLayout">
           <!-- The default pattern: Date Priority [Category] Message\n -->
           <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
           </layout>
           </appender>
          


          Having done that, when I run the portal the second time, I get the output shown below. The first time I run it I get additional JDBC/SQL errors because of missing tables, which get created automatically. I've omitted the INFO messages that appear when the server is first coming up.
          22:50:38,346 ERROR [LocaleUtils] Locale name null or empty, ignoring
          22:50:50,844 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.
          xml found in the classpath: jar:file:/C:/jboss-4.0.3SP1/server/portal/tmp/deploy/tmp7956ehcache.jar!
          /ehcache-failsafe.xml
          22:50:51,445 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.security.st
          ore.SecurityPolicy]; using defaults.
          22:50:51,715 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.security.st
          ore.HbmSecurityConstraint]; using defaults.
          22:50:51,855 WARN [EhCacheProvider] Could not find configuration [org.hibernate.cache.UpdateTimesta
          mpsCache]; using defaults.
          22:50:51,865 WARN [EhCacheProvider] Could not find configuration [org.hibernate.cache.StandardQuery
          Cache]; using defaults.
          22:50:56,081 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.role.R
          oleImpl]; using defaults.
          22:50:56,212 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.P
          referenceImpl]; using defaults.
          22:50:56,252 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.U
          serImpl]; using defaults.
          22:50:56,322 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.P
          referencesImpl]; using defaults.
          22:50:56,352 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.P
          referencesGroupImpl]; using defaults.
          22:50:56,382 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.U
          serImpl.dynamic]; using defaults.
          22:50:56,392 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.role.R
          oleImpl.users]; using defaults.
          22:50:56,392 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.P
          referencesImpl.content]; using defaults.
          22:50:56,392 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.P
          referenceImpl.strings]; using defaults.
          22:50:56,462 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.P
          referencesGroupImpl.prefMap]; using defaults.
          22:50:56,472 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.U
          serImpl.roles]; using defaults.
          22:50:56,562 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          instance.InstanceImpl]; using defaults.
          22:50:56,592 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          instance.PreferenceImpl]; using defaults.
          22:50:56,652 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          instance.InstanceImpl.preferencesMap]; using defaults.
          22:50:56,662 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          instance.PreferenceImpl.strings]; using defaults.
          22:50:56,742 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          portal.PortalObjectImpl]; using defaults.
          22:50:56,903 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          portal.ObjectNode]; using defaults.
          22:50:56,943 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          portal.PortalImpl.windowStates]; using defaults.
          22:50:56,953 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          portal.PortalObjectImpl.declaredProperties]; using defaults.
          22:50:56,953 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          portal.ObjectNode.children]; using defaults.
          22:50:56,953 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.
          portal.PortalImpl.modes]; using defaults.
          22:50:59,566 ERROR [LocaleUtils] Locale name null or empty, ignoring
          


          Regards,
          Scott Dawson
          Unisys


          • 2. Re: Portal Startup Console Output
            fritzwf

            Thanks for the output. Those appear to be exactly the same warnings I get. Trying to get it to work with JBoss AS 5 but it gives me a bunch of other problems.

            • 3. Re: Portal Startup Console Output
              fritzwf

              Has anyone run the Portal 2.2 final with the JBoss 4.0.3SP1 using the 'all' configuration?

              • 4. Re: Portal Startup Console Output

                Those warnings should be fine. The cache is empty on boot.