Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OC4J Deployment Error...

Kadir S.
Posts: 5
  • Mark post as helpful
  • send pies
  • 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
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic