Hello,
I have downloaded J2SE 5.0, development kit with NetBeans. I have also
downloaded ofbiz-trunk-current from http://build.ofbiz.org/
I was trying to execute ofbiz.jar(by double clicking in windows) but file
does not respond. It does not give either error or starts executing.
I have also tried running ofbiz-trunk-current\ofbiz-trunk\startofbiz(batch file), but it does not execute, cmd prompt flashes for few seconds and goes away without executing the file and i dont get error either.
I have windows XP Pro.
p.s. originally I posted on OFBiz - Dev, and moved it here.
Your help is really appreciated
|
If you want to keep the terminal visible, run the startofbiz.bat from the
command line. Also you can have a look at the "ofbiz-trunk\runtime\logs\error.log" file. Cimballi On Fri, Apr 17, 2009 at 12:11 PM, shuchi <[hidden email]> wrote: > > Hello, > > I have downloaded J2SE 5.0, development kit with NetBeans. I have also > downloaded ofbiz-trunk-current from http://build.ofbiz.org/ > > I was trying to execute ofbiz.jar(by double clicking in windows) but file > does not respond. It does not give either error or starts executing. > > I have also tried running ofbiz-trunk-current\ofbiz-trunk\startofbiz(batch > file), but it does not execute, cmd prompt flashes for few seconds and goes > away without executing the file and i dont get error either. > > I have windows XP Pro. > > p.s. originally I posted on OFBiz - Dev, and moved it here. > > Your help is really appreciated > -- > View this message in context: > http://www.nabble.com/Ofbiz-Installation-tp23101859p23101859.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
I have following error message in Desktop\ofbiz-trunk-current\ofbiz-trunk\runtime\logs\error.log
It shows error dated 2009-04-14 - when I downloaded the ofbiz-trunk-current. *********************************************************************** 2009-04-14 14:45:06,500 (main) [ Http11Protocol.java:178:ERROR] Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:8080 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176) at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:214) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250) at org.ofbiz.base.start.Start.init(Start.java:89) at org.ofbiz.base.start.Start.main(Start.java:398) *********************************************************************** |
In reply to this post by su2
Using ant at the command line is the best way
open a command prompt and cd to the folder you have ofbiz in then do a ant run-install if ant fails you may need to modify you java path in the Ant.bat file. shuchi sent the following on 4/17/2009 10:11 AM: > Hello, > > I have downloaded J2SE 5.0, development kit with NetBeans. I have also > downloaded ofbiz-trunk-current from http://build.ofbiz.org/ > > I was trying to execute ofbiz.jar(by double clicking in windows) but file > does not respond. It does not give either error or starts executing. > > I have also tried running ofbiz-trunk-current\ofbiz-trunk\startofbiz(batch > file), but it does not execute, cmd prompt flashes for few seconds and goes > away without executing the file and i dont get error either. > > I have windows XP Pro. > > p.s. originally I posted on OFBiz - Dev, and moved it here. > > Your help is really appreciated |
In reply to this post by su2
All,
In all ftl forms I found when method="post" action always points to a desire service. Is it possible to call direct url instead. Example: instead ****action="<@ofbizUrl>searchorders</@ofbizUrl>"*** do something like this ***action="<@ofbizUrl>http://orderpagetest.ic3.com/hop/orderform.jsp</@ofbizUrl>*** Jacek |
In reply to this post by su2
Well, it's pretty clear : Address already in use: JVM_Bind:8080
It means you have another server application running and using the 8080 port. Don't you have another Tomcat running ? Cimballi On Fri, Apr 17, 2009 at 12:30 PM, shuchi <[hidden email]> wrote: > > I have following error message in > Desktop\ofbiz-trunk-current\ofbiz-trunk\runtime\logs\error.log > > It shows error dated 2009-04-14 - when I downloaded the > ofbiz-trunk-current. > > *********************************************************************** > 2009-04-14 14:45:06,500 (main) [ Http11Protocol.java:178:ERROR] Error > initializing endpoint > java.net.BindException: Address already in use: JVM_Bind:8080 > at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501) > at > org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176) > at > org.apache.catalina.connector.Connector.initialize(Connector.java:1058) > at > > org.apache.catalina.core.StandardService.initialize(StandardService.java:677) > at > > org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:214) > at > > org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190) > at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250) > at org.ofbiz.base.start.Start.init(Start.java:89) > at org.ofbiz.base.start.Start.main(Start.java:398) > > *********************************************************************** > > -- > View this message in context: > http://www.nabble.com/Ofbiz-Installation-tp23101859p23102273.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
I am not sure. I have not set any application for port 8080.
How would I check whats install on 8080? |
netstat -abn
Cimballi On Fri, Apr 17, 2009 at 12:55 PM, shuchi <[hidden email]> wrote: > > I am not sure. I have not set any application for port 8080. > > How would I check whats install on 8080? > -- > View this message in context: > http://www.nabble.com/Ofbiz-Installation-tp23101859p23102685.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
In reply to this post by Cimballi-2
Also make sure Windows Firewall is turned off.
-Adrian Cimballi wrote: > Well, it's pretty clear : Address already in use: JVM_Bind:8080 > > It means you have another server application running and using the 8080 > port. Don't you have another Tomcat running ? > > Cimballi > > > On Fri, Apr 17, 2009 at 12:30 PM, shuchi <[hidden email]> wrote: > >> I have following error message in >> Desktop\ofbiz-trunk-current\ofbiz-trunk\runtime\logs\error.log >> >> It shows error dated 2009-04-14 - when I downloaded the >> ofbiz-trunk-current. >> >> *********************************************************************** >> 2009-04-14 14:45:06,500 (main) [ Http11Protocol.java:178:ERROR] Error >> initializing endpoint >> java.net.BindException: Address already in use: JVM_Bind:8080 >> at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501) >> at >> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176) >> at >> org.apache.catalina.connector.Connector.initialize(Connector.java:1058) >> at >> >> org.apache.catalina.core.StandardService.initialize(StandardService.java:677) >> at >> >> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:214) >> at >> >> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190) >> at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) >> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250) >> at org.ofbiz.base.start.Start.init(Start.java:89) >> at org.ofbiz.base.start.Start.main(Start.java:398) >> >> *********************************************************************** >> >> -- >> View this message in context: >> http://www.nabble.com/Ofbiz-Installation-tp23101859p23102273.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> > |
In reply to this post by su2
On windows, I do the following and it worked on every machine here
* download jdk ( note you need jdk not jre) * set JAVA_HOME= <jdk folder> * go to ofbiz folder * ant build run On Fri, Apr 17, 2009 at 6:49 PM, shuchi <[hidden email]> wrote: > > I tried running ofbiz-trunk-current\ofbiz-trunk\startofbiz(batch file), but > it does not execute, cmd prompt flashes for few seconds and goes away > without executing the file and i dont get error either. > > -- > View this message in context: > http://www.nabble.com/Ofbiz-Installation-tp23085874p23097403.html > Sent from the OFBiz - Dev mailing list archive at Nabble.com. > |
In reply to this post by su2
do you have any firewalls enabled that might block that port?
shuchi sent the following on 4/17/2009 10:55 AM: > I am not sure. I have not set any application for port 8080. > > How would I check whats install on 8080? |
In reply to this post by Cimballi-2
I tried executing netstat -a on command prompt and it for port 8080 it gives me following result
Proto Local Address Foreign Address State TCP comptuername:8080 computername:0 Listening |
And if you run with abn, you will have the name of the process...
Cimballi On Fri, Apr 17, 2009 at 1:23 PM, shuchi <[hidden email]> wrote: > > I tried executing netstat -a on command prompt and it for port 8080 it > gives > me following result > > Proto Local Address Foreign Address > State > TCP comptuername:8080 computername:0 > Listening > > > > > -- > View this message in context: > http://www.nabble.com/Ofbiz-Installation-tp23101859p23103221.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
When I try running netstat -abn, it gives me huge list which is not scrollable, i am not able to see the entire list.
|
Try this :
netstat -abnv -p tcp And you can set the size of the terminal, right click, properties, configuration. Cimballi On Fri, Apr 17, 2009 at 1:31 PM, shuchi <[hidden email]> wrote: > > When I try running netstat -abn, it gives me huge list which is not > scrollable, i am not able to see the entire list. > -- > View this message in context: > http://www.nabble.com/Ofbiz-Installation-tp23101859p23103338.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
In reply to this post by Jacek Wagner
On Apr 17, 2009, at 11:44 AM, Jacek Wagner wrote: > All, > > In all ftl forms I found when method="post" action always points to > a desire service. > > Is it possible to call direct url instead. > > Example: instead ****action="<@ofbizUrl>searchorders</ > @ofbizUrl>"*** do something like this > ***action="<@ofbizUrl>http://orderpagetest.ic3.com/hop/ > orderform.jsp</@ofbizUrl>*** Yes, but leave you the <@ofbizUrl> tags, they are only needed to write URLs internally. -David |
In reply to this post by Cimballi-2
you are genius.
I got following result proto Local address Foreign Address State pid TCP 0.0.0.0:8080 0.0.0.0 Listening 1304 C:\windows\system32\ws2_32.dll C:\Sun\SDK\jdk\jre\bin\net.dll --Unknown Component(s) -- [java.exe]
|
Administrator
|
Sounds like you have already an instance of OFBiz running in background. Use taskmanager to kill it and use startofbiznolog (or ant
run) to re-run OFBIz and see what happens. Jacques From: "shuchi" <[hidden email]> > you are genius. > > I got following result > > proto Local address Foreign Address State pid > TCP 0.0.0.0:8080 0.0.0.0 Listening 1304 > C:\windows\system32\ws2_32.dll > C:\Sun\SDK\jdk\jre\bin\net.dll > --Unknown Component(s) -- > [java.exe] > > > > Cimballi-2 wrote: >> >> Try this : >> netstat -abnv -p tcp >> >> And you can set the size of the terminal, right click, properties, >> configuration. >> >> Cimballi >> >> >> On Fri, Apr 17, 2009 at 1:31 PM, shuchi <[hidden email]> wrote: >> >>> >>> When I try running netstat -abn, it gives me huge list which is not >>> scrollable, i am not able to see the entire list. >>> -- >>> View this message in context: >>> http://www.nabble.com/Ofbiz-Installation-tp23101859p23103338.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >> >> > > -- > View this message in context: http://www.nabble.com/Ofbiz-Installation-tp23101859p23103741.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by aswath narayana
aswath narayana wrote:
> On windows, I do the following and it worked on every machine here > * download jdk ( note you need jdk not jre) > * set JAVA_HOME= <jdk folder> > * go to ofbiz folder > * ant build run Don't need to specify build there, run already depends on it. You do however have to do run-install once the first time. |
In reply to this post by David E Jones-3
I still do not know what to do
1. I have ftl written form 2. onsubmit it redirects logic to javascriptlooupOrder ---> onsubmit="javascript:lookupOrders() 3. in javascript there a statement document.lookuporder.action = "<@ofbizUrl>searchorders</@ofbizUrl>"; 4. i want to use direct url instead document.lookuporder.action = "<@ofbizUrl>shttp://orderpagetest.ic3.com/hop/login</@ofbizUrl>"; i also tried document.lookuporder.action = "http://orderpagetest.ic3.com/hop/login"; In both cases, as you said, stays inside ofbiz. in the widget form with hyperlink you can set target-type="plain" to pass control to any url. I do not know what has to be done in ftl to do the same. Jacek David E Jones wrote: > > On Apr 17, 2009, at 11:44 AM, Jacek Wagner wrote: > >> All, >> >> In all ftl forms I found when method="post" action always points to >> a desire service. >> >> Is it possible to call direct url instead. >> >> Example: instead >> ****action="<@ofbizUrl>searchorders</@ofbizUrl>"*** do something >> like this >> ***action="<@ofbizUrl>http://orderpagetest.ic3.com/hop/orderform.jsp</@ofbizUrl>*** >> > > Yes, but leave you the <@ofbizUrl> tags, they are only needed to write > URLs internally. > > -David |
Free forum by Nabble | Edit this page |