Dev - Ofbiz config

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Dev - Ofbiz config

Oleg Kozyrev Jr.
Hello all,

There is a problem while configurating Ofbiz. I need to replace start.properties with my own properties file. I have created file.jar, which contains only oleg.properties in org/ofbiz/base/start directory and placed it in {ofbiz.home}.
I use
java -jar ofbiz.jar oleg
to start Ofbiz

The error occured:
Exception in thread "main" java.io.IOException: Cannot load configuration properties : org/ofbiz/base/start/oleg.properties
        at org.ofbiz.base.start.Start$Config.getPropertiesFile(Start.java:500)
        at org.ofbiz.base.start.Start$Config.readConfig(Start.java:518)
        at org.ofbiz.base.start.Start.init(Start.java:75)
        at org.ofbiz.base.start.Start.main(Start.java:412)

file.jar is in classpath, so I dont't understand what is the problem.

Any help is highly appreciated.

Oleg.
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Andrew Zeneski
The properties file MUST be inside ofbiz.jar. Move your properties  
file to base/src/start/org/ofbiz/start and re-compile.

Andy

On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:

> Hello all,
>
> There is a problem while configurating Ofbiz. I need to replace  
> start.properties with my own properties file. I have created  
> file.jar, which contains only oleg.properties in org/ofbiz/base/
> start directory and placed it in {ofbiz.home}.
> I use
> java -jar ofbiz.jar oleg
> to start Ofbiz
>
> The error occured:
> Exception in thread "main" java.io.IOException: Cannot load  
> configuration properties : org/ofbiz/base/start/oleg.properties
>         at org.ofbiz.base.start.Start$Config.getPropertiesFile
> (Start.java:500)
>         at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> 518)
>         at org.ofbiz.base.start.Start.init(Start.java:75)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
>
> file.jar is in classpath, so I dont't understand what is the problem.
>
> Any help is highly appreciated.
>
> Oleg.
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Oleg Kozyrev Jr.
Andy,

Thanks for your help.

But the problem is that we are trying to run multiple instances of Ofbiz
from one build with different configurations on different servers.

For example, user A starts one instance of Ofbiz with mounted hot-deploy and
user B starts another instance without it.

I thought that it would be possible for them to have their own configs and
use one build.

Is it so?

Oleg.


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of A. Zeneski
Sent: Thursday, February 09, 2006 4:32 PM
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - Ofbiz config

The properties file MUST be inside ofbiz.jar. Move your properties  
file to base/src/start/org/ofbiz/start and re-compile.

Andy

On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:

> Hello all,
>
> There is a problem while configurating Ofbiz. I need to replace  
> start.properties with my own properties file. I have created  
> file.jar, which contains only oleg.properties in org/ofbiz/base/
> start directory and placed it in {ofbiz.home}.
> I use
> java -jar ofbiz.jar oleg
> to start Ofbiz
>
> The error occured:
> Exception in thread "main" java.io.IOException: Cannot load  
> configuration properties : org/ofbiz/base/start/oleg.properties
>         at org.ofbiz.base.start.Start$Config.getPropertiesFile
> (Start.java:500)
>         at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> 518)
>         at org.ofbiz.base.start.Start.init(Start.java:75)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
>
> file.jar is in classpath, so I dont't understand what is the problem.
>
> Any help is highly appreciated.
>
> Oleg.
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Oleg Kozyrev Jr.
Certainly in this case they can't recompile Ofbiz.

Oleg.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Oleg Kozyrev jr.
Sent: Thursday, February 09, 2006 4:44 PM
To: 'OFBiz Project Development Discussion'
Subject: Re: [OFBiz] Dev - Ofbiz config

Andy,

Thanks for your help.

But the problem is that we are trying to run multiple instances of Ofbiz
from one build with different configurations on different servers.

For example, user A starts one instance of Ofbiz with mounted hot-deploy and
user B starts another instance without it.

I thought that it would be possible for them to have their own configs and
use one build.

Is it so?

Oleg.


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of A. Zeneski
Sent: Thursday, February 09, 2006 4:32 PM
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - Ofbiz config

The properties file MUST be inside ofbiz.jar. Move your properties  
file to base/src/start/org/ofbiz/start and re-compile.

Andy

On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:

> Hello all,
>
> There is a problem while configurating Ofbiz. I need to replace  
> start.properties with my own properties file. I have created  
> file.jar, which contains only oleg.properties in org/ofbiz/base/
> start directory and placed it in {ofbiz.home}.
> I use
> java -jar ofbiz.jar oleg
> to start Ofbiz
>
> The error occured:
> Exception in thread "main" java.io.IOException: Cannot load  
> configuration properties : org/ofbiz/base/start/oleg.properties
>         at org.ofbiz.base.start.Start$Config.getPropertiesFile
> (Start.java:500)
>         at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> 518)
>         at org.ofbiz.base.start.Start.init(Start.java:75)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
>
> file.jar is in classpath, so I dont't understand what is the problem.
>
> Any help is highly appreciated.
>
> Oleg.
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

BJ Freeman
just of the top of my head, is would seem you can change the ant build
to generate each ofbiz.jar in different subfolders them have them move
to the servers, in the proper subfolders.
This would mean having the files specific to that server in a seperate
folder as well.
could be quite a management problem.

Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:

> Certainly in this case they can't recompile Ofbiz.
>
> Oleg.
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Oleg Kozyrev jr.
> Sent: Thursday, February 09, 2006 4:44 PM
> To: 'OFBiz Project Development Discussion'
> Subject: Re: [OFBiz] Dev - Ofbiz config
>
> Andy,
>
> Thanks for your help.
>
> But the problem is that we are trying to run multiple instances of Ofbiz
> from one build with different configurations on different servers.
>
> For example, user A starts one instance of Ofbiz with mounted hot-deploy and
> user B starts another instance without it.
>
> I thought that it would be possible for them to have their own configs and
> use one build.
>
> Is it so?
>
> Oleg.
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of A. Zeneski
> Sent: Thursday, February 09, 2006 4:32 PM
> To: OFBiz Project Development Discussion
> Subject: Re: [OFBiz] Dev - Ofbiz config
>
> The properties file MUST be inside ofbiz.jar. Move your properties  
> file to base/src/start/org/ofbiz/start and re-compile.
>
> Andy
>
> On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
>
>
>>Hello all,
>>
>>There is a problem while configurating Ofbiz. I need to replace  
>>start.properties with my own properties file. I have created  
>>file.jar, which contains only oleg.properties in org/ofbiz/base/
>>start directory and placed it in {ofbiz.home}.
>>I use
>>java -jar ofbiz.jar oleg
>>to start Ofbiz
>>
>>The error occured:
>>Exception in thread "main" java.io.IOException: Cannot load  
>>configuration properties : org/ofbiz/base/start/oleg.properties
>>        at org.ofbiz.base.start.Start$Config.getPropertiesFile
>>(Start.java:500)
>>        at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
>>518)
>>        at org.ofbiz.base.start.Start.init(Start.java:75)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>
>>file.jar is in classpath, so I dont't understand what is the problem.
>>
>>Any help is highly appreciated.
>>
>>Oleg.
>>
>>_______________________________________________
>>Dev mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/dev
>
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Oleg Kozyrev Jr.

It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
At the moment I'm thinking of setting JVM properties, like:

java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar

to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.

What do you think of such a way?

P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.

Thanks,

Oleg.



-----Original Message-----
From: bjfree <[hidden email]>
To: OFBiz Project Development Discussion <[hidden email]>
Date: Thu, 09 Feb 2006 10:08:25 -0800
Subject: Re: [OFBiz] Dev - Ofbiz config

