roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Gangolli <a...@busybuddha.org>
Subject Re: Help with Installation
Date Fri, 08 Feb 2008 15:37:05 GMT
It looks like you have a copy of the GNU Java Mail jar in your classpath 
and you are getting that implementation.

I'd recommend instead using the Sun Java Mail implementation 
(http://java.sun.com/products/javamail/) as it is tested by more Roller 
users.   Since you are using JDK 6 you already have the Sun JAF which is 
its only dependency.

Alternatively, you could try to complete the GNU dependencies which 
include the GNU JAF and  GNU inetlib.  The dependencies are described on 
the GNU JavaMail page: 
http://www.gnu.org/software/classpathx/javamail/javamail.html. Have 
never tried this one myself.

--a.

ratnamg wrote:
> Gabe
> Thanks for your reply. I checked the paths and it seems to be correct. Just
> to be sure, I reinstalled java jdk and jre from Sun. Tomcat was downloaded
> from the apache.org website. Tomcat starts up with the following:
>
>
> XX:/usr/share/tomcat55/bin # sh startup.sh
> Using CATALINA_BASE:   /usr/share/tomcat55
> Using CATALINA_HOME:   /usr/share/tomcat55
> Using CATALINA_TMPDIR: /usr/share/tomcat55/temp
> Using JRE_HOME:       /usr/java/jdk1.6.0_04
>
>
> INFO  2008-02-08 08:08:21,812 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JDBC_PROPERTIES
> INFO  2008-02-08 08:08:21,815 DatabaseProvider:successMessage - -- Using
> JDBC driver class: com.mysql.jdbc.Driver
> INFO  2008-02-08 08:08:21,815 DatabaseProvider:successMessage - -- Using
> JDBC connection URL: jdbc:mysql://localhost:3306/rollerdb
> INFO  2008-02-08 08:08:21,816 DatabaseProvider:successMessage - -- Using
> JDBC username: scott
> INFO  2008-02-08 08:08:21,816 DatabaseProvider:successMessage - -- Using
> JDBC password: [hidden]
> INFO  2008-02-08 08:08:21,820 DatabaseProvider:successMessage - SUCCESS:
> loaded JDBC driver class [com.mysql.jdbc.Driver]
> ERROR 2008-02-08 08:08:21,839 StandardContext:listenerStart - Exception
> sending context initialized event to listener instance of class
> org.apache.roller.weblogger.ui.core.RollerContext
> java.lang.NoClassDefFoundError: gnu/inet/util/Logger
>         at
> org.apache.naming.factory.MailSessionFactory$1.run(MailSessionFactory.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessionFactory.java:105)
>         at
> org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
>
>
>
>
>
> Gabe Wong wrote:
>   
>> ratnamg wrote:
>>     
>>> Hi.
>>> I am trying to install apache Roller 4.0 on Suse 10.3, Apache and Tomcat
>>> 5.5. I have installed the latest jdk from sun.
>>>
>>>
>>>
>>> I seem to be getting this error. 
>>>
>>>
>>> ERROR 2008-02-07 19:27:19,274 StandardContext:listenerStart - Exception
>>> sending context initialized event to listener instance of class
>>> org.apache.roller.weblogger.ui.core.RollerContext
>>> java.lang.NoClassDefFoundError: gnu/inet/util/Logger
>>>   
>>>       
>> The above error indicates another JDK is in the path instead of the SUN
>> JDK.
>> Add the following in your Tomcat startup script:
>> export JAVA_HOME=/usr/java/jdk1.6.0_03
>> export JRE_HOME=$JAVA_HOME
>>
>> Edit the actual JAVA path accordingly. BTW was the installed Tomcat 
>> downloaded from tomcat.apache.org?
>>
>>
>> -- 
>> Regards
>>
>> Gabe Wong
>> NGASI AppServer Manager
>> JAVA AUTOMATION and SaaS Enablement
>>  http://www.ngasi.com http://www.ngasi.com 
>> NEW! 8.0 - Centrally manage multiple physical servers
>>
>>
>>
>>     
>
>   



Mime
View raw message