Thread:
 middlegen.MiddlegenException: Couldn't connect to ... 
 smaskar   02 Oct 2007, 09:24 
 Re: middlegen.MiddlegenException: Couldn't conn... 
 smaskar   04 Oct 2007, 08:08 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: smaskar (02 Oct 2007, 09:24) Replies: 1, Views: 3003
Subject: middlegen.MiddlegenException: Couldn't connect to datab...
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!I have MSSQLSERVER Express on windows Vista I can setup the database
using the Ant task but when I try to execute the middlegen ant task it
gives me an error saying 

Before getting the following error there was Ant debug statement 

- Class com.inet.tds.h loaded from ant loader (parentFirst)
Class java.lang.Math loaded from parent loader (parentFirst)
Class java.lang.OutOfMemoryError loaded from parent loader (parentFirst)
 
is the above line causes to load the driver?

\build.xml:453: middlegen.MiddlegenException: Couldn't connect to
database: [TDS Driver]Connection was closed from the SQL Serv
er site or network at header (0)
        at middlegen.MiddlegenTask.execute(MiddlegenTask.java:477)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at

-Santosh
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]