フォトアルバム

2008年10月

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

なかのひと

アンケート

  • Do you Like?
    アンケート
    どのColdfusion用フレームワークが好き?
    ModelGlue:Unity
    ModelGLue
    Mach-II
    FuseBox
    LiteWire
    OnTap
    ColdBox
    OnAir
    cfWheels
    CFRails

    [PR]アンログ.jp 自動車保険

373news.com

想ひ出

  • 桜島 from 錦江高原ホテル
    携帯で撮った写真をアルバムにしています。

サムネイル

  • CF-OOP









  • ganymean.org









  • シナプス

Google Analytics

Answer from Railo developper!

ModelGlue3(Gesture)がRailoでエラーメッセージを吐く事象について、ModelGlue-MLとRailo-MLに各々投げました。結果、以下のようになりましたー。

1 Create Java Object エラー
  Railoのバグ:ネクストリリースでバグフィックス予定。

2 include .cfm インクルードエラー
  Railoの仕様(ポリシー)
  以下のステートメントは、認めない。

<cfset this = variablues />

   以下のステートメントで代用。

<cfloop collection="#variables#" item="key">
    <cfset this[key]=variables[key] />
</cfloop>

  パッチファイルをModelGlue-MLに投げました・・・


Do not work the gesture helpers on Railo!

Railo3.0(Ver3.0.0.005 for Windows)で、Model-Glue 3.0(Gesture)のサンプルアプリケーションを動かしてみた。
helpers機能を利用するサンプリアプリケーションが動作しない。
問題は2つあるようだ。

1.MathLib.cfm
 インクルードエラー(Include error)

 MathLib.cfmを直接コールしてみると、次のようなエラーが返される。RailoのMLに問い掛け中・・・

Railo 3.0.0.005 Error (Java.lang.verifyerror)
Message (class: modelglue/helpers/cflib/mathlib$cfm, method: udfCall8 signature: (Lrailo/runtime/PageContext;Lrailo/runtime/type/UDF;I)Ljava/lang/Object;) Illegal target of jump or branch
Java Stacktrace
(class: modelglue/helpers/cflib/mathlib$cfm, method: udfCall8 signature: (Lrailo/runtime/PageContext;Lrailo/runtime/type/UDF;I)Ljava/lang/Object;) Illegal target of jump or branch
at java.lang.Class.getDeclaredConstructors0(Native Method):-2
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source):-1
at java.lang.Class.getConstructor0(Unknown Source):-1
at java.lang.Class.newInstance0(Unknown Source):-1
at java.lang.Class.newInstance(Unknown Source):-1
at railo.runtime.PageSourceImpl.a(Unknown Source):-1
at railo.runtime.PageSourceImpl.a(Unknown Source):-1
at railo.runtime.PageSourceImpl.loadPage(Unknown Source):-1
at railo.runtime.PageContextImpl.include(Unknown Source):-1
at railo.runtime.listener.ClassicAppListener._onRequest(Unknown Source):-1
at railo.runtime.listener.MixedAppListener.onRequest(Unknown Source):-1
at railo.runtime.PageContextImpl.execute(Unknown Source):-1
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
at javax.servlet.http.HttpServlet.service(HttpServlet.java:91):91
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103):103
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175):175
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240):240
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263):263
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481):481
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685):685
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607):607
at java.lang.Thread.run(Unknown Source):-1

2.IncludeHelperShell.cfc
  インクルードCFMのCFC関数化ができていない。
 Coldfusionでは動作する以下のステートメントがRailo3.0では無視される・・・
 <cfset this = variables />

 結果として、該当ファンクション無しエラーが発生。
 RailoでのDUMP結果は以下のとおり。Railo固有のバグか・・・

Component (ModelGlue.gesture.helper.Helpers)
Only the function and data member that are accesible from your location are displayed
Hint I act as a target for the helpers loaded into a Model-Glue application.
public
DateLib
Component (ModelGlue.gesture.helper.IncludeHelperShell)
Only the function and data member that are accesible from your location are displayed
Hint I am a shell CFC into which an include-based helper file is loaded.
public
INIT
init
Includes a .cfm's functions into this CFC.
Public Function init
arguments
label name required type default hint
TEMPLATE false string null
return type any

   

Railo3.0リリース!

「気楽に行こう」のブログで、Model-GlueがRailoで見事撃沈されたと紹介されていたのだが、RaymondがRailo3.0のリリースを紹介していたので、初めて試してみた・・・

  • CF8サポート
  • 非サポートは、一般Webアプリでは気にならない・・・
  • マルチメディア強化(CFVIDEO)

Model-Glue(Gesture)のサンプルアプリケーションを流してみたが、すべては通らないないようだ。
helper機能はNG。その他バグもあるみたい・・・
でも、Coldfusionと比較して軽いような印象をうける。今後、VPSサイトで運用できそうかかんじ・・・

Railoは、非日本語サポートなので、翻訳作業ボランティアに手をあげるかなあー。

私の経県値・・・149点

シナプスステーションのブログを見ていたら、経県値なるサービスが紹介されていたので、早速自分の経県値を出してみた。

な、なんと149点!結構、全国泊まり歩いたんだなーと、昔を懐かしんでしまった・・・

Model-Glue3.0のSES URLマネージャーの使用方法

Model-Glue3.0の新機能4:SES URLとURLマネージャー で紹介したSES URLについて、その使用方法が早速Model-Glueメーリングリストで話題になっていました。Doug Hughesがブログで取り上げた記事がまとまっているので紹介しておきます。

1つ目の方法:Model-Glue全体に適用する場合

  • Model-GlueコアファイルのModelGlueConfiguration.xmlの"modelglue.UrlManager" Beanのクラス属性値を直接書き換える。
  • 変更前:"ModelGlue.gesture.eventrequest.url.UrlManager"

<bean id="modelglue.UrlManager" class="ModelGlue.gesture.eventrequest.url.UrlManager">

	<property name="modelGlue">
<ref bean="modelglue.ModelGlue" />
</property>
</bean>
  • 変更後:"ModelGlue.gesture.eventrequest.url.SesUrlManager"

<bean id="modelglue.UrlManager" class="ModelGlue.gesture.eventrequest.url.SesUrlManager">

	<property name="modelGlue">
<ref bean="modelglue.ModelGlue" />
</property>
</bean>

2つ目の方法:アプリケーション毎に適用する場合

  • アプリケーション毎のColdSpring.xmlファイルに"modelglue.UrlManager" beanを定義する。

<bean id="modelglue.UrlManager" class="ModelGlue.gesture.eventrequest.url.SesUrlManager">
    <property name="modelGlue">
        <ref bean="modelglue.ModelGlue" />
    </property>
</bean>


 

ログイン

  • コントロールパネルへのログイン
    アカウント:

    パスワード:

PR情報

  • [[PR]]
  • おすすめバナー

更新ブログ

google Search

  • Google
    blog.ganymean.org
    WWW

最近のトラックバック

Google

SHINOBI

Powered by TypePad
Member since 04/2005