Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] WAR file creation

Subject: perfsonar development work

List archive

Re: [pS-dev] WAR file creation


Chronological Thread 
  • From: Loukik Kudarimoti <>
  • To: Roman Lapacz <>
  • Cc: Stijn Melis <>, "" <>
  • Subject: Re: [pS-dev] WAR file creation
  • Date: Tue, 22 Apr 2008 11:59:53 +0100

Roman Lapacz wrote:

Some time ago I sent a question about naming of war files (it was suggested to have a version number in the name but this way that version will be present in URL address and my understanding was that we didn't want it) to the release mailing list but I haven't got any response yet :)

Roman

Hi Roman,

I had sent an email with the filenames expected for all flavors. I remember your email asking for clarifications and I haven't answered it, my apologies for that.

As per the original email on the filenames below, war files actually contain version numbers. The recommended deployment of war files however is
- either via server.xml entry - the context does not contain version numbers. Hence, when services are upgraded, the access URL does not change.

- If dropping war file directly into webapps is preferred, we are thinking to suggest using sym links but this is not tested yet. The sym link file could be without a version number and could point to the war file which contains the version number. Again, this is not tested


About Stijn's original email, I think the problem is different. I think the web service doesn't come deployed (maybe build process does not modify the wsdd or something?) Since the webadmin is accessible, clearly its the web service not working (the deployment URL used by Stijn is perfect though).

Loukik

Previous email on filenames expected by release management:

Here are the files that we expect from you for your built product.

Conventions:

For RPMs
<name>-<version>-<release>.<arch>.rpm

For debian
<name>_<version>-<release>_<arch>.deb

For WAR files (similar to rpms)
<name>-<version>-<release>.<arch>.war


List of files expected

1. geant2_java-rrd-ma

* geant2-java-rrd-ma-3.0-1.i386.rpm
* geant2-java-rrd-ma-3.0-1.x86_64.rpm
* geant2-java-rrd-ma-3.0-1.sparc.rpm

* geant2-java-rrd-ma-3.0-1.i386.war
* geant2-java-rrd-ma-3.0-1.x86_64.war
* geant2-java-rrd-ma-3.0-1.sparc.war

* geant2-java-rrd-ma_3.0-1_i386.deb
* geant2-java-rrd-ma_3.0-1_ia64.deb
* geant2-java-rrd-ma_3.0-1_amd64.deb
* geant2-java-rrd-ma_3.0-1_sparc.deb


2. geant2_java-sql-ma

* geant2-java-sql-ma-2.0-1.noarch.rpm
* geant2-java-sql-ma-2.0-1.war
* geant2-java-sql-ma_2.0-1_all.deb


3. geant2_java-xml-ls

* geant2-java-xml-ls-1.2-1.noarch.rpm
* geant2-java-xml-ls-1.2-1.war
* geant2-java-xml-ls_1.2-1_all.deb


4. geant2_java-sshtelnet-mp

* geant2-java-sshtelnet-mp-1.2-1.noarch.rpm
* geant2-java-sshtelnet-mp-1.2.war
* geant2-java-sshtelnet-mp_1.2-1_all.deb


5. geant2_java-as
* geant2-java-as-1.0-1.noarch.rpm
* geant2-java-as-1.0-1.war
* geant2-java-as_1.0-1_all.deb

6. rnp_java-cl-mp

* rnp-java-cl-mp-2.0-1.noarch.rpm
* rnp-java-cl-mp-2.0-1.war
* rnp-java-cl-mp_2.0-1_all.deb


7. perl-perfSONAR-MP-BWCTL

* perl-perfSONAR-MP-BWCTL-0.4-1.noarch.rpm
* perl-perfSONAR-MP-BWCTL_0.4-1_all.deb






Roman Lapacz wrote:
Stijn Melis wrote:
Hi all,


I am trying to create a WAR file for the SSH TELNET MP, but I am having some problems.

Do I have to do anything special to get the MP to work, once I placed the WAR file in the tomcat/webapps dir and restarted tomcat? Because when I go to the MP's normal address:

http://mdm-1.par.fr.geant2.net:8090/geant2_java-sshtelnet-mp/services/TelnetSSH

I get a "AXIS error - No service is available at this URL".

However, when I go to the webadmin pages at

http://mdm-1.par.fr.geant2.net:8090/geant2_java-sshtelnet-mp

this does work. The admin is operational as well, because I can upload my metadata configuration file to the eXist database (after I update the path to the configuration file, that is).

Does anybody know what I have to add to the WAR file in order for this to work?

This is normal behavior of WAR file. The address of your service is different because war file is in tomcat/webapps directory (context is not setup in tomcat config file.)
I understand that the name of your WAR file is geant2_java-sshtelnet-mp.war. Am I right?

Some time ago I sent a question about naming of war files (it was suggested to have a version number in the name but this way that version will be present in URL address and my understanding was that we didn't want it) to the release mailing list but I haven't got any response yet :)

Roman



Thanks in advance,

Stijn





Archive powered by MHonArc 2.6.16.

Top of Page