2 Replies Latest reply on Jun 13, 2005 9:50 AM by Edward Perry

    Portal is up and running but I can not register a new user

    Edward Perry Newbie

      I was able to log in as the admin but when I try to create a new login it just gives me a blank page.
      portal R2
      jboss 4.0.2
      forums r2

      Also if I log back in as admin I see the account created.

      The log files shows the following. (Please help)

      er.impl.TableRegionRenderer@140c973][org.jboss.portal.core.theme.render.impl.TableWindowRenderer@69cee6][org.jboss.portal.core.theme.render.impl.TableDecorationRenderer@8e918a][org.jboss.portal.core.theme.render.impl.TablePortletRenderer@1f52b85]
      20:41:40,558 INFO [LayoutDeployment] found default strategy ...
      20:41:40,589 INFO [LayoutDeployment] found: org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl
      20:41:40,605 INFO [LayoutDeployment] creating /WEB-INF/theme folder for this archive
      20:41:40,628 INFO [LayoutDeployment] done creating new layout(s), found in : portal
      20:41:40,629 INFO [ThemeDeployment] create new theme(s), found in : portal
      20:41:40,703 INFO [ThemeDeployment] done creating new theme(s), found in : portal
      20:41:48,677 INFO [PortalServer] Added application /portal-core
      20:41:51,762 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/root/portal/jboss-4.0.2/server/default/deploy/jmx-console.war/
      20:41:52,325 INFO [EARDeployer] Init J2EE application: file:/root/portal/jboss-4.0.2/server/default/deploy/portal-forums.ear/
      20:41:54,381 INFO [Configuration] configuring from url: file:/root/portal/jboss-4.0.2/server/default/deploy/portal-forums.ear/portal-forums.sar/conf/hibernate/hibernate.cfg.xml
      20:41:54,498 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/CategoryImpl.hbm.xml
      20:41:54,567 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.CategoryImpl -> jbp_forums_categories
      20:41:54,572 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/ForumImpl.hbm.xml
      20:41:55,158 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.ForumImpl -> jbp_forums_forums
      20:41:55,272 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/PollImpl.hbm.xml
      20:41:55,334 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PollImpl -> jbp_forums_polls
      20:41:55,337 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/PosterImpl.hbm.xml
      20:41:55,479 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PosterImpl -> jbp_forums_posters
      20:41:55,487 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/PostImpl.hbm.xml
      20:41:55,701 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PostImpl -> jbp_forums_posts
      20:41:55,711 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/TopicImpl.hbm.xml
      20:41:56,055 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.TopicImpl -> jbp_forums_topics
      20:41:56,066 INFO [Configuration] Mapping resource: org/jboss/portlet/forums/impl/WatchImpl.hbm.xml
      20:41:56,287 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.WatchImpl -> jbp_forums_watch
      20:41:56,306 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portlet.forums.impl.TopicWatchImpl -> jbp_forums_topicswatch
      20:41:56,309 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portlet.forums.impl.ForumWatchImpl -> jbp_forums_forumswatch
      20:41:56,311 INFO [Configuration] Configured SessionFactory: java:portal/ForumSessionFactory
      20:41:56,314 INFO [Configuration] processing extends queue
      20:41:56,315 INFO [Configuration] processing collection mappings
      20:41:56,316 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.CategoryImpl.forums -> jbp_forums_forums
      20:41:56,318 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.topics -> jbp_forums_topics
      20:41:56,319 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.forumWatch -> jbp_forums_forumswatch
      20:41:56,321 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.watches -> jbp_forums_forumswatch
      20:41:56,323 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.TopicImpl.watches -> jbp_forums_topicswatch
      20:41:56,324 INFO [Configuration] processing association property references
      20:41:56,325 INFO [Configuration] processing foreign key constraints
      20:41:56,401 INFO [NamingHelper] JNDI InitialContext properties:{}
      20:41:56,412 INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
      20:41:56,414 INFO [SettingsFactory] RDBMS: MySQL, version: 4.0.24
      20:41:56,414 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.8 ( $Date: 2005/04/14 20:36:13 $, $Revision: 1.27.4.64 $ )
      20:41:56,416 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      20:41:56,418 INFO [SettingsFactory] JDBC batch size: 15
      20:41:56,419 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
      20:41:56,420 INFO [SettingsFactory] Scrollable result sets: enabled
      20:41:56,421 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
      20:41:56,422 INFO [SettingsFactory] Aggressive release : disabled
      20:41:56,423 INFO [SettingsFactory] Maximum outer join fetch depth: 2
      20:41:56,431 INFO [SettingsFactory] Default batch fetch size: 1
      20:41:56,432 INFO [SettingsFactory] Generate SQL with comments: disabled
      20:41:56,433 INFO [SettingsFactory] Order SQL updates by primary key: disabled
      20:41:56,434 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      20:41:56,435 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      20:41:56,436 INFO [SettingsFactory] Query language substitutions: {}
      20:41:56,436 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
      20:41:56,437 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      20:41:56,438 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      20:41:56,439 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      20:41:56,440 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
      20:41:56,441 INFO [SettingsFactory] Second-level cache: enabled
      20:41:56,442 INFO [SettingsFactory] Query cache: disabled
      20:41:56,443 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
      20:41:56,444 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
      20:41:56,444 INFO [SettingsFactory] Structured second-level cache entries: enabled
      20:41:56,446 INFO [SettingsFactory] Statistics: disabled
      20:41:56,447 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      20:41:56,447 INFO [SettingsFactory] Default entity-mode: pojo
      20:41:56,457 INFO [SessionFactoryImpl] building session factory
      20:41:58,971 INFO [SessionFactoryObjectFactory] Factory name: java:portal/ForumSessionFactory
      20:41:58,972 INFO [NamingHelper] JNDI InitialContext properties:{}
      20:41:58,975 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:portal/ForumSessionFactory
      20:41:58,976 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
      20:41:58,978 INFO [NamingHelper] JNDI InitialContext properties:{}
      20:41:58,980 INFO [SessionFactoryImpl] Checking 0 named queries
      20:41:58,981 INFO [SessionFactoryBinder] Hibernate dialect used org.hibernate.dialect.MySQLDialect
      20:41:59,014 WARN [JDBCExceptionReporter] SQL Error: 1146, SQLState: 42S02
      20:41:59,015 ERROR [JDBCExceptionReporter] Table 'jbossportal.jbp_forums_categories' doesn't exist
      20:41:59,023 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      20:41:59,025 INFO [Configuration] processing extends queue
      20:41:59,026 INFO [Configuration] processing collection mappings
      20:41:59,027 INFO [Configuration] processing association property references
      20:41:59,028 INFO [Configuration] processing foreign key constraints
      20:41:59,032 INFO [Configuration] processing extends queue
      20:41:59,033 INFO [Configuration] processing collection mappings
      20:41:59,034 INFO [Configuration] processing association property references
      20:41:59,035 INFO [Configuration] processing foreign key constraints
      20:41:59,041 INFO [SchemaExport] Running hbm2ddl schema export
      20:41:59,042 INFO [SchemaExport] exporting generated schema to database
      20:41:59,043 INFO [NamingHelper] JNDI InitialContext properties:{}
      20:41:59,045 INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
      20:41:59,493 INFO [SchemaExport] schema export complete
      20:41:59,494 INFO [SessionFactoryBinder] Creating database content
      20:41:59,784 INFO [TomcatDeployer] deploy, ctxPath=/portal-forums, warUrl=file:/root/portal/jboss-4.0.2/server/default/deploy/portal-forums.ear/portal-forums.war/
      20:42:00,274 INFO [PortalServer] Added application /portal-forums
      20:42:05,117 INFO [EARDeployer] Started J2EE application: file:/root/portal/jboss-4.0.2/server/default/deploy/portal-forums.ear/
      20:42:05,882 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      20:42:06,083 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      20:42:06,229 INFO [JkMain] Jk running ID=0 time=0/201 config=null
      20:42:07,044 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 2m:37s:584ms
      20:42:13,802 INFO [STDOUT] Initializing web-app from stream with InputStream.
      20:42:17,396 INFO [STDOUT] WURFL has been initialized
      20:43:31,345 WARN [PARSER] *** WARNING: Keyword 'order' is being intepreted as an identifier due to: expecting IDENT, found 'order'
      20:43:31,441 WARN [PARSER] *** WARNING: Keyword 'order' is being intepreted as an identifier due to: expecting IDENT, found 'order'
      20:44:42,706 ERROR [JBossPortlet] Cannot create user eperry
      org.jboss.portal.core.modules.ModuleException: No such role Users
      at org.jboss.portal.core.impl.role.RoleModuleImpl.findRoleByName(RoleModuleImpl.java:61)
      at org.jboss.portal.core.portlet.user.UserPortlet.userRegister(UserPortlet.java:544)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:140)
      at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:96)
      at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:342)
      at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeAction(DispatcherInterceptor.java:110)
      at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:191)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94)
      at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49)
      at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:98)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
      at org.jboss.portal.server.Component.invoke(Component.java:130)
      at org.jboss.portal.server.invocation.portal.TargetInterceptor.invokeWindow(TargetInterceptor.java:167)
      at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:67)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:92)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
      at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
      at org.jboss.portal.server.PortalServer.invoke(PortalServer.java:186)
      at org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:78)
      at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71)
      at org.jboss.portal.server.servlet.AbstractMainServlet.doPost(AbstractMainServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.portal.core.servlet.TransactionFilter$1.run(TransactionFilter.java:79)
      at org.jboss.portal.common.transaction.Transactions.requiresNew(Transactions.java:149)
      at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)
      20:44:54,216 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      at java.util.Arrays.mergeSort(Arrays.java:1152)
      at java.util.Arrays.sort(Arrays.java:1079)
      at org.apache.catalina.realm.GenericPrincipal.(GenericPrincipal.java:77)
      at org.jboss.web.tomcat.security.JBossGenericPrincipal.(JBossGenericPrincipal.java:56)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.getCachingPrincpal(JBossSecurityMgrRealm.java:379)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:244)
      at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:256)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:391)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)
      20:45:04,013 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      at java.util.Arrays.mergeSort(Arrays.java:1152)
      at java.util.Arrays.sort(Arrays.java:1079)
      at org.apache.catalina.realm.GenericPrincipal.(GenericPrincipal.java:77)
      at org.jboss.web.tomcat.security.JBossGenericPrincipal.(JBossGenericPrincipal.java:56)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.getCachingPrincpal(JBossSecurityMgrRealm.java:379)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:244)
      at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:256)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:391)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)
      20:47:49,749 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      20:48:29,415 ERROR [PortalJsp] No such resource key in resource file: REGISTER_YOURAVATAR
      20:48:29,417 ERROR [PortalJsp] No such resource key in resource file: REGISTER_MESSAGEORDER
      20:49:23,003 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      20:50:23,302 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.NullPointerException