2 Replies Latest reply on Oct 10, 2005 9:59 AM by mjparme

    NullPointerException when trying to deply JBoss Portal

    mjparme

      Working with this most of the afternoon and am pretty frustrated right now (probably just head home, drink some beer, and tackle it again Monday).

      Anyway, I am trying to install JBoss Portal 2.0.0-FINAL from binaries to JBoss 4.0.3 and am getting a NullPointerException during the deploy process:

      17:06:48,410 INFO [LayoutDeployment] found default strategy ...^M
      17:06:48,441 INFO [LayoutDeployment] found: org.jboss.portal.core.theme.strateg
      y.impl.DefaultStrategyImpl^M
      17:06:48,441 INFO [LayoutDeployment] done creating new layout(s), found in : p
      ortal^M
      17:06:48,441 INFO [ThemeDeployment] create new theme(s), found in : portal^M
      17:06:48,457 INFO [ThemeDeployment] done creating new theme(s), found in : por
      tal^M
      17:06:49,176 INFO [PortalServer] Added application /portal-core^M
      17:06:49,519 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/^M
      17:06:49,597 ERROR [[/jmx-console]] StandardWrapper.Throwable^M
      java.lang.NullPointerException^M
      at org.jboss.web.tomcat.security.RunAsListener.instanceEvent(RunAsListen
      er.java:53)^M
      at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSu
      pport.java:239)^M
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.

      At first I thought it was a DB problem but all of that seems to be working fine. I am using Informix (not on the list of tested DB's) and all the tables are being created just fine on my DB server. I am using the InformixDialect for the hibernate config and successfully created a Informix datasource. Here is the DB info if that is helpful:

      17:06:44,347 INFO [SettingsFactory] RDBMS: Informix Dynamic Server, version: 9.
      30.UC7X9^M
      17:06:44,347 INFO [SettingsFactory] JDBC driver: IBM Informix JDBC Driver for I
      BM Informix Dynamic Server, version: 2.21.JC5^M
      17:06:44,394 INFO [Dialect] Using dialect: org.hibernate.dialect.InformixDialec
      t^M

      As seen in the exception above it adds /portal-core and then gets the NPE on the jmx-console.

      I am at a lost as to even do next. The exception isn't giving me a lot of information as to why it is occuring. I explored the possibility of it being a DB issue but all that appears fine.

      Any suggestions/help/ideas would be appreciated.

      Let me know if more info is needed.