Hi,
I am new to this framework and if any body can help that would be greatly appreciated.
What i doing is calling calling a method with DMI(below is sample code ).
when i try to open this file from visual builder datasource it keep giving below error.
sp threw exception
java.lang.Exception: RequestContext is missing the ServletContext. Please ensur
e you privide either a PageContext, a Servlet, or a ServletContext to your Reque
stContex.instance() call.
at com.isomorphic.rpc.ServerObject.<init>(ServerObject.java:210)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:29
8)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:62
)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1172)
at org.apache.jsp.tools.visualBuilder.vbOperations_jsp._jspService(vbOpe
rations_jsp.java:97)
Datasource
<DataSource
ID="quartzSpringDMI"
serverType="generic"
>
<fields>
<field name="jobGroupName" type="text" length="20"/>
</fields>
<serverObject lookupStyle="spring" bean="jobGroupDao"/>
<operationBindings>
<binding operationType="fetch" serverMethod="fetch">
<serverObject lookupStyle="spring" bean="jobGroupDao"/>
</binding>
</operationBindings>
</DataSource>
I am new to this framework and if any body can help that would be greatly appreciated.
What i doing is calling calling a method with DMI(below is sample code ).
when i try to open this file from visual builder datasource it keep giving below error.
sp threw exception
java.lang.Exception: RequestContext is missing the ServletContext. Please ensur
e you privide either a PageContext, a Servlet, or a ServletContext to your Reque
stContex.instance() call.
at com.isomorphic.rpc.ServerObject.<init>(ServerObject.java:210)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:29
8)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:62
)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1172)
at org.apache.jsp.tools.visualBuilder.vbOperations_jsp._jspService(vbOpe
rations_jsp.java:97)
Datasource
<DataSource
ID="quartzSpringDMI"
serverType="generic"
>
<fields>
<field name="jobGroupName" type="text" length="20"/>
</fields>
<serverObject lookupStyle="spring" bean="jobGroupDao"/>
<operationBindings>
<binding operationType="fetch" serverMethod="fetch">
<serverObject lookupStyle="spring" bean="jobGroupDao"/>
</binding>
</operationBindings>
</DataSource>
Comment