Team Elements

Status: Caution PostgreSQL Open Source Initiative (OSI) Java
PUBLIC PROFILE

Back to topics

Feedback (Suggestions, comments, etc.)

Less TOMCAT dependant

You need to be logged in to post messages

Less TOMCAT dependant

7/3/2007 8:56 PM EDT

I'm currently trying to compile Team Elements for Glassfish. This was possible on old versions, but the current is too TOMCAT dependant.
Library dependencies is not a problem, but correctly setting up the environment vars is giving me too much work.

1. 7/4/2007 12:39 AM EDT

OK, solved this, but it requires editing the build.xml (not so clean solution).
Find line with:
<property name="j2ee.lib.dir" value="$$common$lib" />

And replace with:
<property name="j2ee.lib.dir" value="$$lib" />

Use a home.properties file like suggested in the example. Mine reads like:
CATALINA_HOME=/opt/SUNWappserver
ITEAM_HOME=/opt/teamelements

As i can understand, the ITEAM_HOME var is only used for "direct" deployment, so you can point it anywhere you like.

2. 7/5/2007 12:15 AM EDT (edited)
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

To accommodate other servlet containers, in the latest source, build.xml has been updated to use a WEBSERVER.TYPE preference. In turn, a variable in home.properties needs to be set so that the servlet container directory can be found.

There, the servletJar and other j2ee jars are added to the classpath. So far the following types exist, but have not been tested:

  1. WEBSERVER.TYPE=catalina
  2. WEBSERVER.TYPE=geronimo
  3. WEBSERVER.TYPE=jboss
  4. WEBSERVER.TYPE=weblogic
  5. WEBSERVER.TYPE=websphere
  6. WEBSERVER.TYPE=glassfish

For glassfish, where are the jars located relative to the glassfish root directory? Specifically any servlet, jsp, or j2ee jars.

As for ITEAM_HOME, you are correct, it is used as a target build directory and can be any directory or a developer webapp directory.

3. 7/5/2007 1:04 PM EDT

Matt Rajkowski wrote:
[...]
For glassfish, where are the jars located relative to the glassfish root directory? Specifically any servlet, jsp, or j2ee jars.
[...]



Hi Matt:
The glassfish jars needed are all in the lib folder. In my case in /opt/SUNWappserver/lib . The appserv-rt.jar and javaee.jar files seem to be the "most important".

3 results found