[Installation, Configuration & Deployment] - Re: 4.0.5 to 4.2.0 upgrade and JBossTS
by djr667
I had several problems with XA, namely:
1. JDBC commit() calls failed with 'use XA commit instead' exceptions in Oracle 9i OCI drivers.
2. After clicking around in a few apps we would get (cannot remember the exact message) 'unable to reuse connection, transaction outstanding' on a pooled connection.
None of these problems occur in in 4.0.5 (or modified 4.2.0) when using local transactions. The code base is clean: we never get JBoss 'cleanup your connections' messages, bespoke commt()/rollback() are always called in 'finally' blocks and we use the plain JDBC API for things - plus much of this code has been running OK since JBoss 3.
After googling etc I came across a JBoss forum post that indicated that the JBossTS transaction service only supports one local-x datasource. Trying to confirm this has been difficult so I have assumed it is true and have disabled JBossTS.
Dave
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049588#4049588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049588
18 years, 10 months
[JBoss Portal] - Re: How to put two portlets horizontally(single row) in regi
by rharari
Hi Ritesh,
If I get your question, you are trying to configure something like this:
|
| +-----------------------+
| | Portlet 1 |
| +-----------------------+
| | Portlet 2 | Portlet 3 |
| +-----------------------+
|
|
Is that right?
So you have to create your own layout.
As a start point, consider analyzing the index.jsp under portal-core.war\layouts\3columns
| <div id="content-container">
| <table>
| <tr>
| <td valign="top">
| <p:region regionName='left' regionID='left'/>
| </td>
| <td valign="top">
| <p:region regionName='center' regionID='center'/>
| </td>
| <td valign="top">
| <p:region regionName='right' regionID='right'/>
| </td>
| <hr class="cleaner"/>
| </div>
|
The easy way is to duplicate all of this files (index and maximized) into another directory like: portal-core.war\layouts\myLayout
Then change the index.jsp to achieve your needs:
| <div id="content-container">
| <table>
| <tr>
| <td valign="top" colspan="2">
| <p:region regionName='center' regionID='center'/>
| </td>
| </tr>
| <tr>
| <td valign="top">
| <p:region regionName='left' regionID='left'/>
| </td>
| <td valign="top">
| <p:region regionName='right' regionID='right'/>
| </td>
| </tr>
| <hr class="cleaner"/>
| </div>
|
Almost finished.
Now edit this file \jboss-portal.sar\portal-core.war\WEB-INF\portal-layouts.xml and add a declaration for your new layout:
| ....
| <layout>
| <name>myLayout</name>
| <uri>/layouts/myLayout/index.jsp</uri>
| <uri state="maximized">/layouts/myLayout/maximized.jsp</uri>
| <regions>
| <region name="left"/>
| <region name="center"/>
| <region name="right"/>
| <region name="navigation"/>
| </regions>
| </layout>
| ....
|
Restart jboss and then you can use your new layout with your pages (it will be available in the Layout combobox at admin/management portlet -> theme )
regards,
R.Harari
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049587#4049587
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049587
18 years, 10 months