Hi Priya, Thanks for your immediate response. In my office we are using four more servers...WebLogic,WebSphere,J-Boss TomCat & In-Q-My servers.I did not get such kind of problem with any of these servers while deploying the same bean.I can not change my code just for PRAMATHI.What shall I do in this case?
Regards. Sekhar. --- Priya <[EMAIL PROTECTED]> wrote: > Hello Sekhar, > > We went through your bean files. The method(s) in > your remote and home > interfaces in test2.zip along with RemoteException > also throw Exception. > Since Exception is a super class of RemoteException, > the catch for > RemoteException is never reached. Hence, the EJBs in > test1.zip deployed > successfully and the ones in test2.zip failed. > > Regards, > > Priya > Customer Support > Pramati Technologies > http://www.pramati.com > > > ----- Original Message ----- > From: SEKHAR JS <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 28, 2001 4:15 PM > Subject: Problem with EJB deployment --- Response > required Immediately > > > > Hi, > > > > I am trying to deploy a EJB application. Here > the > > first zip file "test1.zip", i am able to deploy > it > > successfully using the Deployment Tool. > > But when i deploy the second zip file > "test2.zip" > > i am getting an Error Message as follows, > > > > 1) In the Dialog Box > > ***************** > > Could not deploy the application. > > Error - Failed to compile generated > > > code[d:\PServer25\server\nodes\StandAlone\user2\archieves\Test.jar\java\Test > RemoteImpl_1226327922.java,d:\PServer25|........................ > > ***************** > > > > > > 2) And in the stdOut.log file > > > > **************** > > Pramati Server Started on 192.168.128.2:9191, HTTP > > Port 8181 > > > > Reading pramati-j2ee-server.xml.... > > Reading ejb-jar.xml.... > > Deploying ejbComponent... > > base location > > > isd:\PServer25\server\nodes\StandAlone\user2\archives\Test.jar > > Generating the Impl java files of remote > interface > > for the bean Test > > Generating the Impl java files of home > interface > > for the bean Test > > Code generation complete for Test.jar > > Compiling 2 files of Test.jar > > > d:\PServer25\server\nodes\StandAlone\user2\archives\Test.jar\java\TestRemote > Impl_1226327922.java:157: > > catch not reached. > > }catch(Exception ex){ > > ^ > > 1 error > > > d:\PServer25\server\nodes\StandAlone\user2\archives\Test.jar\java\TestRemote > Impl_1226327922.java:157: > > catch not reached. > > }catch(Exception ex){ > > ^ > > 1 error > > **************** > > > > and the difference between the two zip files > is > > that in the "test1.zip" file the method( > methodCall() > > ) in the remote interface "TestRemote" throws > > single Exception like "RemoteException" and in the > > second zip file "test2.zip" the method( > methodCall() ) > > in the remote interface "TestRemote" throws two > > Exceptions like "RemoteException, Exception". So > while > > deploying the second been i am getting an error > > message as above. What shall i do? > > > > Reply soon, > > > > Regards > > > > Anil > > > > __________________________________________________ > > Do You Yahoo!? > > Listen to your Yahoo! Mail messages from any > phone. > > http://phone.yahoo.com > __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com
