DeploymentException on Windows
------------------------------
Key: JBPORTAL-2239
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2239
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.7.0 Final
Reporter: Prabhat Jha
Assignee: Thomas Heute
Fix For: 2.7.1 Final
Viliam noticed this first when trying to automate selnium test on windows. I am to
reproduce on XP machine as well.
When deploying portal using "build.bat deploy-all" and accessing portal page in
browser gives:
java.lang.IllegalStateException: Context does not exist
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:75)
org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
Root cause is:
2008-11-11 09:37:04,125 ERROR [org.jboss.deployment.MainDeployer] Could not start
deployment:
jar:file:/C:/portal/jboss-4.2.3.GA/server/default/tmp/deploy/tmp5407jboss-portal.sar!/conf/data/default-object.xml
org.jboss.deployment.DeploymentException: Invalid byte 2 of 2-byte UTF-8 sequence.; -
nested throwable: (org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8
sequence.)
at
org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:103)
at
org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
at
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.start(PortalDeploymentInfoContext.java:220)
at
org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:217)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy212.deploy(Unknown Source)
at
org.jboss.portal.server.deployment.jboss.ServerDeployer.registerFactory(ServerDeployer.java:119)
at
org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.registerFactory(AbstractDeploymentFactory.java:113)
at org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.st
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira