[CentOS] Installing Tomact as a service... update

Preston Crawford me at prestoncrawford.com
Tue Nov 1 02:24:49 UTC 2005


I give up. This works as root, but not as "tomcat" user. There is
something really wrong at the nexus of Tomcat 5.0.28, Hibernate 3 and
CentOS. And I can't for the life of me figure out what it is. This app, as
currently configured, runs fine under Websphere on Windows and under
Tomcat on Windows.

Preston

> So I've been trying to use this site and the daemon script here.
>
> http://www.linuxjava.net/howto/webapp/#tomcat
>
> It works so far. I mean, at least the server starts, I can get to the
> site, etc. So far, so good. The only problem is, for some reason when I
> start tomcat using root everything runs fine. When I start tomcat using
> this script, however, I get this....
>
> FATAL [http-8080-Processor25] (DatasourceConnectionProvider.java:47) -
> Could not find datasource: java:comp/env/jdbc/sybDB
> javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
>
> Any idea what the difference would be?
>
> Preston
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>





More information about the CentOS mailing list