Hi,

 

By default, Muse Enterprise Example uses the IP address of the machine to construct URLs used within EPRs. You can change this to use either IP address or hostname by editing CATALINA_HOME/webapps/muse/WEB-INF/classes/jndi-config.xml file (look at the comments for specific instruction).

 

One thing you should pay attention to that while interacting with the example with a client program, you must exactly specify the URL within the request message EPRs as specified in the above file. For example, specifying http://localhost:8080/... Will most likely not work for RemoveRelationship operation, irrespective of whether the example is set to use the IP address or hostname. Also, if the enterprise example is set to use hostname and is running on a machine with hostname “myhost.apache.org” (IP addr: xxx.yyy.zzz.xyz) and you specify http://xxx.yyy.zzz.xyz:... In your EPR then some of the operations (specifically, RemoveRelationship) will silently fail.

 

These problems can be resolved by a better hostname equivalence algorithm.

 

/Pankaj.

 


From: Kumar, Pankaj
Sent: Friday, August 12, 2005 4:08 PM
To: '[email protected]'
Subject: Steps for Executing Muse Enterprise Example

 

Hi,

 

Just got the Muse-1.0 example working. Thought I will list the steps for benefit of others:

 

  1. Get the Muse-1.0 binary distribution from http://www.apache.org/dist/ws/muse/1.0/bin/
  2. Unzip the distribution file muse-1.0.zip
  3. Copy the directory tree MUSE_HOME/webapps/muse to directory CATALINA_HOME/webapps
  4. Change directory to MUSE_HOME/examples/enterprise
  5. Make sure that environment variable CATALINA_HOME is set to the Tomcat home directory.
  6. Run “ant all”. This should do the build and copy the relevant files under CATALINA_HOME/webapps/muse
  7. If your Tomcat is configured to run on a port other than 8080 then edit file CATALINA_HOME/webapps/muse/WEB-INF/classes/jndi-config.xml and change all occurrences of 8080 with whatever port you have configured in CATALINA_HOME/conf/server.xml
  8. Run Tomcat. Point your browser to http://host:port/muse/services to see all the deployed services.

 

/Pankaj.

Reply via email to