[JBoss Portal] - Re: Handling Portal/Portlet Preferences
by explorer
Thanks for the reply guys.
I had started using a real DB (Oracle) Thats in the project environment.
Well, i was trying to work around applying a theme and style to my portal.
But from the -Object.xml i was getting this error.
| org.jboss.deployment.DeploymentException: namespace BGPortal Context already exists; - nested throwable: (org.jboss.portal.core.model.portal.Dupli
| catePortalObjectException: namespace already exists)
| at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:101)
| at org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
| at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.start(PortalDeploymentInfoContext.java:211)
|
The BGPortal-object.xml is as below. Here in this, what ever i make changes to the context name... same error is thrown with the changed name.
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE deployments PUBLIC
| "-//JBoss Portal//DTD Portal Object 2.6//EN"
| "http://www.jboss.org/portal/dtd/portal_object_2_6.dtd">
|
| <deployments>
| <deployment>
| <parent-ref/>
| <if-exists>overwrite</if-exists>
| <context>
| <context-name>BGPortal Context</context-name>
| <properties>
| <property>
| <name>layout.id</name>
| <value>2ColumnLayout</value>
| </property>
| <property>
| <name>theme.id</name>
| <value>simple-sample</value>
| </property>
| </properties>
| </context>
| </deployment>
| <deployment>
| <parent-ref/>
| <if-exists>overwrite</if-exists>
| <portal>
| <portal-name>BGPortal</portal-name>
| <page>
| <page-name>default</page-name>
| <window>
| <window-name>ARPWindow</window-name>
| <instance-ref>ARPInstance</instance-ref>
| <region>left</region>
| <height>0</height>
| </window>
| </page>
| </portal>
| </deployment>
| </deployments>
|
The corresponding, theme and layout are properly defined.
The layout.jsp i am using is as below.
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| <%@ taglib uri="/WEB-INF/theme-basic-lib.tld" prefix="basic" %>
|
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>
| <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
| <body>
| <!-- center table with columns -->
| <basic:forEachWindowInRegion region='left'>
| <table width="100%" bgcolor="#FFFFFF">
| <tr>
| <td class="leftColumn">
| This should appear to the left. - from basic tag
| </td>
| </tr>
| </table>
| </basic:forEachWindowInRegion>
| </body>
| </html>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065056#4065056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065056
18Â years, 11Â months
[Installation, Configuration & DEPLOYMENT] - Class loader isolation broken in 4.2.0GA
by apill
I have an application (ear) that was running on 4.0.5 and contained a jboss-app.xml in the ear's META-INF directory. This worked perfectly alongside our other application.
<jboss-app>
| <loader-repository>dot.com:loader=imhist-server-deploy</loader-repository>
| </jboss-app>
I have tried to migrate this application to 4.2.0GA and when the server boots it gives the following warning
14:56:21,803 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: dot.com:loader=imhist-server-deploy, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: null, repositoryConfig: null)
|
Looking in the 4.2.0 jmx console there is no longer an entry for the dot.com loader named imhist-server-deploy as appeared in 4.0.5.
Now when I deploy our other application it fails to deploy due to the class isolation not working.
Is this a 4.2.0GA bug or has there been a change in configuration?
Any help would be greatly appreciated
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065054#4065054
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065054
18Â years, 11Â months