Hi jason,

no probs,
Here is the Stack.

java -cp ${CLASSPATH} org.apache.turbine.tools.torque.JDBCToXMLSchema
java.lang.IllegalStateException: SER002 No writer supplied for
serializer
java.lang.IllegalStateException: SER002 No writer supplied for
serializer
        at
org.apache.xml.serialize.BaseMarkupSerializer.serialize(BaseMarkupSerializer.java,
Compiled Code)
        at
org.apache.turbine.tools.torque.JDBCToXMLSchema.<init>(JDBCToXMLSchema.java,
Compiled Code)
        at
org.apache.turbine.tools.torque.JDBCToXMLSchema.main(JDBCToXMLSchema.java,
Compiled Code)


And my config file is:

db=Mysql
configDir=config
xmlSchema=system.xml

# This has a different name because
# the schema produced needs some work
# and I don't want a massaged "xmlSchema"
# to get clobbered by mistake.

jdbcXMLSchema=system-jdbc.xml

# Set to true if you want SQL for the
# target database to be generated.

generateSQL = true
sqlTargetFile=system.sql

# Set to true if you want the Peer-based
# object model to be produced.

generateObjectModel = true

# Object Model information

extend=MapBuilder
mapname=TurbineMap
suffix=MapBuilder
package=test

# Set this to the location of all output.

outputDir=output

# JDBC Connection for extracting XML schema
# from an existing database.

dbUrl = jdbc:mysql://localhost/test
dbDriver = org.gjt.mm.mysql.Driver
dbUser = test
dbPassword = test

Thanks,
Dd


Jason van Zyl wrote:
> 
> Hi Didier,
> 
> When an exception is caught, a stack trace is now
> output so you can see what's going on. Sorry about
> that Didier.
> 
> jvz.
> 
> On Thu, 10 Aug 2000, Didier Dubois wrote:
> 
> > Hi all,
> >
> > i try to use torque JDBCToXMLSchema to create an XML schema from a Mysql
> > Db. But I get nothing at all, just an empty system-jdbc.xm file !!!
> > no logs, echo $? equql 0, no error on STDOUT or STDERR,... silence!
> > nothing! Nada! Rien!
> >
> > I can connect my DB using the paramters I put in troque.props
> > and I run
> > $ java -cp ${CLASSPATH} org.apache.turbine.tools.torque.JDBCToXMLSchema
> >
> >
> > any idea?
> >
> > Thanks,
> > Didier
> >
> >
> >
> 
> --
> 
> Jason van Zyl
> [EMAIL PROTECTED]
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]

-- 
Didier Dubois   
mailto:[EMAIL PROTECTED]  http://www.idbsoft.ch


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to