OFBiz Tutorial - A Beginners Development Guide(Part 1)

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

OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
Hi all.I did all things at part 1.But it gives a 404 error.Do you know if
there is something that was not said in the tutorial.For example in web xml
there is:  <param-value>component:
//practice/widget/CommonScreens.xml</param-value>

But in tutorial, nothing said about this file(CommonScreens.xml).I put
CommonScreens.xml under practice/widget but nothing has changed.it gives
404 error.Do you have any idea what can be problem?
Regards.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

taher
Your issue seems to have nothing todo with commonscreens. It could be many
things: a typo, incorrect directory structure, etc. Look at similar
components (example component) for reference
On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:

> Hi all.I did all things at part 1.But it gives a 404 error.Do you know if
> there is something that was not said in the tutorial.For example in web xml
> there is:  <param-value>component:
> //practice/widget/CommonScreens.xml</param-value>
>
> But in tutorial, nothing said about this file(CommonScreens.xml).I put
> CommonScreens.xml under practice/widget but nothing has changed.it gives
> 404 error.Do you have any idea what can be problem?
> Regards.
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
I have found an error in the logs.it says:[
 CatalinaContainer.java:646:INFO ]
file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
not found.
It does exist in the right folder hierarchy i could not understand why it
says like that.I use Tomcat embedded 7.0.42.


On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
[hidden email]> wrote:

> Your issue seems to have nothing todo with commonscreens. It could be many
> things: a typo, incorrect directory structure, etc. Look at similar
> components (example component) for reference
> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
>
> > Hi all.I did all things at part 1.But it gives a 404 error.Do you know if
> > there is something that was not said in the tutorial.For example in web
> xml
> > there is:  <param-value>component:
> > //practice/widget/CommonScreens.xml</param-value>
> >
> > But in tutorial, nothing said about this file(CommonScreens.xml).I put
> > CommonScreens.xml under practice/widget but nothing has changed.it gives
> > 404 error.Do you have any idea what can be problem?
> > Regards.
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

Mandeep Sidhu
Can you share directory snapshot as well? Perhaps that would help
troubleshoot further.


On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]> wrote:

> I have found an error in the logs.it says:[
>  CatalinaContainer.java:646:INFO ]
>
> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
> not found.
> It does exist in the right folder hierarchy i could not understand why it
> says like that.I use Tomcat embedded 7.0.42.
>
>
> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
> [hidden email]> wrote:
>
> > Your issue seems to have nothing todo with commonscreens. It could be
> many
> > things: a typo, incorrect directory structure, etc. Look at similar
> > components (example component) for reference
> > On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
> >
> > > Hi all.I did all things at part 1.But it gives a 404 error.Do you know
> if
> > > there is something that was not said in the tutorial.For example in web
> > xml
> > > there is:  <param-value>component:
> > > //practice/widget/CommonScreens.xml</param-value>
> > >
> > > But in tutorial, nothing said about this file(CommonScreens.xml).I put
> > > CommonScreens.xml under practice/widget but nothing has changed.itgives
> > > 404 error.Do you have any idea what can be problem?
> > > Regards.
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
Thank you for your reply.Snapshot:


On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <[hidden email]> wrote:
Can you share directory snapshot as well? Perhaps that would help
troubleshoot further.


On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]> wrote:

> I have found an error in the logs.it says:[
>  CatalinaContainer.java:646:INFO ]
>
> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
> not found.
> It does exist in the right folder hierarchy i could not understand why it
> says like that.I use Tomcat embedded 7.0.42.
>
>
> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
> [hidden email]> wrote:
>
> > Your issue seems to have nothing todo with commonscreens. It could be
> many
> > things: a typo, incorrect directory structure, etc. Look at similar
> > components (example component) for reference
> > On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
> >
> > > Hi all.I did all things at part 1.But it gives a 404 error.Do you know
> if
> > > there is something that was not said in the tutorial.For example in web
> > xml
> > > there is:  <param-value>component:
> > > //practice/widget/CommonScreens.xml</param-value>
> > >
> > > But in tutorial, nothing said about this file(CommonScreens.xml).I put
> > > CommonScreens.xml under practice/widget but nothing has changed.itgives
> > > 404 error.Do you have any idea what can be problem?
> > > Regards.
> > >
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

Mandeep Sidhu
Hmm...either attachments don't work on this email address or you forgot to
attach it.


On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <[hidden email]> wrote:

> Thank you for your reply.Snapshot:[image: Inline image 1]
>
>
> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <[hidden email]>wrote:
>
>> Can you share directory snapshot as well? Perhaps that would help
>> troubleshoot further.
>>
>>
>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]>
>> wrote:
>>
>> > I have found an error in the logs.it says:[
>> >  CatalinaContainer.java:646:INFO ]
>> >
>> >
>> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
>> > not found.
>> > It does exist in the right folder hierarchy i could not understand why
>> it
>> > says like that.I use Tomcat embedded 7.0.42.
>> >
>> >
>> > On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
>> > [hidden email]> wrote:
>> >
>> > > Your issue seems to have nothing todo with commonscreens. It could be
>> > many
>> > > things: a typo, incorrect directory structure, etc. Look at similar
>> > > components (example component) for reference
>> > > On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
>> > >
>> > > > Hi all.I did all things at part 1.But it gives a 404 error.Do you
>> know
>> > if
>> > > > there is something that was not said in the tutorial.For example in
>> web
>> > > xml
>> > > > there is:  <param-value>component:
>> > > > //practice/widget/CommonScreens.xml</param-value>
>> > > >
>> > > > But in tutorial, nothing said about this file(CommonScreens.xml).I
>> put
>> > > > CommonScreens.xml under practice/widget but nothing has
>> changed.itgives
>> > > > 404 error.Do you have any idea what can be problem?
>> > > > Regards.
>> > > >
>> > >
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

Jacques Le Roux
Administrator
Most of the time attachments don't work (it rarely works).
Better to use text (log snippet) than snapshot.
When really needed you still can attach on Nabble user forum

Jacques

Mandeep Sidhu wrote:

> Hmm...either attachments don't work on this email address or you forgot to
> attach it.
>
>
> On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <[hidden email]> wrote:
>
>> Thank you for your reply.Snapshot:[image: Inline image 1]
>>
>>
>> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <[hidden email]>wrote:
>>
>>> Can you share directory snapshot as well? Perhaps that would help
>>> troubleshoot further.
>>>
>>>
>>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]>
>>> wrote:
>>>
>>>> I have found an error in the logs.it says:[
>>>>  CatalinaContainer.java:646:INFO ]
>>>>
>>>>
>>> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
>>>> not found.
>>>> It does exist in the right folder hierarchy i could not understand why
>>> it
>>>> says like that.I use Tomcat embedded 7.0.42.
>>>>
>>>>
>>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
>>>> [hidden email]> wrote:
>>>>
>>>>> Your issue seems to have nothing todo with commonscreens. It could be
>>>> many
>>>>> things: a typo, incorrect directory structure, etc. Look at similar
>>>>> components (example component) for reference
>>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
>>>>>
>>>>>> Hi all.I did all things at part 1.But it gives a 404 error.Do you know if
>>>>>> there is something that was not said in the tutorial.For example in web xml
>>>>>> there is:  <param-value>component:
>>>>>> //practice/widget/CommonScreens.xml</param-value>
>>>>>>
>>>>>> But in tutorial, nothing said about this file(CommonScreens.xml).I
>>> put
>>>>>> CommonScreens.xml under practice/widget but nothing has
>>> changed.itgives
>>>>>> 404 error.Do you have any idea what can be problem?
>>>>>> Regards.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
Sorry, i attached screenshot and logs.


On Mon, Aug 12, 2013 at 8:48 AM, Jacques Le Roux <[hidden email]> wrote:
Most of the time attachments don't work (it rarely works).
Better to use text (log snippet) than snapshot.
When really needed you still can attach on Nabble user forum

Jacques

Mandeep Sidhu wrote:
> Hmm...either attachments don't work on this email address or you forgot to
> attach it.
>
>
> On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <[hidden email]> wrote:
>
>> Thank you for your reply.Snapshot:[image: Inline image 1]
>>
>>
>> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <[hidden email]>wrote:
>>
>>> Can you share directory snapshot as well? Perhaps that would help
>>> troubleshoot further.
>>>
>>>
>>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]>
>>> wrote:
>>>
>>>> I have found an error in the logs.it says:[
>>>>  CatalinaContainer.java:646:INFO ]
>>>>
>>>>
>>> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
>>>> not found.
>>>> It does exist in the right folder hierarchy i could not understand why
>>> it
>>>> says like that.I use Tomcat embedded 7.0.42.
>>>>
>>>>
>>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
>>>> [hidden email]> wrote:
>>>>
>>>>> Your issue seems to have nothing todo with commonscreens. It could be
>>>> many
>>>>> things: a typo, incorrect directory structure, etc. Look at similar
>>>>> components (example component) for reference
>>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
>>>>>
>>>>>> Hi all.I did all things at part 1.But it gives a 404 error.Do you know if
>>>>>> there is something that was not said in the tutorial.For example in web xml
>>>>>> there is:  <param-value>component:
>>>>>> //practice/widget/CommonScreens.xml</param-value>
>>>>>>
>>>>>> But in tutorial, nothing said about this file(CommonScreens.xml).I
>>> put
>>>>>> CommonScreens.xml under practice/widget but nothing has
>>> changed.itgives
>>>>>> 404 error.Do you have any idea what can be problem?
>>>>>> Regards.

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

Jacques Le Roux
Administrator
Simply put a copy of your log snippet in your email. Prefer to use text format than HTML. HTML gets higher spam scores because of phishing done in HTML not text

Jacques
  ----- Original Message -----
  From: İhsan Koçak
  To: [hidden email]
  Sent: Monday, August 12, 2013 2:57 PM
  Subject: Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)


  Sorry, i attached screenshot and logs.



  On Mon, Aug 12, 2013 at 8:48 AM, Jacques Le Roux <[hidden email]> wrote:

    Most of the time attachments don't work (it rarely works).
    Better to use text (log snippet) than snapshot.
    When really needed you still can attach on Nabble user forum

    Jacques


    Mandeep Sidhu wrote:
    > Hmm...either attachments don't work on this email address or you forgot to
    > attach it.
    >
    >
    > On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <[hidden email]> wrote:
    >
    >> Thank you for your reply.Snapshot:[image: Inline image 1]
    >>
    >>
    >> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <[hidden email]>wrote:
    >>
    >>> Can you share directory snapshot as well? Perhaps that would help
    >>> troubleshoot further.
    >>>
    >>>
    >>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]>
    >>> wrote:
    >>>
    >>>> I have found an error in the logs.it says:[
    >>>>  CatalinaContainer.java:646:INFO ]
    >>>>
    >>>>
    >>> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
    >>>> not found.
    >>>> It does exist in the right folder hierarchy i could not understand why
    >>> it
    >>>> says like that.I use Tomcat embedded 7.0.42.
    >>>>
    >>>>
    >>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
    >>>> [hidden email]> wrote:
    >>>>
    >>>>> Your issue seems to have nothing todo with commonscreens. It could be
    >>>> many
    >>>>> things: a typo, incorrect directory structure, etc. Look at similar
    >>>>> components (example component) for reference
    >>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]> wrote:
    >>>>>
    >>>>>> Hi all.I did all things at part 1.But it gives a 404 error.Do you know if
    >>>>>> there is something that was not said in the tutorial.For example in web xml
    >>>>>> there is:  <param-value>component:
    >>>>>> //practice/widget/CommonScreens.xml</param-value>
    >>>>>>
    >>>>>> But in tutorial, nothing said about this file(CommonScreens.xml).I
    >>> put
    >>>>>> CommonScreens.xml under practice/widget but nothing has
    >>> changed.itgives
    >>>>>> 404 error.Do you have any idea what can be problem?
    >>>>>> Regards.


Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
Thank you for your patience :) This from ofbiz.log:

*2013-08-11 16:43:43,538 (main) [ ComponentContainer.java:180:INFO ]
Auto-Loading component directory :
[/home/abc/ihsan/workspace/ofbiz/hot-deploy]*
*2013-08-11 16:43:43,547 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [practice]*
*2013-08-11 16:43:43,559 (main) [ ComponentContainer.java:149:INFO ] All
components loaded*
...
...
...
2013-08-11 16:43:55,574 (main) [  CatalinaContainer.java:372:INFO ]
createHost(StandardEngine[default-server], 0.0.0.0)
2013-08-11 16:43:55,597 (main) [  CatalinaContainer.java:512:INFO ]
Creating connector for address='0.0.0.0' port='8009' protocol='ajp'
2013-08-11 16:43:55,656 (main) [  CatalinaContainer.java:512:INFO ]
Creating connector for address='0.0.0.0' port='8080' protocol='http'
2013-08-11 16:43:55,677 (main) [  CatalinaContainer.java:512:INFO ]
Creating connector for address='0.0.0.0' port='8443' protocol='https'
2013-08-11 16:43:56,174 (main) [    ContainerLoader.java:223:INFO ]
[Startup] Starting containers...
2013-08-11 16:43:56,180 (main) [  GenericDispatcher.java:69 :INFO ]
Creating new dispatcher [RMIDispatcher] (main)
*2013-08-11 16:43:57,115 (main) [  CatalinaContainer.java:562:INFO ]
createContext(practice)*
2013-08-11 16:43:57,116 (main) [  CatalinaContainer.java:562:INFO ]
createContext(exampleext)
...
...
...
2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
createContext(images)
2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
createContext(webtools)
2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
createContext(bi)
*2013-08-11 16:43:57,121 (catalina-startup-0) [
 CatalinaContainer.java:647:INFO ]
file:////home/abc/ihsan/workspace/ofbiz/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
not found.*
2013-08-11 16:43:57,191 (catalina-startup-2) [
 CatalinaContainer.java:682:INFO ]
host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/exampleext])
2013-08-11 16:43:57,196 (catalina-startup-1) [
 CatalinaContainer.java:682:INFO ]
host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/birt])
*2013-08-11 16:43:57,199 (catalina-startup-0) [
 CatalinaContainer.java:682:INFO ]
host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/practice])
*



On Mon, Aug 12, 2013 at 4:53 PM, Jacques Le Roux <
[hidden email]> wrote:

