| Author |
how to resolve the problem with Deploying this war file ?
|
shoeb sayyed
Ranch Hand
Joined: Mar 14, 2010
Posts: 48
|
|
Hi This is a very simple servlet program.
I am trying to deploy it on the weblogic server but i get this error as follow
Unable to access the selected application.
javax.enterprise.deploy.spi.exceptions.InvalidModuleException: [J2EE Deployment SPI:260105]Failed to create
DDBeanRoot for application, 'E:\AqanTech\WebApp1\myApp.war'.
I have checked everything, right from my code to my web.xml file. I have used a build.bat file to build my war file.
PLEASE HELP ME TO SOLVE THIS HUGE PROBLEM OF MINE ?
|
Thanks,
Shoeb
|
 |
Devaka Cooray
Saloon Keeper
Joined: Jul 29, 2008
Posts: 2691
|
|
Please KeepItDown and TellTheDetails.
Can you show us your deployment descriptor?
|
Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
|
 |
shoeb sayyed
Ranch Hand
Joined: Mar 14, 2010
Posts: 48
|
|
|
|
 |
Devaka Cooray
Saloon Keeper
Joined: Jul 29, 2008
Posts: 2691
|
|
shoeb sayyed wrote:<servlet-class>S1</servlet-class>
servlet-class must be a fully-qualified class name.
Something like: com.servlets.MyServlet
|
 |
shoeb sayyed
Ranch Hand
Joined: Mar 14, 2010
Posts: 48
|
|
|
I have not made any package. It is a very simple application.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56150
|
|
|
If you want it to work, you'll put the classes in packages. Otherwise, you can choose to keep struggling.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
shoeb sayyed
Ranch Hand
Joined: Mar 14, 2010
Posts: 48
|
|
let me show you my servlet code.
It is not in a package
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56150
|
|
|
OK, I'll say this one more time: if it is not in a package, it will not work!
|
 |
shoeb sayyed
Ranch Hand
Joined: Mar 14, 2010
Posts: 48
|
|
|
ok I got it i will try that one
|
 |
 |
|
|
subject: how to resolve the problem with Deploying this war file ?
|
|
|