ical via webcal in Scalix 11

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

klopfer

ical via webcal in Scalix 11

Postby klopfer » Tue Sep 26, 2006 4:32 pm

I just installed scalix 11 preview on a fresh rhel server.

Things seem to be operating ok (though I had to reinstall the postgresql component to get that to work properly) with one exception. I can't access ical subscriptions, which from what I have read should be accessible at http://server.com/webcal. It just gives a 404 not found. The webmail, sac and mobile components work just fine.

I don't seem to be getting an errors in the scalix logs.

I looked in the webapps directory and there is nothing named webcal there.

Any idea what went wrong or how to correct it?

Thanks.

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

Postby florian » Tue Sep 26, 2006 5:57 pm

Scalix 11 can do a lot more.

Please check http://my.scalix.server/api/docs for details on full functionality for scalix messaging services.

to get data as webcal, just use the following URL

http://my.scalix.server/api/name@domain ... utput=ical

Note that by replacing the name /Calendar with the actual folder name, you can now access ANY folder as a welcal - this didn't use to be the case previously.

-- f.
Florian von Kurnatowski, Die Harder!

cguenther
Scalix
Scalix
Posts: 53
Joined: Wed Aug 17, 2005 8:26 pm
Location: San Mateo, CA

Postby cguenther » Tue Sep 26, 2006 6:02 pm


jaga0
Posts: 62
Joined: Fri May 12, 2006 10:00 pm

Postby jaga0 » Thu Sep 28, 2006 12:32 am

Will you be able to access shared/public caledars via this method, or just ones tied to accounts (like /webcal)?

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

Postby florian » Thu Sep 28, 2006 1:37 am

yes.

The URL syntax for this is something like:

http://server/api/user@domain/mailbox/P ... utput=ical

to access a subfolder called "Drei Kalender" in the top-level Public folder "Projekt1"

-- f.
Florian von Kurnatowski, Die Harder!

jaga0
Posts: 62
Joined: Fri May 12, 2006 10:00 pm

Postby jaga0 » Thu Sep 28, 2006 1:42 am

Neat. Thanks Florian

KKJensen
Posts: 142
Joined: Wed Sep 06, 2006 9:34 am
Contact:

Postby KKJensen » Tue Feb 20, 2007 11:40 am

Question I must ask. We have some macintosh users on the network and I'm trying to get all my answers right before I have to teach them what to do. I'm using evolution (since it supports ical and I don't have a mac). I know the scalix side of things is working since the url: http://gateway/api/t.boss@domain.com/ma ... utput=ical gives me a file after I punch in the username and password.

When I try to create a new calendar, pointing at the url (removing the "http://" so the final target is: webcal://gateway/api/t.boss@elisen.com/ ... utput=ical) and checking off the "secure connection" option...it comes back with a window repeating the url and saying "unauthorized". I presume this is because it's not asking me for the username/password for the calendar for t.boss@domain.com

I know I have access to a connector for evolution so I don't need to worry about this, but what are the mac users to do? Will the macintosh ical program ask for the username and password? If not this file will have to be manually downloaded and re-imported all the time which will be quite a pain.

I've also read about some improvement to scalix to support caldev or something better for calendars in Q1 or Q2 of this year...any updates or pages I can read on it? If scalix won't work to their satisfaction now, I'd like to at least have some answers about when it might.

ciotog
Posts: 33
Joined: Wed Jul 12, 2006 6:23 am
Location: Singapore
Contact:

Postby ciotog » Fri Feb 23, 2007 9:41 am

It seems to work ok on iCal if you use webcal://gateway/api/t.boss@domain.com/ ... utput=ical . You will get a prompt for a username and password, followed by (in my case anyway) a dialog box asking you to enter the Calendar name and some options about removing alarms.

KKJensen
Posts: 142
Joined: Wed Sep 06, 2006 9:34 am
Contact:

Postby KKJensen » Fri Feb 23, 2007 10:11 am

ciotog wrote:It seems to work ok on iCal if you use webcal://gateway/api/t.boss@domain.com/ ... utput=ical . You will get a prompt for a username and password, followed by (in my case anyway) a dialog box asking you to enter the Calendar name and some options about removing alarms.


I haven't been able to get any dialog box to pop up and ask me for a username/password. Are you using evolution? What version?

ciotog
Posts: 33
Joined: Wed Jul 12, 2006 6:23 am
Location: Singapore
Contact:

Postby ciotog » Fri Feb 23, 2007 10:50 am

KKJensen wrote:
ciotog wrote:It seems to work ok on iCal if you use webcal://gateway/api/t.boss@domain.com/ ... utput=ical . You will get a prompt for a username and password, followed by (in my case anyway) a dialog box asking you to enter the Calendar name and some options about removing alarms.


I haven't been able to get any dialog box to pop up and ask me for a username/password. Are you using evolution? What version?

Sorry, bit of a mix up on my part; I was just referring to iCal on the Mac. I'll have a poke around with Evolution later (I have Ubuntu in another partition on my powerbook so I'll test it there)

KKJensen
Posts: 142
Joined: Wed Sep 06, 2006 9:34 am
Contact:

Postby KKJensen » Fri Feb 23, 2007 11:12 am

I just tested it on a mac...worked perfectly. Thanks!

joako
Posts: 308
Joined: Tue May 08, 2007 10:45 pm

Postby joako » Wed Jun 27, 2007 12:01 am

Nothing but problems.....

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:472)
com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:73)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:133)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

root cause

java.lang.NullPointerException
com.scalix.api.rest.MailboxRequestInfo.<init>(MailboxRequestInfo.java:27)
com.scalix.api.rest.MailboxServlet.doGet(MailboxServlet.java:64)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:174)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)
com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:73)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:133)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.

Derek
Posts: 169
Joined: Fri Mar 24, 2006 4:53 pm
Contact:

Postby Derek » Mon Jul 02, 2007 10:52 am

I'm having problems with this as well.

Whenever I try to use the correct link for my domain, Scalix wants me to authenticate, but the message is very strange.

Enter username and password for "users" as http://scalix.example.com/


Users have been complaining about webmail, basically it never loads for anyone the first time. The thing is, in one of the tomcat logs, I've been seeing messages about this "users" authentication thing. I'm guessing this is related.

friedmar
Posts: 48
Joined: Fri Jan 26, 2007 11:29 am
Location: Darmstadt, Germany, Europe

Postby friedmar » Mon Jul 02, 2007 3:36 pm

I have exactly the same problem as joako.

Friedmar

Code: Select all


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:472)
   com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:73)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:133)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

root cause

java.lang.NullPointerException
   com.scalix.api.rest.MailboxRequestInfo.<init>(MailboxRequestInfo.java:27)
   com.scalix.api.rest.MailboxServlet.doGet(MailboxServlet.java:64)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:174)
   org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)
   com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:73)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:133)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.

joako
Posts: 308
Joined: Tue May 08, 2007 10:45 pm

Postby joako » Wed Jul 04, 2007 11:03 am

What OS are you using?


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests