You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Keith Irwin <ke...@gmail.com> on 2006/11/28 01:33:35 UTC

ubuntu 6.10 (edgy) + roller 3.0

Folks--

I've successfully installed roller on ubuntu using the 3.0 tarball and a
tarball of tomcat 6.x.  I then wanted to see if I could get it to work using
the stock ubuntu packaged tomcat5.5.  I couldn't.

Had to add in log4j to the /usr/share/tomcat5.5/common/libs directory, but
even so, I can't get roller to write to a log file with FULL permissions
(we're talking chmod 777 on the full path).  I did adjust the path using the
roller log4j.properties, no go.

The default install creates a tomcat5 user, but no group.

I get this initially:

SEVERE: Error deploying configuration descriptor roller.xml
java.lang.ExceptionInInitializerError
        at org.apache.log4j.Logger.getLogger(Logger.java:103)
        at org.apache.commons.logging.impl.Log4jFactory.getInstance(
Log4jFactory.java:114)
        ...

It seems as if there's a problem with roller.xml, but I can't every figure
out what that problem is because of the log4j problem.  The same file worked
for tomcat 6.x (which I just downloaded and ran from a command line).

SO!  Question is, has anyone gotten roller working with stock ubuntu
tomcat5.5?

Keith

Re: ubuntu 6.10 (edgy) + roller 3.0

Posted by Axelle Ziegler <ax...@gmail.com>.
This is sort of a late answer, but I ran into this problem, and it
seems  that the problem came Tomcat's Security manager.
Proper IOAccess needs to be granted to Roller in the tomcat.policy
files. With these changes made, Roller runs just fine with the
packaged tomcat (provided you installed sun's version of java of
course).

-- 
Axelle

On 12/1/06, Dave <sn...@gmail.com> wrote:
> On 12/1/06, Keith Irwin <ke...@gmail.com> wrote:
> > On Nov 29, 2006, at 2:01 PM, Dave wrote:
> > > On 11/27/06, Keith Irwin <ke...@gmail.com> wrote:
> > >>
> > >> SO!  Question is, has anyone gotten roller working with stock ubuntu
> > >> tomcat5.5?
> > >
> > > If the stock Tomcat runs off of Kaffe and not Sun Java, and based on
> > > the deps I see in the Synaptic package manager -- it does, then you
> > > probably won't have much luck.
> >
> > Hi Dave--
> >
> > I installed the sun-java* packages and made sure they were the
> > defaults (they were), and verified that tomcat5.5 was starting with
> > that version of the JVM.  (export JAVA_HOME=/usr, for instance,
> > before starting, or editing /etc/defaults/tomcat).
> >
> > No go.
> >
> > However (and I've un-installed the whole thing since then), I wonder
> > if the packaged tomcat relied on gcj style jars somewhere along the
> > line, and that broke it?
>
> I suspect that is the problem.
>
> > Well, no matter, at this point.
> >
> > I would love to see roller using embedded tomcat.  Actually, I think
> > that would be easy to do, up to a point.  Then, we could just
> > download the tarball, uncompress, cd /bin, and go! ;)
>
> I would like to see that too. Wouldn't it be cool to "apt-get install roller"
>
> - Dave
>

Re: ubuntu 6.10 (edgy) + roller 3.0

Posted by Dave <sn...@gmail.com>.
On 12/1/06, Keith Irwin <ke...@gmail.com> wrote:
> On Nov 29, 2006, at 2:01 PM, Dave wrote:
> > On 11/27/06, Keith Irwin <ke...@gmail.com> wrote:
> >>
> >> SO!  Question is, has anyone gotten roller working with stock ubuntu
> >> tomcat5.5?
> >
> > If the stock Tomcat runs off of Kaffe and not Sun Java, and based on
> > the deps I see in the Synaptic package manager -- it does, then you
> > probably won't have much luck.
>
> Hi Dave--
>
> I installed the sun-java* packages and made sure they were the
> defaults (they were), and verified that tomcat5.5 was starting with
> that version of the JVM.  (export JAVA_HOME=/usr, for instance,
> before starting, or editing /etc/defaults/tomcat).
>
> No go.
>
> However (and I've un-installed the whole thing since then), I wonder
> if the packaged tomcat relied on gcj style jars somewhere along the
> line, and that broke it?

I suspect that is the problem.

> Well, no matter, at this point.
>
> I would love to see roller using embedded tomcat.  Actually, I think
> that would be easy to do, up to a point.  Then, we could just
> download the tarball, uncompress, cd /bin, and go! ;)

I would like to see that too. Wouldn't it be cool to "apt-get install roller"

- Dave

Re: ubuntu 6.10 (edgy) + roller 3.0

Posted by Keith Irwin <ke...@gmail.com>.
On Nov 29, 2006, at 2:01 PM, Dave wrote:

> On 11/27/06, Keith Irwin <ke...@gmail.com> wrote:
>>
>> SO!  Question is, has anyone gotten roller working with stock ubuntu
>> tomcat5.5?
>
> If the stock Tomcat runs off of Kaffe and not Sun Java, and based on
> the deps I see in the Synaptic package manager -- it does, then you
> probably won't have much luck.

Hi Dave--

I installed the sun-java* packages and made sure they were the  
defaults (they were), and verified that tomcat5.5 was starting with  
that version of the JVM.  (export JAVA_HOME=/usr, for instance,  
before starting, or editing /etc/defaults/tomcat).

No go.

However (and I've un-installed the whole thing since then), I wonder  
if the packaged tomcat relied on gcj style jars somewhere along the  
line, and that broke it?

Well, no matter, at this point.

I would love to see roller using embedded tomcat.  Actually, I think  
that would be easy to do, up to a point.  Then, we could just  
download the tarball, uncompress, cd /bin, and go! ;)

Keith

> - Dave


Re: ubuntu 6.10 (edgy) + roller 3.0

Posted by Dave <sn...@gmail.com>.
On 11/27/06, Keith Irwin <ke...@gmail.com> wrote:
> Folks--
>
> I've successfully installed roller on ubuntu using the 3.0 tarball and a
> tarball of tomcat 6.x.  I then wanted to see if I could get it to work using
> the stock ubuntu packaged tomcat5.5.  I couldn't.
>
> Had to add in log4j to the /usr/share/tomcat5.5/common/libs directory, but
> even so, I can't get roller to write to a log file with FULL permissions
> (we're talking chmod 777 on the full path).  I did adjust the path using the
> roller log4j.properties, no go.
>
> The default install creates a tomcat5 user, but no group.
>
> I get this initially:
>
> SEVERE: Error deploying configuration descriptor roller.xml
> java.lang.ExceptionInInitializerError
>         at org.apache.log4j.Logger.getLogger(Logger.java:103)
>         at org.apache.commons.logging.impl.Log4jFactory.getInstance(
> Log4jFactory.java:114)
>         ...
>
> It seems as if there's a problem with roller.xml, but I can't every figure
> out what that problem is because of the log4j problem.  The same file worked
> for tomcat 6.x (which I just downloaded and ran from a command line).
>
> SO!  Question is, has anyone gotten roller working with stock ubuntu
> tomcat5.5?

If the stock Tomcat runs off of Kaffe and not Sun Java, and based on
the deps I see in the Synaptic package manager -- it does, then you
probably won't have much luck.

- Dave