zousey seyzou
2004-10-10 15:40:48 UTC
Hello i am using mysql and jdk.1.4, and i have alos tried jdk1.5. and I am
using weblogic8.SP3, i am using <!ENTITY ejb SYSTEM
"file:./config/ejb/weblogic.xml"> in build.xml
but not matter what I get the following errors.
******************************************************************************
ejb-jar:
[mkdir] Created dir: C:\middlegen-2.1\middlegen-2.1\samples\build\ejb
[jar] Building jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\airline-ejb.jar
check-weblogic-jar:
fail-if-not-weblogic-jar-present:
postprocess-ejb-jar:
[move] Moving 1 files to
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb
[echo] Running weblogic.ejbc
[java] <10-10-2004 18:41:17 CEST> <Warning> <EJB> <BEA-010212> <The EJB
'ReservationFacade(Jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\standard-airline-ejb.jar)'
contains at least one m
ethod without an explicit transaction attribute setting. The default
transaction attribute of Supports will be used for the following methods:
remote[findByPrimaryKey(airline.interfaces.ReservationPK)
, findAll(), update(airline.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,java.lang.String,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal),
create(airli
ne.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal),
removeEntity(airline.interfaces.ReservationLightValue)
] local[findByPrimaryKey(airline.interfaces.ReservationPK), findAll(),
update(airline.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,java.lang.String,airline.interface
s.FlightLocal,airline.interfaces.PersonLocal),
create(airline.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,airline.interfaces.FlightLocal,airline.interfaces.PersonLoc
al), removeEntity(airline.interfaces.ReservationLightValue)] >
[java] <10-10-2004 18:41:17 CEST> <Warning> <EJB> <BEA-010212> <The EJB
'PersonFacade(Jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\standard-airline-ejb.jar)'
contains at least one method
without an explicit transaction attribute setting. The default transaction
attribute of Supports will be used for the following methods:
remote[update(airline.interfaces.PersonLightValue), findByPrim
aryKey(java.lang.Integer),
removeEntity(airline.interfaces.PersonLightValue), findAll(),
create(java.lang.Integer,java.lang.String,java.lang.String),
findByFirstNameAndLastName(java.lang.String,java.l
ang.String), create(airline.interfaces.PersonLightValue)]
local[update(airline.interfaces.PersonLightValue),
findByPrimaryKey(java.lang.Integer),
removeEntity(airline.interfaces.PersonLightValue), fi
ndAll(), create(java.lang.Integer,java.lang.String,java.lang.String),
findByFirstNameAndLastName(java.lang.String,java.lang.String),
create(airline.interfaces.PersonLightValue)] >
[java] <10-10-2004 18:41:17 CEST> <Warning> <EJB> <BEA-010212> <The EJB
'FlightFacade(Jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\standard-airline-ejb.jar)'
contains at least one method
without an explicit transaction attribute setting. The default transaction
attribute of Supports will be used for the following methods:
remote[findByPrimaryKey(java.lang.Integer), findAll(), create(
java.lang.Integer,java.lang.String,java.sql.Timestamp,java.sql.Timestamp),
update(airline.interfaces.FlightLightValue),
removeEntity(airline.interfaces.FlightLightValue),
create(airline.interfaces.Fli
ghtLightValue)] local[findByPrimaryKey(java.lang.Integer), findAll(),
create(java.lang.Integer,java.lang.String,java.sql.Timestamp,java.sql.Timestamp),
update(airline.interfaces.FlightLightValue), re
moveEntity(airline.interfaces.FlightLightValue),
create(airline.interfaces.FlightLightValue)] >
[java] ERROR: Error from ejbc: In EJB ReservationFacade, method
create(java.lang.Integer,java.sql.Timestamp,java.lang.String,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal)
exposes
local interface types or local home interface types through the remote
interface of the bean. This is not allowed.
[java] ERROR: Error from ejbc: In EJB ReservationFacade, method
create(java.lang.Integer,java.sql.Timestamp,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal)
exposes local interface
types or local home interface types through the remote interface of the
bean. This is not allowed.
[java] ERROR: ejbc couldn't invoke compiler
_________________________________________________________________
Find det, du søger med MSN Søg http://search.msn.dk/
using weblogic8.SP3, i am using <!ENTITY ejb SYSTEM
"file:./config/ejb/weblogic.xml"> in build.xml
but not matter what I get the following errors.
******************************************************************************
ejb-jar:
[mkdir] Created dir: C:\middlegen-2.1\middlegen-2.1\samples\build\ejb
[jar] Building jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\airline-ejb.jar
check-weblogic-jar:
fail-if-not-weblogic-jar-present:
postprocess-ejb-jar:
[move] Moving 1 files to
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb
[echo] Running weblogic.ejbc
[java] <10-10-2004 18:41:17 CEST> <Warning> <EJB> <BEA-010212> <The EJB
'ReservationFacade(Jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\standard-airline-ejb.jar)'
contains at least one m
ethod without an explicit transaction attribute setting. The default
transaction attribute of Supports will be used for the following methods:
remote[findByPrimaryKey(airline.interfaces.ReservationPK)
, findAll(), update(airline.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,java.lang.String,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal),
create(airli
ne.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal),
removeEntity(airline.interfaces.ReservationLightValue)
] local[findByPrimaryKey(airline.interfaces.ReservationPK), findAll(),
update(airline.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,java.lang.String,airline.interface
s.FlightLocal,airline.interfaces.PersonLocal),
create(airline.interfaces.ReservationLightValue),
create(java.lang.Integer,java.sql.Timestamp,airline.interfaces.FlightLocal,airline.interfaces.PersonLoc
al), removeEntity(airline.interfaces.ReservationLightValue)] >
[java] <10-10-2004 18:41:17 CEST> <Warning> <EJB> <BEA-010212> <The EJB
'PersonFacade(Jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\standard-airline-ejb.jar)'
contains at least one method
without an explicit transaction attribute setting. The default transaction
attribute of Supports will be used for the following methods:
remote[update(airline.interfaces.PersonLightValue), findByPrim
aryKey(java.lang.Integer),
removeEntity(airline.interfaces.PersonLightValue), findAll(),
create(java.lang.Integer,java.lang.String,java.lang.String),
findByFirstNameAndLastName(java.lang.String,java.l
ang.String), create(airline.interfaces.PersonLightValue)]
local[update(airline.interfaces.PersonLightValue),
findByPrimaryKey(java.lang.Integer),
removeEntity(airline.interfaces.PersonLightValue), fi
ndAll(), create(java.lang.Integer,java.lang.String,java.lang.String),
findByFirstNameAndLastName(java.lang.String,java.lang.String),
create(airline.interfaces.PersonLightValue)] >
[java] <10-10-2004 18:41:17 CEST> <Warning> <EJB> <BEA-010212> <The EJB
'FlightFacade(Jar:
C:\middlegen-2.1\middlegen-2.1\samples\build\ejb\standard-airline-ejb.jar)'
contains at least one method
without an explicit transaction attribute setting. The default transaction
attribute of Supports will be used for the following methods:
remote[findByPrimaryKey(java.lang.Integer), findAll(), create(
java.lang.Integer,java.lang.String,java.sql.Timestamp,java.sql.Timestamp),
update(airline.interfaces.FlightLightValue),
removeEntity(airline.interfaces.FlightLightValue),
create(airline.interfaces.Fli
ghtLightValue)] local[findByPrimaryKey(java.lang.Integer), findAll(),
create(java.lang.Integer,java.lang.String,java.sql.Timestamp,java.sql.Timestamp),
update(airline.interfaces.FlightLightValue), re
moveEntity(airline.interfaces.FlightLightValue),
create(airline.interfaces.FlightLightValue)] >
[java] ERROR: Error from ejbc: In EJB ReservationFacade, method
create(java.lang.Integer,java.sql.Timestamp,java.lang.String,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal)
exposes
local interface types or local home interface types through the remote
interface of the bean. This is not allowed.
[java] ERROR: Error from ejbc: In EJB ReservationFacade, method
create(java.lang.Integer,java.sql.Timestamp,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal)
exposes local interface
types or local home interface types through the remote interface of the
bean. This is not allowed.
[java] ERROR: ejbc couldn't invoke compiler
_________________________________________________________________
Find det, du søger med MSN Søg http://search.msn.dk/