ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Cormier <ross.corm...@scgo.com>
Subject RE: EJBC Task Exception
Date Mon, 14 Aug 2000 16:16:28 GMT
To answer a previous post, I am using the "Modern" compiler.  Jikes creates 
an Application Error in Windows when I compile certain Swing code.

The Deployment Descriptor .ser file is generated using the ddcreator 
task.  And the ejbc task is creating the other .ser files.

Ross

At 09:59 PM 8/14/00 +1000, you wrote:
>Ross,
>
>Can you tell me how you are generating the .ser file? Weblogic assumes that
>the serialized object is an instance of a weblogic class.
>
>Conor
>
> > -----Original Message-----
> > From: Ross Cormier [mailto:ross.cormier@scgo.com]
> > Sent: Saturday, 12 August 2000 3:23
> > To: ant-user@jakarta.apache.org
> > Subject: EJBC Task Exception
> >
> >
> > I get the following exception when running the ejbc task.  It only occurs
> > after the first build, ie. when building to a dest directory
> > which already
> > contains the generated files.  The solution is to delete all of the
> > generated files from the dest directory, but I don't have to do this when
> > running from the command line.  Any ideas?
> >
> > I am using Weblogic 4.51, and the release build of Ant.
> >
> > Regards,
> > Ross Cormier
> >
> >       [java] Exception occurred reading
> > BidAskServiceBeanEOImpl_Descriptor.ser -
> > continuing
> >       [java] Running ejbc for BidAskServiceBeanEOImpl_Descriptor.ser
> >       [java] java.lang.ClassCastException:
> > weblogic.service.ServiceDeploymentDesc
> > riptor
> >       [java]     at weblogic.ejbc.getBeanFromFile(ejbc.java:280)
> >       [java]     at weblogic.ejbc.deploymentDescriptors(ejbc.java:254)
> >       [java]     at weblogic.ejbc.runBody(ejbc.java:76)
> >       [java]     at weblogic.utils.compiler.Tool.run(Tool.java:55)
> >       [java]     at weblogic.ejbc.main(ejbc.java:623)
> >       [java]     at
> > org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.regener
> > ateSupportClasses(EjbcHelper.java:275)
> >       [java]     at
> > org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.process
> > (EjbcHelper.java:238)
> >       [java]     at
> > org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.main(Ej
> > bcHelper.java:113)
> >       [java] Result: 1
> >
> > BUILD FAILED
> >
> > build.ant:176: Execution of ejbc helper failed
> >
> >


Mime
View raw message