[jboss-user] [JBoss Portal] - CMS

2009-03-06 Thread vantek
Hi.

in my *-object.xml files, i have cms windows referring files, not present by 
default. Is there any way to deploy them automatically, without creating them 
manually in CMS administration (boring when a lot of files)?


I saw here ( 
http://www.jbossworld.com/2008/downloads/pdf/friday/11-1150am_JBoss_Portal_How-To_Guide_Peter_Johnson.pdf
 ) that default content were in 
"server\default\deploy\jboss-portal.sar\portal-cms.sar\portal\cms\conf\default-content"
 and that there is a jboss-service.xml in META-inf folder to configure, but i 
want to define same thing in my project (then i'll just have to deploy the war 
on a fresh jboss portal server, and basta)

how can i do? what do i have to redefine? do i just have to copy/paste this 
jboss-service.xml to my META-INF folder (and configure the 
DefaultContentLocation attribute) ?

my config : 

Eclipse 3.3 on Win XP, Jboss tools, jBoss portal 2.7.1 with jBoss AS 4.2.3

thanks a lot in advance.



ps : here is the jboss-service.xml from 
\deploy\jboss-portal.sar\portal-cms.sar\META-INF


  | 
  | 
  | 
  |
  |
  |
  | 
  |
  |   
  |   jboss.jca:service=DataSourceBinding,name=PortalDS
  |   true
  |   conf/hibernate/cms/hibernate.cfg.xml
  |   java:/portal/cms/CMSSessionFactory
  |  
  |
  |
  |   
  |   
  |   jboss.jca:service=DataSourceBinding,name=PortalDS
  |   portal:service=JAASLoginModule
  |   portal:service=Hibernate,type=CMS
  |   cms.pm.cache:service=TreeCache
  |   portal:service=AuthorizationManager,type=cms
  |   
  |   
  |   portal:service=InterceptorStackFactory,type=Cms
  |   true
  |   portal/cms/conf/default-content/default/
  |   en
  |   PortalRepository
  |   ${jboss.server.data.dir}${/}portal${/}cms${/}conf
  |   java:/portal/cms/CMSSessionFactory  
  |   
  |  
  | 
  | 
  | 
  | 
  |
  |
  | 
  | 
  | 
  | 
  | 
  |
  |
  |   
  |   
  |
  | 
  | 
  | 
  |
  | 
  |
  |
  |   
  |   
  |
  |
  |
  | 
  |
  | 
  |
  |
  |   
  |   
  |   
  |
  | 
  |
  |
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 
  |
  | 
  |
  |
  |   
  |   
  |
  | 
  |
  |
  | 
  |
  | 
  |
  |
  |   
  |   
  |   
  |
  | 
  |
  |
  | 
  |  
  |   
  |   java:portal/CMS
  |
  | 
  |
  | 
  |
  |   
  |   default.default.CMSWindow
  |   portal:service=CMS
  |   portal:service=ServerConfig
  |
  |
  |   
  |   /content
  |   portal:commandFactory=Delegating
  |   portal:commandFactory=CMSObject
  |
  | 
  |
  |   
  |   /content
  |   portal:urlFactory=Delegating
  |
  | 
  |
  |   
  |jboss:service=Naming
  |jboss:service=TransactionManager
  |portal:service=Hibernate,type=CMS
  |   
  |   org.jboss.cache.GenericTransactionManagerLookup
  | 
  |   
  |   
  | 
  |   
  |   REPEATABLE_READ
  | 
  | 
  |   
  |   
  |   
  |   
  |   LOCAL
  | 
  |   
  |   false
  | 
  |   
  |   0
  | 
  |   
  |   0
  | 
  |   
  |   JCRPMCache
  | 
  |   
  | 
  |   
  |
  |
  |   
  |   
  |
  |
  |   
  |   
  |
  |
  |
  |
  |
  |
  |
  |
  |
  | 
  |   
  |   
  | 
  |   
  |   2
  | 
  |   
  |   2
  | 
  |   
  |   15000
  | 
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  |
  |false
  |
  |  

[jboss-user] [JBoss Portal] - Edit cms content directly in the portlet?

2009-03-08 Thread vantek
Hi

is there any way to edit the cms content directly in the portlet? and not 
already passing via cms administration?

i saw a portlet named "portlet content edit", what is that for?

And, in the portlet definition xml file, i saw that the cms portlet supports 
"view" and "edit_content" mode. is the "edit_content" mode implanted or not yet?


thanks a lot.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216018#4216018

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216018
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Accessing Nested Pages More Than One Level Down

2009-03-09 Thread vantek
Hi

Is there anything new? I'll have to develop a portal which will have 2 or 3 sub 
levels, so that interests me!


It seems it's working on jboss.org, but not on jb portal 2.7.1... is there some 
thing to configure?

thanks a lot!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216110#4216110

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216110
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Bug in JB tools 3 CR2 with portlets?

2009-03-09 Thread vantek
Hi.

I followed this how to 
http://blog.jboss-portal.org/2008/08/jboss-portlet-support-in-eclipse.html and 
i think i found a bug...

I've tried jb tools 3 CR2 and nothing was available to create portlets, and no 
jboss portlet core face was available... But it was present in CR1.

as i didn't find anything on this, i post.

is this a bug?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216237#4216237

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216237
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How do I create instances of external portlets?

2009-03-10 Thread vantek
up, that interests me to!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216623#4216623

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Exception while deploying Jboss Blog portlet : EntityMan

2009-03-11 Thread vantek
I downloaded source from the anonymous svn, the link on the jboss blog portlet 
page : http://anonsvn.jboss.org/repos/jbossblog/trunk/

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217163#4217163

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217163
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: custom sso :cas

2009-03-13 Thread vantek
Hi

dis you resolve your problem? I've got almost the same, with a custom 
CASAuthenticationService which allows all user connection(for the moment), and 
a custom login module in jb Portal, which allows all user connection too.

in the login module, username entered in CAS is ok, but the user password is 
null...

so for the moment, login is ok because both CASauthentication service and login 
module allows all users. But when jboss portal try to synchronize user with 
jboss portal users, i've got a null pointer exception on the password =/

thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217759#4217759

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: custom sso :cas

2009-03-13 Thread vantek
Weel, i don't know if the password is really the problem...

i've got this exception, no more infos =/


  | 11:18:33,260 WARN  [SynchronizingLoginModule] Failed to sychronize identity 
of user: vantek
  | javax.security.auth.login.LoginException: 
javax.security.auth.login.LoginException: java.lang.NullPointerException: null 
text
  | at 
org.jboss.portal.identity.auth.SynchronizingLoginModule.performSynchronization(SynchronizingLoginModule.java:397)
  | at 
org.jboss.portal.identity.auth.SynchronizingLoginModule.commit(SynchronizingLoginModule.java:222)
  | 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:597)
  | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:580)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
  | at 
org.jboss.portal.identity.sso.cas.CASAuthenticationValve.invoke(CASAuthenticationValve.java:348)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:619)
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217778#4217778

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - SSO CAS and Synchronizing --> "Failed to sychronize identity

2009-03-13 Thread vantek
Hi


I made my own login module by extending IdentityLoginModule. i overrided 
validatePassword method and getRoleSets method -> it works fine.

I tried to Synchronize the new users with jboss portal users (to access to 
forum or CMS administration) -> it works fine.


Now i want to login via CAS, i made my own CASAuthenticationService. Now when i 
loge in, CAS login works, it sets the request attribute "ssoSuccess", but when 
the validatePassword of the login module is called, input password is null! 
(but username is correctly set).

Then when it's synchronizing, i obtain an error : 


  | 
  | 14:41:30,361 WARN  [SynchronizingLoginModule] Failed to sychronize identity 
of user: usernotExisting
  | javax.security.auth.login.LoginException: 
javax.security.auth.login.LoginException: java.lang.NullPointerException: null 
text
  | at 
org.jboss.portal.identity.auth.SynchronizingLoginModule.performSynchronization(SynchronizingLoginModule.java:397)
  | at 
