Can not send emails

Discuss the Scalix Mobile Web Client

Moderator: ScalixSupport

swordfish
Posts: 110
Joined: Mon Feb 05, 2007 6:27 pm

Can not send emails

Postby swordfish » Fri Feb 23, 2007 4:03 pm

Hi there,

Scalix Community Server 11.0.1 on RHEL 4.0 U2. I got the mobile web client working. I used to test Samsung D500 and Nokia 6233 phones. With both phones I can login to the account and see new e-mails. However if I try to send a new e-mail I type the receipient, subject and body then on the D500 when I press the "send" button nothing happens, on the nokia 6233 when I press the "send" button I get - "Unknown response" and the e-mail also does't get send. Any ideas how to resolve the issue?

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Mon Feb 26, 2007 9:04 am

Hi swordfish,

Does anything get written to the tomcat logs when this happens?

3 files that are likely to be of interest :

/var/opt/scalix/??/tomcat/logs/scalix-mobile.log
/var/opt/scalix/??/tomcat/logs/scalix-api.log
/var/opt/scalix/??/tomcat/logs/catalina.out

where '??' depends on your Scalix instance name - it is usually the first and last letters of your machine name.

Regards,
Gren.

swordfish
Posts: 110
Joined: Mon Feb 05, 2007 6:27 pm

Postby swordfish » Mon Feb 26, 2007 11:22 am

The first 2 files are completely empty. catalina.out has messages in it but nothing related to the mobile user. The last message in there is in regards of the normal web interface - someone tried to login this morning with incorrect username. I did a test just now again but there is nothing new in that file.

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Mon Feb 26, 2007 11:51 am

Hi again,

Sorry, the logging system could do with some improvements.
Could you turn up the logging level in the following 2 files :

/var/opt/scalix/??/tomcat/webapps/m/WEB-INF/classes/log4j.properties
/var/opt/scalix/??/tomcat/webapps/api/WEB-INF/classes/log4j.properties

Probably best to use DEBUG instead of WARN or INFO. Several lines need changing,
one for each log channel.

Then restart tomcat and try again please. Hopefully that will cause more useful information to come out.

Thanks,
Gren.

swordfish
Posts: 110
Joined: Mon Feb 05, 2007 6:27 pm

Postby swordfish » Mon Feb 26, 2007 5:10 pm

Hi again,

Ok I set the logging level to DEBUG, rebooted the whole server and tested again. Here is what I got:

scalix-mobile.log:

2007-02-26 22:32:37,802 DEBUG [Init.contextInitialized:16] Received contextInitialized event
2007-02-26 22:32:37,856 DEBUG [Config.getInputStreamForFile:101] Reading config from /var/opt/scalix/rv/mobile/mobile.properties
2007-02-26 22:32:37,861 DEBUG [Config.load:78] done loading Scalix Mobile Web Client configuration (version 11.0.1.22)



scalix-api.log:

2007-02-26 22:32:41,974 DEBUG [Init.contextInitialized:16] Received contextInitialized event
2007-02-26 22:32:41,989 DEBUG [Platform.startup:62] Initializing Scalix Platform
2007-02-26 22:32:41,998 DEBUG [PlatformConfig.getInputStreamForFile:144] Reading config from /var/opt/scalix/rv/platform/platform.properties
2007-02-26 22:32:42,004 DEBUG [PlatformConfig.load:79] done loading platform configuration (version 11.0.1.22)
2007-02-26 22:32:47,423 DEBUG [Platform.startup:71] Done initializing Scalix Platform
2007-02-26 22:36:13,845 DEBUG [Context.create:72] Setting schema to [ sx_43b59fd8bd7fac72ae39b6eb01a6bf18 ]
2007-02-26 22:36:13,947 DEBUG [EventServiceConnection.<init>:46] creating new EventServiceConnection object for http://server.domain.com:5768/77E5F9FD9 ... 9EA636F292
2007-02-26 22:36:14,556 DEBUG [EventServiceConnection.run:154] event service returned: HTTP/1.1 200 OK
2007-02-26 22:36:15,275 DEBUG [Mailbox.removeStaleEntries:786] removed 0 stale entries from message table
2007-02-26 22:36:15,298 DEBUG [PlatformSession.<init>:27] Creating new PlatformSession instance
2007-02-26 22:36:15,299 DEBUG [CheckAuthInterceptor.preHandle:49] User user@domain.com authenticated
2007-02-26 22:36:20,306 DEBUG [Mailbox.getMessages:325] getMessages timing: 0/22/20/0/42



catalina.out:

Feb 26, 2007 10:32:36 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.5.0_06/lib/i386/server:/usr/java/jre1.5.0_06/lib/i386:/usr/java/jre1.5.0_06/../lib/i386
Feb 26, 2007 10:32:36 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1517 ms
Feb 26, 2007 10:32:36 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 26, 2007 10:32:36 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
Feb 26, 2007 10:32:36 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.
RES: Initializing log4j using file /var/opt/scalix/rv/res/config/log4j.properties
SIS received contextInitialized event
SIS initialized with config from /var/opt/scalix/rv/sis/sis.properties
Feb 26, 2007 10:32:40 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/opt/scalix/rv/tomcat/webapps/caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
CAA: scalix.instance is /var/opt/scalix/rv
CAA: caa-root-directory is /var/opt/scalix/rv/caa/
CAA: Loaded web.xml init params
CAA: caa-config-directory is /var/opt/scalix/rv/caa/config
CAA: log4j-init-file is /var/opt/scalix/rv/caa/config/log4j.properties
CAA: caa-framework-init-file is /var/opt/scalix/rv/caa/config/framework-config.xml
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Feb 26, 2007 10:32:49 PM org.apache.catalina.core.ApplicationContext log
INFO: initializing Scalix Web Access
reading configuration @ /var/opt/scalix/rv/webmail/swa.properties
Feb 26, 2007 10:32:49 PM org.apache.catalina.core.ApplicationContext log
INFO: done initializing Scalix Web Access
Feb 26, 2007 10:32:49 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on server/x.x.x.x:8009
Feb 26, 2007 10:32:49 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62 config=null
Feb 26, 2007 10:32:50 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Feb 26, 2007 10:32:50 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 13789 ms

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Tue Feb 27, 2007 6:35 am

Still nothing there that jumps out at me I'm afraid.

Could you check the settings of :
smtp.host=
smtp.port=
in the file :/var/opt/scalix/??/platform/platform.properties
Try telnet to the host and port specified to ensure that those work.

If that works, then please use a network monitoring tool like wireshark (was called ethereal) to monitor the traffic on ports 25 (or what ever your setting of smtp.port is) and port 80 on the host.

Regards,
Gren.

kanderson

Postby kanderson » Tue Feb 27, 2007 2:20 pm

Also remmber that the telnet test should work from OUTSIDE your network. It's possible that a firewall will block the connection, and you won't see that if you telnet from inside.

Also, use the same name as specified in platform.properties. I've certainly seen cases where internal names differ from external names, and by default Scalix will use the internal name for both items.

Kev.

swordfish
Posts: 110
Joined: Mon Feb 05, 2007 6:27 pm

Postby swordfish » Tue Feb 27, 2007 8:16 pm

I don't think this has anything to do with ports, dns names or firewalls. If I open the mobile interface in a PC browser (IE6) and and go to http://server.com/m I can send messages through the browser and using the mobile interface. However if I try it from the mobile phones mentioned earlier seem like the "send" button is not functioning or the phone browser can not interact with that button on the mobile interface.

swordfish
Posts: 110
Joined: Mon Feb 05, 2007 6:27 pm

Postby swordfish » Tue Feb 27, 2007 8:35 pm

Something else which worries me as well - you can see in catalina.out the following message:

INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.5.0_06/lib/i386/server:/usr/java/jre1.5.0_06/lib/i386:/usr/java/jre1.5.0_06/../lib/i386

Does that mean something is wrong with the installation/not installed properly or something else? Should I post a different message for that error in the server forum?

swordfish
Posts: 110
Joined: Mon Feb 05, 2007 6:27 pm

Postby swordfish » Thu Mar 08, 2007 9:03 pm

I did a little bit more testing. I tried Samsung D900 to send e-mails via the mobile interface with the same result - the "send" button does not respond. Then I tried NNokia E61 and it works OK with that mobile phone. It appear as some mobile phone browsers are not compatible with the "send" button but I can't find a solution to it.

Clemens
Posts: 68
Joined: Fri Dec 23, 2005 3:20 pm

Postby Clemens » Mon Aug 27, 2007 6:21 pm

Has there been any update on this one? I also get "response unknown" on Nokia 6230i and 6300-series.

Thanks,
Clemens

gdzucker
Posts: 16
Joined: Wed Nov 28, 2007 10:33 am

Postby gdzucker » Sat Jan 19, 2008 1:31 pm

I just upgraded to Scalix CE 11.3 on a server running Fedora 7. I am attempting to use the mobile web access client to send mail from a Samsung SCH-U740 cell phone. I can navigate through all of fields, including the 'To:' and 'Bcc:' links as well as the button to return to my inbox. HOWEVER, after filling out each piece of the email (I even filled out the Bcc field), the 'Send' button does not respond. Not at all. No error, no timeout, nothing. It acts like i'm clicking on something that isn't there. Have there been any other instances of this issue in the newer versions of Scalix and/or has ANYONE found a fix for it yet?

gdzucker
Posts: 16
Joined: Wed Nov 28, 2007 10:33 am

Postby gdzucker » Tue Jan 22, 2008 12:00 pm

Update: I'm still experiencing this problem, but so far the main culprit seems to be Verizon's mobile web browser. I've checked from a couple of AT&T cell phones and one works perfectly the other (using an ancient version of the browser) responds even more poorly than the Verizon phones. I'd like to look into the programming of the pages themselves to see what I can find. Can anyone point me to these files?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jan 23, 2008 8:05 am

The easiest is to download the source package from the Scalix website. It should contain everything needed for the mobile client.

preetsei

Postby preetsei » Fri Apr 25, 2008 2:15 pm

I am experiencing the same problem using a U740 from Verizon. Did you ever find a 'tweak' to allow this phone to send a message?


Return to “Scalix Mobile Web Client”



Who is online

Users browsing this forum: No registered users and 3 guests

cron