> Simply put a copy of your log snippet in your email. Prefer to use text
> format than HTML. HTML gets higher spam scores because of phishing done in
> HTML not text
>
> Jacques
>   ----- Original Message -----
>   From: İhsan Koçak
>   To: [hidden email]
>   Sent: Monday, August 12, 2013 2:57 PM
>   Subject: Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)
>
>
>   Sorry, i attached screenshot and logs.
>
>
>
>   On Mon, Aug 12, 2013 at 8:48 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
>     Most of the time attachments don't work (it rarely works).
>     Better to use text (log snippet) than snapshot.
>     When really needed you still can attach on Nabble user forum
>
>     Jacques
>
>
>     Mandeep Sidhu wrote:
>     > Hmm...either attachments don't work on this email address or you
> forgot to
>     > attach it.
>     >
>     >
>     > On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <[hidden email]>
> wrote:
>     >
>     >> Thank you for your reply.Snapshot:[image: Inline image 1]
>     >>
>     >>
>     >> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <
> [hidden email]>wrote:
>     >>
>     >>> Can you share directory snapshot as well? Perhaps that would help
>     >>> troubleshoot further.
>     >>>
>     >>>
>     >>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <[hidden email]
> >
>     >>> wrote:
>     >>>
>     >>>> I have found an error in the logs.it says:[
>     >>>>  CatalinaContainer.java:646:INFO ]
>     >>>>
>     >>>>
>     >>>
> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
>     >>>> not found.
>     >>>> It does exist in the right folder hierarchy i could not
> understand why
>     >>> it
>     >>>> says like that.I use Tomcat embedded 7.0.42.
>     >>>>
>     >>>>
>     >>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
>     >>>> [hidden email]> wrote:
>     >>>>
>     >>>>> Your issue seems to have nothing todo with commonscreens. It
> could be
>     >>>> many
>     >>>>> things: a typo, incorrect directory structure, etc. Look at
> similar
>     >>>>> components (example component) for reference
>     >>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]>
> wrote:
>     >>>>>
>     >>>>>> Hi all.I did all things at part 1.But it gives a 404 error.Do
> you know if
>     >>>>>> there is something that was not said in the tutorial.For
> example in web xml
>     >>>>>> there is:  <param-value>component:
>     >>>>>> //practice/widget/CommonScreens.xml</param-value>
>     >>>>>>
>     >>>>>> But in tutorial, nothing said about this
> file(CommonScreens.xml).I
>     >>> put
>     >>>>>> CommonScreens.xml under practice/widget but nothing has
>     >>> changed.itgives
>     >>>>>> 404 error.Do you have any idea what can be problem?
>     >>>>>> Regards.
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

Mandeep Sidhu
I believe it's a unix box, navigate to the directory where your web.xml
file resides and do a "ls -l" and then "pwd" and share the logs here.

Let's see if that helps.


On Mon, Aug 12, 2013 at 7:06 AM, İhsan Koçak <[hidden email]> wrote:

