From owner-freebsd-java@FreeBSD.ORG Wed Apr 5 08:34:14 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F390F16A41F for ; Wed, 5 Apr 2006 08:34:13 +0000 (UTC) (envelope-from vijaykiran.duvvuri@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A98943D46 for ; Wed, 5 Apr 2006 08:34:12 +0000 (GMT) (envelope-from vijaykiran.duvvuri@gmail.com) Received: by pproxy.gmail.com with SMTP id x31so66783pye for ; Wed, 05 Apr 2006 01:34:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Bvpd0ySyKrpGzdAmiTQemhzWNCHjMeo8E/hjlJb1hvQys1AGK7TDsPsE/tETgf53ugyaJ+EL5Wkp6lfaF93HAVUfEDIkXOuLDs+k9s+l4j3VMWGFgug1i3QmO4nplye8BJewNtFQGkXzWsBcTe3yBmtzaYfrIvXQGIa4GH3y46A= Received: by 10.35.9.2 with SMTP id m2mr1355746pyi; Wed, 05 Apr 2006 01:34:11 -0700 (PDT) Received: by 10.35.37.7 with HTTP; Wed, 5 Apr 2006 01:34:11 -0700 (PDT) Message-ID: <1674d2d00604050134k59401d8cu4904225cd1e64d24@mail.gmail.com> Date: Wed, 5 Apr 2006 14:04:11 +0530 From: "Vijay Kiran Duvvuri" Sender: vijaykiran.duvvuri@gmail.com To: "Niek Dekker" In-Reply-To: MIME-Version: 1.0 References: <1674d2d00604050054h796656f0m40007e92ee19f238@mail.gmail.com> <1674d2d00604050101q642a5a29jccecb97b870d74b4@mail.gmail.com> <1674d2d00604050109g6c9664e9sbfa535939e5c24ce@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org Subject: Re: Unable to start Tomcat5.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 08:34:14 -0000 Hi Niek, Thanks a lot, I just added tomcat55_enable=3D"YES" and used /usr/local/etc/rc.d/tomcat55 start I'm able to access tomcat at http://localhost:8180 I was using 8080 port - which was wrong :-) On 4/5/06, Niek Dekker wrote: > > Vijay, > > If you do not enable it in rc.conf, it will not run (at least if you > are running FreeBSD). > > 2006/4/5, Vijay Kiran Duvvuri : > > Hi Niek, > > > > I tried using "/usr/local/etc/rc.d/tomcat55 start". But this time no > errors > > in the log, gut I'm still unable to access tomcat at : > > http://localhost:8080 > > http://127.0.0.1:8080 > > > > I didn't edit /etc/rc.conf. I guess its for starting tomcat while > booting up > > (?). > > > > > > > > On 4/5/06, Niek Dekker < niekdekker@gmail.com> wrote: > > > Can you try /usr/local/etc/rc.d/tomcat55.sh. Also take a > > look inside > > > that file. And did you enable Tomcat5.5 in /etc/rc.conf? Just my 2 > > > cents, I don't recognize the errors you are getting. > > > > > > 2006/4/5, Vijay Kiran Duvvuri : > > > > Hi Niek, > > > > > > > > I'm using /usr/local/tomcat55/bin/startup.sh > > > > > > > > > > > > > > > > > > > > On 4/5/06, Niek Dekker wrote: > > > > > Vijay, > > > > > > > > > > How do you start tomcat? > > > > > > > > > > 2006/4/5, Vijay Kiran Duvvuri < mail@vijaykiran.com>: > > > > > > Hi, > > > > > > > > > > > > I've installed tomcat55 from www/tomcat55. I'm unable to start > > tomcat. > > > > The > > > > > > log has the follwing error: > > > > > > Apr 5, 2006 1:21:17 PM > > > > org.apache.catalina.connector.Connector pause > > > > > > SEVERE: Protocol handler pause failed > > > > > > java.lang.NullPointerException > > > > > > at > > > > org.apache.jk.server.JkMain.pause(JkMain.java:677) > > > > > > at > > org.apache.jk.server.JkCoyoteHandler.pause > > > > (JkCoyoteHandler.java > > > > > > :162) > > > > > > at > > > > > > org.apache.catalina.connector.Connector.pause(Connector.java > > > > > > :1031) > > > > > > at > > > > org.apache.catalina.core.StandardService.stop( > > > > > > StandardService.java :491) > > > > > > at > > > > > > org.apache.catalina.core.StandardServer.stop(StandardServer.java > > > > > > :714) > > > > > > at > > > > > > org.apache.catalina.startup.Catalina.stop(Catalina.java:586) > > > > > > at > > > > > > org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run > > > > ( > > > > > > Catalina.java:629) > > > > > > > > > > > > > > > > > > Here's my java environment: > > > > > > [root@shire /usr/local/tomcat5.5/logs]# java -version > > > > > > java version " 1.5.0-p2" > > > > > > Java(TM) 2 Runtime Environment, Standard Edition (build > > > > > > 1.5.0-p2-root_01_apr_2006_18_01) > > > > > > Java HotSpot(TM) Client VM (build > 1.5.0-p2-root_01_apr_2006_18_01 , > > mixed > > > > > > mode) > > > > > > [root@shire /usr/local/tomcat5.5/logs]# javac -version > > > > > > javac 1.5.0-p2 > > > > > > javac: no source files > > > > > > Usage: javac > > > > > > > > > > > > > > > > > > Please let me know how can I start the server, should I use som= e > > other > > > > > > script or did I miss any changes in the server.xml ? > > > > > > > > > > > > > > > > > > -- > > > > > > Regards, > > > > > > Vijay Kiran, > > > > > > www.vijaykiran.com > > > > > > _______________________________________________ > > > > > > freebsd-java@freebsd.org mailing list > > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > > > > > To unsubscribe, send any mail to " > > > > freebsd-java-unsubscribe@freebsd.org" > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Regards, > > > > Vijay Kiran, > > > > www.vijaykiran.com > > > > > > > > > > > -- > > > > Regards, > > Vijay Kiran, > > www.vijaykiran.com > -- Regards, Vijay Kiran, www.vijaykiran.com