Hi,
I am using SmartGWT 5.0, trying to bring up Admin Console in builtinds sample:
Here is the code:
IButton adminButton = new IButton("Admin Console");
adminButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
com.smartgwt.client.util.SC.openDataSourceConsole();
}
});
When I clicked the button, got this error:
Transport error - HTTP code: 500 for URL:
http://127.0.0.1:8888/builtinds/tools/adminConsoleOperations.jsp
Here is the log:
=== 2014-11-19 15:51:20,007 [0-13] WARN LoadISCTag - isc.moduleLoadOrder does not include user-selected modules: [DBConsole] - placing these modules last in the load order.
=== 2014-11-19 15:51:20,007 [0-13] INFO RequestContext - URL: '/builtinds/tools/adminConsole.jsp', User-Agent: 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)': MSIE with Accept-Encoding header, ready for compressed JS
=== 2014-11-19 15:51:20,007 [0-13] DEBUG ISCKeyedObjectPool - Borrowing object for 'Filesystem'
=== 2014-11-19 15:51:20,007 [0-13] DEBUG PoolableDataSourceFactory - Activated DataSource 21 of type 'Filesystem'
=== 2014-11-19 15:51:20,008 [0-13] DEBUG PoolableDataSourceFactory - Cleared and passivated DataSource 21 of type 'Filesystem'
[WARN] /builtinds/tools/adminConsoleOperations.jsp
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
[ERROR] 500 - POST /builtinds/tools/adminConsoleOperations.jsp?isc_rpc=1&isc_v=v10.0p_2014-11-05&isc_xhr=1 (127.0.0.1) 3702 bytes
Request headers
Accept: */*
Accept-Language: en-us
Referer: http://127.0.0.1:8888/builtinds/tools/adminConsole.jsp
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Host: 127.0.0.1:8888
Content-Length: 1119
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: GLog=%7B%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20pageGUID%3A%2203FA0423-0A56-4D15-A053-E2AA9FA0283D%22%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A1484%2C%20%0D%20%20%20%20top%3A254%2C%20%0D%20%20%20%20width%3A963%2C%20%0D%20%20%20%20height%3A670%0D%7D; JSESSIONID=rry81bvfacai
Response headers
Content-Type: text/html; charset=iso-8859-1
Content-Length: 3702
Can you help?
Thanks!
I am using SmartGWT 5.0, trying to bring up Admin Console in builtinds sample:
Here is the code:
IButton adminButton = new IButton("Admin Console");
adminButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
com.smartgwt.client.util.SC.openDataSourceConsole();
}
});
When I clicked the button, got this error:
Transport error - HTTP code: 500 for URL:
http://127.0.0.1:8888/builtinds/tools/adminConsoleOperations.jsp
Here is the log:
=== 2014-11-19 15:51:20,007 [0-13] WARN LoadISCTag - isc.moduleLoadOrder does not include user-selected modules: [DBConsole] - placing these modules last in the load order.
=== 2014-11-19 15:51:20,007 [0-13] INFO RequestContext - URL: '/builtinds/tools/adminConsole.jsp', User-Agent: 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)': MSIE with Accept-Encoding header, ready for compressed JS
=== 2014-11-19 15:51:20,007 [0-13] DEBUG ISCKeyedObjectPool - Borrowing object for 'Filesystem'
=== 2014-11-19 15:51:20,007 [0-13] DEBUG PoolableDataSourceFactory - Activated DataSource 21 of type 'Filesystem'
=== 2014-11-19 15:51:20,008 [0-13] DEBUG PoolableDataSourceFactory - Cleared and passivated DataSource 21 of type 'Filesystem'
[WARN] /builtinds/tools/adminConsoleOperations.jsp
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
[ERROR] 500 - POST /builtinds/tools/adminConsoleOperations.jsp?isc_rpc=1&isc_v=v10.0p_2014-11-05&isc_xhr=1 (127.0.0.1) 3702 bytes
Request headers
Accept: */*
Accept-Language: en-us
Referer: http://127.0.0.1:8888/builtinds/tools/adminConsole.jsp
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Host: 127.0.0.1:8888
Content-Length: 1119
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: GLog=%7B%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20pageGUID%3A%2203FA0423-0A56-4D15-A053-E2AA9FA0283D%22%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A1484%2C%20%0D%20%20%20%20top%3A254%2C%20%0D%20%20%20%20width%3A963%2C%20%0D%20%20%20%20height%3A670%0D%7D; JSESSIONID=rry81bvfacai
Response headers
Content-Type: text/html; charset=iso-8859-1
Content-Length: 3702
Can you help?
Thanks!
Comment