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