tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From herau <leboulanger.aurel...@gmail.com>
Subject Re: IllegalArgument TomEEJaxRsService
Date Wed, 02 Jul 2014 15:16:17 GMT
If i set in my system.properties this property :

*openejb.jaxrs.application = false*

i can go to my index page but my rest ressources doesn't works.

my index page is rendered with spring mvc but my rest api is managed by
jersey (through a filter declared in spring security)

any known issue with spring mvc
and org.springframework.security.web.FilterChainProxy ?



2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
leboulanger.aurelien@gmail.com>:

> i run only one instance of tomee.
>
> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to add the
> jersey property.
>
> i have the same issue with the tomee plugin :
>
> <plugin>
>                 <groupId>org.apache.openejb.maven</groupId>
>                 <artifactId>tomee-maven-plugin</artifactId>
>                 <version>1.6.0</version>
>                 <configuration>
>                     <systemVariables>
>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>                     </systemVariables>
>                     <!--<path>/wp</path>-->
>                     <context>wp</context>
>                     <tomeeClassifier>plus</tomeeClassifier>
>                      <libs>
>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
>                     </libs>
>                 </configuration>
>             </plugin>
>
>
>
>
> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4670267h98@n4.nabble.com>:
>
>  hi
>>
>> yes the conf/system.property is global.
>>
>> I use jersey with 1.6.0.2 without much more than this property.
>>
>> something is weird, dont you have another tomee instance running
>> somewhere? seems you run on webprofile but then the error can't happen
>> since these classes are nor here
>>
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>>
>> > maybe helpful to known that when i launch TomEE, i have this kind of
>> logs :
>> >
>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> > optionalService
>> > INFO: Optional service not installed:
>> > org.apache.tomee.webservices.TomeeJaxRsService
>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> > optionalService
>> > INFO: Optional service not installed:
>> > org.apache.tomee.webservices.TomeeJaxWsService
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>>
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message