[JBoss-dev] [Design of JBoss Portal] - default views on login/logout

2005-02-07 Thread eztrip
When a user logs in or out of a portal, how do I let the portlets know that this has happened and trigger them to update their views with default views. Currently in my portal if I log out, the portlet's views are still in the state they were in. For example if I am logged in and click the

[JBoss-dev] [Design of JBoss Portal] - Re: JSR-168 question

2005-01-31 Thread eztrip
Thanks jimmyed2001. I tried both method declarations and I'm still getting this error: exception javax.servlet.ServletException: javax.servlet.ServletException: no main org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:85)

[JBoss-dev] [Design of JBoss Portal] - Re: JSR-168 question

2005-01-31 Thread eztrip
Thanks Roy. I tried that but no luck. Same error. The portlet is definitely getting loaded but when I hit it with the url it gives the above mentioned error. I'm not even sure what that error is supposed to mean. It doesn't give much of a hint as to what went wrong. Anyone else? It

[JBoss-dev] [Design of JBoss Portal] - Re: JSR-168 question

2005-01-31 Thread eztrip
Thanks Thomas - I've forwarded you my EAR w/source. Mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864447#3864447 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864447

[JBoss-dev] [Design of JBoss Portal] - Re: JSR-168 question

2005-01-31 Thread eztrip
Thanks very, very much Thomas. It's working fine. Sorry for bothering you with typos... Cheers Michael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864470#3864470 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864470

[JBoss-dev] [Design of JBoss Portal] - Re: JSR-168 question

2005-01-28 Thread eztrip
Thanks jimmyed2001. Where are you putting this WAR file though? Did you just drop it into /server/default/deploy and let it run (assuming JBOss Portal is deployed as well) or are you putting it somewhere else? THanks Mike View the original post :

[JBoss-dev] [Design of JBoss Portal] - JSR-168 question

2005-01-28 Thread eztrip
Hi - I'musing the Apress book Buildling Portals with the Java Portlet API to try and get my head around this technology and am having trouble figuring out if JBoss portal fully supports the spec or not. There seems to be discrepencies in the configuration files. WHat i have is this:

[JBoss-dev] [Design of JBoss Portal] - Re: JSR-168 question

2005-01-28 Thread eztrip
Thanks everyone for the help. When I deploy helloworld.war into /deploy I get this console output which seems correct: localhost$ 11:29:39,554 INFO [TomcatDeployer] deploy, ctxPath=/helloworld, warUrl=file:/Library/JBoss/server/default/deploy/helloworld.war/ 11:29:39,719 INFO

[JBoss-dev] [Design of JBoss Portal] - Re: hibernate issues

2005-01-27 Thread eztrip
Never mind - figured this out. sorry about that. Mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863820#3863820 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863820

[JBoss-dev] [Design of JBoss Portal] - hibernate issues

2005-01-26 Thread eztrip
Hi - Does JBoss Portal require a hibernate SessionFactory for it's own internal use or only for the demo portlets? My application has a Hibernate HAR and I'm getting this error when I drop my EAR into the deploy directory: Deployment FAILED reason: Trying to install an already registered

[JBoss-dev] [Design of JBoss Portal] - Re: hibernate issues

2005-01-26 Thread eztrip
yes, what I did was to change my app to use name=jboss.har:service=MyAppHibernate which had the same effect. Thanks Mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863821#3863821 Reply to the post :

[JBoss-dev] [Design of JBoss Portal] - Postgresql configuration

2005-01-20 Thread eztrip
In case anyone wants to know I have gotten JBoss Portal 2.0a working with PostgreSQL. I'm attaching my setup.ddl script to make it easier. Because I didn't feel like modifying all the code to use sequences, I just created a single hibernate_sequence which allows the existing code to work.