I am using jboss as 4.0.5 and jboss portal 2.4.2. I am trying to extend
UserPortlet with my own functionality. First I created new portlet with
existing sources such as UserPortlet.java, UserPortletConstants, all *.jsp from
oryginal UserPortlet. I copied all sections of UserPortlet from core
I am intrested about this topic too. I am using jboss portal in corporation and
now writing avery descriptors *.object manual are very slow. Second important
thing which I looking for is tool for debbuging portlets.
View the original post :
It is possible to secure files which I added to cms repository in jboss portal
2.4.2? Where can I define it? I can't view some images from some roles, and I
don't know where can I find it, and what can be the other reason. I am tryed to
solve this for dwo days, and I haven't got any results.
I put http://localhost:8080/portal/content/eim/images/noimage.gif when I not
logged in and if I logged as normal user, admin etc, and its ok,
but when i put the same url when I logged as user added to one of my own roles
it isn't accessible.
View the original post :
I'm using jboss as 4.0.5GA and jboss portal 2.4.2 and when I change in xml to
mixed storage file every my cms portlet instances have error
java.lang.NullPointerException
and I haven't got access to any content files.
If I try to open any files from my
I have got another problem with it. I added two .gif files into the cms
content(database 100% storage), and I have got 5 roles in portal. One of this
images don't be accessible from one of roles. Futhermore if I add any user to
that role, they don't see the image. I don't know what can be the
I try upload 100mb large file, and I have got transaction error. I looked jira
and I saw similar problem with oracle, but they saids mysql must work ok. I
suppose it is a problem with my mysql configuration, but I need information
which table cointains cms data? It is cms_version_binval ???
It can be other reason, so I add error log:
| 12:19:40,126 ERROR
[org_jboss_portal_core_portlet_cms_admin_CMSAdminPortlet] The portlet threw an
exception
| javax.portlet.PortletException: org.jboss.portal.cms.CMSException:
javax.transaction.xa.XAException
| at
Sorry I forgot, I'm using jboss as 4.0.5 GA, jboss portal 2.4.2 and mysql 5.1.11
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085418#4085418
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085418
Error starts with:
13:51:52,854 ERROR [STDERR] javax.transaction.xa.XAException
| 13:51:52,854 ERROR [STDERR] at
org.apache.jackrabbit.core.TransactionContext.commit(TransactionContext.java:182)
| 13:51:52,885 ERROR [STDERR] at
Hmm i can't understand this, becouse I'm loosing my request when I change
windowstate though I set renderParameter. Everything is ok when I don't change
window states.
In processAction I setRender parameter if any page call action with param
name=page
public void
Could anybody tell me how can I fix my maximize action problem?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084923#4084923
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084923
Temporarily I added new private variable in portlet class which contain last
user request parameter. This is not a good mvc result so I think it must be
other solution.
Any suggestion?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084935#4084935
Thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084945#4084945
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084945
___
jboss-user mailing list
Thanks everything its fine, but I have got problem with windowstate
action(minimize maximize etc) action=a. I dont know what is called and I can't
found it in jsr-168 specyfication.
I have got some attribute, and I lose it when I change window state of the
portlet. Could you help me?
View the
Ofcourse I meant request attribute.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084546#4084546
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084546
___
jboss-user mailing list
I have got defined center region for portlets which size is 60% of all.
My portlet reading strings(articles) from database, and if one of string length
is bigger than portlet width everything break, because portlet width increase.
I need to configure const(but 60%) width of porlet. When string
I checked my cms admin portlet and it don't wrap texts too.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083895#4083895
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083895
___
I readed this is a tinyMCE bug.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083924#4083924
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083924
___
jboss-user mailing list
I am using jboss portal 2.4.2 and jboss as 4.0.5 GA.
I depoloyed my portlet with jstl, and its sucessfull, but i have got errors
when I rendering it.
My web.xml configuration:
web-app
| taglib
| taglib-uri/tags/jstl-c/taglib-uri
|
the error gone after i added standard.jar to tomcat directory
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082570#4082570
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082570
I am writing a news portlet and I need a lot of actions such as addNews,
deleteNews etc. It is any posibility to do this without any framework such as
struts?
I saw when I call action, portlet change values parameter action=1, action=2
etc. How portal intepretate this? I can't find it in
I am using jboss portal 2.0.2 in AS 4.0.5 GA.
When i am going to admin panel i see:
| occured while rendering window 'default.Admin.ManagementPortletWindow'
| /WEB-INF/jsp/management/index.xhtml @41,58 rendered=#{!empty
node.children}: Exception getting value of property children of base
I use jdk 1.5 and now its ok
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4081746#4081746
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081746
___
jboss-user mailing list
I want to have special tables in DefaultDS, and I am trying to configure
hibernate for my portlet. I'm deploying portlet in .war file (with portlet.xml
etc) but I don't know where can I locate my hibernate.cfg.xml and
mapping.hbm.xml in my .war package, to make them visible from portal.
Should
thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4069236#4069236
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069236
___
jboss-user mailing list
jboss-user@lists.jboss.org
I am trying to check is the current user member of the some role.
I write i.e req.isUserInRole(Admin); or req.isUserInRole(User); where req
is the JBossRenderRequest object, and it always return false.
I checked in database in jbp_roles table and that users are exist, so why it
always return me
jboss portal 2.4.2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068760#4068760
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068760
___
jboss-user mailing list
I forgot to add roles in portlet.xml thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068801#4068801
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068801
___
jboss-user mailing
There is any possibility to do it in 2.4.2 version? I am a little scared about
you don't anaswer:) Please tell me the easiest way
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068201#4068201
Reply to the post :
Could you tell me how should looks URI in PortalObjectPermission constructor
argument?
And how can I have it without CorePortalNode object
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068145#4068145
Reply to the post :
I am overwrite login.jsp in portal core/serwer
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067711#4067711
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067711
___
jboss-user
The problem is I have got nodes off all pages inlude this where I haven't got
permission. I use jboss portal 2.4.2. There are in 2.6 this bug fixed? I guess
you are talking about 2.6, right?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067709#4067709
Reply
I found where its broken but I don't know how Can I repair that. Look at the
error:
| 2007-07-26 10:13:23,441 DEBUG [org.hibernate.util.JDBCExceptionReporter]
could not insert: [org.jboss.portlet.forums.impl.PostImpl] [insert into
jbp_forums_posts (jbp_topic_id, jbp_edit_count,
Please tell mi the way, which I can do this fast. What classes shoudl I use?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067692#4067692
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067692
one more mistake, replace 2 to PortalObjectPermission.VIEW_MASK
is this code correct?
| PortalNodeURL secURL = resp.createRenderURL(page);
| PortalObjectPermission perm = new
PortalObjectPermission(secURL.toString(),PortalObjectPermission.VIEW_MASK);
|
I trying to do that in 2.4.2 but I have got one more trouble.
I can't find
org.jboss.portal.core.impl.api.CorePortalNode
| in any jar, and sources in this version of portal, so I don't know how can
I get node URI string to
PortalObjectPermission(java.lang.String uri, int mask) constructor.
sorry I know whats is the reason of unhandlet excepotion,
but I don't know if I can Use URL like URI like this:
PortalNodeURL secURL = resp.createRenderURL(page);
| PortalObjectPermission perm = new
PortalObjectPermission(secURL.toString(),2);
| if
I am using jboss AS 4.0.5 and jboss Portal 2.4.2 and jboss forums for this
version and I can't see my national characters. If I write some text with
national charecters i.e in the forum its converts for ??? and other
unidentified ones.
I already changed languague in my profile for my national.
I change in database coding to latin2 and in forums language properties to
ISO8859_2 and now I don't have problems with chars in database but forums
applications sends chars in latin1.
When I write national chars in topic and click preview I see %$^#$#%^, so I
think I must configure forums
I checked character encoding in test page and everything is ok, so whats can be
the reason?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067442#4067442
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067442
This is exception when I try to post new topic with national characters
| type Exception report
|
| message
|
| description The server encountered an internal error () that prevented it
from fulfilling this request.
|
| exception
|
| javax.servlet.ServletException: null
If I edit datas in database and change %^% to national chars, portlet read it
sucessfull. Problem is only where I send chars from portlet to database becouse
portlet convert it to UTF-8
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067454#4067454
Reply to
If I replay for topic chars are ok, the problem is only when I post a new topic
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067463#4067463
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067463
Sorry might be I shoud post this in jboss forums, but I dont know where is a
problem - in portal or in a forums portlet
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067464#4067464
Reply to the post :
I already set correct encoding in my database, and If I manually add some
national chars to jbp_forum_posts and jbp_forum_topics, jboss forums sucessfull
read it, but if I write some national chars in my browser and try to send it to
database I have got error. If I don't send it to database but
back to topic:
I saw sample portlets and I don't know how can I use
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
and
org.jboss.portlet.JBossRenderRequest
org.jboss.portlet.JBossRenderResponse
like a doView function arguments at the same time.
I need both
and what its the difference between
org.jboss.portlet.JBossPortlet and
javax.portlet.GenericPortlet
???
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066934#4066934
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066934
which .jar 's should I add to my portlet project? I must link source all
sources from jboss portal 2.4.2-src ??? Could you give me simple solution?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066555#4066555
Reply to the post :
[EMAIL PROTECTED] wrote : Add this for the compilation:
| jboss-portlet-api-lib.jar
| portal-api-lib.jar
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066624#4066624
Reply to the post :
One more problem.
I am use apache ant 1-6-3, and when I deploy helloworldjspportlet.war builded
version to my portal all its ok, but if I deploy version which I am build from
heloworldjsp sources I have got the following error:
| 13:58:16,771 INFO [TomcatDeployer] deploy,
I am tried in ant version 1.7 and there are the same problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066642#4066642
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066642
thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=409#409
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=409
___
jboss-user mailing list
jboss-user@lists.jboss.org
I read CatalogPortlet.java sources and i saw lines
PortalNode current = req.getPortalNode();
for JBossRenderRequest req; definition.
In new api there isn't class org.jboss.portlet.JBossRenderRequest but newest
javax.portlet.RenderRequest whitch don't have method getPortalNode();
Where should I
I am use jboss portal 2.4.2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065890#4065890
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065890
___
jboss-user mailing list
This version are diferent than Jboss Portal 2.4.2 Builded.zip? If yes, whitch
files should I replace to fix this bug? Could you give me any solution for that?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065273#4065273
Reply to the post :
I have the same problem. I read the jira solution, but it don't solved my
problem. I using the jboss portal 2.4.2 and oracle 10.2.0.1. (I tested in a lot
of ojdbc drivers between 9 and 10 versions). Could you give me any solution how
can i fix this problem in 2.4.2 build version, because I
I am using jboss portal 2.4.2 builded, and I have got the same problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065274#4065274
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065274
so could you tell me, how can I create all system tables and default datas in
mysql database? jboss AS doing it? I saw wiki and I found info only about
connect jboss AS/portal with mysql database, not about creating structure???
View the original post :
ok thx!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064913#4064913
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064913
___
jboss-user mailing list
jboss-user@lists.jboss.org
I have one more another question. There is in jboss wiki any toturial to
configure oracle DefaultDS like mysql this
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpMysqlAsDefaultDS one?
I do the same to oracle by analogy, and i read first
i finished problems with connections (its jdbc driver), but the main problem is
the portal can't start without problems
| 16:13:35,573 INFO [JackrabbitJCRService] Creating CMS nodeTypes.
| 16:13:35,588 WARN [ServiceController] Problem starting service
portal:service=CMS
|
ok now everything its ok! thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065035#4065035
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065035
___
jboss-user mailing
what is a login and pass?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065082#4065082
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065082
___
jboss-user mailing list
I use portal migration soft and i have exceptions with
Migrating User/Role Data failed!,
Migrating Portal Portlet Instance Data failed!,
Migrating Portal Security Data failed!,
what is a problem?
should i configure autocommit to true in some .xml file?
|
| 10:52:05,971 ERROR
sorry i forgot:
I'm usining jboss portal 2.4.2 bundle
my portal-hsqldb-ds.xml
| datasources
| local-tx-datasource
| jndi-namePortalDS/jndi-name
|
connection-urljdbc:hsqldb:${jboss.server.data.dir}${/}portal${/}hypersonic${/}database/connection-url
|
I'm added mysql connector v3 and v5 to my lib directory, other queries such as
create tables finished ok
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064500#4064500
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064500
I am using mysql 5 and I'm removed STRICT_TRANS_TABLES from my.ini
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064507#4064507
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064507
sorry update:
when i removed STRICT_TRANS_TABLES from my.ini, reconnect the server and start
portal-migration, it stops in create tables step14:27:09,868 INFO
[SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 14:27:09,868 INFO [SettingsFactory] Automatic session close
in mysql server 4.1.22 i have got the same exceptions (autocommit) than
5.1version, so it can't be sql server problem
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064539#4064539
Reply to the post :
why anybody don't answer me? I write to few details or you haven't any ideas
what is the reason? Please help me
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064609#4064609
Reply to the post :
no. I'm use portal-migration application in jboss portal 2.4, because i want to
create database tables structure with my data in mysql server. earlier I used
default config - postgre sql database.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064773#4064773
Thanks! Now I haven't got problems with a deploy, but if I load a page in
browser with portlet I've got following exception:
| 14:02:20,488 INFO [STDOUT] session created
| 14:02:23,129 ERROR [STDERR] 2007-07-09 14:02:23
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO:
73 matches
Mail list logo