• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

OC4J Deployment Error...

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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
 
Dinner will be steamed monkey heads with a side of tiny ads.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic