Re: Password reset for admin?

2011-08-03 Thread Mike
Thanks Ruth.  Sounds like you tweaked the system to prevent this admin
reset issue.  I would think that the password reset should only apply
to ecommerce customers.  Sounds like a code change will be required.

On Sat, Jul 30, 2011 at 1:24 PM, Ruth Hoffman  wrote:
> Hi Mike:
> Not sure if there is a way to turn this off, but on my 9.04 production
> system I changed the default code so that the admin user had to be logged in
> as admin before the password is reset. I also changed the way the forgot
> password works...basically my implementation ignores requests to reset the
> password for the "admin" userLoginId unless they are logged in.
>
> I found out pretty early on - during testing of the MyOFBiz/mylibrary site -
> that this was a potential problem in production.
>
> Regards,
> Ruth
>
> On 7/30/11 3:10 AM, Mike wrote:
>>
>> Why is it that *any* user can, using the password reset or "Forgot
>> Your Password" can actually force "admin" to change the password?  Is
>> there a way to turn this off?
>>
>


Re: Password reset for admin?

2011-08-03 Thread Mike
Sorry for the late response (vacation).  I understand what you saying
that it is not a good idea to use generic or group accounts as much as
possible.. However, it should not be so easy for users of an ERP to
shoot themselves in the foot. This sounds like a gaping security hole,
or at least a major security annoyance.

For instance.  You have a group of folks who answer phones and provide
customer support.  They read and reply to emails to multiple
customers.  When they email customers, they use their own accounts,
like sa...@domain.com.  Let's disrupt sally (or admin!) by simply
going to the ecommerce page, enter sally and click forget password.
Does anyone think this is OK?  I don't think it should be necessary to
change the admin login, or even use unfriendly user names.


On Sat, Jul 30, 2011 at 11:39 AM, Carsten Schinzer
 wrote:
> From a data security perspective your statement about 'Any organization
> would have generic accounts' is dangerous, IMHO.
>
> If under stricter data security regulations, you would first of all want
> traceability of who did what in the system, hence you want individual
> accounts. And initiatives like the Payment Card Industry Data Security
> Standards are addressing exactly those kind of issues and enforcing such
> policies.
>
> So beware when using 'group accounts' over individual logins. They may be
> easy to use for everyone but then beware that it's also to hack them (who
> would use a cryptic password on a group account  ?) or be nasty with
> enforced password resets.
>
> I tend to use either email or even generic xAdmin01 or such which are
> abstracted. On production OFBiz systems, I do not use any of the demo
> accounts as well.
>
> Then BJ's point perfectly kicks in that user names are no longer guessable
> and thus your pain would go away.
>
> Just my 0.02 EUR.
> Greets
>
>
> Carsten
>
>
> Othrwise
>
> 2011/7/30 Mike 
>
>> There must be something more.  Any organization would have generic
>> logins, like "sales", or it would be easy to guess employee logins
>> from the "about us" page.  It makes sense that the password reset
>> should be intended ONLY for customers, not (any) system-type login.
>>
>> I would think that the password reset feature should be limited to
>> certain roles, like "Customer".
>>
>> On Sat, Jul 30, 2011 at 4:00 AM, BJ Freeman  wrote:
>> > for production systems do not use "admin" as a lognin.
>> > it is never created.
>> >
>> > Mike sent the following on 7/30/2011 12:10 AM:
>> >> Why is it that *any* user can, using the password reset or "Forgot
>> >> Your Password" can actually force "admin" to change the password?  Is
>> >> there a way to turn this off?
>> >>
>> >
>>
>
>
>
> --
>
> Best
>
> Carsten Schinzer
>
> Waisenhausstr. 53a
> 80637 München
> Germany
>


Re: Accessing images from external application

2011-08-03 Thread Mansour Al Akeel
Raj,
Good advice. I think I will try this one, sometime this week.

Thank you a lot.


On Wed Aug 03,2011 07:31 pm, Raj Saini wrote:
> Mansour,
> 
> I would suggest you to create a separate virtual host e.g. 
> admin.mydomain.com or erp.mydomain.com for other OFbiz applications. 
> Within that virtual host, you can rewrite the URLs like:
> 
> RewriteRule ^/(.*)$ ajp://localhost:8009/$1 [P,L]
> 
> 
> 
> And you will be able to access your applications like 
> http://admin.mydomain.com/catalog/control/main
> 
> Thanks,
> 
> Raj
> 
> PS: My previous example was missing the [P,L]. This is needed to 
> indicate that this request is a proxy and once matched not to go to next 
> directive. You can find more about this in mod_rewrite guide.
> 
> 
> 
> On Wednesday 03 August 2011 05:05 PM, Mansour Al Akeel wrote:
> > Great work, Raj !
> > One last question, what would this do with requests to other ofbiz
> > components? For example http://www.yourdomain.com/myportal or
> > http://www.yourdomain.com/projectmgr ?
> >
> > What about other images under other components ?
> >
> > I will try your suggestion soon.
> >
> >
> >
> > On Wed Aug 03,2011 04:52 pm, Raj Saini wrote:
> >> What you can do is:
> >>
> >> 1. Mount your application in OFbiz as "YourApp" and not root.
> >> 2. Create a virtual host in the Apache Web server or use the default one
> >> if you have just one.
> >> 3. You can copy the static contents to the document root of the virtual
> >> host.
> >> 4. Use AJP proxy to map your root request to "YourApp". For example,
> >> Apache will forward all requests coming at
> >> http://www.yourdomain.com/ to ajp://localhost:8080/yourapp/ and you can
> >> copy your images to the document root of the your virtual host. In your
> >> virtual host proxy mapping you can exclude the static contents such as
> >> your images. I generally use mod_rewirte and below is a simple example:
> >>
> >> RewriteCond /srv/www/yourdomain/%{REQUEST_FILENAME} !-f
> >> RewriteCond /srv/www/yourdomain//%{REQUEST_FILENAME} !-d
> >> RewriteRule ^/(.*)$ ajp://localhost:8009/yourapp/control/$1
> >>
> >> This directive says, if the last part of URL  is not a physical file or
> >> directory on filesystem, forward it to OFBiz, else serve it from file
> >> system. If you copy your images to the document root and above
> >> conditions hold false, they will be served by Apache Web sever.
> >>
> >> You can still access other OFbiz application using 9443 port, or create
> >> their own virtual hosts or use a single virtual host to serve them.
> >>
> >> Thanks,
> >>
> >> Raj
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Wednesday 03 August 2011 04:36 PM, Mansour Al Akeel wrote:
> >>> Hello Raj,
> >>>
> >>> And thank you for the explaination. I totally understand this from
> >>> Bilgin reply. I didn't think of it, until he reminded me there's an
> >>> "image" component. But I am interested to see other solutions.
> >>> With regard to you suggestion, I have the web application already
> >>> deployed and it works with or without ofbiz. But how would configuring
> >>> apache server help in solving the issue of accessing static contents
> >>> under myApplication. Assuming the I will foward all the requests on port
> >>> 80 to port 8080, and 443 to 8443, how would this solve the issue ?
> >>>
> >>>
> >>>
> >>> On Wed Aug 03,2011 04:12 pm, Raj Saini wrote:
>  Your problem is OFBiz image application is conflicting with the image
>  folder of your root application. One way to solve this is to use Apache
>  Web server to front your OFbiz instance. This way, you can serve the
>  images statically and few people claim it is faster to serve static
>  contents using Apache Web server than servlet engines like Tomcat. This
>  way, you can also easily have multiple domain serving applications from
>  single instance of OFbiz.
> 
>  If you want to go this way, you will need mod_proxy and mod_proxy_ajp
>  and configure your Apache web server. There are instructions on wiki
>  that you can search.
> 
>  Thanks,
> 
>  Raj
> 
>  On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:
> > Hardik,
> > can you please kindly elaborate ?
> > What are the parameters that I can pass through ofbiz startup scripts to
> > fix this issue?
> > I have the application in hot-deploy already.
> >
> >
> >
> > On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:
> >> What I would prefer is to keep the application in hot deploy folder 
> >> and pass the parameter to the startup file  for the external 
> >> application into the startupofbiz.bat , this would lead to the 
> >> external application to start whenever you start Ofbiz.
> >>
> >> Cheers,
> >> Hardik Handa
> >> hardik.ha...@hcl.com
> >>
> >> -Original Message-
> >> From: Bilgin Ibryam [mailto:bibr...@gmail.com]
> >> Sent: Wednesday, August 03, 2011 2:20 PM
> >> To: user@ofbiz.apache

