[jboss-user] [JBoss Portal] - Re: debian package?

2009-06-08 Thread PMN
I like to use debian packages because it comes with robust and proven installation tools. I could make one but I wonder if this had already been done. Furthermore it may happen that people like to share their experience with jboss on debian (ports conflicting with other apps? other things? )

[jboss-user] [JBoss Portal] - debian package?

2009-06-07 Thread PMN
I am looking for a reference to a debian package of jboss-portal, any clue? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4235831#4235831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235831

[jboss-user] [JBoss Portal] - is 2.7.1 backward compatible with 2.6.7 ?

2009-02-18 Thread PMN
xml descriptors? api ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211156#4211156 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211156 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: How to get the same portlet security context in servlet

2008-12-28 Thread PMN
| import org.jboss.portal.cms.impl.interceptors.ACLInterceptor; | ... | // turn off CMS ACL control | ACLInterceptor.turnOff(); | Hope this helps! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4198656#4198656 Reply to the post :

[jboss-user] [JBoss Portal] - Re: How to get the same portlet security context in servlet

2008-12-28 Thread PMN
Also you need to turn off the CMS Publish/Approval Workflow feature The CMS Publish/Approval Workflow feature can be deactivated by commenting out the ApprovePublishWorkflow attribute of the portal:service=CMS mbean in portal-cms.sar/META-INF/jboss-service.xml: !-- Comment this out to

[jboss-user] [JBoss Portal] - Re: Anybody know the schedule for 2.7.0?

2008-07-09 Thread PMN
me too... At some point it was announced for July. jsr 286 is a significant step and I am thinking postponing until the team has a consolidated release. It does not look like they are staffed enough but I might be wrong. View the original post :

[jboss-user] [JBoss Portal] - Re: 2.6.4 bundle : resp.signOut() raise an exception

2008-05-10 Thread PMN
I understand that is what it is supposed to do. It works if I redirect to the default portal (or url) and crashes if I do not specify an URL. It's a bug. The dashboardNav is doing it differently, is there a public signout url factory? View the original post :

[jboss-user] [JBoss Portal] - Re: Need a portlet that display

2008-05-07 Thread PMN
In your jsp layout you can use the following : | div id='dashboardnav' | p:region regionName='dashboardnav' regionID='dashboardnav'/ | /div | But this generates an html/ javascript error. In addition, this is undocumented. It it adds a few things related to the dashboard thing. A

[jboss-user] [JBoss Portal] - 2.6.4 bundle : resp.signOut() raise an exception

2008-05-05 Thread PMN
Version used : 2.6.4 bundle resp.signOut(); resp is a JBossActionResponse Question : How to sign out then? | exception | | javax.servlet.ServletException: java.lang.IllegalArgumentException | org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276) |

[jboss-user] [JBoss Portal] - Re: How to get a portlet's instance name from the portlet cl

2008-04-02 Thread PMN
An alternative to get portlet instance data is to put them into the portlet-instances.xml preferences. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140977#4140977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140977

[jboss-user] [JBoss Portal] - Re: Issue with doView() in case of multiple portlets

2008-04-01 Thread PMN
I believe that you let your portlets to choose what layout to use to render the final page with content of all pieces. JBP team claimed it is possible but never told how to ... It looks like 2.7, based on JSR 286, will fix most issues. In the meantime, you could perhaps rethink your work and

[jboss-user] [JBoss Portal] - Re: Wrong tx on thread in UserModule

2008-03-31 Thread PMN
I mean that UserTransaction is a subset of the TransactionManager and is not suitable in all environments, I think. That maybe teh cause of teh roblem but I am not an expert on the topic... Try to use directly the TransactionManager. Hope this helps ... View the original post :

[jboss-user] [JBoss Portal] - Re: Wrong tx on thread in UserModule

