Hi Scalix Support
We are experiancing problem with Scalix Webmail. Initially we had a problem with SAC when we were not able to login to the admin interface. The problem was fixed when we added FC4 JAVA_OPTS and JAVA_ENDORSED_DIRS option as mentioned in the FC4 sticky.
Here is out Setup.
Java
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)
Scalix
scalix-9.4.2-community-intel-rh
Tomcat
Scalix provided tomcat in the third party dir installed in /opt
Follwing is what we added in setclasspath.sh file of the Scalix provided tomcat server.
JAVA_OPTS="-server -Xms256m -Xmx256m -Djava.net.preferIPv4Stack=true"
JAVA_ENDORSED_DIRS="$BASEDIR"/common/endorsed-Djava.net.preferIPv4Stack=true
Here is out ps -ef |grep tomcat output
root 8604 1 0 12:44 pts/1 00:00:08 /usr/java/bin/java -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/tomcat/common/endorsed-Djava.net.preferIPv4Stack=true -classpath /usr/java/lib/tools.jar:/opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat -Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap start
Unfortunatly, before we edited the JAVA_ENDORSED_DIRS option scalix webmail worked fine.
After we added the JAVA_ENDORSED_DIRS entry scalix webmail stops working and throws nul pointer exception on the browser.
When we disabled the JAVA_ENDORSED_DIRS the scalix webmail worked fine.
When we disable the JAVA_ENDORSED_DIRS, SAC stops working.
Now we are in a delema that we have to use either the SAC or the webmail.
Below is the detail error we see on the browser .
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:175)
root cause
java.lang.NullPointerException
org.apache.jsp.index_jsp._jspService(index_jsp.java:57)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:175)
We would love to know what are we doing wrong.