>
> just of the top of my head, is would seem you can change the ant build
> to generate each ofbiz.jar in different subfolders them have them move
> to the servers, in the proper subfolders.
> This would mean having the files specific to that server in a seperate
> folder as well.
> could be quite a management problem.
>
> Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
> > Certainly in this case they can't recompile Ofbiz.
> >
> > Oleg.
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:[hidden email]] On
> > Behalf Of Oleg Kozyrev jr.
> > Sent: Thursday, February 09, 2006 4:44 PM
> > To: 'OFBiz Project Development Discussion'
> > Subject: Re: [OFBiz] Dev - Ofbiz config
> >
> > Andy,
> >
> > Thanks for your help.
> >
> > But the problem is that we are trying to run multiple instances of Ofbiz
> > from one build with different configurations on different servers.
> >
> > For example, user A starts one instance of Ofbiz with mounted hot-deploy and
> > user B starts another instance without it.
> >
> > I thought that it would be possible for them to have their own configs and
> > use one build.
> >
> > Is it so?
> >
> > Oleg.
> >
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:[hidden email]] On
> > Behalf Of A. Zeneski
> > Sent: Thursday, February 09, 2006 4:32 PM
> > To: OFBiz Project Development Discussion
> > Subject: Re: [OFBiz] Dev - Ofbiz config
> >
> > The properties file MUST be inside ofbiz.jar. Move your properties  
> > file to base/src/start/org/ofbiz/start and re-compile.
> >
> > Andy
> >
> > On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
> >
> >
> >>Hello all,
> >>
> >>There is a problem while configurating Ofbiz. I need to replace  
> >>start.properties with my own properties file. I have created  
> >>file.jar, which contains only oleg.properties in org/ofbiz/base/
> >>start directory and placed it in {ofbiz.home}.
> >>I use
> >>java -jar ofbiz.jar oleg
> >>to start Ofbiz
> >>
> >>The error occured:
> >>Exception in thread "main" java.io.IOException: Cannot load  
> >>configuration properties : org/ofbiz/base/start/oleg.properties
> >>        at org.ofbiz.base.start.Start$Config.getPropertiesFile
> >>(Start.java:500)
> >>        at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> >>518)
> >>        at org.ofbiz.base.start.Start.init(Start.java:75)
> >>        at org.ofbiz.base.start.Start.main(Start.java:412)
> >>
> >>file.jar is in classpath, so I dont't understand what is the problem.
> >>
> >>Any help is highly appreciated.
> >>
> >>Oleg.
> >>
> >>_______________________________________________
> >>Dev mailing list
> >>[hidden email]
> >>http://lists.ofbiz.org/mailman/listinfo/dev
> >
> >
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
> >
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
> >
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
> >
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>


Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
http://r.mail.ru/cln2987/agent.mail.ru

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Adrian Crum
I may be wrong, but it seems you might be implementing OFBiz incorrectly.

Explain to us exactly what you are trying to accomplish and maybe a list member
will have a better solution.


Oleg Kozyrev Jr. wrote:

> It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
> At the moment I'm thinking of setting JVM properties, like:
>
> java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
>
> to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
>
> What do you think of such a way?
>
> P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
>
> Thanks,
>
> Oleg.
>
>
>
> -----Original Message-----
> From: bjfree <[hidden email]>
> To: OFBiz Project Development Discussion <[hidden email]>
> Date: Thu, 09 Feb 2006 10:08:25 -0800
> Subject: Re: [OFBiz] Dev - Ofbiz config
>
>
>>just of the top of my head, is would seem you can change the ant build
>>to generate each ofbiz.jar in different subfolders them have them move
>>to the servers, in the proper subfolders.
>>This would mean having the files specific to that server in a seperate
>>folder as well.
>>could be quite a management problem.
>>
>>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
>>
>>>Certainly in this case they can't recompile Ofbiz.
>>>
>>>Oleg.
>>>
>>>-----Original Message-----
>>>From: [hidden email] [mailto:[hidden email]] On
>>>Behalf Of Oleg Kozyrev jr.
>>>Sent: Thursday, February 09, 2006 4:44 PM
>>>To: 'OFBiz Project Development Discussion'
>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>
>>>Andy,
>>>
>>>Thanks for your help.
>>>
>>>But the problem is that we are trying to run multiple instances of Ofbiz
>>>from one build with different configurations on different servers.
>>>
>>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
>>>user B starts another instance without it.
>>>
>>>I thought that it would be possible for them to have their own configs and
>>>use one build.
>>>
>>>Is it so?
>>>
>>>Oleg.
>>>
>>>
>>>-----Original Message-----
>>>From: [hidden email] [mailto:[hidden email]] On
>>>Behalf Of A. Zeneski
>>>Sent: Thursday, February 09, 2006 4:32 PM
>>>To: OFBiz Project Development Discussion
>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>
>>>The properties file MUST be inside ofbiz.jar. Move your properties  
>>>file to base/src/start/org/ofbiz/start and re-compile.
>>>
>>>Andy
>>>
>>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
>>>
>>>
>>>
>>>>Hello all,
>>>>
>>>>There is a problem while configurating Ofbiz. I need to replace  
>>>>start.properties with my own properties file. I have created  
>>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
>>>>start directory and placed it in {ofbiz.home}.
>>>>I use
>>>>java -jar ofbiz.jar oleg
>>>>to start Ofbiz
>>>>
>>>>The error occured:
>>>>Exception in thread "main" java.io.IOException: Cannot load  
>>>>configuration properties : org/ofbiz/base/start/oleg.properties
>>>>       at org.ofbiz.base.start.Start$Config.getPropertiesFile
>>>>(Start.java:500)
>>>>       at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
>>>>518)
>>>>       at org.ofbiz.base.start.Start.init(Start.java:75)
>>>>       at org.ofbiz.base.start.Start.main(Start.java:412)
>>>>
>>>>file.jar is in classpath, so I dont't understand what is the problem.
>>>>
>>>>Any help is highly appreciated.
>>>>
>>>>Oleg.
>>>>
>>>>_______________________________________________
>>>>Dev mailing list
>>>>[hidden email]
>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>
>>
>>_______________________________________________
>>Dev mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/dev
>>
>
>
>
> Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
> http://r.mail.ru/cln2987/agent.mail.ru
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Oleg Kozyrev Jr.
Adrian,

The main thing to do is to provide an opportunity to run several instances of Ofbiz from one build on different virtual servers with different configurations.
I'm am not a specialist with virtual servers, but the man who deals with it said that I will have different IPs, so they will look like real computers.

So, my idea is following (any comments/questions are appreciated):
1. every user creates the same structure like base/config in his home catalog with his own configs
2. he runs startup script this -D options to overide standart configurations.
3. he gets his own instance of Ofbiz with his own configs.

I need to do it because 20 users shouldn't have their own builds (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way to do it.
Also, users could do different tasks with their own appilcations (I think they should be in their home folders), that's why they shouldn'y disturb each other.

Any alternatives?

P.S. There is no need to modify standart applications (framework, specialized). They will be read-only.

Thanks for you concern,
Oleg.


-----Original Message-----
From: Adrian Crum <[hidden email]>
To: OFBiz Project Development Discussion <[hidden email]>
Date: Thu, 09 Feb 2006 12:51:05 -0800
Subject: Re: [OFBiz] Dev - Ofbiz config

> I may be wrong, but it seems you might be implementing OFBiz incorrectly.
>
> Explain to us exactly what you are trying to accomplish and maybe a list member
> will have a better solution.
>
>
> Oleg Kozyrev Jr. wrote:
> > It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
> > At the moment I'm thinking of setting JVM properties, like:
> >
> > java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
> >
> > to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
> >
> > What do you think of such a way?
> >
> > P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
> >
> > Thanks,
> >
> > Oleg.
> >
> >
> >
> > -----Original Message-----
> > From: bjfree <[hidden email]>
> > To: OFBiz Project Development Discussion <[hidden email]>
> > Date: Thu, 09 Feb 2006 10:08:25 -0800
> > Subject: Re: [OFBiz] Dev - Ofbiz config
> >
> >
> >>just of the top of my head, is would seem you can change the ant build
> >>to generate each ofbiz.jar in different subfolders them have them move
> >>to the servers, in the proper subfolders.
> >>This would mean having the files specific to that server in a seperate
> >>folder as well.
> >>could be quite a management problem.
> >>
> >>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
> >>
> >>>Certainly in this case they can't recompile Ofbiz.
> >>>
> >>>Oleg.
> >>>
> >>>-----Original Message-----
> >>>From: [hidden email] [mailto:[hidden email]] On
> >>>Behalf Of Oleg Kozyrev jr.
> >>>Sent: Thursday, February 09, 2006 4:44 PM
> >>>To: 'OFBiz Project Development Discussion'
> >>>Subject: Re: [OFBiz] Dev - Ofbiz config
> >>>
> >>>Andy,
> >>>
> >>>Thanks for your help.
> >>>
> >>>But the problem is that we are trying to run multiple instances of Ofbiz
> >>>from one build with different configurations on different servers.
> >>>
> >>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
> >>>user B starts another instance without it.
> >>>
> >>>I thought that it would be possible for them to have their own configs and
> >>>use one build.
> >>>
> >>>Is it so?
> >>>
> >>>Oleg.
> >>>
> >>>
> >>>-----Original Message-----
> >>>From: [hidden email] [mailto:[hidden email]] On
> >>>Behalf Of A. Zeneski
> >>>Sent: Thursday, February 09, 2006 4:32 PM
> >>>To: OFBiz Project Development Discussion
> >>>Subject: Re: [OFBiz] Dev - Ofbiz config
> >>>
> >>>The properties file MUST be inside ofbiz.jar. Move your properties  
> >>>file to base/src/start/org/ofbiz/start and re-compile.
> >>>
> >>>Andy
> >>>
> >>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
> >>>
> >>>
> >>>
> >>>>Hello all,
> >>>>
> >>>>There is a problem while configurating Ofbiz. I need to replace  
> >>>>start.properties with my own properties file. I have created  
> >>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
> >>>>start directory and placed it in {ofbiz.home}.
> >>>>I use
> >>>>java -jar ofbiz.jar oleg
> >>>>to start Ofbiz
> >>>>
> >>>>The error occured:
> >>>>Exception in thread "main" java.io.IOException: Cannot load  
> >>>>configuration properties : org/ofbiz/base/start/oleg.properties
> >>>>       at org.ofbiz.base.start.Start$Config.getPropertiesFile
> >>>>(Start.java:500)
> >>>>       at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> >>>>518)
> >>>>       at org.ofbiz.base.start.Start.init(Start.java:75)
> >>>>       at org.ofbiz.base.start.Start.main(Start.java:412)
> >>>>
> >>>>file.jar is in classpath, so I dont't understand what is the problem.
> >>>>
> >>>>Any help is highly appreciated.
> >>>>
> >>>>Oleg.
> >>>>
> >>>>_______________________________________________
> >>>>Dev mailing list
> >>>>[hidden email]
> >>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Dev mailing list
> >>>[hidden email]
> >>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>>
> >>>_______________________________________________
> >>>Dev mailing list
> >>>[hidden email]
> >>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>>
> >>>_______________________________________________
> >>>Dev mailing list
> >>>[hidden email]
> >>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>
> >>
> >>_______________________________________________
> >>Dev mailing list
> >>[hidden email]
> >>http://lists.ofbiz.org/mailman/listinfo/dev
> >>
> >
> >
> >
> > Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
> > http://r.mail.ru/cln2987/agent.mail.ru
> >
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev


Новые оповещения о приходе писем в Агенте@Mail.ru! Попробуйте, это удобно!
http://r.mail.ru/cln2988/agent.mail.ru

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Andrew Sykes
Oleg,

If users are simply using different applications, these could all be
deployed within a single instance of OFBiz which would significantly cut
your overheads.

On Fri, 2006-02-10 at 00:14 +0300, Oleg Kozyrev Jr. wrote:

> Adrian,
>
> The main thing to do is to provide an opportunity to run several instances of Ofbiz from one build on different virtual servers with different configurations.
> I'm am not a specialist with virtual servers, but the man who deals with it said that I will have different IPs, so they will look like real computers.
>
> So, my idea is following (any comments/questions are appreciated):
> 1. every user creates the same structure like base/config in his home catalog with his own configs
> 2. he runs startup script this -D options to overide standart configurations.
> 3. he gets his own instance of Ofbiz with his own configs.
>
> I need to do it because 20 users shouldn't have their own builds (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way to do it.
> Also, users could do different tasks with their own appilcations (I think they should be in their home folders), that's why they shouldn'y disturb each other.
>
> Any alternatives?
>
> P.S. There is no need to modify standart applications (framework, specialized). They will be read-only.
>
> Thanks for you concern,
> Oleg.
>
>
> -----Original Message-----
> From: Adrian Crum <[hidden email]>
> To: OFBiz Project Development Discussion <[hidden email]>
> Date: Thu, 09 Feb 2006 12:51:05 -0800
> Subject: Re: [OFBiz] Dev - Ofbiz config
>
> > I may be wrong, but it seems you might be implementing OFBiz incorrectly.
> >
> > Explain to us exactly what you are trying to accomplish and maybe a list member
> > will have a better solution.
> >
> >
> > Oleg Kozyrev Jr. wrote:
> > > It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
> > > At the moment I'm thinking of setting JVM properties, like:
> > >
> > > java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
> > >
> > > to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
> > >
> > > What do you think of such a way?
> > >
> > > P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
> > >
> > > Thanks,
> > >
> > > Oleg.
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: bjfree <[hidden email]>
> > > To: OFBiz Project Development Discussion <[hidden email]>
> > > Date: Thu, 09 Feb 2006 10:08:25 -0800
> > > Subject: Re: [OFBiz] Dev - Ofbiz config
> > >
> > >
> > >>just of the top of my head, is would seem you can change the ant build
> > >>to generate each ofbiz.jar in different subfolders them have them move
> > >>to the servers, in the proper subfolders.
> > >>This would mean having the files specific to that server in a seperate
> > >>folder as well.
> > >>could be quite a management problem.
> > >>
> > >>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
> > >>
> > >>>Certainly in this case they can't recompile Ofbiz.
> > >>>
> > >>>Oleg.
> > >>>
> > >>>-----Original Message-----
> > >>>From: [hidden email] [mailto:[hidden email]] On
> > >>>Behalf Of Oleg Kozyrev jr.
> > >>>Sent: Thursday, February 09, 2006 4:44 PM
> > >>>To: 'OFBiz Project Development Discussion'
> > >>>Subject: Re: [OFBiz] Dev - Ofbiz config
> > >>>
> > >>>Andy,
> > >>>
> > >>>Thanks for your help.
> > >>>
> > >>>But the problem is that we are trying to run multiple instances of Ofbiz
> > >>>from one build with different configurations on different servers.
> > >>>
> > >>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
> > >>>user B starts another instance without it.
> > >>>
> > >>>I thought that it would be possible for them to have their own configs and
> > >>>use one build.
> > >>>
> > >>>Is it so?
> > >>>
> > >>>Oleg.
> > >>>
> > >>>
> > >>>-----Original Message-----
> > >>>From: [hidden email] [mailto:[hidden email]] On
> > >>>Behalf Of A. Zeneski
> > >>>Sent: Thursday, February 09, 2006 4:32 PM
> > >>>To: OFBiz Project Development Discussion
> > >>>Subject: Re: [OFBiz] Dev - Ofbiz config
> > >>>
> > >>>The properties file MUST be inside ofbiz.jar. Move your properties  
> > >>>file to base/src/start/org/ofbiz/start and re-compile.
> > >>>
> > >>>Andy
> > >>>
> > >>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
> > >>>
> > >>>
> > >>>
> > >>>>Hello all,
> > >>>>
> > >>>>There is a problem while configurating Ofbiz. I need to replace  
> > >>>>start.properties with my own properties file. I have created  
> > >>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
> > >>>>start directory and placed it in {ofbiz.home}.
> > >>>>I use
> > >>>>java -jar ofbiz.jar oleg
> > >>>>to start Ofbiz
> > >>>>
> > >>>>The error occured:
> > >>>>Exception in thread "main" java.io.IOException: Cannot load  
> > >>>>configuration properties : org/ofbiz/base/start/oleg.properties
> > >>>>       at org.ofbiz.base.start.Start$Config.getPropertiesFile
> > >>>>(Start.java:500)
> > >>>>       at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> > >>>>518)
> > >>>>       at org.ofbiz.base.start.Start.init(Start.java:75)
> > >>>>       at org.ofbiz.base.start.Start.main(Start.java:412)
> > >>>>
> > >>>>file.jar is in classpath, so I dont't understand what is the problem.
> > >>>>
> > >>>>Any help is highly appreciated.
> > >>>>
> > >>>>Oleg.
> > >>>>
> > >>>>_______________________________________________
> > >>>>Dev mailing list
> > >>>>[hidden email]
> > >>>>http://lists.ofbiz.org/mailman/listinfo/dev
> > >>>
> > >>>
> > >>>
> > >>>_______________________________________________
> > >>>Dev mailing list
> > >>>[hidden email]
> > >>>http://lists.ofbiz.org/mailman/listinfo/dev
> > >>>
> > >>>
> > >>>_______________________________________________
> > >>>Dev mailing list
> > >>>[hidden email]
> > >>>http://lists.ofbiz.org/mailman/listinfo/dev
> > >>>
> > >>>
> > >>>_______________________________________________
> > >>>Dev mailing list
> > >>>[hidden email]
> > >>>http://lists.ofbiz.org/mailman/listinfo/dev
> > >>>
> > >>
> > >>
> > >>_______________________________________________
> > >>Dev mailing list
> > >>[hidden email]
> > >>http://lists.ofbiz.org/mailman/listinfo/dev
> > >>
> > >
> > >
> > >
> > > Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
> > > http://r.mail.ru/cln2987/agent.mail.ru
> > >
> > >  
> > > _______________________________________________
> > > Dev mailing list
> > > [hidden email]
> > > http://lists.ofbiz.org/mailman/listinfo/dev
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>
>
> Новые оповещения о приходе писем в Агенте@Mail.ru! Попробуйте, это удобно!
> http://r.mail.ru/cln2988/agent.mail.ru
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Adrian Crum
In reply to this post by Oleg Kozyrev Jr.
That description helps a lot. I haven't implemented virtual servers here, but I
know a few members of this list have. I'll let them respond.

In the meantime, search the mailing list archive and Wiki for "virtual servers"
and "multiple instances" for more information on this subject.


Oleg Kozyrev Jr. wrote:

> Adrian,
>
> The main thing to do is to provide an opportunity to run several instances of Ofbiz from one build on different virtual servers with different configurations.
> I'm am not a specialist with virtual servers, but the man who deals with it said that I will have different IPs, so they will look like real computers.
>
> So, my idea is following (any comments/questions are appreciated):
> 1. every user creates the same structure like base/config in his home catalog with his own configs
> 2. he runs startup script this -D options to overide standart configurations.
> 3. he gets his own instance of Ofbiz with his own configs.
>
> I need to do it because 20 users shouldn't have their own builds (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way to do it.
> Also, users could do different tasks with their own appilcations (I think they should be in their home folders), that's why they shouldn'y disturb each other.
>
> Any alternatives?
>
> P.S. There is no need to modify standart applications (framework, specialized). They will be read-only.
>
> Thanks for you concern,
> Oleg.
>
>
> -----Original Message-----
> From: Adrian Crum <[hidden email]>
> To: OFBiz Project Development Discussion <[hidden email]>
> Date: Thu, 09 Feb 2006 12:51:05 -0800
> Subject: Re: [OFBiz] Dev - Ofbiz config
>
>
>>I may be wrong, but it seems you might be implementing OFBiz incorrectly.
>>
>>Explain to us exactly what you are trying to accomplish and maybe a list member
>>will have a better solution.
>>
>>
>>Oleg Kozyrev Jr. wrote:
>>
>>>It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
>>>At the moment I'm thinking of setting JVM properties, like:
>>>
>>>java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
>>>
>>>to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
>>>
>>>What do you think of such a way?
>>>
>>>P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
>>>
>>>Thanks,
>>>
>>>Oleg.
>>>
>>>
>>>
>>>-----Original Message-----
>>>From: bjfree <[hidden email]>
>>>To: OFBiz Project Development Discussion <[hidden email]>
>>>Date: Thu, 09 Feb 2006 10:08:25 -0800
>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>
>>>
>>>
>>>>just of the top of my head, is would seem you can change the ant build
>>>>to generate each ofbiz.jar in different subfolders them have them move
>>>>to the servers, in the proper subfolders.
>>>>This would mean having the files specific to that server in a seperate
>>>>folder as well.
>>>>could be quite a management problem.
>>>>
>>>>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
>>>>
>>>>
>>>>>Certainly in this case they can't recompile Ofbiz.
>>>>>
>>>>>Oleg.
>>>>>
>>>>>-----Original Message-----
>>>>>From: [hidden email] [mailto:[hidden email]] On
>>>>>Behalf Of Oleg Kozyrev jr.
>>>>>Sent: Thursday, February 09, 2006 4:44 PM
>>>>>To: 'OFBiz Project Development Discussion'
>>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>
>>>>>Andy,
>>>>>
>>>>>Thanks for your help.
>>>>>
>>>>>But the problem is that we are trying to run multiple instances of Ofbiz
>>>>
>>>>>from one build with different configurations on different servers.
>>>>
>>>>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
>>>>>user B starts another instance without it.
>>>>>
>>>>>I thought that it would be possible for them to have their own configs and
>>>>>use one build.
>>>>>
>>>>>Is it so?
>>>>>
>>>>>Oleg.
>>>>>
>>>>>
>>>>>-----Original Message-----
>>>>>From: [hidden email] [mailto:[hidden email]] On
>>>>>Behalf Of A. Zeneski
>>>>>Sent: Thursday, February 09, 2006 4:32 PM
>>>>>To: OFBiz Project Development Discussion
>>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>
>>>>>The properties file MUST be inside ofbiz.jar. Move your properties  
>>>>>file to base/src/start/org/ofbiz/start and re-compile.
>>>>>
>>>>>Andy
>>>>>
>>>>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hello all,
>>>>>>
>>>>>>There is a problem while configurating Ofbiz. I need to replace  
>>>>>>start.properties with my own properties file. I have created  
>>>>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
>>>>>>start directory and placed it in {ofbiz.home}.
>>>>>>I use
>>>>>>java -jar ofbiz.jar oleg
>>>>>>to start Ofbiz
>>>>>>
>>>>>>The error occured:
>>>>>>Exception in thread "main" java.io.IOException: Cannot load  
>>>>>>configuration properties : org/ofbiz/base/start/oleg.properties
>>>>>>      at org.ofbiz.base.start.Start$Config.getPropertiesFile
>>>>>>(Start.java:500)
>>>>>>      at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
>>>>>>518)
>>>>>>      at org.ofbiz.base.start.Start.init(Start.java:75)
>>>>>>      at org.ofbiz.base.start.Start.main(Start.java:412)
>>>>>>
>>>>>>file.jar is in classpath, so I dont't understand what is the problem.
>>>>>>
>>>>>>Any help is highly appreciated.
>>>>>>
>>>>>>Oleg.
>>>>>>
>>>>>>_______________________________________________
>>>>>>Dev mailing list
>>>>>>[hidden email]
>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Dev mailing list
>>>>>[hidden email]
>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Dev mailing list
>>>>>[hidden email]
>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Dev mailing list
>>>>>[hidden email]
>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>Dev mailing list
>>>>[hidden email]
>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>
>>>
>>>
>>>
>>>Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
>>>http://r.mail.ru/cln2987/agent.mail.ru
>>>
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>
>>
>>_______________________________________________
>>Dev mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/dev
>
>
>
> Новые оповещения о приходе писем в Агенте@Mail.ru! Попробуйте, это удобно!
> http://r.mail.ru/cln2988/agent.mail.ru
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Adrian Crum
In reply to this post by Andrew Sykes
If I'm understanding Oleg correctly, I think he is trying to implement an online
shopping mall, where different vendors are running different storefronts on OFBiz.


Andrew Sykes wrote:

