-
1. Re: Error 404: The requested source (/fibo) is not available
sgv Mar 11, 2006 10:33 PM (in response to cypher)
If you look in the package explorer and look at the src directory, class names etc. do you see exclamation marks (warning signs) in the project. You should remove those errors.
You can match them up with the final source code displayed after the instructions, you should be missing some of the import statements.
I did it the second time, all over again - going through each step. Also, be sure to check the section that mentions packaging of FiboEBJ-client.jar - please see my previous question on this. It is not really clear.
Even after doing all this I see the directory listing page, instead of seeing the fibo .html page. Let me know if you are able to get it working -
2. Re: Error 404: The requested source (/fibo) is not available
cypher Mar 11, 2006 11:50 PM (in response to cypher)Hi sgv,
I have played around with this since my last post. It appears that the problem is with FiboApp.ear because when i undeployed it and instead deployed FiboEJB.jar and FiboWeb.war seperately, everything worked ok.
I typed http://localhost:8080/FiboWeb and it gave me the correct html page for the Fibonacci sequence.
I did see 2 exclamation marks in the src folder one is in FiboBean.java and the other one is in ComputeServlet.java, both of them say that the respective class does not declare a static final serialVersionUID of type long . I have no idea what this represents, could you suggest something?
Thanks, and I shall keep you posted on this.. -
3. Re: Error 404: The requested source (/fibo) is not available
sgv Mar 13, 2006 1:59 PM (in response to cypher)cypher,
In the "Packaging Configurations" you missed the folder Tutorial/doc-root.
That should fix it hopefully :) -
4. Re: Error 404: The requested source (/fibo) is not available
cypher Mar 13, 2006 5:16 PM (in response to cypher)sgv,
docroot was included in the packaging configurations. The only thing missing is FiboEJB-client.jar, i didnt include that because in the tutorial it says to skip that section all together if your using Jboss 4.0x or higher..
I am not sure what the problem is with FiboApp.ear -
5. Re: Error 404: The requested source (/fibo) is not available
sgv Mar 14, 2006 11:11 AM (in response to cypher)cypher,
I think u need to read this forum:
http://jboss.com/index.html?module=bb&op=viewtopic&t=77016.
You have to include the client.jar & repackage.