JBoss Portal Installation Problems
danial79 Jan 19, 2006 12:05 AMEnvironment -
Windows XP SP1
Java Version 1.5.0_06
JBoss version -
JBoss - 4.0.3SP1
JBoss Forums - 2.0.1RC1
JBoss Portal version - Binaries
JBoss Portal - 2.0.1RC1
Database used with version number -
MySQL Server 4.1
JDBC connector -
mysql-connector-java-3.1.12
Problems
I got the HTTP Status 500 error when running the portal on http://localhost:8080/portal and I got the HTTP Status 404 - /web-console/ error when running the webconsole on http://localhost:8080/web-console/. And on the trace log, it stated that hibernate was failed to register.
The exception was..
java.lang.IllegalStateException: Cannot get portal server
org.jboss.portal.server.servlet.AbstractMainServlet.getContainer(AbstractMainServlet.java:54)
org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:67)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Trace Log
org.jboss.deployment.DeploymentInfo@69384203 { url=file:/C:/JBoss/server/default
/deploy/jboss-portal.sar/ }
deployer: org.jboss.deployment.SARDeployer@18941f7
status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.Undec
laredThrowableException)
state: FAILED
watch: file:/C:/JBoss/server/default/deploy/jboss-portal.sar/META-INF/jboss-se
rvice.xml
altDD: null
lastDeployed: 1137695699046
lastModified: 1136504338843
mbeans:
org.jboss.deployment.DeploymentInfo@c665f830 { url=file:/C:/JBoss/server/default
/deploy/portal-mysql-ds.xml }
deployer: org.jboss.deployment.XSLSubDeployer@1702c48
status: Deployment FAILED reason: create operation failed for package file:/C:
/JBoss/server/default/deploy/portal-mysql-ds.xml; - nested throwable: (javax.man
agement.InstanceNotFoundException: portal:service=Hibernate is not registered.)
state: FAILED
watch: file:/C:/JBoss/server/default/deploy/portal-mysql-ds.xml
altDD: null
lastDeployed: 1137695718765
lastModified: 1137695718750
mbeans:
jboss.jca:service=LocalTxCM,name=PortalDS (state not available)
jboss.jca:service=ManagedConnectionPool,name=PortalDS (state not available)
jboss.jca:service=ManagedConnectionFactory,name=PortalDS (state not availabl
e)
jboss.jca:service=DataSourceBinding,name=PortalDS (state not available)
jboss.jca:service=NoTxCM,name=NoTxPortalDS (state not available)
jboss.jca:service=ManagedConnectionPool,name=NoTxPortalDS (state not availab
le)
jboss.jca:service=ManagedConnectionFactory,name=NoTxPortalDS (state not avai
lable)
jboss.jca:service=DataSourceBinding,name=NoTxPortalDS (state not available)
org.jboss.deployment.DeploymentInfo@91d57e04 { url=file:/C:/JBoss/server/default
/deploy/portal-forums.ear/portal-forums.sar/ }
deployer: org.jboss.deployment.SARDeployer@18941f7
status: Deployment FAILED reason: No ClassLoaders found for: org.jboss.portal.
core.hibernate.SessionFactoryBinder; - nested throwable: (java.lang.ClassNotFoun
dException: No ClassLoaders found for: org.jboss.portal.core.hibernate.SessionFa
ctoryBinder)
state: FAILED
watch: file:/C:/JBoss/server/default/deploy/portal-forums.ear/portal-forums.sa
r/META-INF/jboss-service.xml
altDD: null
lastDeployed: 1137695719468
lastModified: 1136504355468
mbeans:
org.jboss.deployment.DeploymentInfo@91d74f80 { url=file:/C:/JBoss/server/default
/deploy/portal-forums.ear/portal-forums.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: null
state: INITIALIZED
watch: file:/C:/JBoss/server/default/deploy/portal-forums.ear/portal-forums.wa
r/WEB-INF/web.xml
altDD: null
lastDeployed: 1137695719546
lastModified: 1136504355328
mbeans:
org.jboss.deployment.DeploymentInfo@baf7dede { url=file:/C:/JBoss/server/default
/deploy/portal-forums.ear/ }
deployer: org.jboss.deployment.EARDeployer@18b8914
status: Deployment FAILED reason: No ClassLoaders found for: org.jboss.portal.
core.hibernate.SessionFactoryBinder; - nested throwable: (java.lang.ClassNotFoun
dException: No ClassLoaders found for: org.jboss.portal.core.hibernate.SessionFa
ctoryBinder)
state: FAILED
watch: file:/C:/JBoss/server/default/deploy/portal-forums.ear/META-INF/applica
tion.xml
altDD: null
lastDeployed: 1137695719546
lastModified: 1136504355468
mbeans:
I can't figure out what is the missing part in the installation by myself. Please help.
Thanks in advance.