> Oleg,
>
> If users are simply using different applications, these could all be
> deployed within a single instance of OFBiz which would significantly cut
> your overheads.
>
> On Fri, 2006-02-10 at 00:14 +0300, Oleg Kozyrev Jr. wrote:
>
>>Adrian,
>>
>>The main thing to do is to provide an opportunity to run several instances of Ofbiz from one build on different virtual servers with different configurations.
>>I'm am not a specialist with virtual servers, but the man who deals with it said that I will have different IPs, so they will look like real computers.
>>
>>So, my idea is following (any comments/questions are appreciated):
>>1. every user creates the same structure like base/config in his home catalog with his own configs
>>2. he runs startup script this -D options to overide standart configurations.
>>3. he gets his own instance of Ofbiz with his own configs.
>>
>>I need to do it because 20 users shouldn't have their own builds (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way to do it.
>>Also, users could do different tasks with their own appilcations (I think they should be in their home folders), that's why they shouldn'y disturb each other.
>>
>>Any alternatives?
>>
>>P.S. There is no need to modify standart applications (framework, specialized). They will be read-only.
>>
>>Thanks for you concern,
>>Oleg.
>>
>>
>>-----Original Message-----
>>From: Adrian Crum <[hidden email]>
>>To: OFBiz Project Development Discussion <[hidden email]>
>>Date: Thu, 09 Feb 2006 12:51:05 -0800
>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>
>>
>>>I may be wrong, but it seems you might be implementing OFBiz incorrectly.
>>>
>>>Explain to us exactly what you are trying to accomplish and maybe a list member
>>>will have a better solution.
>>>
>>>
>>>Oleg Kozyrev Jr. wrote:
>>>
>>>>It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
>>>>At the moment I'm thinking of setting JVM properties, like:
>>>>
>>>>java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
>>>>
>>>>to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
>>>>
>>>>What do you think of such a way?
>>>>
>>>>P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
>>>>
>>>>Thanks,
>>>>
>>>>Oleg.
>>>>
>>>>
>>>>
>>>>-----Original Message-----
>>>>From: bjfree <[hidden email]>
>>>>To: OFBiz Project Development Discussion <[hidden email]>
>>>>Date: Thu, 09 Feb 2006 10:08:25 -0800
>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>
>>>>
>>>>
>>>>>just of the top of my head, is would seem you can change the ant build
>>>>>to generate each ofbiz.jar in different subfolders them have them move
>>>>>to the servers, in the proper subfolders.
>>>>>This would mean having the files specific to that server in a seperate
>>>>>folder as well.
>>>>>could be quite a management problem.
>>>>>
>>>>>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
>>>>>
>>>>>
>>>>>>Certainly in this case they can't recompile Ofbiz.
>>>>>>
>>>>>>Oleg.
>>>>>>
>>>>>>-----Original Message-----
>>>>>>From: [hidden email] [mailto:[hidden email]] On
>>>>>>Behalf Of Oleg Kozyrev jr.
>>>>>>Sent: Thursday, February 09, 2006 4:44 PM
>>>>>>To: 'OFBiz Project Development Discussion'
>>>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>>
>>>>>>Andy,
>>>>>>
>>>>>>Thanks for your help.
>>>>>>
>>>>>>But the problem is that we are trying to run multiple instances of Ofbiz
>>>>>
>>>>>>from one build with different configurations on different servers.
>>>>>
>>>>>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
>>>>>>user B starts another instance without it.
>>>>>>
>>>>>>I thought that it would be possible for them to have their own configs and
>>>>>>use one build.
>>>>>>
>>>>>>Is it so?
>>>>>>
>>>>>>Oleg.
>>>>>>
>>>>>>
>>>>>>-----Original Message-----
>>>>>>From: [hidden email] [mailto:[hidden email]] On
>>>>>>Behalf Of A. Zeneski
>>>>>>Sent: Thursday, February 09, 2006 4:32 PM
>>>>>>To: OFBiz Project Development Discussion
>>>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>>
>>>>>>The properties file MUST be inside ofbiz.jar. Move your properties  
>>>>>>file to base/src/start/org/ofbiz/start and re-compile.
>>>>>>
>>>>>>Andy
>>>>>>
>>>>>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hello all,
>>>>>>>
>>>>>>>There is a problem while configurating Ofbiz. I need to replace  
>>>>>>>start.properties with my own properties file. I have created  
>>>>>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
>>>>>>>start directory and placed it in {ofbiz.home}.
>>>>>>>I use
>>>>>>>java -jar ofbiz.jar oleg
>>>>>>>to start Ofbiz
>>>>>>>
>>>>>>>The error occured:
>>>>>>>Exception in thread "main" java.io.IOException: Cannot load  
>>>>>>>configuration properties : org/ofbiz/base/start/oleg.properties
>>>>>>>      at org.ofbiz.base.start.Start$Config.getPropertiesFile
>>>>>>>(Start.java:500)
>>>>>>>      at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
>>>>>>>518)
>>>>>>>      at org.ofbiz.base.start.Start.init(Start.java:75)
>>>>>>>      at org.ofbiz.base.start.Start.main(Start.java:412)
>>>>>>>
>>>>>>>file.jar is in classpath, so I dont't understand what is the problem.
>>>>>>>
>>>>>>>Any help is highly appreciated.
>>>>>>>
>>>>>>>Oleg.
>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>Dev mailing list
>>>>>>>[hidden email]
>>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Dev mailing list
>>>>>>[hidden email]
>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Dev mailing list
>>>>>>[hidden email]
>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Dev mailing list
>>>>>>[hidden email]
>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Dev mailing list
>>>>>[hidden email]
>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>
>>>>
>>>>
>>>>Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
>>>>http://r.mail.ru/cln2987/agent.mail.ru
>>>>
>>>>
>>>>_______________________________________________
>>>>Dev mailing list
>>>>[hidden email]
>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>
>>
>>Новые оповещения о приходе писем в Агенте@Mail.ru! Попробуйте, это удобно!
>>http://r.mail.ru/cln2988/agent.mail.ru
>>
>>
>>_______________________________________________
>>Dev mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Andrew Sykes
Adrian, Oleg,

If this is the scenario, you would be far better to set these up within
a single instance of OFBiz, otherwise you are going to waste a great
deal of system resources unnecessarily.

You can mount multiple copies of an ecommerce module on the same OFBiz,
but just associate each one with a separate delegator.

I do this quite a lot, because it just isn't economically viable for
smaller projects to have each one running as a standalone server.
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Ray Barlow
Adrian,

How do you handle the usage of the backend (catalogue
management, order processing) in this set up?

Ray

--- Andrew Sykes <[hidden email]> wrote:

> Adrian, Oleg,
>
> If this is the scenario, you would be far better to
> set these up within
> a single instance of OFBiz, otherwise you are going
> to waste a great
> deal of system resources unnecessarily.
>
> You can mount multiple copies of an ecommerce module
> on the same OFBiz,
> but just associate each one with a separate
> delegator.
>
> I do this quite a lot, because it just isn't
> economically viable for
> smaller projects to have each one running as a
> standalone server.
> --
> Kind Regards
> Andrew Sykes <[hidden email]>
> Sykes Development Ltd
> http://www.sykesdevelopment.com
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Oleg Kozyrev Jr.
In reply to this post by Andrew Sykes
Andrew,

Thanks, but things are a bit more complicated.

Users must be able to use both different applications and common ones (webtools, party, etc.), because first of all they are developers. This combination is the main problem.

Oleg.

-----Original Message-----
From: Andrew Sykes <[hidden email]>
To: OFBiz Project Development Discussion <[hidden email]>
Date: Thu, 09 Feb 2006 21:19:43 +0000
Subject: Re: [OFBiz] Dev - Ofbiz config

