2011/10/28 Yang Li <[email protected]>:
> 于 2011/10/27 22:20, Thomas Mortagne 写道:
>> 2011/10/27 Yang Li <[email protected]>:
>>> 于 2011/10/27 21:38, Thomas Mortagne 写道:
>>>> this script is supposed to tell you all it did so theses messages are
>>>> normal. What weird is that you get nothing, it's supposed to log
>>>> everything its doing so when it does work you should get informations
>>>> on the log.
>>>>
>>> I checked tomcat7-stderr.2011-10-27.txt and
>>> localhost_access_log.2011-10-27.txt when I
>>> tried to import something with LargeWikiImport page, nothing wrong was
>>> logged.
>> Could you check catalina.out ?
>>
> *In the localhost_access_log.2011-10-27*
>
> 10.92.1.226 - - [27/Oct/2011:02:09:22 +0800] "GET
> /xwiki/bin/view/XWiki/LargeWikiImport HTTP/1.1" 200 5991
> 10.92.1.226 - - [27/Oct/2011:02:09:22 +0800] "POST
> /xwiki/bin/get/XWiki/LargeWikiImport?xpage=xpart&vm=commentsinline.vm
> HTTP/1.1" 200 1589
> 10.92.1.226 - - [27/Oct/2011:02:09:35 +0800] "POST
> /xwiki/bin/view/XWiki/LargeWikiImport HTTP/1.1" 200 6258
> 10.92.1.226 - - [27/Oct/2011:02:09:35 +0800] "POST
> /xwiki/bin/get/XWiki/LargeWikiImport?xpage=xpart&vm=commentsinline.vm
> HTTP/1.1" 200 1589
> 10.92.1.226 - - [27/Oct/2011:02:16:02 +0800] "POST
> /xwiki/bin/view/XWiki/LargeWikiImport HTTP/1.1" 200 15563
> 10.92.1.226 - - [27/Oct/2011:02:16:03 +0800] "POST
> /xwiki/bin/get/XWiki/LargeWikiImport?xpage=xpart&vm=commentsinline.vm
> HTTP/1.1" 200 1584
> 10.92.1.226 - - [27/Oct/2011:02:16:47 +0800] "GET
> /xwiki/bin/view/Main/WebHome HTTP/1.1" 200 8490
>
> *In the catalina.2011-10-27.log*
>
> 2011-10-27 2:06:37 org.apache.catalina.startup.Catalina start
> 信息: Server startup in 9075 ms
> 2011-10-27 2:18:47 org.apache.catalina.core.AprLifecycleListener init
> 信息: Loaded APR based Apache Tomcat Native library 1.1.22.
>
>
> Nothing is logged during 2:09-2:16 in catalina.2011-10-27. Besides the
> "POST" seems to contain no filename of my xar file?

I just aded a

System.out.println("Start importing file [" + file + "]");

at the beginning of the script to that you can make sure where the log
really is and what the script tries to do when you get nothing.

>
>
>
>>> It seems XE doesn't find the targeted xar file, just a guess...
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to