Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 91603 invoked from network); 19 Apr 2004 10:58:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Apr 2004 10:58:20 -0000 Received: (qmail 72798 invoked by uid 500); 19 Apr 2004 10:58:10 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72751 invoked by uid 500); 19 Apr 2004 10:58:09 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72729 invoked from network); 19 Apr 2004 10:58:09 -0000 Received: from unknown (HELO web20414.mail.yahoo.com) (66.163.169.90) by daedalus.apache.org with SMTP; 19 Apr 2004 10:58:09 -0000 Message-ID: <20040419105809.3357.qmail@web20414.mail.yahoo.com> Received: from [203.120.68.67] by web20402.mail.yahoo.com via HTTP; Mon, 19 Apr 2004 03:58:09 PDT Date: Mon, 19 Apr 2004 03:58:09 -0700 (PDT) From: yangontha Maung Subject: Re: How to make the command prompt reapeear after cocoon start? To: users@cocoon.apache.org In-Reply-To: <4083AC10.7040505@upaya.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Thanks for your guidance. But I have tried this ./cocoon.sh servlet & But it is still listening for something and the command prompt did not come back. At the same time, I would like to ask another thing. All along I thought that I am running cocoon over Tomcat. Could you guide me where I can learn on how to run for production on Tomcat? thanks, Here is the message after using &... [root@innlay cocoon]# ./cocoon.sh servlet & [1] 3570 ./cocoon.sh: using /usr/local/cocoon/build/webapp as the webapp directory [root@innlay cocoon]# -------------------- Loading -------------------- Processing repository: /usr/local/cocoon/tools/jetty/lib Adding jar: /usr/local/cocoon/tools/jetty/lib/jetty-4.2.14.jar Adding jar: /usr/local/cocoon/tools/jetty/lib/servlet-2.3.jar Processing repository: /usr/local/cocoon/lib/endorsed Adding jar: /usr/local/cocoon/lib/endorsed/xalan-2.5.2.jar Adding jar: /usr/local/cocoon/lib/endorsed/xercesImpl-2.6.1.jar Adding jar: /usr/local/cocoon/lib/endorsed/xml-apis.jar -------------------- Executing ----------------- Main Class: org.mortbay.jetty.Server 18:52:57.382 EVENT Checking Resource aliases 18:52:58.134 EVENT Starting Jetty/4.2.14 18:52:59.038 EVENT Started WebApplicationContext[/,/usr/local/cocoon/build/weba pp] INFO [main] (DatabaseImpl.java:183) - No configuration file specified, going wi th the default configuration WARN [main] (DatabaseImpl.java:210) - The database configuration file is not sp ecified and there was no xindice.db.home property set, so Xindice was unable to determine a database location. Database will be created relative to the current directory. INFO [main] (Database.java:331) - Database points to /usr/local/cocoon-2.1.4/db INFO [main] (DatabaseImpl.java:183) - No configuration file specified, going wi th the default configuration WARN [main] (DatabaseImpl.java:210) - The database configuration file is not sp ecified and there was no xindice.db.home property set, so Xindice was unable to determine a database location. Database will be created relative to the current directory. server.properties not found, using command line or default properties Opening database: /usr/local/cocoon-2.1.4/build/webapp/WEB-INF/db/cocoondb HSQLDB server 1.7.1 is running Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly context: /usr/local/cocoon-2.1.4/build/webapp INFO [main] (DirectSchedulerFactory.java:295) - Quartz scheduler 'Cocoon INFO [main] (DirectSchedulerFactory.java:298) - Quartz scheduler version: 1.2.3 INFO [main] (QuartzScheduler.java:327) - Scheduler Cocoon_$_Sat_Apr_17_18:53:09 _SGT_2004 started. 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 th e client jar in WEB-INF/lib. - The default server, OpenJMS is configured in cocoon.xconf but is not bundled w ith Cocoon. 18:53:09.776 EVENT Started SocketListener on 0.0.0.0:8888 18:53:09.777 EVENT Started org.mortbay.jetty.Server@ab95e6 Sat Apr 17 18:53:10 SGT 2004 Listening for connections ... +++++++++++++++++++++ --- Upayavira wrote: > yangontha Maung wrote: > > >Hi, > > > >I am using cocoon 2.1.4 on Red Hat Linux Server > using > >Tomcat 4.0.17. > > > > > You're not using Tomcat, you're using the Jetty > built into Cocoon. > > This built in Jetty is intended for > testing/evaluation, not for deployment. > > If you want to start this version in the background, > while learning, try > just adding a & to the end of the command: > > ./cocoon.sh servlet & > > You'll still get the stuff going to the screen, but > you'll get your > command prompt back. > > Or: > ./cocoon.sh servlet > cocoon.log & > > so that the screen stuff goes to a log file. > > Then, to see the contents of the log file, do: > > tail -f cocoon.log > > CTRL_C will get you out of that. > > This is all Unix stuff really. > > When you come to deploy your site, you're going to > have to work out how > to deploy Cocoon within a proper servlet container, > either Tomcat, or > the full Jetty distribution. > > Regards, Upayavira > > >When I start the cocoon using > >./cocoon.sh servlet > >There will be a few messages come out and the > cocoon > >will be running. It is normal. But the starting > >command line screen hangs there and I have to use > Ctrl > >C to shut down the cocoon server. > > > >How can I just give the starting command and make > the > >screen back to normal command prompt, so that I can > >carry on to use it for others? > > > >Below is the messages.... > > > >(Also I cannot use the SHUTDOWN message to stop.. > as > >mentioned there..) > > > >rgds, > > > > > > > > > >[root@innlay cocoon]# ./cocoon.sh servlet > >./cocoon.sh: using /usr/local/cocoon/build/webapp > as > >the webapp directory > >-------------------- Loading -------------------- > >Processing repository: > >/usr/local/cocoon/tools/jetty/lib > >Adding jar: > >/usr/local/cocoon/tools/jetty/lib/jetty-4.2.14.jar > >Adding jar: > >/usr/local/cocoon/tools/jetty/lib/servlet-2.3.jar > >Processing repository: > /usr/local/cocoon/lib/endorsed > >Adding jar: > >/usr/local/cocoon/lib/endorsed/xalan-2.5.2.jar > >Adding jar: > >/usr/local/cocoon/lib/endorsed/xercesImpl-2.6.1.jar > >Adding jar: > >/usr/local/cocoon/lib/endorsed/xml-apis.jar > >-------------------- Executing ----------------- > >Main Class: org.mortbay.jetty.Server > >18:20:27.972 EVENT Checking Resource aliases > >18:20:28.376 EVENT Starting Jetty/4.2.14 > >18:20:28.904 EVENT Started > >WebApplicationContext[/,/usr/local/cocoon/build/weba > >pp] > > INFO [main] (DatabaseImpl.java:183) - No > >configuration file specified, going wi > >th the default configuration > > WARN [main] (DatabaseImpl.java:210) - The database > >configuration file is not sp > >ecified and there was no xindice.db.home property > set, > >so Xindice was unable to > >determine a database location. Database will be > >created relative to the current > >directory. > > INFO [main] (Database.java:331) - Database points > to > >/usr/local/cocoon-2.1.4/db > > INFO [main] (DatabaseImpl.java:183) - No > >configuration file specified, going wi > >th the default configuration > > WARN [main] (DatabaseImpl.java:210) - The database > >configuration file is not sp > >ecified and there was no xindice.db.home property > set, > >so Xindice was unable to > >determine a database location. Database will be > >created relative to the current > >directory. > >server.properties not found, using command line or > >default properties > >Opening database: > >/usr/local/cocoon-2.1.4/build/webapp/WEB-INF/db/cocoondb > >HSQLDB server 1.7.1 is running > >Use SHUTDOWN to close normally. Use [Ctrl]+[C] to > >abort abruptly > >context: /usr/local/cocoon-2.1.4/build/webapp > > INFO [main] (DirectSchedulerFactory.java:295) - > >Quartz scheduler 'Cocoon > > INFO [main] (DirectSchedulerFactory.java:298) - > >Quartz scheduler version: 1.2.3 > > INFO [main] (QuartzScheduler.java:327) - Scheduler > >Cocoon_$_Sat_Apr_17_18:20:36 > >_SGT_2004 started. > >Sat Apr 17 18:20:37 SGT 2004 Listening for > connections > >... > >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 th > >e client jar in WEB-INF/lib. > >- The default server, OpenJMS is configured in > >cocoon.xconf but is not bundled w > >ith Cocoon. > >18:20:37.405 EVENT Started SocketListener on > >0.0.0.0:8888 > >18:20:37.406 EVENT Started > >org.mortbay.jetty.Server@ab95e6 > > > > > > > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Photos: High-quality 4x6 digital prints for > 25� > >http://photos.yahoo.com/ph/print_splash > > > >--------------------------------------------------------------------- > >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 > __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25� http://photos.yahoo.com/ph/print_splash --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org