thank you for your prompt reply.
If I don't set webroot, then I always get error
Code:
Exception when loading from __USE_CONTAINER__/isomorphic/system/schema/builtinTypes.xml: java.io.IOException: Configured for containerIO, but servletContext not available! You need to install the Init servlet
"Because we are not running inside a servlet container, Smart GWT's built-in logic to work out where its application root is does not work. Therefore, you need to manually set a "webRoot" in your server.properties file. The webRoot should point to the root folder of your application."
In my app, "SmartGWT" should just do this job:
Code:
DSRequest request = new DSRequest("datasourceName", DataSource.OP_FETCH); DSResponse response = request.execute();
1) /shared/ds/"datasourceName".ds.xml (copied from our "real project")
2) /verification/sc/system/schema/ (Action.ds.xml,.., builtinTypes.xml,...).
But how to tell SmartGWT where to find "war" folder? Because in my case it obviously does not find it and I can't link it as "absolute path" because my goal is to have a java app "verification.jar"- one single .jar file that does all the work and contains all the necessary data for that work.
Best regards
Pavo
Leave a comment: