Hi,
I'm running MediaWiki 1.9.3 on a resin 3.1.2 system ( web.xml from the
webapps/wilki/WEB-INF directory below). While everything almost works (
only seem to have a problem with actually seeing uploaded images now) I
do have 1 major problem.
When you first connect to , or even access a new page it takes an age
before you actually see anything in your browser. Once you get to a page
there's no problem getting back to it. Go away for a day or so and try
and access the server and the same thing happens again. It's as if
quercus is recompiling the php again. Where would i look to see what's
going on?
The syslog file does have repeated occurrences of
java.lang.NullPointerException:
[08:36:01.148] at
com.caucho.quercus.lib.UrlModule.urlencode(UrlModule.java:191)
[08:36:01.148] at
com.caucho.quercus.lib.UrlModule.urlencode(UrlModule.java:181)
[08:36:01.148] at
_quercus._classes._Image__php$quercus_Image$fun_getTag.callMethod(_Image
__php.java:215)
[08:36:01.148] at
com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:739)
[08:36:01.148] at
com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:659
)
[08:36:01.148] at
_quercus._classes._AlbumItem__php$quercus_AlbumItem$fun_getThumbnailTag.
callMethod(_AlbumItem__php.java:1675)
[08:36:01.148] at
com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:688)
[08:36:01.148] at
com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:637
)
[08:36:01.148] at
_quercus._classes._Album__php$quercus_Album$fun_getThumbnailTag.callMeth
od(_Album__php.java:2965)
[08:36:01.148] at
com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:688)
[08:36:01.148] at
com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:637
)
[08:36:01.148] at
_quercus._rss__php$fun_getThumbs.call(_rss__php.java:455)
[08:36:01.148] at _quercus._rss__php.execute(_rss__php.java:161)
[08:36:01.148] at
com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
[08:36:01.148] at
com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServl
et.java:123)
[08:36:01.148] at
com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:35
0)
[08:36:01.148] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
[08:36:01.148] at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChai
n.java:103)
[08:36:01.148] at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:
159)
[08:36:01.148] at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.ja
va:175)
[08:36:01.148] at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.j
ava:240)
[08:36:01.148] at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[08:36:01.148] at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)
[08:36:01.148] at
com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
[08:36:01.148] at
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
[08:36:01.148] at java.lang.Thread.run(Thread.java:595)
In it. Is there any quercus specific logging i can turn on to see what's
happening? Can i turn on some form of caching?
Alex
<web-app xmlns="http://caucho.com/ns/resin">
<database jndi-name='jdbc/mediawiki'>
<driver
type="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
<url>jdbc:mysql://databases.hull.ac.uk:3306/comms_wiki</url>
<user>thisuser</user>
<password>andtheir password</password>
</driver>
</database>
<servlet-mapping url-pattern="*.php"
servlet-class="com.caucho.quercus.servlet.QuercusServlet">
<init>
<database>jdbc/mediawiki</database>
<compile>true</compile>
<script-encoding>ISO-8859-1</script-encoding>
<php-ini>
<sendmail_from>[EMAIL PROTECTED]</sendmail_from>
<!--
<smtp_username>my_email_username</smtp_username>
<smtp_password>my_email_password</smtp_password>
-->
</php-ini>
</init>
</servlet-mapping>
<welcome-file-list>index.php</welcome-file-list>
</web-app>
*****************************************************************************************
To view the terms under which this email is distributed, please go to
http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest