-
1. Re: problem with .jar files deplyment
wolfgangknauf May 11, 2009 7:32 AM (in response to amit.daundkar)Hi,
a 404 means that a web page (or servlet, jsp) is not found, so I think that it is not a matter of the JAR file.
What page is requested/not found? Maybe some login error page?
Best regards
Wolfgang -
2. Re: problem with .jar files deplyment
amit.daundkar May 11, 2009 7:39 AM (in response to amit.daundkar)"Wolfgang Knauf" wrote:
Hi,
a 404 means that a web page (or servlet, jsp) is not found, so I think that it is not a matter of the JAR file.
What page is requested/not found? Maybe some login error page?
Best regards
Wolfgang
thank you for the reply,
no its not a login page..i do see the login page and the first page after that also. but the next page has a database connectivity in jsp. that page is not displayed.
please tell what shall b the problem?
and which are the folders in the directory structure where i need to copy the jar files?
thank you. -
3. Re: problem with .jar files deplyment
wolfgangknauf May 11, 2009 8:06 AM (in response to amit.daundkar)Hi,
does an error/exception occur on your "next page"? Is some output/stacktrace on the JBoss console?
Maybe your errorpage is not found/valid. Do you have an "errorpage" attribute in your "@page" tag? Is this errorpage available? Or did you declare an error handler in your web.xml?
About the JARs: the database connector (and related jars) should be placed in "server\default\lib", but the rest can be placed in "WEB-INF\lib" of your web app.
Best regards
Wolfgang -
4. Re: problem with .jar files deplyment
amit.daundkar May 12, 2009 5:07 AM (in response to amit.daundkar)"Wolfgang Knauf" wrote:
Hi,
does an error/exception occur on your "next page"? Is some output/stacktrace on the JBoss console?
Maybe your errorpage is not found/valid. Do you have an "errorpage" attribute in your "@page" tag? Is this errorpage available? Or did you declare an error handler in your web.xml?
About the JARs: the database connector (and related jars) should be placed in "server\default\lib", but the rest can be placed in "WEB-INF\lib" of your web app.
Best regards
Wolfgang
hello Wolfgang,
yes i do have a errorPage attribute that specifies the error page.
i deployed the same war file in glassfish v2 to check whether any problem.
but the application(war deployed) runs smoothly in glassfish. so there is no error on that page.
that is why i am confused. i mean the same page shall run in JBoss also, right?
i really dont understand what the problem is!
anyway,
thank you for the reply. -
5. Re: problem with .jar files deplyment
wolfgangknauf May 12, 2009 5:40 AM (in response to amit.daundkar)Hi,
please provide us with more details (e.g. WAR structure, @page attributes, deployment descriptors). Take a look at the JBoss console. I think it should show an exception/error message.
What page is not found? This should be part of the 404 error.
I need more input to be able to help you.
Best regards
Wolfgang -
6. Re: problem with .jar files deplyment
amit.daundkar May 12, 2009 6:07 AM (in response to amit.daundkar)hello Wolfgang,
the problem is solved.
i created another .war file and deployed it again.
and it is working fine now. but its an unknown success.
anyway,
thank you very much for your help.