Hi,
I’m trying to evaluate the Version smartgwtee-2.0 for a new Project. We have a lot of CRUD-Views so the SQLDataSource would be very important for us.
The client GUI works very well, but if I try to connect to a Oracle database the Datasource is not loaded (datasource=null).
Environment:
Java 6
GWT 2.0
Eclipse 3.5
Code snippet to load the datasource:
In the adminConsole I can see the DataSource and I can see the database content. So the configuration seems correct. In my gwt.xml file I included “com.smartgwtee.SmartGwtEE”.
After loading the HTML page I see the following message:
“The DataSourceLoader servlet is not installed”.
The configutation of the Datasource-Loader in the web.xml is:
Do you have any hints for me?
Regards
Chris
BTW:
With the GWT Version 2.0 the tools directory is not automatically generated.
I’m trying to evaluate the Version smartgwtee-2.0 for a new Project. We have a lot of CRUD-Views so the SQLDataSource would be very important for us.
The client GUI works very well, but if I try to connect to a Oracle database the Datasource is not loaded (datasource=null).
Environment:
Java 6
GWT 2.0
Eclipse 3.5
Code snippet to load the datasource:
Code:
public void onModuleLoad() {
final TreeGrid employeeTreeGrid = new TreeGrid();
employeeTreeGrid.setWidth(500);
employeeTreeGrid.setHeight(400);
employeeTreeGrid.setNodeIcon("icons/16/person.png");
employeeTreeGrid.setFolderIcon("icons/16/person.png");
employeeTreeGrid.setShowOpenIcons(false);
employeeTreeGrid.setShowDropIcons(false);
employeeTreeGrid.setClosedIconSuffix("");
employeeTreeGrid.setAutoFetchData(true);
DataSource ds = DataSource.get("employees");
employeeTreeGrid.setDataSource(ds);
...
After loading the HTML page I see the following message:
“The DataSourceLoader servlet is not installed”.
The configutation of the Datasource-Loader in the web.xml is:
Code:
<servlet>
<servlet-name>DataSourceLoader</servlet-name>
<servlet-class>com.isomorphic.servlet.DataSourceLoader</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DataSourceLoader</servlet-name>
<url-pattern>/sdom_prototyp/sc/DataSourceLoader</url-pattern>
</servlet-mapping>
Regards
Chris
BTW:
With the GWT Version 2.0 the tools directory is not automatically generated.
Comment