wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark ""Seam in Action" source code problem: SSL error when try to login "/open18"" Watch ""Seam in Action" source code problem: SSL error when try to login "/open18"" New topic
Author

"Seam in Action" source code problem: SSL error when try to login "/open18"

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi ranchers,

Has anyone already tried to deploy and run the source code from "Seam in Action" book? (http://www.manning.com/dallen/)

I've deployed the application from "\seaminaction\stages\projects-ch11" successfully on jboss-4.2.3.GA.

I access the url "http://localhost:8080/open18/" perfectly, but when I press the "Login" link the following error is shown:


( The url shown when the screen above happens is "https://localhost:8443/open18/login.seam" )

I've already tried to configure JBoss SSL as explained in "http://code.google.com/p/seaminaction/wiki/EnableSSLJBossAS" but it's not working... does anyone know how to solve this?

Thank you in advance


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
For one, you should post any problems with the book or the book's source code over at the official book forums (so that I see them):

http://www.manning-sandbox.com/forum.jspa?forumID=354

Second, you can simply disable the HTTPS because technically having that part working is not critical to understanding how the source code works (and Seam)

/view/login.page.xml


Finally, it's highly likely that your HTTPS is not configured correctly. I would first verify that you can see the JBoss AS start page at the root context over HTTPS before trying the application.
[ October 07, 2008: Message edited by: Dan Allen ]

Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Thanks, Dan. At least someone answered my question.

I think my HTTPS is not well configurated, too. I wish I could test HTTPS, since I might use this kind of authentication in my project, but I'll try what you suggested.
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Two suggestions to get SSL working. First, make sure you are using JBoss 4.2.2.GA (or better). If you need to get it working on other versions, get it working on that version first, then you can expand your horizon. Second, start with a fresh installation and follow the instructions carefully. If you did, Google because there are many other tutorials available and maybe I am not explaining something right (if you find out what it is, let me know).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: "Seam in Action" source code problem: SSL error when try to login "/open18"
 
Similar Threads
Error reading from Remote server
Error in setting SecureRMIClientSocketFactory
Error connecting MIDlet to Servlet in Tomcat, Please help
Seam in Action : How is ease of use
Deploying an EAR to JBOSS times out (org.rhq.core.pc.inventory.TimeoutException:)