[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-development
Subject:    JAX-RS: Multiple Application instance when application started
From:       Alex Rozhdestvensky <christmas () inbox ! ru>
Date:       2016-08-18 11:48:17
Message-ID: 1471520897585-4679798.post () n4 ! nabble ! com
[Download RAW message or body]

I try create one instance of my custom application which extend
javax.ws.rs.core.Application, but when it begin run my custom application
created at multiple times.

@ApplicationPath("services")
public class AcceptorApplication extends Application {
   ...
}

Log output:
2016-08-18T17:30:31,837 [INFO ] (AcceptorApplication.java:51) - Acceptor
application created
2016-08-18T17:30:31,860 [INFO ] (AcceptorApplication.java:51) - Acceptor
application created
2016-08-18T17:30:32,076 [DEBUG] (AcceptorInitializer.java:30) - Acceptor
initializer created
2016-08-18T17:30:32,418 [DEBUG] (AcceptorContextConfig.java:33) - Acceptor
context config created
2016-08-18T17:30:32,618 [INFO ] (AcceptorApplication.java:51) - Acceptor
application created

Such behavior doesn't have place in GlassFish server. I need only one
instance of my extension. 



--
View this message in context: \
http://tomee-openejb.979440.n4.nabble.com/JAX-RS-Multiple-Application-instance-when-application-started-tp4679798.html
 Sent from the TomEE Dev mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic