I follow you instruction, but still I've got the following exeption:
09:39:26,625 INFO [MainDeployer] Deployed package:
file:/D:/jboss/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/airline.
09:42:23,109 ERROR [LogInterceptor] RuntimeException:
java.lang.NullPointerException
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBC
StoreManager.java:555)
at
org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersi
stenceManager.java:137)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createBeanC
lassInstance(CachedConnectionInterce
at
org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:2
26)
at
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146
)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
erceptor.java:79)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor
java:61)
-----Original Message-----
From: Fabrizio Di Giuseppe [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 7:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [Middlegen-user] Why is JBoss *creating* tables?
On Wednesday, October 1, 2003, at 9:20 AM, Gavin Sinclair wrote:
> And having scoured the build script,
> configuration files, generated code, etc., I don't see what is
> directing
> JBoss (3.2.1) to exhibit this behaviour.
That's a JBoss configuration files issue. The jboss file
jbosscmp-jdbc.xml inside META-INF indicates if a table must be created
or not. That's file is generated by xdoclet. So you have to change the
xdoclet ant task. Take a look at this build file fragment:
<ejbdoclet
destdir="${xdoclet.generated}/src"
excludedtags="@version,@author" ejbspec="2.0"
force="${xdoclet.force}"
>
...
<jboss
version="3.0" xmlencoding="UTF-8"
typemapping="Oracle9i"
datasource="java:/EntityDB"
destDir="${xdoclet.generated}/META-INF"
createTable="false" removeTable="false"
/>
...
</ejbdoclet>
The jboss subtask has the two options to control the table creation and
deletion: createTable and removeTable.
Bye
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user
This message and any attachments are for the intended recipient(s) only and may
contain privileged, confidential and/or proprietary information about Downey Savings
or its customers, which Downey Savings does not intend to disclose to the public. If
you received this message by mistake, please notify the sender by reply e-mail and
delete the message and attachments.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user