• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Problems by deploying an Application on WebSphere Application Server 5.1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
My task is to code and deploy 2 Applications on WebSphere Application Server 5.1. The first Application (SenderApplic) is a simple WebApplication (a servlet) that send messages to a Queue, with the QueueRequestor. The second application (ReceiverApplic) consist of an Application Client that receive the messages from Queue , process this and send a response message to the Queue and further it will be getting from SenderApplic. I wrote the Java code for these applications, I deployed on Sun-J2EE Application Server and it works.
My problem is that I cannot deploy and install the ReceiverApplic on the WebSphere Application Server 5.1. The SenderApplic is normal started (green arrow) but the ReceiverApplic has the icon unknown and I mean so long as I can't start it, I can't work with it (with the launchClient.bat).
It doesn't show any other errors in the administrative console.
I tried also to develop the code with the WebSphere Studio Application Developer 5.1.1, I made all the steps like by SenderApplic and finaly to deploy on the test server embeded in WSAD but when I start the test server I become among other things the following text:
No modules defined for ReceiverApplic ...
However, the needed module (ReceiverApplicClient.jar) exist in the .ear file (ReceiverApplic.ear) like by deploying on Sun-J2EE Application Server.
Where is the mistake ? Is anything forgot here ?
Thanks
Christian
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client application modules don't run on the server. They run separately. If you only have a client application module in your EAR you can't use "Run on Server" because there's nothing to run on the Server.
So, you should be able to start ReceiverApp with the "J2EE Client Application" runner in WSAD (start the dialog under Run... and then create a J2EE client application runner) or by using LaunchClient.bat at the command line.
What happens when you use launchClient? You've said "you can't work with it" but you've not said why...
Kyle
 
Christian Popa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
thanks Kyle for the quick response.
I try what You wrote me yesterday.
Christian
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!