aspose file tools*
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
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: 3274
    
  52

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


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
shoeb sayyed
Ranch Hand

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

Joined: Jul 29, 2008
Posts: 3274
    
  52

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: 61772
    
  67

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: 61772
    
  67

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
 
jQuery in Action, 2nd edition
 
subject: how to resolve the problem with Deploying this war file ?