You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/11/13 20:45:20 UTC
BugRat Report #378 has been filed.
Bug report #378 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/378>
REPORT #378 Details.
Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
Environment:
Release: Ant version 1.3alpha compiled on November 13 2000
JVM Release: 1.2.2-001
Operating System: win2k
OS Release: sp1
Platform: windows
Synopsis:
ejbjar task has problems with ejb-ref
Description:
The ejbjar task is getting confused when try to read some
ejb-ref's.
accountsummaryFacade.jar:
[ejbjar] Could not load class com.msdw.online.model.factory.subaccount.Accoun
tFactory for super class check
[ejbjar] Could not load class com.msdw.online.model.factory.subaccount.Accoun
tFactoryHome for super class check
[ejbjar] building accountsummaryFacade.jar with 29 files
java.io.FileNotFoundException: C:\build_classes\com\msdw\online\model\factory\su
baccount\AccountFactory.class (The system cannot find the file specified)
ejbjar should not be looking for the AccountFactory.class
in the ../subaccount directory. Instead, the ejbref says
to look for it in the account directory.
Here is an excerpt from the ejb-jar.xml file:
<ejb-ref>
<description></description>
<ejb-ref-name>ejb/SubAccountFactoryHome</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.msdw.online.model.factory.subaccount.SubAccountFactoryHome</home>
<remote>com.msdw.online.model.factory.subaccount.SubAccountFactory</remote>
</ejb-ref>
<ejb-ref>
<description></description>
<ejb-ref-name>ejb/AccountFactoryHome</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.msdw.online.model.factory.account.AccountFactoryHome</home>
<remote>com.msdw.online.model.factory.account.AccountFactory</remote>
</ejb-ref>