You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roman Kunert <ku...@yobe.de> on 2001/09/26 09:49:30 UTC

Cocoon2 and j2sdkee1.2.1 ?

Did anyone manage to make cocoon2 work with the j2sdkee1.2.1?

Here's what I have tried so far:

1. cocoon2 could not access the jar-files in the WEB-INF/lib dir so I
extracted them all into the WEB-INF/classes dir

2. I deployed the cocoon.war file with the visual deployment tool
successfully

3. when I tried to access the servlet cocoon reported that it could not
be initialized

4. cocoon did not create any log files, neither in
public_html/cocoon/WEB-INF/log nor at a place like file:///c:/log that I
had written into the logkit.conf file

Cocoon did not report any error to stderr or stdout, the only thing the
j2sdkee said was:

javax.naming.NameNotFoundException: Subcontext: cocoon_cocoon not found
	<<no stack trace available>>

in the error.log file

any ideas?



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: LangSelect Action does not store language setting

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
> Hi all,
>
> As I have understood, the LangSelect Action should be configurable via
> <map:parameter>s to store the selected language in different ways. My
> sitemap looks like this:
>
> <map:actions>
> <map:action name="lang-select" src="org.apache.cocoon.acting.LangSelect">
> <map:parameter name="create-session" value="true"/>
> <map:parameter name="store-in-session" value="true"/>
> </map:action>
> </map:actions>
>
> However, the language selection mechanism only works when my links end
with
> ?lang=XX. What more is needed? Or have I misunderstood something?

It's better to use LocaleSelect action. LangSelect is a subset of
LocaleSelect and can be out-dated, because it not supported now.

Anyway, it worked for me before...

>
> Cheers,
>
> Gustav

Regards,
    Konstantin Piroumian

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


LangSelect Action does not store language setting

Posted by Gustav Liden <gu...@ctakt.com>.
Hi all,

As I have understood, the LangSelect Action should be configurable via
<map:parameter>s to store the selected language in different ways. My
sitemap looks like this:

<map:actions>
	<map:action name="lang-select" src="org.apache.cocoon.acting.LangSelect">
		<map:parameter name="create-session" value="true"/>
		<map:parameter name="store-in-session" value="true"/>
	</map:action>
</map:actions>

However, the language selection mechanism only works when my links end with
?lang=XX. What more is needed? Or have I misunderstood something?

Cheers,

Gustav



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>