Search found 38 matches

by fulvio.crivellaro
Thu Dec 10, 2015 3:40 am
Forum: Scala API
Topic: Bad Jar for Scala API v 1.6.4
Replies: 1
Views: 23570

Re: Bad Jar for Scala API v 1.6.4

Hello We have changed the file management, so that starting from Scala API 1.6.3, WURFL Java API has become a dependency (i.e. a separate JAR), instead of being packaged together with the Scala API binary. You can find the up-to-date documentation here, with all the requirements specified: https://d...
by fulvio.crivellaro
Tue May 05, 2015 5:59 am
Forum: Java API
Topic: ehcache vs default caching
Replies: 1
Views: 29811

Re: ehcache vs default caching

Hello Kevin Actually, there is no advantage switching to Ehcache. The reason there still exists a Ehcache option in WURFL is for backward compatibility, but since version 1.4 the WURFL API comes with a default cache which leverages a better knowledge of the API, and performs much better, optimizing ...
by fulvio.crivellaro
Mon May 04, 2015 10:12 am
Forum: ScientiaMobile WURFL Cloud Service
Topic: Integration with Wowza streaming server
Replies: 4
Views: 32738

Re: Integration with Wowza streaming server

Hi Victor. What I suggested was to implement a wrapper of HttpServletRequest around the IHTTPRequest coming from Wowza. I didn't understand from your response if you don't have a reference to an IHTTPRequest at all, or if you have completely discarded this solution for other reasons. This is a code ...
by fulvio.crivellaro
Tue Apr 28, 2015 11:01 am
Forum: ScientiaMobile WURFL Cloud Service
Topic: Integration with Wowza streaming server
Replies: 4
Views: 32738

Re: Integration with Wowza streaming server

Hi Victor, actually it is very important for WURFL Cloud to have access to the HTTP request, since the matching performance does not depend on the user agent string only, but also on several other HTTP headers. The HttpServletRequest instance, on the other hand, is used only to manage a Cookie based...
by fulvio.crivellaro
Tue Dec 16, 2014 10:39 am
Forum: Device Detection Issues
Topic: Device Detection of WURFL for Mobiles
Replies: 5
Views: 10017

Re: Device Detection of WURFL for Mobiles

Hello Sandeep. As I can see from your code, WURFL query happens only once. Are you able to verify if one HTTP request may lead to multiple WURFL queries? .NET documentation here http://msdn.microsoft.com/en-us/library/system.web.webpages.defaultdisplaymode%28v=vs.111%29.aspx states that Any public s...
by fulvio.crivellaro
Fri Sep 05, 2014 8:16 am
Forum: Varnish Cache, Apache, NGINX Modules and WURFL C++ API
Topic: Getting the best out of WURFL InFuze for Varnish-Cache
Replies: 7
Views: 43993

Re: Getting the best out of WURFL InFuze for Varnish-Cache

Hello Krinsten, sorry for the delay in our answer, our Varnish guru is currently on vacation. I will do my best to give you the solution for this (just feel free to correct possible syntax errors) If I understood correctly what you are doing, you simply have to restrict the possible IDs being passed...
by fulvio.crivellaro
Tue Dec 31, 2013 11:05 am
Forum: Java API
Topic: Java API performance issue in standalone configuration
Replies: 5
Views: 39907

Re: Java API performance issue in standalone configuration

