Hi,
The webclipping use the preferences system available with Java since
1.4, this system is configurable by passing some variable to the JVM.
Here more information about this system :
http://java.sun.com/j2se/1.4.2/docs/api/java/util/prefs/Preferences.html
http://java.sun.com/j2se/1.4.2/docs/guide/lang/preferences.html
http://www.onjava.com/pub/a/onjava/synd/2001/10/17/j2se.html?page=2
On Unix the preferences are saved in filesystem and on windows they are
saved on registry.
I do not know if the FileSystemPreferencesFactory class is configurable.
But if you have multiple webclipping each one have is own node of
preference so they won't conflict.
Cheers,
Cedric Mailleux
Douglas Doyer wrote:
Hi,
I discussed with Allen and the problem was related to the security on the file system. We realize that the service account of Jahia was trying to create a file tree and some configuration files when the WebApps initialize.
The question is: Is this possible to specify for each WebClipping 1.0 WebApps
to create this structure (and the configuration files they need) under the
directory of this Webapps (instead of the /etc/.java directory by default?)
Thanks.
-----Message d'origine-----
De : Serge Huber [mailto:[EMAIL PROTECTED]
Envoyé : 17 novembre 2005 12:08
À : [email protected]
Objet : Re: WebClipping portlet
Hmm... not sure what's going on here but if the webapps is using System
preferences you might have to look at file system permissions and such.
Regards,
Serge Huber.
Allen E. Whittom wrote:
Hi Michel,
I deployed the webapp with the "root" user account. I have this error
in the log file during start-up;
-----
ApplicationDispatcher[/webclipping_fsa] Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: java.io.FileNotFoundException:
/etc/.java/.systemPrefs/com/codeva/webapps/webclipping/prefs.tmp:
Permission denied
-----
I'll try to check the server security settings; maybe that's the cause
of the error.
Allen
------------------------------------------------------------------------
*De :* Michel Romy [mailto:[EMAIL PROTECTED]
*Envoyé :* 8 novembre 2005 04:12
*À :* [email protected]
*Objet :* RE: WebClipping portlet
Hi Allen,
with what user have you deployed the webapps ? do you have other error
in the log file during startup that may cause this problem ?
Michel
Hi Sylvain,
Thank for the clue, I'll try what you're talking about.
Concerning my question, I think that I wasn't clear. The installation
of the webapps by the way of the Jahia administration didn't cause any
problem. I'm able to add the webapp in a page when I'm in "edition"
mode. But when the webapp is displayed, the following messages are shown;
In edition mode ;
"Error while retrieving application webclipping-1.0"
In online mode :
"This webapp has not been initialized by an administrator"
So my question is, how can I initialize this webapp?
Thanks!
Allen
------------------------------------------------------------------------
*De :* Sylvain Rivest [ mailto:[EMAIL PROTECTED]
*Envoyé :* 7 novembre 2005 11:28
*À :* [email protected]
*Objet :* RE: WebClipping portlet
Salut Allen,
As-tu fais un « chown » après avoir déposé ton fichier .ear
Dans le genre # chown jahiaapp.jahiaapp -R /new_components/
*Sylvain Rivest
*Technicien en informatique
Service de l'informatique et des télécommunications
Pavillon Louis-Jacques-Casault, local 2410
Université Laval
Québec, Canada
G1K 7P4
Téléphone ..... (418)656-2131 poste 11396
Télécopieur ... (418)656-7305
Courriel ...... [EMAIL PROTECTED] (
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>)
------------------------------------------------------------------------
*De :* Allen E. Whittom [ mailto:[EMAIL PROTECTED]
*Envoyé :* 7 novembre 2005 10:36
*À :* [email protected]
*Objet :* WebClipping portlet
Hi,
I would like to know how to initialize the 'WebClipping' portlet from
Codeva ?
The portlet doesn't seem to have an 'auto-install' feature and I
didn't found any documentation on the Jahia or Cadeva websites about
this portlet.
Thanks
--
Allen E. Whittom, analyste en informatique
Service de l'informatique et des télécommunications de l'Université
Laval, Québec, Québec G1K 7P4
t. 418-656-2131 p. 17892