> Thank you for your patience :) This from ofbiz.log:
>
> *2013-08-11 16:43:43,538 (main) [ ComponentContainer.java:180:INFO ]
> Auto-Loading component directory :
> [/home/abc/ihsan/workspace/ofbiz/hot-deploy]*
> *2013-08-11 16:43:43,547 (main) [ ComponentContainer.java:241:INFO ]
> Loading component : [practice]*
> *2013-08-11 16:43:43,559 (main) [ ComponentContainer.java:149:INFO ] All
> components loaded*
> ...
> ...
> ...
> 2013-08-11 16:43:55,574 (main) [  CatalinaContainer.java:372:INFO ]
> createHost(StandardEngine[default-server], 0.0.0.0)
> 2013-08-11 16:43:55,597 (main) [  CatalinaContainer.java:512:INFO ]
> Creating connector for address='0.0.0.0' port='8009' protocol='ajp'
> 2013-08-11 16:43:55,656 (main) [  CatalinaContainer.java:512:INFO ]
> Creating connector for address='0.0.0.0' port='8080' protocol='http'
> 2013-08-11 16:43:55,677 (main) [  CatalinaContainer.java:512:INFO ]
> Creating connector for address='0.0.0.0' port='8443' protocol='https'
> 2013-08-11 16:43:56,174 (main) [    ContainerLoader.java:223:INFO ]
> [Startup] Starting containers...
> 2013-08-11 16:43:56,180 (main) [  GenericDispatcher.java:69 :INFO ]
> Creating new dispatcher [RMIDispatcher] (main)
> *2013-08-11 16:43:57,115 (main) [  CatalinaContainer.java:562:INFO ]
> createContext(practice)*
> 2013-08-11 16:43:57,116 (main) [  CatalinaContainer.java:562:INFO ]
> createContext(exampleext)
> ...
> ...
> ...
> 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
> createContext(images)
> 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
> createContext(webtools)
> 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
> createContext(bi)
> *2013-08-11 16:43:57,121 (catalina-startup-0) [
>  CatalinaContainer.java:647:INFO ]
>
> file:////home/abc/ihsan/workspace/ofbiz/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
> not found.*
> 2013-08-11 16:43:57,191 (catalina-startup-2) [
>  CatalinaContainer.java:682:INFO ]
>
> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/exampleext])
> 2013-08-11 16:43:57,196 (catalina-startup-1) [
>  CatalinaContainer.java:682:INFO ]
>
> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/birt])
> *2013-08-11 16:43:57,199 (catalina-startup-0) [
>  CatalinaContainer.java:682:INFO ]
>
> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/practice])
> *
>
>
>
> On Mon, Aug 12, 2013 at 4:53 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
> > Simply put a copy of your log snippet in your email. Prefer to use text
> > format than HTML. HTML gets higher spam scores because of phishing done
> in
> > HTML not text
> >
> > Jacques
> >   ----- Original Message -----
> >   From: İhsan Koçak
> >   To: [hidden email]
> >   Sent: Monday, August 12, 2013 2:57 PM
> >   Subject: Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)
> >
> >
> >   Sorry, i attached screenshot and logs.
> >
> >
> >
> >   On Mon, Aug 12, 2013 at 8:48 AM, Jacques Le Roux <
> > [hidden email]> wrote:
> >
> >     Most of the time attachments don't work (it rarely works).
> >     Better to use text (log snippet) than snapshot.
> >     When really needed you still can attach on Nabble user forum
> >
> >     Jacques
> >
> >
> >     Mandeep Sidhu wrote:
> >     > Hmm...either attachments don't work on this email address or you
> > forgot to
> >     > attach it.
> >     >
> >     >
> >     > On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <[hidden email]
> >
> > wrote:
> >     >
> >     >> Thank you for your reply.Snapshot:[image: Inline image 1]
> >     >>
> >     >>
> >     >> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <
> > [hidden email]>wrote:
> >     >>
> >     >>> Can you share directory snapshot as well? Perhaps that would help
> >     >>> troubleshoot further.
> >     >>>
> >     >>>
> >     >>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <
> [hidden email]
> > >
> >     >>> wrote:
> >     >>>
> >     >>>> I have found an error in the logs.it says:[
> >     >>>>  CatalinaContainer.java:646:INFO ]
> >     >>>>
> >     >>>>
> >     >>>
> >
> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
> >     >>>> not found.
> >     >>>> It does exist in the right folder hierarchy i could not
> > understand why
> >     >>> it
> >     >>>> says like that.I use Tomcat embedded 7.0.42.
> >     >>>>
> >     >>>>
> >     >>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
> >     >>>> [hidden email]> wrote:
> >     >>>>
> >     >>>>> Your issue seems to have nothing todo with commonscreens. It
> > could be
> >     >>>> many
> >     >>>>> things: a typo, incorrect directory structure, etc. Look at
> > similar
> >     >>>>> components (example component) for reference
> >     >>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <[hidden email]>
> > wrote:
> >     >>>>>
> >     >>>>>> Hi all.I did all things at part 1.But it gives a 404 error.Do
> > you know if
> >     >>>>>> there is something that was not said in the tutorial.For
> > example in web xml
> >     >>>>>> there is:  <param-value>component:
> >     >>>>>> //practice/widget/CommonScreens.xml</param-value>
> >     >>>>>>
> >     >>>>>> But in tutorial, nothing said about this
> > file(CommonScreens.xml).I
> >     >>> put
> >     >>>>>> CommonScreens.xml under practice/widget but nothing has
> >     >>> changed.itgives
> >     >>>>>> 404 error.Do you have any idea what can be problem?
> >     >>>>>> Regards.
> >
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
Thank you for the reply.Yes it is linux.
Outputs:
$ ls -l
total 12
-rw-rw-r-- 1 abc abc  996 Ağu 11 15:33 controller.xml
-rw-rw-r-- 1 abc abc 4379 Ağu 12 17:49 web.xml

$pwd(there is a space between "/" and WEB-INF)
/home/abc/ihsan/workspace/ofbiz/hot-deploy/practice/webapp/practice/ WEB-INF



On Mon, Aug 12, 2013 at 6:29 PM, Mandeep Sidhu <[hidden email]>wrote:

> I believe it's a unix box, navigate to the directory where your web.xml
> file resides and do a "ls -l" and then "pwd" and share the logs here.
>
> Let's see if that helps.
>
>
> On Mon, Aug 12, 2013 at 7:06 AM, İhsan Koçak <[hidden email]> wrote:
>
> > Thank you for your patience :) This from ofbiz.log:
> >
> > *2013-08-11 16:43:43,538 (main) [ ComponentContainer.java:180:INFO ]
> > Auto-Loading component directory :
> > [/home/abc/ihsan/workspace/ofbiz/hot-deploy]*
> > *2013-08-11 16:43:43,547 (main) [ ComponentContainer.java:241:INFO ]
> > Loading component : [practice]*
> > *2013-08-11 16:43:43,559 (main) [ ComponentContainer.java:149:INFO ] All
> > components loaded*
> > ...
> > ...
> > ...
> > 2013-08-11 16:43:55,574 (main) [  CatalinaContainer.java:372:INFO ]
> > createHost(StandardEngine[default-server], 0.0.0.0)
> > 2013-08-11 16:43:55,597 (main) [  CatalinaContainer.java:512:INFO ]
> > Creating connector for address='0.0.0.0' port='8009' protocol='ajp'
> > 2013-08-11 16:43:55,656 (main) [  CatalinaContainer.java:512:INFO ]
> > Creating connector for address='0.0.0.0' port='8080' protocol='http'
> > 2013-08-11 16:43:55,677 (main) [  CatalinaContainer.java:512:INFO ]
> > Creating connector for address='0.0.0.0' port='8443' protocol='https'
> > 2013-08-11 16:43:56,174 (main) [    ContainerLoader.java:223:INFO ]
> > [Startup] Starting containers...
> > 2013-08-11 16:43:56,180 (main) [  GenericDispatcher.java:69 :INFO ]
> > Creating new dispatcher [RMIDispatcher] (main)
> > *2013-08-11 16:43:57,115 (main) [  CatalinaContainer.java:562:INFO ]
> > createContext(practice)*
> > 2013-08-11 16:43:57,116 (main) [  CatalinaContainer.java:562:INFO ]
> > createContext(exampleext)
> > ...
> > ...
> > ...
> > 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
> > createContext(images)
> > 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
> > createContext(webtools)
> > 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
> > createContext(bi)
> > *2013-08-11 16:43:57,121 (catalina-startup-0) [
> >  CatalinaContainer.java:647:INFO ]
> >
> >
> file:////home/abc/ihsan/workspace/ofbiz/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
> > not found.*
> > 2013-08-11 16:43:57,191 (catalina-startup-2) [
> >  CatalinaContainer.java:682:INFO ]
> >
> >
> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/exampleext])
> > 2013-08-11 16:43:57,196 (catalina-startup-1) [
> >  CatalinaContainer.java:682:INFO ]
> >
> >
> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/birt])
> > *2013-08-11 16:43:57,199 (catalina-startup-0) [
> >  CatalinaContainer.java:682:INFO ]
> >
> >
> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/practice])
> > *
> >
> >
> >
> > On Mon, Aug 12, 2013 at 4:53 PM, Jacques Le Roux <
> > [hidden email]> wrote:
> >
> > > Simply put a copy of your log snippet in your email. Prefer to use text
> > > format than HTML. HTML gets higher spam scores because of phishing done
> > in
> > > HTML not text
> > >
> > > Jacques
> > >   ----- Original Message -----
> > >   From: İhsan Koçak
> > >   To: [hidden email]
> > >   Sent: Monday, August 12, 2013 2:57 PM
> > >   Subject: Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)
> > >
> > >
> > >   Sorry, i attached screenshot and logs.
> > >
> > >
> > >
> > >   On Mon, Aug 12, 2013 at 8:48 AM, Jacques Le Roux <
> > > [hidden email]> wrote:
> > >
> > >     Most of the time attachments don't work (it rarely works).
> > >     Better to use text (log snippet) than snapshot.
> > >     When really needed you still can attach on Nabble user forum
> > >
> > >     Jacques
> > >
> > >
> > >     Mandeep Sidhu wrote:
> > >     > Hmm...either attachments don't work on this email address or you
> > > forgot to
> > >     > attach it.
> > >     >
> > >     >
> > >     > On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <
> [hidden email]
> > >
> > > wrote:
> > >     >
> > >     >> Thank you for your reply.Snapshot:[image: Inline image 1]
> > >     >>
> > >     >>
> > >     >> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <
> > > [hidden email]>wrote:
> > >     >>
> > >     >>> Can you share directory snapshot as well? Perhaps that would
> help
> > >     >>> troubleshoot further.
> > >     >>>
> > >     >>>
> > >     >>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <
> > [hidden email]
> > > >
> > >     >>> wrote:
> > >     >>>
> > >     >>>> I have found an error in the logs.it says:[
> > >     >>>>  CatalinaContainer.java:646:INFO ]
> > >     >>>>
> > >     >>>>
> > >     >>>
> > >
> >
> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
> > >     >>>> not found.
> > >     >>>> It does exist in the right folder hierarchy i could not
> > > understand why
> > >     >>> it
> > >     >>>> says like that.I use Tomcat embedded 7.0.42.
> > >     >>>>
> > >     >>>>
> > >     >>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
> > >     >>>> [hidden email]> wrote:
> > >     >>>>
> > >     >>>>> Your issue seems to have nothing todo with commonscreens. It
> > > could be
> > >     >>>> many
> > >     >>>>> things: a typo, incorrect directory structure, etc. Look at
> > > similar
> > >     >>>>> components (example component) for reference
> > >     >>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <
> [hidden email]>
> > > wrote:
> > >     >>>>>
> > >     >>>>>> Hi all.I did all things at part 1.But it gives a 404
> error.Do
> > > you know if
> > >     >>>>>> there is something that was not said in the tutorial.For
> > > example in web xml
> > >     >>>>>> there is:  <param-value>component:
> > >     >>>>>> //practice/widget/CommonScreens.xml</param-value>
> > >     >>>>>>
> > >     >>>>>> But in tutorial, nothing said about this
> > > file(CommonScreens.xml).I
> > >     >>> put
> > >     >>>>>> CommonScreens.xml under practice/widget but nothing has
> > >     >>> changed.itgives
> > >     >>>>>> 404 error.Do you have any idea what can be problem?
> > >     >>>>>> Regards.
> > >
> > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)

