perfsonar-dev - Re: [pS-dev] WAR file creation
Subject: perfsonar development work
List archive
- From: "Michael Bischoff" <>
- To: "Roman Lapacz" <>
- Cc: "Stijn Melis" <>, "" <>
- Subject: Re: [pS-dev] WAR file creation
- Date: Tue, 22 Apr 2008 13:26:28 +0200 (CEST)
- Importance: Normal
Hi all,
I'm pretty sure it's related to other problems see:
http://mdm-1.par.fr.geant2.net:8090/geant2_java-sshtelnet-mp/servlet/AxisServlet
And now... Some Services
* AdminService (wsdl)
o AdminService
* Version (wsdl)
o getVersion
flowsa-ma/servlet/AxisServlet
And now... Some Services
* AdminService (wsdl)
o AdminService
* Version (wsdl)
o getVersion
* FlowsaMeasurementArchiveService (wsdl)
o acceptCall
Your service is not registered with axis.
You probebly need a server-config.wsdd(web-inf) as opposed to the
server-deploy.wsdd file.
"Axis deployment on Tomcat
Deploying an Axis Web service involves executing an Axis specific command
within the Web
container to tell the Axis engine to deploy your Web service. This can be
difficult in a
production application where restarting it relies upon a manual step to
deploy the Web
service. To work around this problem, it is possible to issue all of the
deployment commands
for the Web services published by your Web application and then embed the
resulting
service-config.wsdd file within your war file. When the Axis engine starts
(from a
configuration setting in your web.xml file) it will find the
service-config.wsdd file and
automatically redeploy your Web service." -
http://www.ibm.com/developerworks/webservices/library/ws-deployjava.html
Here we auto-generate from service-deploy.wsdd though maven(which calls and
ant task) see the
flowsa-ma trunk for an example.
You'll probebly run into other problems as your creating wars, because
although I added
AuxiliaryComponentManager.lookupFile(String location) (to also look for files
on relative
paths), the base is still cluttered with custom file lookup code. For example
I recently
fixed some ls registration code.
Best regards,
Michael @ SURFnet
> 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
>>
>
>
- WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Loukik Kudarimoti, 04/22/2008
- Re: [pS-dev] WAR file creation, Michael Bischoff, 04/22/2008
- Re: [pS-dev] WAR file creation, Michael Bischoff, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Guilherme Fernandes, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Michael Bischoff, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Guilherme Fernandes, 04/22/2008
- Re: [pS-dev] WAR file creation, Loukik Kudarimoti, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
Archive powered by MHonArc 2.6.16.