Campster wrote:
>
>
> It appears that it gets stuck in Catalina.start() in the main thread.
> Tomcat initializes, but since Catalina is frozen none of the servlets
> start and as a result the fact that Tomcat is operational is sort of moot.
>
> When I pause the thread once it's stuck the stack I get is the following:
>
> PlainSocketImpl.socketAccept(SocketImpl) line: not available [native
> method]
> SocksSocketImpl(PlainSocketImpl).accept(SocketImpl) line: not available
> ServerSocket.implAccept(Socket) line: not available
> ServerSocket.accept() line: not available [local variables unavailable]
> StandardServer.await() line: 513
> Catalina.await() line: 619
> Catalina.start() line: 579
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
> available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
> Method.invoke(Object, Object...) line: not available
> Bootstrap.start() line: 287
> Bootstrap.main(String[]) line: 425
>
>
Also it seems to be happening not just to our proprietary classes, but other
oddly selective classes as well.
If I try to setup a Date as a WebParam to a WebMethod, it will work if I use
java.util.Date, but if I use java.sql.Date I get the same Catalina freezing
issue.
--
View this message in context:
http://www.nabble.com/Tomcat-freezing-when-trying-to-instantiate-CXF-Service-tp19652541p19669115.html
Sent from the cxf-user mailing list archive at Nabble.com.