> Oleg,
>
> If users are simply using different applications, these could all be
> deployed within a single instance of OFBiz which would significantly cut
> your overheads.
>
> On Fri, 2006-02-10 at 00:14 +0300, Oleg Kozyrev Jr. wrote:
> > Adrian,
> >
> > The main thing to do is to provide an opportunity to run several instances of Ofbiz from one build on different virtual servers with different configurations.
> > I'm am not a specialist with virtual servers, but the man who deals with it said that I will have different IPs, so they will look like real computers.
> >
> > So, my idea is following (any comments/questions are appreciated):
> > 1. every user creates the same structure like base/config in his home catalog with his own configs
> > 2. he runs startup script this -D options to overide standart configurations.
> > 3. he gets his own instance of Ofbiz with his own configs.
> >
> > I need to do it because 20 users shouldn't have their own builds (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way to do it.
> > Also, users could do different tasks with their own appilcations (I think they should be in their home folders), that's why they shouldn'y disturb each other.
> >
> > Any alternatives?
> >
> > P.S. There is no need to modify standart applications (framework, specialized). They will be read-only.
> >
> > Thanks for you concern,
> > Oleg.
> >
> >
> > -----Original Message-----
> > From: Adrian Crum <[hidden email]>
> > To: OFBiz Project Development Discussion <[hidden email]>
> > Date: Thu, 09 Feb 2006 12:51:05 -0800
> > Subject: Re: [OFBiz] Dev - Ofbiz config
> >
> > > I may be wrong, but it seems you might be implementing OFBiz incorrectly.
> > >
> > > Explain to us exactly what you are trying to accomplish and maybe a list member
> > > will have a better solution.
> > >
> > >
> > > Oleg Kozyrev Jr. wrote:
> > > > It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
> > > > At the moment I'm thinking of setting JVM properties, like:
> > > >
> > > > java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
> > > >
> > > > to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
> > > >
> > > > What do you think of such a way?
> > > >
> > > > P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
> > > >
> > > > Thanks,
> > > >
> > > > Oleg.
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: bjfree <[hidden email]>
> > > > To: OFBiz Project Development Discussion <[hidden email]>
> > > > Date: Thu, 09 Feb 2006 10:08:25 -0800
> > > > Subject: Re: [OFBiz] Dev - Ofbiz config
> > > >
> > > >
> > > >>just of the top of my head, is would seem you can change the ant build
> > > >>to generate each ofbiz.jar in different subfolders them have them move
> > > >>to the servers, in the proper subfolders.
> > > >>This would mean having the files specific to that server in a seperate
> > > >>folder as well.
> > > >>could be quite a management problem.
> > > >>
> > > >>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
> > > >>
> > > >>>Certainly in this case they can't recompile Ofbiz.
> > > >>>
> > > >>>Oleg.
> > > >>>
> > > >>>-----Original Message-----
> > > >>>From: [hidden email] [mailto:[hidden email]] On
> > > >>>Behalf Of Oleg Kozyrev jr.
> > > >>>Sent: Thursday, February 09, 2006 4:44 PM
> > > >>>To: 'OFBiz Project Development Discussion'
> > > >>>Subject: Re: [OFBiz] Dev - Ofbiz config
> > > >>>
> > > >>>Andy,
> > > >>>
> > > >>>Thanks for your help.
> > > >>>
> > > >>>But the problem is that we are trying to run multiple instances of Ofbiz
> > > >>>from one build with different configurations on different servers.
> > > >>>
> > > >>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
> > > >>>user B starts another instance without it.
> > > >>>
> > > >>>I thought that it would be possible for them to have their own configs and
> > > >>>use one build.
> > > >>>
> > > >>>Is it so?
> > > >>>
> > > >>>Oleg.
> > > >>>
> > > >>>
> > > >>>-----Original Message-----
> > > >>>From: [hidden email] [mailto:[hidden email]] On
> > > >>>Behalf Of A. Zeneski
> > > >>>Sent: Thursday, February 09, 2006 4:32 PM
> > > >>>To: OFBiz Project Development Discussion
> > > >>>Subject: Re: [OFBiz] Dev - Ofbiz config
> > > >>>
> > > >>>The properties file MUST be inside ofbiz.jar. Move your properties  
> > > >>>file to base/src/start/org/ofbiz/start and re-compile.
> > > >>>
> > > >>>Andy
> > > >>>
> > > >>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
> > > >>>
> > > >>>
> > > >>>
> > > >>>>Hello all,
> > > >>>>
> > > >>>>There is a problem while configurating Ofbiz. I need to replace  
> > > >>>>start.properties with my own properties file. I have created  
> > > >>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
> > > >>>>start directory and placed it in {ofbiz.home}.
> > > >>>>I use
> > > >>>>java -jar ofbiz.jar oleg
> > > >>>>to start Ofbiz
> > > >>>>
> > > >>>>The error occured:
> > > >>>>Exception in thread "main" java.io.IOException: Cannot load  
> > > >>>>configuration properties : org/ofbiz/base/start/oleg.properties
> > > >>>>       at org.ofbiz.base.start.Start$Config.getPropertiesFile
> > > >>>>(Start.java:500)
> > > >>>>       at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> > > >>>>518)
> > > >>>>       at org.ofbiz.base.start.Start.init(Start.java:75)
> > > >>>>       at org.ofbiz.base.start.Start.main(Start.java:412)
> > > >>>>
> > > >>>>file.jar is in classpath, so I dont't understand what is the problem.
> > > >>>>
> > > >>>>Any help is highly appreciated.
> > > >>>>
> > > >>>>Oleg.
> > > >>>>
> > > >>>>_______________________________________________
> > > >>>>Dev mailing list
> > > >>>>[hidden email]
> > > >>>>http://lists.ofbiz.org/mailman/listinfo/dev
> > > >>>
> > > >>>
> > > >>>
> > > >>>_______________________________________________
> > > >>>Dev mailing list
> > > >>>[hidden email]
> > > >>>http://lists.ofbiz.org/mailman/listinfo/dev
> > > >>>
> > > >>>
> > > >>>_______________________________________________
> > > >>>Dev mailing list
> > > >>>[hidden email]
> > > >>>http://lists.ofbiz.org/mailman/listinfo/dev
> > > >>>
> > > >>>
> > > >>>_______________________________________________
> > > >>>Dev mailing list
> > > >>>[hidden email]
> > > >>>http://lists.ofbiz.org/mailman/listinfo/dev
> > > >>>
> > > >>
> > > >>
> > > >>_______________________________________________
> > > >>Dev mailing list
> > > >>[hidden email]
> > > >>http://lists.ofbiz.org/mailman/listinfo/dev
> > > >>
> > > >
> > > >
> > > >
> > > > Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
> > > > http://r.mail.ru/cln2987/agent.mail.ru
> > > >
> > > >  
> > > > _______________________________________________
> > > > Dev mailing list
> > > > [hidden email]
> > > > http://lists.ofbiz.org/mailman/listinfo/dev
> > >  
> > > _______________________________________________
> > > Dev mailing list
> > > [hidden email]
> > > http://lists.ofbiz.org/mailman/listinfo/dev
> >
> >
> > Новые оповещения о приходе писем в Агенте@Mail.ru! Попробуйте, это удобно!
> > http://r.mail.ru/cln2988/agent.mail.ru
> >
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
> --
> Kind Regards
> Andrew Sykes <[hidden email]>
> Sykes Development Ltd
> http://www.sykesdevelopment.com
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev


Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
http://r.mail.ru/cln2987/agent.mail.ru

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Oleg Kozyrev Jr.
In reply to this post by Adrian Crum
Adrian,

I'm talking not only about ecommerce, but about all applications.
I saw some thing about multiple shops in ecommerce in Wiki, but this is not the case.

My aim is to give an opportunity for users (in my University) to develop their own Ofbiz applications using one build of Ofbiz.

I appreciate your help.

Oleg.


-----Original Message-----
From: Adrian Crum <[hidden email]>
To: OFBiz Project Development Discussion <[hidden email]>
Date: Thu, 09 Feb 2006 13:38:01 -0800
Subject: Re: [OFBiz] Dev - Ofbiz config

> If I'm understanding Oleg correctly, I think he is trying to implement an online
> shopping mall, where different vendors are running different storefronts on OFBiz.
>
>
> Andrew Sykes wrote:
>
> > Oleg,
> >
> > If users are simply using different applications, these could all be
> > deployed within a single instance of OFBiz which would significantly cut
> > your overheads.
> >
> > On Fri, 2006-02-10 at 00:14 +0300, Oleg Kozyrev Jr. wrote:
> >
> >>Adrian,
> >>
> >>The main thing to do is to provide an opportunity to run several instances of Ofbiz from one build on different virtual servers with different configurations.
> >>I'm am not a specialist with virtual servers, but the man who deals with it said that I will have different IPs, so they will look like real computers.
> >>
> >>So, my idea is following (any comments/questions are appreciated):
> >>1. every user creates the same structure like base/config in his home catalog with his own configs
> >>2. he runs startup script this -D options to overide standart configurations.
> >>3. he gets his own instance of Ofbiz with his own configs.
> >>
> >>I need to do it because 20 users shouldn't have their own builds (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way to do it.
> >>Also, users could do different tasks with their own appilcations (I think they should be in their home folders), that's why they shouldn'y disturb each other.
> >>
> >>Any alternatives?
> >>
> >>P.S. There is no need to modify standart applications (framework, specialized). They will be read-only.
> >>
> >>Thanks for you concern,
> >>Oleg.
> >>
> >>
> >>-----Original Message-----
> >>From: Adrian Crum <[hidden email]>
> >>To: OFBiz Project Development Discussion <[hidden email]>
> >>Date: Thu, 09 Feb 2006 12:51:05 -0800
> >>Subject: Re: [OFBiz] Dev - Ofbiz config
> >>
> >>
> >>>I may be wrong, but it seems you might be implementing OFBiz incorrectly.
> >>>
> >>>Explain to us exactly what you are trying to accomplish and maybe a list member
> >>>will have a better solution.
> >>>
> >>>
> >>>Oleg Kozyrev Jr. wrote:
> >>>
> >>>>It's quite interesting, but I think that recompiling of the ofbiz.jar just to start is not so beautiful. :)
> >>>>At the moment I'm thinking of setting JVM properties, like:
> >>>>
> >>>>java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
> >>>>
> >>>>to make Ofbiz read user's configs (same as base/config), specific only for this user. All framework, base, applications could be loaded from one build and some user's applications from his home folder.
> >>>>
> >>>>What do you think of such a way?
> >>>>
> >>>>P.S. The main problem, that up to 20 users (developers) could start Ofbiz at the moment. So, they shouldn't disturb each other.
> >>>>
> >>>>Thanks,
> >>>>
> >>>>Oleg.
> >>>>
> >>>>
> >>>>
> >>>>-----Original Message-----
> >>>>From: bjfree <[hidden email]>
> >>>>To: OFBiz Project Development Discussion <[hidden email]>
> >>>>Date: Thu, 09 Feb 2006 10:08:25 -0800
> >>>>Subject: Re: [OFBiz] Dev - Ofbiz config
> >>>>
> >>>>
> >>>>
> >>>>>just of the top of my head, is would seem you can change the ant build
> >>>>>to generate each ofbiz.jar in different subfolders them have them move
> >>>>>to the servers, in the proper subfolders.
> >>>>>This would mean having the files specific to that server in a seperate
> >>>>>folder as well.
> >>>>>could be quite a management problem.
> >>>>>
> >>>>>Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
> >>>>>
> >>>>>
> >>>>>>Certainly in this case they can't recompile Ofbiz.
> >>>>>>
> >>>>>>Oleg.
> >>>>>>
> >>>>>>-----Original Message-----
> >>>>>>From: [hidden email] [mailto:[hidden email]] On
> >>>>>>Behalf Of Oleg Kozyrev jr.
> >>>>>>Sent: Thursday, February 09, 2006 4:44 PM
> >>>>>>To: 'OFBiz Project Development Discussion'
> >>>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
> >>>>>>
> >>>>>>Andy,
> >>>>>>
> >>>>>>Thanks for your help.
> >>>>>>
> >>>>>>But the problem is that we are trying to run multiple instances of Ofbiz
> >>>>>
> >>>>>>from one build with different configurations on different servers.
> >>>>>
> >>>>>>For example, user A starts one instance of Ofbiz with mounted hot-deploy and
> >>>>>>user B starts another instance without it.
> >>>>>>
> >>>>>>I thought that it would be possible for them to have their own configs and
> >>>>>>use one build.
> >>>>>>
> >>>>>>Is it so?
> >>>>>>
> >>>>>>Oleg.
> >>>>>>
> >>>>>>
> >>>>>>-----Original Message-----
> >>>>>>From: [hidden email] [mailto:[hidden email]] On
> >>>>>>Behalf Of A. Zeneski
> >>>>>>Sent: Thursday, February 09, 2006 4:32 PM
> >>>>>>To: OFBiz Project Development Discussion
> >>>>>>Subject: Re: [OFBiz] Dev - Ofbiz config
> >>>>>>
> >>>>>>The properties file MUST be inside ofbiz.jar. Move your properties  
> >>>>>>file to base/src/start/org/ofbiz/start and re-compile.
> >>>>>>
> >>>>>>Andy
> >>>>>>
> >>>>>>On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hello all,
> >>>>>>>
> >>>>>>>There is a problem while configurating Ofbiz. I need to replace  
> >>>>>>>start.properties with my own properties file. I have created  
> >>>>>>>file.jar, which contains only oleg.properties in org/ofbiz/base/
> >>>>>>>start directory and placed it in {ofbiz.home}.
> >>>>>>>I use
> >>>>>>>java -jar ofbiz.jar oleg
> >>>>>>>to start Ofbiz
> >>>>>>>
> >>>>>>>The error occured:
> >>>>>>>Exception in thread "main" java.io.IOException: Cannot load  
> >>>>>>>configuration properties : org/ofbiz/base/start/oleg.properties
> >>>>>>>      at org.ofbiz.base.start.Start$Config.getPropertiesFile
> >>>>>>>(Start.java:500)
> >>>>>>>      at org.ofbiz.base.start.Start$Config.readConfig(Start.java:
> >>>>>>>518)
> >>>>>>>      at org.ofbiz.base.start.Start.init(Start.java:75)
> >>>>>>>      at org.ofbiz.base.start.Start.main(Start.java:412)
> >>>>>>>
> >>>>>>>file.jar is in classpath, so I dont't understand what is the problem.
> >>>>>>>
> >>>>>>>Any help is highly appreciated.
> >>>>>>>
> >>>>>>>Oleg.
> >>>>>>>
> >>>>>>>_______________________________________________
> >>>>>>>Dev mailing list
> >>>>>>>[hidden email]
> >>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>_______________________________________________
> >>>>>>Dev mailing list
> >>>>>>[hidden email]
> >>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>>>>
> >>>>>>
> >>>>>>_______________________________________________
> >>>>>>Dev mailing list
> >>>>>>[hidden email]
> >>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>>>>
> >>>>>>
> >>>>>>_______________________________________________
> >>>>>>Dev mailing list
> >>>>>>[hidden email]
> >>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>>>>
> >>>>>
> >>>>>
> >>>>>_______________________________________________
> >>>>>Dev mailing list
> >>>>>[hidden email]
> >>>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>Новая версия Агента@Mail.ru! Узнай, кто тебе пишет, не заходя в ящик!
> >>>>http://r.mail.ru/cln2987/agent.mail.ru
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>Dev mailing list
> >>>>[hidden email]
> >>>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>>
> >>>_______________________________________________
> >>>Dev mailing list
> >>>[hidden email]
> >>>http://lists.ofbiz.org/mailman/listinfo/dev
> >>
> >>
> >>Новые оповещения о приходе писем в Агенте@Mail.ru! Попробуйте, это удобно!
> >>http://r.mail.ru/cln2988/agent.mail.ru
> >>
> >>
> >>_______________________________________________
> >>Dev mailing list
> >>[hidden email]
> >>http://lists.ofbiz.org/mailman/listinfo/dev
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev


Как выглядит SMS-любовь? Ответ ты получишь в стихах, если отправишь на номер
8881 sms с текстом AMORE пробел ИмяЛюбимогоЧеловека
http://r.mail.ru/cln2898/fun.mobile.mail.ru/amore.html 


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Dev - JRE 1.5 in SDK 1.4

BJ Freeman
In reply to this post by Oleg Kozyrev Jr.
just did a download of j2eeSDK1.4.
they have replaced the 1.4 jre with 1.5
apparently there is no way to get the 1.4 SDK from Sun.
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Andrew Sykes
In reply to this post by Ray Barlow
Ray,

You would simply mount all the applications you needed for each setup
separately.

For example, rather than having...
/ecommerce
/webtools
/ordermgr
/party

You would have...
/company1/ecommerce
/company1/webtools
/company1/ordermgr
/company1/party
/company2/ecommerce
/company2/webtools
/company2/ordermgr
/company2/party
/company3/ecommerce
/company3/webtools
/company3/ordermgr
/company3/party

This involves copying each module 3 times, but that's a lot better than
running 3 full blown OFBiz instances!
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - JRE 1.5 in SDK 1.4

Jacopo Cappellato
In reply to this post by BJ Freeman
You just need the standard edition, not the enterprise one.
You can download j2se 1.4.2 from here:

http://java.sun.com/j2se/1.4.2/index.jsp

Jacopo

bjfree wrote:
> just did a download of j2eeSDK1.4.
> they have replaced the 1.4 jre with 1.5
> apparently there is no way to get the 1.4 SDK from Sun.
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

Andrew Sykes
In reply to this post by Oleg Kozyrev Jr.
Oleg,

I'm assuming that if your current plan is to set up multiple instances,
the shared apps do not also mean shared data.

There's nothing to stop you mounting all the apps multiple times.

It depends on whether you have loads of CPU power to spare. I can
imagine 1 box running any more than about 3 instances would be painfully
slow.

Of course if these are developers and they all need to stop and start
the server independently then this idea would not be adequate.
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Ofbiz config

David E. Jones
In reply to this post by Oleg Kozyrev Jr.

And how is this easier than just letting people download a zip file  
that is pre-built and can be un-zipped and run locally on their own  
machines? Do they not have individual machines or sufficient shared  
hard disk space or something along those lines?

-David


On Feb 10, 2006, at 12:45 AM, Oleg Kozyrev Jr. wrote:

