Re: Deployment on tomcat

Martin Kaiser <[email protected]>
Newsgroups gmane.comp.java.roller.user
Message-ID <CAE3cPnRT8r_=wvfhmHDRC6sPKTMGY2wDYE23Kb-w=R6FMFi0Fw@mail.gmail.com>
Hi all,

finally I was able to solve my problem. I removed the tomcat from the
distribution and installed a tomcat 7 manually. Then everything worked as
described in the manual.

Thanks to all for your help

Martin


On 22 April 2013 14:59, Glen Mazza <[email protected]> wrote:

> No, in the first sentence of my response below I indeed identified the
> class not found exception as the most obvious problem -- you didn't mention
> that when you posted the stack trace in your original posting, so I didn't
> know if you were aware of it (I don't know you, as far as I know you might
> be a total newbie.) That you would get such an egregious OOTB error for a
> vanilla install of Roller caused me to think you might have just dumped the
> WAR on Tomcat without configuring a database or the
> roller-custom.properties file and a random error was popping up as a
> result.  So maybe you were unaware of the installation guide, causing me to
> ask about that.  Further if you hadn't installed a database, I wanted to
> refer you to the simple Derby that you can use in your initial prototyping
> of Roller (I didn't want you to run away from testing Roller on account of
> needing to install a more complex DBMS, nor did I want you have have to
> work with the release version of the guide which doesn't cover Derby much
> leaving you with a lot of wasted time guessing configuration.)
>
> But Ubuntu 8.04 is five years old (reaching end of life in 2011:
> https://wiki.ubuntu.com/**Releases <https://wiki.ubuntu.com/Releases>),
> and I'm guessing, based on the location of Tomcat on your machine, that you
> installed Tomcat via sudo apt-get install tomcat6 and not via a manual
> install of Apache Tomcat from the Tomcat website.  I would consider
> updating Ubuntu and trying with a Tomcat 6 or 7 downloaded from the Apache
> Tomcat website to rule out the problem being with the potentially
> un-updated Tomcat packages Canonical provides for Ubuntu 8.
>
> Glen
>
>
> On 04/22/2013 02:05 AM, Martin Kaiser wrote:
>
>> Hi,
>>
>> I don't expect any problem with the database. I just think that Glen wants
>> me to try his newly written guide ;)
>>
>> What I did so far is just a plain installation of tomcat on my ubuntu
>> machine (think its 8.04) then I did everything written in the installation
>> guide of roller upto the point where I got stuck. Maybe someone has a
>> similar installation, or something like that and had the same problem?
>> Maybe I put the properties file in the wrong directory?
>>
>> Any help appreciated...
>>
>> regards,
>> Martin
>>
>>
>> On 21 April 2013 18:41, Matthias Wimmer <[email protected]> wrote:
>>
>>  Why do you expect a problem with the database.
>>> Java is indicating, that it does not find the custom logger Log4JLogger.
>>> I am just not sure if this class is expected to be there or if the user
>>> having this problem has configured himself to use this logger but has not
>>> configured it correctly.
>>>
>>> Regards,
>>> Matthias
>>>
>>>
>>>
>>> Glen Mazza <[email protected]> schrieb:
>>>
>>>  Hi Martin, clearly the class below is missing from the WAR that you
>>>> deployed on Tomcat -- I wonder why. Have you followed the installation
>>>> guide: http://www.apache.org/dist/**roller/roller-5/v5.0.1/docs/<http://www.apache.org/dist/roller/roller-5/v5.0.1/docs/>
>>>> ?
>>>>
>>>> At any rate, I suspect your roller-custom.properties hasn't been
>>>> populated or deployed to the tomcat_home/lib folder.  Which database
>>>> are
>>>> you using to host the Roller data?  Derby is easy to set up -- the
>>>> latest guide in trunk (OpenOffice format:
>>>> http://svn.apache.org/viewvc/**roller/trunk/weblogger-docs/**
>>>> installguide/<http://svn.apache.org/viewvc/roller/trunk/weblogger-docs/installguide/>
>>>> )
>>>>
>>>> has specific Derby information I just added a few days ago.
>>>>
>>>> HTH,
>>>> Glen
>>>>
>>>> On 04/21/2013 08:20 AM, Martin Kaiser wrote:
>>>>
>>>>> Caused by: org.apache.commons.logging.**LogConfigurationException:
>>>>> User-specified log class
>>>>>
>>>> 'org.apache.commons.logging.**impl.Log4JLogger'
>>>>
>>>>> cannot be found or is not useable.
>>>>>
>>>> --
>>> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
>>> gesendet.
>>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.