Hi,
I am new to SmartGWT. Evaluating the product.
I can build, run and see examples in the ShowcaseEE sample without any error. Nice sets of examples btw.
I tried to build my own application based on the simple sample "built-in-ds". I did not find some kind of new project template, so I basically copy sample "built-in-ds" in new folder and rename it to "TestGWT" in all files of the sample.
I am able to build and start my simple application without error.
But when I click on the link in the “Development Mode” tab, it open my browser but I keep having a blank page with error in logs (see html file, java file and logs below). I can notice that it seems to try to recompress the application code after the initial attempt to display page and it give the error "ERROR Compression - Caught exception in doFilter() .... NO CONTENT". It happen for "TestGWT.html" and for "TestGWT.nocache.js".
******************************
I use:
- smartgwtee-5.0p 2015-05-06 (trial version)
- Google GWT 2.6.1
- Eclipse Luna 4.4 64 bit
- Java JDK 1.7 64 bit
- Chrome 43.0.2357.81 m
******************************
TestGWT.java:
package com.cgi.client;
import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.core.KeyIdentifier;
import com.smartgwt.client.util.PageKeyHandler;
import com.smartgwt.client.util.Page;
import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.layout.VStack;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class TestGWT implements EntryPoint {
/**
* This is the entry point method.
*/
public void onModuleLoad() {
KeyIdentifier debugKey = new KeyIdentifier();
debugKey.setCtrlKey(true);
debugKey.setKeyName("Q");
Page.registerKey(debugKey, new PageKeyHandler() {
public void execute(String keyName) {
SC.showConsole();
}
});
VStack vStack = new VStack();
vStack.setLeft(175);
vStack.setTop(75);
vStack.setWidth("70%");
vStack.setMembersMargin(20);
Label label = new Label();
label.setContents("<ul>" +
"<li>One</li>" +
"<li>Two</li>" +
"</ul>");
vStack.addMember(label);
vStack.draw();
}
}
******************************
testGWT.html:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- -->
<!-- Any title is fine -->
<!-- -->
<title>TestGWT</title>
<!-- IMPORTANT : You must set the variable isomorphicDir to [MODULE_NAME]/sc/ so that the SmartGWT resource are
correctly resolved -->
<script> var isomorphicDir = "TestGWT/sc/"; </script>
<!-- -->
<!-- This script loads your compiled module. -->
<!-- If you add any GWT meta tags, they must -->
<!-- be added before this line. -->
<script type="text/javascript" language="javascript" src="TestGWT/TestGWT.nocache.js"></script>
</head>
<!-- -->
<!-- The body can have arbitrary html, or -->
<!-- you can leave the body empty if you want -->
<!-- to create a completely dynamic UI. -->
<!-- -->
<body>
<!--load the datasources-->
<!-- <script src="TestGWT/sc/DataSourceLoader?dataSource=dmversion"></script> -->
<!-- OPTIONAL: include this if you want history support -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
</body>
</html>
******************************
Logs:
Running GPE launcher for GWT-2.6.x version.
Runing CodeServer with parameters: [-noprecompile, -port, 9876, -bindAddress, 127.0.0.1, com.cgi.testGWT]
workDir: C:\Users\TTSSH7~1\AppData\Local\Temp\gwt-codeserver-8578249528026765591.tmp
Module setup completed in 952 ms
The code server is ready.
Next, visit: http://127.0.0.1:9876/
[WARN] Server class 'com.isomorphic.base.InitListener' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/isomorphic_core_rpc.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.apache.log4j.Priority' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/log4j-1.2.15.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
ISC: Configuring log4j from: file:/W:/testGWT/war/WEB-INF/classes/log4j.isc.config.xml
[WARN] Server class 'org.apache.commons.collections.map.LinkedMap' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/commons-collections-3.2.1.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
=== 2015-06-09 08:38:24,819 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
=== 2015-06-09 08:38:24,820 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
[WARN] Server class 'isc.org.apache.oro.text.perl.Perl5Util' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/isc-jakarta-oro-2.0.6.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
=== 2015-06-09 08:38:25,130 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/X:/smartgwtee-5.0p/lib/isomorphic_core_rpc.jar!/framework.properties
=== 2015-06-09 08:38:25,130 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2015-06-09 08:38:25,140 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2015-06-09 08:38:25,140 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/X:/smartgwtee-5.0p/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
=== 2015-06-09 08:38:25,140 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2015-06-09 08:38:25,180 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/W:/testGWT/war/WEB-INF/classes/server.properties
=== 2015-06-09 08:38:25,180 [main] INFO Logger - Logging system started.
=== 2015-06-09 08:38:25,180 [main] DEBUG ConfigParser - Matched var name: gwtModuleName
=== 2015-06-09 08:38:25,190 [main] DEBUG ConfigParser - value after substitution: TestGWT/sc
=== 2015-06-09 08:38:25,190 [main] INFO ISCInit - Auto-detected webRoot - using: W:\testGWT\war
=== 2015-06-09 08:38:25,190 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v10.0p_2015-05-06/EVAL Deployment 2015-05-06) - Initialization Complete
[WARN] Server class 'org.hibernate.proxy.HibernateProxy' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/hibernate3.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'net.sf.cglib.transform.impl.InterceptFieldEnabled' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/cglib-2.2.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'com.isomorphic.compression.ServletCompression' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/isomorphic_compression.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
log4j:WARN Please initialize the log4j system properly.
Invoking Linker SmartGwtScriptInjector
Augmenting TestGWT.nocache.js to manually load the following script tags:
sc/initsc.js
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
Creating nocache file: W:\testGWT\war\TestGWT\TestGWT.nocache.js
To compile the module 'TestGWT' , visit:
http://127.0.0.1:9876/recompile/TestGWT?_callback=cback&user.agent=safari,gecko1_8,ie8,ie9,ie10
[WARN] Server class 'org.apache.commons.fileupload.FileItemFactory' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/commons-fileupload-1.2.1.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
=== 2015-06-09 08:38:52,949 [1-34] DEBUG ConfigParser - Matched var name: debug
=== 2015-06-09 08:38:52,949 [1-34] DEBUG ConfigParser - value after substitution: true
=== 2015-06-09 08:38:52,959 [1-34] DEBUG ConfigParser - Matched var name: gwtModuleName
=== 2015-06-09 08:38:52,959 [1-34] DEBUG ConfigParser - value after substitution: TestGWT/sc
=== 2015-06-09 08:38:52,967 [1-34] INFO Compression - /TestGWT.html: 0 -> 20 bytes
=== 2015-06-09 08:38:52,968 [1-34] ERROR Compression - Caught exception in doFilter() - for URI: /TestGWT.html
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:154)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:387)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)
=== 2015-06-09 08:38:53,142 [1-37] INFO Compression - /TestGWT/TestGWT.nocache.js: 10220 -> 3656 bytes
binding: user.agent=safari
Compiling module com.cgi.testGWT
Compiling 1 permutation
Compiling permutation 0...
Source Maps Enabled
Compile of permutations succeeded
Linking into C:\Users\TTSSH7~1\AppData\Local\Temp\gwt-codeserver-8578249528026765591.tmp\com.cgi.testGWT\compile-2\war\TestGWT; Writing extras to C:\Users\TTSSH7~1\AppData\Local\Temp\gwt-codeserver-8578249528026765591.tmp\com.cgi.testGWT\compile-2\extras\TestGWT
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/initsc.js
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
Invoking Linker SmartGwtScriptInjector
Augmenting TestGWT.nocache.js to manually load the following script tags:
sc/initsc.js
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
Link succeeded
Compilation succeeded -- 15.737s
Compile completed in 16047 ms
=== 2015-06-09 08:39:09,510 [1-39] INFO Compression - /TestGWT.html: 0 -> 20 bytes
=== 2015-06-09 08:39:09,510 [1-39] ERROR Compression - Caught exception in doFilter() - for URI: /TestGWT.html
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:154)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:387)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)
=== 2015-06-09 08:39:09,643 [1-36] INFO Compression - /TestGWT/TestGWT.nocache.js: 0 -> 36 bytes
=== 2015-06-09 08:39:09,644 [1-36] ERROR Compression - Caught exception in doFilter() - for URI: /TestGWT/TestGWT.nocache.js
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:154)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:387)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)
I am new to SmartGWT. Evaluating the product.
I can build, run and see examples in the ShowcaseEE sample without any error. Nice sets of examples btw.
I tried to build my own application based on the simple sample "built-in-ds". I did not find some kind of new project template, so I basically copy sample "built-in-ds" in new folder and rename it to "TestGWT" in all files of the sample.
I am able to build and start my simple application without error.
But when I click on the link in the “Development Mode” tab, it open my browser but I keep having a blank page with error in logs (see html file, java file and logs below). I can notice that it seems to try to recompress the application code after the initial attempt to display page and it give the error "ERROR Compression - Caught exception in doFilter() .... NO CONTENT". It happen for "TestGWT.html" and for "TestGWT.nocache.js".
******************************
I use:
- smartgwtee-5.0p 2015-05-06 (trial version)
- Google GWT 2.6.1
- Eclipse Luna 4.4 64 bit
- Java JDK 1.7 64 bit
- Chrome 43.0.2357.81 m
******************************
TestGWT.java:
package com.cgi.client;
import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.core.KeyIdentifier;
import com.smartgwt.client.util.PageKeyHandler;
import com.smartgwt.client.util.Page;
import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.layout.VStack;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class TestGWT implements EntryPoint {
/**
* This is the entry point method.
*/
public void onModuleLoad() {
KeyIdentifier debugKey = new KeyIdentifier();
debugKey.setCtrlKey(true);
debugKey.setKeyName("Q");
Page.registerKey(debugKey, new PageKeyHandler() {
public void execute(String keyName) {
SC.showConsole();
}
});
VStack vStack = new VStack();
vStack.setLeft(175);
vStack.setTop(75);
vStack.setWidth("70%");
vStack.setMembersMargin(20);
Label label = new Label();
label.setContents("<ul>" +
"<li>One</li>" +
"<li>Two</li>" +
"</ul>");
vStack.addMember(label);
vStack.draw();
}
}
******************************
testGWT.html:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- -->
<!-- Any title is fine -->
<!-- -->
<title>TestGWT</title>
<!-- IMPORTANT : You must set the variable isomorphicDir to [MODULE_NAME]/sc/ so that the SmartGWT resource are
correctly resolved -->
<script> var isomorphicDir = "TestGWT/sc/"; </script>
<!-- -->
<!-- This script loads your compiled module. -->
<!-- If you add any GWT meta tags, they must -->
<!-- be added before this line. -->
<script type="text/javascript" language="javascript" src="TestGWT/TestGWT.nocache.js"></script>
</head>
<!-- -->
<!-- The body can have arbitrary html, or -->
<!-- you can leave the body empty if you want -->
<!-- to create a completely dynamic UI. -->
<!-- -->
<body>
<!--load the datasources-->
<!-- <script src="TestGWT/sc/DataSourceLoader?dataSource=dmversion"></script> -->
<!-- OPTIONAL: include this if you want history support -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
</body>
</html>
******************************
Logs:
Running GPE launcher for GWT-2.6.x version.
Runing CodeServer with parameters: [-noprecompile, -port, 9876, -bindAddress, 127.0.0.1, com.cgi.testGWT]
workDir: C:\Users\TTSSH7~1\AppData\Local\Temp\gwt-codeserver-8578249528026765591.tmp
Module setup completed in 952 ms
The code server is ready.
Next, visit: http://127.0.0.1:9876/
[WARN] Server class 'com.isomorphic.base.InitListener' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/isomorphic_core_rpc.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.apache.log4j.Priority' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/log4j-1.2.15.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
ISC: Configuring log4j from: file:/W:/testGWT/war/WEB-INF/classes/log4j.isc.config.xml
[WARN] Server class 'org.apache.commons.collections.map.LinkedMap' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/commons-collections-3.2.1.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
=== 2015-06-09 08:38:24,819 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
=== 2015-06-09 08:38:24,820 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
[WARN] Server class 'isc.org.apache.oro.text.perl.Perl5Util' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/isc-jakarta-oro-2.0.6.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
=== 2015-06-09 08:38:25,130 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/X:/smartgwtee-5.0p/lib/isomorphic_core_rpc.jar!/framework.properties
=== 2015-06-09 08:38:25,130 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2015-06-09 08:38:25,140 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2015-06-09 08:38:25,140 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/X:/smartgwtee-5.0p/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
=== 2015-06-09 08:38:25,140 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2015-06-09 08:38:25,180 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/W:/testGWT/war/WEB-INF/classes/server.properties
=== 2015-06-09 08:38:25,180 [main] INFO Logger - Logging system started.
=== 2015-06-09 08:38:25,180 [main] DEBUG ConfigParser - Matched var name: gwtModuleName
=== 2015-06-09 08:38:25,190 [main] DEBUG ConfigParser - value after substitution: TestGWT/sc
=== 2015-06-09 08:38:25,190 [main] INFO ISCInit - Auto-detected webRoot - using: W:\testGWT\war
=== 2015-06-09 08:38:25,190 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v10.0p_2015-05-06/EVAL Deployment 2015-05-06) - Initialization Complete
[WARN] Server class 'org.hibernate.proxy.HibernateProxy' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/hibernate3.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'net.sf.cglib.transform.impl.InterceptFieldEnabled' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/cglib-2.2.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'com.isomorphic.compression.ServletCompression' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/isomorphic_compression.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
log4j:WARN Please initialize the log4j system properly.
Invoking Linker SmartGwtScriptInjector
Augmenting TestGWT.nocache.js to manually load the following script tags:
sc/initsc.js
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
Creating nocache file: W:\testGWT\war\TestGWT\TestGWT.nocache.js
To compile the module 'TestGWT' , visit:
http://127.0.0.1:9876/recompile/TestGWT?_callback=cback&user.agent=safari,gecko1_8,ie8,ie9,ie10
[WARN] Server class 'org.apache.commons.fileupload.FileItemFactory' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/X:/smartgwtee-5.0p/lib/commons-fileupload-1.2.1.jar' to the web app classpath for this session
For additional info see: file:/X:/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
=== 2015-06-09 08:38:52,949 [1-34] DEBUG ConfigParser - Matched var name: debug
=== 2015-06-09 08:38:52,949 [1-34] DEBUG ConfigParser - value after substitution: true
=== 2015-06-09 08:38:52,959 [1-34] DEBUG ConfigParser - Matched var name: gwtModuleName
=== 2015-06-09 08:38:52,959 [1-34] DEBUG ConfigParser - value after substitution: TestGWT/sc
=== 2015-06-09 08:38:52,967 [1-34] INFO Compression - /TestGWT.html: 0 -> 20 bytes
=== 2015-06-09 08:38:52,968 [1-34] ERROR Compression - Caught exception in doFilter() - for URI: /TestGWT.html
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:154)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:387)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)
=== 2015-06-09 08:38:53,142 [1-37] INFO Compression - /TestGWT/TestGWT.nocache.js: 10220 -> 3656 bytes
binding: user.agent=safari
Compiling module com.cgi.testGWT
Compiling 1 permutation
Compiling permutation 0...
Source Maps Enabled
Compile of permutations succeeded
Linking into C:\Users\TTSSH7~1\AppData\Local\Temp\gwt-codeserver-8578249528026765591.tmp\com.cgi.testGWT\compile-2\war\TestGWT; Writing extras to C:\Users\TTSSH7~1\AppData\Local\Temp\gwt-codeserver-8578249528026765591.tmp\com.cgi.testGWT\compile-2\extras\TestGWT
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/initsc.js
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
Invoking Linker SmartGwtScriptInjector
Augmenting TestGWT.nocache.js to manually load the following script tags:
sc/initsc.js
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
Link succeeded
Compilation succeeded -- 15.737s
Compile completed in 16047 ms
=== 2015-06-09 08:39:09,510 [1-39] INFO Compression - /TestGWT.html: 0 -> 20 bytes
=== 2015-06-09 08:39:09,510 [1-39] ERROR Compression - Caught exception in doFilter() - for URI: /TestGWT.html
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:154)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:387)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)
=== 2015-06-09 08:39:09,643 [1-36] INFO Compression - /TestGWT/TestGWT.nocache.js: 0 -> 36 bytes
=== 2015-06-09 08:39:09,644 [1-36] ERROR Compression - Caught exception in doFilter() - for URI: /TestGWT/TestGWT.nocache.js
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:154)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:387)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)
Comment