> Adrian,
>
> I'm talking not only about ecommerce, but about all applications.
> I saw some thing about multiple shops in ecommerce in Wiki, but  
> this is not the case.
>
> My aim is to give an opportunity for users (in my University) to  
> develop their own Ofbiz applications using one build of Ofbiz.
>
> I appreciate your help.
>
> Oleg.
>
>
> -----Original Message-----
> From: Adrian Crum <[hidden email]>
> To: OFBiz Project Development Discussion <[hidden email]>
> Date: Thu, 09 Feb 2006 13:38:01 -0800
> Subject: Re: [OFBiz] Dev - Ofbiz config
>
>> If I'm understanding Oleg correctly, I think he is trying to  
>> implement an online
>> shopping mall, where different vendors are running different  
>> storefronts on OFBiz.
>>
>>
>> Andrew Sykes wrote:
>>
>>> Oleg,
>>>
>>> If users are simply using different applications, these could all be
>>> deployed within a single instance of OFBiz which would  
>>> significantly cut
>>> your overheads.
>>>
>>> On Fri, 2006-02-10 at 00:14 +0300, Oleg Kozyrev Jr. wrote:
>>>
>>>> Adrian,
>>>>
>>>> The main thing to do is to provide an opportunity to run several  
>>>> instances of Ofbiz from one build on different virtual servers  
>>>> with different configurations.
>>>> I'm am not a specialist with virtual servers, but the man who  
>>>> deals with it said that I will have different IPs, so they will  
>>>> look like real computers.
>>>>
>>>> So, my idea is following (any comments/questions are appreciated):
>>>> 1. every user creates the same structure like base/config in his  
>>>> home catalog with his own configs
>>>> 2. he runs startup script this -D options to overide standart  
>>>> configurations.
>>>> 3. he gets his own instance of Ofbiz with his own configs.
>>>>
>>>> I need to do it because 20 users shouldn't have their own builds  
>>>> (300Mb*20 is TOO MUCH only for Ofbiz), so I need to find a way  
>>>> to do it.
>>>> Also, users could do different tasks with their own appilcations  
>>>> (I think they should be in their home folders), that's why they  
>>>> shouldn'y disturb each other.
>>>>
>>>> Any alternatives?
>>>>
>>>> P.S. There is no need to modify standart applications  
>>>> (framework, specialized). They will be read-only.
>>>>
>>>> Thanks for you concern,
>>>> Oleg.
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Adrian Crum <[hidden email]>
>>>> To: OFBiz Project Development Discussion <[hidden email]>
>>>> Date: Thu, 09 Feb 2006 12:51:05 -0800
>>>> Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>
>>>>
>>>>> I may be wrong, but it seems you might be implementing OFBiz  
>>>>> incorrectly.
>>>>>
>>>>> Explain to us exactly what you are trying to accomplish and  
>>>>> maybe a list member
>>>>> will have a better solution.
>>>>>
>>>>>
>>>>> Oleg Kozyrev Jr. wrote:
>>>>>
>>>>>> It's quite interesting, but I think that recompiling of the  
>>>>>> ofbiz.jar just to start is not so beautiful. :)
>>>>>> At the moment I'm thinking of setting JVM properties, like:
>>>>>>
>>>>>> java -Dofbiz.base.congig=/home/use/ofbiz-config -jar ofbiz.jar
>>>>>>
>>>>>> to make Ofbiz read user's configs (same as base/config),  
>>>>>> specific only for this user. All framework, base, applications  
>>>>>> could be loaded from one build and some user's applications  
>>>>>> from his home folder.
>>>>>>
>>>>>> What do you think of such a way?
>>>>>>
>>>>>> P.S. The main problem, that up to 20 users (developers) could  
>>>>>> start Ofbiz at the moment. So, they shouldn't disturb each other.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Oleg.
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: bjfree <[hidden email]>
>>>>>> To: OFBiz Project Development Discussion <[hidden email]>
>>>>>> Date: Thu, 09 Feb 2006 10:08:25 -0800
>>>>>> Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>>
>>>>>>
>>>>>>
>>>>>>> just of the top of my head, is would seem you can change the  
>>>>>>> ant build
>>>>>>> to generate each ofbiz.jar in different subfolders them have  
>>>>>>> them move
>>>>>>> to the servers, in the proper subfolders.
>>>>>>> This would mean having the files specific to that server in a  
>>>>>>> seperate
>>>>>>> folder as well.
>>>>>>> could be quite a management problem.
>>>>>>>
>>>>>>> Oleg Kozyrev jr. sent the following on 2/9/06 5:47 AM:
>>>>>>>
>>>>>>>
>>>>>>>> Certainly in this case they can't recompile Ofbiz.
>>>>>>>>
>>>>>>>> Oleg.
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: [hidden email] [mailto:dev-
>>>>>>>> [hidden email]] On
>>>>>>>> Behalf Of Oleg Kozyrev jr.
>>>>>>>> Sent: Thursday, February 09, 2006 4:44 PM
>>>>>>>> To: 'OFBiz Project Development Discussion'
>>>>>>>> Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>>>>
>>>>>>>> Andy,
>>>>>>>>
>>>>>>>> Thanks for your help.
>>>>>>>>
>>>>>>>> But the problem is that we are trying to run multiple  
>>>>>>>> instances of Ofbiz
>>>>>>>
>>>>>>>> from one build with different configurations on different  
>>>>>>>> servers.
>>>>>>>
>>>>>>>> For example, user A starts one instance of Ofbiz with  
>>>>>>>> mounted hot-deploy and
>>>>>>>> user B starts another instance without it.
>>>>>>>>
>>>>>>>> I thought that it would be possible for them to have their  
>>>>>>>> own configs and
>>>>>>>> use one build.
>>>>>>>>
>>>>>>>> Is it so?
>>>>>>>>
>>>>>>>> Oleg.
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: [hidden email] [mailto:dev-
>>>>>>>> [hidden email]] On
>>>>>>>> Behalf Of A. Zeneski
>>>>>>>> Sent: Thursday, February 09, 2006 4:32 PM
>>>>>>>> To: OFBiz Project Development Discussion
>>>>>>>> Subject: Re: [OFBiz] Dev - Ofbiz config
>>>>>>>>
>>>>>>>> The properties file MUST be inside ofbiz.jar. Move your  
>>>>>>>> properties
>>>>>>>> file to base/src/start/org/ofbiz/start and re-compile.
>>>>>>>>
>>>>>>>> Andy
>>>>>>>>
>>>>>>>> On Feb 9, 2006, at 6:13 AM, Oleg Kozyrev Jr. wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hello all,
>>>>>>>>>
>>>>>>>>> There is a problem while configurating Ofbiz. I need to  
>>>>>>>>> replace
>>>>>>>>> start.properties with my own properties file. I have created
>>>>>>>>> file.jar, which contains only oleg.properties in org/ofbiz/
>>>>>>>>> base/
>>>>>>>>> start directory and placed it in {ofbiz.home}.
>>>>>>>>> I use
>>>>>>>>> java -jar ofbiz.jar oleg
>>>>>>>>> to start Ofbiz
>>>>>>>>>
>>>>>>>>> The error occured:
>>>>>>>>> Exception in thread "main" java.io.IOException: Cannot load
>>>>>>>>> configuration properties : org/ofbiz/base/start/
>>>>>>>>> oleg.properties
>>>>>>>>>      at org.ofbiz.base.start.Start$Config.getPropertiesFile
>>>>>>>>> (Start.java:500)
>>>>>>>>>      at org.ofbiz.base.start.Start$Config.readConfig
>>>>>>>>> (Start.java:
>>>>>>>>> 518)
>>>>>>>>>      at org.ofbiz.base.start.Start.init(Start.java:75)
>>>>>>>>>      at org.ofbiz.base.start.Start.main(Start.java:412)
>>>>>>>>>
>>>>>>>>> file.jar is in classpath, so I dont't understand what is  
>>>>>>>>> the problem.
>>>>>>>>>
>>>>>>>>> Any help is highly appreciated.
>>>>>>>>>
>>>>>>>>> Oleg.
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Dev mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Новая версия Агента@Mail.ru! Узнай,  
>>>>>> кто тебе пишет, не заходя в ящик!
>>>>>> http://r.mail.ru/cln2987/agent.mail.ru
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [hidden email]
>>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [hidden email]
>>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>>
>>>>
>>>> Новые оповещения о приходе писем в  
>>>> Агенте@Mail.ru! Попробуйте, это удобно!
>>>> http://r.mail.ru/cln2988/agent.mail.ru
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [hidden email]
>>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>
>> _______________________________________________
>> Dev mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/dev
>
>
> Как выглядит SMS-любовь? Ответ ты  
> получишь в стихах, если отправишь на  
> номер
> 8881 sms с текстом AMORE пробел  
> ИмяЛюбимогоЧеловека
> http://r.mail.ru/cln2898/fun.mobile.mail.ru/amore.html
>
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

smime.p7s (3K) Download Attachment
12