Hi I have a webapplication with JSPs and Servlets. Now I want that to be working in JBoss app server. I made it as WAR file but the problem is in address bar I am getting that two times for getting index.jsp file. Here is the exmple scenario. 1. I have test as test as webapplication and I want to make it as WAR file so that it can be deployed in Jboss Deploy folder. 2. I am using this command to make WAR file. (test is in D drive. d:\ jar -cvf test.war test/ 3. Now I am keeping that test.war in JBoss/server\default\deploy folder. 4. In server console it is giving following error 10:29:19,452 INFO [Engine] Internal Error: File /WEB-INF/web.xml not found 10:29:19,452 INFO [MainDeployer] Successfully completed deployment of package file:/D:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/test.war 5. I typed http://localhost:8080/test. It is giving direcory listing of test folder access. When I click on test again then it is displaying index.jsp like this in address bar http://localhost:8080/test/test/index.jsp
Can any one help to avoid this repetetion... It is very urgent for me. Thanks for your help and time in advance Srinivas Ivaturi
10:29:19,452 INFO [Engine] Internal Error: File /WEB-INF/web.xml not found ...
How about this error? do you have a web.xml?
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Joined: Jun 03, 2003
Yes, I have WEB.xml and I am getting that error... How to stop directory listing in JBoss and Tomact..
Joined: Nov 27, 2001
Originally posted by Ivaturi Srinivas: Yes, I have WEB.xml and I am getting that error... How to stop directory listing in JBoss and Tomact..
well.. I think you should solve your web.xml problem first and once it is deployed *correctly* (with no erros) then you should move forward (My $0.02) . If you open your generated war file with, say, winzip, do you have your web.xml under the web-inf path?