I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this link
http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many errors about "command not found". How can I fix this? This is log file --------------------------------------------- $./deploy.sh removed META-INF removed libs removed wars ./deploy.sh: line 43: patch: command not found created entityengine-jboss.xml moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties installed ofbiz libraries ./deploy.sh: line 169: jar: command not found ./deploy.sh: line 170: jar: command not found ./deploy.sh: line 171: jar: command not found ./deploy.sh: line 172: jar: command not found ... .. . packaged and installed ofbiz configuration directories linked webapp directories installed application.xml updated bsh.jar fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties -------------------------------------------------- Nattanicha Rittammanart (Programmer) Haadthip Public Company Limited Haadyai, Songkhla -------------------------------------------------------- Master of Science (Software Engineering) Shool of Engineering and Technology Asian Institute of Technology P.O. Box 4, Klongluang, Pathumthani --------------------------------------------------------- [hidden email] [hidden email] |
It looks like you are trying to run the shell script on Windows, is
this correct? It cant find the jar command. Do you have a JDK installed with the bin directory on the path? -Trevor On Sun, Sep 7, 2008 at 10:54 PM, Nattanicha R. <[hidden email]> wrote: > I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this link > http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many errors > about "command not found". How can I fix this? > > This is log file > --------------------------------------------- > $./deploy.sh > removed META-INF > removed libs > removed wars > ./deploy.sh: line 43: patch: command not found > created entityengine-jboss.xml > moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml > moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties > installed ofbiz libraries > ./deploy.sh: line 169: jar: command not found > ./deploy.sh: line 170: jar: command not found > ./deploy.sh: line 171: jar: command not found > ./deploy.sh: line 172: jar: command not found > ... > .. > . > packaged and installed ofbiz configuration directories > linked webapp directories > installed application.xml > updated bsh.jar > fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml > fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties > -------------------------------------------------- > > Nattanicha Rittammanart (Programmer) > Haadthip Public Company Limited > Haadyai, Songkhla > -------------------------------------------------------- > Master of Science (Software Engineering) > Shool of Engineering and Technology > Asian Institute of Technology > P.O. Box 4, Klongluang, Pathumthani > --------------------------------------------------------- > [hidden email] > [hidden email] > |
Administrator
|
From: "Trevor Whitlock" <[hidden email]>
> It looks like you are trying to run the shell script on Windows, is > this correct? > > It cant find the jar command. Do you have a JDK installed with the > bin directory on the path? > > -Trevor If it's right (seems from log), moreover to run on Windows you will have to migrate the .sh to .bat (I suppose there are none) Jacques > On Sun, Sep 7, 2008 at 10:54 PM, Nattanicha R. <[hidden email]> wrote: >> I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this link >> http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many errors >> about "command not found". How can I fix this? >> >> This is log file >> --------------------------------------------- >> $./deploy.sh >> removed META-INF >> removed libs >> removed wars >> ./deploy.sh: line 43: patch: command not found >> created entityengine-jboss.xml >> moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >> moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >> installed ofbiz libraries >> ./deploy.sh: line 169: jar: command not found >> ./deploy.sh: line 170: jar: command not found >> ./deploy.sh: line 171: jar: command not found >> ./deploy.sh: line 172: jar: command not found >> ... >> .. >> . >> packaged and installed ofbiz configuration directories >> linked webapp directories >> installed application.xml >> updated bsh.jar >> fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >> fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >> -------------------------------------------------- >> >> Nattanicha Rittammanart (Programmer) >> Haadthip Public Company Limited >> Haadyai, Songkhla >> -------------------------------------------------------- >> Master of Science (Software Engineering) >> Shool of Engineering and Technology >> Asian Institute of Technology >> P.O. Box 4, Klongluang, Pathumthani >> --------------------------------------------------------- >> [hidden email] >> [hidden email] >> > |
Yes, that's correct, I tried to run the shell script on Windows by using
cygwin because there is no .bat file in template. So, the best way should be I must migrate .sh to .bat, right? I already had JDK in my machine, if I don't need to migrate to .bat, do I need to set path for cygwin? 2008/9/8 Jacques Le Roux <[hidden email]> > From: "Trevor Whitlock" <[hidden email]> > >> It looks like you are trying to run the shell script on Windows, is >> this correct? >> >> It cant find the jar command. Do you have a JDK installed with the >> bin directory on the path? >> >> -Trevor >> > > If it's right (seems from log), moreover to run on Windows you will have to > migrate the .sh to .bat (I suppose there are none) > > Jacques > > > > On Sun, Sep 7, 2008 at 10:54 PM, Nattanicha R. <[hidden email]> >> wrote: >> >>> I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this >>> link >>> http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many >>> errors >>> about "command not found". How can I fix this? >>> >>> This is log file >>> --------------------------------------------- >>> $./deploy.sh >>> removed META-INF >>> removed libs >>> removed wars >>> ./deploy.sh: line 43: patch: command not found >>> created entityengine-jboss.xml >>> moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >>> moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >>> installed ofbiz libraries >>> ./deploy.sh: line 169: jar: command not found >>> ./deploy.sh: line 170: jar: command not found >>> ./deploy.sh: line 171: jar: command not found >>> ./deploy.sh: line 172: jar: command not found >>> ... >>> .. >>> . >>> packaged and installed ofbiz configuration directories >>> linked webapp directories >>> installed application.xml >>> updated bsh.jar >>> fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >>> fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >>> -------------------------------------------------- >>> >>> Nattanicha Rittammanart (Programmer) >>> Haadthip Public Company Limited >>> Haadyai, Songkhla >>> -------------------------------------------------------- >>> Master of Science (Software Engineering) >>> Shool of Engineering and Technology >>> Asian Institute of Technology >>> P.O. Box 4, Klongluang, Pathumthani >>> --------------------------------------------------------- >>> [hidden email] >>> [hidden email] >>> >>> >> -- -----------------^^"Nong Kae^^"----------------- ณัฏฐณิชา ฤทธิ์ธรรมนาถ Nattanicha Rittammanart (Programmer) Haadthip Public Company Limited Haadyai, Songkhla -------------------------------------------------------- Master of Science (Software Engineering) Shool of Engineering and Technology Asian Institute of Technology P.O. Box 4, Klongluang, Pathumthani --------------------------------------------------------- [hidden email] [hidden email] |
If you have ant installed, there is a ant script in that same
directory that can be run on Windows or anything else. The build.xml file in that same directory does the same thing as the deploy.sh file. -Trevor 2008/9/8 Nattanicha R. <[hidden email]>: > Yes, that's correct, I tried to run the shell script on Windows by using > cygwin because there is no .bat file in template. So, the best way should be > I must migrate .sh to .bat, right? I already had JDK in my machine, if I > don't need to migrate to .bat, do I need to set path for cygwin? > > 2008/9/8 Jacques Le Roux <[hidden email]> > >> From: "Trevor Whitlock" <[hidden email]> >> >>> It looks like you are trying to run the shell script on Windows, is >>> this correct? >>> >>> It cant find the jar command. Do you have a JDK installed with the >>> bin directory on the path? >>> >>> -Trevor >>> >> >> If it's right (seems from log), moreover to run on Windows you will have to >> migrate the .sh to .bat (I suppose there are none) >> >> Jacques >> >> >> >> On Sun, Sep 7, 2008 at 10:54 PM, Nattanicha R. <[hidden email]> >>> wrote: >>> >>>> I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this >>>> link >>>> http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many >>>> errors >>>> about "command not found". How can I fix this? >>>> >>>> This is log file >>>> --------------------------------------------- >>>> $./deploy.sh >>>> removed META-INF >>>> removed libs >>>> removed wars >>>> ./deploy.sh: line 43: patch: command not found >>>> created entityengine-jboss.xml >>>> moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >>>> moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >>>> installed ofbiz libraries >>>> ./deploy.sh: line 169: jar: command not found >>>> ./deploy.sh: line 170: jar: command not found >>>> ./deploy.sh: line 171: jar: command not found >>>> ./deploy.sh: line 172: jar: command not found >>>> ... >>>> .. >>>> . >>>> packaged and installed ofbiz configuration directories >>>> linked webapp directories >>>> installed application.xml >>>> updated bsh.jar >>>> fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >>>> fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >>>> -------------------------------------------------- >>>> >>>> Nattanicha Rittammanart (Programmer) >>>> Haadthip Public Company Limited >>>> Haadyai, Songkhla >>>> -------------------------------------------------------- >>>> Master of Science (Software Engineering) >>>> Shool of Engineering and Technology >>>> Asian Institute of Technology >>>> P.O. Box 4, Klongluang, Pathumthani >>>> --------------------------------------------------------- >>>> [hidden email] >>>> [hidden email] >>>> >>>> >>> > > > -- > -----------------^^"Nong Kae^^"----------------- > ณัฏฐณิชา ฤทธิ์ธรรมนาถ > Nattanicha Rittammanart (Programmer) > Haadthip Public Company Limited > Haadyai, Songkhla > -------------------------------------------------------- > Master of Science (Software Engineering) > Shool of Engineering and Technology > Asian Institute of Technology > P.O. Box 4, Klongluang, Pathumthani > --------------------------------------------------------- > [hidden email] > [hidden email] > |
Administrator
|
In reply to this post by Nattanicha R.
From: "Nattanicha R." <[hidden email]>
> Yes, that's correct, I tried to run the shell script on Windows by using > cygwin because there is no .bat file in template. So, the best way should be > I must migrate .sh to .bat, right? I already had JDK in my machine, if I > don't need to migrate to .bat, do I need to set path for cygwin? 1st I must say that I did not experiment with Cygwin (actually I did not even test ofbiz inside JBoss 4.2.2). I did not check either Trevor's solution (deploy.sh = build.xml), but after a quick compare in Eclipse seems right ! I just wonder why they are both there, but that's another story. Jacques > 2008/9/8 Jacques Le Roux <[hidden email]> > >> From: "Trevor Whitlock" <[hidden email]> >> >>> It looks like you are trying to run the shell script on Windows, is >>> this correct? >>> >>> It cant find the jar command. Do you have a JDK installed with the >>> bin directory on the path? >>> >>> -Trevor >>> >> >> If it's right (seems from log), moreover to run on Windows you will have to >> migrate the .sh to .bat (I suppose there are none) >> >> Jacques >> >> >> >> On Sun, Sep 7, 2008 at 10:54 PM, Nattanicha R. <[hidden email]> >>> wrote: >>> >>>> I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this >>>> link >>>> http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many >>>> errors >>>> about "command not found". How can I fix this? >>>> >>>> This is log file >>>> --------------------------------------------- >>>> $./deploy.sh >>>> removed META-INF >>>> removed libs >>>> removed wars >>>> ./deploy.sh: line 43: patch: command not found >>>> created entityengine-jboss.xml >>>> moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >>>> moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >>>> installed ofbiz libraries >>>> ./deploy.sh: line 169: jar: command not found >>>> ./deploy.sh: line 170: jar: command not found >>>> ./deploy.sh: line 171: jar: command not found >>>> ./deploy.sh: line 172: jar: command not found >>>> ... >>>> .. >>>> . >>>> packaged and installed ofbiz configuration directories >>>> linked webapp directories >>>> installed application.xml >>>> updated bsh.jar >>>> fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml >>>> fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties >>>> -------------------------------------------------- >>>> >>>> Nattanicha Rittammanart (Programmer) >>>> Haadthip Public Company Limited >>>> Haadyai, Songkhla >>>> -------------------------------------------------------- >>>> Master of Science (Software Engineering) >>>> Shool of Engineering and Technology >>>> Asian Institute of Technology >>>> P.O. Box 4, Klongluang, Pathumthani >>>> --------------------------------------------------------- >>>> [hidden email] >>>> [hidden email] >>>> >>>> >>> > > > -- > -----------------^^"Nong Kae^^"----------------- > ณัฏฐณิชา ฤทธิ์ธรรมนาถ > Nattanicha Rittammanart (Programmer) > Haadthip Public Company Limited > Haadyai, Songkhla > -------------------------------------------------------- > Master of Science (Software Engineering) > Shool of Engineering and Technology > Asian Institute of Technology > P.O. Box 4, Klongluang, Pathumthani > --------------------------------------------------------- > [hidden email] > [hidden email] > |
In reply to this post by Trevor Whitlock
Hello,
I've inactivated a product in the product_category_member table by setting the thru date to something before the current date. The product is not showing up in the catalog through browsing. But the product is still showing up in a search and can be added to the shopping cart. Is there a way to deactivate the product in the search, other than by removing the keywords for this product from the product_keyword table? Thanks for the help Alex |
Better way is to setup special search category. Add all your you want to
be searched in this category. If you want to exclude a product from search result, just remove it from this category. Thanks, Raj Alex Melnik wrote: > Hello, > > I've inactivated a product in the product_category_member table by setting the thru date to something before the current date. The product is not showing up in the catalog through browsing. But the product is still showing up in a search and can be added to the shopping cart. Is there a way to deactivate the product in the search, other than by removing the keywords for this product from the product_keyword table? > > Thanks for the help > > Alex > > > |
I just have the ETL that updates the products remove the keywords for the product from a keyword table.
>>> Raj Saini <[hidden email]> 9/11/2008 11:16 AM >>> Better way is to setup special search category. Add all your you want to be searched in this category. If you want to exclude a product from search result, just remove it from this category. Thanks, Raj Alex Melnik wrote: > Hello, > > I've inactivated a product in the product_category_member table by setting the thru date to something before the current date. The product is not showing up in the catalog through browsing. But the product is still showing up in a search and can be added to the shopping cart. Is there a way to deactivate the product in the search, other than by removing the keywords for this product from the product_keyword table? > > Thanks for the help > > Alex > > > |
In reply to this post by Nattanicha R.
anyone please provide the steps to run ofbiz using JBOSS 4.2.2
ASAP wating for reply Thanks. Jitender -------------------------------------------------------------
|
Refer http://www.nabble.com/How-to-integrate-ofbiz-in-JBoss-to25676607.html
|
Free forum by Nabble | Edit this page |