You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Exquisitus Flinder <ex...@gmail.com> on 2007/09/17 00:28:40 UTC

Problem with Starting Cocoon - Mac OS X Tiger

After unzipping Cocoon 2.1.10, I placed it in webapps directory of Tomcat
version 6.0.14.    I typed "./build.sh" command as per instruction of the
install.txt.  Lastly, to start Cocoon, I typed "./cocoon.sh" to start
cocoon.  After running for a few minutes, the program get stuck (see last
few lines below).  My Tomcat was fine,  I was able to open it from
"http://localhost:8080".  Pls help, thx.


-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
01:20:09.706 EVENT  Checking Resource aliases
01:20:10.985 EVENT  Starting Jetty/4.2.23
01:20:14.596 EVENT  Started WebApplicationContext[/,./build/webapp]
01:20:32.020 WARN!! Delete existing temp dir /tmp/Jetty__8888__ for
WebApplicationContext[/,./build/webapp]
trying to register database
trying to register database
WARN! *** JMS block is installed but jms client library not found. ***
- For the jms block to work you must install and start a JMS server and
place the client jar in WEB-INF/lib.
- The default server, OpenJMS is configured in cocoon.xconf but is not
bundled with Cocoon.
01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48



-- 
View this message in context: http://www.nabble.com/Problem-with-Starting-Cocoon---Mac-OS-X-Tiger-tf4463233.html#a12726725
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Problem with Starting Cocoon - Mac OS X Tiger

Posted by Andrew Savory <a....@sourcesense.com>.
Hi,

On 16 Sep 2007, at 23:28, Exquisitus Flinder wrote:

> After unzipping Cocoon 2.1.10, I placed it in webapps directory of  
> Tomcat
> version 6.0.14.    I typed "./build.sh" command as per instruction  
> of the
> install.txt.  Lastly, to start Cocoon, I typed "./cocoon.sh" to start
> cocoon.  After running for a few minutes, the program get stuck  
> (see last
> few lines below).  My Tomcat was fine,  I was able to open it from
> "http://localhost:8080".

I think you're putting the wrong thing in the Tomcat directory.

- download cocoon
- unzip to a location OUTSIDE of Tomcat
- build the war: ./build.sh war
- copy the war (build/cocoon.war) into the Tomcat webapps directory
- (re)start Tomcat


Thanks,

Andrew.
--
Sourcesense: Making sense of Open Source
Tel: +44 (0)870 741 6658  Fax: +44 (0)700 598 1135
Web: http://www.sourcesense.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Problem with Starting Cocoon - Mac OS X Tiger

Posted by Paul Vollebregt <in...@paulvollebregt.nl>.
2.1.10 

