Discussion:
[Middlegen-user] Can't get it working...
ashish gupta
2002-09-23 00:38:03 UTC
Permalink
Hi All
I'm using middlegen for the first time, got it from the 2.0b1 release. but can't seem to be able to run the airline sample.
Trying to run it on Oracle8i and weblogic6.1
I got the tables created sussesfully, can see them in hsqldb-gui and also in sqlplus. but when trying the next step middlegen task can't seem to find any tables. I tried specifying the tables explicitly in upper case that doesn't help either. I'm pasting the console error message...

[middlegen] Database URL:jdbc:oracle:thin:@localhost:1521:oracle
[middlegen] No <table> elements specified. Reading all tables. This might take a while...

BUILD FAILED
file:C:/DevTools/middlegen-2.0-b1/samples/build.xml:139: middlegen.MiddlegenException:
Middlegen successfully connected to the database, but couldn't find any tables.
Perhaps the specified schema or catalog is wrong?
-Or maybe there aren't any tables in the database at all?

anyone encountered similar problem or can pointout what am i missing?
Thanks
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Eivind Waaler
2002-09-23 04:36:01 UTC
Permalink
This sounds like a problem experienced by others after the schema patch
was included..

Try removing this line from the <middlegen> task in build.xml:

schema=""

Let us know if this fixes it.

.eivind
Post by ashish gupta
Hi All
I'm using middlegen for the first time, got it from the 2.0b1 release. but can't seem to be able to run the airline sample.
Trying to run it on Oracle8i and weblogic6.1
I got the tables created sussesfully, can see them in hsqldb-gui and also in sqlplus. but when trying the next step middlegen task can't seem to find any tables. I tried specifying the tables explicitly in upper case that doesn't help either. I'm pasting the console error message...
[middlegen] No <table> elements specified. Reading all tables. This might take a while...
BUILD FAILED
Middlegen successfully connected to the database, but couldn't find any tables.
Perhaps the specified schema or catalog is wrong?
-Or maybe there aren't any tables in the database at all?
anyone encountered similar problem or can pointout what am i missing?
Thanks
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
ashish gupta
2002-09-23 23:04:01 UTC
Permalink
Thanks Eivind
That did it.
I'm gonna try and explore it more.
Post by Eivind Waaler
This sounds like a problem experienced by others after the schema patch
was included..
schema=""
Let us know if this fixes it.
.eivind
Post by ashish gupta
Hi All
I'm using middlegen for the first time, got it from the 2.0b1 release. but can't seem to be able to run the airline sample.
Trying to run it on Oracle8i and weblogic6.1
I got the tables created sussesfully, can see them in hsqldb-gui and also in sqlplus. but when trying the next step middlegen task can't seem to find any tables. I tried specifying the tables explicitly in upper case that doesn't help either. I'm pasting the console error message...
[middlegen] No <table> elements specified. Reading all tables. This might take a while...
BUILD FAILED
Middlegen successfully connected to the database, but couldn't find any tables.
Perhaps the specified schema or catalog is wrong?
-Or maybe there aren't any tables in the database at all?
anyone encountered similar problem or can pointout what am i missing?
Thanks
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Loading...