You probably didn't edit the database configuration files....
mysql.xml:
<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor JDO Configuration DTD
Version 1.0//EN"
"http://castor.exolab.org/jdo-conf.dtd">
<!-- Database file for Sybase 11 - required jConnect 5.2 -->
<database name="mysql" engine="mysql" >
<driver url="jdbc:mysql://localhost/test"
class-name="org.gjt.mm.mysql.Driver">
<param name="user" value="test" />
<param name="password" value="test" />
</driver>
<mapping href="mapping.xml" />
</database>
--Keith
Pablo Knuiman wrote:
>
> Hello, i'm new to Castor. I tryed to run some of your examples and I
> receive every time this error:
> org.exolab.castor.mapping.MappingException: Nested error:
> java.net.UnknownHostException: Castor.exolab.org Proces exited
> with exitcode 0.
>
> The computer isn't directly connected to the Internet, should I change
> the Hostname? Please help,
>
> Pablo
>
> ----------------------------------------------------------------------
> Send and receive Hotmail on your mobile device: Click Here
> ----------------------------------------------------------- If you
> wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev