• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to resolve the problem with Deploying this war file ?

 
shoeb sayyed
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4600
306
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please KeepItDown and TellTheDetails.
Can you show us your deployment descriptor?
 
shoeb sayyed
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4600
306
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not made any package. It is a very simple application.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want it to work, you'll put the classes in packages. Otherwise, you can choose to keep struggling.
 
shoeb sayyed
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let me show you my servlet code.
It is not in a package

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I'll say this one more time: if it is not in a package, it will not work!
 
shoeb sayyed
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok I got it i will try that one
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic