Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Probelm working with *jar.xml files

0 views
Skip to first unread message

Chandu

unread,
Nov 20, 2001, 11:19:46 PM11/20/01
to
hi all,
I am working with a small Example which needs to call Entity bean in
a

session bean.(weblogic 6.1)
When i execute ant.bat file i am getting following error..
Can u pl anybody help me reg. this problem
thanks in advance
Chandu

D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession>ant
Buildfile: build.xml

clean:
[delete] Deleting directory
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\build
[delete] Deleting directory
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\dist

init:
[mkdir] Created dir:
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\build
[mkdir] Created dir:
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\build\META-INF

[mkdir] Created dir:
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\dist
[copy] Copying 2 files to
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\build\META-INF

compile_ejb:
[javac] Compiling 3 source files to
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\build

jar_ejb:
[jar] Building jar:
D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\dist\std_ejb_basic_cabinSession.jar

ejbc:
[java] weblogic.utils.AssertionError: ***** ASSERTION FAILED
*****[
Couldn't find wlBean named CabinEJB ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at
weblogic.ejb20.deployer.CompositeMBeanDescriptor.completeBeans(CompositeMBeanDescriptor.java:1214)

[java] at
weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:165)

[java] at
weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)

[java] at
weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)

[java] at
weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)

[java] at
weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:127)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc.main(ejbc.java:21)
[java] weblogic.utils.AssertionError: ***** ASSERTION FAILED
*****[
Couldn't find wlBean named CabinEJB ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at
weblogic.ejb20.deployer.CompositeMBeanDescriptor.completeBeans(CompositeMBeanDescriptor.java:1214)

[java] at
weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:165)

[java] at
weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)

[java] at
weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)

[java] at
weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)

[java] at
weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:127)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc.main(ejbc.java:21)
[java] Java Result: 1

compile_webapp:
[javac] Compiling 2 source files to
D:\bea\wlserver6.1\config\examples\applications\examplesWebApp\WEB-INF\classes

compile_client:
[javac] Compiling 4 source files to
D:\bea\wlserver6.1\config\examples\clientclasses

all:
BUILD SUCCESSFUL
Total time: 37 seconds

softstar

unread,
Nov 22, 2001, 3:24:19 AM11/22/01
to
Hi,
thanks for reply.. now i am able to deploye the ejb..I have another doubt..
how to call enityejb in session bean file.. I am trying to do by using JNDI
name..but it in not working..pl do u have any idea.. reg this..pl send me some
files.
Thanks in advance
chandu

Cameron Purdy wrote:

> Chandu,
>
> Well, here's the problem:


>
> >>
> jar_ejb:
> [jar] Building jar:
> D:\bea\wlserver6.1\samples\examples\ejb\basic\cabinSession\dist\std_ejb_basi
> c_cabinSession.jar
>
> ejbc:
> [java] weblogic.utils.AssertionError: ***** ASSERTION FAILED
> *****[
> Couldn't find wlBean named CabinEJB ]
> <<
>

> It was looking for something called CabinEJB and it couldn't find it.
> Chances are you have a descriptor messed up.
>
> BTW, next time you don't have to post the 150 lines that _are_ working.
>
> Peace,
>
> --
> Cameron Purdy
> Tangosol Inc.
> << Tangosol Server: How Weblogic applications are customized >>
> << Download now from http://www.tangosol.com/download.jsp >>
>
> "Chandu" <tchs...@mailcity.com> wrote in message
> news:baac5396.01112...@posting.google.com...


> > hi all,
> > I am working with a small Example which needs to call Entity bean in
> > a
> >
> > session bean.(weblogic 6.1)
> > When i execute ant.bat file i am getting following error..
> > Can u pl anybody help me reg. this problem
> > thanks in advance
> > Chandu

> ...

0 new messages