ippontech / wip

Web Integration Portlet
GNU Lesser General Public License v3.0
17 stars 2 forks source link

Error in initialization #2

Closed nicolaseidita closed 12 years ago

nicolaseidita commented 13 years ago

Hi, After deploy the portlet, during initialization portlet look for jstl pointing to web resources http://java.sun.com that are unavaible. How to make it works?

Thanks Nicola

antoinesd commented 13 years ago

Hi Nicola,

Not sure to understand. Normaly this issue should be adressed by this entry in web.xml

<jsp-config>
    <taglib>
        <taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
        <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
    </taglib>
    <taglib>
        <taglib-uri>http://java.sun.com/jstl/fmt_rt</taglib-uri>
        <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
     </taglib>
</jsp-config>

Could you send more information on your issue : configuration, error message so we can try to reproduce it ?

Thanks

nicolaseidita commented 13 years ago

Hi Antoine, thanks for your quick reply. I follow these steps:

  1. download
  2. mvn clean install (maven 2.2.1) on root directory
  3. deploy in GateIn.

this is my error log: 10:31:36,306 WARN [resources] Cannot load and merge the bundle: content.Language 10:31:36,936 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /WEB-INF/jsp/generalsettings.jsp(1,1) The absolute uri: http://java.sun.com/portlet_2_0 cannot be resolved in either web.xml or the jar files deployed with this application 10:31:36,940 ERROR [fr_ippon_wip_portlet_WIPortlet] The portlet threw an exception javax.portlet.PortletException: org.apache.jasper.JasperException: /WEB-INF/jsp/generalsettings.jsp(1,1) The absolute uri: http://java.sun.com/portlet_2_0 cannot be resolved in either web.xml or the jar files deployed with this application

thanks Nicola

antoinesd commented 13 years ago

Hi Nicola,

Yes we have some issues with Gatein. I check with developers and go back to you.

thanks,

Antoine

nicolaseidita commented 13 years ago

Hi antoine,

How are you? Have you got any solution or workaroud?

Nicola

nicolaseidita commented 13 years ago

Yes it still open...

aluce commented 13 years ago

Hello Nicola,

I've just run some tests on GateIn 3.1 FINAL with Tomcat 6.0.20 and JBoss 5.1.0. No problem with Tomcat. More difficulties with JBoss but I did not encounter your problem yet.

What's your GateIn version? Tomcat or JBoss? Which version?

Anthony

aluce commented 13 years ago

Yes it still open :)

nicolaseidita commented 13 years ago

Hi Anthony, I'm using jboss-5.1.0.GA (GateIn 3.1.0 I guess) with eXo platform 3.0.4 I just downloaded the last community version, maybe it is a problem?

Thanks Nicola

nicolaseidita commented 13 years ago

Hi Antony, Do you have any news?

Nicola

aluce commented 13 years ago

Not yet, I have to try again

nicolaseidita commented 13 years ago

I'm using GateIn 3.1 with Jboss but I've got some problems... did you find some workaround to make it work there?

nicolaseidita commented 13 years ago

Hi Anthony,

we are now able to use it on GateIn and eXo after some workaround. Many pages work fine but we are encountering some problems to integrate some cognos report page. We are able to reach that pages but we see a blank one. Did you have some idea? If you woul I can send you HTML of the page.

Thanks Nicola

aluce commented 13 years ago

Hello,

What kind of workaround to make it work?

Concerning your blank page, it's probably due to an error during parsing. A first parsing is responsible for transforming the remote HTML content to XHTML strict (HtmlTransformer line 124) using the method htmlToXhtml. You can check the output of this method. (The second parsing is the XSL transformation)

Feel free to send me your HTML, I may have a look tomorrow.

fprot commented 12 years ago

This issue is quite old, the problem seems specific to a cognos page and we do not have enough information to reproduce. So I close it...