Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Deployment problem on Oc4j  RSS feed

Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
am having a deployment problem on oc4j for a simple application.

The error message that i am getting is :

Error instantiating application at file:/C:/oc4j/orion/application: Unable to find/read assembly info for C:\oc4j\orion/application (IO error: unable
to find application)

server.xml :

<?xml version="1.0"?>
<!DOCTYPE application-server PUBLIC "Orion Application Server Config" "">

<application name="VUA01" path="../application" />

<rmi-config path="./rmi.xml" />
<!-- JMS-server config link, uncomment to activate the JMS service -->
<!-- <jms-config path="./jms.xml" /> -->
<file path="../log/server.log" />

<global-application name="default" path="application.xml" />

<global-web-app-config path="global-web-application.xml" />
<web-site path="./default-web-site.xml" />

<!-- Compiler, activate this to specify an alternative compiler such
as jikes for EJB/JSP compiling. -->
<!-- <compiler executable="jikes" classpath="/myjdkdir/jre/lib/rt.jar" /> -->

application.xml :

<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "">

<!-- The global application config that is the parent of all the other
applications in this server. -->
<web-module id="defaultWebApp" path="../default-web-app" />
<persistence path="../persistence" />
<!-- Path to the libraries that are installed on this server.
These will accesible for the servlets, EJBs etc -->
<library path="../lib" />

<principals path="./principals.xml" />

<file path="../log/global-application.log" />

<data-sources path="data-sources.xml" />

<namespace-resource root="">
<group name="administrators" />
<namespace-resource root="">
<group name="administrators" />

inside the ear :
application.xml :
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "">



Am i missing something ???

thanks in advance...
Ranch Hand
Posts: 1143
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you're using a very old version of OC4J, because Oracle replaced Orion's DTDs with their own, a long time ago. Perhaps you should download the latest OC4J stand-alone?

The "application.xml" file in your EAR, needs to be under the META-INF directory, so you need the following entry in your EAR:

It's not clear from your post whether this is the case.

Good Luck,
today's feeble attempt to support the empire
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!