Announcement

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

    ds generator in sdk distribution broken links

    I'm trying to use the smartclientSDK distribution to generate some data sources. I launched the sdk using ./start_embedded_server.sh on my macOS.

    1) If I click on the Tools/DataSource Generator, it takes me to this page:
    http://localhost:8080/tools/dsGenerator.jsp
    which gives me 404.


    2) If I go adminConsole.jsp/Other Tools/Batch DataSource Generator, it takes me to this url:
    http://localhost:8080/tools/batchDSGenerator.jsp
    which also gives me 404.

    3) If I do this:
    cp batchDSGeneratorOperations.jsp batchDSGenerator.jsp
    then it works, but I get the exception pasted below.


    Any ideas?


    Code:
    org.apache.jasper.JasperException: An exception occurred processing JSP page [/tools/batchDSGenerator.jsp] at line [15]
    
    12: 
    13: RPCManager rpc;
    14: try {
    15: rpc = new RPCManager(request, response, out);
    16: // Enable access to FilesystemDataSource
    17: rpc.enableAllDataSources();
    18: } catch (ClientMustResubmitException e) { 
    
    
    Stacktrace:
        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at com.isomorphic.servlet.URIRegexFilter.ignore(URIRegexFilter.java:383)
        at com.isomorphic.servlet.URIRegexFilter.ignore(URIRegexFilter.java:378)
        at com.isomorphic.servlet.URIRegexFilter.matchedRule(URIRegexFilter.java:341)
        at com.isomorphic.servlet.URIRegexFilter._doFilter(URIRegexFilter.java:283)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at com.isomorphic.js.JSSyntaxScannerFilter._doFilter(JSSyntaxScannerFilter.java:272)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
    Caused by: javax.servlet.ServletException: java.lang.Exception: Non-RPC request ignored.
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:909)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:838)
        at org.apache.jsp.tools.batchDSGenerator_jsp._jspService(batchDSGenerator_jsp.java:181)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
        ... 35 more
    Caused by: java.lang.Exception: Non-RPC request ignored.
        at com.isomorphic.rpc.RPCManager.parseRequest(RPCManager.java:2291)
        at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:439)
        at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:473)
        at org.apache.jsp.tools.batchDSGenerator_jsp._jspService(batchDSGenerator_jsp.java:127)
        ... 38 more


    #2
    Oh, and I'm using Smartclient 11.1, today's version.

    Comment


      #3
      Batch DataSource Generator is actually a feature only included with an Enterprise license, so the issue here is that those links shouldn't be there. We'll correct this.

      If you don't want to upgrade, another alternative is to use the DataSource.autoDeriveSchema attribute, and have some other means of generating one .ds.xml file per table - easy enough since the .ds.xml files will be very short once autoDeriveSchema is used.

      Comment


        #4
        Ah, you're right -- I've got pro. I am just exploring features for a new project I'm starting. I'll take a look at autoDeriveSchema, thanks.

        Comment

        Working...
        X