org.jboss.portal.identity.auth.SynchronizingLoginModule.commit(SynchronizingLoginModule.java:222)
  | 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:597)
  | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:580)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
  | at 
org.jboss.portal.identity.sso.cas.CASAuthenticationValve.invoke(CASAuthenticationValve.java:348)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:619)
  | 

I looked at the source, but didn't find anything =/

can someone tell my what is null in the synchronizing? is it the password?

thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217869#4217869

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217869
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: SSO CAS and Synchronizing -->

2009-03-13 Thread vantek
Well

i wrote my own SynchronizingLoginModule based on an old version of this class 
(found on the anonym svn, for jboss portal 2.6)


This old version returns an empty string when the password is asked, and the 
one present in portal 2.7.1 return a null string.


Now i don't have any bug, and the user is correctly created in jboss portal 
database! (his password is blank, but we don't care, it is just for the correct 
functioning of portal, login & password are checked in CAS) 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217923#4217923

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217923
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Session in struts portlets???

2009-03-19 Thread vantek
Hi!


I have a struts web app that works fine, ad i have to get it work on jboss 
portal.

I tried struts portlets via portals-bridges-struts and it works. But when it 
access to session, all data are null except this : 


  | key : ?org.apache.portals.bridges.util.portlet_window_id value : 
/default/01-Accueil/ExtranetAccueilSession
  | key : org.apache.struts.action.LOCALE value : fr
  | attribut : ?org.apache.portals.bridges.util.servlet_portlet_session_proxy 
value : org.apache.catalina.session.standardsessionfac...@325789
  | 


In a first struts portlet i set an attribute in the session (not the portlet 
session because it's a struts app) and when i want to get it in an other 
portlet, attribute is null.


How can i enable this data sharing?

thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219391#4219391

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219391
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Session in struts portlets???

2009-03-19 Thread vantek
I forgot


I'm using jboss portal 2.7.1 bundle, jdk5, struts 1

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219395#4219395

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219395
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Session in struts portlets???

2009-03-19 Thread vantek
Well, i've something new.

In my struts portlets,when I call the session, I only get the portlet Session.

But when I access to my struts pages normaly (via /webapp/actionX.do) I can the 
all the session + the Portlet Session


Is there any way to inject the Struts Session in Portlet Session?


thanks a lot!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219402#4219402

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219402
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portlet Instance Membership

2009-03-20 Thread vantek
Hi


I think it's a "refresh" / "reload" problem.

I got almost the same thing, with a struts portlet that shows the session 
attributes, after setting attributes, it didn't show them immediatly, i had to 
go to the Edit mode of the portlet, then come back to the view mode, and 
refresh has been done!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219728#4219728

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portlet Instance Membership

2009-03-20 Thread vantek
and i got the same thing when after editing a jsp page called in my struts 
portlet, and after republishing, no refresh was done =/

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219729#4219729

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Session in struts portlets???

2009-03-20 Thread vantek
Okey, problem solved, it was a problem of portlet cache, portlet didn't refresh 
after login...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219748#4219748

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Problem with Portlet Struts, and input name in a form

2009-03-23 Thread vantek
Hi.

i've got a problem in my form, in a struts web app.

Directly via the action, form is ok, but with struts portlet, there is a 
problem at the "name" tag of a submit input.

Here is the submit input of my form : 


  | 
  | 

Both directly via the action and via the portlet, the generated html is : 



But in my form bean, i've got 2 different things : 
 - Via the action, the property is ok, when I do a getAction() I obtain "Cancel"
 - Via the Struts portlet, when I do a getAction(), I obtain "1".

So there's a problem in the form bean Validator, and my form don't work...
I don't want to work any other way (hidden input, with javascript on the 
submit), because this is an existing Struts web app, and i just have to get it 
work on struts portlet...

Should I open a JIRA issue?

thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220247#4220247

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220247
___
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 access my own datasource in portlet jsp

2009-03-26 Thread vantek
I defined my datasource in a "extranet-ds.xml" file, deployed in the deploy 
folder.

My DS is set as : 


  | 
  |
  | jdbc/TestIntranet
  | 
