[jboss-user] [JBoss Portal] - Error deploying JBoss Portal 2.4.1 on JBossAs 4.0.4.GA

huff do-not-reply at jboss.com
Mon Jan 15 17:45:34 EST 2007


-JBoss Portal Version -> JBoss Portal 2.4.1
-Did you get Portal from CVS? or download it -> downloaded binary version
-JBoss AS Version -> 4.0.4.GA
-Database Vendor and Version -> mysql  Ver 14.12 Distrib 5.0.17c, for redhat-linux-gnu (x86_64) using readline 5.0
-JDBC Connector and Version ->  mysql-connector-java-5.0.3-bin.jar
-OS Platform -> Red Hat Enterprise Linux AS release 4 (Nahant Update 4) 2.6.9-42.0.3.EL x86_64

Im trying to deploy jboss portal on JBossAs 4.0.4.GA.  I think I have every thing set up correctly and my datasource is deployed however it fails deplying the portal, from console log:

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=Hibernate,type=PortalObject
  State: FAILED
  Reason: org.hibernate.MappingException: invalid configuration
  I Depend On:
    jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
    portal:container=PortalObject

ObjectName: portal:service=CMS
  State: FAILED
  Reason: org.jboss.util.NestedRuntimeException: - nested throwable: (java.l
ang.NullPointerException)
  I Depend On:
    jboss.jca:service=DataSourceBinding,name=PortalDS
    portal:service=JAASLoginModule
    portal:service=Hibernate,type=CMS
  Depends On Me:
    portal:commandFactory=CMSObject
    cms.pm.cache:service=TreeCache



-further up the log I get these errors which I think to be the cause of the problem:

21:41:45,389 ERROR [JDBCExceptionReporter] Data truncation: Data too long fo
r column 'MODIFIABLE' at row 1
21:41:45,393 ERROR [PortletAppDeployment] Error when creating instances
org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.p
ortal.core.impl.model.instance.InstanceImpl]
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificExcep
tion(SQLStateConverter.java:103)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConvert
er.java:91)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCException
Helper.java:43)
        at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(A
bstractReturningDelegate.java:40)
....
...
..
.


any ideas?

Thanks,
David


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001992#4001992

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001992



More information about the jboss-user mailing list