Help coderanch get a
new server
by contributing to the fundraiser
  • 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

OC4J Deployment Error...

Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wrote an EJB and tried to deploy it to OC4J with JDeveloper. But JDeveloper couldn't deploy the EAR file and returned the following message.
I think "orion-application.xml" file refers to ./data-source.xml and oc4j couldn't find this file to proceed deployment. I looked inside application1 folder under "application-deployments" folder and only saw "orion-application.xml". I think the real problem is that JDeveloper doesn't add the ./data-source.xml file to .deploy file to be seen by orion-application.xml. But I couldn't find the way how I can solve this problem.

javaw.exe -jar admin.jar -deploy -file application1.ear
Fatal Error: Error loading archive: Couldnt read datasource file at file:/D:/orion application server/oc4j/j2ee/home/application-deployments/application1/data-sources.xml: ./data-sources.xml
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic