Installing Tomact as a service... update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux