>Popeye Kierkegaard wrote:
> > I wonder if I'm alone with this problem: when compiling the
> > TDK generated webapp with JDK 1.3.1/linux I hit a brick wall:
> > javac couldn't find the classes [newapp].om.Rdf*
>
>It's not a problem, it looks like you didn't run the 'init'
>target as instructed. The OM classes are generated and if
>you don't run the target to generate those classes, well,
>you get a brick wall I guess.
Thanks for the explanation, Jason. After analyzing the problem
further I found that apparently the MySQL JDBC adapter can't
cope with the Red Hat 7.1 default access controls for connecting
as root with no password to localhost. There are two problems,
first of all on RH7.1 127.0.0.1 resolves as "localhost.localdomain"
while the MySQL server is only configured to accept connections
from "localhost". So changing the default connection strings to
databaseUrl = jdbc:mysql://localhost/newapp
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = test
databasePassword = test
databaseHost = localhost
Then I ran "mysql -uroot mysql" and entered the following:
GRANT ALL PRIVILEGES on newapp.* to test;
UPDATE user SET Password=PASSWORD('test') WHERE user='test';
After that, "ant init" ran real smoothly.
For some weird reason, on my RH7.0 system "ant init" segfaults
every time. The segfault comes from 'java' which calls a binary
from the Sun JDK 1.3.1 distribution.
Hope that this helps somebody else.
:) PK
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]