You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by ericp56 <er...@twcable.com> on 2010/01/29 21:04:55 UTC
G2.2, WSGEN fails
Hello,
I have a POJO class with WS annotations that deploys fine on G2.1.3.
When I try to deploy it on G2.2, WSDL generation fails.
Offending code:
HttpSession session =
((javax.servlet.http.HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
if(session == null) throw new WebServiceException("This web service
requires web sessions. Make sure your web service client allows for
sessions.");
One of the errors:
java:9: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
I took the WSGEN command and ran it manually, without a hitch.
Any suggestions?
Thanks,
Eric
--
View this message in context: http://old.nabble.com/G2.2%2C-WSGEN-fails-tp27377578s134p27377578.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: G2.2, WSGEN fails
Posted by ericp56 <er...@twcable.com>.
https://issues.apache.org/jira/browse/GERONIMO-5143
https://issues.apache.org/jira/browse/GERONIMO-5143
--
View this message in context: http://old.nabble.com/G2.2%2C-WSGEN-fails-tp27377578s134p27552228.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: G2.2, WSGEN fails
Posted by Kevan Miller <ke...@gmail.com>.
On Feb 11, 2010, at 1:14 PM, ericp56 wrote:
>
> Hmm,
>
> It only fails when I include the source files in the WAR.
Heh. Nice... You should create a Jira.
--kevan
Re: G2.2, WSGEN fails
Posted by ericp56 <er...@twcable.com>.
Hmm,
It only fails when I include the source files in the WAR.
Strange.
Eric
--
View this message in context: http://old.nabble.com/G2.2%2C-WSGEN-fails-tp27377578s134p27551947.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.