Cannot login to SAC [Solved]

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

tonyevans

Cannot login to SAC [Solved]

Postby tonyevans » Fri Sep 15, 2006 2:36 pm

Hey all, great product. I'm a first-time installer and soon to be first-time user.

I'm having a little trouble logging in to the scalix web console. I am able to access it at: http://xxxx.xxxx.com:8080/sac and do successfully see a login prompt. But when i try to login using the admin id and password, click the "not using a secure https connection..." checkbox and then press "login," all i get is "Attempting to Login...." That's it. It just sits there doing nothing.

Here is my setup.

openSuse 10.1 (changed suse.release to allow install)
the latest version of scalix(downloaded today), 10.0.1

Installation went off without a hitch, until now. I tried to check the log files in /var/opt/scalix/logs but they contained nothing. Any ideas? Is not using secure https for the login causing a problem?
Last edited by tonyevans on Sat Sep 16, 2006 1:21 am, edited 1 time in total.

tonyevans

Postby tonyevans » Fri Sep 15, 2006 3:03 pm

Alright, I found the log locations (yeah, it's in the manual).

Anywho, i'm starting to think i need to re-install the jre.

Also, trying to access webmail retuns a http status 500 exception.

First, from the SAC log and then the webmail log.


2006-09-15 14:53:57 StandardWrapperValve[dispatcher]: Allocate exception for servlet dispatcher
javax.servlet.ServletException: Servlet.init() for servlet dispatcher threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:1071)
at org.apache.catalina.core.StandardWrapper.allocate (StandardWrapper.java:687)
at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:155)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:120)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:111)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:931)
at org.apache.coyote.tomcat5.CoyoteAdapter.service (CoyoteAdapter.java:163)
at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:805)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection (Http11Protocol.java:713)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:604)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683)
at java.lang.Thread.run (libgcj.so.7)
----- Root Cause -----
java.lang.NoClassDefFoundError: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
at java.lang.Class.initializeClass (libgcj.so.7)
at java.lang.Class.newInstance (libgcj.so.7)
at javax.xml.soap.FactoryFinder.newInstance (Unknown Source)
at javax.xml.soap.FactoryFinder.find (Unknown Source)
at javax.xml.soap.MessageFactory.newInstance (Unknown Source)
at com.scalix.caa.soap.SAAJServlet.init (SAAJServlet.java:42)
at com.scalix.caa.soap.SOAPDispatcherServlet.init (SOAPDispatcherServlet.java:36)
at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:1033)
at org.apache.catalina.core.StandardWrapper.allocate (StandardWrapper.java:687)
at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:155)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:120)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:111)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:931)
at org.apache.coyote.tomcat5.CoyoteAdapter.service (CoyoteAdapter.java:163)
at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:805)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection (Http11Protocol.java:713)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:604)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683)
at java.lang.Thread.run (libgcj.so.7)





Now the webmail log.


2006-09-15 15:00:33 StandardWrapperValve[com.oddpost.jsp.index_jsp]: Servlet.service() for servlet com.oddpost.jsp.index_jsp threw exception
java.lang.NoClassDefFoundError: com.oddpost.util.SillyString
at java.lang.Class.initializeClass (libgcj.so.7)
at com.oddpost.server.filter.HttpConfFilter.doFilter (HttpConfFilter.java:131)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:159)
at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:216)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:155)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:120)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:111)
at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:521)
at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:931)
at org.apache.coyote.tomcat5.CoyoteAdapter.service (CoyoteAdapter.java:163)
at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:805)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection (Http11Protocol.java:713)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:604)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683)
at java.lang.Thread.run (libgcj.so.7)




Do I need to re-install the jre? Or do I not have something else setup incorrectly?

tonyevans

Postby tonyevans » Fri Sep 15, 2006 4:01 pm

I installed java 1.5 and webmail is working. I am able to receive and send messages from my admin account so everything is good on that side of things.

Still having some trouble with the SAC, though. Here is the error message from the log file.


2006-09-15 15:56:42 StandardWrapperValve[dispatcher]: Servlet.service() for servlet dispatcher threw exception
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.newTransformer(EfficientStreamingTransformer.java:273)
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:60)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:34)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:82)
at com.scalix.caa.soap.SOAPHelper.getElementValue(SOAPHelper.java:106)
at com.scalix.caa.soap.SOAPHelper.getServiceType(SOAPHelper.java:73)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:161)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)



Throw me your ideas and suggestions.

Thanks.

tonyevans

Postby tonyevans » Sat Sep 16, 2006 1:21 am

I found a solution and i'm going to give it a whirl to see how it fairs.

The key to the error was: "Provider org.apache.xalan.processor.TransformerFactoryImpl not found". I did a few searches and finally found a post on Sun's Java forum that provided a couple of possible solutions.

Here's the post: http://forum.java.sun.com/thread.jspa?t ... &trange=15

If you don't want to make a trip over the above post here is the solution I implemented.

JDK 1.5 doesn't have xalan libraries and hence it throws this exception.

Copy the xalan.jar and serializer.jar, xercesImpl.jar, xml-apis.jar (this are needed as there are dependencies from xalan.jar) into the tomcat_home/common/endorsed folder.

If some of the jars are already present, there is no need to overwrite the files.

You can get the required files from the following website:
http://xml.apache.org/xalan-j/


I hope this helps someone.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Sep 16, 2006 3:27 am

Note that this is not seen during a normal install. Assume that the root cause is the use of the SuSE 10.1 platform which hasn't been tested and is not supported for a Scalix 10.x installation.

Scalix 11 will support SuSE 10.1.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

Renegade
Posts: 24
Joined: Mon Jul 31, 2006 2:17 pm
Location: Germany, SH
Contact:

Postby Renegade » Sun Apr 08, 2007 4:36 pm

tonyevans wrote:I found a solution and i'm going to give it a whirl to see how it fairs.

The key to the error was: "Provider org.apache.xalan.processor.TransformerFactoryImpl not found". I did a few searches and finally found a post on Sun's Java forum that provided a couple of possible solutions.

Here's the post: http://forum.java.sun.com/thread.jspa?t ... &trange=15

If you don't want to make a trip over the above post here is the solution I implemented.

JDK 1.5 doesn't have xalan libraries and hence it throws this exception.

Copy the xalan.jar and serializer.jar, xercesImpl.jar, xml-apis.jar (this are needed as there are dependencies from xalan.jar) into the tomcat_home/common/endorsed folder.

If some of the jars are already present, there is no need to overwrite the files.

You can get the required files from the following website:
http://xml.apache.org/xalan-j/


I hope this helps someone.



Thx, that helped a lot.


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 2 guests