Announcement

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

    Permission denied in Dynamic Data Source

    Hi, all.

    I have a dynamic DataSource. It is working properly in localhost. However, when deployed in the server, I am getting the following error message:

    Click image for larger version

Name:	forbidden.PNG
Views:	45
Size:	9.6 KB
ID:	240632

    The domain is blurred because is confidential.

    Any idea about this problem? Where is the dynamic ds written?

    #2
    The DynamicDS is not written to disk. You've just omitted the DataSourceLoader servlet from your web.xml, or deployed your application in some unusual manner which made the default DataSource.loaderURL wrong, so you'll need to adjust it.

    Comment


      #3
      I have these references in my web.xml:
      [HTML]
      <servlet>
      <servlet-name>DataSourceLoader</servlet-name>
      <servlet-class>com.isomorphic.servlet.DataSourceLoader</servlet-class>
      </servlet>
      ...

      <!-- DataSourceLoader requests -->
      <servlet-mapping>
      <servlet-name>DataSourceLoader</servlet-name>
      <url-pattern>/CoreModule/sc/DataSourceLoader</url-pattern>
      </servlet-mapping>
      [/HTML]

      If DynamicDS is not written to disk, so is wrong think that when a try to load it on the fly, my application is trying to write or register into a JavaScript representation placed in the path shown in the image. Right?

      Comment


        #4
        Again, not written to disk. web.xml is for registering servlets to respond at particular URLs. Your server either has no servlet registered for that path, or you've got some kind of security system blocking your access to that URL.

        This is not related to SmartGWT per se, as SmartGWT server code isn't even invoked by the time you receive this error. This is just application server setup stuff.

        Comment

        Working...
        X