From: Mark Diggory >Is there something unique about Oracle Application Server that is stopping >two separately deployed web-apps from both using the same db?
I suspect you would be as surprised as I would if you were told that was the case. It would be a massive limitation. >I'm a little naive about using Oracle Application Server / Oracle DB. What >stops you from deploying each war separately? What issues would arise that >are a concern if you did? The question is whether both WARs can reside with the same OC4J instance, or whether they have to be in separate ones. I've only got a vague understanding of what an OC4J instance is, but to put in context, it sounds like it has a roughly similar scope to a CATALINA_BASE instance (then imagine Tomcat running with multiple simultaneous instances of those). I can see administration benefits to having both web apps in a single instance (and some restrictions when running in spearate instances). Judging by question 25 of the FAQ, this should be possible: http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf 25 Where can I put shared class libraries so they are accessible to all my deployed applications? OC4J is configured by default with a shared directory. The directory is <J2EE_HOME>/applib. Any class libraries that are placed in this directory will be accessible to applications deployed on OC4J. The shared directory is specified using the <library> tag in the default application configuration file <J2EE_HOME>/config/application.xml. <orion-application autocreate-tables="true" default-data-source="jdbc/OracleDS"> <web-module id="defaultWebApp" path="../../home/default-web-app"/> <web-module id="dms0" path="../../home/applications/dms0.war"/> <web-module id="dms" path="../../home/applications/dms.war"/> <persistence path="../persistence"/> <!-- Path to the libraries that are installed on this server. These will accesible for the servlets, EJBs etc --> <library path="../applib"/> ... </orion-application> For more information about class Loading and packaging issues, see the technical note on OTN -- http://otn.oracle.com/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf. G This email has been scanned by Postini. For more information please visit http://www.postini.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