Hi. We have run a test on the following machines (both virtual and real): - Real Ubuntu 13.04 32-bit - Virtual Debian 64-bit - Virtual Fedora 17 64-bit - Virtual CentOS 6.4 32-bit We run a performance test over tenths of thousands UAs, in a single-threaded environment, running with JDK-6u45 (the lat...
by fulvio.crivellaro
Mon Dec 30, 2013 10:15 am
Forum: Java API
Topic: Java API performance issue in standalone configuration
Replies: 5
Views: 39907

Re: Java API performance issue in standalone configuration

Hi. Actually, there should be no such a performance difference depending on the Java version. Same can be said about WURFL library version. Can I ask you some details about your hosts? As I understood, the well-performing Unix host is a real machine, and you are planning to move the WURFL installati...
by fulvio.crivellaro
Wed Oct 23, 2013 8:51 am
Forum: Java API
Topic: java api 1.5 exception
Replies: 6
Views: 42071

Re: java api 1.5 exception

I have just noticed that you wrote you are manually adding a user agent to the wurfl.xml. What do you mean adding more precisely? Are you using a patch, or are you editing the wurfl.xml file directly? Or again, are you doing it programmatically? Please, provide me more information, and the resources...
by fulvio.crivellaro
Mon Oct 21, 2013 2:39 am
Forum: Java API
Topic: java api 1.5 exception
Replies: 6
Views: 42071

Re: java api 1.5 exception

Hi. I still can't reproduce the issue. Which method(s) are you invoking upon WURFLUtils? And are you doing it before running any match? If so, please try to place: engine.getDeviceFromRequest(""); right after the new GeneralWURFLEngine(...) creation, before any other engine call, and let us know if ...
by fulvio.crivellaro
Thu Oct 17, 2013 8:15 am
Forum: Java API
Topic: java api 1.5 exception
Replies: 6
Views: 42071

Re: java api 1.5 exception

Hello. I analyzed the stack trace you posted, but I need some more information to try to reproduce the issue. Can you please tell us what kind of wurfl file are you using (.zip or pure .xml), and whether you are using any patch file? Moreover, when does the exception happen? Are you explicitly calli...
by fulvio.crivellaro
Tue Oct 15, 2013 11:05 am
Forum: Java API
Topic: java.lang.ArrayIndexOutOfBoundsException
Replies: 2
Views: 32559

Re: java.lang.ArrayIndexOutOfBoundsException

Greetings. Unfortunately, I am not able to reproduce the issue, since none of the UAs you posted caused any crash in my testing environment (Tomcat 7.0.26). May I ask you some more details about your configuration? First of all, if you are using any patch file, can you please send me the files? (see...
by fulvio.crivellaro
Fri Jul 26, 2013 8:59 am
Forum: Java API
Topic: WURFL Cloud HTTP that only contains the user-agent string
Replies: 5
Views: 39711

Re: WURFL Cloud HTTP that only contains the user-agent strin

Actually, there is no method for performing a match with the user agent String using the Java Cloud API. Nevertheless, there exists a workaround for this: notice that HttpServletRequest is an interface, hence you could just write a wrapper. WURFL cloud should only use HttpServletRequest.getHeader() ...
by fulvio.crivellaro
Fri Jul 26, 2013 6:26 am
Forum: Java API
Topic: Implementing WURFL Cloud API in java using playframework
Replies: 6
Views: 42441

Re: Implementing WURFL Cloud API in java using playframework

Taking a look at the github link you posted, the way it gets the request is different: request is actually a protected field in the Controller class you are already extending. First of all, I would try to use it instead of Request.current(), as it is suggested here: http://stackoverflow.com/a/170069...
by fulvio.crivellaro
Wed Jul 24, 2013 7:45 am
Forum: Java API
Topic: Implementing WURFL Cloud API in java using playframework
Replies: 6
Views: 42441

Re: Implementing WURFL Cloud API in java using playframework

The problem seems to be that the Play Framework is not wrapping the HTTP Request correctly, so it is not a problem of the Cloud API. I suggest that you look into the play framework and interact with the owner of that project to get the features fixed. Building a self-contained example with complete ...
by fulvio.crivellaro
Tue Jul 23, 2013 11:28 am
Forum: Java API
Topic: Implementing WURFL Cloud API in java using playframework
Replies: 6
Views: 42441

Re: Implementing WURFL Cloud API in java using playframework

Thanks for the code snippet.
I will investigate the problem and provide you an answer as soon as possible.

Fulvio
by fulvio.crivellaro
Tue Jul 23, 2013 6:34 am
Forum: Java API
Topic: Implementing WURFL Cloud API in java using playframework
Replies: 6
Views: 42441

Re: Implementing WURFL Cloud API in java using playframework

Hello.
Can you please send us the stack trace of the exception?
HttpServletRequest is actually an interface, hence we need to understand why Play framework implementation causes this NPE.

Fulvio
by fulvio.crivellaro
Thu Jul 11, 2013 3:16 am
Forum: WURFL XML Structure
Topic: Not able to get device information from WURFLManager
Replies: 10
Views: 149932

Re: Not able to get device information from WURFLManager

Problem fixed. It was actually a server configuration issue, causing JBoss not to recognize wurfl.zip path. As usual, as in any Java projects, make sure that you don't have JAR files of older versions of the libraries in forgotten places where the CLASSPATH can still see them. What we noticed is tha...
by fulvio.crivellaro
Thu Jul 04, 2013 6:28 am
Forum: WURFL XML Structure
Topic: Not able to get device information from WURFLManager
Replies: 10
Views: 149932

Re: Not able to get device information from WURFLManager

I guess I have the solution, then. Try to replicate the 1.4.4.3 helloworld configuration: place the wurfl.zip file in the WEB-INF folder, at the same level of the classes folder, instead of inside it Then copy this in the web.xml file: <context-param> <param-name>wurfl</param-name> <param-value>WEB-...
by fulvio.crivellaro
Wed Jul 03, 2013 8:03 am
Forum: WURFL XML Structure
Topic: Not able to get device information from WURFLManager
Replies: 10
Views: 149932

Re: Not able to get device information from WURFLManager

Can you tell us where exactly is the wurfl.zip file placed?
Moreover, could you try to upgrade to the latest Java API version (1.4.4.3)?
There should be no difference in terms of initialization, while on the other hand wurfl.zip file retrieval should be more consistent.
Fulvio