2008-07-06から1日間の記事一覧

java.netでエラー

web

HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. except…

groovy.codehaus.org でエラー

web

Resinでうごいているようだ。 com.openxource.unity.beans はTemplateEngineなのか? I/O error while communicating with HTTP server: Read timed out com.openxource.unity.providers.confluence.ConfluencePageProviderImpl.getPage(ConfluencePageProvi…

HotDeployってsuffixしか指定できないのか

またHotDeployではまった。Creatorをつくって回避した。

SyslogAppender

SyslogAppenderを使うと文字化けした(Widows→Linux)。 http://www.in-vitro.jp/blog/index.cgi/Library/20070524_01.html をみて拡張したが結局文字化けする。 Linuxで実行だと文字化けしないので調査はやめる。

Tomcatに環境依存の設定

サーバー全体 web.xml(%TOMCAT_HOME%\conf\web.xml) <context-param> <param-name>key</param-name> <param-value>value</param-value> </context-param> Webアプリごと(Tomcatの設定なのでマシンごとになる) context.xml(%TOMCAT_HOME%\conf\Catalaina\localhsot\context.xml) Webアプリごと(どのマシンでも同じ) web.xml(WEB-INF/web.xml) <context-param> </context-param>

web.xml のerror-page

以下のようにかくとエラーにならず最後のみ有効になる。orz <error-page> <error-code>404</error-code> <location>/error/404.html</location> <error-code>500</error-code> <location>/error/500.html</location> </error-page>

Eclipseが強制終了する場合

eclipse -vm c:\dev\java-1.6.0-06\bin\javaw.exe VMをきちんと指定する。

groovyshがやっとつかえるようになった。

http://groovy.codehaus.org/Groovy+Shell#GroovyShell-Troubleshooting groovysh --terminal=none そんなわなが。なぜこれがdefaultじゃないんだ。。