Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Transport error - HTTP code: 404 for URL

$
0
0
Created new apache tomcat server instance
Tried to create Secure Application
loaded login.jsp
click button Login
result

Transport error - HTTP code: 404 for URL: /examples/secureApp/IDACall

what i'm doing wrong?
Help me please

-------------------------
server.properties

authentication.enabled: yes
authenticator.authExample:com.isomorphic.datasourc e.DataSourceAuthenticator
authenticator.authExample.datasource: user
authenticator.authExample.usernameField: username
authenticator.authExample.passwordField: password
authenticator.authExample.cookieDomain: .smartclient.com
authenticator.authExample.sessionTimeout: 1800
----------------------------
web.xml

<!-- Configuration for Secure Application Example -->
<filter>
<filter-name>AuthExampleAuthenticator</filter-name>
<filter-class>com.isomorphic.auth.AuthenticationFilter</filter-class>
<init-param>
<param-name>authenticator</param-name>
<param-value>authExample</param-value>
</init-param>
<init-param>
<param-name>maxTries</param-name>
<param-value>-1</param-value>
</init-param>
<init-param>
<param-name>defaultLoginRedirect</param-name>
<param-value>/examples/secureApp/index.jsp</param-value>
</init-param>
<init-param>
<param-name>loginPage</param-name>
<param-value>/examples/secureApp/login.jsp</param-value>
</init-param>
<!-- Rules file is necessary when some files in a directory must not be authenticated,
while the rest of the directory must be authenticated. -->
<init-param>
<param-name>rules</param-name>
<param-value>
ignore:#register.jsp#
ignore:#nonAuthenticatedOperations.jsp#
match:#.*#
</param-value>
</init-param>
</filter>

<filter-mapping>
<filter-name>AuthExampleAuthenticator</filter-name>
<url-pattern>/examples/secureApp/*</url-pattern>
</filter-mapping>

<!-- RPCManager uses this URL by default for Built-in DataSource operations -->
<servlet-mapping>
<servlet-name>IDACall</servlet-name>
<url-pattern>/isomorphic/IDACall/*</url-pattern>
</servlet-mapping>

<!-- Built-in DataSource operations backcompat -->
<servlet-mapping>
<servlet-name>IDACall</servlet-name>
<url-pattern>/isomorphic/IDACall.aspx/*</url-pattern>
</servlet-mapping>

<!-- Duplicate the servlet mapping for IDACall to inside examples/secureApp, so that
its access may be authenticated. For a production server, the "main" IDACall
mapping is removed, while this secured mapping remains. -->
<servlet-mapping>
<servlet-name>IDACall</servlet-name>
<url-pattern>/examples/secureApp/IDACall/*</url-pattern>
</servlet-mapping>
-----------------------------------

Viewing all articles
Browse latest Browse all 4756

Trending Articles