İhsan Koçak
Thank you.It is done.It was because of the space.i did  mv " WEB-INF"
"WEB-INF" in practice directory and tutorial page suddenly came.


On Mon, Aug 12, 2013 at 6:35 PM, İhsan Koçak <[hidden email]> wrote:

> Thank you for the reply.Yes it is linux.
> Outputs:
> $ ls -l
> total 12
> -rw-rw-r-- 1 abc abc  996 Ağu 11 15:33 controller.xml
> -rw-rw-r-- 1 abc abc 4379 Ağu 12 17:49 web.xml
>
> $pwd(there is a space between "/" and WEB-INF)
> /home/abc/ihsan/workspace/ofbiz/hot-deploy/practice/webapp/practice/
> WEB-INF
>
>
>
> On Mon, Aug 12, 2013 at 6:29 PM, Mandeep Sidhu <[hidden email]>wrote:
>
>> I believe it's a unix box, navigate to the directory where your web.xml
>> file resides and do a "ls -l" and then "pwd" and share the logs here.
>>
>> Let's see if that helps.
>>
>>
>> On Mon, Aug 12, 2013 at 7:06 AM, İhsan Koçak <[hidden email]>
>> wrote:
>>
>> > Thank you for your patience :) This from ofbiz.log:
>> >
>> > *2013-08-11 16:43:43,538 (main) [ ComponentContainer.java:180:INFO ]
>> > Auto-Loading component directory :
>> > [/home/abc/ihsan/workspace/ofbiz/hot-deploy]*
>> > *2013-08-11 16:43:43,547 (main) [ ComponentContainer.java:241:INFO ]
>> > Loading component : [practice]*
>> > *2013-08-11 16:43:43,559 (main) [ ComponentContainer.java:149:INFO ] All
>> > components loaded*
>> > ...
>> > ...
>> > ...
>> > 2013-08-11 16:43:55,574 (main) [  CatalinaContainer.java:372:INFO ]
>> > createHost(StandardEngine[default-server], 0.0.0.0)
>> > 2013-08-11 16:43:55,597 (main) [  CatalinaContainer.java:512:INFO ]
>> > Creating connector for address='0.0.0.0' port='8009' protocol='ajp'
>> > 2013-08-11 16:43:55,656 (main) [  CatalinaContainer.java:512:INFO ]
>> > Creating connector for address='0.0.0.0' port='8080' protocol='http'
>> > 2013-08-11 16:43:55,677 (main) [  CatalinaContainer.java:512:INFO ]
>> > Creating connector for address='0.0.0.0' port='8443' protocol='https'
>> > 2013-08-11 16:43:56,174 (main) [    ContainerLoader.java:223:INFO ]
>> > [Startup] Starting containers...
>> > 2013-08-11 16:43:56,180 (main) [  GenericDispatcher.java:69 :INFO ]
>> > Creating new dispatcher [RMIDispatcher] (main)
>> > *2013-08-11 16:43:57,115 (main) [  CatalinaContainer.java:562:INFO ]
>> > createContext(practice)*
>> > 2013-08-11 16:43:57,116 (main) [  CatalinaContainer.java:562:INFO ]
>> > createContext(exampleext)
>> > ...
>> > ...
>> > ...
>> > 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
>> > createContext(images)
>> > 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
>> > createContext(webtools)
>> > 2013-08-11 16:43:57,120 (main) [  CatalinaContainer.java:562:INFO ]
>> > createContext(bi)
>> > *2013-08-11 16:43:57,121 (catalina-startup-0) [
>> >  CatalinaContainer.java:647:INFO ]
>> >
>> >
>> file:////home/abc/ihsan/workspace/ofbiz/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
>> > not found.*
>> > 2013-08-11 16:43:57,191 (catalina-startup-2) [
>> >  CatalinaContainer.java:682:INFO ]
>> >
>> >
>> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/exampleext])
>> > 2013-08-11 16:43:57,196 (catalina-startup-1) [
>> >  CatalinaContainer.java:682:INFO ]
>> >
>> >
>> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/birt])
>> > *2013-08-11 16:43:57,199 (catalina-startup-0) [
>> >  CatalinaContainer.java:682:INFO ]
>> >
>> >
>> host[StandardEngine[default-server].StandardHost[0.0.0.0]].addChild(StandardEngine[default-server].StandardHost[0.0.0.0].StandardContext[/practice])
>> > *
>> >
>> >
>> >
>> > On Mon, Aug 12, 2013 at 4:53 PM, Jacques Le Roux <
>> > [hidden email]> wrote:
>> >
>> > > Simply put a copy of your log snippet in your email. Prefer to use
>> text
>> > > format than HTML. HTML gets higher spam scores because of phishing
>> done
>> > in
>> > > HTML not text
>> > >
>> > > Jacques
>> > >   ----- Original Message -----
>> > >   From: İhsan Koçak
>> > >   To: [hidden email]
>> > >   Sent: Monday, August 12, 2013 2:57 PM
>> > >   Subject: Re: OFBiz Tutorial - A Beginners Development Guide(Part 1)
>> > >
>> > >
>> > >   Sorry, i attached screenshot and logs.
>> > >
>> > >
>> > >
>> > >   On Mon, Aug 12, 2013 at 8:48 AM, Jacques Le Roux <
>> > > [hidden email]> wrote:
>> > >
>> > >     Most of the time attachments don't work (it rarely works).
>> > >     Better to use text (log snippet) than snapshot.
>> > >     When really needed you still can attach on Nabble user forum
>> > >
>> > >     Jacques
>> > >
>> > >
>> > >     Mandeep Sidhu wrote:
>> > >     > Hmm...either attachments don't work on this email address or you
>> > > forgot to
>> > >     > attach it.
>> > >     >
>> > >     >
>> > >     > On Sun, Aug 11, 2013 at 5:23 PM, İhsan Koçak <
>> [hidden email]
>> > >
>> > > wrote:
>> > >     >
>> > >     >> Thank you for your reply.Snapshot:[image: Inline image 1]
>> > >     >>
>> > >     >>
>> > >     >> On Sun, Aug 11, 2013 at 9:59 PM, Mandeep Sidhu <
>> > > [hidden email]>wrote:
>> > >     >>
>> > >     >>> Can you share directory snapshot as well? Perhaps that would
>> help
>> > >     >>> troubleshoot further.
>> > >     >>>
>> > >     >>>
>> > >     >>> On Sun, Aug 11, 2013 at 3:05 AM, İhsan Koçak <
>> > [hidden email]
>> > > >
>> > >     >>> wrote:
>> > >     >>>
>> > >     >>>> I have found an error in the logs.it says:[
>> > >     >>>>  CatalinaContainer.java:646:INFO ]
>> > >     >>>>
>> > >     >>>>
>> > >     >>>
>> > >
>> >
>> file:////home/abc/ihsan/ofbiz/apache-ofbiz-12.04.02/hot-deploy/practice/webapp/practice/WEB-INF/web.xml
>> > >     >>>> not found.
>> > >     >>>> It does exist in the right folder hierarchy i could not
>> > > understand why
>> > >     >>> it
>> > >     >>>> says like that.I use Tomcat embedded 7.0.42.
>> > >     >>>>
>> > >     >>>>
>> > >     >>>> On Sun, Aug 11, 2013 at 11:17 AM, Taher Alkhateeb <
>> > >     >>>> [hidden email]> wrote:
>> > >     >>>>
>> > >     >>>>> Your issue seems to have nothing todo with commonscreens. It
>> > > could be
>> > >     >>>> many
>> > >     >>>>> things: a typo, incorrect directory structure, etc. Look at
>> > > similar
>> > >     >>>>> components (example component) for reference
>> > >     >>>>> On Aug 11, 2013 10:55 AM, "İhsan Koçak" <
>> [hidden email]>
>> > > wrote:
>> > >     >>>>>
>> > >     >>>>>> Hi all.I did all things at part 1.But it gives a 404
>> error.Do
>> > > you know if
>> > >     >>>>>> there is something that was not said in the tutorial.For
>> > > example in web xml
>> > >     >>>>>> there is:  <param-value>component:
>> > >     >>>>>> //practice/widget/CommonScreens.xml</param-value>
>> > >     >>>>>>
>> > >     >>>>>> But in tutorial, nothing said about this
>> > > file(CommonScreens.xml).I
>> > >     >>> put
>> > >     >>>>>> CommonScreens.xml under practice/widget but nothing has
>> > >     >>> changed.itgives
>> > >     >>>>>> 404 error.Do you have any idea what can be problem?
>> > >     >>>>>> Regards.
>> > >
>> > >
>> > >
>> >
>>
>
>