Wednesday, November 24, 2010

Re: RequestFactory Security/Authentication

now im stuck at that point

HTTP ERROR: 500

javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;

RequestURI=/login.jspx

Caused by:

java.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext; 

removed all the message stuff, util taglib / panel

will go on tomorrow...

gn8 to all coming from europe :)


On 24.11.2010, at 23:20, Ramon Buckland wrote:

my login.jspx is just a file in the root (src/main/webapp/login.jspx)

I also saw that circular reference thingo (ignored it and moved the
file out of WEB-INF/views/login.jspx to /login.jspx .. (again , a time
thing, had no time to debug why().

On Nov 24, 10:16 pm, Patrick Hilsbos <patrick.hils...@cloudsters.net>
wrote:
looks the same over here...

jogin.jspx get me a "not found"...

/login gets me:
HTTP ERROR: 500

Circular view path [login]: would dispatch back to the current handler URL [/login] again.

very strange - also set up a new project without gwt but having the same problems there
...

On 24.11.2010, at 23:08, Ramon Buckland wrote:

I do have a dispatcherServlet (serves up other stuff).

My web.xml

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" version="2.4"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

 <display-name>isupro</display-name>

 <description>isupro application</description>

   <!-- Enable escaping of form submission contents -->
 <context-param>
   <param-name>defaultHtmlEscape</param-name>
   <param-value>true</param-value>
 </context-param>

 <context-param>
   <param-name>contextConfigLocation</param-name>
   <param-value>classpath*:META-INF/spring/applicationContext*.xml</
param-value>
 </context-param>

 <filter>
   <filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
   <filter-
class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</
filter-class>
 </filter>

 <filter>
   <filter-name>springSecurityFilterChain</filter-name>
   <filter-
class>org.springframework.web.filter.DelegatingFilterProxy</filter-
class>
 </filter>

 <filter>
   <filter-name>CharacterEncodingFilter</filter-name>
   <filter-
class>org.springframework.web.filter.CharacterEncodingFilter</filter-
class>
   <init-param>
     <param-name>encoding</param-name>
     <param-value>UTF-8</param-value>
   </init-param>
   <init-param>
     <param-name>forceEncoding</param-name>
     <param-value>true</param-value>
   </init-param>
 </filter>

 <filter>
   <filter-name>HttpMethodFilter</filter-name>
   <filter-
class>org.springframework.web.filter.HiddenHttpMethodFilter</filter-
class>
 </filter>

 <filter-mapping>
   <filter-name>springSecurityFilterChain</filter-name>
   <url-pattern>/*</url-pattern>
 </filter-mapping>

 <filter-mapping>
   <filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
   <url-pattern>/*</url-pattern>
 </filter-mapping>

 <filter-mapping>
   <filter-name>CharacterEncodingFilter</filter-name>
   <url-pattern>/*</url-pattern>
 </filter-mapping>

 <filter-mapping>
   <filter-name>HttpMethodFilter</filter-name>
   <url-pattern>/*</url-pattern>
 </filter-mapping>

   <!-- Creates the Spring Container shared by all Servlets and
Filters -->
 <listener>
   <listener-
class>org.springframework.web.context.ContextLoaderListener</listener-
class>
 </listener>

   <!-- Handles Spring requests -->
 <servlet>
   <servlet-name>isupro</servlet-name>
   <servlet-class>org.springframework.web.servlet.DispatcherServlet</
servlet-class>
   <init-param>
     <param-name>contextConfigLocation</param-name>
     <param-value>/WEB-INF/spring/webmvc-config.xml</param-value>
   </init-param>
   <load-on-startup>1</load-on-startup>
 </servlet>

 <servlet>
   <servlet-name>requestFactory</servlet-name>
   <servlet-
class>com.google.gwt.requestfactory.server.RequestFactoryServlet</
servlet-class>
   <init-param>
     <param-name>userInfoClass</param-name>
     <param-value>isupro.security.IsuproUserInformation</param-value>
   </init-param>
 </servlet>

 <servlet>
   <servlet-name>remoteLoggerServiceImpl</servlet-name>
   <servlet-
class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-
class>
 </servlet>

 <servlet-mapping>
   <servlet-name>remoteLoggerServiceImpl</servlet-name>
   <url-pattern>/isupro/gwt-log</url-pattern>
 </servlet-mapping>

 <servlet-mapping>
   <servlet-name>isupro</servlet-name>
   <url-pattern>/</url-pattern>
 </servlet-mapping>

 <servlet-mapping>
   <servlet-name>requestFactory</servlet-name>
   <url-pattern>/gwtRequest</url-pattern>
 </servlet-mapping>
 <session-config>
   <session-timeout>10</session-timeout>
 </session-config>

</web-app>

On Nov 24, 8:18 pm, Patrick Hilsbos <patrick.hils...@cloudsters.net>
wrote:
Thx a lot...

how does your web.xml look like and where have you put your login.jspx view? src main webapps view ?
i think im missing the controller referred in webmvc.

cheers
patrick

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


No comments:

Post a Comment