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" "http://www.orionserver.com/dtds/application-server.dtd">
<application-server
application-directory="../applications"
deployment-directory="../application-deployments"
>
<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" /> -->
<log>
<file path="../log/server.log" />
</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-server>
application.xml :
<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD
J2EE Application runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd">
<!-- The global application config that is the parent of all the other
applications in this server. -->
<orion-application>
<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" />
<log>
<file path="../log/global-application.log" />
</log>
<data-sources path="data-sources.xml" />
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping>
<group name="administrators" />
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping>
<group name="administrators" />
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>
inside the ear :
application.xml :
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>VUA01</display-name>
<module>
<ejb>VUA01-ejb.jar</ejb>
</module>
<module>
<web>
<web-uri>VUA01-web.war</web-uri>
<context-root>/VUA01</context-root>
</web>
</module>
<security-role>
<role-name>users</role-name>
</security-role>
</application>
Am i missing something ???
thanks in advance...