Error in demo.war

1 view
Skip to first unread message

Vinod

unread,
Mar 27, 2007, 9:40:35 AM3/27/07
to brasatoframework-developers
Hi,
I have downloaded demo.war and trying to execute it. The page gives
the following error.

not found: key 'devTool' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'org.olat.core.gui.dev.controller' , locale: 'en' }


Permalink not found: key 'demo1' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } not found: key 'demo2' in
locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } not found: key 'demo3' in
locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } not found: key 'demo4' in
locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } Modes not found:
key 'web10' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } not found: key 'web20' in
locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } not found: key 'web21' in
locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' } current: not found: key
'web10' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo' , locale: 'en' }

not found: key 'title' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo.basics' , locale: 'en' }
not found: key 'intro' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo.basics' , locale: 'en' }

not found: key 'simpleLink' in locale 'en' of translator:
org.olat.core.gui.translator.PackageTranslator: { package:
'ch.goodsolutions.demo.basics' , locale: 'en' }

Where do I need to change to fix it.

Felix Jost

unread,
Mar 27, 2007, 5:29:59 PM3/27/07
to brasatoframew...@googlegroups.com
Hi Vinod,

Thank you for the feedback!
It is midnight our time - so I will get some hours of sleep before being able to answer you.

I think it could be
a) a misconfiguration in the coreconfig.xml file (but it should work out of the bos), or
b) a servlet container that does not expand the war ("unzip") into a directory. for source editing this is needed however. (not for production mode)

A more detailed answer will follow.
Good night or day,
Felix

Vinod

unread,
Mar 28, 2007, 2:15:38 AM3/28/07
to brasatoframework-developers
Hi Felix,
Thanks for your response. I have used JBoss App server 4.x to
deploy the demo.war file.
Waiting for your detailed response.

Thanks
Vinod

felix....@gmail.com

unread,
Mar 28, 2007, 2:57:03 AM3/28/07
to brasatoframework-developers
Hi Vinod,

I have downloaded demo.war and tested it on Tomcat 5.5.23 with java
1.5 on windows xp and it runs fine.
For JBoss: try to expand the war (e.g. with unzip or with jar -xvf
demo.war) so that instead of demo.war you have then a folder called
"demo" with the application in it.
Brasato uses servletContext.getRealPath("/") to determine where the
webapp resides and then tries to access the sources files in the "WEB-
INF/src" folder.

Maybe you can try it on Tomcat as well and tell me whether this
worked.

Have a nice day,
Felix


On Mar 28, 8:15 am, "Vinod" <vinodpati...@gmail.com> wrote:
> Hi Felix,
> Thanks for your response. I have used JBoss App server 4.x to
> deploy the demo.war file.
> Waiting for your detailed response.
>
> Thanks
> Vinod
>
> Felix Jost wrote:
> > Hi Vinod,
>
> > Thank you for the feedback!
> > It is midnight our time - so I will get some hours of sleep before being
> > able to answer you.
>
> > I think it could be
> > a) a misconfiguration in the coreconfig.xml file (but it should work out of
> > the bos), or
> > b) a servlet container that does not expand the war ("unzip") into a
> > directory. for source editing this is needed however. (not for production
> > mode)
>
> > A more detailed answer will follow.
> > Good night or day,
> > Felix
>

Vinod

unread,
Mar 28, 2007, 6:04:29 AM3/28/07
to brasatoframework-developers
Hi Felix,

Great. Its running fine in apache-tomcat-6.0.10 server.
Another thing is , is there any place where I can get complete
documentation on brasato explaining the architecture, flow of control
and various configuration files involved etc? And I am still confused
about how it finds a welcome file inspite of not mentioning anything
in the web.xml. Basically I am a struts guy, I might be overlooking
something. Please let me know how it identifies the welcome file and
goes to that file.

Thanks
Vinod

Felix Jost

unread,
Mar 29, 2007, 9:28:13 AM3/29/07
to brasatoframew...@googlegroups.com
Hi Vinod,

Sorry for the not-yet-advanced documentation - It is work in progress.
Look at the file coreconfig.xml in the folder src/org/olat/core/_spring -> you see a line as below:

    <!-- MAIN CLASS so to say, all new sessions let a homemaincontroller create -->
                        <property name="className" value="ch.goodsolutions.demo.MainController"/>

-> that is, the main layout / start screen / welcome message is defined in MainController.java ->
in the file /ch/goodsolutions/demo/_content/demo.html you find the file to start with.

Also look at the whole package and an explanation can be found here:
http://www.brasatoframework.org/developers.html

The most important thing IMHO is to rather think in Swing /SWT style instead of request/response cycle, which was a natural way to look at webapps, especially if you know struts.

Hope that helps,
Felix




On 3/28/07, Vinod <vinodp...@gmail.com> wrote:

Hi Felix,

Great. Its running fine in apache-tomcat-6.0.10 server.
Another thing is , is there any place where I can get complete
documentation on brasato explaining the architecture, flow of control
and various configuration files involved etc? And I am still confused
about how it finds a welcome file inspite of not mentioning anything
in the web.xml. Basically I am a struts guy, I might be overlooking
something. Please let me know how it identifies the welcome file and
goes to that file.

Thanks
Vinod

felix....@gmail.com wrote:
> Hi Vinod,
>
> I have downloaded demo.war and tested it on Tomcat 5.5.23 with java
> 1.5 on windows xp and it runs fine.
> For JBoss: try to expand the war ( e.g. with unzip or with jar -xvf

Vinod

unread,
Apr 4, 2007, 8:47:14 AM4/4/07
to brasatoframework-developers
Hi Felix,
By when will be the documentation released?
Thanks
Vinod

Felix Jost

unread,
Apr 10, 2007, 5:48:18 AM4/10/07
to brasatoframew...@googlegroups.com
Hi Vinod,

We are currently working hard on the new OLAT Release and - as often - there is no date yet for the documentation.
In which areas do you need specific help?

Also look at the technical documentation on http://www.olat.org/public/documentation.html which also applies mostly to brasato, since brasato evolved from olat.

Sorry for not having a better docu yet - We will try to help you as much as possible.

Cheers,
Felix

Vinod

unread,
Apr 12, 2007, 5:56:36 AM4/12/07
to brasatoframework-developers
Hi Felix,
I am using OLAT and would like to know how and where I should change
in order to make OLAT SSO Enabled.

Thanks
Vinod

Felix Jost

unread,
Apr 16, 2007, 8:04:41 AM4/16/07
to brasatoframew...@googlegroups.com
Hi Vinod,

Please post this question to the OLAT developers mailing list  http://www.olat.org/public/developers/mailinglist.html
- What kind of SSO do you plan (e.g. PKI with Client Certs, Shibboleth (already in OLAT), Kerberos, ...)

Greetings, Felix
Reply all
Reply to author
Forward
0 new messages