Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2006 14:04:11 +0530
From:      "Vijay Kiran Duvvuri" <mail@vijaykiran.com>
To:        "Niek Dekker" <niekdekker@gmail.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Unable to start Tomcat5.5
Message-ID:  <1674d2d00604050134k59401d8cu4904225cd1e64d24@mail.gmail.com>
In-Reply-To: <e02150200604050120j7ed72ecek70f93514e7b00935@mail.gmail.com>
References:  <1674d2d00604050054h796656f0m40007e92ee19f238@mail.gmail.com> <e02150200604050058pac13fc6k3ed9c3b1a3d36e1d@mail.gmail.com> <1674d2d00604050101q642a5a29jccecb97b870d74b4@mail.gmail.com> <e02150200604050104i1bd9b841xe8aaff5bbfe89ffd@mail.gmail.com> <1674d2d00604050109g6c9664e9sbfa535939e5c24ce@mail.gmail.com> <e02150200604050120j7ed72ecek70f93514e7b00935@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <niekdekker@gmail.com> 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 <mail@vijaykiran.com>:
> > 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 <mail@vijaykiran.com >:
> > > > Hi Niek,
> > > >
> > > > I'm using /usr/local/tomcat55/bin/startup.sh
> > > >
> > > >
> > > >
> > > >
> > > > On 4/5/06, Niek Dekker <niekdekker@gmail.com > 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 <options> <source files>
> > > > > >
> > > > > >
> > > > > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1674d2d00604050134k59401d8cu4904225cd1e64d24>