Vanilla-fresh Jetty 9.0.3.v20130506 (latest at this moment of posting this)
doesn't expose oej.servlets.* from jetty-servlets-x.jar.

libor@pc-libor ~/tmp/jetty-distribution-9.0.3.v20130506$ java -jar
start.jar --dry-run | grep servlets

prints nothing...

​
--
Hezky den / Have a nice day
Libor JELÍNEK
​http://devblog.virtage.com/libor-jelinek/​​
https://twitter.com/liborjelinek


On Fri, May 24, 2013 at 3:30 PM, Jesse McConnell
<[email protected]>wrote:

> I just double checked the webapp context and o.e.j.servlets should be
> exposed.
>
> you see jetty-servlets in your startup when you run
>
> java -jar start.jar --dry-run
>
> correct?
> jesse
>
> --
> jesse mcconnell
> [email protected]
>
>
> On Fri, May 24, 2013 at 8:18 AM, Libor Jelinek <[email protected]>wrote:
>
>> My app have empty WEB-INF/lib/.jetty-servlets-9.0.3.v20130506.jar
>> containing oej.servlets.CGI class is already in $JETTY_HOME/lib/ therefore
>> on "global classpath" visible to all webapps. At least in 8.x having this
>> jetty-servlets-8.x.jar in $JETTY_HOME/lib/ was enough to use
>> oej.servlets.CGI from any deployed webapp.
>>
>> Did change something related to issue in 9.x? Thanks.
>>
>> ​
>> --
>> Hezky den / Have a nice day
>> Libor JELÍNEK
>> ​http://devblog.virtage.com/libor-jelinek/​​
>> https://twitter.com/liborjelinek
>>
>>
>> On Fri, May 24, 2013 at 1:08 PM, Jesse McConnell <
>> [email protected]> wrote:
>>
>>> you have the jetty-servlets and any other dependencies in your
>>> web-inf/lib?
>>>
>>> --
>>> jesse mcconnell
>>> [email protected]
>>>
>>>
>>> On Fri, May 24, 2013 at 3:40 AM, Libor Jelinek <[email protected]>wrote:
>>>
>>>> Hello Jetty-users!
>>>> In Jetty 9.0.3.v20130506 I can't use org.eclipse.jetty.servlets.CGI
>>>> because it's not found by Jetty.
>>>>
>>>> This is my web.xml:
>>>>
>>>>   <servlet>
>>>>         <servlet-name>PHP</servlet-name>
>>>>         <servlet-class>org.eclipse.jetty.servlets.CGI</servlet-class>
>>>>         <init-param>
>>>>             <param-name>commandPrefix</param-name>
>>>>             <param-value>php-cgi</param-value>
>>>>         </init-param>
>>>>    </servlet>
>>>>
>>>>     <servlet-mapping>
>>>>         <servlet-name>PHP</servlet-name>
>>>>         <url-pattern>*.php</url-pattern>
>>>>     </servlet-mapping>
>>>>
>>>> And starting Jetty with no config file modified
>>>>    java -jar start.jar
>>>>
>>>> I see
>>>>    java.lang.ClassNotFoundException: org.eclipse.jetty.servlets.CGI
>>>>    ...
>>>>    javax.servlet.UnvailableException: org.eclipse.jetty.servlets.CGI
>>>>
>>>> Same web.xml works in Jetty 8.x. I've also noticed that other default
>>>> servlets cannot be found. What changed in 9.x?
>>>>
>>>> Thanks.
>>>>
>>>> ​
>>>> --
>>>> Hezky den / Have a nice day
>>>> Libor JELÍNEK
>>>> ​
>>>> ​http://devblog.virtage.com/libor-jelinek/​​
>>>> ​
>>>> https://twitter.com/liborjelinek
>>>>
>>>> _______________________________________________
>>>> jetty-users mailing list
>>>> [email protected]
>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to