From: Brian P. C. <bm...@bm...> - 2005-07-11 19:41:45
|
Could someone please advise me on some dtd/schema problems that I have. It's to do with the web.xml file for the latest version of bodington. With the latest tomcat it's servlet 2.4? This now validates against a schema rather than a dtd. The dtd is pointing to the 2.2 dtd in the web.xml file. The Sun Java System App Server (sorry) gives a deployment error when it looks at the web.xml file. Element type "listener" must be declared I think that it is objecting to a servlet element occurring before the listener element is declared. Should the <listener> precede the <servlet>? I don't think they had listeners in 2.2, did they? Regards, Brian |
From: Alexis O'C. <ale...@co...> - 2005-07-12 08:52:13
|
Brian Peter Clark wrote: > > I don't think they had listeners in 2.2, did they? > > Regards, > > Brian > Correct. They were first introduced in v2.3. Alexis |
From: Matthew B. <mat...@co...> - 2005-07-12 09:17:38
|
Brian Peter Clark wrote: > Could someone please advise me on some dtd/schema problems > that I have. > It's to do with the web.xml file for the latest version of bodington. Is this CVS HEAD or a 2.4.3 WAR? > With the latest tomcat it's servlet 2.4? This now validates against a > schema rather than a dtd. The dtd is pointing to the 2.2 dtd in the > web.xml file. Ok. We should probably update it to at least 2.3. > The Sun Java System App Server (sorry) gives a deployment error > when it looks at the web.xml file. Ok. This is the sort of feedback we need. At the moment almost everyone only uses Tomcat. > Element type "listener" must be declared > > I think that it is objecting to a servlet element occurring before the > listener element is declared. Should the <listener> precede the > <servlet>? Looking at the 2.3 DTD yep: <!ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?, error-page*, taglib*, resource-env-ref*, resource-ref*, security-constraint*, login-config?, security-role*, env-entry*, ejb-ref*, ejb-local-ref*)> > I don't think they had listeners in 2.2, did they? Listeners came in 2.3 I think. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Antony C. <an...@sm...> - 2005-07-12 09:50:02
|
Does anyone have the originals - we may use them for the buzz website up here... |
From: Adam M. <ada...@co...> - 2005-07-25 12:33:40
|
Should be with you today adam -- Adam Marshall: OUCS, 13, Banbury Rd. Oxford OX2 6NN. Shameless plug: Use the Bodington VLE http://bodington.org Blog: http://ramble.oucs.ox.ac.uk/blog/adamm/ Cheese of the month: Cheshire (not to be underestimated) | -----Original Message----- | From: bod...@li... [mailto:bodington- | dev...@li...] On Behalf Of Antony Corfield | Sent: 12 July 2005 10:49 | To: bod...@li... | Subject: [Bodington-developers] bodington buzz graphics | | Does anyone have the originals - we may use them for the buzz website | up here... | | | | ------------------------------------------------------- | This SF.Net email is sponsored by the 'Do More With Dual!' webinar | happening | July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual | core and dual graphics technology at this free one hour event hosted by | HP, | AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar | _______________________________________________ | Bodington-developers mailing list | Bod...@li... | https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Antony C. <an...@sm...> - 2005-07-25 12:50:43
|
thanks On 25 Jul 2005, at 13:33, Adam Marshall wrote: > Should be with you today > > adam > > -- > Adam Marshall: OUCS, 13, Banbury Rd. Oxford OX2 6NN. > Shameless plug: Use the Bodington VLE http://bodington.org > Blog: http://ramble.oucs.ox.ac.uk/blog/adamm/ > Cheese of the month: Cheshire (not to be underestimated) > > | -----Original Message----- > | From: bod...@li... > [mailto:bodington- > | dev...@li...] On Behalf Of Antony Corfield > | Sent: 12 July 2005 10:49 > | To: bod...@li... > | Subject: [Bodington-developers] bodington buzz graphics > | > | Does anyone have the originals - we may use them for the buzz website > | up here... > | > | > | > | ------------------------------------------------------- > | This SF.Net email is sponsored by the 'Do More With Dual!' webinar > | happening > | July 14 at 8am PDT/11am EDT. We invite you to explore the latest in > dual > | core and dual graphics technology at this free one hour event hosted > by > | HP, > | AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > | _______________________________________________ > | Bodington-developers mailing list > | Bod...@li... > | https://lists.sourceforge.net/lists/listinfo/bodington-developers > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Brian P. C. <bm...@bm...> - 2005-07-12 10:01:06
|
> Brian Peter Clark wrote: > > Could someone please advise me on some dtd/schema problems > > that I have. > > It's to do with the web.xml file for the latest version of bodington. > > Is this CVS HEAD or a 2.4.3 WAR? Atif downloaded from head on Friday afternoon; compiled OK; but failed to deploy on Sun App. Brian > > > With the latest tomcat it's servlet 2.4? This now validates against a > > schema rather than a dtd. The dtd is pointing to the 2.2 dtd in the > > web.xml file. > > Ok. We should probably update it to at least 2.3. > > > The Sun Java System App Server (sorry) gives a deployment error > > when it looks at the web.xml file. > > Ok. This is the sort of feedback we need. At the moment almost everyone > only uses Tomcat. > > > Element type "listener" must be declared > > > > I think that it is objecting to a servlet element occurring before the > > listener element is declared. Should the <listener> precede the > > <servlet>? > > Looking at the 2.3 DTD yep: > > <!ELEMENT web-app (icon?, display-name?, description?, distributable?, > context-param*, filter*, filter-mapping*, listener*, servlet*, > servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?, > error-page*, taglib*, resource-env-ref*, resource-ref*, > security-constraint*, > login-config?, security-role*, env-entry*, ejb-ref*, ejb-local-ref*)> > > > I don't think they had listeners in 2.2, did they? > > Listeners came in 2.3 I think. > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |
From: Matthew B. <mat...@co...> - 2005-07-12 10:17:13
|
Brian Peter Clark wrote: >>Brian Peter Clark wrote: >> >>>Could someone please advise me on some dtd/schema problems >>>that I have. >>>It's to do with the web.xml file for the latest version of bodington. >> >>Is this CVS HEAD or a 2.4.3 WAR? > > > Atif downloaded from head on Friday afternoon; compiled OK; but > failed to deploy on Sun App. In the short term can you disable validation on Sun App Server (tomcat has an option in server.xml). Are you ok to fix web.xml and commit it back to CVS? -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Brian P. C. <bm...@bm...> - 2005-07-12 11:28:57
|
> Brian Peter Clark wrote: > >>Brian Peter Clark wrote: > >> > >>>Could someone please advise me on some dtd/schema problems > >>>that I have. > >>>It's to do with the web.xml file for the latest version of bodington. > >> > >>Is this CVS HEAD or a 2.4.3 WAR? > > > > > > Atif downloaded from head on Friday afternoon; compiled OK; but > > failed to deploy on Sun App. > > In the short term can you disable validation on Sun App Server (tomcat > has an option in server.xml). > > Are you ok to fix web.xml and commit it back to CVS? Nope - CVS, wookies, xwookies are things I'll have to learn about. Anyway, I don't think I have developer superpowers. Brian > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |
From: Matthew B. <mat...@co...> - 2005-07-13 09:57:52
|
Brian Peter Clark wrote: >>Brian Peter Clark wrote: >> >>>>Brian Peter Clark wrote: >>>> >>>> >>>>>Could someone please advise me on some dtd/schema problems >>>>>that I have. >>>>>It's to do with the web.xml file for the latest version of bodington. >>>> >>>>Is this CVS HEAD or a 2.4.3 WAR? >>> >>> >>>Atif downloaded from head on Friday afternoon; compiled OK; but >>>failed to deploy on Sun App. >> >>In the short term can you disable validation on Sun App Server (tomcat >>has an option in server.xml). >> >>Are you ok to fix web.xml and commit it back to CVS? > > > Nope - CVS, wookies, xwookies are things I'll have to learn about. > Anyway, I don't think I have developer superpowers. Ok. I've updated to 2.3 and fixed the ordering on HEAD. This bug isn't on the stable branch as the context listener isn't in 2.4. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Brian P. C. <bm...@bm...> - 2005-07-13 10:43:38
|
> Brian Peter Clark wrote: > >>Brian Peter Clark wrote: > >> > >>>>Brian Peter Clark wrote: > >>>> > >>>> > >>>>>Could someone please advise me on some dtd/schema problems > >>>>>that I have. > >>>>>It's to do with the web.xml file for the latest version of bodington. > >>>> > >>>>Is this CVS HEAD or a 2.4.3 WAR? > >>> > >>> > >>>Atif downloaded from head on Friday afternoon; compiled OK; but > >>>failed to deploy on Sun App. > >> > >>In the short term can you disable validation on Sun App Server (tomcat > >>has an option in server.xml). > >> > >>Are you ok to fix web.xml and commit it back to CVS? > > > > > > Nope - CVS, wookies, xwookies are things I'll have to learn about. > > Anyway, I don't think I have developer superpowers. > > Ok. I've updated to 2.3 and fixed the ordering on HEAD. > This bug isn't on the stable branch as the context listener isn't in 2.4. Ah, right - 2.4 goes fine. I'll also knock out a little doclet for loading Bods onto Sun Java App Server - how to create a domain and use the deploy tool. There are some bonzer security paradiddles - it really objects to a lot of Bod ClassLoader activity and util.PropertyPermissions. The Platform Edition is free for redistribution at the moment and is now an OS project, so - you never know - there might be a few adopters. Thanks, Brian > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |
From: Matthew B. <mat...@co...> - 2005-07-13 11:39:51
|
Brian Peter Clark wrote: > Ah, right - 2.4 goes fine. Yeah, sorry I didn't check the 2.4 tree before asking which you were running. > I'll also knock out a little doclet for loading Bods onto Sun Java App > Server - how to create a domain and use the deploy tool. Great. > There are > some bonzer security paradiddles - it really objects to a lot of Bod > ClassLoader activity and util.PropertyPermissions. The Platform > Edition is free for redistribution at the moment and is now an OS > project, so - you never know - there might be a few adopters. I take it you are running Bodington with the security manager enabled? If so then your current security permissions would be very helpful for those who want to run Bod in a locked down enviroment). -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Brian P. C. <bm...@bm...> - 2005-07-13 11:54:48
|
> Brian Peter Clark wrote: > > Ah, right - 2.4 goes fine. > > Yeah, sorry I didn't check the 2.4 tree before asking which you were > running. > > > I'll also knock out a little doclet for loading Bods onto Sun Java App > > Server - how to create a domain and use the deploy tool. > > Great. > > > There are > > some bonzer security paradiddles - it really objects to a lot of Bod > > ClassLoader activity and util.PropertyPermissions. The Platform > > Edition is free for redistribution at the moment and is now an OS > > project, so - you never know - there might be a few adopters. > > I take it you are running Bodington with the security manager enabled? > If so then your current security permissions would be very helpful for > those who want to run Bod in a locked down enviroment). Each domain that is created in the app server has its own security policy file. It needs to give the appropriate permissions to all the various different sections of its code, and there's a basic set of permissions granted to application code in the context. If you want anything exotic (or even dangerous like offering permission to create your own classloaders) then you have to edit the policy file. I'll include this in the doc. Brian > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |
From: Antony C. <an...@sm...> - 2005-07-12 10:16:45
|
Servlet 2.3 deployment descriptor example (uses web-app_2_3.dtd): http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/web.xml.txt On 11 Jul 2005, at 20:38, Brian Peter Clark wrote: > The Sun Java System App Server (sorry) gives a deployment error > when it looks at the web.xml file. > > Element type "listener" must be declared > > I think that it is objecting to a servlet element occurring before the > listener element is declared. Should the <listener> precede the > <servlet>? |