The requested resource (/j_acegi_security_check) is not available.

194 views
Skip to first unread message

jaga

unread,
Nov 16, 2009, 7:16:25 AM11/16/09
to ToCollege-net
Hi Jeff,

I am getting this error when trying to log in. I can log in using the
banner log in prompt ok. When I click "My List" the GWT log in prompt
comes up which I fill in but it says "Failure". This means I cannot
access the GWT controls. This happens when deploying in Tomcat.

I get this error message when debugging the JS: The requested resource
(/j_acegi_security_check) is not available.

It is a pity I can't debug the code since it is impossible to have GWT
and Freemarker running in Hosted Mode. This should change with GWT
2.0.


Jaga

---

Also, I had to manually remove the javax.server package from gwt.user.
1.5.3.jar to remove complaints from Tomcat.

jdwy

unread,
Nov 16, 2009, 9:34:34 AM11/16/09
to ToCollege-net
Hey Jaga,

When investigating the acegi / spring mvc stuff, definitely see if you
can just login to the site via the basic login without GWT.

Not sure why that resource isn't available.. were there any other
errors on startup? You've followed the Building ToCollege.net chapter
and have setup the DB, added some users, yes?

-Jeff

jaga

unread,
Nov 23, 2009, 4:23:40 AM11/23/09
to ToCollege-net
Hi Jeff,

Yes, it works without GWT.

I think I set it up correctly, adding the DB, users, etc. I set the db
up in phpmyadmin.


Jaga

jdwy

unread,
Nov 23, 2009, 5:54:50 PM11/23/09
to ToCollege-net
Ok good, if it's working outside of GWT then we should be close.

Does it have something to do with:

public class Interactive implements EntryPoint {

public static final String LOCAL_HOST = "http://localhost:8080/";
public static final String REMOTE_HOST = "http://
www.tocollege.net/";

I can't remember off the top of my head, but is it using LOCAL_HOST
and is the server at 8080? Some debugging in here might be good to
make sure we're requesting from the right place.

-J
Reply all
Reply to author
Forward
0 new messages