jdbc:postgresql://192.168.10.108:5432/Intranet
  | org.postgresql.Driver
  | postgres
  | 
  |
  |
  | 
  | 

And it works fine!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221170#4221170

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221170
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Getting Access to assigned Portlet Instances => Portlet

2009-03-26 Thread vantek
Hi

it interests me to!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221172#4221172

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221172
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - ZK Integration in Jboss Portal

2009-03-26 Thread vantek
Hi.

I have to integrate a struts application (struts 1 + jsp), and some jsp pages 
have ZK integrated. Jsp pages pass though zk filter, and are ok in my portlet. 
Links are ok to, it send other pages in the same portlet.

Problem is when I submit forms...

My zk filter is applied to url pattern /zk/*. So when I submit a form to a 
struts action like "/doSomething.do", it does not pass through the filter, and 
next page renders fine. When the struts action is like "/zk/doSome.do", the 
form seems well submited, data in database are correctly setted, but I got a 
SAX exception : Premature end of file.

No login menu, and no tabs are displayed, just the Jboss Portal header (see 
html code generated below)

Where can the problem be?

I use Struts 1, zk 2.3, jboss portal 2.7.1 bundle, jdk5.

Thanks a lot

ERROR
  | Cause: org.zkoss.zk.ui.UiException: org.xml.sax.SAXParseException: 
Premature end of file.
  | Message: org.xml.sax.SAXParseException: Premature end of file.
  | StackTrace:
  | 
  | org.zkoss.zk.ui.UiException: org.xml.sax.SAXParseException: Premature end 
of file.
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  | at org.zkoss.lang.Classes.newInstance(Classes.java:79)
  | at org.zkoss.lang.Exceptions.wrap(Exceptions.java:162)
  | at org.zkoss.zk.ui.UiException$Aide.wrap(UiException.java:46)
  | at 
org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinitionDirectly(PageDefinitions.java:98)
  | at 
org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinitionDirectly(PageDefinitions.java:71)
  | at 
org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinitionDirectly(AbstractUiFactory.java:117)
  | at 
org.zkoss.zk.ui.http.DHtmlLayoutFilter.process(DHtmlLayoutFilter.java:87)
  | at 
org.zkoss.zk.ui.http.DHtmlLayoutFilter.doFilter(DHtmlLayoutFilter.java:111)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
  | at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
  | at 
org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:427)
  | at 
org.apache.portals.bridges.struts.StrutsPortlet.processAction(StrutsPortlet.java:306)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557)
  | at 
org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
  | at 
org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)
  | at 
org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
  | at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
  | at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.core.aspects.portlet.Header

[jboss-user] [JBoss Portal] - Re: Couldn't set configuration to

2009-03-31 Thread vantek
Hi


I tried this tutorial to, but i saw there was a bug (see comments)

I tried jboss tools 3.0.0 CR2 and the portlet project type was not present. I 
tried with CR1 and it worked, maybe they didn't solve the problem?(I posted on 
the jboss forum)

Try to install CR1?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=415#415

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Looking for a News System Portlet

2009-04-01 Thread vantek
Hi.


I'm on jboss 2.7.1 bundle, and i'm looking for a news system protlet.

The news portlet via RSS doesn't interest me, i'm looking for something like a 
blog or news publishing, with a WYSIWYG editor (because it will be used by 
professionals, and we don't want a bbcode style)

where can I find this?

I tried the jboss blog portlet, but I've got deployment errors on portal 
2.7.1...


thanks a lot!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222539#4222539

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Looking for a News System Portlet

2009-04-01 Thread vantek
I tried Jboss forum, associated to RSS news Portlet, the thing is that forum 
uses BBcode, and we want a WYSIWYG editor!

I tried to get jboss blog source, compile and deploy them on jboss portal, but 
i've got deployment errors =/

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222548#4222548

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222548
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Looking for a News System Portlet

2009-04-01 Thread vantek
I took jboss blog from the trunk, should i take it from the branches 
"branches/feeds100P27/" ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222558#4222558

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222558
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - JBossBlog on Jboss Portal 2.7.1 - Did someone try?

2009-04-02 Thread vantek
Hi.

I took the Jboss Blog sources from the anonym svn, via the branche feeds100p27 
(it's said it's specially for Jboss Portal 2.7) but I didn't succeed in 
deploying it on my jboss Portal 2.7.1 (jboss as 2.4.3, jdk5)

Did someone succeed in it?

thanks a lot!

Here is the trace while deploying it :


  | 10:57:01,143 INFO  [EARDeployer] Init J2EE application: 
file:/C:/projects/proxiad/extranet/jboss-portal-2.7.1/server/default/deploy/blog.ear
  | 10:57:12,645 INFO  [JmxKernelAbstraction] creating wrapper delegate for: 
org.jboss.ejb3.entity.PersistenceUnitDeployment
  | 10:57:12,645 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=blog.ear,jar=blog-impl.jar,unitName=blog with 
dependencies:
  | 10:57:12,645 INFO  [JmxKernelAbstraction]   
jboss.jca:name=blogDatasource,service=DataSourceBinding
  | 10:57:12,645 INFO  [PersistenceUnitDeployment] Starting persistence unit 
persistence.units:ear=blog.ear,jar=blog-impl.jar,unitName=blog
  | 10:57:12,707 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.Group
  | 10:57:12,707 INFO  [EntityBinder] Bind entity org.jboss.blog.model.Group on 
table FeedGroup
  | 10:57:12,707 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.feed.Feed
  | 10:57:12,707 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.feed.Feed on table Feed
  | 10:57:12,723 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.feed.RemoteFeed
  | 10:57:12,723 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.feed.RemoteFeed on table RemoteFeed
  | 10:57:12,723 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.feed.AggregatedFeed
  | 10:57:12,723 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.feed.AggregatedFeed on table AggregatedFeed
  | 10:57:12,723 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.feed.HighlightsFeed
  | 10:57:12,723 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.feed.HighlightsFeed on table HighlightsFeed
  | 10:57:12,723 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.feed.IndividualPostsFeed
  | 10:57:12,723 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.feed.IndividualPostsFeed on table IndividualPostsFeed
  | 10:57:12,723 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.feed.IndividualPostInfo
  | 10:57:12,723 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.feed.IndividualPostInfo on table IndividualPostInfo
  | 10:57:12,723 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.Category
  | 10:57:12,723 INFO  [EntityBinder] Bind entity org.jboss.blog.model.Category 
on table Category
  | 10:57:12,738 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.Post
  | 10:57:12,738 INFO  [EntityBinder] Bind entity org.jboss.blog.model.Post on 
table Post
  | 10:57:12,738 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.Enclosure
  | 10:57:12,738 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.Enclosure on table Enclosure
  | 10:57:12,738 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.Image
  | 10:57:12,738 INFO  [EntityBinder] Bind entity org.jboss.blog.model.Image on 
table Image
  | 10:57:12,738 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.Template
  | 10:57:12,754 INFO  [EntityBinder] Bind entity org.jboss.blog.model.Template 
on table Template
  | 10:57:12,754 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.configuration.Configuration
  | 10:57:12,754 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.configuration.Configuration on table Configuration
  | 10:57:12,754 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.security.SecurityMapping
  | 10:57:12,754 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.security.SecurityMapping on table SecurityMapping
  | 10:57:12,754 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.security.SecurityGroup
  | 10:57:12,754 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.security.SecurityGroup on table SecurityGroup
  | 10:57:12,754 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.security.SecurityUser
  | 10:57:12,754 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.security.SecurityUser on table SecurityUser
  | 10:57:12,770 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.shotoku.ShotokuFeed
  | 10:57:12,770 INFO  [EntityBinder] Bind entity 
org.jboss.blog.model.shotoku.ShotokuFeed on table ShotokuFeed
  | 10:57:12,770 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.blog.model.log.PropositionsLog
  | 10:57:12,770 INFO  [EntityBinder] Bind entity 
org.

[jboss-user] [JBoss Portal] - Re: Looking for a News System Portlet

2009-04-02 Thread vantek
Well, it does not work, i've got deployment problems (see my others post) =/

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222987#4222987

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user