tutorial step one broken web.xml prompts to download main.bin instead of rendering webpage.

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

tutorial step one broken web.xml prompts to download main.bin instead of rendering webpage.

Patrick-4
I'm trying to do step 1 on this tutorial,
http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
, but the console output says my web.xml is broken,

 [      ContextConfig.java:378:ERROR] Parse error in application
web.xml file at jndi:/0.0.0.0/practice/WEB-INF/web.xml

When I try to go to my http://localhost:8443/practice/control/main my
browser asks me if I want to download main.bin file.

I've looked at my web.xml for a while now and compared it to the
framework/example web.xml and it looks good to me.  It's here :
http://pastebin.com/m30af6152

My controller.xml is here:
http://pastebin.com/m55befcd1

Thanks in advance.
Patrick
Reply | Threaded
Open this post in threaded view
|

Re: tutorial step one broken web.xml prompts to download main.bin instead of rendering webpage.

Chris Snow-3
If you are going to the following url:

http://localhost:8443/practice/control/main

try changing it to https:

https://localhost:8443/practice/control/main

or use port 8080

http://localhost:8080/practice/control/main




Patrick wrote:

> I'm trying to do step 1 on this tutorial,
> http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> , but the console output says my web.xml is broken,
>
>  [      ContextConfig.java:378:ERROR] Parse error in application
> web.xml file at jndi:/0.0.0.0/practice/WEB-INF/web.xml
>
> When I try to go to my http://localhost:8443/practice/control/main my
> browser asks me if I want to download main.bin file.
>
> I've looked at my web.xml for a while now and compared it to the
> framework/example web.xml and it looks good to me.  It's here :
> http://pastebin.com/m30af6152
>
> My controller.xml is here:
> http://pastebin.com/m55befcd1
>
> Thanks in advance.
> Patrick
>