• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

hello.ear created on sun one can't be deployed to Sun one application server!!

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks in advance.
I just downloaded sun one studio, update1. After creating and testing its helloworld project in its tutorial, I tried to deploy the studio created ear file on to sun one application server. Got error message:
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: hello cause: Error reading from file: C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-apps\hello_2\sun-EJBModule_Greeter.xml
Any idea what I did wrong. It tests ok on sun one studio's RI server. I suppose I can just redeploy the hello.ear file to any J2ee complied
applicaiton server, am I wrong?
Thanks.
 
eric zhao
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Acutally, on sun-one-applicationServer, the descriptor file unzipped from the ear file has a format of: EJBModule-yourEJBName (created by sun-one-studio), but the applicationServer seems trying to read a file named: sun-EJBModule-yourEJBName.
How to resolve this? please help.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Will you give the error log for the same set the log level to fine and give the server log.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Even I am facing the same error while deploying ear file, but I can successfully deploy the jar file which contains all ejb's and war file separately.
Pls suggest me the solution for this issue.
 
reply
    Bookmark Topic Watch Topic
  • New Topic