Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Refactoring datasource, webroot problem

    Hello,

    I'm using Firefox 19.0.1, SmartGWT 3.1 and GWT SDK 2.4.0.

    I've to make some changes at my project, therefore I've to delete a lot of datasources and refactoring of my source code.

    While I try to delete some datasource I got a problem with the webroot path. Webroot is configured as autodetected in my server.properties (worked fine till my last changes).
    Server.properties:
    Code:
    webRoot: __AUTODETECT__
    My old datasource path looked like this:

    Code:
    src/main/webapp/ds/*some datasources* 
    src/main/webapp/ds/himkalk/*some datasources* 
    src/main/webapp/ds/himkalk/objects/*some datasources* 
    src/main/webapp/ds/shared/ds/*some datasources*
    I delete the ds-files under the first ds directory (and updated the loadDataSources.jsp file), so that it looks like this:

    Code:
    src/main/webapp/ds/ *empty, no ds-files*
    src/main/webapp/ds/himkalk/*some datasources* 
    src/main/webapp/ds/himkalk/objects/*some datasources* 
    src/main/webapp/ds/shared/ds/*some datasources*
    After this change I'll get an error (at the console), if I try to start my application.

    Code:
    ISC: Configuring log4j from: file:/C:/Development/Workspaces/HIMKalkulation/rim/target/classes/log4j.isc.config.xml
    === 2013-09-11 10:57:44,663 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Init
    === 2013-09-11 10:57:44,665 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
    === 2013-09-11 10:57:44,681 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
    === 2013-09-11 10:57:44,813 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/C:/Development/Workspaces/HIMKalkulation/rim/target/rim/WEB-INF/lib/isomorphic-core-rpc-3.1.jar!/framework.properties
    === 2013-09-11 10:57:44,814 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
    === 2013-09-11 10:57:44,815 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
    === 2013-09-11 10:57:44,819 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/C:/Development/Workspaces/HIMKalkulation/rim/target/rim/WEB-INF/lib/isomorphic-core-rpc-3.1.jar!/isc_interfaces.properties
    === 2013-09-11 10:57:44,819 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
    === 2013-09-11 10:57:44,822 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/Development/Workspaces/HIMKalkulation/rim/target/classes/server.properties
    === 2013-09-11 10:57:44,829 [main] INFO  Logger - Logging system started.
    === 2013-09-11 10:57:44,830 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (v8.3_2012-11-20/EVAL Deployment 2012-11-20) - Initialization Complete
    === 2013-09-11 10:57:44,833
    [main] ERROR ISCInit - Can't find marker file for webRoot: C:/Development/Workspaces/HIMKalkulation/rim/target/rim/Rim/sc for configured/autodetected webRoot - if you moved the 'isomorphic' directory, please set isomorphicPathRootRelative in server.properties to the new location and restart the servlet engine.
    === 2013-09-11 10:57:44,834 [main] INFO  ISCInit - WebRoot auto-detection failed - using container IO
    [WARN] 401 - GET /HimKalkulation.html?gwt.codesvr=127.0.0.1:9997 (127.0.0.1)
    I also tried to copy an other ds-file into the empty ds-folder, so that it looks like this:

    Code:
    src/main/webapp/ds/ *new ds-file*
    src/main/webapp/ds/himkalk/*some datasources* 
    src/main/webapp/ds/himkalk/objects/*some datasources* 
    src/main/webapp/ds/shared/ds/*some datasources*
    But I got the same error message. Do I have to make some configuration changes? I can't find the reason, for the webroot error. I already tried a gwt compile, it didn't help.

    #2
    I found the problem, was a failure at my source. Thread can be closed/deleted.

    Comment

    Working...
    X