wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes how to resolve the problem with Deploying this war file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to resolve the problem with Deploying this war file ?" Watch "how to resolve the problem with Deploying this war file ?" New topic
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
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3013
    
  35

Please KeepItDown and TellTheDetails.
Can you show us your deployment descriptor?


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
shoeb sayyed
Ranch Hand

Joined: Mar 14, 2010
Posts: 48
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3013
    
  35

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: 60764
    
  65

If you want it to work, you'll put the classes in packages. Otherwise, you can choose to keep struggling.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 60764
    
  65

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to resolve the problem with Deploying this war file ?
 
Similar Threads
servlet deployment issue on websphere server.
Error in war application
Problem in deploying ear file in weblogic 6.1
How to make a war file which not included the test packages?..
Call a Struts application within a portlet