After few build problems (see another thread) I got
test-ear-j2ee_1.4 to deploy and undeploy. The following files are left
in geronimo repo. The ejb-cpm2.jar is locked and can not be deleted.
The following files/dirs are left in var\temp
OpenEJB_Generated_43980.jar geronimo-deploymentUtil43975.tmpdir
OpenEJB_Generated_43981.jar geronimo-deploymentUtil43979.tmpdir
README.txt geronimo-deploymentUtil43984.tmpdir
geronimo-deployer43982.tmpdir jline_0_9_9.dll
There was an error on the console, it is not written in the log!
Geronimo Application Server started
[severity=ERROR,message=unexpected element
(uri:"http://www.openejb.org/openejb-
jar/1.1", local:"cmp-connection-factory"). Expected elements are
<{http://www.op
enejb.org/openejb-jar/1.1}ejb-deployment>,locator=[node=null,object=null,url=nul
l,line=25,col=29,offset=-1]]
09:45:53,031 INFO [config] Configuring app:
geronimo-deploymentUtil43977.tmpdir
09:45:53,593 WARN [OpenEJB] Auto-deploying ejb SimpleStatelessSession:
EjbDeplo
yment(deployment-id=geronimo-deploymentUtil43977.tmpdir/SimpleStatelessSession,
container-id=null)
09:45:53,593 WARN [OpenEJB] Auto-deploying ejb SimpleStatefulSession:
EjbDeploy
ment(deployment-id=geronimo-deploymentUtil43977.tmpdir/SimpleStatefulSession,
co
ntainer-id=null)
09:45:53,593 WARN [OpenEJB] Auto-deploying ejb SimpleBMPEntity:
EjbDeployment(d
eployment-id=geronimo-deploymentUtil43977.tmpdir/SimpleBMPEntity,
container-id=n
ull)
09:45:53,593 WARN [OpenEJB] Auto-deploying ejb SimpleCMPEntity:
EjbDeployment(d
eployment-id=geronimo-deploymentUtil43977.tmpdir/SimpleCMPEntity,
container-id=n
ull)
09:45:55,406 INFO [config] Loaded Module:
geronimo-deploymentUtil43977.tmpdir
907 INFO [RMI TCP Connection(8)-192.168.0.101] openjpa.MetaData -
Found 1 cla
sses with metadata in 375 milliseconds.
09:46:02,750 INFO [startup] Assembling app:
C:\anita\geronimo\g2.0\assemblies\g
eronimo-tomcat6-jee5-2.0-SNAPSHOT\var\temp\geronimo-deploymentUtil43977.tmpdir
09:46:03,796 INFO [startup] Created
Ejb(deployment-id=geronimo-deploymentUtil43
977.tmpdir/SimpleStatelessSession, ejb-name=SimpleStatelessSession,
container=De
fault Stateless Container)
09:46:03,796 INFO [startup] Created
Ejb(deployment-id=geronimo-deploymentUtil43
977.tmpdir/SimpleStatefulSession, ejb-name=SimpleStatefulSession,
container=Defa
ult Stateful Container)
09:46:03,796 INFO [startup] Created
Ejb(deployment-id=geronimo-deploymentUtil43
977.tmpdir/SimpleBMPEntity, ejb-name=SimpleBMPEntity, container=Default
BMP Cont
ainer)
09:46:03,796 INFO [startup] Created
Ejb(deployment-id=geronimo-deploymentUtil43
977.tmpdir/SimpleCMPEntity, ejb-name=SimpleCMPEntity, container=Default
CMP Cont
ainer)
165671 INFO [RMI TCP Connection(14)-192.168.0.101] openjpa.jdbc.JDBC
- OpenJP
A will now connect to the database to attempt to determine what type of
database
dictionary to use. To prevent this connection in the future, set your
openjpa.
jdbc.DBDictionary configuration property to the appropriate value for
your datab
ase (see the documentation for available values).
165953 INFO [RMI TCP Connection(14)-192.168.0.101] openjpa.jdbc.JDBC
- Using
dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache
Derby 10.
2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 -
(485682)).
09:48:47,671 INFO [DirectoryMonitor] Hot deployer notified that an
artifact was
removed:
org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear
The geronimo-deploymentUtil43984.tmpdir and
geronimo-deployer43982.tmpdir directories were left behind after a web
app deploy, undeploy operation. These are not locked.
Thanks
Anita
--- Kevan Miller <[EMAIL PROTECTED]> wrote:
>
> OK. I see the issue. PersistentUnitGBean is cloning the EAR
> classloader and giving it to OpenJPA. I don't see where this CL will
>
> ever be destroyed. Will need to work through the lifecycle...
>
> --kevan
>
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com