I have gone thru
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging. As per
logback.xml(inside in MyApp/WEB_INF/classes), looks like it relies on the
fact that container will redirect all the console to logfile automaticcaly.
But it is not happening. I am using tomcat 6. i want to put all the
possible logs i.e log.info.log.warn,log.error,log.debug,log.fatal inside
log file
For logging i am using below code snippet
private static final Log log =
org.apache.commons.logging.LogFactory.getLog(AuthServiceImpl.class);//
declared as insiance variable under AuthServiceImpl.class
then in my public method i am doing the logging as
log.error("Testing AuthServiceImpl Reply = ");
But its printing the logs on tomcat console. Guys really i have no idea
how to print the to file instead of console.Inside logback.xml(inside in
MyApp/WEB_INF/classes)
i can see below setting. I have really no idea what is happening?
Thanks in advance.
Hi, all,
I logged in as an administrator, I like to create a new page under jQuery
with this URL:
http://mydomain/xwikim/bin/create/jQuery/WebHome
when I click the Create button, it always redirected me to localhost as
following:
http://localhost/xwikim/bin/edit/jQuery/jQueryUICustom?template=&parent=jQu…
which caused error message: Unable to connect, I tried to create from Main
space, also the same problem and redirected me to:
http://localhost/xwikim/bin/edit/Main/jQueryUICustom?template=&parent=Main.…
when this happens, I have to replace the localhost with mydomain on browser
address and press enter to bring up the page, this happened to me many
times when I need to do edit action, when it is view action, it works
perfectly, I have httpd apache webserver in front of tomcat, in apache
config file, my setup is:
ProxyPass /xwikim http://localhost:8082/xwikim
ProxyPassReverse /xwikim http://localhost:8082/xwikim
In tomcat server.xml file, the setup is:
<Connector port="*8082*" maxThreads="*150*"
minSpareThreads="*25*"maxSpareThreads
="*75*" enableLookups="*false*" acceptCount="*100*" connectionTimeout="*
20000*" proxyPort="*80*" disableUploadTimeout="*true*" />
I feel this setup should be ok, since it works all the time except
sometimes it does not work for edit action or login.
Does anybody have ideas about what happened and how to fix?
Thanks very much in advance.
Dave
Hi evereyone,
Maybe this question is already answered but I couldn't find it out...
Is posible to have a global dashboard at Main Wiki (with XWiki Manager)
showing the activity of all wikis in a wiki farm?
Thanks in advance.
Regards,
Iago
--
View this message in context: http://xwiki.475771.n2.nabble.com/Global-Dashboard-with-activity-of-all-wik…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello!
I have a question: I have an xwiki farm with multiple (3) wikis installed. Today I realized that the search engine display the results from all wikis and not only from the one I currently use. How can I change this?
Thanks,
Florian
>On 04/19/2012 12:34 PM, Joel Forsberg wrote:
>> Hello!
>> I've just upgraded both operating system (Fedora 17) and Xwiki to 4.0 RC-1 and got an issue with the formula macro. Whenever I use it, the resulting image created is 1020x1320 pixels big, mostly empty except for the (correctly sized) formula placed in the bottom left corner of the .png image.
>Thu Apr 19 17:49:52 UTC 2012 Sergiu Dumitriu wrote:
>It works fine for me, so let's try and see where the problem occurs.
>Start by putting this into a tex file called a.tex:
>http://pastebin.com/8Tx92S5L
>The renderer uses a three-step process, tex->dvi, dvi->ps, ps->png.
>Let's try them out in order:
>latex --interaction=nonstopmode a.tex
>This should produce a.dvi, which should be a very big page with only the formula in the center, no other text. Check if there are any errors displayed there. Try without --interaction to make latex stop at errors.
>dvips -E a.dvi -o a.ps
>This should produce a.ps, which should be tightly cropped around the
>formula. If it isn't then there's a problem, maybe dvips doesn't support
>the -E parameter.
>convert -density 120 a.ps a.png
>This should produce a.png, having the same size as the ps.
>For reference, here's what I have locally (texlive installation):
>$ latex --version
>pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011)
>kpathsea version 6.0.1
>$ dvips --version
>This is dvips(k) 5.991 Copyright 2011 Radical Eye Software
Thanks for the quick reply.
My texlive seem to produce a PostScript file that displays okay, but somehow the convert step sets the canvas size to 1020x1320
Adding a -trim parameter to will work around the problem, such as:
convert -trim -density 120 a.ps a.png
I'll look for a mention of this behavior for Imagemagick shortly (need food)
(Sorry for messing up the thread, I guess..)
-----
For reference:
The files I produced: http://www.mediafire.com/file/6qv8tty0pn1nyz0/formula_test2.tar.bz
debug output of convert-step: http://pastebin.com/FdJPEYwr
convert -version
Version: ImageMagick 6.7.5-6 2012-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
latex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Compiled with libpng 1.5.8; using libpng 1.5.10
Compiled with zlib 1.2.5; using zlib 1.2.5
Compiled with libpoppler
dvips --version
dvips(k) 5.96.1
kpathsea version 3.5.6
-----
Hi!
I experienced the same problem in 3.0: two spaces with the same names and i can't delete it also because of
Error number 0 in 11: Uncaught exception
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: null
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:240)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.doc.XWikiAttachment.toStringXML(XWikiAttachment.java:333)
at com.xpn.xwiki.store.VoidAttachmentVersioningStore$VoidAttachmentArchive.getArchive(VoidAttachmentVersioningStore.java:143)
at com.xpn.xwiki.doc.XWikiAttachmentArchive.getArchive(XWikiAttachmentArchive.java:126)
at com.xpn.xwiki.doc.XWikiAttachment.toXML(XWikiAttachment.java:422)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4024)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4102)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:3851)
at com.xpn.xwiki.doc.XWikiDocument.toFullXML(XWikiDocument.java:3769)
at com.xpn.xwiki.doc.XWikiDeletedDocument.setDocument(XWikiDeletedDocument.java:193)
at com.xpn.xwiki.doc.XWikiDeletedDocument.<init>(XWikiDeletedDocument.java:89)
at com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:4319)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:4299)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:6228)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:6217)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
> > Are you sure there is only one page ? Maybe you have a "WebHome" page
> > too in this spaces ? Did you checked with document index ?
I have several pages inside problematic space and no WebHome in it. None of these pages could be deleted.
So, now I'm waiting for the upgrade to export necessary spaces and import them back after dropping database :-((
Kind Regards,
Dmitry
Thu, 19 Apr 2012 13:26:12 +0100 от Martin Evans <website(a)studenthubs.org>:
> I am on Main.AllDocs and I enter '+' into the space field and two documents
> show up - try it yourself http://bit.ly/J7oIGU
>
> I don't want these pages or spaces to exist so I press delete. It tells me
> the page does not exist when I try this.
>
>
> > Are you sure there is only one page ? Maybe you have a "WebHome" page
> > too in this spaces ? Did you checked with document index ?
> >
> > How do you delete/access the page ?
> >
> > On Wed, Apr 18, 2012 at 6:54 PM, Martin Evans <website(a)studenthubs.org>
> > wrote:
> > > I currently have two spaces, one called "Environment And Sustainability"
> > > and the other called "Environment+And+Sustainability". If I try to delete
> > > the only page in the erroneous space it says "The requested document
> > could
> > > not be found". So if the page isn't there, why is the space there?
> > >
> > > Martin
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Kind regards,
Dmitry
Hello!
I've just upgraded both operating system (Fedora 17) and Xwiki to 4.0 RC-1 and got an issue with the formula macro. Whenever I use it, the resulting image created is 1020x1320 pixels big, mostly empty except for the (correctly sized) formula placed in the bottom left corner of the .png image.
Does anyone have an idea what might cause this?
Kind regards, and thanks. Joel
I currently have two spaces, one called "Environment And Sustainability"
and the other called "Environment+And+Sustainability". If I try to delete
the only page in the erroneous space it says "The requested document could
not be found". So if the page isn't there, why is the space there?
Martin