[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? ) 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4236128#4236128

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236128
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4198656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 deactivate publish/approval workflow integration
  |   depends optional-attribute-name=ApprovePublishWorkflow 
proxy-type=attributeportal:service=ApprovePublish,type=Workflow/depends
  |   --

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4198664#4198664

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4198664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4163409#4163409

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149882#4149882

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149882
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 similar thing is used for the navigation tabs.

You can write a portlet with no decoration (empty renderers) to produce the 
DIVs you need and use CSS styles to place it on the page. 

To write your own portlet you can start with examples.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149109#4149109

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149109
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | cause mère 
  | 
  | java.lang.IllegalArgumentException
  | 
org.jboss.portal.core.controller.command.response.SignOutResponse.init(SignOutResponse.java:45)
  | 
org.jboss.portal.core.controller.portlet.ControllerResponseFactory.createResponse(ControllerResponseFactory.java:124)
  | 
org.jboss.portal.core.controller.portlet.ControllerResponseFactory.createActionResponse(ControllerResponseFactory.java:87)
  | 
org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:177)
  | 
org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | 
org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
  | 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
  | 
org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
  | 
org.jboss.portal.core.controller.Controller.processCommand(Controller.java:235)
  | org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
  | 
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)
  | 
org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
  | 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
  | 

[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 centralize the layout 
decision into one portlet - process action part - and then redirect to the 
right page.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4140342#4140342

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140342
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4140097#4140097

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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()
  |{
  |   try
  |   {
  |  return 
TransactionManagerProvider.JBOSS_PROVIDER.getTransactionManager().getTransaction();
  |   }
  |   catch (Exception e)
  |   {
  |  return null;
  |   }
  |}

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4140294#4140294

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 command.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4139369#4139369

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 iframe/modal if logged in
   document.getElementById('loginIframe').src = '';


Here also, I reported it in another trhead. I will have to remove it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138900#4138900

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138900
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 update() ...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138987#4138987

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 almost the same 
caching feature. 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4139029#4139029

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139029
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 before jbp (jbp is 
not the central piece)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4139034#4139034

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 the database is the only alternative.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4139071#4139071

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139071
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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) has no properties

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138262#4138262

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138262
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137973#4137973

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137974#4137974

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 name=rgb/
  |   /regions
  | /layout
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137975#4137975

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 window state and to associate a layout to it 
like it is for the maximized window state?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138196#4138196

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 this a bug or a feature ? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137902#4137902

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137902
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 -XX:MaxPermSize=256m  
-Dcom.sun.management.jmxremote 


To fix it within eclipse, use 3.3.1 or above, and customize the eclipse.ini 
file to include something like that 

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx512m


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137915#4137915

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137008#4137008

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 then it will be nice and easy, if your needs is 
to control the layout of a page or a region in the portlet event loop then it 
is more difficult : undocumented, unexplained, almost unreadable and not 
answered yet. 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134579#4134579

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134579

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 deny it, classic ways 
to deny.

What you have instead is a page referring to a layout actually a jsp file, 
you should write your own and implement layouts but then there will be nothing 
to support it, changing layout, changing regions...  and will not work with 
renderer as renderers (decoration, portlet, region, layout)  lacks concept of 
layout. 

There is a PF ongoing work item, sit and pray... Things happen.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134390#4134390

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134390
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 fine ... Is that a bug? 

I believe it is - I am running 2.6.3

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132854#4132854

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132931
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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
  ... Window?action=dwindowstate=maximizedmode=view

PortalNodeURL createActionURL(node) 
  ... Window?action=2

Problem is action=2 does not trigger anything, so why does it exists?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132966#4132966

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132990#4132990

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 build a war to deploy/update and 
a war to run.  Could you tell what files are optional?

Thanks




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131612#4131612

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131612
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131558#4131558

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131558
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 on a version a layout  and I cross the portal team will get 
inspired - they missed their grid that was already much more advanced that 
what is in here.  Again it is only my words...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123700#4123700

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2008-01-03 Thread PMN
Any reason why WSRP fails to start with 2.6.3 ?


  | 2008-01-03 11:56:28,825 INFO  [org.jboss.web.tomcat.service.TomcatDeployer] 
deploy, ctxPath=/portal-wsrp, 
warUrl=.../deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
  | 2008-01-03 11:56:31,168 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:31,200 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:31,731 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:31,778 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:31,997 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:32,075 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:32,184 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:32,200 WARN  
[org.jboss.wsf.common.management.AbstractServerConfig] Unable to calculate 
'WebServicePort', using default '8080'
  | 2008-01-03 11:56:32,340 ERROR [org.jboss.deployment.MainDeployer] 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)
  | at 
org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:103)
  | at 
org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.create(PublishContractDeploymentAspect.java:52)
  | at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
  | at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
  | at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
  | 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 $Proxy195.start(Unknown Source)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | 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 $Proxy193.addDeployer(Unknown Source)
  | at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:500)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | 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

[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 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y  
-Dprogram.name=rund.bat -server -Xms512m -Xmx1274m -XX:MaxPermSize=256m  
-Dcom.sun.management.jmxremote  -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360
  | 
  |   CLASSPATH: 
C:\Dev\Java\jdk1.5.0_11\lib\tools.jar;C:\pmn\pmn-deploy\jboss-portal-2.6.3.GA\bin\run.jar
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116845#4116845

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 = response.createRenderURL(request.getPortalNode());
  | url.setRelative(false);
  | String portalURL= url.toString();
  | String context = request.getContextPath();
  | int contextPathIndex = portalURL.indexOf(context);
  | return portalURL.substring(0, contextPathIndex);
  | }

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113207#4113207

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113207
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 deployment package.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103621#4103621

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103177
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103233
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 words makes me 
feeling I am an idiot, I was just curious. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103336#4103336

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103389#4103389

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103389
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101301
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 .local/xxx.myPortletRef

The only reason I like to reference an external portlet is because I have to 
split my portal into smaller pieces otherwise the transaction time out when 
starting jboss - portlet-instances.xml is too large. So I created several 
smaller portals and I get polluted with multiple declarations of the same 
portlets.

*-objects.xml could be split into multiple files within the same portlet but 
unfortunately there is only one portlet-instances.xml and the transaction time 
out - changing the transaction time out value is not a viable solution.

It is a small issue but will it be taken into account one way or the other 
(external portlets or multiple instances.xml files)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100585#4100585

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 made.

I tried to follow the code but this interceptor thing is hard to follow, which 
class should I trace to get a chance to understand what is going on? 

I started with 2.6.2 bundled and a fresh database. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100308#4100308

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100308
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 thinking that the database schema is the same, I initialised it with 
2.6.1 (jportal, jbpm, jcrms). I'll give it a try on separate database as soon 
as I am finisged with debugging my stuff, for now one or the other is fine.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097415#4097415

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097438
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 action=1

Is this a bug? if so, is it fixed in 2.6.2 ?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091539#4091539

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068799#4068799

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 default value to portlet 
window state and mode. 

Another way to do address it would be to define an initial region and allow a 
portlet to dynamically change region. Is that possible with 2.6? (I couldn't 
find it in the documentation)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068553#4068553

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061731
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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? For example, if I have more than 1000 
instances does it mean that my database grow up to 50 GB just for that ? 

How much bytes (average) needs an instance in memory? 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023933#4023933

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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
  | 2007-02-01 07:38:57,500 ERROR 
[org.jboss.portal.core.command.ControllerCommand] Rendering portlet window 
default.default.NavigationPortletWindow triggered the following error :
  | java.lang.NoClassDefFoundError: 
org/jboss/portal/core/portlet/catalog/NavigationPortlet$1
  | at 
org.jboss.portal.core.portlet.catalog.NavigationPortlet.render(NavigationPortlet.java:129)
  | at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:366)
  | at 
org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:518)
  | at 
org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:434)
  | at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:144)
  | at 
org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:223)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:105)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N4020346540025535540.invokeNext(TransactionInterceptor$invokeRequired_N4020346540025535540.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N4020346540025535540.invokeNext(TransactionInterceptor$invokeRequired_N4020346540025535540.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:51)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:60)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:46)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:77)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:141)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:99)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 

[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 into the database 
and cross referencing instances and portlets. 

The -object.xml file is a series of records ... and the problem arises in 
both cases where there is one record with many objects in it or many records 
with few objects in it - here objects are page nodes or window nodes.

The workaround to this problem is to create several files xxx-object.xml

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4007463#4007463

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007463
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-01-26 Thread PMN
 connection
  | 2007-01-26 17:48:09,950 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
  | 2007-01-26 17:48:09,950 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
  | 2007-01-26 17:48:09,950 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
  | 2007-01-26 17:48:09,965 DEBUG [org.hibernate.util.JDBCExceptionReporter] 
Cannot open connection [???]
  | 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=, localId=51])
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:94)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:218)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2227)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2180)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2450)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:91)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
  | at 
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
  | at 
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1107)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.lookupNoCache(PersistentPortalObjectContainer.java:454)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.lookup(PersistentPortalObjectContainer.java:470)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.setConstraints(PersistentPortalObjectContainer.java:409)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.setBindings(PersistentPortalObjectContainer.java:348)
  | at 
org.jboss.portal.core.metadata.PortalObjectMetaData.configure(PortalObjectMetaData.java:167)
  | at 
org.jboss.portal.core.metadata.PageMetaData.create(PageMetaData.java:55)
  | at 
org.jboss.portal.core.metadata.PageMetaData.create(PageMetaData.java:61)
  | at 
org.jboss.portal.core.metadata.PageMetaData.create(PageMetaData.java:61)
  | at 
org.jboss.portal.core.metadata.PortalMetaData.create(PortalMetaData.java:113)
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.org$jboss$portal$core$deployment$jboss$ObjectDeployment$doStart$aop(ObjectDeployment.java:220)
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment$doStart_7390365741110132881.invokeNext(ObjectDeployment$doStart_7390365741110132881.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment$doStart_7390365741110132881.invokeNext(ObjectDeployment$doStart_7390365741110132881.java)
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.doStart(ObjectDeployment.java)
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:90)
  | at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:214)
  | at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:243)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method