It seems to be a real issue, several users have reported this error these days.
Have you solved your problem?
To those who faced this error, do you have some update on it?

Arnaud

> -----Original Message-----
> From: David Zejda [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 16, 2001 2:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] [Castor] Failed to locate messages resource
> org.exolab.castor.util.resources.messages
>
>
>
> ----- Původní zpráva -----
> Od: Arnaud Blandin <[EMAIL PROTECTED]>
> Komu: <[EMAIL PROTECTED]>
> Odesláno: 13. října 2001 4:08
> Předmět: Re: [castor-dev] [Castor] Failed to locate messages resource
> org.exolab.castor.util.resources.messages
>
>
> > Hi David,
> >
> > I've tested your example and all is fine, can you give us more details on
> what
> > configuration you use:
> >
> > Environment (it seems to be WINxxx)
>
> Tried on Win98 OSR2
> I'll test it on my Debian immediately...
>
> > JDK
>
> 1.3.0C
>
> > Castor version
>
> 0.9.3
> 0.9.2
>
> > Arnaud
> >
> > > -----Original Message-----
> > > From: David Zejda [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, October 08, 2001 2:52 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [castor-dev] [Castor] Failed to locate messages resource
> > > org.exolab.castor.util.resources.messages
> > >
> > >
> > > I have sent this mail and I'm still wanting for some response.
> > > In case I get nothing, I will be obliged to use another library (like
> > > Breeze, XML-DBMS or db2xml)
> > > Please help - I still think, Castor is the best of them...
> > >
> > > > Sorry about like stupid question, but I'm really interested in
> Castor's
> > > > presented features, but I'm unable to run anything smelling after
> Castor.
> > > > This is the shorted version of mentioned functionless program. (a bit
> > > > reduced example pgm)
> > > >
> > > > package castortest;
> > > >
> > > > import java.io.*;
> > > > import java.util.*;
> > > > import java.math.*;
> > > >
> > > > import org.exolab.castor.xml.*;
> > > >
> > > > public class Simple {
> > > >
> > > >   public Simple() {
> > > >   }
> > > >
> > > >  public static void main(String[] args)
> > > >  {
> > > >   try
> > > >   {
> > > > Person person = new Person("Ryan 'Mad Dog' Madden");
> > > > person.setDateOfBirth(new Date(1955, 8, 15));
> > > > FileWriter writer = new FileWriter("test.xml");
> > > > Marshaller.marshal(person, writer);
> > > >
> > > >   }
> > > >   catch (Exception e)
> > > >   {
> > > >    e.printStackTrace(System.out);
> > > >   }
> > > >  }
> > > > }
> > > >
> > > > The castor.jar added to classpath is downloadad directly from castor
> web
> > > and
> > > > in /org/exolab/castor/util/resources/ there are 6 files
> (datatypes.dtd,
> > > > structures.dtd and .xsd, (messages, SimpleTypes,
> > > > SimpleTypesMapping ).properities ).
> > > >
> > > > This is the error message written off by program:
> > > >
> > > > C:\PROGRAM FILES\JBUILDER4\JDK1.3\bin\javaw -classpath
> > > >
> > >
> "C:\!D_DATA!\jbprojects\CastorTest\classes;C:\!D_DATA!\jbprojects\!libs\cast
> > > >
> > >
> orlib\castor-0.9.3.jar;C:\!D_DATA!\jbprojects\!libs\castorlib\xerces-J_1.4.0
> > > > .jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\demo\jfc\Java2D\Java2Demo.jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\jre\lib\i18n.jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\jre\lib\jaws.jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\jre\lib\rt.jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\jre\lib\sunrsasign.jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\lib\dt.jar;C:\PROGRAM
> > > > FILES\JBUILDER4\JDK1.3\lib\tools.jar"  castortest.Simple
> > > >
> > > > [Castor] Failed to locate messages resource
> > > > org.exolab.castor.util.resources.messages
> > > >
> > > > java.lang.ExceptionInInitializerError: java.lang.RuntimeException:
> > > [Missing
> > > > message conf.noDefaultConfigurationFile]
> > > >
> > > >  at
> > > >
> > >
> org.exolab.castor.util.Configuration.loadProperties(Configuration.java:610)
> > > >
> > > >  at org.exolab.castor.util.Configuration.load(Configuration.java:580)
> > > >
> > > >  at
> > > org.exolab.castor.util.Configuration.getDefault(Configuration.java:283)
> > > >
> > > >  at
> > > org.exolab.castor.util.Configuration.getProperty(Configuration.java:300)
> > > >
> > > >  at
> > > >
> org.exolab.castor.util.Configuration.getXMLNaming(Configuration.java:312)
> > > >
> > > >  at org.exolab.castor.xml.Introspector.<clinit>(Introspector.java:109)
> > > >
> > > >  at
> > > >
> > >
> org.exolab.castor.xml.util.ClassDescriptorResolverImpl.<init>(ClassDescripto
> > > > rResolverImpl.java:101)
> > > >
> > > >  at org.exolab.castor.xml.Marshaller.initialize(Marshaller.java:270)
> > > >
> > > >  at org.exolab.castor.xml.Marshaller.<init>(Marshaller.java:228)
> > > >
> > > >  at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:457)
> > > >
> > > >  at castortest.Simple.main(Simple.java:74)
> > > >
> > > > Exception in thread "main"
> > > >
> > > >
> > > > (As you can see, i have tried it in JBuilder4, JDK1.3.)
> > > >
> > > > I'd be really pleased in case of answer, thanks
> > > > David Zejda
>
> -----------------------------------------------------------
> 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

Reply via email to