Sanjiva Weerawarana wrote: > I'm -1 on this way of naming system properties. These are basically > global names and hence should be intrinsically qualified. > > Also, I suggest that any such global changes be discussed on > carbon-dev before being done! +1
Ruwan > > Sanjiva. > > 2010/2/14 Lahiru Gunathilake <lah...@wso2.com <mailto:lah...@wso2.com>> > > Hi Ruwan, > > On Sun, Feb 14, 2010 at 7:41 AM, Ruwan Linton <ru...@wso2.com > <mailto:ru...@wso2.com>> wrote: > > Lahiru Gunathilake wrote: > > Hi Ruwan, > > > > On Sun, Feb 14, 2010 at 7:06 AM, Ruwan Linton > <ru...@wso2.com <mailto:ru...@wso2.com> > > <mailto:ru...@wso2.com <mailto:ru...@wso2.com>>> wrote: > > > > Charitha Kankanamge wrote: > > > No Lahiru. Was not aware of the requirement of setting > system > > > properties when deploying on app servers. > > It is wrong to use systems properties when deploying on > appservers, in > > general we need to get rid of system properties. What > sort of system > > properties that we use now?? I remember Azeez listing > all the system > > properties that are being used with the 2.x version and > minimized the > > number of system properties used. > > > > In normal scenarios we don't need any system properties to > be set. > > Mentioned error was due to some other issue and it's fixed > in the > > trunk. BTW I have added some of system properties to our server > > scripts when we really need to use it with Multiple > instances support, > > because there no other way of changing the default behavior > of the > > current implementation when we start the Master node and > child nodes. > > But most of those system properties are programmatically > setting when > > starting instances by master node and users doesn't have to > care about > > it, but the master node needs one system property to do Multiple > > instance specif tasks like starting H2 database, changing > the ports in > > axisConfiguration etc. > Lahiru, as far as these system properties only affect the > standalone > server, it should be fine. On a webapp deployment you > shouldn't be using > the system properties because it is global to all the webapps > and the > other webapps might get affected with the properties that you > set and > they can extract information out of those system properties. > > BTW: What are the system properties that you have added into > the server > script?? > > Here are the system properties added which are not mandatory and > if we set them it will be picked. > carbon.config.dir.path > axis2.repo > components.repo > > But I'm using few few system properties for Multiple Instance > work, example when I do a runtime.exec I need to create the > command to parse and I need to get the CLASSPATH and other options > we are giving when we start the Carbon server, unless taking them > using system properties there's no other to take them in to a > different module like autoscale. > > Lahiru > > > Thanks, > Ruwan > > > > Lahiru > > > > > > Thanks, > > Ruwan > > > > > > Regards > > > Charitha > > > > > > Charitha Kankanamge > > > WSO2 Inc. > > > http://wso2.org > > > email: chari...@wso2.com <mailto:chari...@wso2.com> > <mailto:chari...@wso2.com <mailto:chari...@wso2.com>> > > <mailto:chari...@wso2.com <mailto:chari...@wso2.com> > <mailto:chari...@wso2.com <mailto:chari...@wso2.com>>> > > > cell: +94 718 359 265 > > > blog: http://charithaka.blogspot.com > > > > > > > > > On Sat, Feb 13, 2010 at 10:36 PM, Lahiru Gunathilake > > <lah...@wso2.com <mailto:lah...@wso2.com> > <mailto:lah...@wso2.com <mailto:lah...@wso2.com>> > > > <mailto:lah...@wso2.com <mailto:lah...@wso2.com> > <mailto:lah...@wso2.com <mailto:lah...@wso2.com>>>> wrote: > > > > > > Hi Charitha, > > > > > > Did you set the required system properties ? > > > > > > Lahiru > > > > > > On Sat, Feb 13, 2010 at 10:13 PM, Charitha Kankanamge > > > <chari...@wso2.com <mailto:chari...@wso2.com> > <mailto:chari...@wso2.com <mailto:chari...@wso2.com>> > > <mailto:chari...@wso2.com <mailto:chari...@wso2.com> > <mailto:chari...@wso2.com <mailto:chari...@wso2.com>>>> wrote: > > > > > > Folks, > > > When I tried to install carbon-3.0.0 M1 on > Tomcat 6.*, the > > > server startup failed since it could not find > carbon.xml. I > > > followed the exact same steps which we used to > deploy > > previous > > > versions of carbon on application servers. Are we > > supposed to > > > do any additional configurations? Has anyone > tried to > > install > > > carbon 3.0.0 on app servers? > > > > > > [2010-02-13 22:10:31,730] INFO - Starting > WSO2 Carbon... > > > [2010-02-13 22:10:31,732] INFO - Operating > System : Linux > > > 2.6.28-18-generic, amd64 > > > [2010-02-13 22:10:31,732] INFO - Java Home > : > > > /home/charitha/software/jdk1.6.0_13/jre > > > [2010-02-13 22:10:31,732] INFO - Java > Version : > > 1.6.0_13 > > > [2010-02-13 22:10:31,732] INFO - Java VM > : Java > > > HotSpot(TM) 64-Bit Server VM 11.3-b02,Sun > Microsystems Inc. > > > [2010-02-13 22:10:31,732] INFO - Carbon Home > : > > > /home/charitha/products/wsas/wsas-repo > > > [2010-02-13 22:10:31,732] INFO - Java Temp > Dir : > > > /home/charitha/software/apache-tomcat-6.0.14/temp > > > [2010-02-13 22:10:31,733] INFO - User > : > > > charitha, en-US, Asia/Colombo > > > [2010-02-13 21:57:51,726] FATAL - > Configuration File cannot > > > be loaded from null/carbon.xml > > > java.io.FileNotFoundException: null/carbon.xml > (No such file > > > or directory) > > > at java.io.FileInputStream.open(Native Method) > > > at > > java.io.FileInputStream.<init>(FileInputStream.java:106) > > > at > > > > > > > org.wso2.carbon.utils.ServerConfiguration.init(ServerConfiguration.java:106) > > > at > > > > > > > org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:37) > > > at > > > > > > > org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:50) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) > > > at > > java.security.AccessController.doPrivileged(Native Method) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248) > > > at > > > > > > > org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445) > > > at > > > > > > > org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) > > > at > > > > > > > org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) > > > > > > [1]https://wso2.org/jira/browse/CARBON-6069 > > > > > > Regards > > > Charitha > > > > > > > > > Charitha Kankanamge > > > WSO2 Inc. > > > http://wso2.org > > > email: chari...@wso2.com > <mailto:chari...@wso2.com> <mailto:chari...@wso2.com > <mailto:chari...@wso2.com>> > > <mailto:chari...@wso2.com <mailto:chari...@wso2.com> > <mailto:chari...@wso2.com <mailto:chari...@wso2.com>>> > > > cell: +94 718 359 265 > > > blog: http://charithaka.blogspot.com > > > > > > _______________________________________________ > > > Carbon-dev mailing list > > > Carbon-dev@wso2.org > <mailto:Carbon-dev@wso2.org> <mailto:Carbon-dev@wso2.org > <mailto:Carbon-dev@wso2.org>> > > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>>> > > > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > > > > > > > > -- > > > Lahiru Gunathilake > > > Software Engineer - WSO2 Inc. > > > > > > _______________________________________________ > > > Carbon-dev mailing list > > > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>> > > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>>> > > > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Carbon-dev mailing list > > > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>> > > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > > -- > > Ruwan Linton > > Technical Lead & Product Manager; WSO2 ESB; > http://wso2.org/esb > > WSO2 Inc.; http://wso2.org > > email: ru...@wso2.com <mailto:ru...@wso2.com> > <mailto:ru...@wso2.com <mailto:ru...@wso2.com>>; cell: +94 77 > 341 3097 > > blog: http://blog.ruwan.org > > > > Lean . Enterprise . Middleware > > > > > > _______________________________________________ > > Carbon-dev mailing list > > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > <mailto:Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>> > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > > > -- > > Lahiru Gunathilake > > Software Engineer - WSO2 Inc. > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Carbon-dev mailing list > > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > -- > Ruwan Linton > Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb > WSO2 <http://wso2.org/esbWSO2> Inc.; http://wso2.org > email: ru...@wso2.com <mailto:ru...@wso2.com>; cell: +94 77 > 341 3097 > blog: http://blog.ruwan.org > > Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > -- > Lahiru Gunathilake > Software Engineer - WSO2 Inc. > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > -- > Sanjiva Weerawarana, Ph.D. > Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ > email: sanj...@wso2.com <mailto:sanj...@wso2.com>; phone: +1 408 754 > 7388 x51726; cell: +94 77 787 6880 > blog: http://sanjiva.weerawarana.org/ > > Lean . Enterprise . Middleware > ------------------------------------------------------------------------ > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- Ruwan Linton Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org email: ru...@wso2.com; cell: +94 77 341 3097 blog: http://blog.ruwan.org Lean . Enterprise . Middleware _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev