cancel
Showing results for 
Search instead for 
Did you mean: 

no mobile.war in 3.3g?

gnyce
Champ in-the-making
Champ in-the-making
I have noticed that the mobile.war (e.g. mobile client for iphones in 3.2) is not included in 3.3g?  Was that dropped, or not available in CE edition?  Or integrated into share/alfresco.war?

http://wiki.alfresco.com/wiki/Alfresco_Community_Edition_3.2#Mobile_client_for_iPhones

thanks,
gnyce
9 REPLIES 9

mikeh
Star Contributor
Star Contributor
It's not been worked on or tested for 3.3g, so stick with the 3.2 mobile.war for now.

There are plans for the mobile client, but as they're not finalised, I'm not at liberty to say what they are yet.

Thanks,
Mike

gnyce
Champ in-the-making
Champ in-the-making
Yeah… the mobile.war (from 3.3) does not work at all on 3.3g.  You get the login screen, but upon attempting to login, blows up immediately.  Probably some internal methods changed or something.  Not sure if it is worth troubleshooting - likely way above my head.  Posting the first part of the error msg. in case there is a "oh, you just have to tweak this" moment.  Strangely, there isn't anything in alfresco.log…
________
avax.servlet.ServletException: org.alfresco.web.site.exception.RequestContextException: Exception running UserFactory in HttpRequestContextFactory
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:146)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause

org.alfresco.web.site.exception.RequestContextException: Exception running UserFactory in HttpRequestContextFactory
   org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:117)
   org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause

org.alfresco.web.site.exception.UserFactoryException: Unable to retrieve user from repository
   org.alfresco.web.site.AlfrescoUserFactory.loadUser(AlfrescoUserFactory.java:252)
   org.alfresco.web.site.UserFactory.faultUser(UserFactory.java:176)
   org.alfresco.web.site.UserFactory.faultUser(UserFactory.java:110)
   org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:93)
   org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause

org.json.JSONException: JSONObject["properties"] not found.
   org.json.JSONObject.get(Unknown Source)
   org.json.JSONObject.getJSONObject(Unknown Source)
   org.alfresco.web.site.AlfrescoUserFactory.loadUser(AlfrescoUserFactory.java:166)
   org.alfresco.web.site.UserFactory.faultUser(UserFactory.java:176)
   org.alfresco.web.site.UserFactory.faultUser(UserFactory.java:110)
   org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:93)
   org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

clive
Champ in-the-making
Champ in-the-making
Anyone manged to fix this?

Thanks

clive
Champ in-the-making
Champ in-the-making
I resolved the issue by downloading 3.3g source, recompiling and then moving the mobile.war file into the ../webapps directory

gnyce
Champ in-the-making
Champ in-the-making
Feel like sharing your recompiled mobile.war?

clive
Champ in-the-making
Champ in-the-making
Yes sure. Is there a community file server I can post it to?

gnyce
Champ in-the-making
Champ in-the-making
Not that I am aware of/have used, no….

qwerty20
Champ in-the-making
Champ in-the-making
Hi clive, do you have a step by step procedure to make the mobile work on alfresco 3.3g?
Tnx

clive
Champ in-the-making
Champ in-the-making
Drop the recompile mobile.war into the …./webapps directory

Here is the recompiled (3.3g) mobile.war file
http://home.exetel.com.au/base/upload/mobile.war
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.