Page 1 of 1

HELP: So many propblems after update/installation

Posted: Mon Nov 23, 2009 7:53 pm
by shibadoo
I totally regret trying to update from my running 5.5.1 to 6. I strongly recommend to stick to your running system!!!!!

After the update from inside OpenEMM did not work at all, I tried to install it from scratch. But now many problems do occur and I cannot get OpenEMM to work.
1) When starting with OpenEMM.sh start, it gives me strange error messages that weren't there in 5.5.1:

Code: Select all

Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start /home/openemm/bin/scripts/update.py bounce account .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:   done.
Starting sendmails:   listener 554 5.0.0 /etc/sendmail.cf: line 158: unknown configuration line "')"
WARNING: Xbav'': local socket name /home/openemm/var/run/bav.sock' missing
 client queue clientmqueue /etc/sendmail.cf: line 158: unknown configuration line "')"
 admin queue /etc/sendmail.cf: line 158: unknown configuration line "')"
 mail queue /etc/sendmail.cf: line 158: unknown configuration line "')"
 done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Resin httpd start at Mon Nov 23 19:44:15 CET 2009
What does this mean? What about this strange Warning???

2) After starting, I can go to www.domain.com:8080 and see the welcome screen. After clicking on the link to login in (http://www.domain.com:8080/logon.do?action=0), I get a final error message, and after that everyting stops:

Code: Select all

An error occurred
Cause:	javax.servlet.ServletException: com.caucho.jsp.JspParseException: _jsp/_logon__jsp.java:10: cannot access org.agnitas.beans.EmmLayout bad class file: /home/openemm/webapps/core/WEB-INF/classes/org/agnitas/beans/EmmLayout.class class file has wrong version 50.0, should be 49.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import org.agnitas.beans.EmmLayout; ^ 1 error
Please help. I have to do a mailing tomorrow morning!!!!!!!

Posted: Tue Nov 24, 2009 8:43 am
by maschoff
OpenEMM 6 needs Java 6, but you use Java 5. Therefore, you have to install Java 6.

Posted: Tue Nov 24, 2009 12:03 pm
by shibadoo
not true... of course I use Java 6!!!! After hours no progress... very frustrating

Posted: Tue Nov 24, 2009 12:08 pm
by maschoff
But your JSP compiler compiles to Java 5. Please check tag javac in resin.conf or core.conf if path for property compile leads to a Java 6 compiler.

Posted: Tue Nov 24, 2009 12:19 pm
by shibadoo
resin.conf is not found
core.conf says:

Code: Select all

<resin xmlns="http://caucho.com/ns/resin"
       xmlns:resin="http://caucho.com/ns/resin/core">

        <log name="" level="info" path="stdout:" timestamp="[%H:%M:%S.%s]"/>
        <log name="com.caucho.java" level="config" path="stdout:" timestamp="[%H:%M:%S.%s]"/>
        <log name="com.caucho.loader" level="config" path="stdout:" timestamp="[%H:%M:%S.%s]"/>

        <javac compiler="javac" args=""/>
        <user-name>openemm</user-name>
        <group-name>openemm</group-name>

        <server>
                <class-loader>
                        <tree-loader path="${resin.home}/lib"/>
                </class-loader>

                <http server-id="core" host="*" port="8080"/>

                <web-app-default>
                </web-app-default>

                <resin:import path="${resin.home}/conf/app-default.xml"/>

                <access-log path='${resin.home}/var/log/access-core.log'
                        format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' rollover-period='1D'/>

                <host id="" root-directory="${resin.home}/webapps">
                        <web-app id="/" document-directory="core">
                        </web-app>
                </host>
        </server>


</resin>
It looks identical to the core.conf in the old 5.5.1 installation.

Tested it with "/opt/openemm.org/software/java/bin/java -version":

Code: Select all

ava version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)

Posted: Tue Nov 24, 2009 1:37 pm
by maschoff
And when you enter java -version from a different directory? (i.e. what is your default Java?)

To make sure that the right Java is used you can set the path for property args in tag javac accordingly.

Posted: Tue Nov 24, 2009 3:03 pm
by shibadoo
.. the same. If I check the java version from the root directory, I get:

Code: Select all

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)

Posted: Mon Nov 30, 2009 8:57 am
by shibadoo
And this was it then? No more help?

Posted: Tue Feb 02, 2010 7:10 pm
by mkom
shibadoo wrote:And this was it then? No more help?
Obviously not!