Preston Crawford | 1 Nov 01:04 2005

Installing Tomact as a service... update

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
Robin Mordasiewicz | 1 Nov 02:29 2005
Picon

Re: clamav

On Mon, 31 Oct 2005, JC wrote:

> Hi all,
> I tried:
> /usr/bin/freshclam -l /var/log/clamav/clam-update.log
> and I got some warnings telling me that my ClamAV installation is OUTDATED - 
> please update immediately!...
> then I tried:
> yum update clamav, but no clamav package was found.
> Does anybody know how to update clamav using yum or any other updater???

Visit Dag Weirs site ,and review his yum conf example.
http://dag.wieers.com/packages/
Greg Knaddison | 1 Nov 03:16 2005
Picon

Re: Installing Tomact as a service... update

On 10/31/05, Preston Crawford <me@...> wrote:

> Any idea what the difference would be?

Paths and/or Classpaths?

Greg
Preston Crawford | 1 Nov 03:24 2005

Re: Installing Tomact as a service... update

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@...
> http://lists.centos.org/mailman/listinfo/centos
>
(Continue reading)

Greg Knaddison | 1 Nov 03:48 2005
Picon

Re: Installing Tomact as a service... update

On 10/31/05, Preston Crawford <me@...> wrote:
> 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.
>

Check your PATH/CLASSPATH :)

Greg
Jim Perrin | 1 Nov 04:03 2005
Picon

Re: Installing Tomact as a service... update

On 10/31/05, Preston Crawford <me@...> wrote:
> 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

I really hate to say "I told you so" (
http://lists.centos.org/pipermail/centos/2005-October/014099.html )
but these instructions WORK, are TESTED, and will take you about 5
minutes apart from download time. Not to mention that they should also
be compatible with the apps repository for centos once it's rolled
out. Once you're done, 'service tomcat5 start' is all that's
needed.....

--
Jim Perrin
System Administrator - UIT
Ft Gordon & US Army Signal Center
Preston Crawford | 1 Nov 05:56 2005

Re: Installing Tomact as a service... update

> On 10/31/05, Preston Crawford <me@...> wrote:
>> 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
>
> I really hate to say "I told you so" (
> http://lists.centos.org/pipermail/centos/2005-October/014099.html )
> but these instructions WORK, are TESTED, and will take you about 5
> minutes apart from download time. Not to mention that they should also
> be compatible with the apps repository for centos once it's rolled
> out. Once you're done, 'service tomcat5 start' is all that's
> needed.....
>

You are right and you are right. :-) Those work and they're tested.

But your solution doesn't fit me. I need complete control over the version
of Tomcat, JDK, etc. that I'm running. I figured out the problem, so I'm
fine now. I can't exactly tell you what I did differently. I just unpacked
Tomcat again, reinstalled our custom configurations and it started
working.

Preston
Preston Crawford | 1 Nov 05:57 2005

Putting nat routing into place permanently?

What's the canonical way to do this in CentOS/RHEL? I know how to do it
from the command line, but how to do I make a NAT route permanent?

Preston

Re: clamav

Besides the other pointers given by the rest of the people, ensure also
that U have uncommented the "Example" line in the /etc/freshclam.conf file.

In the freshclam.conf file, you'll see:

# Comment or remove the line below.
Example

Remove "Example".

I might also suggest that U install clamtk, which is a front-end for Clam.

JC wrote:

> Hi all,
>
> I tried:
>
> /usr/bin/freshclam -l /var/log/clamav/clam-update.log
>
> and I got some warnings telling me that my ClamAV installation is
> OUTDATED - please update immediately!...
>
> then I tried:
>
> yum update clamav, but no clamav package was found.
>
> Does anybody know how to update clamav using yum or any other updater???
>
> Thanks,
(Continue reading)

centos | 1 Nov 13:00 2005

CentOS-announce Digest, Vol 9, Issue 1

Send CentOS-announce mailing list submissions to
	centos-announce@...

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
	centos-announce-request@...

You can reach the person managing the list at
	centos-announce-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."

Today's Topics:

   1. CentOS 3.6 is released. (Lance Davis)

----------------------------------------------------------------------

Message: 1
Date: Tue, 01 Nov 2005 03:14:16 +0000
From: Lance Davis <lance@...>
Subject: [CentOS-announce] CentOS 3.6 is released.
To: centos-announce@...
Message-ID: <1130814853.5678.29.camel@...>
Content-Type: text/plain; charset="us-ascii"

The CentOS development team are please to announce the release of CentOS
3.6 for all supported architectures.
(Continue reading)


Gmane