[
http://jira.jboss.com/jira/browse/JBPORTAL-938?page=all ]
Roy Russo resolved JBPORTAL-938.
--------------------------------
Fix Version/s: 2.4 Final
(was: 2.6 Final)
Resolution: Done
Use the JEMS isntaller for ejb3 installation, as per the new docs:
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/installation....
"Default Context deos not exist" on MySQL5 deploy of
2.4.0.CR1
--------------------------------------------------------------
Key: JBPORTAL-938
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-938
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: Fedora Core 5, JBoss 4.0.4.GA, JBoss Portal 2.4.0.CR1
Reporter: Philipp Taprogge
Assigned To: Roy Russo
Fix For: 2.4 Final
When deploying JBoss Portal 2.4.0.CR1 on JBoss 4.0.4.GA and MySql 5.0.22 with the MySQL
datasource, I find no errors in the server output.
I have appended the "jdbcCompliantTruncations=false" parameter to my connection
URL. Deployment seems fine, but upon accessing the portal context, JBoss throws this:
java.lang.IllegalStateException: Default context does not exist
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:71)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
$Proxy54.doMapping(Unknown Source)
org.jboss.portal.core.CoreController.handle(CoreController.java:124)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
$Proxy271.handle(Unknown Source)
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:161)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:270)
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira