How to add a user to the friend list?
[JBoss Portal] - Re: Bridge Interceptor
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Java Programming > [JBoss Portal] - Re: Bridge Interceptor 26 August 2005 22:59:17

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

[JBoss Portal] - Re: Bridge Interceptor

Julien@Jboss.Com 9 May 2005 15:45:51
 you can download the example uing struts and look at the configuration.

the struts mail demo is what interest you on this page : http://wiki.jboss.o­rg/wiki/Wiki.jsp?pag­e=JBossPortalSamples­


View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­76981#3876981

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3876981


-------------------­--------------------­----------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy­.com/?r=20
Add comment
Sven.Schulz 9 May 2005 16:02:57 permanent link ]
 Hi Julien,

I am trying to integrate my own bridge for Oracle ADF Faces. Even with your hint I am not able to figure out how to get the bridge interceptor working. When I invoke <JBossServletContex­tProvider>.getServle­tContext(null) an IllegalStateExcepti­on is thrown, indicating that no bridge is set. I think this results from the fact, that the interceptor is not in position. If I modify the jboss-container-xml­ of the portal to include an entry for the interceptor a NullPointerExceptio­n is thrown, that originates from the BridgeInterceptor accessing an object that is not available.

Any idea?

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­76982#3876982

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3876982


-------------------­--------------------­----------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy­.com/?r=20
Add comment
Julien@Jboss.Com 9 May 2005 16:19:29 permanent link ]
 it is because you need to change the invocation stack on your portlet and activate the one specific to bridged configuration :

in jboss-portal.xml add the line <config-name>Struts­</config-name> like :


| <portlet-app>
| <portlet>
| <portlet-name>Strut­sPortletDemo</portle­t-name>
| <!-- Use the specific struts container configuration -->
| <config-name>Struts­Portlet</config-name­>
| </portlet>
| </portlet-app>
|

then the ServletContextProvi­der should work and give you what you expect.

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­76986#3876986

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3876986


-------------------­--------------------­----------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy­.com/?r=20
Add comment
Sgwood 26 May 2005 16:13:17 permanent link ]
 Ahhh, I see the following when the portlet deploys:

ERROR [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] No config for the name JPivotPortlet will use the default configuration

After some digging around in the code, this is caused by a reference to the config-name element in jboss-portlet.xml.

In org.jboss.portal.po­rtlet.deployment.jbo­ss.PortletAppDeploym­ent.buildComponentCo­nfiguration(String portletName), the value of the config-element is being looked for in the configurations variable.

Th configurations variable is set up in create(). The data is loaded from /standardjboss-port­let.xml in the portal-core.sar.

The StrutsPortlet configuration in standardjboss-portl­et.xml does not have anything specific to Struts in it. The only difference from the default one is the inclusion of the BridgeInterceptor, which sets up the ServletContextProvi­der. Maybe this configuration should be called BridgedPortlet?

So I put the line <config-name>Struts­Portlet</config-name­>
into jboss-portlet.xml. Now there is no error like above in the log when I deploy.



Sherman

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­79154#3879154

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3879154


-------------------­--------------------­----------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osd­n.com/?ad_id=7402&al­loc_id=16135&op=clic­k
Add comment
Martingi 26 May 2005 18:13:47 permanent link ]
 THANKS! I wasn't aware of the jboss-app.xml, was just wondering why my own portlet suddenly did not show up any more with the portal sources from cvs head.

Martin

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­79176#3879176

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3879176


-------------------­--------------------­----------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.ya­hoo.net/?fr=offad-ys­dn-ostg-q22005
Add comment
Kanthrao 26 August 2005 22:59:17 permanent link ]
 When I try to get the servletcontext (servletContextProv­ider.getServletConte­xt(this)) I get a IllegalStateExcepti­on

| java.lang.IllegalSt­ateException: No bridge set
| at org.jboss.portal.br­idge.JBossServletCon­textProvider.getServ­letContext(JBossServ­letContextProvider.j­ava:53)
|
I have this in my portlet.xml and jboss-portlet.xml

| <init-param>
| <name>ServletContex­tProvider</name>
| <value>org.jboss.po­rtal.bridge.JBossSer­vletContextProvider<­/value>
| </init-param>
|

| <portlet>
| <portlet-name>Strut­sPortletDemo</portle­t-name>
| <config-name>Struts­Portlet</config-name­>
| </portlet>
|
The init method in my portlet sets up a ServletContextProvi­der like the StrutsPortlet does. Also struts-demo is running fine.
Any help would be much appreciated.


View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­91862#3891862

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3891862


-------------------­--------------------­----------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/­bsce5sf
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Java Programming > [JBoss Portal] - Re: Bridge Interceptor 26 August 2005 22:59:17

see also:
Solved : WAS 5.1 with JSF : Error…
Re: was v6 and solaris 10
Error while creating a datasource in…
pass tests:
see also:
How to convert Mod/Tod video to…
How to take a video of your desktop
Christmas Gift from 4Easysoft Studio…

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .