[Opensource] Steps to install Expresso5-0-2.war on JBOSS.3.0.4_tomcat.4.1.12

Ravishankar Bhat ravishankar.bhat at mphasis.com
Thu Jan 16 20:27:27 PST 2003


Hi All,
The steps described in the last mail will help anyone to get the expresso working on JBOSS.
But there are some problems logged in JBOSS's server.log file.
They are,
 
*******************************************************************************
2003-01-16 18:59:48,919 INFO  [org.jboss.web.localhost.Engine] StandardManager[/expresso-bin]: Seeding of random number generator has been completed
2003-01-16 18:59:48,959 INFO  [STDOUT] DefaultInit: init
2003-01-16 18:59:49,099 ERROR [STDERR] Expresso Configuration initializing...
2003-01-16 18:59:49,139 ERROR [STDERR] ConfigManager: System running servlet API 2_3
2003-01-16 18:59:49,159 ERROR [STDERR] ConfigManager: Context root (webAppDir) is 'D:\jboss-3.0.5_tomcat-4.1.18\server\default\deploy\expresso-bin.war\'
2003-01-16 18:59:49,179 ERROR [STDERR] ConfigManager: Config dir is now '/D:/jboss-3.0.5_tomcat-4.1.18/server/default/deploy/expresso-bin.war/WEB-INF/config'
2003-01-16 18:59:49,189 ERROR [STDERR] ConfigManager: Reading XML config
2003-01-16 18:59:49,209 INFO  [STDOUT] Setting default XML parser factory to Apache Crimson
2003-01-16 18:59:50,501 ERROR [STDERR] ConfigManager: Done reading XML config - no errors or warnings
2003-01-16 18:59:50,531 ERROR [STDERR] ConfigManager: Log directory: 'D:/jboss-3.0.5_tomcat-4.1.18/server/default/deploy/expresso-bin.war/WEB-INF/log'
*******************************************************************************
 
When do we get these log messages? 
--------------------------------------------
1. JBOSS tries to start StdServlet servlet by invoking servlet.init() method
2. Inside init() method of StdServlet checks for ConfigManager for initialization. [if (!ConfigManager.isInitialized())]
3. Since this is the first time any of the Expresso component is invoked, obviously ConfigManager is not initialized.
4. init() method initializes the ConfigManager by calling ConfigManager.config() method
5. Inside ConfigManager.config() method there are many System.err.println("") statements. These statements are responsible for the ERROR log
 
The above steps seems normal & routine. But I can't understand why they log messages as ERROR.

Are these messages are ERRORs ? OR Is this a mistake ?
Can we ingnore these ERROR messages ?
 
Looking for a help,
 
Thanks
Ravi

-----Original Message-----
From: Ravishankar Bhat 
Sent: Thursday, January 16, 2003 7:13 PM
To: Stephen Davenport (E-mail); opensource at jcorporate.com
Cc: Prashant Vishnu; Rajul Rana; Atul Khadilkar; Catalina Escobar (E-mail); Monika Quigley (E-mail); Nader Aghili (E-mail); Ashutosh Mishra; Parul Goel; Shamanth Murthy; Shamir Karkal
Subject: [Opensource] Steps to install Expresso5-0-2.war on JBOSS.3.0.4_tomcat.4.1.12


All,
 
After struggling for almost a week, we could install the basic expresso on JBOSS. We have attached the files required for the deployment and the steps to follow.
We have checked the basic functionalities, found it working.

[Shamanth and Shamir have hacked almost every expresso classes !]
 
Please note that, today we could only install the expresso with hypersonic database. We have not yet validated the implementation with Oracle and AiDA Search POC.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

Please follow these steps,
 
1) Unzip the expresso5-0-2-bin.war file received into a folder with the same name
2) Overwrite the ..\expresso5-0-2-bin.war\WEB-INF\classes\com\jcorporate\expresso\core\logging\LoggingRoot.properties file with the file attached
3) Overwrite the ..\expresso5-0-2-bin.war\WEB-INF\classes\com\jcorporate\expresso\core\misc\ConfigManager.class file with the file attached

4) Overwrite the ..\expresso5-0-2-bin.war\WEB-INF\classes\com\jcorporate\expresso\core\misc\ConfigManager$MySAXParser.class file with the file attached
5) Create a ExpressoClasses.jar file by zipping ..\expresso5-0-2-bin.war\WEB-INF\classes folder [After creating, open the jar file and make sure that files are zipped starting  com folder as root]. Keep this file in a temp folder
6) Copy the expresso5-0-2-bin.war folder to ..\jboss-3.0.4_tomcat-4.1.12\server\default\deploy folder
7) Copy  the following files from ..\jboss-3.0.4_tomcat-4.1.12\server\default\deploy\expresso5-0-2-bin.war\WEB-INF\lib to ..\jboss-3.0.4_tomcat-4.1.12\server\default\deploy folder
    a) tilesForStruts1-0.jar
    b) commons-pool.jar
    c) jakarta-oro-2.0.5.jar
    d) struts.jar
    e) junit.jar 
 8) Move the ExpressoClasses.jar file from temp folder to ..\jboss-3.0.4_tomcat-4.1.12\server\default\deploy folder
 
Start the JBOSS,
 
Hopefully this works ,
 
NOTE: 
A) Changes to LoggingRoot.properties: All the lines in this class are commented
B) Changes to ConfigManager.java: Only one line change !
    URL url = digester.getClass().getResource("/com/jcorporate/expresso/core/expresso-config_4_0.dtd");
    Changed to 
    URL url = digester.getClass().getResource("/WEB-INF/classes/com/jcorporate/expresso/core/expresso-config_4_0.dtd");
 

Best regards 

Ravishankar Bhat

 

M P H A S I S

MphasiS India 
139 / 1, "Aditya Complex",

Hosur Road, Koramangala,

Bangalore - 560 095, India.

Phone    : 80-552 2713/14 Extn. 2201

Fax       : 80-552 2719



Architecting Value 
SEI Level 5 ISO 9001 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030117/82629916/attachment-0002.htm


More information about the Opensource mailing list