Re: Accessing images from external application

2011-08-03 Thread BJ Freeman
take a look at how themes servs up their css and images.
each one does it a different way.
also do you have an image folder and is it in the foot of the app or
under webapp folder.
check the web.xml
allowedPaths


Mansour Al Akeel sent the following on 8/3/2011 12:11 AM:
> I have a web application that I need to run on the same server as ofbiz.
> The choices I have are either to deploy ofbiz to an external server
> (tomcat or geronimo) and deploy my other webapp to the same server, 
> or deploy the application under ofbiz and get the built-in servlet 
> container to serve the requests. 
> 
> I found what I am trying to do is described in this document 
> 
> https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz
> 
> I deployed my web application following this document. However, when I
> mount the application on something like (mount-point="/myApplicaiton")
> everything works fine. But when I make it the default application and
> mount it on ( mount-point="/"), I don't see the images on the pages.
> css files are served properly, but not images !
> 
> The error I get when I try to browse to the image URL
> is error 404. For example, http://localhost:8080/images/lines.png will
> result in error 404 only when the application is mounted on "/".
> If I mount the same application on "/myApplication" and access it with
> http://localhost:8080/myApplication/images/lines.png it will work fine !
> 
> Is there any additional configuration I need to do to get the images to
> display properly ? 
> 
> Thank you in advance.
> 
> 
> 


Re: how to hide or remove apps was Hello

2011-08-03 Thread BJ Freeman
HR depends on other modules, like partymgr.
so you can hide the other apps but they are still loaded.
prasath rajan
Gave you and example that you have to do to each ofbiz-component.xml
or
you can find what apps HR does not depend on and comment out the app in
the application/component-load.xml and specialpurpose/component-load.xml
Sorry can't give you a list of which ones.

vivek mishra sent the following on 8/3/2011 2:04 AM:
> Hello all,
> 
> I want to keep only HR manager module in ofbiz this time.so for that where i
> will have to make changes.
> 


Re: Accessing images from external application

2011-08-03 Thread Raj Saini

Mansour,

I would suggest you to create a separate virtual host e.g. 
admin.mydomain.com or erp.mydomain.com for other OFbiz applications. 
Within that virtual host, you can rewrite the URLs like:


RewriteRule ^/(.*)$ ajp://localhost:8009/$1 [P,L]



And you will be able to access your applications like 
http://admin.mydomain.com/catalog/control/main


Thanks,

Raj

PS: My previous example was missing the [P,L]. This is needed to 
indicate that this request is a proxy and once matched not to go to next 
directive. You can find more about this in mod_rewrite guide.




On Wednesday 03 August 2011 05:05 PM, Mansour Al Akeel wrote:

Great work, Raj !
One last question, what would this do with requests to other ofbiz
components? For example http://www.yourdomain.com/myportal or
http://www.yourdomain.com/projectmgr ?

What about other images under other components ?

I will try your suggestion soon.



On Wed Aug 03,2011 04:52 pm, Raj Saini wrote:

What you can do is:

1. Mount your application in OFbiz as "YourApp" and not root.
2. Create a virtual host in the Apache Web server or use the default one
if you have just one.
3. You can copy the static contents to the document root of the virtual
host.
4. Use AJP proxy to map your root request to "YourApp". For example,
Apache will forward all requests coming at
http://www.yourdomain.com/ to ajp://localhost:8080/yourapp/ and you can
copy your images to the document root of the your virtual host. In your
virtual host proxy mapping you can exclude the static contents such as
your images. I generally use mod_rewirte and below is a simple example:

RewriteCond /srv/www/yourdomain/%{REQUEST_FILENAME} !-f
RewriteCond /srv/www/yourdomain//%{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ ajp://localhost:8009/yourapp/control/$1

This directive says, if the last part of URL  is not a physical file or
directory on filesystem, forward it to OFBiz, else serve it from file
system. If you copy your images to the document root and above
conditions hold false, they will be served by Apache Web sever.

You can still access other OFbiz application using 9443 port, or create
their own virtual hosts or use a single virtual host to serve them.

Thanks,

Raj






On Wednesday 03 August 2011 04:36 PM, Mansour Al Akeel wrote:

