Quercus is Caucho Technology's 100% Java implementation of PHP 5 released under the Open Source GPL license. Quercus comes with many PHP modules and extensions like PDF, PDO, MySQL, and JSON. Quercus allows for tight integration of Java services with PHP scripts, so using PHP with JMS or Grails is a quick and painless endeavor. (Excerpted from Quercus)
PHP scripts are compiled to Java code and run in Java Virtual Machine, it gives better performance to PHP in Apache/PHP event with APC (Alternative PHP Cache) enabled. See Resin backed PHP drives 4x performance improvements for Drupal.
I tried to install Jetty, Quercus, MySQL to run Drupal in Java Virtual Machine. Quercus still has errors with multi-bytes charset so please do not use it if you are running PHP/Drupal websites with unicode encoding.
Here is some notes when i get Drupal to run with Quercus on my VPS/CentOS.
Make sure you installed Java or Install it by following command
yum install java
Install Jetty
Jetty is a 100% pure Java-based HTTP server and servlet container. Jetty is a free and open source project under the Apache 2.0 License. Jetty is used by several other popular projects including the JBoss and Geronimo application servers. Jetty deployment focuses on creating a simple, efficient, embeddable and pluggable web server. Jetty's small size makes it suitable for providing web services in an embedded Java application.
You need get lastest version of Jetty from Codehaus then install it.
$ wget http://dist.codehaus.org/jetty/jetty-6.1.16/jetty-6.1.16.zip
$ unzip jetty-6.1.16.zip
$ cp -R jetty-6.1.16 /opt/
$ cd /opt
Running Jetty
Running jetty is as simple as going to your jetty installation directory and typing:
$ cd /opt/jetty-6.1.16
$ java -jar start.jar etc/jetty.xml
This will start jetty and deploy a demo application available at:
http://localhost:8080/test
That’s it. Now stop Jetty with cntrl-c in the same terminal window as you started it.
Installing Quercus
$ wget -P ~/quercus http://quercus.caucho.com/download/quercus-3.2.1.war
$ jar xf ~/quercus/quercus-3.2.1.war
Unpack the WAR file and copy all the jars to Jetty’s global library directory:
$ cp ~/quercus/WEB-INF/lib/* /opt/jetty-6.1.16/lib
Configuring Jetty
WEB-INF/web.xml
Add the following between the web-app tags:
<description>Caucho Technology's PHP Implementation, Running on GlassFish Java EE 5</description>
<servlet>
<servlet-name>Quercus Servlet</servlet-name>
<servlet-class>com.caucho.quercus.servlet.QuercusServlet</servlet-class>
<init-param>
<param-name>database</param-name>
<param-value>jdbc/drupal</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Quercus Servlet</servlet-name>
<url-pattern>*.php</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.php</welcome-file>
</welcome-file-list>
<resource-ref>
<description>MySQL JDBC DataSource </description>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
WEB-INF/jetty-web.xml
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<New id="drupal" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>jdbc/drupal</Arg>
<Arg>
<New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
<Set name="Url">jdbc:mysql://localhost:3306/drupal</Set>
<Set name="User">dbuser</Set>
<Set name="Password">dbpassword</Set>
</New>
</Arg>
</New>
</Configure>
Change in DATABASE.MYSQL.INC
function db_connect($url) {
$quercus_url = substr($url,strpos($url,"://")+3); // before parse_url() call
...
// $connection = @mysql_connect($url['host'], $url['user'], $url['pass'], TRUE, 2);
$connection = mysql_connect($quercus_url); // replaces call above
...
}
SETTINGS.PHP
$db_url = 'mysql://jdbc/drupal'; // The mysql:// prefix is needed otherwise Drupal reports a database initialization error
Start Jetty agai
$ java -jar start.jar etc/jetty.xml
Now, you can test your work at http://localhost:8080/
Comments
Re: Improving Drupal's Performance with Quercus and Jetty ...
Interesting way to run Drupal on JVM (php)
I would try to test it with Firebird database connection just to see how it works
Re: Improving Drupal's Performance with Quercus and Jetty ...
First Aid Kit Refils and First Aid Kits
I had received the first edition of “Make” magazine as a gift and it was really awesome…
Re: Improving Drupal's Performance with Quercus and Jetty ...
Here at Bad Credit Loans Directory our aim is simple – to match your bad credit borrowing requirements with the right lenders who can, and will, help you. Bad Credit Loans Doorstep Loans Bad Credit Unsecured Loans
Re: Improving Drupal's Performance with Quercus and Jetty ...
chanel handbags
gucci handbags
hermes handbags
louis vuitton handbags
designer handbags
designer handbags
vertu phones
designer handbags reviews
replica handbags
replica phones
vertu replica
tag heuer phone
mobiado
cartier-phones
goldvish
rolex mobile
porsche phone
replica blackberry
iphone replica
Re: Improving Drupal's Performance with Quercus and Jetty ...
I got her onto my bed, and she was soo wet already for free porn. her juices were flowing out of her pussy so i just dug in with my tongue. he pussy tasted so good, and she was having so much fun moaning as loud as she could. so i decided to kick it up a notch and stuck my fingures into her pussy, as far up as i could.
DFG827812233 порно
Re: Improving Drupal's Performance with Quercus and Jetty ...
Today, search engine drives most traffic to the websites. There are many people try to increase the traffic by optimize their sites. I am not an SEO (Search Engine Optimization) expert but be enough to get much traffic to my sites. Some of them are listed at top 10 at google with some common keywords. I just upgraded some websites of mine to drupal based websites. I have tried to research modules at drupal to find out the best modules to do SEO.
I will list and make a sort description about every modules that i am using at my sites.
_______________________________________________
Directory Submission | Social Bookmarking
MBT
When you began to fall in love with MBT shoes which are full of innovation and comfort.I love the new MBT sandals. Must be comfortable shoes. When I was walking in the Internet,MBT habari sandals attract me.mbt kisumu,mbt fora,I think they are essential to choose a pair of good shoes.Now,mbt shoes clearance on mbtstore.org. The most prominent place shoes are MBT.The Moncler and timberland come with hoods as well which reflect a casual wear line.Moncler jackets come in different designs and features. In addition, the simple line of the Moncler and timberland boots is also available for a casual day.NEW timberland boots uk and discount Mocncler 2010 changes every season but introducing something odd will be considered a fashion faux and nothing more.You can purchase a Moncler women jacket and timberalnad boots sale in different style.
Re: Improving Drupal's Performance with Quercus and Jetty ...
online faxing have been reducing the faxing costs for many businesses. Online fax is easier to use and it is safer as well. ringcentral, efax and myfax and metrofax are the top online fax services. You also spend less money with online fax since you dont have to have a dedicated phone line.
Re: Improving Drupal's Performance with Quercus and Jetty ...
Interesting, Quercus seems like a great program
Hugmeez
Re: Improving Drupal's Performance with Quercus and Jetty ...
this is useful tips, really improve my blog performance. thanks.
port numbers or hub vs switch and utp crossover cable
Re: Improving Drupal's Performance with Quercus and Jetty ...
Such a great sharing. its benefit to all us do you have more as same as this kind of
blog
vga to s video
wireless outdoor speakers
iphone review
concept 2 rowing machine
kids digital cameras
used solar panels
sennheiser rs 130 wireless surround sound headphones
Re: Improving Drupal's Performance with Quercus and Jetty ...
Community Hospice,Home Hospice,Home and Hospice,Hospice Care,Hospice House,Hospice Service,Los Angeles Hospice,Ventura County Hospice,Cancer Hospice,Hospice Association,Hospice care in Camarillo,Hospice care in Thousand Oaks,Hospice Center,Hospice Companies,Hospice Facilities,Hospice Facility,Hospice Information,Hospice Organization,Hospice program,medicare hospice,what is a hospice,what is hospice,Thousand Oaks Hospice,Simi Valley Hospice,Ventura Hospice,Camarillo Hospice,Thousand Oaks, Hospice care in Ventura,Hospice care in Ventura County,Conejo Valley Hospice,Hospice Granda Hills,Hospice Sherman Oaks,Hospice North Hollywood,Hospice Van-nuys,Hospice Northridge,Hospice West Hills,Hospice Woodland Hills,Hospice Reseda,
Re: Improving Drupal's Performance with Quercus and Jetty ...
Assisted Living Charlotte,Assisted Living Detroit,Assisted Living Houston,Assisted Living In Indianapolis,Assisted Living in New York,Assisted Living Indianapolis,Assisted Living Jacksonville,Assisted Living Los Angeles,Assisted Living Los Angeles,Assisted Living Philadelphia,Assisted Living San Francisco,Assisted Living Charlotte,Assisted Living Fort Worth,Assisted Living Houston,Assisted Living Chicago,Assisted Living Columbus,Assisted Living Austin,Assisted Living Dallas,Assisted Living Phoenix,Assisted Living Columbus,Assisted Living New York,Assisted Living San Antonio,Assisted Living Jacksonville,Assisted Living San Jose,Assisted Living Chicago,Assisted Living Tampa,Assisted Living Charlotte
Community Hospice,Home Hospice,Home and Hospice,Hospice Care,Hospice House,Hospice Service,Los Angeles Hospice,Ventura County Hospice,Cancer Hospice,Hospice Association,Hospice care in Camarillo,Hospice care in Thousand Oaks,Hospice Center,Hospice Companies,Hospice Facilities,Hospice Facility,Hospice Information,Hospice Organization,Hospice program,medicare hospice,what is a hospice,what is hospice,Thousand Oaks Hospice,Simi Valley Hospice,Ventura Hospice,Camarillo Hospice,Thousand Oaks, Hospice care in Ventura,Hospice care in Ventura County,Conejo Valley Hospice,Hospice Granda Hills,Hospice Sherman Oaks,Hospice North Hollywood,Hospice Van-nuys,Hospice Northridge,Hospice West Hills,Hospice Woodland Hills,Hospice Reseda,
Re: Improving Drupal's Performance with Quercus and Jetty ...
thaks sharing
see me
mesothelioma cancer treatment
mesothelioma cancer treatments
Re: Improving Drupal's Performance with Quercus and Jetty ...
the website that makes you pass your theory first time around! Practice Theory questions and lots of Hazard Perception clips makes it simply the best theory test website on the market!
Theory Test Theory Test Practice Hazard Perception
Re: Improving Drupal's Performance with Quercus and Jetty ...
Excellent information here, I'll be sure to check back in future.
Improve Search Engine Ranking Green Living Tips Domain names blog
Re: Improving Drupal's Performance with Quercus and Jetty ...
Planet X Nibiru 2012 Doomsday 2012 End of the World Predictions
Prophecy in the News Apocalypse 2012 End Times Tribulation Prophecy/ Prophecies
Catholic Saints, Patron Saints, St Saints
Imagenes de Santos Catolicos, Santos Catolicos, Santos Religiosos,
Immodest Dress, Vanity Clothing
Re: Improving Drupal's Performance with Quercus and Jetty ...
Does this code work actually well
i planned to use it for my website
but they aint loading anymore for this
best ptc sites Paying ptc sites PTC sites paid to click Meego development Meego application development Meego developer Meego application developer Meego development Meego application development Meego developer Meego application developer Meego developer meego application developer meego app developer Meego app developers
Re: Improving Drupal's Performance with Quercus and Jetty ...
Does this code work actually well
i planned to use it for my website
but they aint loading anymore for this
best ptc sites Paying ptc sites PTC sites paid to click Meego development Meego application development Meego developer Meego application developer Meego development Meego application development Meego developer Meego application developer Meego developer meego application developer meego app developer Meego app developers
Re: Improving Drupal's Performance with Quercus and Jetty ...
You have all inspired me to focus on providing more informative and resource type link building posts in the future, so stay tuned for more soon.Ooty
Re: Improving Drupal's Performance with Quercus and Jetty ...
Thanks for the wonderful post. I don’t always agree with what you have to say (and that’s a good thing) but this one I think hit the nail succinctly and elegantly on the head.
First Up Gazebo
Roxy Bedding
Re: Improving Drupal's Performance with Quercus and Jetty ...
I'm waiting for it.
pain pills
pain pills online
Re: Improving Drupal's Performance with Quercus and Jetty ...
It has lots of information, thank you for posting.
phentermine
phentermine 37.5
Re: Improving Drupal's Performance with Quercus and Jetty ...
It has lots of information, thank you for posting.
phentermine
phentermine 37.5
Re: Improving Drupal's Performance with Quercus and Jetty ...
It has lots of information, thank you for posting.
phentermine
phentermine 37.5
Re: Improving Drupal's Performance with Quercus and Jetty ...
It has lots of information, thank you for posting.
phentermine
phentermine 37.5
Re: Improving Drupal's Performance with Quercus and Jetty ...
It has lots of information, thank you for posting.
phentermine
phentermine 37.5
Re: Improving Drupal's Performance with Quercus and Jetty ...
PHP scripts are compiled to Java code and run in Java Virtual Machine, it gives better performance to PHP in Apache/PHP event with APC
Replica Watches
Re: Improving Drupal's Performance with Quercus and Jetty ...
It's nice to have this kind of site, very clear instruction on how to run Drupal on JVM.
buy cheap phentermine
cheap phentermine diet pills
Re: Improving Drupal's Performance with Quercus and Jetty ...
best article thanks
top acne treatment
acne treatment during pregnancy
adult cystic acn
Re: Improving Drupal's Performance with Quercus and Jetty ...
Believe it or ed hardy can pep up the sizzling summer too. Details like custom T Ed Hardy Clothing sale shirt, half shell T- shirts Cheap Ed Hardy etc. Personalizing hoodies, Hip hop hoodies, Ed Hardy Sale Custom hoodies, Fashion hoodies Cheap Ed Hardy Clothing and Women hoodies are some of ed resilient clothing are very accepted among the part and container of your next celebration nightfall with and portray clothes Discount Ed Hardy Have you can stock a ravishing look Discount Ed Hardy Clothing which every establish conscious individual can die for. Depending befo
Re: Improving Drupal's Performance with Quercus and Jetty ...
best penis enlargement best penis enlargement pills best penis pills penis enlargement pills penis enlargement penis pills improve sexual performance improve sexual stamina improve sexual endurance penis enlargement pills FDA approved penis enlargement pills clinically proven penis enlargement products How to enlarge penis Pills for enlarge penis make dick bigger make dick longer make penis bigger Top Rated Penis Enlargement Pills Top 3 Penis Enlargement Pills
http://www.orderpenisenlargement.com
vimax vimax pills vimax penis pills vimax pills online vimax pills discounts buy vimax buy vimax pills buy vimax penis pills buy vimax pills online buy vimax pills discounts buy vimax online buy vimax discounts Where to buy Vimax Pills in canada Where to buy Vimax Pills in german Where to buy Vimax Pills in portugues Where to buy Vimax Pills in Japan Where to buy Vimax Pills in Korean Where to buy Vimax Pills in China Where to buy Vimax Pills in French Where to buy Vimax Pills in Dansk Where to buy Vimax Pills in Italy Where to buy Vimax Pills in Romania Where to buy Vimax Pills in Spanish Where to buy Vimax Pills
Re: Improving Drupal's Performance with Quercus and Jetty ...
Generic Viagra
Cheap Generic Viagra
Generic Cialis
Propecia
generic cialis
Re: Improving Drupal's Performance with Quercus and Jetty ...
As you said,Quercus comes with many PHP modules and extensions like PDF, PDO, MySQL, and JSON which allows for tight integration of Java services with PHP script.
This is a great step into mastering Java & implementing it into complicated projects.
Locksmiths Houston TX
Re: Improving Drupal's Performance with Quercus and Jetty ...
Great share , iproving performce is best way to get better site and faster enough for search engines for now! Amanda at VoIP - voice over ip
Re: Improving Drupal's Performance with Quercus and Jetty ...
This means you can take a Java servlet/JSP container and run PHP on it. This also means you get connection pooling for your database connections, from Den, {ways to make money online, latest news, breaking news}
Re: Improving Drupal's Performance with Quercus and Jetty ...
Believe it or ed hardy can pep up the sizzling summer too. Details like custom T Ed Hardy Clothing sale shirt, ccnp dumps half shell T- shirts Cheap Ed Hardy etc. Personalizing hoodies, Hip hop hoodies, Ed Hardy Sale Custom hoodies, Fashion hoodies Cheap Ed Hardy Clothing and ccvp Women hoodies are some of ed resilient clothing are very accepted among the part and container of your cisa exam questions next celebration nightfall with and portray clothes Discount Ed Hardy Have you can stock a ravishing look Discount Ed Hardy Clothing which cisco certification every establish conscious individual can die for
Re: Improving Drupal's Performance with Quercus and Jetty ...
Jetty is used by several other popular projects including the JBoss and Geronimo application servers. Jetty deployment focuses on creating a simple, efficient, embeddable and pluggable web server.
Mens Silk Ties
Re: Improving Drupal's Performance with Quercus and Jetty ...
* Just support python programming language only. Maybe, We support others in this year (2009)
* No custom python modules in C/C++
* Web application oracle certification does not allow to write into filesystem (read only)
* Web applications run on a cloud platform.
* Web application only make request microsoft certification to external by url fetch
* No SQL, they use Bigtable and GQL
* They provide a simple Python Web application framework and Python modules as Mailing, Memcached, Google Account, mcse exam Imaging, Datasource accessing...
According to free account, user can create 10 applications with 500MB of persistent storage and enough CPU and bandwidth for about 5 million page views a mcts exams month.
Developing Web Applications with Google App Engine
You develop and upload applications for Google App Engine using the App Engine software development kit (SDK).
Re: Improving Drupal's Performance with Quercus and Jetty ...
Official balenciaga handbags Online Shop - offering you balenciaga inspired fashion and lifestyle for women
balenciaga handbags
balenciaga
balenciaga purse,balenciaga sale,Up to 70% off balenciaga handbags,latest balenciaga handbags clothes style,Free gift and Fast ship.
balenciaga purse
balenciaga sale
Buy cartier ring, cartier love on abcartier.com. We also provide cartier bracelet, cartier jewelry and so on. Now come on and get what you want.
Cartier Jewelry
Re: Improving Drupal's Performance with Quercus and Jetty ...
Official balenciaga handbags Online Shop - offering you balenciaga inspired fashion and lifestyle for women
balenciaga handbags
balenciaga
balenciaga purse,balenciaga sale,Up to 70% off balenciaga handbags,latest balenciaga handbags clothes style,Free gift and Fast ship.
balenciaga purse
balenciaga sale
Buy cartier ring, cartier love on abcartier.com. We also provide cartier bracelet, cartier jewelry and so on. Now come on and get what you want.
Cartier Jewelry
Re: Improving Drupal's Performance with Quercus and Jetty ...
This is really quite helpful for me, I have been looking for it since a long time. Thanks for sharing
Toronto Lofts
Re: Improving Drupal's Performance with Quercus and Jetty ...
Could you tell me in detail how to install Java?
loan interest formula
Re: Improving Drupal's Performance with Quercus and Jetty ...
Great job here as visitors can see and receive some useful info. You have been providing us with the news & reports on Drupal's Performance with Quercus and Jetty for a long time, with no delays & lag of accuracy.
construction games
Re: Improving Drupal's Performance with Quercus and Jetty ...
When I try to improve the quality these codes were useful. Now My drupal site works fast.
Micro Cap Stocks
uggs boots
I agree with you, your saying is so good and usful for me. Thanks. Are you also like Uggs Boots
It's meaningful and interesting topic. Thanks.
Want to know more about http://www.uggs-boots.org/
Five fingers shoes
Your sharing information is very useful for me,thank you!Now I share you with my favorite shoes
welcome to http://www.five-fingers-vibram.org/ choose your favorite Five fingers shoesthis store offered large of vibram fivefingers,like vibram shoes ,vibram footwear ,five fingers kso,vibram fivefingers kso
bailey button ugg boots
Thank you again for all the knowledge you distribute,Nowadays,people pay more attention to high quality life style. High quality means ,comfortable and healthy, very useful womens ugg boots is very popular now.Made from sheepskin, bailey button uggs is very comfortable and warm.It is fit for indoor and outdoor wear.bailey button ugg boots is hot on sale,It is time for you to buy uggs boots for collection.Ugg Boots Cheap is worth for collection
Re: bailey button ugg boots
Well i just want to say that this post is awesome. It’s very great that you tell us about bailey button ugg boots released. This article is very informative just want to say that if I will give rating to this article then this article is best article .Well you done great job. Thanks for sharing this beautiful and informative article with us.
AffiloJetpack Review
Ugg Boots Online
Wow - really powerful post. Thanks for taking time to share this personal perspective that not only we as individuals should heed, but organizations as well. Ugg Boots UK becoming more and more popular,new style Ugg Boots will be the best seller for this Christmas,in Ugg Boots Online shopping Uggs on Sale is hot for these years,you can
Buy Ugg Boots in here,there are all shopping cheap