Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7787645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:44:14+00:00 2026-06-01T20:44:14+00:00

Naive question, but this is my first step in JSF, so forgive me ;-)

  • 0

Naive question, but this is my first step in JSF, so forgive me 😉

I am following all the steps of the first example from “Core JavaServerFaces” by David Geary, Cay S. Horstmann (the 3rd edition).

What works in general:

  • java works
  • glassfish works
  • I can compile the attached code
  • I can create .war file

The problem begins when I copy the war file into autodeploy subdirectory of GlassFish and try to show the appropriate page in GF. In return I get 404 error and in logs I find this:

Selecting file /opt/glassfish3/glassfish/domains/domain1/autodeploy/login.war for autodeployment.

Module type not recognized for module /opt/glassfish3/glassfish/domains/domain1/applications/login

There is no installed container capable of handling this application login

Autodeploy failed : /opt/glassfish3/glassfish/domains/domain1/autodeploy/login.war.

glassfish 3.1.2, java 1.6.0_29, opensuse 11.4.

The question is how to make this code work?

Updates

jar tvf login.war

     0 Thu Apr 12 22:24:24 CEST 2012 META-INF/
    71 Thu Apr 12 22:24:24 CEST 2012 META-INF/MANIFEST.MF
     0 Mon Jun 27 10:13:54 CEST 2011 src/
     0 Mon Jun 27 10:13:54 CEST 2011 src/java/
     0 Mon Jun 27 10:13:54 CEST 2011 src/java/com/
     0 Thu Apr 12 22:16:32 CEST 2012 src/java/com/corejsf/
   603 Thu Apr 12 22:16:32 CEST 2012 src/java/com/corejsf/UserBean.java
     0 Mon Jun 27 10:13:54 CEST 2011 web/
     0 Thu Apr 12 21:24:56 CEST 2012 web/WEB-INF/
   877 Mon Jun 27 10:13:54 CEST 2011 web/WEB-INF/web.xml
     0 Thu Apr 12 22:21:38 CEST 2012 web/WEB-INF/classes/
     0 Thu Apr 12 22:21:38 CEST 2012 web/WEB-INF/classes/com/
     0 Thu Apr 12 22:21:38 CEST 2012 web/WEB-INF/classes/com/corejsf/
   704 Thu Apr 12 22:21:38 CEST 2012 web/WEB-INF/classes/com/corejsf/UserBean.class
     0 Mon Jun 27 10:13:54 CEST 2011 web/WEB-INF/beans.xml
   786 Mon Jun 27 10:13:54 CEST 2011 web/index.xhtml
   394 Mon Jun 27 10:13:54 CEST 2011 web/welcome.xhtml
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:44:15+00:00Added an answer on June 1, 2026 at 8:44 pm

    Your WAR file is broken.

    Package it up in the web folder instead. WEB-INF should be in the root.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably a naive question - but I want to double check to
This seems like perhaps a naive question, but I got into a discussion with
I'm new to OOP, so this could be an extremely naive question; but whenever
That might be a naive git question but here it is: Before doing a
I have a question that may be quite naive, but I feel the need
I'm sorry about the naive question. I have the following: public Array Values {
Forgive me if this is a naïve question, however I am at a loss
This question might be naive as I'm new to ColdFusion programming. I have a
This is likely a novice question about LINQ, but assuming I have a set
First off, please accept my apologies if this question is basic, I mainly have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.