These installation instructions have been verified on RedHat Linux, but shou ld be easily adaptable to any platform that Weblogic runs on.
As with any Expresso installation, we recommend that if you have problems wi th Weblogic installation you try installing the "expresso-complete" bundle, and verify that it is functional with it's included Tomcat server - this helps det ermine if the problem is with Weblogic configuration or with Expresso itself. p>
Please review the documentation from BEA on how to configure Weblogic and deploy a web application - Expresso is packaged as a web application, and may be deployed following these instructions: Weblogic Documentation . It is important, however, to un-jar the release .war file into the appropriat e deployment directory, and not to let Weblogic do this on it's own.
The steps involved are as follows:
<Application Deployed="true" Name="expresso" Path="./config/mydomain/applications" > <WebAppComponent Name="expresso" Targets="myserver" URI="expresso" /> </Application>
This section describes installation for WebLogic 5.1.0 sp 9 and Expresso 3.11. This process was tested under RedHat Linux 6.2, but should be easily adapted to any platform.
weblogic.httpd.webApp.expresso=/home/weblogic/weblogic/expresso-web
PRE_CLASSPATH=/home/weblogic/expresso-web/WEB-INF/lib/log4j-core.jar:/home/weblogic/expresso-web/WEB-INF/xerces.jarNote that the class path seperator is ";" under windows, not ":".
This section describes how to register Expresso as a web-application with the BEA WebLogic Application Server. This was tested running under Windows NT 4.0 and WebLogic 5.1.0 with service pack 6, and Expresso 3.0.
Of course, you should refer to the release notes and install documents for WebLogic first, to ensure you have WebLogic up and operational before attempting to install or configure Expresso.
Be sure that your Weblogic server has JSP pages enabled & working properly before attempting to run Expresso.
Make sure you only have *one* copy of the Expresso (and/or Expresso application) .class files on your system, or particularly in your classpath. If Weblogic tells you about a ClassCircularityException, multiple copies of .class files is likely the cause. Be sure that you have not left the .war file (if you've un-jar-ed it) in the classpath, for example!
In the directory where you installed Weblogic you should find a file called "weblogic.properties". Add to the end of the file a line like this:
weblogic.httpd.webApp.expresso=/usr/expresso
Substitute as appropriate the directory into which you have installed Expresso (the web-app directory) for "/usr/expresso".
You should re-start Weblogic to be sure the registration is recognized.
Depending on your configuration, you may need to add a file to the weblogic.policy file to grant property permission to the Expresso codebase. (You'll get an error about not being able to write a property if this is required):
grant {
permission java.util.PropertyPermission "*", "read,write";
};
Please report any difficulties or updates to this configuration example to support at support@jcorporate.com