Kristofer,
Grab the latest source out of CVS. There was missing handler that was preventing anything from being produced.
I'm currently working on some Portal code that will handle the url rewriting tokens for resources such as graphics. Once that's done, I'll create a patch and send it in to the JBoss folk for them to commit.
So far JBoss Portal looks the most promising.
Chris DeBracy
-----Kristofer Arnar Einarsson <[EMAIL PROTECTED]> wrote: -----
Grab the latest source out of CVS. There was missing handler that was preventing anything from being produced.
I'm currently working on some Portal code that will handle the url rewriting tokens for resources such as graphics. Once that's done, I'll create a patch and send it in to the JBoss folk for them to commit.
So far JBoss Portal looks the most promising.
Chris DeBracy
-----Kristofer Arnar Einarsson <[EMAIL PROTECTED]> wrote: -----
To: [email protected]
From: Kristofer Arnar Einarsson <[EMAIL PROTECTED]>
Date: 06/26/2006 05:26PM
Subject: Re: servlet-api
I haven't
I am currently experimenting with JBoss Portal 2.4 beta which has a WSRP
producer.
mbk / regards,
Kristofer
Venkatesh Jayakumar wrote:
> Hi Kristofer,
>
> I have the same problem
>
> Could you pls let me know How u solved this ?
>
> -----Original Message-----
> From: Kristofer Arnar Einarsson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 16, 2006 8:07 AM
> To: [email protected]
> Subject: Re: servlet-api
>
> Hi
>
> I have a very simple Hello World portlet which works fine with web app
> 2.3 in web.xml:
> <!DOCTYPE web-app PUBLIC
> "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app>
>
>
> However, when I try to use web app 2.4 it seems to break:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app version="2.4"
> xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
>
>
> I have a servlet-api jar which has both 2.3 and 2.4. The error that I
> get in the wsrp log is attached.
>
> Using only:
> <web-app version="2.4">
> seems to be ok but I am not sure it is actually using 2.4 or just
> skipping the version attribute. I have yet to add 2.4 features in my
> portlet.
>
> The error:
> 2006-06-16 11:48:20,926 [http-8080-Processor25] DEBUG
> org.apache.pluto.PortletContainerImpl:
> PortletContainerImpl.portletService(7_0_5I5) called.
> 2006-06-16 11:48:21,130 [http-8080-Processor25] ERROR
> org.apache.wsrp4j.producer.provider.pluto.driver.PortletInvokerImpl:
> Call of portletService() failed!
> java.lang.NullPointerException
> at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.j
> ava:109)
> at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.j
> ava:73)
> at
> org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.jav
> a:119)
> at
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(P
> ortletContainerWrapperImpl.java:70)
> at
> org.apache.wsrp4j.producer.provider.pluto.driver.PortletInvokerImpl.invokeGe
> tMarkup(PortletInvokerImpl.java:177)
> at
> org.apache.wsrp4j.commons.producer.driver.WSRPEngine.getMarkup(WSRPEngine.ja
> va:758)
> at
> org.apache.wsrp4j.commons.producer.binding.WSRPMarkupBindingImpl.getMarkup(W
> SRPMarkupBindingImpl.java:62)
> 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:585)
> at
> org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397
> )
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:1
> 86)
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
> 32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
> at
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:
> 327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:178)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
> )
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> )
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :107)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Http11BaseProtocol.java:664)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> at java.lang.Thread.run(Thread.java:595)
> 2006-06-16 11:48:21,137 [http-8080-Processor25] DEBUG
> org.apache.wsrp4j.producer.provider.pluto.driver.PortletInvokerImpl:
> Exiting method 'invokeGetMarkup'.
>
>
>
>
> mbk / regards,
> Kristofer
>
>
> Yoni Moses wrote:
>> Although i'm not fully familiar with wsrp4j, i think that you can. after
> all, the servlet-api maintains backward compability, and replacing the
> string in the web.xml should not cause any problem.
>>
>> Best,
>> Y.
>>
>> ________________________________
>>
>> מאת: Kristofer Arnar Einarsson [mailto:[EMAIL PROTECTED]]
>> נשלח: ה 15/06/2006 00:54
>> אל: [email protected]
>> נושא: servlet-api
>>
>>
>>
>> Hi
>>
>> I have some portlets that use servlet-api 2.4.
>>
>> Is it possible to use web-app version 2.4 in wsrp4j instead of 2.3 in
>> web.xml?
>>
>> --
>> mbk / regards,
>> Kristofer
>>
>>
>
>
