• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

oc4j deployment error

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi y'all,
I am attempting to deploy a very simple war file (contains just a couple of simple jsps + web-inf etc) into oc4j running on nt. Getting the following errors ( when attempting to deploy via jdeveloper 9i rc) but also happens if I create the archive using sun's j2ee deploytool and use command line deploy via oc4j admin.jar. Not sure why it's looking for a datasources.xml in the application-deployments folder structure.
What am I doing wrong ?
Any ideas ?
Beginning to deploy to Oracle9i Application Server...
Wrote WAR file to D:\deploytest\deploytest.war
Wrote web EAR file to D:\deploytest\deploytest.ear
Invoking Oracle9iAS admin tool...
D:\oracle\jdev9i\jdk1.3\jre\bin\javaw.exe -jar D:\oracle\jdev9i\j2ee\home\admin.jar ormi://10.2.38.85/ admin **** -deploy -file D:\deploytest\deploytest.ear -deploymentName deploytest
Fatal Error: Error loading archive: Couldnt read datasource file at file:/D:/oracle/ora81/j2ee/home/application-deployments/deploytest/data-sources.xml: ./data-sources.xml
Error instantiating application: Error loading archive: Couldnt read datasource file at file:/D:/oracle/ora81/j2ee/home/application-deployments/deploytest/data-sources.xml: ./data-sources.xml
Exit status of Oracle9iAS admin tool (-deploy): 0
D:\oracle\jdev9i\jdk1.3\jre\bin\javaw.exe -jar D:\oracle\jdev9i\j2ee\home\admin.jar ormi://10.2.38.85/ admin **** -bindWebApp deploytest deploytest default-web-site /deploytest
Error binding web-app: No application named 'deploytest' found in the server
Exit status of Oracle9iAS admin tool (-bindWebApp): 1
---- Deployment finished. ---- Dec 20, 2001 7:59:47 AM
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic