Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread Tino Wildenhain
LonLon schrieb:
> Thanks for your suggestion jens, but my java applet is working outside
> zope, it has no problem with mySQL database. Only when I integrate my
> applet into zope, it can not take mySQL data anymore. That's why I
> request suggestions here. I am still hoping somebody knows how to fix
> this problem. :-(

Nothing to do with ZODB (since you are using mySQL?) and even not
a Zope problem. Applets in a browser can only connect back to the
same host. If you start your applet locally, it is allowed
to connect to any host it wants. Read about it in your java
documentation. Solutions: put the database and your web
site on the same host (or use firewall/proxy tricks to let it
appear like this) - or better access your database thru zope -
via XMLRPC and friend - and this way get on topic :-)

--Tino
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread LonLon
Oh I see, I am in a wrong list :-D , I'm sorry! Thanks again for this information Jens. Lon Lon  Jens Vagelpohl <[EMAIL PROTECTED]> wrote:  The fact that it works fine outside of Zope was not mentioned in your original post. You should ask on zope@zope.org, this is the wrong list. This list deals with ZODB development.jensOn 26 Feb 2006, at 12:03, LonLon wrote:> Thanks for your suggestion jens, but my java applet is working > outside zope, it has no problem with mySQL database. Only when I > integrate my applet into zope, it can not take mySQL data anymore. > That's why I request suggestions here. I am still hoping somebody > knows how to fix this problem. :-(> __> Do You Yahoo!?<
 BR>>
 Tired of spam? Yahoo! Mail has the best spam protection around> http://mail.yahoo.com>>> From: Jens Vagelpohl <[EMAIL PROTECTED]>> Date: 26 February 2006 10:33:39 GMT+01:00> To: zodb-dev > Subject: Re: [ZODB-Dev] how to let java applet using mysql database > work in zope/plone?>>>> On 26 Feb 2006, at 09:51, LonLon wrote:>>> Hello!>> Currently, I am trying to integrate one java applet to plone CMS. >> However, since my applet use mysql database, the applet from plone/ >> zope can't get the mysql data from localhost. Can we store mysql >> data inside ZODB ? Or what is the ways to get it from mysql database?>> Please give me suggestions how to overcome this problem.>> (I have tried to connect mysql database to zope as external, it >> works with DTML and ZPT but I do not know how to do with 
 my java
 >> applet )>> I'm afraid this question has nothing at all to do with Zope or the > ZODB. Please ask on a forum specific to the Java applet you use and/ > or MySQL, your problem is entirely related to your applet and MySQL.>> jens>> ___> For more information about ZODB, see the ZODB Wiki:> http://www.zope.org/Wikis/ZODB/>> ZODB-Dev mailing list - ZODB-Dev@zope.org> http://mail.zope.org/mailman/listinfo/zodb-dev>>> ___> For more information about ZODB, see the ZODB Wiki:> http://www.zope.org/Wikis/ZODB/>> ZODB-Dev mailing list - ZODB-Dev@zope.org> http://mail.zope.org/mailman/listinfo/zodb-dev___For more information about ZODB, see the ZODB
 Wiki:http://www.zope.org/Wikis/ZODB/ZODB-Dev mailing list - ZODB-Dev@zope.orghttp://mail.zope.org/mailman/listinfo/zodb-dev
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread Jens Vagelpohl
The fact that it works fine outside of Zope was not mentioned in your  
original post. You should ask on zope@zope.org, this is the wrong  
list. This list deals with ZODB development.


jens


On 26 Feb 2006, at 12:03, LonLon wrote:

Thanks for your suggestion jens, but my java applet is working  
outside zope, it has no problem with mySQL database. Only when I  
integrate my applet into zope, it can not take mySQL data anymore.  
That's why I request suggestions here. I am still hoping somebody  
knows how to fix this problem. :-(

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


From: Jens Vagelpohl <[EMAIL PROTECTED]>
Date: 26 February 2006 10:33:39 GMT+01:00
To: zodb-dev 
Subject: Re: [ZODB-Dev] how to let java applet using mysql database  
work in zope/plone?




On 26 Feb 2006, at 09:51, LonLon wrote:


Hello!
Currently, I am trying to integrate one java applet to plone CMS.  
However, since my applet use mysql database, the applet from plone/ 
zope can't get the mysql data from localhost. Can we store mysql  
data inside ZODB ? Or what is the ways to get it from mysql database?

Please give me suggestions how to overcome this problem.
(I have tried to connect mysql database to zope as external, it  
works with DTML and ZPT but I do not know how to do with my java  
applet )


I'm afraid this question has nothing at all to do with Zope or the  
ZODB. Please ask on a forum specific to the Java applet you use and/ 
or MySQL, your problem is entirely related to your applet and MySQL.


jens

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread LonLon
Thanks for your suggestion jens, but my java applet is working outside zope, it has no problem with mySQL database. Only when I integrate my applet into zope, it can not take mySQL data anymore. That's why I request suggestions here. I am still hoping somebody knows how to fix this problem. :-(__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Begin Message ---


On 26 Feb 2006, at 09:51, LonLon wrote:


Hello!
Currently, I am trying to integrate one java applet to plone CMS.  
However, since my applet use mysql database, the applet from plone/ 
zope can't get the mysql data from localhost. Can we store mysql  
data inside ZODB ? Or what is the ways to get it from mysql database?

Please give me suggestions how to overcome this problem.
(I have tried to connect mysql database to zope as external, it  
works with DTML and ZPT but I do not know how to do with my java  
applet )


I'm afraid this question has nothing at all to do with Zope or the  
ZODB. Please ask on a forum specific to the Java applet you use and/ 
or MySQL, your problem is entirely related to your applet and MySQL.


jens

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev
--- End Message ---
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread Jens Vagelpohl


On 26 Feb 2006, at 09:51, LonLon wrote:


Hello!
Currently, I am trying to integrate one java applet to plone CMS.  
However, since my applet use mysql database, the applet from plone/ 
zope can't get the mysql data from localhost. Can we store mysql  
data inside ZODB ? Or what is the ways to get it from mysql database?

Please give me suggestions how to overcome this problem.
(I have tried to connect mysql database to zope as external, it  
works with DTML and ZPT but I do not know how to do with my java  
applet )


I'm afraid this question has nothing at all to do with Zope or the  
ZODB. Please ask on a forum specific to the Java applet you use and/ 
or MySQL, your problem is entirely related to your applet and MySQL.


jens

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread LonLon
Hello!  Currently, I am trying to integrate one java applet to plone CMS. However, since my applet use mysql database, the applet from plone/zope can't get the mysql data from localhost. Can we store mysql data inside ZODB ? Or what is the ways to get it from mysql database?  Please give me suggestions how to overcome this problem.   (I have tried to connect mysql database to zope as external, it works with DTML and ZPT but I do not know how to do with my java applet )  Best regards,  Lon Lon__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev