Hi, thanks for your help. I did what you suggested.
But now I get the following error:
BUILD FAILED
file:C:/middlegen-2.0-b1/build.xml:275: Class
xdoclet.modules.jboss.ejb.
JBossSubTask doesn't support the "createtable"
attribute.
Is this normal? This is where I added the attribute:
<jboss
version="3.0"
xmlencoding="ISO-8859-1"
destdir="${build.ejb-meta.dir}/META-INF"
validatexml="true"
datasource="java:/MSSQLDS"
datasourcemapping="${jboss.datasource.mapping}"
createtable="false"
/>
I appreciate your help.
--- [EMAIL PROTECTED] wrote:
> Jboss attempts to create the tables by default. To
> turn this off, add a
> 'createTable="false"' attribute to the Jboss subtask
> in ejbdoclet.
>
> David
>
> -----Original Message-----
> From: Dos Santos [mailto:[EMAIL PROTECTED]
> Sent: 30 May 2003 15:49
> To: [EMAIL PROTECTED]
> Subject: [Middlegen-user] Error deploying jar in
> Jboss
>
>
> Hi all, I think I've finally minimized my middlegen
> build file but I'm still having problems deploying
> the
> generated .jar in Jboss.
>
> The thing is that I thought it might have been a
> problem with a recursive relationship that I had due
> to the fact that this was the only bean that was
> giving me trouble. I eliminated this relationship in
> my database (using MSSQL 2000), for testing purposes
> and it still throws exceptions while deploying.
>
> The error is:
>
> [ObjectName: jboss.j2ee:jndiName=myName,service=EJB
> state: FAILED
> I Depend On:
> Depends On Me:
> org.jboss.deployment.DeploymentException: Error
> while
> creating table; - nested throwable:
> (java.sql.SQLException: [Microsoft][SQLServer 2000
> Dri
> ver for JDBC][SQLServer]Line 1: Incorrect syntax
> near
> '.'.)]
>
> I have no clue as to why it tries to create the
> table,
> my build file doesn't include anything of the sort.
>
> I would truly truly appreciate any help.
>
> Thanx.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to
> Outlook(TM).
> http://calendar.yahoo.com
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/middlegen-user
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/middlegen-user
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user