Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:

Go Back   Caucho Forums > Quercus

Thread Tools Display Modes
Old 10-27-2010, 09:35 AM
sjim66 sjim66 is offline
Junior Member
Join Date: Oct 2010
Location: Paris, France
Posts: 4
Default Magento + Quercus + Tomcat problem


I'm trying to integrate Magento in a Grails web app, running for development purposes in Tomcat. Simple PHP scripts are working fine, but things get more complicated when trying to integrate Magento. I inserted the whole Magento directory structure at the toplevel of my web app. When trying to open
), I get the following error messages:

<my_webapp_path>/magento/app/code/core/Mage/Core/Model/App.php:818: Fatal Error: 'setId' is an unknown method of false.

<my_webapp_path>/magento/app/code/core/Mage/Core/Model/App.php:818: Fatal Error: 'setId' is an unknown method of false.

<my_webapp_path>/magento/app/code/core/Mage/Core/Model/App.php:818: Warning: 'Class/Com.caucho.quercus.lib.simplexml.SelectedXMLElement/Store.php' is not a valid include path

... Repeated many times...
My web.xml correctly defines the path to php.ini which is inside my magento subdirectory. This PHP.ini is currently exactly the one which comes with the Magento distribution.

The php_info() function displays the following:

PHP Version => 5.3.2
System => Mac OS X 10.5.8 x86_64
Build Date => 20100511
Configure Command => n/a
Server API => CGI
Virtual Directory Support => disabled
Configuration File (php.ini) Path => <path_to_my_web-app>/WEB-INF/php.ini
PHP API => 20031224
PHP Extension => 20041030
Debug Build => no
Thread Safety => enabled
Registered PHP Streams => php, file, http, https
My php.ini file is correctly read. I tried to specify an include_path inside this php.ini file, so that the misc PHP includes can be found, without any success.

Any help on this subject would be highly appreciated !
Thank you very much in advance,
Reply With Quote

magento, quercus, tomcat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:35 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.