Unable to start Tomcat5.5

Vijay Kiran Duvvuri mail at vijaykiran.com
Wed Apr 5 08:34:14 UTC 2006


Hi Niek,

Thanks a lot, I just added tomcat55_enable="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 at 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 at 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 at 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 at vijaykiran.com >:
> > > > Hi Niek,
> > > >
> > > > I'm using /usr/local/tomcat55/bin/startup.sh
> > > >
> > > >
> > > >
> > > >
> > > > On 4/5/06, Niek Dekker <niekdekker at gmail.com > wrote:
> > > > > Vijay,
> > > > >
> > > > > How do you start tomcat?
> > > > >
> > > > > 2006/4/5, Vijay Kiran Duvvuri < mail at 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 at 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 at 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 some
> > other
> > > > > > script or did I miss any changes in the server.xml ?
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Regards,
> > > > > > Vijay Kiran,
> > > > > > www.vijaykiran.com
> > > > > > _______________________________________________
> > > > > > freebsd-java at freebsd.org mailing list
> > > > > >
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > > > > > To unsubscribe, send any mail to "
> > > > freebsd-java-unsubscribe at freebsd.org"
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Regards,
> > > > Vijay Kiran,
> > > >  www.vijaykiran.com
> > >
> >
> >
> >
> > --
> >
> > Regards,
> > Vijay Kiran,
> >  www.vijaykiran.com
>



--
Regards,
Vijay Kiran,
www.vijaykiran.com


More information about the freebsd-java mailing list