try using p6spy to check your access and queries into the database, as db versions are diferent.

www.p6spy.com


Anish wrote:


Hi all,
    i have an application which uses mysql and OJB. in the local
machine it runs. but when i uploaded to the server it doesnt. and
problem is that i cant view the errors, the error doesnt come to
browser. i think this is an error in repository.xml, but i uses the sam
repository.xml in the local machine only the difference of mysql
versions. in server its mysql4. my repository.xml content is shown
below..

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE descriptor-repository SYSTEM "repository.dtd" [
<!ENTITY database SYSTEM "repository_database.xml">
<!ENTITY internal SYSTEM "repository_internal.xml">
<!ENTITY junit SYSTEM "repository_junit.xml">
<!ENTITY user SYSTEM "repository_user.xml">
<!ENTITY ejb SYSTEM "repository_ejb.xml">
<!ENTITY jdo SYSTEM "repository_jdo.xml">]>


<descriptor-repository version="0.9.6"
isolation-level="read-uncommitted">
<jdbc-connection-descriptor
platform="MySQL" driver="org.gjt.mm.mysql.Driver"
protocol="jdbc"
subprotocol="mysql"
dbalias="//202.157.156.205:8103/plantrich" username="system"
password="manager"
</jdbc-connection-descriptor>


<class-descriptor class="com.faq.FaqVO" table="faq" >

<field-descriptor id="1" name="faqId" column="id" jdbc-type="INTEGER" primarykey="true" />
<field-descriptor id="2" name="faqName" column="name" jdbc-type="VARCHAR" />
<field-descriptor id="3" name="faqDetail" column="detail"
jdbc-type="VARCHAR" />


</class-descriptor>

</descriptor-repository>

please check this and tell me what went wrong.

Regards..
bye..
Anish.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to