You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tony Edwards <te...@civica.com.au> on 2004/02/16 04:26:09 UTC

Error running 2.1.3 app in 2.1.4

Folks,
I'm still interested to hear if I can generate woody forms on the fly - 
but it isn't really a show stopper at this stage (I'm quite happy to 
just insert a configuration step that generates the necessary forms and 
move these to a 'production' area).

In the meantime, I just downloaded the latest 2.1.4 build and got 
everything running. I then copied over a 2.1.3 working application and 
got this error:
"org.apache.cocoon.ProcessingException: Failed to load sitemap from 
file:/C:/cocoon-2.1.4/build/webapp/SGSAssets/SGSAssets.xmap: 
org.apache.avalon.framework.configuration.ConfigurationException: No 
languages defined!"
What has changed from 2.1.3 to 2.1.4???

As always, thanks for you help!

Tony

>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Error running 2.1.3 app in 2.1.4

Posted by Tony Edwards <te...@civica.com.au>.
Johnson,
I did exactly the same thing and it worked!
So now my 2.1.3 apps are running in 2.1.4.
thanks.
Tony

Johnson wrote:

>Hi!
>
>when I use the jxform examples in 2.1.4,a error "no languages defined!"
>appear.
>I Found the sitemap.xmap in map:components had a map:flow-interpreters
>declaration without laguage clause in it.
>So I delele it(because there're another one in pipelines) and work!
>I think that's the different between 2.1.3 and 2.1.4
>
>Best Regards
>
>Johnson
>
>
>----- Original Message ----- 
>From: "Stefan Burkard" <sb...@previon.ch>
>To: <us...@cocoon.apache.org>
>Sent: Saturday, February 21, 2004 3:14 AM
>Subject: Re: Error running 2.1.3 app in 2.1.4
>
>
>  
>
>>hi tony
>>
>>i'm just suggesting, but if you're using flow-script, try to add an
>>explicit declaration of the used language:
>><map:flow language="javascript">
>><map:script src="path to your js-flow-files"/>
>></map:flow>
>>
>>greetings
>>stefan
>>
>>Tony Edwards wrote:
>>    
>>
>>>Folks,
>>>I'm still interested to hear if I can generate woody forms on the
>>>      
>>>
>fly -
>  
>
>>>but it isn't really a show stopper at this stage (I'm quite happy to
>>>just insert a configuration step that generates the necessary forms
>>>      
>>>
>and
>  
>
>>>move these to a 'production' area).
>>>
>>>In the meantime, I just downloaded the latest 2.1.4 build and got
>>>everything running. I then copied over a 2.1.3 working application
>>>      
>>>
>and
>  
>
>>>got this error:
>>>"org.apache.cocoon.ProcessingException: Failed to load sitemap from
>>>file:/C:/cocoon-2.1.4/build/webapp/SGSAssets/SGSAssets.xmap:
>>>org.apache.avalon.framework.configuration.ConfigurationException: No
>>>languages defined!"
>>>What has changed from 2.1.3 to 2.1.4???
>>>
>>>As always, thanks for you help!
>>>
>>>Tony
>>>
>>>      
>>>
>>>>        
>>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Error running 2.1.3 app in 2.1.4

Posted by Johnson <jo...@soho.club.tw>.
Hi!

when I use the jxform examples in 2.1.4,a error "no languages defined!"
appear.
I Found the sitemap.xmap in map:components had a map:flow-interpreters
declaration without laguage clause in it.
So I delele it(because there're another one in pipelines) and work!
I think that's the different between 2.1.3 and 2.1.4

Best Regards

Johnson


----- Original Message ----- 
From: "Stefan Burkard" <sb...@previon.ch>
To: <us...@cocoon.apache.org>
Sent: Saturday, February 21, 2004 3:14 AM
Subject: Re: Error running 2.1.3 app in 2.1.4


> hi tony
>
> i'm just suggesting, but if you're using flow-script, try to add an
> explicit declaration of the used language:
> <map:flow language="javascript">
> <map:script src="path to your js-flow-files"/>
> </map:flow>
>
> greetings
> stefan
>
> Tony Edwards wrote:
> > Folks,
> > I'm still interested to hear if I can generate woody forms on the fly -
> > but it isn't really a show stopper at this stage (I'm quite happy to
> > just insert a configuration step that generates the necessary forms and
> > move these to a 'production' area).
> >
> > In the meantime, I just downloaded the latest 2.1.4 build and got
> > everything running. I then copied over a 2.1.3 working application and
> > got this error:
> > "org.apache.cocoon.ProcessingException: Failed to load sitemap from
> > file:/C:/cocoon-2.1.4/build/webapp/SGSAssets/SGSAssets.xmap:
> > org.apache.avalon.framework.configuration.ConfigurationException: No
> > languages defined!"
> > What has changed from 2.1.3 to 2.1.4???
> >
> > As always, thanks for you help!
> >
> > Tony
> >
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Error running 2.1.3 app in 2.1.4

Posted by Stefan Burkard <sb...@previon.ch>.
hi tony

i'm just suggesting, but if you're using flow-script, try to add an 
explicit declaration of the used language:
<map:flow language="javascript">
	<map:script src="path to your js-flow-files"/>
</map:flow>

greetings
stefan

Tony Edwards wrote:
> Folks,
> I'm still interested to hear if I can generate woody forms on the fly - 
> but it isn't really a show stopper at this stage (I'm quite happy to 
> just insert a configuration step that generates the necessary forms and 
> move these to a 'production' area).
> 
> In the meantime, I just downloaded the latest 2.1.4 build and got 
> everything running. I then copied over a 2.1.3 working application and 
> got this error:
> "org.apache.cocoon.ProcessingException: Failed to load sitemap from 
> file:/C:/cocoon-2.1.4/build/webapp/SGSAssets/SGSAssets.xmap: 
> org.apache.avalon.framework.configuration.ConfigurationException: No 
> languages defined!"
> What has changed from 2.1.3 to 2.1.4???
> 
> As always, thanks for you help!
> 
> Tony
> 
>>  
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Lynotype sample - Permissions?

Posted by Linc <li...@iprimus.com.au>.
I found a similar error in msg05088 - Linotype Problem (Mozilla). Stefano
mentions setting a global variable to fix the problem:
-----
<global-variables>
  <home>/samples/linotype</home>
</global-variables>

and later on the following usage:

<map:parameter name="home" value="{request:contextPath}{global:home}"/>

This fix makes it at least independent on the servlet container (config).

Stefano?
-----

Does anyone know where to makethese changes. Which files? where abouts in
those files?



Linc



> Hi,
>
> I am trying to get the Lynotype sample working on the server (works fine
> locally).
> Currently I can't:
> 1. Edit news items bacause when I save it just goes back to the original
> text.
> 2. On selecting "Write a news" I get the error:
> "...  news/6/document.xml doesn't exist. "
>
> I think its a permissions issue so can anyone tell me what permissions I
> need so Lynotype can create directories and files. Cocoon is running on a
> Lynix server with Tomcat.
>
> TIA
>
> Linc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Lynotype sample - Permissions?

Posted by Ugo Cei <u....@cbim.it>.
Linc wrote:
> Hi,
> 
> I am trying to get the Lynotype sample working on the server (works fine
> locally).
> Currently I can't:
> 1. Edit news items bacause when I save it just goes back to the original
> text.
> 2. On selecting "Write a news" I get the error:
> "...  news/6/document.xml doesn't exist. "
> 
> I think its a permissions issue so can anyone tell me what permissions I
> need so Lynotype can create directories and files. Cocoon is running on a
> Lynix server with Tomcat.

Did you enable uploads in web.xml?

	Ugo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Lynotype sample - Permissions?

Posted by Linc <li...@iprimus.com.au>.
Hi,

I am trying to get the Lynotype sample working on the server (works fine
locally).
Currently I can't:
1. Edit news items bacause when I save it just goes back to the original
text.
2. On selecting "Write a news" I get the error:
"...  news/6/document.xml doesn't exist. "

I think its a permissions issue so can anyone tell me what permissions I
need so Lynotype can create directories and files. Cocoon is running on a
Lynix server with Tomcat.

TIA

Linc




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org