473,324 Members | 2,313 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Configure WURFL on Resin application server

Paks
13
Hi there,
I am using WURFL to avoid the trouble of choosing between WML/XHTML.
The problem is that the existing download only supports Apache Tomcat Server and I need it to work on Resin application server.

To do this just unzipped it in webapps and fool around with the configurations :P

Below is a sort of "installation guide" for WURFL on Resin Server.

Expand|Select|Wrap|Line Numbers
  1. WURFL installation on Resin Server 3.1.5
  2. ------------------------------------------
  3. 1. Unzip the wurfl-file in {resin.home}/webapps
  4. 2. Add the web-app in the {resin.home}/conf/resin.conf inside 
  5.    the tags <host><cluster> ... </host></cluster>
  6.  
  7.       <web-app id="/wurfl" root-directory="${resin.home}/webapps/wurfl">
  8.         <!--
  9.            - WURFL
  10.           -->
  11.         <prologue>
  12.         </prologue>
  13.       </web-app>
  14.  
  15. 3. Switch the order of <servlet-name> and the <description> tags 
  16.    in {resin.home}/webapps/wurfl/WEB-INF/web.xml in between the <servlet> tags.
  17.  
  18.    So the order becomes:
  19.     <servlet>
  20.         <description></description>
  21.         <servlet-name></servlet-name>
  22.             etc.
  23.     </servlet>
  24.  
  25. 4. If you want the bat-files wurfl/WEB-INF/classes 
  26.    (c.bat & d.bat - which sets the classpath to different jar-files) to work.
  27.    You'll have to change the directories and of course add the mentioned jar-files, 
  28.    if your wurfl/lib or {resin.home}/lib doesn't contain them already.
  29.  
Apr 3 '08 #1
1 2917
RedSon
5,000 Expert 4TB
Hi, I moved your post and added it to our articles section. Thanks for the good tutorial.

-Red
Apr 8 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: iamjhkang | last post by:
I have a jpg file. When I use that with English name I can see the image properly. when I rename it in Korean I 404 not found error. I use resin 2.0.4. Am I missing some additional...
0
by: Mike Ash | last post by:
I recently had a project dropped into my lap that is written in JSP running on Apache/Resin. A previous version of the application is already running and configured on the production server, but...
0
by: Mustafa Aydin | last post by:
Hy NG I have 3 questions I couldn't solve after long searches. 1. Who knows a good tutorial for XML/XSL/XSLT... I found some but they all are not downloadable; only online :-(( 2. How do I...
16
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my...
14
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to...
4
by: tommaso.gastaldi | last post by:
If one does not configure a virtual dir as an IIS application, he/she receives the common error: ---------------------------------------- Server Error in '/' Application. .... This error can be...
13
by: José Joye | last post by:
Hello, What is the best way to stop a remoting server (Singleton SAO) that has been started with RemotingConfiguration.Configure(). For sure, I want to do this without quitting the application...
0
by: kukukgl | last post by:
Hi..... We are using velocity1.4 to implement templating in our system. The system is running fine since deploy. Recently, there is a serious problem that causing the web panel down. We did setup...
1
by: kukukgl | last post by:
I using resin as a webserver to run my JSP code. I found that if we key in the URL as "www.domain.com/webapps" it will show the information like below: Forbidden You don't have permission to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.