Starting and Stopping

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Starting and Stopping

Keith H
Hello All,

I’m new to xwiki, and have lots of questions.

Running xwiki 9.1.2 on Mac OS X, lion, on an old mac. Its looking pretty
good but…

1. Starting up there are some error messages, and I don’t know how
seriously to take them.

2017-03-08 15:37:36.509:WARN:oeja.AnnotationConfiguration:main:
ServletContainerInitializers: detected. Class hierarchy: empty
2017-03-08 15:38:03,012 [main] WARN  o.r.Reflections                -
could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url,
no matching UrlType was found
[file:/System/Library/Java/Extensions/QTJava.zip]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use
the static setDefaultURLTypes(final List<UrlType> urlTypes) or
addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
        at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
        at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
        at org.reflections.Reflections.scan(Reflections.java:237)
        at org.reflections.Reflections.scan(Reflections.java:204)
        at org.reflections.Reflections.<init>(Reflections.java:129)
        at
org.xwiki.extension.maven.internal.MavenExtensionScanner.scan(MavenExtensionScanner.java:150)

2. The soft shutdown ./stop_xwiki.sh never works, it always goes in for
the kill.

any thoughts?

thanks in advance

Keith
Reply | Threaded
Open this post in threaded view
|

Re: Starting and Stopping

Thomas Mortagne
Administrator
On Wed, Mar 8, 2017 at 4:41 PM, Keith H <[hidden email]> wrote:

> Hello All,
>
> I’m new to xwiki, and have lots of questions.
>
> Running xwiki 9.1.2 on Mac OS X, lion, on an old mac. Its looking pretty
> good but…
>
> 1. Starting up there are some error messages, and I don’t know how seriously
> to take them.
>
> 2017-03-08 15:37:36.509:WARN:oeja.AnnotationConfiguration:main:
> ServletContainerInitializers: detected. Class hierarchy: empty
> 2017-03-08 15:38:03,012 [main] WARN  o.r.Reflections                - could
> not create Vfs.Dir from url. ignoring the exception and continuing
> org.reflections.ReflectionsException: could not create Vfs.Dir from url, no
> matching UrlType was found [file:/System/Library/Java/Extensions/QTJava.zip]
> either use fromURL(final URL url, final List<UrlType> urlTypes) or use the
> static setDefaultURLTypes(final List<UrlType> urlTypes) or
> addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
>         at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
>         at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
>         at org.reflections.Reflections.scan(Reflections.java:237)
>         at org.reflections.Reflections.scan(Reflections.java:204)
>         at org.reflections.Reflections.<init>(Reflections.java:129)
>         at
> org.xwiki.extension.maven.internal.MavenExtensionScanner.scan(MavenExtensionScanner.java:150)

This warning means that XWiki found something it does not understand
in the classloader (QTJava.zip which indeed looks a bit weird from
Java point of view) but from what I see I don't think you need to
worry here. XWiki scan the classloader to find what is already there
(so that you don't end up installing it again as a dependency of some
extension).

>
> 2. The soft shutdown ./stop_xwiki.sh never works, it always goes in for the
> kill.

For this one I don't know. I don't have access to a Mac but AFAIK it's
supposed to work well. Any specific error when you run it ?

>
> any thoughts?
>
> thanks in advance
>
> Keith



--
Thomas Mortagne
Reply | Threaded
Open this post in threaded view
|

Re: Starting and Stopping

Keith H
>>
>> 2. The soft shutdown ./stop_xwiki.sh never works, it always goes in
>> for the
>> kill.
>
> For this one I don't know. I don't have access to a Mac but AFAIK it's
> supposed to work well. Any specific error when you run it ?
>

t0 = Shutdown initiated

2017-03-08 20:27:46.627:INFO:oxtjl.NotifyListener:ShutdownMonitor:
----------------------------------
2017-03-08 20:27:46.627:INFO:oxtjl.NotifyListener:ShutdownMonitor:
Server stopping, please wait while all resources are closed...
2017-03-08 20:27:46.638:INFO:oejs.ServerConnector:ShutdownMonitor:
Stopped ServerConnector@22da3949{HTTP/1.1}{0.0.0.0:8080}


t0

./stop_xwiki.sh
Attempting to stop XWiki cleanly on port 8080...
Failed to stop XWiki cleanly, attempting kill...

I am thinking that perhaps it didn’t give it enough time.

Keith
Reply | Threaded
Open this post in threaded view
|

Re: Starting and Stopping

Keith H


On 8 Mar 2017, at 20:31, Keith H wrote:

>>>
>>> 2. The soft shutdown ./stop_xwiki.sh never works, it always goes in
>>> for the
>>> kill.
>>
>> For this one I don't know. I don't have access to a Mac but AFAIK
>> it's
>> supposed to work well. Any specific error when you run it ?
>>
>
> t0 = Shutdown initiated
>
> 2017-03-08 20:27:46.627:INFO:oxtjl.NotifyListener:ShutdownMonitor:
> ----------------------------------
> 2017-03-08 20:27:46.627:INFO:oxtjl.NotifyListener:ShutdownMonitor:
> Server stopping, please wait while all resources are closed...
> 2017-03-08 20:27:46.638:INFO:oejs.ServerConnector:ShutdownMonitor:
> Stopped ServerConnector@22da3949{HTTP/1.1}{0.0.0.0:8080}
>
>
> t0
>
> ./stop_xwiki.sh
> Attempting to stop XWiki cleanly on port 8080...
> Failed to stop XWiki cleanly, attempting kill...
>
> I am thinking that perhaps it didn’t give it enough time.
>
> Keith

I extended the wait time in ./stop_swiki.sh and it does indeed take 36
seconds.

K.