Default Project CR-79

OPENAM-86: Tomcat Agent breaks standard Tomcat class loading behaviour

Under Review for 21 months (due 21 months ago)

  •  
  •  
  •  
  •  
  • Author & Moderator
  • Reviewers
 

CR-79 14

  • Expand all
  • Collapse all
Summarize the review outcomes (optional)
 
#permalink

Details

Warning: no files are visible, they have all been filtered.
Participant Role Time Spent Comments Latest Comment
Author & Moderator 31m 5 because it might not always contain such things, now its fin...
Reviewer - 3% complete 1m    
Reviewer - 0% complete      
Reviewer - 0% complete      
Reviewer - 100% complete 40m 9 this method call is unnecessary here
Total   1h 12m 14  
#permalink

Objectives

The installer for the Tomcat policy agent changes the default Tomcat classloader behaviour. The setclasspath.sh script is updated so that all of the tomcat class files are included on the CLASSPATH manually. The standard Tomcat bootstrap behaviour is disabled. This causes problems with class loading in applications and breaks the whole Tomcat class loading module. The PA cannot break/change core tomcat behaviour as part of it's installation.

The solution is as follows:

$TOMCAT_HOME/bin/setclasspath.sh

remove this line, . "/opt/soft/tomcat6/bin/setAgentclasspath.sh"

then copy the following from the J2EE Policy Agent directory:

cd $TOMCAT_HOME/lib
cp $J2EE_PA_HOME/locale/* .
cp $J2EE_PA_CONF/Agent001/config/* .
cp $J2EE_PA_HOME/lib/agent.jar .
cp $J2EE_PA_HOME/lib/openssoclientsdk.jar .

TOMCAT_HOME points to where Tomcat is installed and J2EE_PA_HOME points to where the J2EE PA zip file was extracted. J2EE_PA_CONF is where the J2EE Policy Agent configuration was created; eg: /opt/j2ee_agents/tomcat_v6_agent/Agent_001/

The tomcat installer and uninstaller all needs work to resolve this issue.

#permalink

General Comments

There are no general comments on this review.
/trunk/.../legal/LICENSE_apache_commons_io.txt Added
Open in IDE
#permalink
/trunk/.../resources/amToolsMessages.properties Changed
Open in IDE
#permalink
/trunk/opensso/.../agentsdk/scripts/agentadmin Changed
Open in IDE
#permalink
/trunk/opensso/.../scripts/agentadmin.bat Changed
Open in IDE
#permalink
/trunk/.../arch/AgentConfiguration.java Changed
/trunk/.../arch/IAgentConfigurationConstants.java Changed
/trunk/.../resources/tomcatv6Tools.properties Changed
Open in IDE
#permalink
/trunk/opensso/.../v6/AgentFilesBase.java Added 10
Open in IDE
#permalink
/trunk/opensso/.../v6/CopyAgentFilesTask.java Added 2
Open in IDE
#permalink
/trunk/opensso/.../tomcat/v6/IConstants.java Changed
/trunk/.../v6/RemoveAgentFilesTask.java Added
Open in IDE
#permalink
/trunk/.../v6/UnconfigureServerEnvTask.java Added
Open in IDE
#permalink
/trunk/opensso/.../v6/UpdateServerEnvBase.java Added 2
Open in IDE
#permalink
/trunk/opensso/.../v6/UpdateServerEnvTask.java Added
Open in IDE
#permalink
/trunk/opensso/.../v6/xml/configure.xml Changed
Open in IDE
#permalink
/trunk/opensso/.../tomcat/v6/build.xml Changed
/trunk/opensso/products/j2eeagents/extlib/ Changed
Open in IDE
#permalink
/trunk/opensso/.../j2eeagents/build_agent.xml Changed

Review updated: Reload | Ignore | Collapse

You cannot reload the review while writing a comment.

 

Create Issue

X
Assign To Me
 

Log time against