-
1. Re: MySQL and Portal Hybernate error
roy.russo Aug 18, 2005 5:16 PM (in response to rgjawanda)What version of AS? 4.0.2 is supported only.
-
2. Re: MySQL and Portal Hybernate error
rgjawanda Aug 18, 2005 8:51 PM (in response to rgjawanda)Not sure. AS.
I downloaded the 2.0 binaries.
What comes with Jboss? or did I install that
How do i tell.
Thank you
Ron -
3. Re: MySQL and Portal Hybernate error
roy.russo Aug 22, 2005 12:14 PM (in response to rgjawanda)The binary you downloaded, was it the one bundled with JBoss AS? Or did you have a previous installation of AS on your box?
-
4. Re: MySQL and Portal Hybernate error
rgjawanda Aug 23, 2005 9:51 AM (in response to rgjawanda)It was the one bundled with jboss.
I then installed mysql (latest version) 4.1
Windows Platform win 2003 server (unfortunately)
Thanks -
5. Re: MySQL and Portal Hybernate error
rgjawanda Aug 24, 2005 9:55 PM (in response to rgjawanda)I tried all of this on Linux (mandrake 10.1) and I get the exact same problem.
I read completely the docs on setting up the database.
My MYSQL datasource gets configured properly.
2005-08-24 21:40:50,878 DEBUG [org.jboss.system.ServiceConfigurator] TypeMapping set to mySQL in jboss.jdbc:datasource=MySqlDS,service=metadata
Then my PortalDS
2005-08-24 21:40:34,580 DEBUG [org.jboss.cache.invalidation.InvalidationManager] Created jboss.cache:service=InvalidationManager
2005-08-24 21:40:34,581 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.cache:service=InvalidationManager dependents are: [ObjectName: portal:service=CMS
State: CONFIGURED
I Depend On:
jboss.cache:service=InvalidationManager
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal:service=Tree
]
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=Hibernate
State: FAILED
Reason: java.lang.NullPointerException
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal:service=Module,type=User
portal:service=Module,type=Role
portal:service=Module,type=Security
portal:service=ServerManager
I wish I could upload the file for you to look at.
There is a LOT of debug statements.
Not sure why it is in DEBUG mode.
I copied mysql-ds.xml to deploy directory
the jdbc drivers for mysql but funny I had to copy the aspect runtime to the server deploy directory as well because mysql gave an exception saying it couldn't locate the aspect class (I forget which one)
I copied portal-mysql-ds.xml to the deploy dir
I changed the user and password. My password is blank.
I can connect to mysql with -u root
(no password)
I can't figure this out.
I'm almost giving up.
NOTE: I got postgreSQL working so I know it isn't me.
Thanks
Ron -
6. Re: MySQL and Portal Hybernate error
sanshew Sep 1, 2005 2:11 AM (in response to rgjawanda)did you get this to work?? I am having the same problem.
-
7. Re: MySQL and Portal Hybernate error
danial79 Dec 2, 2005 3:17 AM (in response to rgjawanda)I also experiencing the exact problem?.. any clear / easy solution for installation of portal from binaries?