> -----Oorspronkelijk bericht-----
> Van: Jeroen Reijn [mailto:j.reijn@hippo.nl] 
> Verzonden: maandag 17 september 2007 14:36
> Aan: users@cocoon.apache.org; users@cocoon.apache.org
> Onderwerp: RE: Problem with Starting Cocoon - Mac OS X Tiger
> 
> Hi Paul,
> 
> yes it could be related to that message, but are you trying 
> to use Cocoon 2.2 or Cocoon 2.1.X? 
> 
> Kind regards,
> 
> Jeroen Reijn
> 
> 
> -----Original Message-----
> From:	Paul Vollebregt [mailto:info@paulvollebregt.nl]
> Sent:	Mon 9/17/2007 12:05
> To:	users@cocoon.apache.org
> Cc:	
> Subject:	RE: Problem with Starting Cocoon - Mac OS X Tiger
> 
> Hi,
> I'm just starting with Cocoon and have a question.
> I get the same messages starting cocoon and i'm wondering 
> what the message "trying to register database" means. I 
> appears twice but is the registering succesfull? I cannot 
> open the petstore in the block samples and receive an
> error: 
> "org.javascript.JavascriptException:java.sql.SQLException:Tabl
> e not found in statement[select * from category]".
> 
> Could this be related to the "trying to register 
> database"-message and what can be done about it?
> 
> Thanx
> 
> Paul 
> 
> > -----Oorspronkelijk bericht-----
> > Van: Christoph Gaffga (triplemind.com) 
> [mailto:cgaffga@triplemind.com]
> > Verzonden: maandag 17 september 2007 0:59
> > Aan: users@cocoon.apache.org
> > Onderwerp: Re: Problem with Starting Cocoon - Mac OS X Tiger
> > 
> > hi,
> > 
> > as the last line:
> > 
> > > 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> > > 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> > 
> > says, it should be reachable by http://localhost:8888
> > 
> > it's not running inside tomcat, if you start it via 
> ./cocoon.sh, it's 
> > started for quick demo in jetty servlet container instead.
> > 
> > regards,
> > Christoph
> > 
> > 
> > Exquisitus Flinder wrote:
> > > After unzipping Cocoon 2.1.10, I placed it in webapps
> > directory of Tomcat
> > > version 6.0.14.    I typed "./build.sh" command as per 
> > instruction of the
> > > install.txt.  Lastly, to start Cocoon, I typed
> > "./cocoon.sh" to start
> > > cocoon.  After running for a few minutes, the program get
> > stuck (see
> > > last few lines below).  My Tomcat was fine,  I was able 
> to open it 
> > > from "http://localhost:8080".  Pls help, thx.
> > > 
> > > 
> > > -------------------- Executing ----------------- Main Class: 
> > > org.mortbay.jetty.Server
> > > 01:20:09.706 EVENT  Checking Resource aliases
> > > 01:20:10.985 EVENT  Starting Jetty/4.2.23
> > > 01:20:14.596 EVENT  Started 
> WebApplicationContext[/,./build/webapp]
> > > 01:20:32.020 WARN!! Delete existing temp dir 
> /tmp/Jetty__8888__ for 
> > > WebApplicationContext[/,./build/webapp]
> > > trying to register database
> > > trying to register database
> > > WARN! *** JMS block is installed but jms client library not
> > found. ***
> > > - For the jms block to work you must install and start a 
> JMS server 
> > > and place the client jar in WEB-INF/lib.
> > > - The default server, OpenJMS is configured in cocoon.xconf
> > but is not
> > > bundled with Cocoon.
> > > 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> > > 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> > > 
> > > 
> > > 
> > 
> > --
> > Triplemind Internet OHG
> > Berlinerstr. 2
> > DE-63065 Offenbach
> > Germany
> > 
> > http://www.triplemind.com
> > Mail info@triplemind.com
> > Tel  +49 69 82367670
> > Fax  +49 69 82367654
> > 
> > Unternehmensdaten: Triplemind OHG
> > Geschaeftsfuehrung: Christoph Gaffga, Mathias Ziegler
> > Bankverbindung: Postbank Frankfurt,  BLZ: 50010060, Kto: 563581608,
> > IBAN: DE28 5001 0060 0563 5816 08, BIC: PBNKDEFF Eingetragen im HR 
> > Offenbach am Main 40202, USt-IdNr.: DE210080643
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Problem with Starting Cocoon - Mac OS X Tiger

Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Paul,

yes it could be related to that message, but are you trying to use Cocoon 2.2 or Cocoon 2.1.X? 

Kind regards,

Jeroen Reijn


-----Original Message-----
From:	Paul Vollebregt [mailto:info@paulvollebregt.nl]
Sent:	Mon 9/17/2007 12:05
To:	users@cocoon.apache.org
Cc:	
Subject:	RE: Problem with Starting Cocoon - Mac OS X Tiger

Hi,
I'm just starting with Cocoon and have a question.
I get the same messages starting cocoon and i'm wondering what the message
"trying to register database" means. I appears twice but is the registering
succesfull? I cannot open the petstore in the block samples and receive an
error: 
"org.javascript.JavascriptException:java.sql.SQLException:Table not found in
statement[select * from category]".

Could this be related to the "trying to register database"-message and what
can be done about it?

Thanx

Paul 

> -----Oorspronkelijk bericht-----
> Van: Christoph Gaffga (triplemind.com) 
> [mailto:cgaffga@triplemind.com] 
> Verzonden: maandag 17 september 2007 0:59
> Aan: users@cocoon.apache.org
> Onderwerp: Re: Problem with Starting Cocoon - Mac OS X Tiger
> 
> hi,
> 
> as the last line:
> 
> > 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> > 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> 
> says, it should be reachable by http://localhost:8888
> 
> it's not running inside tomcat, if you start it via 
> ./cocoon.sh, it's started for quick demo in jetty servlet 
> container instead.
> 
> regards,
> Christoph
> 
> 
> Exquisitus Flinder wrote:
> > After unzipping Cocoon 2.1.10, I placed it in webapps 
> directory of Tomcat
> > version 6.0.14.    I typed "./build.sh" command as per 
> instruction of the
> > install.txt.  Lastly, to start Cocoon, I typed 
> "./cocoon.sh" to start 
> > cocoon.  After running for a few minutes, the program get 
> stuck (see 
> > last few lines below).  My Tomcat was fine,  I was able to open it 
> > from "http://localhost:8080".  Pls help, thx.
> > 
> > 
> > -------------------- Executing ----------------- Main Class: 
> > org.mortbay.jetty.Server
> > 01:20:09.706 EVENT  Checking Resource aliases
> > 01:20:10.985 EVENT  Starting Jetty/4.2.23
> > 01:20:14.596 EVENT  Started WebApplicationContext[/,./build/webapp]
> > 01:20:32.020 WARN!! Delete existing temp dir /tmp/Jetty__8888__ for 
> > WebApplicationContext[/,./build/webapp]
> > trying to register database
> > trying to register database
> > WARN! *** JMS block is installed but jms client library not 
> found. ***
> > - For the jms block to work you must install and start a JMS server 
> > and place the client jar in WEB-INF/lib.
> > - The default server, OpenJMS is configured in cocoon.xconf 
> but is not 
> > bundled with Cocoon.
> > 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> > 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> > 
> > 
> > 
> 
> --
> Triplemind Internet OHG
> Berlinerstr. 2
> DE-63065 Offenbach
> Germany
> 
> http://www.triplemind.com
> Mail info@triplemind.com
> Tel  +49 69 82367670
> Fax  +49 69 82367654
> 
> Unternehmensdaten: Triplemind OHG
> Geschaeftsfuehrung: Christoph Gaffga, Mathias Ziegler
> Bankverbindung: Postbank Frankfurt,  BLZ: 50010060, Kto: 563581608,
> IBAN: DE28 5001 0060 0563 5816 08, BIC: PBNKDEFF Eingetragen 
> im HR Offenbach am Main 40202, USt-IdNr.: DE210080643
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Problem with Starting Cocoon - Mac OS X Tiger

Posted by Paul Vollebregt <in...@paulvollebregt.nl>.
Hi,
I'm just starting with Cocoon and have a question.
I get the same messages starting cocoon and i'm wondering what the message
"trying to register database" means. I appears twice but is the registering
succesfull? I cannot open the petstore in the block samples and receive an
error: 
"org.javascript.JavascriptException:java.sql.SQLException:Table not found in
statement[select * from category]".

Could this be related to the "trying to register database"-message and what
can be done about it?

Thanx

Paul 

> -----Oorspronkelijk bericht-----
> Van: Christoph Gaffga (triplemind.com) 
> [mailto:cgaffga@triplemind.com] 
> Verzonden: maandag 17 september 2007 0:59
> Aan: users@cocoon.apache.org
> Onderwerp: Re: Problem with Starting Cocoon - Mac OS X Tiger
> 
> hi,
> 
> as the last line:
> 
> > 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> > 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> 
> says, it should be reachable by http://localhost:8888
> 
> it's not running inside tomcat, if you start it via 
> ./cocoon.sh, it's started for quick demo in jetty servlet 
> container instead.
> 
> regards,
> Christoph
> 
> 
> Exquisitus Flinder wrote:
> > After unzipping Cocoon 2.1.10, I placed it in webapps 
> directory of Tomcat
> > version 6.0.14.    I typed "./build.sh" command as per 
> instruction of the
> > install.txt.  Lastly, to start Cocoon, I typed 
> "./cocoon.sh" to start 
> > cocoon.  After running for a few minutes, the program get 
> stuck (see 
> > last few lines below).  My Tomcat was fine,  I was able to open it 
> > from "http://localhost:8080".  Pls help, thx.
> > 
> > 
> > -------------------- Executing ----------------- Main Class: 
> > org.mortbay.jetty.Server
> > 01:20:09.706 EVENT  Checking Resource aliases
> > 01:20:10.985 EVENT  Starting Jetty/4.2.23
> > 01:20:14.596 EVENT  Started WebApplicationContext[/,./build/webapp]
> > 01:20:32.020 WARN!! Delete existing temp dir /tmp/Jetty__8888__ for 
> > WebApplicationContext[/,./build/webapp]
> > trying to register database
> > trying to register database
> > WARN! *** JMS block is installed but jms client library not 
> found. ***
> > - For the jms block to work you must install and start a JMS server 
> > and place the client jar in WEB-INF/lib.
> > - The default server, OpenJMS is configured in cocoon.xconf 
> but is not 
> > bundled with Cocoon.
> > 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> > 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> > 
> > 
> > 
> 
> --
> Triplemind Internet OHG
> Berlinerstr. 2
> DE-63065 Offenbach
> Germany
> 
> http://www.triplemind.com
> Mail info@triplemind.com
> Tel  +49 69 82367670
> Fax  +49 69 82367654
> 
> Unternehmensdaten: Triplemind OHG
> Geschaeftsfuehrung: Christoph Gaffga, Mathias Ziegler
> Bankverbindung: Postbank Frankfurt,  BLZ: 50010060, Kto: 563581608,
> IBAN: DE28 5001 0060 0563 5816 08, BIC: PBNKDEFF Eingetragen 
> im HR Offenbach am Main 40202, USt-IdNr.: DE210080643
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Problem with Starting Cocoon - Mac OS X Tiger

Posted by "Christoph Gaffga (triplemind.com)" <cg...@triplemind.com>.
hi,

as the last line:

> 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48

says, it should be reachable by http://localhost:8888

it's not running inside tomcat, if you start it via ./cocoon.sh, it's
started for quick demo in jetty servlet container instead.

regards,
Christoph


Exquisitus Flinder wrote:
> After unzipping Cocoon 2.1.10, I placed it in webapps directory of Tomcat
> version 6.0.14.    I typed "./build.sh" command as per instruction of the
> install.txt.  Lastly, to start Cocoon, I typed "./cocoon.sh" to start
> cocoon.  After running for a few minutes, the program get stuck (see last
> few lines below).  My Tomcat was fine,  I was able to open it from
> "http://localhost:8080".  Pls help, thx.
> 
> 
> -------------------- Executing -----------------
> Main Class: org.mortbay.jetty.Server
> 01:20:09.706 EVENT  Checking Resource aliases
> 01:20:10.985 EVENT  Starting Jetty/4.2.23
> 01:20:14.596 EVENT  Started WebApplicationContext[/,./build/webapp]
> 01:20:32.020 WARN!! Delete existing temp dir /tmp/Jetty__8888__ for
> WebApplicationContext[/,./build/webapp]
> trying to register database
> trying to register database
> WARN! *** JMS block is installed but jms client library not found. ***
> - For the jms block to work you must install and start a JMS server and
> place the client jar in WEB-INF/lib.
> - The default server, OpenJMS is configured in cocoon.xconf but is not
> bundled with Cocoon.
> 01:20:59.104 EVENT  Started SocketListener on 0.0.0.0:8888
> 01:20:59.106 EVENT  Started org.mortbay.jetty.Server@94d48
> 
> 
> 

-- 
Triplemind Internet OHG
Berlinerstr. 2
DE-63065 Offenbach
Germany

http://www.triplemind.com
Mail info@triplemind.com
Tel  +49 69 82367670
Fax  +49 69 82367654

Unternehmensdaten: Triplemind OHG
Geschaeftsfuehrung: Christoph Gaffga, Mathias Ziegler
Bankverbindung: Postbank Frankfurt,  BLZ: 50010060, Kto: 563581608,
IBAN: DE28 5001 0060 0563 5816 08, BIC: PBNKDEFF
Eingetragen im HR Offenbach am Main 40202, USt-IdNr.: DE210080643

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org