Hello Raj,

And thank you for the explaination. I totally understand this from
Bilgin reply. I didn't think of it, until he reminded me there's an
"image" component. But I am interested to see other solutions.
With regard to you suggestion, I have the web application already
deployed and it works with or without ofbiz. But how would configuring
apache server help in solving the issue of accessing static contents
under myApplication. Assuming the I will foward all the requests on port
80 to port 8080, and 443 to 8443, how would this solve the issue ?



On Wed Aug 03,2011 04:12 pm, Raj Saini wrote:

Your problem is OFBiz image application is conflicting with the image
folder of your root application. One way to solve this is to use Apache
Web server to front your OFbiz instance. This way, you can serve the
images statically and few people claim it is faster to serve static
contents using Apache Web server than servlet engines like Tomcat. This
way, you can also easily have multiple domain serving applications from
single instance of OFbiz.

If you want to go this way, you will need mod_proxy and mod_proxy_ajp
and configure your Apache web server. There are instructions on wiki
that you can search.

Thanks,

Raj

On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:

Hardik,
can you please kindly elaborate ?
What are the parameters that I can pass through ofbiz startup scripts to
fix this issue?
I have the application in hot-deploy already.



On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:

What I would prefer is to keep the application in hot deploy folder and pass 
the parameter to the startup file  for the external application into the 
startupofbiz.bat , this would lead to the external application to start 
whenever you start Ofbiz.

Cheers,
Hardik Handa
hardik.ha...@hcl.com

-Original Message-
From: Bilgin Ibryam [mailto:bibr...@gmail.com]
Sent: Wednesday, August 03, 2011 2:20 PM
To: user@ofbiz.apache.org
Subject: Re: Accessing images from external application

I had a similar problem and if I remember right, the problem was that
images folder inside my custom app was confused with images
application existing in framework. The solution I found was to rename
images folder inside my custom app.

HTH
Bilgin Ibryam

On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
wrote:

I have a web application that I need to run on the same server as ofbiz.
The choices I have are either to deploy ofbiz to an external server
(tomcat or geronimo) and deploy my other webapp to the same server,
or deploy the application under ofbiz and get the built-in servlet
container to serve the requests.

I found what I am trying to do is described in this document

https://cw

Re: Hello

2011-08-03 Thread Jacques Le Roux
Also https://cwiki.apache.org/OFBIZ/eclipse-tips.html 


Jacques

Sam Hamilton wrote:

Hi,

Google is your friend - 
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse

Sam


On 3 Aug 2011, at 19:11, vivek mishra wrote:


Hello,

I want to run Ofbiz using eclipse ..so please explain how to use it As I m
new to this.

Thanks & Regards
*Vivek Mishra
*
*Scientific Officer/Engineer*




RE: Accessing images from external application

2011-08-03 Thread Hardik Handa
You got a better solution my friend lol :)

-Original Message-
From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] 
Sent: Wednesday, August 03, 2011 5:06 PM
To: Raj Saini
Cc: user@ofbiz.apache.org
Subject: Re: Accessing images from external application

Great work, Raj !
One last question, what would this do with requests to other ofbiz
components? For example http://www.yourdomain.com/myportal or
http://www.yourdomain.com/projectmgr ? 

What about other images under other components ?

I will try your suggestion soon.



On Wed Aug 03,2011 04:52 pm, Raj Saini wrote:
> What you can do is:
> 
> 1. Mount your application in OFbiz as "YourApp" and not root.
> 2. Create a virtual host in the Apache Web server or use the default one 
> if you have just one.
> 3. You can copy the static contents to the document root of the virtual 
> host.
> 4. Use AJP proxy to map your root request to "YourApp". For example, 
> Apache will forward all requests coming at
> http://www.yourdomain.com/ to ajp://localhost:8080/yourapp/ and you can 
> copy your images to the document root of the your virtual host. In your 
> virtual host proxy mapping you can exclude the static contents such as 
> your images. I generally use mod_rewirte and below is a simple example:
> 
> RewriteCond /srv/www/yourdomain/%{REQUEST_FILENAME} !-f
> RewriteCond /srv/www/yourdomain//%{REQUEST_FILENAME} !-d
> RewriteRule ^/(.*)$ ajp://localhost:8009/yourapp/control/$1
> 
> This directive says, if the last part of URL  is not a physical file or 
> directory on filesystem, forward it to OFBiz, else serve it from file 
> system. If you copy your images to the document root and above 
> conditions hold false, they will be served by Apache Web sever.
> 
> You can still access other OFbiz application using 9443 port, or create 
> their own virtual hosts or use a single virtual host to serve them.
> 
> Thanks,
> 
> Raj
> 
> 
> 
> 
> 
> 
> On Wednesday 03 August 2011 04:36 PM, Mansour Al Akeel wrote:
> > Hello Raj,
> >
> > And thank you for the explaination. I totally understand this from
> > Bilgin reply. I didn't think of it, until he reminded me there's an
> > "image" component. But I am interested to see other solutions.
> > With regard to you suggestion, I have the web application already
> > deployed and it works with or without ofbiz. But how would configuring
> > apache server help in solving the issue of accessing static contents
> > under myApplication. Assuming the I will foward all the requests on port
> > 80 to port 8080, and 443 to 8443, how would this solve the issue ?
> >
> >
> >
> > On Wed Aug 03,2011 04:12 pm, Raj Saini wrote:
> >> Your problem is OFBiz image application is conflicting with the image
> >> folder of your root application. One way to solve this is to use Apache
> >> Web server to front your OFbiz instance. This way, you can serve the
> >> images statically and few people claim it is faster to serve static
> >> contents using Apache Web server than servlet engines like Tomcat. This
> >> way, you can also easily have multiple domain serving applications from
> >> single instance of OFbiz.
> >>
> >> If you want to go this way, you will need mod_proxy and mod_proxy_ajp
> >> and configure your Apache web server. There are instructions on wiki
> >> that you can search.
> >>
> >> Thanks,
> >>
> >> Raj
> >>
> >> On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:
> >>> Hardik,
> >>> can you please kindly elaborate ?
> >>> What are the parameters that I can pass through ofbiz startup scripts to
> >>> fix this issue?
> >>> I have the application in hot-deploy already.
> >>>
> >>>
> >>>
> >>> On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:
>  What I would prefer is to keep the application in hot deploy folder and 
>  pass the parameter to the startup file  for the external application 
>  into the startupofbiz.bat , this would lead to the external application 
>  to start whenever you start Ofbiz.
> 
>  Cheers,
>  Hardik Handa
>  hardik.ha...@hcl.com
> 
>  -Original Message-
>  From: Bilgin Ibryam [mailto:bibr...@gmail.com]
>  Sent: Wednesday, August 03, 2011 2:20 PM
>  To: user@ofbiz.apache.org
>  Subject: Re: Accessing images from external application
> 
>  I had a similar problem and if I remember right, the problem was that
>  images folder inside my custom app was confused with images
>  application existing in framework. The solution I found was to rename
>  images folder inside my custom app.
> 
>  HTH
>  Bilgin Ibryam
> 
>  On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
> wrote:
> > I have a web application that I need to run on the same server as ofbiz.
> > The choices I have are either to deploy ofbiz to an external server
> > (tomcat or geronimo) and deploy my other webapp to the same server,
> > or deploy the application under ofbiz and get the built-in servlet
> > containe

Re: Accessing images from external application

2011-08-03 Thread Mansour Al Akeel
Great work, Raj !
One last question, what would this do with requests to other ofbiz
components? For example http://www.yourdomain.com/myportal or
http://www.yourdomain.com/projectmgr ? 

What about other images under other components ?

I will try your suggestion soon.



On Wed Aug 03,2011 04:52 pm, Raj Saini wrote:
> What you can do is:
> 
> 1. Mount your application in OFbiz as "YourApp" and not root.
> 2. Create a virtual host in the Apache Web server or use the default one 
> if you have just one.
> 3. You can copy the static contents to the document root of the virtual 
> host.
> 4. Use AJP proxy to map your root request to "YourApp". For example, 
> Apache will forward all requests coming at
> http://www.yourdomain.com/ to ajp://localhost:8080/yourapp/ and you can 
> copy your images to the document root of the your virtual host. In your 
> virtual host proxy mapping you can exclude the static contents such as 
> your images. I generally use mod_rewirte and below is a simple example:
> 
> RewriteCond /srv/www/yourdomain/%{REQUEST_FILENAME} !-f
> RewriteCond /srv/www/yourdomain//%{REQUEST_FILENAME} !-d
> RewriteRule ^/(.*)$ ajp://localhost:8009/yourapp/control/$1
> 
> This directive says, if the last part of URL  is not a physical file or 
> directory on filesystem, forward it to OFBiz, else serve it from file 
> system. If you copy your images to the document root and above 
> conditions hold false, they will be served by Apache Web sever.
> 
> You can still access other OFbiz application using 9443 port, or create 
> their own virtual hosts or use a single virtual host to serve them.
> 
> Thanks,
> 
> Raj
> 
> 
> 
> 
> 
> 
> On Wednesday 03 August 2011 04:36 PM, Mansour Al Akeel wrote:
> > Hello Raj,
> >
> > And thank you for the explaination. I totally understand this from
> > Bilgin reply. I didn't think of it, until he reminded me there's an
> > "image" component. But I am interested to see other solutions.
> > With regard to you suggestion, I have the web application already
> > deployed and it works with or without ofbiz. But how would configuring
> > apache server help in solving the issue of accessing static contents
> > under myApplication. Assuming the I will foward all the requests on port
> > 80 to port 8080, and 443 to 8443, how would this solve the issue ?
> >
> >
> >
> > On Wed Aug 03,2011 04:12 pm, Raj Saini wrote:
> >> Your problem is OFBiz image application is conflicting with the image
> >> folder of your root application. One way to solve this is to use Apache
> >> Web server to front your OFbiz instance. This way, you can serve the
> >> images statically and few people claim it is faster to serve static
> >> contents using Apache Web server than servlet engines like Tomcat. This
> >> way, you can also easily have multiple domain serving applications from
> >> single instance of OFbiz.
> >>
> >> If you want to go this way, you will need mod_proxy and mod_proxy_ajp
> >> and configure your Apache web server. There are instructions on wiki
> >> that you can search.
> >>
> >> Thanks,
> >>
> >> Raj
> >>
> >> On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:
> >>> Hardik,
> >>> can you please kindly elaborate ?
> >>> What are the parameters that I can pass through ofbiz startup scripts to
> >>> fix this issue?
> >>> I have the application in hot-deploy already.
> >>>
> >>>
> >>>
> >>> On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:
>  What I would prefer is to keep the application in hot deploy folder and 
>  pass the parameter to the startup file  for the external application 
>  into the startupofbiz.bat , this would lead to the external application 
>  to start whenever you start Ofbiz.
> 
>  Cheers,
>  Hardik Handa
>  hardik.ha...@hcl.com
> 
>  -Original Message-
>  From: Bilgin Ibryam [mailto:bibr...@gmail.com]
>  Sent: Wednesday, August 03, 2011 2:20 PM
>  To: user@ofbiz.apache.org
>  Subject: Re: Accessing images from external application
> 
>  I had a similar problem and if I remember right, the problem was that
>  images folder inside my custom app was confused with images
>  application existing in framework. The solution I found was to rename
>  images folder inside my custom app.
> 
>  HTH
>  Bilgin Ibryam
> 
>  On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
> wrote:
> > I have a web application that I need to run on the same server as ofbiz.
> > The choices I have are either to deploy ofbiz to an external server
> > (tomcat or geronimo) and deploy my other webapp to the same server,
> > or deploy the application under ofbiz and get the built-in servlet
> > container to serve the requests.
> >
> > I found what I am trying to do is described in this document
> >
> > https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz
> >
> > I deployed my web application f

Re: Hello

2011-08-03 Thread Sam Hamilton
Hi, 

Google is your friend - 
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
 

Sam 


On 3 Aug 2011, at 19:11, vivek mishra wrote:

> Hello,
> 
> I want to run Ofbiz using eclipse ..so please explain how to use it As I m
> new to this.
> 
> Thanks & Regards
> *Vivek Mishra
> *
> *Scientific Officer/Engineer*



Re: Accessing images from external application

2011-08-03 Thread Raj Saini

What you can do is:

1. Mount your application in OFbiz as "YourApp" and not root.
2. Create a virtual host in the Apache Web server or use the default one 
if you have just one.
3. You can copy the static contents to the document root of the virtual 
host.
4. Use AJP proxy to map your root request to "YourApp". For example, 
Apache will forward all requests coming at
http://www.yourdomain.com/ to ajp://localhost:8080/yourapp/ and you can 
copy your images to the document root of the your virtual host. In your 
virtual host proxy mapping you can exclude the static contents such as 
your images. I generally use mod_rewirte and below is a simple example:


RewriteCond /srv/www/yourdomain/%{REQUEST_FILENAME} !-f
RewriteCond /srv/www/yourdomain//%{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ ajp://localhost:8009/yourapp/control/$1

This directive says, if the last part of URL  is not a physical file or 
directory on filesystem, forward it to OFBiz, else serve it from file 
system. If you copy your images to the document root and above 
conditions hold false, they will be served by Apache Web sever.


You can still access other OFbiz application using 9443 port, or create 
their own virtual hosts or use a single virtual host to serve them.


Thanks,

Raj






On Wednesday 03 August 2011 04:36 PM, Mansour Al Akeel wrote:

Hello Raj,

And thank you for the explaination. I totally understand this from
Bilgin reply. I didn't think of it, until he reminded me there's an
"image" component. But I am interested to see other solutions.
With regard to you suggestion, I have the web application already
deployed and it works with or without ofbiz. But how would configuring
apache server help in solving the issue of accessing static contents
under myApplication. Assuming the I will foward all the requests on port
80 to port 8080, and 443 to 8443, how would this solve the issue ?



On Wed Aug 03,2011 04:12 pm, Raj Saini wrote:

Your problem is OFBiz image application is conflicting with the image
folder of your root application. One way to solve this is to use Apache
Web server to front your OFbiz instance. This way, you can serve the
images statically and few people claim it is faster to serve static
contents using Apache Web server than servlet engines like Tomcat. This
way, you can also easily have multiple domain serving applications from
single instance of OFbiz.

If you want to go this way, you will need mod_proxy and mod_proxy_ajp
and configure your Apache web server. There are instructions on wiki
that you can search.

Thanks,

Raj

On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:

Hardik,
can you please kindly elaborate ?
What are the parameters that I can pass through ofbiz startup scripts to
fix this issue?
I have the application in hot-deploy already.



On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:

What I would prefer is to keep the application in hot deploy folder and pass 
the parameter to the startup file  for the external application into the 
startupofbiz.bat , this would lead to the external application to start 
whenever you start Ofbiz.

Cheers,
Hardik Handa
hardik.ha...@hcl.com

-Original Message-
From: Bilgin Ibryam [mailto:bibr...@gmail.com]
Sent: Wednesday, August 03, 2011 2:20 PM
To: user@ofbiz.apache.org
Subject: Re: Accessing images from external application

I had a similar problem and if I remember right, the problem was that
images folder inside my custom app was confused with images
application existing in framework. The solution I found was to rename
images folder inside my custom app.

HTH
Bilgin Ibryam

On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
   wrote:

I have a web application that I need to run on the same server as ofbiz.
The choices I have are either to deploy ofbiz to an external server
(tomcat or geronimo) and deploy my other webapp to the same server,
or deploy the application under ofbiz and get the built-in servlet
container to serve the requests.

I found what I am trying to do is described in this document

https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz

I deployed my web application following this document. However, when I
mount the application on something like (mount-point="/myApplicaiton")
everything works fine. But when I make it the default application and
mount it on ( mount-point="/"), I don't see the images on the pages.
css files are served properly, but not images !

The error I get when I try to browse to the image URL
is error 404. For example, http://localhost:8080/images/lines.png will
result in error 404 only when the application is mounted on "/".
If I mount the same application on "/myApplication" and access it with
http://localhost:8080/myApplication/images/lines.png it will work fine !

Is there any additional configuration I need to do to get the images to
display properly ?

Thank you in advance.




::DISCLAIMER::
---

Hello

2011-08-03 Thread vivek mishra
Hello,

I want to run Ofbiz using eclipse ..so please explain how to use it As I m
new to this.

Thanks & Regards
*Vivek Mishra
*
*Scientific Officer/Engineer*


Re: Accessing images from external application

2011-08-03 Thread Mansour Al Akeel
Hello Raj,

And thank you for the explaination. I totally understand this from
Bilgin reply. I didn't think of it, until he reminded me there's an
"image" component. But I am interested to see other solutions.
With regard to you suggestion, I have the web application already
deployed and it works with or without ofbiz. But how would configuring
apache server help in solving the issue of accessing static contents
under myApplication. Assuming the I will foward all the requests on port
80 to port 8080, and 443 to 8443, how would this solve the issue ? 



On Wed Aug 03,2011 04:12 pm, Raj Saini wrote:
> Your problem is OFBiz image application is conflicting with the image 
> folder of your root application. One way to solve this is to use Apache 
> Web server to front your OFbiz instance. This way, you can serve the 
> images statically and few people claim it is faster to serve static 
> contents using Apache Web server than servlet engines like Tomcat. This 
> way, you can also easily have multiple domain serving applications from 
> single instance of OFbiz.
> 
> If you want to go this way, you will need mod_proxy and mod_proxy_ajp 
> and configure your Apache web server. There are instructions on wiki 
> that you can search.
> 
> Thanks,
> 
> Raj
> 
> On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:
> > Hardik,
> > can you please kindly elaborate ?
> > What are the parameters that I can pass through ofbiz startup scripts to
> > fix this issue?
> > I have the application in hot-deploy already.
> >
> >
> >
> > On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:
> >> What I would prefer is to keep the application in hot deploy folder and 
> >> pass the parameter to the startup file  for the external application into 
> >> the startupofbiz.bat , this would lead to the external application to 
> >> start whenever you start Ofbiz.
> >>
> >> Cheers,
> >> Hardik Handa
> >> hardik.ha...@hcl.com
> >>
> >> -Original Message-
> >> From: Bilgin Ibryam [mailto:bibr...@gmail.com]
> >> Sent: Wednesday, August 03, 2011 2:20 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Accessing images from external application
> >>
> >> I had a similar problem and if I remember right, the problem was that
> >> images folder inside my custom app was confused with images
> >> application existing in framework. The solution I found was to rename
> >> images folder inside my custom app.
> >>
> >> HTH
> >> Bilgin Ibryam
> >>
> >> On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
> >>   wrote:
> >>> I have a web application that I need to run on the same server as ofbiz.
> >>> The choices I have are either to deploy ofbiz to an external server
> >>> (tomcat or geronimo) and deploy my other webapp to the same server,
> >>> or deploy the application under ofbiz and get the built-in servlet
> >>> container to serve the requests.
> >>>
> >>> I found what I am trying to do is described in this document
> >>>
> >>> https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz
> >>>
> >>> I deployed my web application following this document. However, when I
> >>> mount the application on something like (mount-point="/myApplicaiton")
> >>> everything works fine. But when I make it the default application and
> >>> mount it on ( mount-point="/"), I don't see the images on the pages.
> >>> css files are served properly, but not images !
> >>>
> >>> The error I get when I try to browse to the image URL
> >>> is error 404. For example, http://localhost:8080/images/lines.png will
> >>> result in error 404 only when the application is mounted on "/".
> >>> If I mount the same application on "/myApplication" and access it with
> >>> http://localhost:8080/myApplication/images/lines.png it will work fine !
> >>>
> >>> Is there any additional configuration I need to do to get the images to
> >>> display properly ?
> >>>
> >>> Thank you in advance.
> >>>
> >>>
> >>>
> >> ::DISCLAIMER::
> >> ---
> >>
> >> The contents of this e-mail and any attachment(s) are confidential and 
> >> intended for the named recipient(s) only.
> >> It shall not attach any liability on the originator or HCL or its 
> >> affiliates. Any views or opinions presented in
> >> this email are solely those of the author and may not necessarily reflect 
> >> the opinions of HCL or its affiliates.
> >> Any form of reproduction, dissemination, copying, disclosure, 
> >> modification, distribution and / or publication of
> >> this message without the prior written consent of the author of this 
> >> e-mail is strictly prohibited. If you have
> >> received this email in error please delete it and notify the sender 
> >> immediately. Before opening any mail and
> >> attachments please check them for viruses and defect.
> >>
> >> --

