Re: [Zope] Zope installation woes

2006-07-07 Thread KE Liew

Just as your said, you don't have a good overview of the system you
are working with. So I would suggest to you to dig in.

If you have read all the docs and "followed it to the word", am sure
you will be better than me by now.

Your intention of using this mailing list for help is not wrong, but
your way of seeking help can be unappreciated by those who are in this
maililng list.

At any case, try uninstalling everything, and start from scratch
again. If you have done this already, I suggest you look through the
basic commands of your distro and try to dig through the issue. It may
not be Zope's error in the first place, it could be your human error,
configuration of your server, or whatever.

A piece of advice. Install zope in your PC first before the server. I
hope you have the same distro too, that helps alot, I mean ALOT!!


Regards,

Kwang


On 7/7/06, russtik <[EMAIL PROTECTED]> wrote:

I read all the documentation I could find and followed it to the word.  I
believe other factors came into play which resulted in a non-working
installation. Not having a more holistic overview of system means that I
easily get lost when something unexpected happens.  This is why I'm
consulting the mailing list for assistance.

-Original Message-
From: KE Liew [mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 23:46
To: russ
Cc: [EMAIL PROTECTED]; zope@zope.org
Subject: Re: [Zope] Zope installation woes

no offense, but you should really listen to those advice given.

it'll take you lesser time to get a working web application than to do
it "on the job" as you said. i hope you do realise that on-the-job
could also mean researching and studying the work at hand before
actually being more productive.

you didn't read the docs properly to get zope running, IMHO. if you
wanna get zope+cmf running well and to what you want, start reading
and learn.


On 7/6/06, russ <[EMAIL PROTECTED]> wrote:
> o.k. when running that I saw this:
>
> unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
> /home/zope/instance/var/zopectlsock.15599
>
> Does this mean it's running?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 06 July 2006 15:44
> To: russ
> Subject: RE: [Zope] Zope installation woes
>
> if your zope instance does not show in the output from:
>
>   netstat -ap | grep LISTEN
>
> (issued as root)
>
> then there's no sense in trying to figure out how to telnet to
> localhost 8080 (or whatever port your zope is running on) as there's
> nothing listening for the inbound connection. i.e., until your zope
> instance is running correctly so shows up in the netstat output, trying
> to connect inbound to it will fail and prove nothing.
>
> [there are a variety of things that can cause an inbound connection to
> a service to fail. you need to take the debugging one step at a time,
> starting with confirming that there's actually a service running.]
>
>
>   - Rick
>
>
>  Original Message 
> > Date: Thursday, July 06, 2006 10:28:46 AM +0100
> > From: russ <[EMAIL PROTECTED]>
> > Subject: RE: [Zope] Zope installation woes
> >
> > What does it mean if this is listed under ps -eLf:
> >
> > zope 15601 15600 15601  01 Jul05 ?00:00:05
> > /usr/bin/python /usr/
> >
> > ...but isn't anywhere to be seen under netstat -p ?
> >
> > & how do I telnet to port 8080 *on* the same machine?
> >
> > Sorry :S
> >
> > -Original Message-
> > From: replies-lists-zope
> > Sent: 05 July 2006 18:59
> > To: russ
> > Subject: RE: [Zope] Zope installation woes
> >
> > use the "ps" command to see that that process is still running. also
> > use the "netstat" command (with the -p flag (as root)) to see/confirm
> > what port zope is listening on.
> >
> > if it's running, on port 8080, then try to telnet to port 8080, both
> > as "localhost 8080" and "hostname 8080" (both from the server
> > itself).  if both of those work, then telnet to "hostname 8080" from
> > a "remote" machine (e.g., the desktop machine you've been using your
> > browser from). if the telnets from the server work, but the telnet
> > from the "remote" host doesn't, then your issue is likely to be a
> > firewall.
> >
> >
> >
> >
> >  Original Message 
> >> Date: Wednesday, July 05, 2006 06:24:40 PM +0100
> >> From: russ <[EMAIL PROTECTED]>
> >> To: 'Jonathan' <[EMAIL PROTECTED]>, zope@zope.org
> >> Subject: RE: [Zope] Zope installation woes
> >>
> >> Well I've tried to follow your steps with the exception of point 15
> >> (mkzopeinstance.py doesn't reside in my python directory, it's in the
> >> zope/bin folder).  At the last stage I hit enter and got:
> >>
> >> bash-3.00$ ./zopectl start
> >> . daemon process started, pid=15601
> >>
> >> And now what?  http://www.domain.tld:8080 still produces nothing.
> >>
> >> :(
> >>
> >>
>
>
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** 

RE: [Zope] Zope installation woes

2006-07-07 Thread russtik
I read all the documentation I could find and followed it to the word.  I
believe other factors came into play which resulted in a non-working
installation. Not having a more holistic overview of system means that I
easily get lost when something unexpected happens.  This is why I'm
consulting the mailing list for assistance.

-Original Message-
From: KE Liew [mailto:[EMAIL PROTECTED] 
Sent: 06 July 2006 23:46
To: russ
Cc: [EMAIL PROTECTED]; zope@zope.org
Subject: Re: [Zope] Zope installation woes

no offense, but you should really listen to those advice given.

it'll take you lesser time to get a working web application than to do
it "on the job" as you said. i hope you do realise that on-the-job
could also mean researching and studying the work at hand before
actually being more productive.

you didn't read the docs properly to get zope running, IMHO. if you
wanna get zope+cmf running well and to what you want, start reading
and learn.


On 7/6/06, russ <[EMAIL PROTECTED]> wrote:
> o.k. when running that I saw this:
>
> unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
> /home/zope/instance/var/zopectlsock.15599
>
> Does this mean it's running?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 06 July 2006 15:44
> To: russ
> Subject: RE: [Zope] Zope installation woes
>
> if your zope instance does not show in the output from:
>
>   netstat -ap | grep LISTEN
>
> (issued as root)
>
> then there's no sense in trying to figure out how to telnet to
> localhost 8080 (or whatever port your zope is running on) as there's
> nothing listening for the inbound connection. i.e., until your zope
> instance is running correctly so shows up in the netstat output, trying
> to connect inbound to it will fail and prove nothing.
>
> [there are a variety of things that can cause an inbound connection to
> a service to fail. you need to take the debugging one step at a time,
> starting with confirming that there's actually a service running.]
>
>
>   - Rick
>
>
>  Original Message 
> > Date: Thursday, July 06, 2006 10:28:46 AM +0100
> > From: russ <[EMAIL PROTECTED]>
> > Subject: RE: [Zope] Zope installation woes
> >
> > What does it mean if this is listed under ps -eLf:
> >
> > zope 15601 15600 15601  01 Jul05 ?00:00:05
> > /usr/bin/python /usr/
> >
> > ...but isn't anywhere to be seen under netstat -p ?
> >
> > & how do I telnet to port 8080 *on* the same machine?
> >
> > Sorry :S
> >
> > -Original Message-
> > From: replies-lists-zope
> > Sent: 05 July 2006 18:59
> > To: russ
> > Subject: RE: [Zope] Zope installation woes
> >
> > use the "ps" command to see that that process is still running. also
> > use the "netstat" command (with the -p flag (as root)) to see/confirm
> > what port zope is listening on.
> >
> > if it's running, on port 8080, then try to telnet to port 8080, both
> > as "localhost 8080" and "hostname 8080" (both from the server
> > itself).  if both of those work, then telnet to "hostname 8080" from
> > a "remote" machine (e.g., the desktop machine you've been using your
> > browser from). if the telnets from the server work, but the telnet
> > from the "remote" host doesn't, then your issue is likely to be a
> > firewall.
> >
> >
> >
> >
> >  Original Message 
> >> Date: Wednesday, July 05, 2006 06:24:40 PM +0100
> >> From: russ <[EMAIL PROTECTED]>
> >> To: 'Jonathan' <[EMAIL PROTECTED]>, zope@zope.org
> >> Subject: RE: [Zope] Zope installation woes
> >>
> >> Well I've tried to follow your steps with the exception of point 15
> >> (mkzopeinstance.py doesn't reside in my python directory, it's in the
> >> zope/bin folder).  At the last stage I hit enter and got:
> >>
> >> bash-3.00$ ./zopectl start
> >> . daemon process started, pid=15601
> >>
> >> And now what?  http://www.domain.tld:8080 still produces nothing.
> >>
> >> :(
> >>
> >>
>
>
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Newbie questions about MVC, Continuations, Persistence

2006-07-07 Thread Andrew Madu
Hi,I am completely new to the world of Zope and would like to know how zope handles the following:1. MVC2. Continuations3. Persistence ala HibernateI have an existing cocoon project, 2.1.8, which I was contemplating on moving either over to webobjects or zope. I have a number of java classes which I would like to continue to use and wondered whether zope would be able to plug into these classes, or are am I looking at a complete re-build for those as well? One major issue I have is with a paypal SDK I am currently testing which handles merchant banking, are there any merchant banking SDK's out there which are zope compliant that anyone know of?
regardsAndrew
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Newbie questions about MVC, Continuations, Persistence

2006-07-07 Thread Chris McDonough

Hi Andrew,

MVC is a pattern rather than a technology so it's mostly up to you to  
implement.  Zope, the framework, doesn't mandate its use but it does  
provide facilities that make it easy to implement (via python  
scripts, Five views and templates, and other things).


Zope isn't a continuation-based framework.  Use sessions instead.

Zope's ZODB is an object persistence engine roughly equivalent to  
Hibernate.  It is however, not accessible via Java.


Zope is written in Python, not Java, so reusing your existing  
libraries would be an exercise in bridging Python and Java (maybe via  
web services or a plain old fire-off-a-Java-process-from-within-zope- 
and-communicate-with-it-over-its-stdin).


Trust Commerce has a very nice Python library for merchant banking:   
http://www.trustcommerce.com/


In general, if you're looking to continue implementing the bulk of  
your application in Java, Zope may not be for you unless you use it  
for some very specific piece that has very well-defined integration  
requirements.


- C


On Jul 7, 2006, at 1:59 PM, Andrew Madu wrote:


Hi,
I am completely new to the world of Zope and would like to know how  
zope handles the following:


1. MVC
2. Continuations
3. Persistence ala Hibernate

I have an existing cocoon project, 2.1.8, which I was contemplating  
on moving either over to webobjects or zope. I have a number of  
java classes which I would like to continue to use and wondered  
whether zope would be able to plug into these classes, or are am I  
looking at a complete re-build for those as well? One major issue I  
have is with a paypal SDK I am currently testing which handles  
merchant banking, are there any merchant banking SDK's out there  
which are zope compliant that anyone know of?


regards

Andrew
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )