when i try to access my portlet, error below appear.

12:21:20,683 ERROR [StrutsPortlet] The portlet threw an exception
java.lang.IllegalStateException: No bridge set
        at 
org.jboss.portal.bridge.JBossServletContextProvider.getServletContext(JBossServletContextProvider.java:65)
        at 
org.apache.portals.bridges.struts.StrutsPortlet.getServletContext(StrutsPortlet.java:202)



~ The portlet.xml~

<portlet-app version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://java.sun.com/xml/ns/portlet";
  xmlns="http://java.sun.com/xml/ns/portlet";>
  
    <init-param>
      ServletContextProvider
      org.jboss.portal.bridge.JBossServletContextProvider
    </init-param>
    <init-param>
      ViewPage
      /loadmap.do
    </init-param>
    <portlet-name>StrutsGraphicalTrackingPorlet</portlet-name>
    <display-name>Struts Graphical Tracking Porlet</display-name>
    This is the struts based grahical application
    
<portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    
    <portlet-info>
      Struts Graphical Tracking Porlet
      <short-title>SGT short title</short-title>
      Struts
    </portlet-info>
  
</portlet-app>



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954950

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to