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? )
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
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
| 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 :
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
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 :
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 :
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
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)
|
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
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
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 :
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()
|{
|
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
___
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
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
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
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
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
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
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
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 :
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)
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
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
|
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
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
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
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
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
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 :
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
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
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
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
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 :
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
...
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 :
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
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 :
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
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
] 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
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
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 =
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
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 :
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 :
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
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 :
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
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 :
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
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
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
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
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 :
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
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 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
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 :
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?
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
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
[???]
| 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
65 matches
Mail list logo