Re: Login with facebook

2011-08-03 Thread Sumit Pandit
Hi All,

Any idea ??

On Mon, Aug 1, 2011 at 7:41 PM, Eric Bowman  wrote:

>
>
> Sumit Pandit  wrote:
>
> >Hi All,
> >
> >Did any one implemented Login with facebook functionality before.
> >Any suggestion would be helpful.
> >
> >--
> >Thanks and Regards
> >Sumit Pandit
>



-- 
Thanks and Regards
Sumit Pandit


Re: Accessing images from external application

2011-08-03 Thread Raj Saini
Your problem is OFBiz image application is conflicting with the image 
folder of your root application. One way to solve this is to use Apache 
Web server to front your OFbiz instance. This way, you can serve the 
images statically and few people claim it is faster to serve static 
contents using Apache Web server than servlet engines like Tomcat. This 
way, you can also easily have multiple domain serving applications from 
single instance of OFbiz.


If you want to go this way, you will need mod_proxy and mod_proxy_ajp 
and configure your Apache web server. There are instructions on wiki 
that you can search.


Thanks,

Raj

On Wednesday 03 August 2011 03:22 PM, Mansour Al Akeel wrote:

Hardik,
can you please kindly elaborate ?
What are the parameters that I can pass through ofbiz startup scripts to
fix this issue?
I have the application in hot-deploy already.



On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:

What I would prefer is to keep the application in hot deploy folder and pass 
the parameter to the startup file  for the external application into the 
startupofbiz.bat , this would lead to the external application to start 
whenever you start Ofbiz.

Cheers,
Hardik Handa
hardik.ha...@hcl.com

-Original Message-
From: Bilgin Ibryam [mailto:bibr...@gmail.com]
Sent: Wednesday, August 03, 2011 2:20 PM
To: user@ofbiz.apache.org
Subject: Re: Accessing images from external application

I had a similar problem and if I remember right, the problem was that
images folder inside my custom app was confused with images
application existing in framework. The solution I found was to rename
images folder inside my custom app.

HTH
Bilgin Ibryam

On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
  wrote:

I have a web application that I need to run on the same server as ofbiz.
The choices I have are either to deploy ofbiz to an external server
(tomcat or geronimo) and deploy my other webapp to the same server,
or deploy the application under ofbiz and get the built-in servlet
container to serve the requests.

I found what I am trying to do is described in this document

https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz

I deployed my web application following this document. However, when I
mount the application on something like (mount-point="/myApplicaiton")
everything works fine. But when I make it the default application and
mount it on ( mount-point="/"), I don't see the images on the pages.
css files are served properly, but not images !

The error I get when I try to browse to the image URL
is error 404. For example, http://localhost:8080/images/lines.png will
result in error 404 only when the application is mounted on "/".
If I mount the same application on "/myApplication" and access it with
http://localhost:8080/myApplication/images/lines.png it will work fine !

Is there any additional configuration I need to do to get the images to
display properly ?

Thank you in advance.




::DISCLAIMER::
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

---




Re: Accessing images from external application

2011-08-03 Thread Mansour Al Akeel
Hardik,
can you please kindly elaborate ?
What are the parameters that I can pass through ofbiz startup scripts to
fix this issue? 
I have the application in hot-deploy already.



On Wed Aug 03,2011 02:27 pm, Hardik Handa wrote:
> What I would prefer is to keep the application in hot deploy folder and pass 
> the parameter to the startup file  for the external application into the 
> startupofbiz.bat , this would lead to the external application to start 
> whenever you start Ofbiz.
> 
> Cheers,
> Hardik Handa
> hardik.ha...@hcl.com
> 
> -Original Message-
> From: Bilgin Ibryam [mailto:bibr...@gmail.com]
> Sent: Wednesday, August 03, 2011 2:20 PM
> To: user@ofbiz.apache.org
> Subject: Re: Accessing images from external application
> 
> I had a similar problem and if I remember right, the problem was that
> images folder inside my custom app was confused with images
> application existing in framework. The solution I found was to rename
> images folder inside my custom app.
> 
> HTH
> Bilgin Ibryam
> 
> On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
>  wrote:
> > I have a web application that I need to run on the same server as ofbiz.
> > The choices I have are either to deploy ofbiz to an external server
> > (tomcat or geronimo) and deploy my other webapp to the same server,
> > or deploy the application under ofbiz and get the built-in servlet
> > container to serve the requests.
> >
> > I found what I am trying to do is described in this document
> >
> > https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz
> >
> > I deployed my web application following this document. However, when I
> > mount the application on something like (mount-point="/myApplicaiton")
> > everything works fine. But when I make it the default application and
> > mount it on ( mount-point="/"), I don't see the images on the pages.
> > css files are served properly, but not images !
> >
> > The error I get when I try to browse to the image URL
> > is error 404. For example, http://localhost:8080/images/lines.png will
> > result in error 404 only when the application is mounted on "/".
> > If I mount the same application on "/myApplication" and access it with
> > http://localhost:8080/myApplication/images/lines.png it will work fine !
> >
> > Is there any additional configuration I need to do to get the images to
> > display properly ?
> >
> > Thank you in advance.
> >
> >
> >
> 
> ::DISCLAIMER::
> ---
> 
> The contents of this e-mail and any attachment(s) are confidential and 
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its affiliates. 
> Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect the 
> opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification, 
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail 
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender 
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
> 
> ---


Re: Hello

2011-08-03 Thread prasanth r
no way. you have to do it in all the applications which are all you do not
want to show it in main menu.


On Wed, Aug 3, 2011 at 2:44 PM, vivek mishra  wrote:

> Hello,
>
> thanks prasath but there are too many ofbiz-component.xmlin which i
> will
> have to change.
>
> On Wed, Aug 3, 2011 at 2:40 PM, prasanth r  >wrote:
>
> > hi vivek,
> >
> > you have to change ofbiz-component.xml file.
> >
> > In this file app-bar-display should be false to hide it in the main menu.
> >
> >  >title="eCommerce Clone"
> >server="default-server"
> >location="webapp/ecomclone"
> >mount-point="/ecomclone"
> >app-bar-display="false"/>  <
> >
> > regards
> > prasath rajan
> >
> >
> >
> >
> > On Wed, Aug 3, 2011 at 2:34 PM, vivek mishra 
> wrote:
> >
> > > Hello all,
> > >
> > > I want to keep only HR manager module in ofbiz this time.so for that
> > where
> > > i
> > > will have to make changes.
> > >
> >
>


Re: Hello

2011-08-03 Thread vivek mishra
Hello,

thanks prasath but there are too many ofbiz-component.xmlin which i will
have to change.

On Wed, Aug 3, 2011 at 2:40 PM, prasanth r wrote:

> hi vivek,
>
> you have to change ofbiz-component.xml file.
>
> In this file app-bar-display should be false to hide it in the main menu.
>
> title="eCommerce Clone"
>server="default-server"
>location="webapp/ecomclone"
>mount-point="/ecomclone"
>app-bar-display="false"/>  <
>
> regards
> prasath rajan
>
>
>
>
> On Wed, Aug 3, 2011 at 2:34 PM, vivek mishra  wrote:
>
> > Hello all,
> >
> > I want to keep only HR manager module in ofbiz this time.so for that
> where
> > i
> > will have to make changes.
> >
>


Re: Hello

2011-08-03 Thread prasanth r
hi vivek,

you have to change ofbiz-component.xml file.

In this file app-bar-display should be false to hide it in the main menu.

  <

regards
prasath rajan




On Wed, Aug 3, 2011 at 2:34 PM, vivek mishra  wrote:

> Hello all,
>
> I want to keep only HR manager module in ofbiz this time.so for that where
> i
> will have to make changes.
>


Hello

2011-08-03 Thread vivek mishra
Hello all,

I want to keep only HR manager module in ofbiz this time.so for that where i
will have to make changes.


RE: Accessing images from external application

2011-08-03 Thread Hardik Handa
What I would prefer is to keep the application in hot deploy folder and pass 
the parameter to the startup file  for the external application into the 
startupofbiz.bat , this would lead to the external application to start 
whenever you start Ofbiz.

Cheers,
Hardik Handa
hardik.ha...@hcl.com

-Original Message-
From: Bilgin Ibryam [mailto:bibr...@gmail.com]
Sent: Wednesday, August 03, 2011 2:20 PM
To: user@ofbiz.apache.org
Subject: Re: Accessing images from external application

I had a similar problem and if I remember right, the problem was that
images folder inside my custom app was confused with images
application existing in framework. The solution I found was to rename
images folder inside my custom app.

HTH
Bilgin Ibryam

On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
 wrote:
> I have a web application that I need to run on the same server as ofbiz.
> The choices I have are either to deploy ofbiz to an external server
> (tomcat or geronimo) and deploy my other webapp to the same server,
> or deploy the application under ofbiz and get the built-in servlet
> container to serve the requests.
>
> I found what I am trying to do is described in this document
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz
>
> I deployed my web application following this document. However, when I
> mount the application on something like (mount-point="/myApplicaiton")
> everything works fine. But when I make it the default application and
> mount it on ( mount-point="/"), I don't see the images on the pages.
> css files are served properly, but not images !
>
> The error I get when I try to browse to the image URL
> is error 404. For example, http://localhost:8080/images/lines.png will
> result in error 404 only when the application is mounted on "/".
> If I mount the same application on "/myApplication" and access it with
> http://localhost:8080/myApplication/images/lines.png it will work fine !
>
> Is there any additional configuration I need to do to get the images to
> display properly ?
>
> Thank you in advance.
>
>
>

::DISCLAIMER::
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

---


Re: Accessing images from external application

2011-08-03 Thread Bilgin Ibryam
I had a similar problem and if I remember right, the problem was that
images folder inside my custom app was confused with images
application existing in framework. The solution I found was to rename
images folder inside my custom app.

HTH
Bilgin Ibryam

On Wed, Aug 3, 2011 at 8:11 AM, Mansour Al Akeel
 wrote:
> I have a web application that I need to run on the same server as ofbiz.
> The choices I have are either to deploy ofbiz to an external server
> (tomcat or geronimo) and deploy my other webapp to the same server,
> or deploy the application under ofbiz and get the built-in servlet
> container to serve the requests.
>
> I found what I am trying to do is described in this document
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz
>
> I deployed my web application following this document. However, when I
> mount the application on something like (mount-point="/myApplicaiton")
> everything works fine. But when I make it the default application and
> mount it on ( mount-point="/"), I don't see the images on the pages.
> css files are served properly, but not images !
>
> The error I get when I try to browse to the image URL
> is error 404. For example, http://localhost:8080/images/lines.png will
> result in error 404 only when the application is mounted on "/".
> If I mount the same application on "/myApplication" and access it with
> http://localhost:8080/myApplication/images/lines.png it will work fine !
>
> Is there any additional configuration I need to do to get the images to
> display properly ?
>
> Thank you in advance.
>
>
>


Re: hello

2011-08-03 Thread prasanth r
hi vivek,

In dos prompt run the command
netstat -ao |findstr "8080"

you will get the process Id of the service which is using the port 8080.

then goto taskmanager and find the process Id and check the application and
close it.

regards
prasath rajan




On Wed, Aug 3, 2011 at 12:42 PM, Santosh Singh wrote:

> *Dear  Vivek,*
> Are you Using multiple instance.
> Then All it will not work.
>
> Let me know, in that case the solution is differ.*
>
> Thanks & Regards
> *
> Sincerely Yours,
>
> Santosh Singh.
> __
>
> MCA / Ruby,  Java developer
>
> +91 98267 62844/ santoshs.ind...@gmail.co
> *m
> *
>
>
>
>
> On Tue, Aug 2, 2011 at 8:42 PM, prasanth r  >wrote:
>
> > hi vivek,
> >
> > is it rectified?
> >
> > thanks
> > prasath rajan
> >
> > On Tue, Aug 2, 2011 at 5:29 PM, harish  wrote:
> >
> > > or may be another reason,
> > > you have started the ofbiz using startofbiz.sh again you would've done
> > the
> > > same, instead stop the ofbiz using stopofbiz.sh wait for a while and
> > start
> > > again
> > >
> > > On Tue, Aug 2, 2011 at 5:08 PM, vivek mishra [via OFBiz] <
> > > ml-node+3712047-658467471-256...@n4.nabble.com> wrote:
> > >
> > > > vivek mishra to user-request
> > > > show details 5:02 pm
> > > >
> > > > Hello,
> > > >
> > > > Got an error while running ./startofbiz.sh command in
> > apache-ofbiz-10.04
> > > on
> > > >
> > > > linux.
> > > > The error was:
> > > >
> > > > Exception in thread "main" java.net.BindException: Address already in
> > use
> > > > at java.net.PlainSocketImpl.socketBind(Native Method)
> > > > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
> > > > at java.net.ServerSocket.bind(ServerSocket.java:328)
> > > > at java.net.ServerSocket.(ServerSocket.java:194)
> > > > at
> > org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
> > > > at org.ofbiz.base.start.Start.init(Start.java:93)
> > > > at org.ofbiz.base.start.Start.main(Start.java:410)
> > > >
> > > >
> > > > --
> > > >  If you reply to this email, your message will be added to the
> > discussion
> > > > below:
> > > > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712047.html
> > > >  To start a new topic under OFBiz, email
> > > > ml-node+135035-1074011943-256...@n4.nabble.com
> > > > To unsubscribe from OFBiz, click here<
> > >
> >
> http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135035&code=aGF2ZWFsaW5rQGdtYWlsLmNvbXwxMzUwMzV8MjM5NDI5MzY=
> > > >.
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Regards,
> > > Harish Bramhanand
> > >
> > >
> > > -
> > > Regards,
> > > Harish
> > > --
> > > View this message in context:
> > > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712083.html
> > > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
>


Re: hello

2011-08-03 Thread Santosh Singh
*Dear  Vivek,*
Are you Using multiple instance.
Then All it will not work.

Let me know, in that case the solution is differ.*

Thanks & Regards
*
Sincerely Yours,

Santosh Singh.
__

MCA / Ruby,  Java developer

+91 98267 62844/ santoshs.ind...@gmail.co
*m
*




On Tue, Aug 2, 2011 at 8:42 PM, prasanth r wrote:

> hi vivek,
>
> is it rectified?
>
> thanks
> prasath rajan
>
> On Tue, Aug 2, 2011 at 5:29 PM, harish  wrote:
>
> > or may be another reason,
> > you have started the ofbiz using startofbiz.sh again you would've done
> the
> > same, instead stop the ofbiz using stopofbiz.sh wait for a while and
> start
> > again
> >
> > On Tue, Aug 2, 2011 at 5:08 PM, vivek mishra [via OFBiz] <
> > ml-node+3712047-658467471-256...@n4.nabble.com> wrote:
> >
> > > vivek mishra to user-request
> > > show details 5:02 pm
> > >
> > > Hello,
> > >
> > > Got an error while running ./startofbiz.sh command in
> apache-ofbiz-10.04
> > on
> > >
> > > linux.
> > > The error was:
> > >
> > > Exception in thread "main" java.net.BindException: Address already in
> use
> > > at java.net.PlainSocketImpl.socketBind(Native Method)
> > > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
> > > at java.net.ServerSocket.bind(ServerSocket.java:328)
> > > at java.net.ServerSocket.(ServerSocket.java:194)
> > > at
> org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
> > > at org.ofbiz.base.start.Start.init(Start.java:93)
> > > at org.ofbiz.base.start.Start.main(Start.java:410)
> > >
> > >
> > > --
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712047.html
> > >  To start a new topic under OFBiz, email
> > > ml-node+135035-1074011943-256...@n4.nabble.com
> > > To unsubscribe from OFBiz, click here<
> >
> http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135035&code=aGF2ZWFsaW5rQGdtYWlsLmNvbXwxMzUwMzV8MjM5NDI5MzY=
> > >.
> > >
> > >
> >
> >
> >
> > --
> > Regards,
> > Harish Bramhanand
> >
> >
> > -
> > Regards,
> > Harish
> > --
> > View this message in context:
> > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712083.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Accessing images from external application

2011-08-03 Thread Mansour Al Akeel
I have a web application that I need to run on the same server as ofbiz.
The choices I have are either to deploy ofbiz to an external server
(tomcat or geronimo) and deploy my other webapp to the same server, 
or deploy the application under ofbiz and get the built-in servlet 
container to serve the requests. 

I found what I am trying to do is described in this document 

https://cwiki.apache.org/confluence/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz

I deployed my web application following this document. However, when I
mount the application on something like (mount-point="/myApplicaiton")
everything works fine. But when I make it the default application and
mount it on ( mount-point="/"), I don't see the images on the pages.
css files are served properly, but not images !

The error I get when I try to browse to the image URL
is error 404. For example, http://localhost:8080/images/lines.png will
result in error 404 only when the application is mounted on "/".
If I mount the same application on "/myApplication" and access it with
http://localhost:8080/myApplication/images/lines.png it will work fine !

Is there any additional configuration I need to do to get the images to
display properly ? 

Thank you in advance.