From: Lofi D. <de...@gm...> - 2005-11-25 19:49:01
|
> OK. I'll try it out. One more thing, how do I configure to use mysql or firebird instead of hsql? 1. You need to edit the configuration file of jonas: C:\enhydra-enterprise-6.3\multiserver\conf\jonas.properties to use correct data sources jonas.service.dbm.datasources dsOpenUSSFirebirdSQL,dsOpenFormulaFirebirdSQL,dSVoofiCoreFirebirdSQL 2. and edit your own data source in these data source files: C:\enhydra-enterprise-6.3\multiserver\conf\dSOpenFormulaFirebirdSQL.properties C:\enhydra-enterprise-6.3\multiserver\conf\dSOpenUSSFirebirdSQL.properties C:\enhydra-enterprise-6.3\multiserver\conf\dSVoofiCoreFirebirdSQL.properties 3. If you are installing EE as a service/daemon you need to put the jdbc jar file in the classpath before EE (JOnAS) is loaded. Edit C:\enhydra-enterprise-6.3\multiserver\conf\wrapper.conf and add the jar files here: wrapper.java.classpath.4=C:/jdk1.5/lib/*.jar That's it! -- --------------------------------------------------- Blasius Lofi Dewanto --------------------------------------------------- OpenUSS - Open University Support System http://openuss.sourceforge.net --------------------------------------------------- E-Mail : de...@un... --------------------------------------------------- > > ----- Original Message ----- > From: Lofi Dewanto <de...@gm...> > To: jam...@cw..., OpenUSS - Developer List <ope...@li...> > Sent: Fri, 25 Nov 2005 13:20:42 +0100 > Subject: Re: Production Setup For OpenUSS > > > >>Hi James, >> >> >>>Where can I get instructions on hw to setup openuss on a production server? >>>My planned configuration is to put openuss on a system with apache >> >>running >> >>>several virtual hosts. >>> >>>I will like to configure one of the virtual hosts to run openuss so >> >>that I >> >>>can go to www.iserveschool.org and it brings up our customized openuss. I >>>cannot use port 9000 directly. And using the :9000/openuss-web is a bit >>>cumbersome. >>> >>>Rgds >>>James Agada >> >>we still don't have any instructions but I'll help you personally, no >>problem ;-) >> >>VERY important: please use the version in CVS rep. You need to compile >>the latest version by yourself from the CVS rep. >> >>1. Update your local CVS. >>2. Run openuss/dev-all/build/apply-all-build. You should not use >> dev-all for your production env. since this is only for developers >> integration test. >>3. Edit openuss/usr-all/build/build.properties. Change the output >> directory of openuss user application as needed. Let's say you >> use this option: >> >># Change this property to reflect your target distribution directory >>dist.dir=C:/openuss >> >>4. Run openuss/usr-all/build/build-deploy >>5. You will get a ready to use openuss2.0 (only the application) >> in the directory you setup in step 3 (C:\openuss). >> >>6. Install EE (only 6.3.x) and configure it. Please also install Enhydra >> Director if you have Apache web server 1.3.x or Enhydra Conductor >> if you use Apache 2.x. Here you can configure Enhydra >> Director/Conductor to serve all the web application at port 80. >> For this purpose you need to turn on Director/Conductor (modjk) >> Connector. This is just the same style as HTTP Connector for >> Tomcat... You need to edit this file: >> >> C:\enhydra-enterprise-6.3\multiserver\conf\server.xml >> >> Please follow the instruction from Enhydra document carefully. >> >>7. Now you need to setup openuss. It's now quite easy. You need to edit >> the following file: >> >> C:\openuss\build\build.properties. >> >> In this file you will find *every* options in OpenUSS you can >> configure for openuss (see the attachment below). Yes now we can >> configure openuss just in one file! >> >> Run C:\openuss\build\apply-all-build after every changes... >> >>8. That's it! Now you can start openuss at http://localhost/openuss-web >> >>For using openuss in port 80, it's important you use Director/Conductor. >>If you don't want to use them you can also change the HTTP connector >>of Tomcat directly to serve port 80. Take a look at this file: >> >>C:\enhydra-enterprise-6.3\multiserver\conf\server.xml >> >>www.openuss.org now serves a lot more users and we can easily add >>a new cluster for this purpose thanks to Enhydra director. >> >>Hope this helps! >>-- >>--------------------------------------------------- >>Blasius Lofi Dewanto >>--------------------------------------------------- >>OpenUSS - Open University Support System >>http://openuss.sourceforge.net >>--------------------------------------------------- >>E-Mail : de...@un... >>--------------------------------------------------- >> >># Change this property to reflect your target distribution directory >>dist.dir=C:/openuss >> >># Change this property to point to your Enhydra Enterprise installation >># directory >>ee.install.dir=C:/enhydra-enterprise-6.3 >> >># Change the OpenUSS application context >># Use empty string for root application! >>openuss-web.context=/openuss-web >>openuss-wap.context=/openuss-wap >> >># The server name >>server.name=localhost >> >># The address of the server >>server.protocol=http://localhost:9000 >> >># The address of the web server >>webserver.protocol.context=http://localhost:9000/root >> >># E-Mail addresses and options >>email.sender.address=no-...@op... >>email.support.address=op...@e-... >>email.support.address.title=Servicecenter E-Learning: >>email.confirmation=false >> >># Mail Server >>send.mail.server.name=smtp.mail.yahoo.com >>receive.mail.server.name=pop.mail.yahoo.com >>mail.server.username=test >>mail.server.password=test >> >># Timer options general >>timer.interval.duration=50000 >>timer.initial.duration=0 >> >># OpenVC - Video Conference Server options >>openvc.server.name=localhost >>openvc.webserver.name=http://localhost:9000/root >>openvc.server.port=12001 >>openvc.router.port=12002 >> >># Babylon - Chat Server options >>babylon.server.name=localhost >>babylon.server.port=10000 >>babylon.webserver.name=http://localhost:9000/root >> >># OpenUSS options >>openuss.usercommunityaddress.student=http://openuss01.uni-muenster.de/foundation/semester/MainPageOfSemesterForStudent.po?FacultyId=985006680849 >>openuss.usercommunityaddress.assistant=http://openuss01.uni-muenster.de/foundation/semester/MainPageOfSemesterForAssistant.po?FacultyId=985006680849 >>openuss.provider.address=http://www.wi.uni-muenster.de/aw >>openuss.provider.text=Sponsored by Wirtschaftsinformatik und Controlling >>openuss.doc.english=http://www.openuss.org >>openuss.doc.german=http://www.wi.uni-muenster.de/aw/download/div/OpenUSS-Kurzanleitung.pdf >>openuss.doc.spanish=http://www.openuss.org >>openuss.doc.french=http://www.openuss.org >>openuss.portal.designer=classic.css >>openuss.advertisement.enable=true >> >># OpenUSS - FSL connection >>openuss.fsl.code.name=FSL-OpenUSS >> >># WhoIsOnline - user inside within option >>whoisonline.amount.hours.inside=4 >> >># WebAccess - Web Component Access options >>webaccess.directory=C:/openuss/webserver/root/openuss/extension/webaccess >>webaccess.http=http://localhost:9000/root >> >> >> >> >> >> > > > |