2008-03-31 Thread PMN
The AS must be running TransactionManager tm= (TransactionManager) new InitialContext().lookup(java:/TransactionManager); In 2.6.4 sources there is a test portlet that get the current transaction like this. (I never tried it) private Transaction getCurrentTransaction() |{ |

[jboss-user] [JBoss Portal] - Re: Performance with large CMS repository / cache preloading

2008-03-31 Thread PMN
Could you tell how to turn it off please? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140305#4140305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140305 ___

[jboss-user] [JBoss Portal] - Re: Wrong tx on thread in UserModule

2008-03-30 Thread PMN
I use Transaction Manager obtained with the jndi name java:/TransactionManager View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139950#4139950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139950

[jboss-user] [JBoss Portal] - HSQL database is not shutdown properly

2008-03-27 Thread PMN
The command shutdown -S does not shutdown properly jbp 2.6.4 portal database. There is a .lck file and a .log file. Easy to reproduce : start from fresh bundle, run, then shutdown -S when finished. The .log file is run on the next start but a proper shutdown should execute the HSQL SHUTDOWN

[jboss-user] [JBoss Portal] - Re: JBoss Portal basic question

2008-03-26 Thread PMN
I already did for 2.6.3 and has been discussed. It is still a bug in 2.6.4. The workaround is to remove it as I don't use it. There is another bug in 2.6.4 that pollutes all my html pages. It comes from core\src\resources\portal-core-war\WEB-INF\jsp\header\header.jsp //we don't need the

[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)

2008-03-26 Thread PMN
If you access an hibernate object outside the scope of the hibernate session where it has been loaded or saved, then before accessing a lazy property you have to open a new session and reattach the object to the new session. Check the hibernate session interface to do that - I believe it's

[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)

2008-03-26 Thread PMN
I am not an expert of JSP 186 but I would rather commit the transaction in processAction to let changes seen by other portlets that may use another session. An alternative to share an object outside the current session, why don't you reload it in the doView() ? Using a second level cache has

[jboss-user] [JBoss Portal] - Re: JBOSS User API?

2008-03-26 Thread PMN
In my case the master copy of users will never be managed by jbp, so as long as users are kept in jbp database it's just another copy to synchronize with the master copy. Thanks for the advice to never do this but using yet another api means rewriting a tool that works already for years and

[jboss-user] [JBoss Portal] - Re: JBOSS User API?

2008-03-26 Thread PMN
I manage two types of environments (LDAP that take cares of distribution) and a MASTER/SLAVE copy that relies on file distribution and database conversion. It is a deployment choice based on proven tools. I understand that JBP offers custom modules but for me it is irrelevant : direct access to

[jboss-user] [JBoss Portal] - Re: JBoss Portal basic question

2008-03-25 Thread PMN
wasn't WSRP designed for that purpose? to remotely run portlet from another portal? WSRP log many errors when started in 2.6.4 (bundle) I had to remove it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138681#4138681 Reply to the post :

[jboss-user] [JBoss Portal] - 2.6.4 error in genrated javascript

2008-03-21 Thread PMN
For some reason, jbp 2.6.4 generates these lines script type=text/javascript |//we don't need the iframe/modal if logged in |document.getElementById('loginIframe').src = ''; | /script These lines creates an error in the page detected by Firebug document.getElementById(loginIframe)

[jboss-user] [JBoss Portal] - custom window-state and layout

2008-03-20 Thread PMN
Does JBP 2.6.4 support custom window state ? and if so, is it possible to associate a layout to a custom window state, like this ? EvosCalendar /layouts/EvosCalendar/index.jsp /layouts/EvosHalfPage/index.jsp View the original post

[jboss-user] [JBoss Portal] - Re: custom window-state and layout

2008-03-20 Thread PMN
sorry like this | layout | nameEvosCalendar/name | uri/layouts/EvosCalendar/index.jsp/uri | uri state=maximized/layouts/EvosMaximized/index.jsp/uri | regions | region name=rg0/ | region name=rgb/ | /regions | /layout |

[jboss-user] [JBoss Portal] - Re: custom window-state and layout

2008-03-20 Thread PMN
humm, I meant uri state=half-page/layouts/EvosHalfPage/index.jsp/uri layout | nameEvosCalendar/name | uri/layouts/EvosCalendar/index.jsp/uri | uri state=half-page/layouts/EvosHalfPage/index.jsp/uri | regions | region name=rg0/ | region

[jboss-user] [JBoss Portal] - Re: content rendering in minimize mode

2008-03-20 Thread PMN
I understand that rendering a minimized mode is somewhat a matter of taste. I also understand that I could add a custom portlet mode. My choice would have to render the content if the fragment had be generated, and as a refinement the suggested optimization. Is it possible to define custom

[jboss-user] [JBoss Portal] - content rendering in minimize mode

2008-03-19 Thread PMN
For some reason I understood that it should be possible to write content in Minimized mode, especially to render a minimized mode such as a project meteo. I am using 2.6.3, the processDispatch() method is called in minimized mode but the content is not rendered - only teh decoration is Is

[jboss-user] [JBoss Portal] - Re: PermGen Space

2008-03-19 Thread PMN
The problem appears due to hibernate consuming a lot of perm gen! It should be in a wiki, release note, documentation - or even set by default - but it is not :-( To fix MaxPermSize : in jboss server, customize the run.bat file set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1274m

[jboss-user] [JBoss Portal] - what version supports ServeResource or serverResource ?

2008-03-19 Thread PMN
I made a search in 2.6.4 released sources and it could'nt find it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137916#4137916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137916

[jboss-user] [JBoss Portal] - Re: tab issue

2008-03-17 Thread PMN
There is not yet a clear distinction between portal and adds on. In my opinion you should not rely on these adds on, the team does not respond so the question is : is it stable? will it remain? The current solution is to rewrite your own. View the original post :

[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns

2008-03-06 Thread PMN
Yes there is: use the YUI 2.5 kit, use their layout manager or their grid (grid.css) - redefine your own layout to fit your needs. The YUI kit is very well documented and they are fast at answering questions on user forum, even naïve questions, it's very nice. Now, if your needs are simple

[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns

2008-03-05 Thread PMN
There is no point to search for documentation on that particular topic as there is no concept of layout in jboss portal. The team is trying to hide the fact and would not answer in a genuine way, when they do and as they should, they just don't get it. They are either simplistic about it or

[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns

2008-03-05 Thread PMN
It's working great but it's just a name on something not a concept, it's flaky. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134417#4134417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134417

[jboss-user] [JBoss Portal] - response.createActionURL(node).toString() problem (bug?)

2008-02-28 Thread PMN
In EDIT mode of a portlet, I use response.createActionURL(node).toString() in a javascript to submit change made by the user. The URL get encoded with ?action=2 . The problem is my processEdit() code is never called, neither is processView(). If I replace action=2 by action=1 then it works

[jboss-user] [JBoss Portal] - Differences between PortletURL and PortalNodeURL?

2008-02-28 Thread PMN
They both supports render and action urls - can you explain differences between the two and when to use one or the other - what's the feature behind each of them? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132931#4132931 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Differences between PortletURL and PortalNodeURL?

2008-02-28 Thread PMN
The code is unreadable, easier to try ... PortletURL createActionURL() ... Window?action=1 with PortletMode set to EDIT ... Window?action=5mode=edit with PortletMode set to VIEW ... Window?action=5mode=edit with WindowState set to MAXIMIZED ...

[jboss-user] [JBoss Portal] - Re: How can I to include JavaScript files in Portlets to JBo

2008-02-28 Thread PMN
In that case, where you do not want to control the layout of the page, the only choice left is to use an ajax dev kit that allow to dynamically load resourcces and dependencies for you (scripts and css) - I recommend you the YUI dev kit : 2.5 is perfect for that. View the original post :

[jboss-user] [JBoss Portal] - Re: Deployment of portlets - custom descriptors

2008-02-23 Thread PMN
The documentation does not tell what descriptors are optional and what descriptors are mandatory? Descriptors is a solution to automating the deployment, the problem is that these are read and written to the database at every start of the server. If descriptors are not mandatory then it could

[jboss-user] [JBoss Portal] - Re: How can I to include JavaScript files in Portlets to JBo

2008-02-22 Thread PMN
You can write into the content any well formed html and thus javascript stuff. You can define your own layout, usually a jsp file - again html stuff. You can inject html into teh header-content tag in the jboss-portlet.xml file View the original post :

[jboss-user] [JBoss Portal] - Re: Themes - Region interceptor override

2008-01-25 Thread PMN
This is only my opinion and I hope the portal team provides you with the specific response you are expecting. You are pointing at the weakness of the theme/layout architecture in 2.6, there is layout architecture is not honorable enough to support sufficient flexibility. YUI team is working

[jboss-user] [JBoss Portal] - Re: Any reason why WSRP fails to start with 2.6.3 ?

2008-01-04 Thread PMN
Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116942#4116942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116942 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Portal] - Any reason why WSRP fails to start with 2.6.3 ?

2008-01-03 Thread PMN
] Could not start deployment: file:/C:/pmn/pmn-deploy/jboss-portal-2.6.3.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/ | java.lang.NullPointerException | at org.jboss.wsf.stack.jbws.WSDLFilePublisher.getPublishLocation(WSDLFilePublisher.java:303

[jboss-user] [JBoss Portal] - Re: Any reason why WSRP fails to start with 2.6.3 ?

2008-01-03 Thread PMN
This answers both questions: 1) version 2.6.3 bundle (thus you know AS version) 2) No modifications of the jmx port | JBoss Bootstrap Environment | | JBOSS_HOME: C:\pmn\pmn-deploy\jboss-portal-2.6.3.GA | | JAVA: C:\Dev\Java\jdk1.5.0_11\bin\java | | JAVA_OPTS: -Xdebug

[jboss-user] [JBoss Portal] - Ajax Url

2007-12-16 Thread PMN
The ajax feature is not addressing much of it but anyway, the question is how to get an URL that is not pointing at a window or page but at the server itself, allowing to build a servlet url to whatever context is needed. The only way I found is to compute it { | PortalNodeURL url =

[jboss-user] [JBoss Portal] - Re: IPC betweens Portlets in two war Files

2007-11-12 Thread PMN
I have 3000 and more portlet instances, it takes 45 mn to start the server in one war file, so I split it up artificially. In a war file I cannot declare a portlet instance that refers to (portlet-ref) a portlet in another war file. I believe I could do that programmatically but not with

[jboss-user] [JBoss Portal] - DecorationRendererContext.getProperties()

2007-11-09 Thread PMN
In the DecorationRendererContext the getProperties() method does not seem to return all preferences set in the portlet-instances.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103177#4103177 Reply to the post :

[jboss-user] [JBoss Portal] - Re: IPC betweens Portlets in two war Files

2007-11-09 Thread PMN
Just a question though. How in a deployment package (war file) can you refer to an object or instance defined in another package ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103233#4103233 Reply to the post :

[jboss-user] [JBoss Portal] - Re: IPC betweens Portlets in two war Files

2007-11-09 Thread PMN
The original question was about IPC between portlets in different applications. You have answered YES and I don't see how two portlets in different virtual portal can exchange events by the exposed mechanism which by the way I am using in my own application without problems. Reading your

[jboss-user] [JBoss Portal] - Re: IPC betweens Portlets in two war Files

2007-11-09 Thread PMN
Thanks for the response. For some reason I had in mind the context of one page and I did not see how to have two windows from different packages on the same page (perhaps you have an answer for that too). View the original post :

[jboss-user] [JBoss Portal] - instance of class JBossPortlet and portlet instance

2007-11-02 Thread PMN
WITHIN a virtual portal there is ONE instance of java class JBossPortlet PER Portlet and NOT PER Dportlet instance. Could you confirm? portlet meaning DEFINED in portlet.xml , true ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101301#4101301 Reply to the

[jboss-user] [JBoss Portal] - should window-name be unique ?

2007-11-01 Thread PMN
I used names unique in the context of the page and it seems that I am not getting the expected instance (instances have globally unique names) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100919#4100919 Reply to the post :

[jboss-user] [JBoss Portal] - sharing a portlet between two or more virtual portals?

2007-10-31 Thread PMN
I understand there is no point to share an instance between two portals but a portlet should be possible to share. Portlets are currently known by their portlet-ref in the portlet-instances.xml file and they are put into the database by prefixing it with the context root /xxx.myPortletRef or

[jboss-user] [JBoss Portal] - Stepping into portlet code returning content BUT page is EMP

2007-10-30 Thread PMN
I am having a weird behaviour where I am correctly stepping into my portlet code writing html fragment. The point is the resulting page is empty (view source page is empty). The fact is that I have changed the organisation of pages and windows and this weird behavior is probably a mistake I

[jboss-user] [JBoss Portal] - Re: Stepping into portlet code returning content BUT page is

2007-10-30 Thread PMN
Found and fixed.: The URI in my layouts.xml file were wrong. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100325#4100325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100325

[jboss-user] [JBoss Portal] - Re: problem appearing with 2.6.2 but not with 2..6.1

2007-10-22 Thread PMN
IIn both cases I run the bundle provided from download site with jdk 1.5.0.11 and Postgresql 8.2. I have to modify jbossjta-properties.xml to set the transaction timeout greater than default to prevent the portal to timeout when registering my 1700 or more portlet instances. I am just

[jboss-user] [JBoss Portal] - Re: problem appearing with 2.6.2 but not with 2..6.1

2007-10-22 Thread PMN
It was my mistake, I was running 2.6.2 with a database initialized by 2.6.1. Starting over wit ha new fresh one works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097438#4097438 Reply to the post :

[jboss-user] [JBoss Portal] - 2.6.1 Bug in CreateActionURL ?

2007-10-04 Thread PMN
I have a portlet in EDIT mode that builds an URL using response.createActionURL(request.getPortalNode()); The URL is /portal/auth/portal/evos/default/TaskWindow?action=2 When submitting a form with this URL the portlet does not call processEdit() To call processEdit() the URL should be with

[jboss-user] [JBoss Portal] - commands to change regions

2007-07-30 Thread PMN
In 2.6 there are commands (actions) that can be used to change region. The point is that it is not documented so it is hard to tell if this is going to stay or move out in a later release. Changing region and position for a window is a nice feature. What is the status on this? thanks View the

[jboss-user] [JBoss Portal] - default window state of a given portlet

2007-07-29 Thread PMN
JBoss Portal is defaulting the window state to normal. So if you have 20 portlets they all be displaid by default. How to define a layout strategy and what is the correct or preferable approach to it) could be a rephrase of the question. A simple and first approach to it could be to define a

[jboss-user] [JBoss Portal] - numbering of portlet instances in management portlet uses ne

2007-07-08 Thread PMN
small issue with management portlet, portlet instances tab the numbering uses negative number, it goes 0,20,40,60,80,100,120,-116,-96,-76,-56,36,-16,4,24 etc... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061731#4061731 Reply to the post :

[jboss-user] [JBoss Portal] - 11 columns have 100 000 000 bytes length ??? 2 have 50 000 0

2007-02-28 Thread PMN
There are quite a few column in the data model that are either 50 000 000 bytes long or 100 000 000 bytes long. Could you explain what data are put in those columns, what trade off is behind for org.jboss.portal.core.impl.model.instance.InstanceImpl? When this column is used? at start time?

[jboss-user] [JBoss Portal] - Out of memory error

2007-01-31 Thread PMN
I have a java.lang.NoClassDefFoundError: org/jboss/portal/core/portlet/catalog/NavigationPortlet$1 while it seems that the root cause is a OutOfMemoryError. I am not familiar with jboss AS, any clue? | 2007-02-01 07:38:55,375 DEBUG [org.hibernate.loader.Loader] done loading collection

[jboss-user] [JBoss Portal] - workaround to deploy many objects

2007-01-28 Thread PMN
It seems to be a bug with many objects (pages and windows) in a deployment file, the problem arises when approaching 1000. It is also difficult to be sure that there is no mistake in a large descriptor file, especially with this type of descriptors referencing potentially pre-existing objects

[jboss-user] [JBoss Portal] - Re: problem when deploying many pages TRACE OF ERRORS

2007-01-26 Thread PMN
[???] | org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pmn/51, BranchQual=, localId=51]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pmn/51, BranchQual