You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2009/04/20 11:17:14 UTC
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
astra123 schrieb:
[…]
> Thanks for your response.
> Im using Lenya 2.0 version.
2.0 had some issues, I'd recommend updating to 2.0.2. We will hopefully
release 2.0.3 in a couple of weeks.
> As you said inside "$LENYA_HOME/build/lenya/webapp/lenya/pubs/MYPUB/Config"
> im finding publication.xml.
> My doubt is whwn im trying to launch My publication why it is saying
> introduction.html not found.?
That's a good question. It sounds familiar, though – could be an issue
with the 2.0 version. If you don't want to try it with a newer version,
you could ZIP your publication and attach it to the Wiki, maybe I'll
find the time to take a look at it.
> Do i need to create any introduction.html or will get created while building
> itself?If so please tell me in which path i need to place that
> introduction.html.
The file doesn't actually exist, the page is dynamically generated from
publication.xml.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by astra123 <sa...@tcs.com>.
Andreas Hartmann wrote:
>
> astra123 schrieb:
>
> […]
>
>> i have attached the zip file of src. (which is present below LENYA_HOME)
>
> Thanks!
>
>> http://www.nabble.com/file/p23133703/src.zip src.zip
>>
>> If you find time please help us on checking this source directory(where
>> all
>> the xmls related to publication are placed)
>
> You find the reason for the (admittedly confusing) error message in
> $LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log. On my machine I
> get this error:
>
> org.apache.lenya.ac.AccessControlException: Configuration directory
> [/your_home/src/lenya/data/access-control/passwd] does not exist!
>
> Does this directory exist on your machine? It should contain the access
> control data, see
> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
Hi,
Inside [/your_home/src/lenya/data/access-control/passwd] there are some
rml,gml and iml files (as told in the reference link)
And under [$LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log.] there are
no contents for me.even after launching the lenya's index page
--
View this message in context: http://www.nabble.com/Problem-in-using-lenya-as-stand-alone-with-jetty-server%28wihtout-any-IDE%29-tp23093303p23134372.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by astra123 <sa...@tcs.com>.
Andreas Hartmann wrote:
>
> astra123 schrieb:
>>
>>
>> Andreas Hartmann wrote:
>>> astra123 schrieb:
>>>
>>> […]
>>>
>>>> i have attached the zip file of src. (which is present below
>>>> LENYA_HOME)
>>> Thanks!
>>>
>>>> http://www.nabble.com/file/p23133703/src.zip src.zip
>>>>
>>>> If you find time please help us on checking this source directory(where
>>>> all
>>>> the xmls related to publication are placed)
>>> You find the reason for the (admittedly confusing) error message in
>>> $LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log. On my machine I
>>> get this error:
>>>
>>> org.apache.lenya.ac.AccessControlException: Configuration directory
>>> [/your_home/src/lenya/data/access-control/passwd] does not exist!
>>>
>>> Does this directory exist on your machine? It should contain the access
>>> control data, see
>>> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>>>
>>> -- Andreas
>>>
>>>
>>> --
>>> Andreas Hartmann, CTO
>>> BeCompany GmbH
>>> http://www.becompany.ch
>>> Tel.: +41 (0) 43 818 57 01
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>>
>> i have the log4j.log file for your reference
>> http://www.nabble.com/file/p23148423/log4j.log log4j.log
>>
>> and as you asked under [/your_home/src/lenya/data/access-control/passwd]
>> i
>> have some files as told in the reference link
>> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>>
>> Please help me to resolve this
>
> Apparently you're using Windows, and the FileAccreditableManager doesn't
> like the access control configuration URI. Windows needs a special
> syntax for the drive letter, IIRC it's something like
>
> /c:/your_home/src/lenya/data/access-control/passwd or
> /c/your_home/src/lenya/data/access-control/passwd
>
> (not sure though, didn't use Windows for a while)
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
Hi,
So in windows machine,by following that tutorial as it is ,we cant develope
publication,
need to do some more changes ...am i right?
--
View this message in context: http://www.nabble.com/Problem-in-using-lenya-as-stand-alone-with-jetty-server%28wihtout-any-IDE%29-tp23093303p23168656.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by Andreas Hartmann <an...@apache.org>.
astra123 schrieb:
>
>
> Andreas Hartmann wrote:
>> astra123 schrieb:
>>
>> […]
>>
>>> i have attached the zip file of src. (which is present below LENYA_HOME)
>> Thanks!
>>
>>> http://www.nabble.com/file/p23133703/src.zip src.zip
>>>
>>> If you find time please help us on checking this source directory(where
>>> all
>>> the xmls related to publication are placed)
>> You find the reason for the (admittedly confusing) error message in
>> $LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log. On my machine I
>> get this error:
>>
>> org.apache.lenya.ac.AccessControlException: Configuration directory
>> [/your_home/src/lenya/data/access-control/passwd] does not exist!
>>
>> Does this directory exist on your machine? It should contain the access
>> control data, see
>> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>>
>> -- Andreas
>>
>>
>> --
>> Andreas Hartmann, CTO
>> BeCompany GmbH
>> http://www.becompany.ch
>> Tel.: +41 (0) 43 818 57 01
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>>
>
> i have the log4j.log file for your reference
> http://www.nabble.com/file/p23148423/log4j.log log4j.log
>
> and as you asked under [/your_home/src/lenya/data/access-control/passwd] i
> have some files as told in the reference link
> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>
> Please help me to resolve this
Apparently you're using Windows, and the FileAccreditableManager doesn't
like the access control configuration URI. Windows needs a special
syntax for the drive letter, IIRC it's something like
/c:/your_home/src/lenya/data/access-control/passwd or
/c/your_home/src/lenya/data/access-control/passwd
(not sure though, didn't use Windows for a while)
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by astra123 <sa...@tcs.com>.
Andreas Hartmann wrote:
>
> astra123 schrieb:
>
> […]
>
>> i have attached the zip file of src. (which is present below LENYA_HOME)
>
> Thanks!
>
>> http://www.nabble.com/file/p23133703/src.zip src.zip
>>
>> If you find time please help us on checking this source directory(where
>> all
>> the xmls related to publication are placed)
>
> You find the reason for the (admittedly confusing) error message in
> $LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log. On my machine I
> get this error:
>
> org.apache.lenya.ac.AccessControlException: Configuration directory
> [/your_home/src/lenya/data/access-control/passwd] does not exist!
>
> Does this directory exist on your machine? It should contain the access
> control data, see
> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
i have the log4j.log file for your reference
http://www.nabble.com/file/p23148423/log4j.log log4j.log
and as you asked under [/your_home/src/lenya/data/access-control/passwd] i
have some files as told in the reference link
http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
Please help me to resolve this
--
View this message in context: http://www.nabble.com/Problem-in-using-lenya-as-stand-alone-with-jetty-server%28wihtout-any-IDE%29-tp23093303p23148423.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by astra123 <sa...@tcs.com>.
Andreas Hartmann wrote:
>
> astra123 schrieb:
>
> […]
>
>> i have attached the zip file of src. (which is present below LENYA_HOME)
>
> Thanks!
>
>> http://www.nabble.com/file/p23133703/src.zip src.zip
>>
>> If you find time please help us on checking this source directory(where
>> all
>> the xmls related to publication are placed)
>
> You find the reason for the (admittedly confusing) error message in
> $LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log. On my machine I
> get this error:
>
> org.apache.lenya.ac.AccessControlException: Configuration directory
> [/your_home/src/lenya/data/access-control/passwd] does not exist!
>
> Does this directory exist on your machine? It should contain the access
> control data, see
> http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
Hi,
Have you developed any application like this as given in the below link:
[http://lenya.apache.org/docu20/tutorials/newResourceType/newResourceTypePart3.html]
some screen shots output they have given.
If so can you zip and send me the folders
--
View this message in context: http://www.nabble.com/Problem-in-using-lenya-as-stand-alone-with-jetty-server%28wihtout-any-IDE%29-tp23093303p23134782.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by Andreas Hartmann <an...@apache.org>.
astra123 schrieb:
[…]
> i have attached the zip file of src. (which is present below LENYA_HOME)
Thanks!
> http://www.nabble.com/file/p23133703/src.zip src.zip
>
> If you find time please help us on checking this source directory(where all
> the xmls related to publication are placed)
You find the reason for the (admittedly confusing) error message in
$LENYA_HOME/build/lenya/webapp/WEB-INF/logs/log4j.log. On my machine I
get this error:
org.apache.lenya.ac.AccessControlException: Configuration directory
[/your_home/src/lenya/data/access-control/passwd] does not exist!
Does this directory exist on your machine? It should contain the access
control data, see
http://lenya.apache.org/docu20/tutorials/newPublication14.html#N1006E.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Problem in using lenya as stand-alone with jetty server(wihtout
any IDE)
Posted by astra123 <sa...@tcs.com>.
Andreas Hartmann wrote:
>
> astra123 schrieb:
>
> […]
>
>> Thanks for your response.
>> Im using Lenya 2.0 version.
>
> 2.0 had some issues, I'd recommend updating to 2.0.2. We will hopefully
> release 2.0.3 in a couple of weeks.
>
>> As you said inside
>> "$LENYA_HOME/build/lenya/webapp/lenya/pubs/MYPUB/Config"
>> im finding publication.xml.
>> My doubt is whwn im trying to launch My publication why it is saying
>> introduction.html not found.?
>
> That's a good question. It sounds familiar, though – could be an issue
> with the 2.0 version. If you don't want to try it with a newer version,
> you could ZIP your publication and attach it to the Wiki, maybe I'll
> find the time to take a look at it.
>
>> Do i need to create any introduction.html or will get created while
>> building
>> itself?If so please tell me in which path i need to place that
>> introduction.html.
>
> The file doesn't actually exist, the page is dynamically generated from
> publication.xml.
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
Hi,
we are using lenya 2.0.2 only..sorry for giving wrong version before.
As you asked i have attachedthe zip file
the below is the structure given in that reference
link:(http://lenya.apache.org/docu20/tutorials/newPublication14.html)
$HOME/
apache/
lenya-2.0/ The Lenya installation directory, we'll call it
$LENYA_HOME.
src/
lenya/ The home directory of your Lenya-related sources.
pubs/ Your publications.
$MYPUB/ Your first publication. We'll call this directory
$MYPUB_HOME.
modules/ Your modules.
data/ Here you'll store your data:
content/ Content (documents, images, ...)
access-control/ Access control data
passwd/ Users, groups, etc.
policies/ Policies (page permissions)
i have attached the zip file of src. (which is present below LENYA_HOME)
http://www.nabble.com/file/p23133703/src.zip src.zip
If you find time please help us on checking this source directory(where all
the xmls related to publication are placed)
--
View this message in context: http://www.nabble.com/Problem-in-using-lenya-as-stand-alone-with-jetty-server%28wihtout-any-IDE%29-tp23093303p23133703.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org