Hi,

    My name is ANIL,

    Since yesterday i am waiting for your reply.

    Here i am sending two attachments one is Java code
and another is EJB. I hope first you will run these
two attachments and give me your feed back.

    1) In the Java attachment code in the Third.java
file i mentioned a comment, you please go through it.

    2) Here i am able to deploy the EJB attachment in
WEBLOGIC Server and if i try the same bean in the
PRAMATI SERVER i am getting an error as follows, 


***********Error Message from 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\TestRemoteImpl_1226327922.java:157:
catch not reached.
                        }catch(Exception ex){
                         ^
1 error
d:\PServer25\server\nodes\StandAlone\user2\archives\Test.jar\java\TestRemoteImpl_1226327922.java:157:
catch not reached.
                        }catch(Exception ex){
                         ^
1 error

***********************************************************

        I don't know why i am getting this ERROR only with
PRAMATI SERVER, If possible to you please try to 
        deploy the EJB attachment in WEBLOGIC and then come
to a Conclusion.

      Please do reply as soon as possible because with
this simple problem i have been StruckedUP for a
      couple of days.

      Thank You,

      With Regards,

      Anil K Pendela
    

              
    







--- 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

Attachment: Ejb_java.zip
Description: Ejb_java.zip

Reply via email to