[magnolia-user] Project Specific Workflow

2013-05-20 Thread Jon RINGWOOD PSE 55500
Does anyone know if it's possible to have project specific workflow in 
Magnolia? It looks to me like it is instance-specific and workflow is either ON 
or OFF, we currently have it switched off. Is there any way that a single 
project can have workflow enabled?
 
Any advice most welcome as usual.
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent and Essex Police, which is confidential or privileged.  The information is 
intended to be for the exclusive use of the individual(s) or bodies to whom it 
is addressed. The content including any subsequent replies could be disclosable 
if relating to a criminal investigation or civil proceedings. If you are not 
the intended recipient, be aware that any disclosure, copying, distribution or 
use of the contents of this information is prohibited. If you have received 
this email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Custom 404 Error pages

2013-02-26 Thread Jon RINGWOOD PSE 55500
Morning All,
 
Does anyone know if it's possible to create custom 404 pages for individual 
projects on the same public instance?
 
Or can you only have one error-page defined in your web.xml file?
 
Any advice most welcome as usual. 
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Image display issues

2012-11-09 Thread Jon RINGWOOD PSE 55500
I'm trying to create a new component that displays content and an image from a 
specific page. This is for an IT status teaser. I've set up the component and 
dialog (nothing in the dialog at the moment, will be some display options 
later). I can display the page name, abstract etc no problem but can't get a 
handle on the image. Could do with a little help please?
 
Just using cms.query to get the page and then running an assignValues macro to 
get the page content. I tried to get the image by 
 
 [#assign imageLink = stkfn.getAssetLink(item, image, model)!]
 
but just get a 'No signature of method getAssetLink matches the arguments' 
error.
 
Any advice would be great.
 
Thanks
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: AW: [magnolia-user] Public instances

2012-09-12 Thread Jon RINGWOOD PSE 55500
Thanks Richard. We're probably going to go for session affinity as our
load-balancer is set up for that. The problem is that it won't work with
the forum module will it? Not quite sure how to manage comments unless
we route those specific url's through a specified public instance. I
guess that is when clustering would need to be used isn't it?

 On 11/09/12 at 14:59, Unger, Richard richard.un...@lfrz.at
wrote:


Hi Jon,
Yes, I concur with Will*s answer.
The moment your webapps use the session (for example, because they
require login to a protected area) you need to take this into account in
your system architecture. Each user request has to be associated with
that user*s session on the server-side.
There are 3 basic techniques for this, and as always, it*s a
trade-off:
1)  Use so-called *session affinity* in your load-balancer
configuration. Basically, this makes sure that each user, after the
initial request, always gets to speak to the same application-server,
for all future requests. This ensures that the user can always be
reconnected to his session, since he always talks to the same tomcat.
There are different techniques for achieving this depending on the
load-balancer you are using. Some solutions use cookies, some use
features of the request like client-IP, and some maintain internal
tables to manage the associations. The ability to handle requests with
*session affinity* should be a feature of any load-balancer solution,
it*s a very common need.
Advantages of this solution include that it is simple to set up, does
not require any modification of either app-servers or the application,
and generally does not impact performance. Disadvantages include the
fact that if an app-server dies or is taken down for maintainance, all
active sessions of that app-server are lost, and users who were
connected to that app-server have to log in again, and restart whatever
they were doing in a new session on the other app-server. Also, having
session affinity can *skew* your load-balancing, since the balancer is
not entirely free to distribute requests as it wants.


2)  Your second option is to use clustering to share the session
between your application-servers. In this case, you configure the
app-servers to operate together *as a cluster*. The app-servers will
manage distribution of the user sessions between participating cluster
nodes. In this setup it does not matter which server gets to process an
incoming request * all servers have access to all the sessions.
Principal advantage of this solution is true failover * you can take
down an app-server, and users will simply continue working on the other
cluster nodes, without missing a beat. Principal disadvantage of this
solution is that it requires consideration at the app-design level *
since the sessions are being exchanged (over the network) between the
app-servers, any information stored in the session has to be
serializable. This means you have to pay careful attention to what
objects get put in the user session by your application. Also, if the
sessions are large, performance will suffer since the cluster will have
to do a lot of work to serialize and deserialize the sessions.


3)  A third option, less commonly used in Java AFAIK, is to use
shared persistent storage for the sessions. Typically a database is used
to store the user sessions, and each session is loaded at the beginning
of a request, and then persisted back the the DB at the end of a
request. This setup has the advantage of having sessions available on
each server, without having to configure clustering, which can be
complicated. Principal disadvantages are probably performance, and of
course in this solution sessions also need to be completely serializable
as well.
Personally, I*d go for #1 or #2, not #3*
Regards from Vienna,
Richard
 

Von: user-list-ow...@magnolia-cms.com
[mailto:user-list-ow...@magnolia-cms.com] Im Auftrag von Jon RINGWOOD
PSE 55500
Gesendet: Dienstag, 11. Se
ptember 2012 11:11
An: Magnolia User-List
Betreff: Re: [magnolia-user] Public instances

 

Hey Will,

 

I meant content that users had to login to view like the members only
area of the demo-project.  I assume that can't be managed by clustered
storage as it would be session based wouldn't it? Load balanced public
instances wouldn't work in that respect surely?

 

Jon

 On 11/09/12 at 08:47, Will Scheidegger willscheideg...@mac.com
wrote:


Hi Jon 

 

I don't really know what you mean by protected content. Isn't both
the extranet and intranet protected content by definition?

 

All user generated content (i.e. comments, shopping carts and so on)
however must be stored in a clustered repository in order for it to work
with multiple nodes.

 

Best regards,

-will

 

On 11.09.2012, at 09:39, Jon RINGWOOD PSE 55500 wrote:




 

I'm after a little advice, we have a standard server configuration with
a single author publishing to two public instances. These public
instances host our extranet

[magnolia-user] Public instances

2012-09-11 Thread Jon RINGWOOD PSE 55500
 
I'm after a little advice, we have a standard server configuration with a 
single author publishing to two public instances. These public instances host 
our extranet and intranet and are load balanced with both subscribing to the 
same author content. This works well but we are starting to plan for protected 
content and commenting and are not sure how this would work with load-balanced 
public instances. I assume that it wouldn't! 
 
Does anyone use protected content and commenting on their site? If so, do you 
load-balance or just use a single public instance?
 
Any advice would be most appreciated.
 
Thanks
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [magnolia-user] Public instances

2012-09-11 Thread Jon RINGWOOD PSE 55500
Hey Will,
 
I meant content that users had to login to view like the members only area of 
the demo-project.  I assume that can't be managed by clustered storage as it 
would be session based wouldn't it? Load balanced public instances wouldn't 
work in that respect surely?
 
Jon

 On 11/09/12 at 08:47, Will Scheidegger willscheideg...@mac.com wrote:

Hi Jon

I don't really know what you mean by protected content. Isn't both the 
extranet and intranet protected content by definition?

All user generated content (i.e. comments, shopping carts and so on) however 
must be stored in a clustered repository in order for it to work with multiple 
nodes.

Best regards,
-will

On 11.09.2012, at 09:39, Jon RINGWOOD PSE 55500 wrote:



 
I'm after a little advice, we have a standard server configuration with a 
single author publishing to two public instances. These public instances host 
our extranet and intranet and are load balanced with both subscribing to the 
same author content. This works well but we are starting to plan for protected 
content and commenting and are not sure how this would work with load-balanced 
public instances. I assume that it wouldn't! 
 
Does anyone use protected content and commenting on their site? If so, do you 
load-balance or just use a single public instance?
 
Any advice would be most appreciated.
 
Thanks
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.




For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




Re: AW: [magnolia-user] Security - User Management

2012-08-08 Thread Jon RINGWOOD PSE 55500
Thanks Richard, really useful info. 
 
I'm fairly comfortable with setting up the appropriate roles and groups
across multiple projects but did wonder how others handled the risk of
cross-linking between projects that were not subscribed to the same
public instances. I guess the answer is education and training as we
will have quite a few publishers with multi-site permissions. 
 
Quick question, related I think, do you know if it's possible to deny
users permissions to the command buttons (i.e 'New page', 'Activate
changes' etc) ?
 
Thanks
 
Jon

 On 07/08/12 at 11:26, Unger, Richard richard.un...@lfrz.at
wrote:


Hello Jon,
I think many users of magnolia EE will face this issue * we certainly
did.
We handled this issue as follows:
-  We set up 3+ roles for each site: an admin role, an editor
role, and a base role
o   The base role simply gives read-only access to the site-root and
below, as well as a corresponding folder in DMS, and any category or
data module content needed by the site
o   The editor role has write access to the site and the dms folder
o   The admin role has write access to the site, dms folder and data
module content
o   Sometimes, for the larger sites, we have multiple editor roles with
write access to different parts of the site
-  For each role we create a corresponding group
o   That lets us delegate the user management to *master-admin* users
o   The master-admin has read-access to roles and groups, and
write-access to users. The roles menu is hidden from master-admins (by
removing access to the *roles* menu item in the config workspace)
o   The master-admin therefore sees the groups and users, and can
assign groups to users to handle the user management
o   Creating new roles is done only by us (superusers)
-  In DMS, we create a root folder for each site
o   The idea is that assets for a site are stored within the folder for
that site
o   We also have a *shared* folder, that all editors have read-access
to
o   We store common logos and other generally useful assets in the
shared folder
o   The contents of the shared folder are managed by the
*master-admins*, normal editors can only link to content stored
there, not modify it
If editors have more than one site, they see the trees for both sites.
That can be a little confusing for the editors, but in our setup this is
not a common occurrence, and the affected editors are generally more
*power-users*, and therefore can be trained to deal with it.
It could be an option to create multiple users for your editors who
have to edit more than one site. In that case they could log in with one
user when editing site A, and another user when editing site B. In this
way they would only get to see one tree. On the other hand they would
have to log out and back in to edit the other site. Whether this is more
or less confusing than having 2 trees is open to discussion, I think.
For us that was not an option in any case, as our editors log in via a
SSO system, and could not easily switch users.
*Cross-Linking* content from one site in another is supported by
magnolia, and not actually a technical problem, unless the content is
not subscribed on the same public instances. It can be an organizational
problem if content from site A is used in site B, and a site A editor
who is unaware of this deletes the content.
Regards from Vienna,
Richard
 

Von: user-list-ow...@magnolia-cms.com
[mailto:user-list-ow...@magnolia-cms.com] Im Auftrag von Jon RINGWOOD
PSE 55500
Gesendet: Dienstag, 07. August 2012 12:02
An: user-list@magnolia-cms.com
Betreff: [magnolia-user] Security - User Management

 

Morning all,

 

Just looking for a little advice on setting up users, groups, and roles
within Magnolia EE. Do many people have multiple sites based in a single
author that publish to multiple public servers? If so, how do you manage
users that require access to those sites? It looks like it could be
fairly confusing for them i
f they log in and see several top level
sites. 

 

Also do you ever experience problems with users mistakenly linking to
documents and images from the wrong site? It looks like it could be
easily done.

 

Any advice most welcome.

 

Thanks

 

Jon

 


For list details, see
http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details, see
http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details, see http

[magnolia-user] Security - User Management

2012-08-07 Thread Jon RINGWOOD PSE 55500
Morning all,
 
Just looking for a little advice on setting up users, groups, and roles within 
Magnolia EE. Do many people have multiple sites based in a single author that 
publish to multiple public servers? If so, how do you manage users that require 
access to those sites? It looks like it could be fairly confusing for them if 
they log in and see several top level sites. 
 
Also do you ever experience problems with users mistakenly linking to documents 
and images from the wrong site? It looks like it could be easily done.
 
Any advice most welcome.
 
Thanks
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [magnolia-user] Simple navigation in 4.5

2012-05-18 Thread Jon RINGWOOD PSE 55500
I did see the tag reference library but still can't get anywhere with it. Can 
anyone help?


 On 17/05/12 at 16:55, vollprecht gestaltung gra...@vollprecht.com wrote:

hi jon

i got it working with jsp in 4.5.2 

maybe this helps:
http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.2/magnolia-templating-compatibility-taglib-utility/tagreference.html

regards tobias


Am 17.05.2012 um 14:59 schrieb Jon RINGWOOD PSE 55500:



Does anyone know if the simpleNavigation tag still works in 4.5? We are 
redesigning one of our sites and can't get past the Freemarker errors generated 
by it.
 
The tag we're using is
 
[@cmsu.simpleNavigation  /]
 
Any help would be most appreciated.
 
Thanks
 
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.




For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




Re: [magnolia-user] Personalisation. Is it possible?

2012-04-04 Thread Jon RINGWOOD PSE 55500
Thanks for that Will. I'm happy to use the ACL to control access to
particular nodes but really wanted a way to change the actual content
displayed on a particular page dependant on which user was logged in. We
will be controlling access using LDAP authentication and permissions
using the LDAP groups setup within the security groups tab. Is there any
way of getting a handle on what groups the logged in user belongs to
from the Freemarker template?
 


 On 30/03/12 at 22:08, Will Scheidegger willscheideg...@mac.com
wrote:

Hi Jon

You can hide or show stuff easily by using the ACL, i.e. restricting
access to nodes to certain groups and have all nodes displayed on your
page. If user A loges in, only his nodes will be displayed and so on*

If you want to do this programmatically instead of using the ACL you
can easily get the current user from MgnlContext (which is also
accessible from the Freemarker template (${ctx.user}).

-will

On 30.03.2012, at 17:33, Jon RINGWOOD PSE 55500 wrote:



Is it possible to personalise sections of a web site in Magnolia? For
instance, a user logs into the public instance and gets a particular
list of links depending on what Group (LDAP group) they belong to? If
they were members of the 'West' group then they would see Links-West and
if they were 'East' then obviously Links-East. 
 
Is there a way to get a handle on the logged in user and the groups
that the user belongs to within the Freemarker template code? If so how
might this be achieved? 
 
I'd really appreciate any advice on this as it could be a major
showstopper in our intranet development plan.
 
Thanks
 
Jon R



For list details, see
http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information
from Kent Police, which is confidential or privileged.  The information
is intended to be for the exclusive use of the individual(s) or bodies
to whom it is addressed. The content including any subsequent replies
could be disclosable if relating to a criminal investigation or civil
proceedings. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this email in error,
please notify us immediately by contacting the sender or telephoning
01622 690690.




For list details, see
http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




RE: [FRnOG] [BIZ] Recherche FAI pour PME sur la ZA du Pujol à Auriol

2012-02-23 Thread Comint PSE
Bonjour à tous,

Mais si, mais si on peut trouver mieux dans le coin.

J'ai passé l'info à nos commerciaux qui devraient te proposer mieux que ce que 
tu as pour l'instant. Juste le temps de les remuer un peu et ils te contacte...


Cordialement

Paul SOAVE


-Message d'origine-
De : frnog-requ...@frnog.org [mailto:frnog-requ...@frnog.org] De la part de 
Raphael MAUNIER
Envoyé : jeudi 23 février 2012 13:10
À : Yoann Gini
Cc : FRnOG ML
Objet : Re: [FRnOG] [BIZ] Recherche FAI pour PME sur la ZA du Pujol à Auriol

Et y a pas une dsp dans le coin ? Qui pourrait proposer des liaisons pour 699 
eur et 15k de fas ?

Bon je sais on est Jeudi, mais la c'était trop beau :)

Raphael

On Feb 22, 2012, at 14:10, Yoann Gini yoann.g...@gmail.com wrote:

 Bonjour la liste,
 
 Je suis actuellement en recherche d’un FAI pour un de mes clients sur la ZA 
 du Pujol à Auriol. On recherche une offre de débit symétrique plus 
 intéressante que les 1 Mo à 700 € / mois d’Orange…
 
 À la base on pensait à OVH, mais malheureusement le client est trop loin pour 
 être éligible.
 
 Si certains ici ont des offres intéressantes à proposer, merci de me 
 contacter off list :-)
 
 Cordialement,
 Yoann Gini


---
Liste de diffusion du FRnOG
http://www.frnog.org/


---
Liste de diffusion du FRnOG
http://www.frnog.org/


Re: [magnolia-user] Re: Custom Search page

2012-02-07 Thread Jon RINGWOOD PSE 55500
Natascha, you're a genius.
 
I exported the page to xml and although it did have the correct template set 
the main area was still using the old stk template. So I deleted the page, 
recreated it and it all works as expected now. I'll remember to export and 
check xml if I get any future issues with templates. Thanks so much for your 
help, most appreciated.
 
Jon

 On 07/02/12 at 08:49, Natascha Desmarais 
 natascha.desmar...@magnolia-cms.com wrote:

Could you export your custom search result page to xml (tools  jcr browser 
[website]) and see if it actually saves it with the correct mgnl:template? It 
really does sound a little fishy that it refuses to take the correct 
paragraph/template, because the model should only contain the logic, but not 
the path to the script.

On Feb 7, 2012, at 9:40 AM, Jon RINGWOOD PSE 55500 wrote:



Thanks Natascha, yes I've changed the autoGeneratedParagraph in my template to 
look at my new paragraph. Just wondered if there was anything in the search 
model that was hard-coded to look at the default search-results script. Don't 
understand why it's happening. The only way I can get it to work is to actually 
change the stk script which I really didn't want to do.






For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Re: Custom Search page

2012-02-06 Thread Jon RINGWOOD PSE 55500
Thanks Antti. The script is enabled and the templatePath is correct. I haven't 
changed the actual stk script though, I have created a new custom 
search-results script of my own. I am however using the stkSearchResult dialog 
and SearchResultModel. I just can't see why my page is still using the default 
stk search script when it isn't referenced anywhere that I can see.

 On 06/02/12 at 19:14, Magnolia Forums (on behalf of Antti Hietala) 
 fo...@magnolia-cms.com wrote:

Jon,

Make sure the script is enabled. There is a checkbox at the bottom of the 
script edit dialog that is easy to miss. If you don't enable the script, the 
system loads the default one from the webapp's classpath, in this case from 
inside the module JAR.

If you are not loading the script from the repository, make sure the 
templatePath property points to the correct location on the file system or 
classpath. See documentation about script loading. 

http://documentation.magnolia-cms.com/modules/samples.html#Templatescript
http://documentation.magnolia-cms.com/templating/stk/templating.html#LoadingTemplateScripts

--Antti

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=77922596-4ece-4cb8-8d90-500e1360a284



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Audit Log

2012-01-09 Thread Jon RINGWOOD PSE 55500
Does anyone have any experience of auditing in Magnolia EE? I have been asked 
to provide an audit trail showing user access to a certain page on the Public 
instance. The page requires the viewing user to login and although setting 
auditLogging/logConfigurations/login writes an entry to the access log on user 
login, is there any way that the page name can also be recorded in that log? 
 
Not sure if this is possible via Admin Central. If not, is there any way of 
writing a custom logfile using Freemarker?
 
Any advice most welcome as always.
 
Thanks
 
Jon R



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [Nagios-users] check_ntp_peer reports stratum off-by-one?

2012-01-03 Thread Paul WILLIS PSE 55499
Hi Matthew
 
I apologise for lecturing you, I thought you were confused over that aspect. 
But certainly it is reporting the
stratum of its peer. With -v on one of our servers I get for example in part 
parsing stratum from peer bf36: 2
and bf36 hex is 48950 which is the associationID of our timesource which is 
stratum 2. 
We only have a single timesource so I'm not sure how it deals with multiple 
host strata. My guess
would be it just takes that of the asterisked timesource.
 
Regards
 
Paul Willis


 Matthew Pounsett m...@conundrum.com 30/12/11 17:06 

On 2011/12/30, at 06:03, Paul WILLIS PSE 55499 wrote:

 Hi Matthew
  
 Its neither, its actually you not understanding what peer means. Peer is 
 effectively the next time server (or servers) up the chain,
 so generally they will be different by one. To  see what peer means, type in 
 ntpq, then type in peer. That will list the peers of your server and their 
 strata, NOT the stratum of your server. The main usage of peers is to make 
 sure you are getting time from the correct source or sources. If it is only 
 showing local sources for example it indicates you have lost contact with the 
 external ntp sources and are just using the hardware clock.

I understand exactly how NTP works and what a peer is.  The ntpq command I ran 
is giving me the stratum of that server, not of its peers.  Are you saying that 
check_ntp_peer connects to a remote server and reports on its *peers* rather 
than on it?  That seems to contradict the help documentation.  How is it able 
to distill the strata of several of that server's peers into a single stratum 
value?



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_ntp_peer reports stratum off-by-one?

2011-12-30 Thread Paul WILLIS PSE 55499
Hi Matthew
 
Its neither, its actually you not understanding what peer means. Peer is 
effectively the next time server (or servers) up the chain,
so generally they will be different by one. To  see what peer means, type in 
ntpq, then type in peer. That will list the peers of your server and their 
strata, NOT the stratum of your server. The main usage of peers is to make sure 
you are getting time from the correct source or sources. If it is only showing 
local sources for example it indicates you have lost contact with the external 
ntp sources and are just using the hardware clock.
 
Paul Willis

 Matthew Pounsett m...@conundrum.com 29/12/11 16:16 

It looks like I'm seeing a problem with the check_ntp_peer plugin, and the way 
it reports stratum.  It seems to be reducing the stratum by one on every server 
it checks.

% ntpq -c readvar | grep stratum
system=FreeBSD/8.2-RELEASE-p4, leap=00, stratum=3, precision=-19,

% ./check_ntp_peer -H localhost -W 3:3
NTP WARNING: Offset 0.007225 secs, 
stratum=2|offset=0.007225s;60.00;120.00; stratum=2;3;16;0;16

% ssh linuxbox ntpq -c readvar | grep stratum
processor=x86_64, system=Linux/2.6.32-36-server, leap=00, stratum=3,

% ./check_ntp_peer -H linuxbox -W 3:3
NTP WARNING: Offset -0.02112 secs, 
stratum=2|offset=-0.021120s;60.00;120.00; stratum=2;3;16;0;16

Is this a bug somewhere, or have I misunderstood the function of -W and -C?



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[magnolia-user] Community to Enterprise Problems

2011-12-07 Thread Jon RINGWOOD PSE 55500
 
We're updating our current Community edition to the full Enterprise and trying 
to create a QA environment based on the previous CE installation. We're having 
all sorts of problems with activation not working, no versioning of pages and 
LDAP integration. It's proving a bit of a nightmare to be honest. I would have 
thought this upgrade would be simple and painless as all Enterprise sites must 
have been through this pain.
 
Anyway, just after some advice about project setup. In the Community edition we 
based our site on the demo-project and renamed and reused that as our Extranet. 
Worked well. Could this be causing problems when we're trying to upgrade to EE? 
Do most EE installations stiil have the old demo-project sitting there 
alongside their own projects? Would really appreciate any advice, don't seem to 
get many replies on the forums anymore.
 
Thanks
 
Jon R
 
 



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Re: Community to Enterprise Problems

2011-12-07 Thread Jon RINGWOOD PSE 55500
I don't know exactly how the update was done as we have a server team here that 
has to do that whilst I look after the sites and the content. 
 
Appreciate your advice with regards to overwriting demo-project though. Our CE 
site is currently a redesign of demo-project. I am tempted to suggest that we 
do a full EE installation at 4.4.5 and then manually recreate our existing 
project once the EE instance is installed correctly. We have a couple of 
hundred pages currently so not a massive amount of work. Not sure what to do 
really but I want to be sure that we have the installation right before we 
start producing multiple sites. What do you think?
 


 On 07/12/11 at 10:02, 
 =?ANSI_X3.4-1968?Q?Magnolia_Forums_=28on_behalf_of_Gr=3Fgory_Joseph=29?= 
 fo...@magnolia-cms.com wrote:

Jon,

In general, I would advise not using the demo-project. If you really want to 
keep its structure etc, at the very least copy its entire structure rather than 
renaming it, thus ensuring you get new UUIDs for *your* nodes.

When you upgraded your instance(s), did you do a regular update, i.e replace 
the jar files (and in this case add a bunch more, i.e those from ee) ? That's 
about the only way you can be sure you instance actually gets updated.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=3e3d20f3-ff8e-4c6d-94ae-e6b70a8a3e2f



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Re: Community to Enterprise Problems

2011-12-07 Thread Jon RINGWOOD PSE 55500
So copy whole site under a new name and export. Assume importing into EE would 
only be possible after all templates/paragraphs/code had been recreated? 

 On 07/12/11 at 10:36, 
 =?ANSI_X3.4-1968?Q?Magnolia_Forums_=28on_behalf_of_Gr=3Fgory_Joseph=29?= 
 fo...@magnolia-cms.com wrote:

Yeah, copy your current site's main node to a new one (so you get new UUIDs) 
and export that. When your fresh EE is up, import it in there.
Good luck!

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=3e3d20f3-ff8e-4c6d-94ae-e6b70a8a3e2f



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] STK News Aggregation

2011-12-01 Thread Jon RINGWOOD PSE 55500
I've been using the standard STK news aggregation paragraph to list all of our 
news articles, freemarker code creates a collection using the paragraph model.
 
[#assign newsList = model.items!]
[#assign hasNewsList = newsList?has_content]
 
This has been working perfectly but suddenly doesn't bring back any results on 
the Author instance, the Publisher works as expected.
 
Nothing appears to have changed and I can't see anything different.
 
Does anyone have any ideas or advice on what could have happened or what I 
could do to sort the situation out? It would be most appreciated.
 
Thanks
Jon



For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [magnolia-user] Magnolia users in England

2011-10-27 Thread Jon RINGWOOD PSE 55500
Thanks Jan. I was considering cold calling some of the partners and clients but 
thought it would be better if any of the actual developers were members of the 
user-list. Sometimes a quick chat with someone that has gone through the same 
process is unbelievably helpful, you can save so much time and avoid any 
problems that others may have found.

 On 27/10/11 at 09:06, Jan Haderka jan.hade...@magnolia-cms.com wrote:

Hi Jon,
there are few partners in UK you might want to contact in case you need a help: 
http://www.magnolia-cms.com/partners.html

And I can assure you that there are quite few installations of Magnolia in UK 
as well - see references for more info: 
http://www.magnolia-cms.com/clients/references.html

If you want to learn more about multisite support and how effectively build 
multiple sites with Magnolia CMS it might we worth to go through a training as 
well http://www.magnolia-cms.com/support-and-services/training.html

HTH,
Jan


On Oct 27, 2011, at 9:27 AM, Jon RINGWOOD PSE 55500 wrote:



I'm not sure if anyone on the list will be able to help but it's worth a go. We 
are soon to be upgrading from Community to Enterprise and plan a multiple 
project author installation of Magnolia. Are there any Enterprise users in the 
South of England that might be able to spare a couple of hours to run through 
any advice or lessons that they've learnt with me? It would be so useful to be 
able to talk to someone that has been through the process and runs a multi-site 
installation. 
 
Are there actually any other Magnolia users in the South of England? Most 
appear to be based in mainland Europe.
 
Any help would be most appreciated.
 
Thanks
 
Jon Ringwood



For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.





For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Anonymous User Permissions

2011-09-27 Thread Jon RINGWOOD PSE 55500
How do I change anonymous public permissions to my published site so that pages 
are only viewable by logging in? I don't need any commenting functionality just 
read only access to certain folders. I assumed that just by denying access to a 
folder under the anonymous user it would deny access but it obviously isn't 
that simple. I know this must have been covered before but I'm struggling to 
find any information on it.
 
Any advice most welcome.
 
Thanks
 
Jon



For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Re: Anonymous User Permissions

2011-09-27 Thread Jon RINGWOOD PSE 55500
I didn't find that, had real issues over the past couple of days with 
searching. 
 
Thanks for pointing me in the right direction Boris (cool name by the way).


 On 27/09/11 at 09:57, Magnolia Forums (on behalf of Boris Kraft) 
 fo...@magnolia-cms.com wrote:


Did you see the ACL examples in the official docs: 
http://documentation.magnolia-cms.com/administration/security/acl-examples.html

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=92336f69-47ef-429c-944a-b72d80e8fd5e



For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Form module to data module

2011-08-31 Thread Jon RINGWOOD PSE 55500
 
Is it possible in Magnolia to create a form that when submitted saves the 
content to the Magnolia Data module? If so, can this be done using freemarker 
in the template or would it involve writing a bespoke Java class?
 
Any advice most welcome.
 
Thanks
 
Jon
 
Maidstone, Kent, England



For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [magnolia-user] Migrating Content from another CMS

2011-06-23 Thread Jon RINGWOOD PSE 55500
I've had no experience of using Groovy so will need to look into that, is it 
quite a steep learning curve to get the hang of? Our existing CMS content can 
be exported as xml files so I assume that any scripts would need to amend the 
xml tags and add code before importing to Magnolia. Is that how it works 
basically?
 
Sorry if these are low level dumb questions but it all seems quite a task at 
the moment.


 On 23/06/11 at 10:02, Federico Grilli federico.gri...@magnolia-cms.com 
 wrote:

I would do it  with Groovy scripts, no matter how the current data are stored 
or can be exported to (SQL, XML). I actually had to do it for quite a large 
website (maserati.com) which was the primary reason why I wrote OM's Groovy 
Shell module. With Groovy you have flexibility (can change/adapt your script on 
the fly without deploying anything to your servlet container and restart it) 
and several nice features to handle sql and xml easily. See also  
http://documentation.magnolia-cms.com/modules/groovy.html and 
http://wiki.magnolia-cms.com/display/WIKI/Groovy+Shell+Scripts.

HTH,

Federico



On Jun 23, 2011, at 10:03 AM, Jon RINGWOOD PSE 55500 wrote:



Morning all,
 
Apologies if this has been discussed previously but is there any way to import 
content from another CMS into Magnolia? I don't think the import feature is 
designed for this sort of process. Is the only way to manually create new pages 
from scratch? Quite an issue for us as we're considering migrating our current 
intranet, over 7,500 pages, from our current CMS into Magnolia.
 
Has anyone had any experience with this, it must be a fairly common problem.
 
Any advice most welcome.
 
Jon R



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Members Area and Public Access

2011-06-20 Thread Jon RINGWOOD PSE 55500
Is it possible to have multiple members areas within a single project? I 
understand that access can be restricted via the anonymous acl and specific 
acl's for various user groups but is there anything else that could cause 
issues here? 
 
Also, do you need to have multiple anonymous users setup for use with multisite?
 
Thanks
 
Jon



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Migrating Community to Enterprise

2011-05-24 Thread Jon RINGWOOD PSE 55500
 
Does anyone have any experience of migrating from the Community Edition to the 
Enterprise Edition? I assume that it's a fairly painless experience but really 
would like to know if there is a lot of work involved in manual amendments or 
is it all handled automatically? We want to go to Enterprise but our internal 
procurement process is so ridiculous that it could take us 18 months to 
purchase. 
 
Also, has anyone ever run multiple Community Editions ? Can they be migrated to 
the same Enterprise Edition eventually too? 
 
Any advice would be most appreciated.
 
Jon



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[Sip-implementors] Reason header syntax

2011-05-20 Thread VAN GEEL Jan (SDV/PSE)
Dear all,


I have a question about the SIP reason header syntax. Apologies if this has 
been asked before or in case this isn't the right forum.

In RFC 3326 the Reason header is defined as follows:

-
Reason=  Reason HCOLON reason-value *(COMMA reason-value)
reason-value  =  protocol *(SEMI reason-params)
protocol  =  SIP / Q.850 / token
reason-params =  protocol-cause / reason-text
 / reason-extension
protocol-cause=  cause EQUAL cause
cause =  1*DIGIT
reason-text   =  text EQUAL quoted-string
reason-extension  =  generic-param
--

The question is whether the following syntax is correct given the fact that 
there is a sentence  SIP: The cause parameter contains a SIP status code.:

Reason: SIP ;text=Network Initiated Resume

Or does the sentence means that a reason-param protocol-cause is actually 
mandatory ?

Many thanks

Jan Van Geel

 DISCLAIMER 
http://www.belgacom.be/maildisclaimer

___
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors


Re: [Sip-implementors] Reason header syntax

2011-05-20 Thread VAN GEEL Jan (SDV/PSE)
In that case can someone explain me what cause I need to put when using a 
Reason header in an initial Request e.g. an initial INVITE ?

As far as I understood from RFC3326 is one of the goals of the Reason header to 
include a Reason why a particular Request is being sent. 

Many thanks

Jan Van Geel 
IT and Network Specialist 
Belgacom SDE/SDV/PSE/FVC 
Tel: +32 2 202 1035 
Tel: +32 2 207 9032 
Email : jan.van.g...@belgacom.be 
www.cyberwezz.tk 


-Original Message-
From: Ritul Sonania [mailto:ritul.sona...@amdocs.com] 
Sent: 20 May 2011 14:15
To: VAN GEEL Jan (SDV/PSE)
Cc: sip-implementors@lists.cs.columbia.edu
Subject: RE: Reason header syntax



 -Original Message-
 From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-
 implementors-boun...@lists.cs.columbia.edu] On Behalf Of VAN GEEL Jan
 (SDV/PSE)
 Sent: Friday, May 20, 2011 2:27 PM
 To: sip-implementors@lists.cs.columbia.edu
 Subject: [Sip-implementors] Reason header syntax
 
 Dear all,
 
 
 I have a question about the SIP reason header syntax. Apologies if this
 has been asked before or in case this isn't the right forum.
 
 In RFC 3326 the Reason header is defined as follows:
 
 -
 Reason=  Reason HCOLON reason-value *(COMMA reason-value)
 reason-value  =  protocol *(SEMI reason-params)
 protocol  =  SIP / Q.850 / token
 reason-params =  protocol-cause / reason-text
  / reason-extension
 protocol-cause=  cause EQUAL cause
 cause =  1*DIGIT
 reason-text   =  text EQUAL quoted-string
 reason-extension  =  generic-param
 --
 
 The question is whether the following syntax is correct given the fact
 that there is a sentence  SIP: The cause parameter contains a SIP
 status code.:
 
 Reason: SIP ;text=Network Initiated Resume
 
 Or does the sentence means that a reason-param protocol-cause is
 actually mandatory ?

Hi,

I believe protocol-cause must exist, since the code carries both for SIP status 
codes, and Q.850 codes. As in the code will represent the correct status 
code/cause value.  

Best Regards,
Ritul Sonania

 
 Many thanks
 
 Jan Van Geel
 
  DISCLAIMER 
 http://www.belgacom.be/maildisclaimer
 
 ___
 Sip-implementors mailing list
 Sip-implementors@lists.cs.columbia.edu
 https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp


 DISCLAIMER 
http://www.belgacom.be/maildisclaimer

___
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors


Re: [Sip-implementors] Reason header syntax

2011-05-20 Thread VAN GEEL Jan (SDV/PSE)
Thanks for this clarification.

I'll make my question more concrete.

In a SIP-ISUP interworking case, suppose I want to send a re-INVITE because I 
received an ISUP SUSPEND message from the TDM network. Since a SUSPEND message 
does NOT include a Q850 cause code, I simply don't have a cause, but still I 
would like to provide a Reason for the re-INVITE.

Many thanks

Jan Van Geel 
IT and Network Specialist 
Belgacom SDE/SDV/PSE/FVC 
Tel: +32 2 202 1035 
Tel: +32 2 207 9032 
Email : jan.van.g...@belgacom.be 
www.cyberwezz.tk 


-Original Message-
From: Ritul Sonania [mailto:ritul.sona...@amdocs.com] 
Sent: 20 May 2011 14:40
To: VAN GEEL Jan (SDV/PSE)
Cc: sip-implementors@lists.cs.columbia.edu
Subject: RE: Reason header syntax



 -Original Message-
 From: VAN GEEL Jan (SDV/PSE) [mailto:jan.van.g...@belgacom.be]
 Sent: Friday, May 20, 2011 5:59 PM
 To: Ritul Sonania
 Cc: sip-implementors@lists.cs.columbia.edu
 Subject: RE: Reason header syntax
 
 In that case can someone explain me what cause I need to put when
 using a Reason header in an initial Request e.g. an initial INVITE ?
 
 As far as I understood from RFC3326 is one of the goals of the Reason
 header to include a Reason why a particular Request is being sent.
 
Hi,

That's true but that request which you are generating now, should be because of 
a result of some other response which your proxy got. 

From the RFC -
   Third party call controllers sometimes generate a SIP request upon
   reception of a SIP response from another dialog.  Gateways generate
   SIP requests after receiving messages from a different protocol than
   SIP.  In both cases the client may be interested in knowing what
   triggered the SIP request.

Different causes you can see here - 
http://wiki.freeswitch.org/wiki/Hangup_causes

For an example, your proxy forks an invite to other terminal because the 
previous request was terminated/rejected as the calling number was not 
available. Then your proxy should raise the INVITE with Reason code copied from 
the response it get from previous attempt.

Hope you got it, looks confusing :)

Regards,
Ritul Sonania


 Many thanks
 
 Jan Van Geel
 IT and Network Specialist
 Belgacom SDE/SDV/PSE/FVC
 Tel: +32 2 202 1035
 Tel: +32 2 207 9032
 Email : jan.van.g...@belgacom.be
 www.cyberwezz.tk
 
 
 -Original Message-
 From: Ritul Sonania [mailto:ritul.sona...@amdocs.com]
 Sent: 20 May 2011 14:15
 To: VAN GEEL Jan (SDV/PSE)
 Cc: sip-implementors@lists.cs.columbia.edu
 Subject: RE: Reason header syntax
 
 
 
  -Original Message-
  From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-
  implementors-boun...@lists.cs.columbia.edu] On Behalf Of VAN GEEL Jan
  (SDV/PSE)
  Sent: Friday, May 20, 2011 2:27 PM
  To: sip-implementors@lists.cs.columbia.edu
  Subject: [Sip-implementors] Reason header syntax
 
  Dear all,
 
 
  I have a question about the SIP reason header syntax. Apologies if
 this
  has been asked before or in case this isn't the right forum.
 
  In RFC 3326 the Reason header is defined as follows:
 
  -
  Reason=  Reason HCOLON reason-value *(COMMA reason-
 value)
  reason-value  =  protocol *(SEMI reason-params)
  protocol  =  SIP / Q.850 / token
  reason-params =  protocol-cause / reason-text
   / reason-extension
  protocol-cause=  cause EQUAL cause
  cause =  1*DIGIT
  reason-text   =  text EQUAL quoted-string
  reason-extension  =  generic-param
  --
 
  The question is whether the following syntax is correct given the
 fact
  that there is a sentence  SIP: The cause parameter contains a SIP
  status code.:
 
  Reason: SIP ;text=Network Initiated Resume
 
  Or does the sentence means that a reason-param protocol-cause is
  actually mandatory ?
 
 Hi,
 
 I believe protocol-cause must exist, since the code carries both for
 SIP status codes, and Q.850 codes. As in the code will represent the
 correct status code/cause value.
 
 Best Regards,
 Ritul Sonania
 
 
  Many thanks
 
  Jan Van Geel
 
   DISCLAIMER 
  http://www.belgacom.be/maildisclaimer
 
  ___
  Sip-implementors mailing list
  Sip-implementors@lists.cs.columbia.edu
  https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
 This message and the information contained herein is proprietary and
 confidential and subject to the Amdocs policy statement,
 you may review at http://www.amdocs.com/email_disclaimer.asp
 
 
  DISCLAIMER 
 http://www.belgacom.be/maildisclaimer
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp


 DISCLAIMER 
http://www.belgacom.be/maildisclaimer

___
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu

Re: [magnolia-user] Displaying Multiple data items

2011-05-16 Thread Jon RINGWOOD PSE 55500
That's great, thanks Jan. Not seen mention of that anywhere.

 On 16/05/11 at 12:46, Jan Haderka jan.hade...@magnolia-cms.com
wrote:

the return node type is not specified.

try adding nodeType=nt:base

On May 16, 2011, at 12:01 PM, Jon Ringwood wrote:





Ok, what I'm trying is:

[@cms.query repository=data 
query=select * from nt:base where jcr:path like
'/company/Big-Flower-Inc/Permanent-Employees/%' and contains(*,
'developer') type=sql var=developers /]

[#list developers as cDev] 
${cDev}
[/#list]

All I get back is a single record displaying 'company'.The same command
used
in the JCR Query tool list multiple records as expected. What have I
done
wrong?



Will Scheidegger wrote:





You can easily use the cms:query Magnolia tag for this, e.g. in
Freemarker





[#assign cms=JspTaglibs[cms-taglib]]


[#assign queryString]...my sql or xpath query...[/#assign]


[@cms.query repository=data query=queryString type=xpath


var=employees /]


[#list employees as currEmployee]


...


[/#list]





See 


-


http://documentation.magnolia-cms.com/reference/templating/freemarker.html


- Using Magnolia Tags 


-


http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.3.8/magnolia-taglib-cms/tagreference.html#cms:query





Cheers,


-will





On 09.03.2011, at 11:09, Jon RINGWOOD PSE 55500 wrote:












Is it possible to list multiple data items in a paragraph? For
instance,




using the STK example data, could a list of Permanent Employees be




created? I know the contact paragraph can be used to select an
individual




data node and then display it but it would be really useful to be able
to




list all data items for a specific node.









Thanks









Jon



















For list details see




http://www.magnolia-cms.com/home/community/mailing-lists.html




To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com









This email and any other accompanying document (s) contain information




from Kent Police, which is confidential or privileged.  The
information




is intended to be for the exclusive use of the individual(s) or bodies
to




whom it is addressed. The content including any subsequent replies
could




be disclosable if relating to a criminal investigation or civil




proceedings. If you are not the intended recipient, be aware that any




disclosure, copying, distribution or use of the contents of this




information is prohibited. If you have received this email in error,




please notify us immediately by contacting the sender or telephoning




01622 690690.














For list details see


http://www.magnolia-cms.com/home/community/mailing-lists.html


To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com













-- 
View this message in context:
http://old.nabble.com/Displaying-Multiple-data-items-tp31104957p31627706.html
Sent from the Magnolia - User mailing list archive at Nabble.com.




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




-  

Best regards,

Jan Haderka, PhD.
Magnolia International Ltd.
http://www.magnolia-cms.com

Register now for Magnolia Conference 2011:
http://www.magnolia-cms.com/conference
--
Magnolia*  - Simple Ope
n-Source Content Management




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




Re: [magnolia-user] Security: Role access to Data Module

2011-05-12 Thread Jon RINGWOOD PSE 55500
Thanks Antti. Bit disappointing that we can't disable any of the command 
buttons, our plan to allow publishers into the data module will obviously not 
work now as it would be far too dangerous allowing access with those delete and 
deactivate commands available. Shame as it would have been perfect for us.


 On 11/05/11 at 12:02, Antti Hietala antti.hiet...@magnolia-cms.com wrote:

Hi Jon,

Have a look at the prepareContextMenu method in GenericDataAdminTreeConfig ( 
http://svn.magnolia-cms.com/view/community/modules/magnolia-module-data/trunk/src/main/java/info/magnolia/module/data/trees/GenericDataAdminTreeConfig.java
 ). The only permission related check done there is whether the current user 
has read or write permissions to the data workspace. In the default 
configuration the demo-project-editors role has write permission. An editor in 
that role can use all context menu commands. If you change the role's 
permission to read, most commands get disabled. This is the level of 
granularity you get out of the box.

For customization, see a similar question Disabling Activate incl. subnodes ( 
http://old.nabble.com/disabling-%22Activate-incl.-subnodes%22-td7878194.html ) 
on the user list.

--Antti



On May 11, 2011, at 12:31 PM, Jon RINGWOOD PSE 55500 wrote:



Does anyone know if it is possible to restrict access by role to the command 
buttons in the Data module? I would like to prevent any editors from selecting 
the Activate all, Deactivate all, Import data and Delete all buttons. Tried 
denying access to the modules/data/commands/data/deleteAll node in the ACL but 
doesn't appear to do anything.


For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




maven with clearcase integration

2011-04-18 Thread HAMAD KASIM (SDV/PSE)
Hi,

I am new Maven; I have integrate Maven with Clearcase.
Clearcase version: 7.1.1 UCM version. Ie creating dynamic view on shared 
location.

Please let me know the steps to integrate Maven with Clearcase.

Thanks
Kasim

 DISCLAIMER 
http://www.belgacom.be/maildisclaimer


[magnolia-user] Multiple tab FckEditor Problem

2011-03-22 Thread Jon RINGWOOD PSE 55500
Hello,
 
I've created a paragraph dialog with multiple tabs, several of which have 
fckEdit fields. When I add content to these fields in the dialog it looks fine 
but when the page is rendered p and /p tags are actually added to the 
content. They don't display in the fckEdit dialog but are part of the content 
and also show in the JCR Browser. 
 
Has anyone come across this before or is it just a fact that you can't have 
multiple fckEdit controls in the same dialog?
 
Thanks
 
Jon
 



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [magnolia-user] Multiple tab FckEditor Problem

2011-03-22 Thread Jon RINGWOOD PSE 55500
I did look through the archives but couldn't see anything relating to this, 
just issues about enterMode and shiftEnterMode which don't appear to affect it 
at all. 
 
If I can't use multiple fckEdit controls in the same dialog I suppose I will 
have to create separate paragraphs for each tab to make sure it works. It's not 
the ideal solution really.
 
Anyone any idea what the problem could be?
 


 On 22/03/11 at 10:17, Jan Haderka jan.hade...@magnolia-cms.com wrote:

This is not related to the fact that you use multiple instances of the fckEdit 
in multiple tabs, but to the fck configuration itself. I don't remember the 
details, but topic was discussed here approximatelly year ago. You should find 
the answer if you search the archives of the list.

HTH,
Jan
On Mar 22, 2011, at 10:16 AM, Jon RINGWOOD PSE 55500 wrote:



Hello,
 
I've created a paragraph dialog with multiple tabs, several of which have 
fckEdit fields. When I add content to these fields in the dialog it looks fine 
but when the page is rendered p and /p tags are actually added to the 
content. They don't display in the fckEdit dialog but are part of the content 
and also show in the JCR Browser. 
 
Has anyone come across this before or is it just a fact that you can't have 
multiple fckEdit controls in the same dialog?
 
Thanks
 
Jon
 



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.





For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Migrating Magnolia to another server - Invalid namespace index

2011-03-16 Thread Gavin PURNELL PSE 55485
hi there 

I have Magnolia 4.4 running on MySQL and Suse Linux.  I want to migrate this to 
a new server - but on the latest version of Magnolia. 

I can get to the Magnolia home page ok to update the modules etc (which I have 
yet to do) - but I get an error at start up of Magnolia - the first bit 
reads 

2011-03-15 11:23:19,738 INFO  info.magnolia.jackrabbit.ProviderImpl 
: Loading repository at 
/usr/local/magnolia-4.4.2/apache-tomcat-6.0.29/webapps/magnoliaAuthor/repo 
sitories/magnolia (config file: 
/usr/local/magnolia-4.4.2/apache-tomcat-6.0.29/webapps/magnoliaAuthor/WEB-INF/config/repo-conf/jackrabbit-bundle-mysql-search.xml)
 - cluster id:  
unset 
2011-03-15 11:23:21,004 ERROR 
core.persistence.bundle.BundleDbPersistenceManager: failed to read bundle: 
1be12547-ad82-4c83-8396-213466ceb003: java.lang.IllegalArgumentException: 
 Invalid namespace index: 11 
2011-03-15 11:23:21,006 ERROR 
che.jackrabbit.core.query.OnWorkspaceInconsistency: Node / 
(cafebabe-cafe-babe-cafe-babecafebabe) has missing child 'extranet' 
(1be12547-ad82-4c83-8 
396-213466ceb003) 
2011-03-15 11:23:21,006 ERROR org.apache.jackrabbit.core.RepositoryImpl 
: Unable to initialize workspace 'website' 
javax.jcr.RepositoryException: Error indexing workspace: Error indexing 
workspace: Error indexing workspace 
at 
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:540)
 


To get this far I: 

1) took a SQL dump of the Author and Public databases 
2) imported them into my new MySQL server 
3) installed Magnolia 4.4.2 from scratch on my new server (using the Magnolia 
Apache Tomcat bundle) 
4) tweaked my Magnolia config files to use MySQL and the new databases - and 
placed the mysql jdbc connector file on the server too. 
5) basically steps 3  4 were identical to the previous times I have installed 
Magnolia 4.3.6 
6) Started Magnolia with a ./magnolia_control.sh start  tail -f 
../logs/catalina.out and got loads of errors at startup - first bit of which is 
above. 

Perhaps I missed something obvious here? 

ta 
 
 



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Migrating Magnolia - Invalid namespace index

2011-03-15 Thread Gavin PURNELL PSE 55485
hi there 

I have Magnolia 4.4 running on MySQL and Suse Linux.  I want to migrate this to 
a new server - but on the latest version of Magnolia. 

I can get to the Magnolia home page ok to update the modules etc (which I have 
yet to do) - but I get an error at start up of Magnolia - the first bit 
reads 

2011-03-15 11:23:19,738 INFO  info.magnolia.jackrabbit.ProviderImpl 
: Loading repository at 
/usr/local/magnolia-4.4.2/apache-tomcat-6.0.29/webapps/magnoliaAuthor/repo 
sitories/magnolia (config file: 
/usr/local/magnolia-4.4.2/apache-tomcat-6.0.29/webapps/magnoliaAuthor/WEB-INF/config/repo-conf/jackrabbit-bundle-mysql-search.xml)
 - cluster id:  
unset 
2011-03-15 11:23:21,004 ERROR 
core.persistence.bundle.BundleDbPersistenceManager: failed to read bundle: 
1be12547-ad82-4c83-8396-213466ceb003: java.lang.IllegalArgumentException: 
 Invalid namespace index: 11 
2011-03-15 11:23:21,006 ERROR 
che.jackrabbit.core.query.OnWorkspaceInconsistency: Node / 
(cafebabe-cafe-babe-cafe-babecafebabe) has missing child 'extranet' 
(1be12547-ad82-4c83-8 
396-213466ceb003) 
2011-03-15 11:23:21,006 ERROR org.apache.jackrabbit.core.RepositoryImpl 
: Unable to initialize workspace 'website' 
javax.jcr.RepositoryException: Error indexing workspace: Error indexing 
workspace: Error indexing workspace 
at 
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:540)
 


To get this far I: 

1) took a SQL dump of the Author and Public databases 
2) imported them into my new MySQL server 
3) installed Magnolia 4.4.2 from scratch on my new server (using the Magnolia 
Apache Tomcat bundle) 
4) tweaked my Magnolia config files to use MySQL and the new databases - and 
placed the mysql jdbc connector file on the server too. 
5) basically steps 3  4 were identical to the previous times I have installed 
Magnolia 4.3.6 
6) Started Magnolia with a ./magnolia_control.sh start  tail -f 
../logs/catalina.out and got loads of errors at startup - first bit of which is 
above. 

Perhaps I missed something obvious here? 

ta 



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Re: [magnolia-user] Multiple Themes for Same Content

2011-02-22 Thread Jon RINGWOOD PSE 55500
That's just what I'd like to do, although I'd like to activate the content 
using different themes if that's possible. 
 
How would I go about configuring public subscriptions then? I'm a relative 
newbie to Magnolia.
 
Thanks
 
Jon
 
---
If you want to activate content to multiple different locations on same public 
instance, you can manage this by configuring subscriptions for the public 
instance. However on the author instance there will be still just one copy of 
the content.
 
HTH,
Jan

 On 22/02/11 at 09:44, Jon RINGWOOD PSE 55500 wrote:

No it's not for testing Jan, I want to deploy the same content to two different 
locations each with a different layout. I would have thought this should be 
possible but perhaps it isn't in Magnolia?

 On 22/02/11 at 09:01, Jan Haderka jan.hade...@magnolia-cms.com wrote:

If what you want this for is A/B testing, the easiest is to point all css/js to 
a virtual URI and write VirtualURIMapping that resolves path to the proper 
theme. 

HTH,
Jan

On Feb 21, 2011, at 6:06 PM, Jon RINGWOOD PSE 55500 wrote:



 
Is it possible to use two different themes with the same Website content to 
create two differently styled activated versions of that content?
 
We're using CE which could of course be the issue here.
 
Any advice would be most helpful.
 
Jon



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.





For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Multiple Themes for Same Content

2011-02-21 Thread Jon RINGWOOD PSE 55500
 
Is it possible to use two different themes with the same Website content to 
create two differently styled activated versions of that content?
 
We're using CE which could of course be the issue here.
 
Any advice would be most helpful.
 
Jon



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

[magnolia-user] Users cant change their password

2011-02-09 Thread Jon RINGWOOD PSE 55500
 
We have an issue where users cannot change their passwords. System Users can 
access and change user passwords but when individuals click on their Userid 
(top right) and type in a new password it doesn't save. The 'Edit User' window 
doesn't populate with the user name, full name or email address and once the 
Save button is clicked a blank window is left loaded. No changes are saved. We 
don't have this issue with System Users so I assume it's down to Security 
permissions but can't figure out where. Any help would be most appreciated.
 
Thanks
 
Jon R

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




RE: [FRnOG] DSLAM des familles

2011-01-25 Thread Comint PSE
Bonsoir,

 

En vertu de l’adage qui dit que « vieux motard que trop tard » je trouve
quelques minutes assez tardivement et m’en excuse.

 

Comme d’hab un GRAND MERCI à tous pour vos réponses constructives, mention
particulière aux abonnés de la liste qui m’ont même proposé de me prêter
leur propre matériel.

 

Pour une mini synthèse sur la question, j’en retient : 

 

Faire attention à la qualité du cuivre en place. Bien qu’avec moins d’un km
je ne pense pas avoir beaucoup de déchets irrécupérables.

 

On a le choix sur le matériel à employer, 

 -  Zyxel et ses mini DSLAM IP avec le petit prix et la qualité qui va avec…

  - Huawei MA5616

  - CXR DSV2014 (mais pas vu ce modèle là sur leur site. Ça reste toutefois
mon préféré, ben oui Cocorico !)

-  Alcatel.

 

 

  - On a même du gratuit sur un parking avec une hotline plutôt
fantomatique. Il m’a bien fait rire celui-là.

 

Pour l’instant le projet est entré dans une phase d’hibernation en attendant
des températures plus clémentes.

 

Cordialement.

 

Paul Soave.

 

 

 

De : owner-fr...@frnog.org [mailto:owner-fr...@frnog.org] De la part de
Comint PSE
Envoyé : jeudi 2 décembre 2010 17:21
À : frnog@FRnOG.org
Objet : [FRnOG] DSLAM des familles

 

Bonjour,

Nous ne sommes pas encore vendredi et avec le temps qu’il fait la bête poilu
devrait rester dans son antre.

 

Je me risque donc à une question.

 

Pour faire simple je dois desservir un site d’une cinquantaine de point de
livraison sur paire de cuivre d’une qualité aléatoire dans un rayon de 2km.
Sachant que dans le local ou les connexions cuivre arrivent j’ai accès à une
belle fibre, et que l’on ne peut/veut pas tirer d’autre câble.

 

La question : quel équipement me permettra de faire plaisir à mes 50 clients
sans me couter un rein sachant qu’il n’y aura jamais de client
supplémentaire sur ce site.

 

Une question subsidiaire : en fait le même configuration mais cette fois-ci
pour une centaine de connexion.

 

Bon ça devrait s’appeler un DSLAM mais de taille « familiale »…..

 

Merci pour vos futures suggestions, je sais par avance qu’elles me seront
d’un grand secours (comme d’hab !)

 

Cordialement

 

Paul SOAVE

 

 



Re: [magnolia-user] IE7 Styling

2011-01-17 Thread Jon RINGWOOD PSE 55500
Giang,
 
I haven't had issues with styling but fckEditor doesn't work properly for me in 
IE7, get an IE error. Ok in IE6 and IE8 though. Anyone else have this problem?


 On 17/01/11 at 15:43, GHFatal1 ghfa...@gmail.com wrote:



Hi Everyone,
I'm running into a problem where I'm creating a div to store a video or
audio and then add some styling to it, but the styling disappears in IE7. 
The styling appears in Firefox, Chrome, and IE8.  This is added in FCKEditor
using video plugin.  Let me know if anyone has ran into this problem and
found a solution.
Thanks,
Giang
-- 
View this message in context: 
http://old.nabble.com/IE7-Styling-tp30676210p30676210.html
Sent from the Magnolia - User mailing list archive at Nabble.com.




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[FRnOG] DSLAM des familles

2010-12-02 Thread Comint PSE
Bonjour,

Nous ne sommes pas encore vendredi et avec le temps qu’il fait la bête poilu
devrait rester dans son antre.

 

Je me risque donc à une question.

 

Pour faire simple je dois desservir un site d’une cinquantaine de point de
livraison sur paire de cuivre d’une qualité aléatoire dans un rayon de 2km.
Sachant que dans le local ou les connexions cuivre arrivent j’ai accès à une
belle fibre, et que l’on ne peut/veut pas tirer d’autre câble.

 

La question : quel équipement me permettra de faire plaisir à mes 50 clients
sans me couter un rein sachant qu’il n’y aura jamais de client
supplémentaire sur ce site.

 

Une question subsidiaire : en fait le même configuration mais cette fois-ci
pour une centaine de connexion.

 

Bon ça devrait s’appeler un DSLAM mais de taille « familiale »…..

 

Merci pour vos futures suggestions, je sais par avance qu’elles me seront
d’un grand secours (comme d’hab !)

 

Cordialement

 

Paul SOAVE

 

 



[magnolia-user] DMS image functionality

2010-11-29 Thread Jon RINGWOOD PSE 55500
 
I'm trying to add an image paragraph using DMS. I want  to remove the 'Upload' 
option and force all images to be selected from the DMS and assumed that 
changing the 'enabled' option to 'false' under damSupport/handlers/upload in 
Site Configuration would do this. It causes my image.ftl to fail as no image 
value is set alongside the imageDmsUUID. What am I doing wrong?

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




Re: [magnolia-user] Adding images

2010-11-25 Thread Jon RINGWOOD PSE 55500
Greg,
 
ImageClass is set to photo as it should be but it model.image fails in
get(image). I assume this is because my new root project isn't set as
the site root. I can't see where I can change the site root from the
demo-project to my new project. Using Community edition.
 
Thanks
 
Jon

 On 23/11/10 at 17:06, Grégory
Josephgregory.jos...@magnolia-cms.com wrote:


Jon,

Can't guess exactly what's wrong, but as a starting point, you could
edit the templating-kit/paragraphs/content/textImage.ftl template inline
(don't forget to enable it), and print out the values of model.image
and model.imageClass before calling the [...@image] macro, like so
p
model.image : ${model.image} br/
model.imageClass : ${model.imageClass}
/p

I'm guessing one of those two might be missing...

-g

On Nov 19, 2010, at 12:44, Jon RINGWOOD PSE 55500 wrote:

 Can anyone give me some help with a problem I'm having with adding
images?
  
 I've created a template definition in my new project and added the
standard stkTextImage paragraph. The dialog appears as expected allowing
either uploaded or dms images to be selected but on saving the dialog I
get a Freemarker error:
  
 get(image) failed on instance of
info.magnolia.module.templatingkit.paragraphs.TextImageModel
 The problematic instruction:
 --
 == macro image [on line 2, column 1 in
templating-kit/paragraphs/macros/image.ftl]
  in user-directive image [on line 15, column 1 in
templating-kit/paragraphs/content/textImage.ftl]
  
 The paragraph works ok with the stk templates so assume that I have a
configuration setting that I need to change. Can anyone advise?
  
 Thanks
  
 Jon
 
 
 
 For list details see
 http://www.magnolia-cms.com/home/community/mailing-lists.html
 To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com
 
 -- 
 This email and any other accompanying document (s) contain
information from Kent Police, which is confidential or privileged.  The
information is intended to be for the exclusive use of the individual(s)
or bodies to whom it is addressed. The content including any subsequent
replies could be disclosable if relating to a criminal investigation or
civil proceedings. If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this email in error,
please notify us immediately by contacting the sender or telephoning
01622 690690.
 




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Adding images

2010-11-19 Thread Jon RINGWOOD PSE 55500
Can anyone give me some help with a problem I'm having with adding images?
 
I've created a template definition in my new project and added the standard 
stkTextImage paragraph. The dialog appears as expected allowing either uploaded 
or dms images to be selected but on saving the dialog I get a Freemarker error:
 


get(image) failed on instance of 
info.magnolia.module.templatingkit.paragraphs.TextImageModel
The problematic instruction:
--
== macro image [on line 2, column 1 in 
templating-kit/paragraphs/macros/image.ftl]
 in user-directive image [on line 15, column 1 in 
templating-kit/paragraphs/content/textImage.ftl]

 
The paragraph works ok with the stk templates so assume that I have a 
configuration setting that I need to change. Can anyone advise?
 
Thanks
 
Jon

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] Template availability

2010-11-03 Thread Jon RINGWOOD PSE 55500
Can anyone tell me how template types are restricted in the Website? For 
example, in the news-overview folder you can only select certain template types 
for new pages. Similarly the about page can only be set to a predetermined list 
of templates. How is this done?

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




Re: AW: [magnolia-user] New Templates

2010-10-20 Thread Jon RINGWOOD PSE 55500
Basic question for all of you experts: In the online demo project there are no 
options to create a 'New template' or 'Edit template' under Configuration, 
those menu options only appear under Templating Kit-Templates. I assume that 
this isn't where new templates are created though. 
 
Sorry for throwing such a basic question out there but I just want to create a 
new template from scratch.


 On 19/10/10 at 17:34, Unger, Richard richard.un...@lfrz.at wrote:


Hi Jon!

Yes it can! If you're using freemarker, there's no need to mess with the 
filesystem/webapps folder.
Install the inplace-templating module if it isn't already there (it should be 
if you're running a bundle release).

Then just create your template in the Templating-Templates folder (or a 
subfolder within), and check the enable template option. In your template (or 
paragraph) definition, point the templatePath property to the repository path 
of your new template, eg: /myfolder/mytemplate.ftl.

That should do the trick!

Regards from Vienna,

Richard





Von: user-list-ow...@magnolia-cms.com [user-list-ow...@magnolia-cms.com] im 
Auftrag von Jon RINGWOOD PSE 55500 [jon.ringw...@kent.pnn.police.uk]
Gesendet: Dienstag, 19. Oktober 2010 17:41
Bis: user-list@magnolia-cms.com
Betreff: [magnolia-user] New Templates

New Magnolia developer attempting to create a new template from scratch. The 
documentation instructs you to create the template and paragraph scripts in the 
webapps folder. I don't have access to the webapps folder, can't the script 
(using freemarker) be created within AdminCentral?



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com


--
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.




For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com





For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] New Templates

2010-10-19 Thread Jon RINGWOOD PSE 55500
New Magnolia developer attempting to create a new template from scratch. The 
documentation instructs you to create the template and paragraph scripts in the 
webapps folder. I don't have access to the webapps folder, can't the script 
(using freemarker) be created within AdminCentral?

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[magnolia-user] New Magnolia Developer

2010-10-18 Thread Jon RINGWOOD PSE 55500
 
I'm not 100% sure how this mailing-list works so apologies if I'm asking 
questions in the wrong place or to the wrong people. I've just started looking 
at  Magnolia which we will be using as a replacement for our existing CMS and 
have spent the last few days watching webcasts and reading documentation. It's 
all very thorough and looks like it will become extremely useful. What I'm 
interested in at this point is initial development of a new project. Does 
anyone have any advice on whether to start entirely from scratch or whether to 
start by amending the Templating Kit and using the demo-project as a basis for 
our new one?
 
Any advise would be most appreciated?
 
Jon Ringwood

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.



For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: user-list-unsubscr...@magnolia-cms.com




[Pkg-kde-extras] (no subject)

2010-06-26 Thread PSE

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras


[pkg-fso-maint] (no subject)

2010-06-26 Thread PSE

___
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint


Re: [Nagios-users] check_openmanage weirdness

2010-05-20 Thread Paul WILLIS PSE 55499
I use check_snmp to get certain traps from Openmanage but I
suspect check_openmanage works the same way. There is a 
separate mib (dcstorag(10893).mib) for the disk storage side as
opposed to the rest of the chassis (10892.mib) so my guess
would be the problem lies there.
What does the following give you?
define command{
  command_namedell_returnglobaldiskstatus
  command_line$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$  -w 0:3 -c 7:5  
-o .1.3.6.1.4.1.674.10893.1.20.110.13.0 -l 'Disk Status' -P 2c
  }
where ARG1 is your community string
 
Regards
Paul

 Greg Etling getl...@stern.nyu.edu 19/05/10 20:50 
I have just started implementing some check_openmanage checks on my 
servers, and have run into some odd behavior with the combination of 
Windows 2003, OM 6.2 and the SNMP check. It appears that this 
combination is having issues with the drive/controller reporting. 
Initially things worked fine under OM 5.4, until the SNMP service would 
die (other than that, Mrs. Lincoln...) - so i upgraded to OM 6.2, when I 
observed the following behaviour.

When the check is run without any blacklisting, the plugin reports that 
there is a global status WARNING, but all components are OK - the 
WARNING is coming from out of date Firmware/Driver versions as listed below:

--
Firmware/Driver Information for Controller PERC 6/i Integrated
Firmware Version6.0.3-0002
Minimum Required Firmware Version6.2.0-0012
Driver Version2.14.00.32
Minimum Required Driver Version2.23.00.32
Storport Driver Version5.2.3790.3959
Minimum Required Storport Driver Version5.2.3790.4173
--

Now when run in debug mode, I noticed that it had no information about 
the drives at all (note the beta version - same output as plugin v3.5.7):
--
[r...@sys-mgt-1 stern]# ./check_openmanage -H testserver -C *
System:  PowerEdge 2950
ServiceTag:  XXX  OMSA version:6.2.0
BIOS/date:   2.3.1 04/29/2008 Plugin version:  3.5.8-beta7
-
Chassis Components
=
   STATE  |  ID  |  MESSAGE TEXT
-+--+
   OK |1 | Memory module 1 [DIMM1, 2048 MB] is Ok
   OK |2 | Memory module 2 [DIMM2, 2048 MB] is Ok
   OK |3 | Memory module 3 [DIMM3, 2048 MB] is Ok
   OK |4 | Memory module 4 [DIMM4, 2048 MB] is Ok
   OK |1 | Chassis fan 1 [System Board FAN 1 RPM]: 7050
   OK |2 | Chassis fan 2 [System Board FAN 2 RPM]: 7125
   OK |3 | Chassis fan 3 [System Board FAN 3 RPM]: 7125
   OK |4 | Chassis fan 4 [System Board FAN 4 RPM]: 7050
   OK |0 | Power Supply 0 [AC]: Presence detected
   OK |1 | Power Supply 1 [AC]: Presence detected
   OK |0 | Temperature Probe 0 [System Board Ambient Temp] reads 
22 C (min=8/3, max=42/47)
   OK |0 | Processor 0 [Intel Xeon E5440 2.83GHz] is Present
   OK |1 | Processor 1 [Intel Xeon E5440 2.83GHz] is Present
   OK |0 | Voltage sensor 0 [CPU1 VCORE] is Good
   OK |1 | Voltage sensor 1 [CPU2 VCORE] is Good
   OK |2 | Voltage sensor 2 [System Board CPU VTT] is Good
   OK |3 | Voltage sensor 3 [System Board 1.5V PG] is Good
   OK |4 | Voltage sensor 4 [System Board 1.8V PG] is Good
   OK |5 | Voltage sensor 5 [System Board 3.3V PG] is Good
   OK |6 | Voltage sensor 6 [System Board 5V PG] is Good
   OK |7 | Voltage sensor 7 [Riser 1.5V PXH PG] is Good
   OK |8 | Voltage sensor 8 [Riser 5V Riser PG] is Good
   OK |9 | Voltage sensor 9 [System Board Backplane PG] is Good
   OK |   10 | Voltage sensor 10 [System Board Linear PG] is Good
   OK |   11 | Voltage sensor 11 [System Board 0.9V PG] is Good
   OK |   12 | Voltage sensor 12 [System Board 0.9V Over Volt] is Good
   OK |   13 | Voltage sensor 13 [System Board CPU Power Fault] is Good
   OK |0 | Battery probe 0 [System Board CMOS Battery] is 
Presence Detected
   OK |0 | Chassis intrusion 0 detection: Ok (Not Breached)
-
Other messages
=
   STATE  |  MESSAGE TEXT
-+---
   OK | ESM log health is Ok (less than 80% full)
OOPS! Something is wrong with this server, but I don't know what. The 
global system health status is WARNING, but every component check is OK. 
This may be a bug in the Nagios plugin, please file a bug report.
--

And the Status as reported to Nagios believes that there are no disks 
whatsoever on the server:
--
OK - System: 'PowerEdge 2950', SN: 'XXX', hardware working fine, 0 
logical drives, 0 physical drives
--


Child dependencies listed in parent pom failure to download

2010-05-19 Thread Conrad CRAMPTON PSE 52704
Hi,
Very frustrating issue that been troubling me for a couple of days now.
I am trying to use JBoss Drools in a Maven project using the following
 
dependency
groupIdorg.drools/groupId
artifactIddrools/artifactId
version5.0.1/version
typepom/type
  /dependency
 
the repository http://repository.jboss.com/maven2/org/drools/ has all the 
necessary dependencies listed in the drools pom. There is no specific jar file 
for drools but the pom just lists all the other child module dependencies. My 
expectation is that including the dependency as above will download and include 
all the child dependencies. It doesn't though. All I get is the pom downloaded.
If I use the -X option I get this listed (abbreviated). Which appears to show 
the jars being referenced but not downloaded.
 
[DEBUG] Adding managed dependencies for org.drools:drools
[DEBUG]   org.drools:drools-api:jar:5.0.1
[DEBUG]   org.drools:drools-core:jar:5.0.1
[DEBUG]   org.drools:drools-core:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-compiler:jar:5.0.1
[DEBUG]   org.drools:drools-compiler:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-jsr94:jar:5.0.1
[DEBUG]   org.drools:drools-jsr94:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-templates:jar:5.0.1
[DEBUG]   org.drools:drools-templates:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-decisiontables:jar:5.0.1
[DEBUG]   org.drools:drools-decisiontables:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-process-task:jar:5.0.1
[DEBUG]   org.drools:drools-docs:jar:5.0.1
[DEBUG]   org.drools:drools-server:jar:5.0.1
[DEBUG]   org.drools:drools-ant:jar:5.0.1
[DEBUG]   org.drools:drools-ant:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-verifier:jar:5.0.1
[DEBUG]   org.drools:drools-verifier:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-server:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-repository:jar:5.0.1
[DEBUG]   org.drools:drools-repository:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-pipeline:jar:5.0.1
[DEBUG]   org.drools:drools-transformer-jaxb:jar:5.0.1
[DEBUG]   org.drools:drools-transformer-jxls:jar:5.0.1
[DEBUG]   org.drools:drools-transformer-smooks:jar:5.0.1
[DEBUG]   org.drools:drools-transformer-xstream:jar:5.0.1
[DEBUG]   org.drools:drools-messenger-jms:jar:5.0.1
[DEBUG]   org.drools:drools-guvnor:jar:5.0.1
[DEBUG]   org.drools:drools-guvnor:test-jar:tests:5.0.1:test
[DEBUG]   org.drools:drools-eclipse-plugin:jar:5.0.1
[DEBUG]   org.drools.solver:drools-solver-core:jar:5.0.1
[DEBUG]   org.drools.solver:drools-solver-examples:jar:5.0.1
[DEBUG]   com.thoughtworks.xstream:xstream:jar:1.3.1
[DEBUG]   xpp3:xpp3:jar:1.1.3.4.O
[DEBUG]   org.mvel:mvel2:jar:2.0.10
[DEBUG]   joda-time:joda-time:jar:1.6
[DEBUG]   org.antlr:antlr-runtime:jar:3.1.1
[DEBUG]   org.antlr:antlr:jar:3.1.1
[DEBUG]   org.eclipse.jdt:core:jar:3.4.2.v_883_R34x
[DEBUG]   janino:janino:jar:2.5.15
[DEBUG]   xerces:xercesImpl:jar:2.9.1
[DEBUG]   xml-apis:xml-apis:jar:2.0.2
[DEBUG]   jsr94:jsr94:jar:1.1
[DEBUG]   jsr94:jsr94-tck:jar:1.0.3
[DEBUG]   jsr94:jsr94-sigtest:jar:1.1
[DEBUG]   jexcelapi:jxl:jar:2.4.2
[DEBUG]   net.sf.jxls:jxls-reader:jar:0.9.6
[DEBUG]   jboss:jboss-remoting:jar:1.4.4
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.0
[DEBUG]   org.slf4j:slf4j-log4j12:jar:1.5.0
[DEBUG]   log4j:log4j:jar:1.2.14
[DEBUG]   org.apache.jackrabbit:jackrabbit-core:jar:1.4.5
[DEBUG]   javax.jcr:jcr:jar:1.0
[DEBUG]   org.tmatesoft:svnkit:jar:1.1.2
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.2
[DEBUG]   javax.servlet:servlet-api:jar:2.3:provided
[DEBUG]   com.google.gwt:gwt-servlet:jar:1.5.2
[DEBUG]   commons-fileupload:commons-fileupload:jar:1.2.1
[DEBUG]   commons-io:commons-io:jar:1.4
[DEBUG]   com.gwtext:gwtext:jar:2.0.5
[DEBUG]   foxtrot:foxtrot:jar:2.0
[DEBUG]   com.jgoodies:looks:jar:2.2.0
[DEBUG]   com.jgoodies:forms:jar:1.2.1
[DEBUG]   commons-lang:commons-lang:jar:2.3
[DEBUG]   org.apache.commons:commons-io:jar:1.3.2
[DEBUG]   org.jboss:jboss-vfs:jar:2.0.0.GA
[DEBUG]   org.drools:drools:pom:5.0.1:compile (selected for compile)
[DEBUG] Plugin dependencies for:
 
Can anyone help here as this is driving me nuts? I don't particularly want to 
download all of these individually and add to my archiva repository. (I don't 
know if this is relevant but I am using Archiva with a couple of proxy 
connectors to main maven repo and to JBoss repository).
 
Thanks
Conrad
 
 
Conrad Crampton


Software Development Manager
Force Headquarters
8 Edinburgh Square
Sutton Road
Maidstone
ME15 9BZ
01622 652885 (ext)
19-2885 (internal)
07972 004551  (mobile)
conrad.cramp...@kent.pnn.police.uk

-- 
This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil 

Re: [Nagios-users] Parsing Logs

2010-05-05 Thread Paul WILLIS PSE 55499
Stephen
 
Most email systems move messages to a retry queue if the first attempt at 
sending fails.
If your email does something like that you can just write a simple script to 
check whether
it is empty or not and return a status to Nagios. There might be a genuine 
reason why
the first send fails, but at least you get alerted. You could even get the 
script to send a
test email at this point and check whether the queue grows by one.
 
Regards
 
Paul Willis

 Stephen H. Dawson serv...@shdawson.com 04/05/10 10:57 
Hi,
 
 
We have looked at the check_smtp option to meet our need, but do not believe 
this option will work.  Looking for perhaps another option.
 
Failure of an SMTP connection to our ISP's mail server with Nagios will only 
tell us that the Nagios attempt to connect has failed, at that particular point 
in time.  We are running our Nagios box on CentOS.  The CentOS attempt itself 
could well connect and send a message a few seconds/minutes before or after 
that.  We also run the risk of being accused of 'excessive' number of emails 
with our ISP's email server.


So the only reliable way of checking if ISP SMTP relay connection works is to 
parse the CentOS logs and look for failures to authenticate/send.
Has anyone parsed a log for review with Nagios?  If so, please advise.
 
Thanks,
SHD
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check_jmx plugin problem

2010-04-15 Thread Paul WILLIS PSE 55499
Hi Emmanuel
 
What user/group do you have set in /etc/xinet.d/nrpe? Are you sure that 
combination has all the rights it needs?
Perhaps its worth setting it to root or putting an entry in the sudoers file to 
allow that user to run the command. It looks like
it cannot read one of the java files, possibly jmxquery.jar?
 
 
Regards
 
Paul
 

 Emmanuel Chanteloup manuchantel...@gmail.com 15/04/10 10:28 
Hi,

I tried with check_by_ssh, to give it a try :

/usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C 
/usr/local/nagios/libexec/check_jmx -U 
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory

Remote command execution failed: Exception in thread main 
java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin

[nag...@aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H 
apwebscp01 -l nagios -C /usr/local/nagios/libexec/check_jmx -U 
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O 'java.lang:type=Memory'

Remote command execution failed: Exception in thread main 
java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin


[nag...@aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H 
apwebscp01 -l nagios -C /usr/local/nagios/libexec/check_jmx -U 
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O '\java.lang:type=Memory'
Remote command execution failed: Exception in thread main 
java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin

Any help would be appreciated.

Regards,

Emmanuel

2010/4/13 Natxo Asenjo natxo.ase...@gmail.com


On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup
manuchantel...@gmail.com wrote:
 command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U
 service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
 -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
 15

ok, try this:

command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
-A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
15

that is, with inverted commas. If it doesn't work, try escaping the
uris like this:

service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi

You may also try the developers list, maybe they can help you further.
Hope this helps

--

natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios 3 Include File Mechanism

2010-04-15 Thread Paul WILLIS PSE 55499
Use the cfg_dir=directory  command in the main config file. All files with a 
.cfg extension in that directory will be
automatically included as well.
 
Paul 

 Traiano Welcome traiano.welc...@mtnbusiness.co.za 15/04/10 11:19 
Hi List

I have an awkward nagios 3 configuration setup where configs for monitored
hosts are automatically generated from a database, but I also have need to
add new hosts via a manual method in a separate configuration file.
It looks like an include file mechanism would be needed in the main nagios
configuration file that would point to single file that holds all the
configs for hosts added manually.

Is there such a configuration option in NAGIOS 3?

Thanks in advance,
Traiano Welcome


NOTE: This e-mail message and all attachments thereto contain confidential 
information intended for a specific addressee and purpose. If you are not the 
addressee (a) you may not disclose, copy, distribute or take any action based 
on the contents hereof; (b) kindly inform the sender immediately and destroy 
all copies hereof. Any copying, publication or disclosure of this message, or 
part hereof, in any form whatsoever, without the sender's express written 
consent, is prohibited. No opinion expressed or implied by the sender 
necessarily constitutes the opinion of MTN. This message does not constitute a 
guarantee or proof of the facts mentioned herein. No Employee or intermediary 
is authorised to conclude a binding agreement on behalf of MTN Group Limited, 
or any of its subsidiary companies, by e-mail without the express written 
confirmation by a duly authorised representative of MTN Group Limited.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check_jmx plugin problem

2010-04-13 Thread Paul WILLIS PSE 55499
I've had similar problems with nrpe where the command string doesn't get
passed intact but instead some non letter characters get processed somewhere
within nrpe, so running it directly and through nrpe give different results.
Try putting a \ in front of every unusual character
 
Paul Willis 

 Natxo Asenjo natxo.ase...@gmail.com 13/04/10 08:12 
On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup
manuchantel...@gmail.com wrote:
 The thing I do not understand is why I can run it directly with my nagios
 account :

 [nag...@myserver ~]$ /usr/local/nagios/libexec/check_jmx -U
 service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
 -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
 15
 JMX OK
 HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424}

 and it doesn't work with NRPE, knowing that NRPE is using the nagios account
 !

 [nag...@myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c
 check_jmx
 NRPE: Unable to read output

could you please post your nrpe.cfg (sanitize as needed) to make sure
there is not a typo in it? (I've had that many times myself, very
frustrating).

Another option worth exploring is
http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl.

Another thing: I am not sure how nrpe escapes the slashes (if at all)
in the uri in that check. Try adding more on slash in front of every
other slash. Just a wild shot, I know.

-- 
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] CHECK_HTTP odd behaviour

2010-02-18 Thread Paul WILLIS PSE 55499
Well I tried writing a wrapper script to see what check_http was actually 
receiving. The answer would appear to be absolutely nothing, in
fact check_http is never even getting called. Something in the parameters would 
appear to be causing nagios to throw an exception when
trying to make the call that is caught and  treated as a critical error with a 
null reply.
When I went through the -A parameter and escaped every non-standard character 
everything burst into life, the wrapper reported the correct
string and check_http reported the site as up. 
Clearly that whereas bash only needs $ and ` escaping within inverted commas 
nagios must have a larger list, including I would guess either the ; or the :
Thanks for the help
Paul Willis

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] CHECK_HTTP odd behaviour

2010-02-18 Thread Paul WILLIS PSE 55499
Marc
It wasn't the command definition file. That was the same as the command I was 
using for running directly, ie
# 'check_eRhttp' command definition
define command{
command_namecheck_eRhttp
command_line$USER1$/check_http -p 8000 -H some.host.co.uk -u 
/sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search?sap-wd-configId=ZUNREG_JOB_SEARCHsap-ep-themeroot=/sap/public/bc/ur/customerthemes/sap_kp
 -A Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.9) Gecko/20061206 
Firefox/1.5.0.9 -R fs_QE2_00I did away with passing parameters from the 
service as I originally thought that was the problem.
I have since had a quick play and can confirm it is indeed the semi colons. 
Leave them in and it goes critical / null status without calling the plugin. 
Escape them and it behaves 
 
Paul Willis
 

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] CHECK_HTTP odd behaviour

2010-02-17 Thread Paul WILLIS PSE 55499
Ah, forgot to add
Nagios 3.2
Check_http v2053 (nagios-plugins 1.4.13)
Running under Suse Linux 10.2
 
Paul

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: Reusing connection pool

2007-05-23 Thread Conrad CRAMPTON PSE 52704
can't you create a utility servlet that you can call pre-redeployment
that closes all of your connections first?
Conrad

 [EMAIL PROTECTED] 23/05/07 16:32:06 

Hi Group,
I am using DBCP provided connection pool in my web applications. For 
each re-deployment of my web application, connection pools are not 
reused so connections are just increased. This forces me to restart my

live application in every month. Is there any way, I can reuse 
connections in redeploy.
Your help would be appreciated.

regards,
RBAISAK

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Reusing connection pool

2007-05-23 Thread Conrad CRAMPTON PSE 52704
I haven't used the DBCP I must admit and was suggesting something not
actually tied to the re-deployment process specifically but something
that stands by itself as a separate part to your application e.g.
servlet or jsp that you has some method of closing all pooled
connections. if you are using struts have an actionmethod that does this
would be appropriate when called on submission of an (protected) admin
page - 
 
eg.
http://yourdomain/context/admin.do?action=closeAllConnections
 
then you could call the close() method on the ObjectPool interface.
 
Sorry a bit abstract in my explanation, but just an idea. I think to
get the application to know when it is being redeployed is a bit
ambitious and prone to failure. If you know when you are going to
redeploy it then you also know that you need to close the connections
and therefore it is in your control.
 
Conrad

 [EMAIL PROTECTED] 23/05/07 16:43:47 

Do you mean to use any listener to servlet or could you please
elaborate 
bit more ?
I am using struts ActionServlet and I too tried to implement destroy 
method of RequestProcessor and close all connections on every 
redeployment. However it is somehow not working and may be I am doing 
something wrong.

- R

Conrad CRAMPTON PSE 52704 wrote:
 can't you create a utility servlet that you can call
pre-redeployment
 that closes all of your connections first?
 Conrad

   
 [EMAIL PROTECTED] 23/05/07 16:32:06 
 

 Hi Group,
 I am using DBCP provided connection pool in my web applications. For

 each re-deployment of my web application, connection pools are not 
 reused so connections are just increased. This forces me to restart
my

 live application in every month. Is there any way, I can reuse 
 connections in redeploy.
 Your help would be appreciated.

 regards,
 RBAISAK


-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]



   




RE: Problem on millions of records in one table?

2007-04-18 Thread He, Ming Xin PSE NKG
Hi,  Baisley

How did you config your DB? Did you specify one single file or several
files to store your DB? I am not sure whether it affects the performance
as well. 

And Could you give more details about your merge tables. Your experience
is greatly useful for us, thanks a lot.

-Original Message-
From: Brent Baisley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 9:37 PM
To: He, Ming Xin PSE NKG; mysql@lists.mysql.com
Subject: Re: Problem on millions of records in one table?

It all depends on how complicated your data and searches are. I've got
tables that add 2-3 million per day and I don't have 
performance problems. Although we only retain at most 500 millions
records, not a full years worth.

That said, you can get horrible performance out of mysql with tables as
small as 100,000 records if you don't structure your queries 
correctly or use a good table structure. If I know the tables are going
to grow quickly and I don't need the entire dataset all the 
time, I'll use merge tables. This makes it easy to remove old data
easily from the default table set.

- Original Message - 
From: He, Ming Xin PSE NKG [EMAIL PROTECTED]
To: mysql@lists.mysql.com
Sent: Tuesday, April 17, 2007 11:03 PM
Subject: Problem on millions of records in one table?


Hi,all

The number of the records in one table increase constantly. As
evaluated, the amount would increase to at least 30 millions within one
year.  So we worry about whether mysql could handle such a big amount of
records with good performance. Or need we some other solutions to avoid
this problem ,such as using Partition, dividing a big table and etc. Any
help or idea would be greatly appreciated.

Best Regards
mingxin


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Problem on millions of records in one table?

2007-04-18 Thread He, Ming Xin PSE NKG
 Hi, Pipes
Is it reliable to use MySQL 5.1 in a commercial product now since it is
still a beta version?

-Original Message-
From: Jay Pipes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 10:04 PM
To: Brent Baisley
Cc: He, Ming Xin PSE NKG; mysql@lists.mysql.com
Subject: Re: Problem on millions of records in one table?

Brent Baisley wrote:
 It all depends on how complicated your data and searches are. I've got

 tables that add 2-3 million per day and I don't have performance 
 problems. Although we only retain at most 500 millions records, not a 
 full years worth.
 
 That said, you can get horrible performance out of mysql with tables
as 
 small as 100,000 records if you don't structure your queries correctly

 or use a good table structure. If I know the tables are going to grow 
 quickly and I don't need the entire dataset all the time, I'll use
merge 
 tables. This makes it easy to remove old data easily from the
default 
 table set.

Hi!  Have you tried out the new partitioning features of MySQL 5.1 to do

this?  Would be cool if you had some performance numbers comparing the 
older MERGE table method with the newer partitioning...

Cheers!

Jay

 - Original Message - From: He, Ming Xin PSE NKG 
 [EMAIL PROTECTED]
 To: mysql@lists.mysql.com
 Sent: Tuesday, April 17, 2007 11:03 PM
 Subject: Problem on millions of records in one table?
 
 
 Hi,all
 
 The number of the records in one table increase constantly. As
 evaluated, the amount would increase to at least 30 millions within
one
 year.  So we worry about whether mysql could handle such a big amount
of
 records with good performance. Or need we some other solutions to
avoid
 this problem ,such as using Partition, dividing a big table and etc.
Any
 help or idea would be greatly appreciated.
 
 Best Regards
 mingxin
 
 


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Problem on millions of records in one table?

2007-04-17 Thread He, Ming Xin PSE NKG
Hi,all
 
The number of the records in one table increase constantly. As
evaluated, the amount would increase to at least 30 millions within one
year.  So we worry about whether mysql could handle such a big amount of
records with good performance. Or need we some other solutions to avoid
this problem ,such as using Partition, dividing a big table and etc. Any
help or idea would be greatly appreciated. 
 
Best Regards
mingxin


[pool] validateObject not doing as stated in documentation

2007-04-04 Thread Conrad CRAMPTON PSE 52704
Hi,
quoteWhen testOnBorrow is set, the pool will attempt to validate each
object before it is returned from the borrowObject() method. (Using the
provided factory's
PoolableObjectFactory.validateObject(java.lang.Object) method.) Objects
that fail to validate will be dropped from the pool, and a different
object will be borrowed. /quote from api docs for
org.apache.commons.pool.impl.GenericObjectPool

The last bit about a different object will be borrowed doesn't appear
to work in my implementation.
The life cycle I am experiencing with the borrowObject method is
thus...
 
call to borrowObject
createObject is called  this is failing so I happen to return null
object
activateObject is called
validateObject is called --- this is checking to see if object is null
(amongst other things) and returning false if null which is happening
 
however, I am getting an exception 
java.util.NoSuchElementException: Could not create a validated object,
cause: ValidateObject failed
 at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:871)
 at uk.police.kent.pnc.PoolDemo.main(PoolDemo.java:23)
 
thrown where I am expecting to get an attempt to create a different
object and this one to be destroyed.
 
The question is, what do I have to do to get this cycle to kick in on
false being returned from validateObject???
 
Thanks
Conrad


[pool] validateObject not doing as stated in documentation

2007-04-04 Thread Conrad CRAMPTON PSE 52704
In addition to the below, I have had a shufftie at the source code for
GenericObjectPool to see if I could work out what was the issue and it
appears that what is suggested in the docs about creating a new object
if validation fails can't happen. If I throw an exception when
makeObject fails, then the borrowObject method also throws it and the
pool lifecycle is interupted. So, I am returning null object which then
is validated. see code below with -- annotations
 
   // create new object when needed
boolean newlyCreated = false;
if(null == pair) {
try {
Object obj = _factory.makeObject();   --  here
obj is null as the makeObject had some difficulty in creating the
object
pair = new ObjectTimestampPair(obj); -- the
value of this object (in the pair) is also null
newlyCreated = true;   --- this is also set to
true, but the object wasn't created successfully (according to
validateObject - but this isn't tested here.
return pair.value; --- as method is returning
here, don't know how we get back into this method to do the activation
and validation
} finally {
if (!newlyCreated) {   - this isn't ever
true unless exception is thrown by makeObject method
// object cannot be created
_numActive--;
notifyAll();
}
}
}
 
- I am guessing makeObject must be called twice if the object was
created on first call that is how we get to activation and validation
 
// activate  validate the object
try {
_factory.activateObject(pair.value);
if(_testOnBorrow 
!_factory.validateObject(pair.value)) {
throw new Exception(ValidateObject failed); 
 fine, I get an exception thrown when validate fails
}
return pair.value;
}
catch (Throwable e) {
// object cannot be activated or is invalid
_numActive--;
notifyAll();
try {
_factory.destroyObject(pair.value);
}
catch (Throwable e2) {
// cannot destroy broken object
}
if(newlyCreated) {   
 this appears to be testing
the wrong thing. Of course if the object failed validation there is no
validated object. However, we shouldn't be throwing this exception
should we - shouldn't we be attempting to create another in the pool to
return??? and therefore continue here too
throw new NoSuchElementException(Could not create
a validated object, cause:  + e.getMessage());
}
else {
continue; // keep looping
}
 
Hi,
quoteWhen testOnBorrow is set, the pool will attempt to validate each
object before it is returned from the borrowObject() method. (Using the
provided factory's
PoolableObjectFactory.validateObject(java.lang.Object) method.) Objects
that fail to validate will be dropped from the pool, and a different
object will be borrowed. /quote from api docs for
org.apache.commons.pool.impl.GenericObjectPool

The last bit about a different object will be borrowed doesn't appear
to work in my implementation.
The life cycle I am experiencing with the borrowObject method is
thus...
 
call to borrowObject
createObject is called  this is failing so I happen to return null
object
activateObject is called
validateObject is called --- this is checking to see if object is null
(amongst other things) and returning false if null which is happening
 
however, I am getting an exception 
java.util.NoSuchElementException: Could not create a validated object,
cause: ValidateObject failed
 at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:871)
 at uk.police.kent.pnc.PoolDemo.main(PoolDemo.java:23)
 
thrown where I am expecting to get an attempt to create a different
object and this one to be destroyed.
 
The question is, what do I have to do to get this cycle to kick in on
false being returned from validateObject???
 
Thanks
Conrad


[pool] testOnBorrow help - doesn't appear to do as expected

2007-04-03 Thread Conrad CRAMPTON PSE 52704
Hi,
I am trying to use the testOnBorrow method flag for my
GenericPoolableFactory implementation. I have implemented
validateObject(Object o) method thus...
 
 public boolean validateObject(Object o) {
  logger.debug(validating object);
  PNCConnection con = null;
  try {
   con = (PNCConnection) o;
   logger.debug(sessionId =  + con.getSessionId());
  } catch (ClassCastException cce) {
   logger.error(cce, cce);
   return false;
  } catch (Exception e) {
   logger.error(cce, cce);
   return false;
 }
  return (con != null)  (con.getPncService() != null) 
(con.getScreen() != null);
 }
 
In my borrowObject(Object o) method if the creation of my object fails
for some reason (typically if the underlying connection can't be
created), then I return null from the borrowObject method. I expect that
when null is returned this is the object that gets passed into the
validate method and therefore return false (because of my validateObject
method code above). However, this isn't happening as I get a
nosuchelementException 'Could not create a validated object, cause:
null' being thrown by GenericObjectPool line 871. 
I am getting no debugging output from validateObject method so this
isn't even being hit even though testOnBorrow is set to true. 
 
Can this be explained for me please and how do I get this to work? The
scenario is that the connection may not be available in borrowObject and
therefore wish for the pool to attempt to create a different connection
on fail.
 
Does the validateObject method only work if the object returned from
borrowObject is not null???
 
Thanks
Conrad
 
Thanks
Conrad
 


pool - cleaning up resources on JVM exit

2007-03-30 Thread Conrad CRAMPTON PSE 52704
Hi,
Is there anyway of clearing up resources from a GenericObjectPool when
the JMV closes (crashes)? I have objects that maintain a connection to a
service that need to be closed when the web server is restarted or
crashes.
Also, if an object is borrowed from the pool and isn't returned because
of interruption in the web application flow or some other reason, does
it get 'swept up' by the evictor thread eventually or is there some
other way of returning this to the pool or simply just destroying it for
it to be recreated in the pool when necessary?
 
Thanks for your consideration
Conrad



RE: Help needed on 1.2's javax.faces.messages translation

2007-03-16 Thread Och, Andrew PSE NKG
Dear Cagatay

 

Working for Siemens in China we are a relatively new and young RD
facility. Since we really enjoyed working with MyFaces on previous
projects we were hoping to be able to contribute more to this Apache
Project. For example because the team is Chinese we could for example
translate the javax.faces.messages resource bundle for the Chinese
Simplified locale.

 

Also as part of a previous project we developed an extension to the
CoreCommandMenuItemTag, which integrates a JavaScript drop down menu and
would love to release this under the Apache 2 licence, but don't know
how to go about this. 

 

Any advice warmly welcome.

Best regards
Andrew Och




From: Cagatay Civici [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 15, 2007 10:12 AM
To: MyFaces Development
Subject: Help needed on 1.2's javax.faces.messages translation


Hi,

I've updated the new javax.faces.messages resource bundle for the
english locale according to the spec.

But for other languages we need to add the translated bundles.

Cagatay



[aspectj-users] must be obvious

2006-10-27 Thread Conrad CRAMPTON PSE 52704


Hi,
I have a struts application which has some common artifacts with other projects which have some aspects configures to advise on some of these methods - all is fine when I have these common objects in the project (Eclipse) as source files. However, I have just extracted these out of my project into a new project in order to build a jar file of them (using Maven). The application still works in itself but the aspects that advise the extracted object methods no longer work.

I can't understand why this is so - can anyone explain this?

Thanks
Conrad
___
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: Mass E-mail Options

2006-08-30 Thread PSE - Listserv account

At 18:32 2006-08-30 -0700, Scott Haneda wrote:


I would also try to unorder the email addresses, so that large groups of
yahoo and aol etc emails do not hit the outbound queue at the same time.
They tend to look down on that activity, and throttle you back, making it
take even longer to get your messages out.


You might put special-case conditons on specific domains, but actually, 
you're much better off ordering by domain because your server will end up 
sending _ONE_ message addressed to whatever number of recipients at that 
domain.  If your list is truely massive, your MTA may be incapable of 
sorting the recipients itself: a good MTA will batch by recipient domain.


An equal probability is that you're actually generating INDIVIDUAL messages 
(one per recipient), rather than messages with a BCC: recipient list, in 
which case, my advise would be to switch to BCC: addressing, but if that 
isn't an option, look at a cascaded MTA queue (messages which don't deliver 
on the first try get sent to a secondary queue which won't retry right away 
- and those which fail to deliver from that queue get moved to one that 
takes even LONGER) - a fairly typical (read: default Sendmail setup) queue 
retry is every 15 minutes, 24/7 --- if you've got a few hoser domains in 
there, they can stuff you up quick.


Check your server logs to see if the domains you're emailing to are trying 
to perform callbacks (GTE and it's affiliated telco domains are/were doing 
this for some time - this is the same bunch of idiots who've blocked many 
european IP ranges from sending mail to them, and such sites have to relay 
through other hosts in order to deliver to GTE customers).  Any domain that 
does this might be a candidate for being added to a special case handler to 
be shuttled to a low priority queue right off the bat.


Might I suggest you set up a database for the special conditions and the 
queues you'd place them in? g


---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.
 Founding member of the campaign against email bloat.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Mass E-mail Options

2006-08-30 Thread PSE - Listserv account

At 22:22 2006-08-30 -0500, Philip Hallstrom wrote:

But some providers will block based on number of recipients per message... 
so don't go crazy sending one message to 50,000 aol addresses, etc...


Which is why you'd have conditions for special-case domains, which I *DID* 
point out in my post, along with basic mail delivery logic (50K recipients 
would be a bad design anyway).  Any MTA worth its salt will have 
configuration options to keep you from stepping on your d**k like 
this.  Sendmail for instance:


SMTP_MAILER_MAXRCPTS[undefined] If defined, the maximum number of
recipients to deliver in a single connection for the
smtp, smtp8, esmtp, or dsmtp mailers.

IOW, this would automatically chunk deliveries to a given mailhost to so 
many recipients.


See also queuegroup in sendmail documentation, which allows you to take 
mail destined for certain domains (or specific addresses) to go DIRECTLY to 
a specific queue (thus allowing you to configure at the MTA level directly 
for problematic domains).


Yes, I realize the OP indicated they're using some other MTA - that of 
course is their problem, but what they might find in the sendmail docs 
(with which I personally am reasonably familiar) might clue them into what 
feature/keyword to investigate in the MTA they're saddled with.  Or, opt to 
switch MTAs...  It isn't as if you couldn't run sendmail bound on a 
particular IP address to run your webserver outbound mail queues separate 
from whatever your usual MTA is.



I really suspect though if the chap's mail server is being dropped to its 
knees, it may be (tens of) thousands of individual messages, rather than a 
few messages with thousands of recipients..  When you're working with 
individual messages, the MTA has to negotiate EACH connection -- when 
you're working with multiple recipient BCC'd messages, the MTA is doing 
SMTP negotiation ONCE per recipient host, then pouring a pile of RCPT 
[EMAIL PROTECTED] commands at the host, followed by ONE copy of the message: 
*WAY* more efficient, both in terms of host connection time, as well as 
network bandwidth consumption.


This approach isn't suitable if the messages are custom tailored to each 
recipient (ala mail merge).


It isn't without irony that it is AOL whose postmaster guidelines give a 
preference to mailmerge style messages (such as one-click delisting for 
their users - something which requires a recipient-specific URL in the 
message).  A large automotive website I work for has pretty much given up 
on dealing with AOL, who seems to randomly block senders because their 
turd-for-brains users use this is junk to uns*bscribe from lists rather 
than following directions.


---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.
 Founding member of the campaign against email bloat.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re[2]: Проблема с SMP и памя тью

2006-02-13 Thread pse
Hello Dmitry Baryshkov,

Monday, February 13, 2006, 5:06:12 PM, you wrote:

DB Hello,
DB 10.02.06, pse[EMAIL PROTECTED] написал(а):
 Здравствуйте,

 Попытался установить kernel-image-2.6.8-2-686-SMP
 После установки kernel panic с ничего не говорящим сообщением:

 pivot_root: No such file or directory
 /sbin/init: 432: cannot open dev/console: No such file
 Kernel panic: Attempted to kill init!


 Хелп, плз. или может ссылочку на архив кто подкинет.

DB Сейчас угадаю: SATA? В конфигурации загрузчика надо поправить
DB root=/dev/hd** на /dev/sdчто-нибудь там, поправить fstab и,
DB возможно, сказать dpkg-reconfigure kernel-image-2.6.8-2-686-smp

DB Более подробное описание проблемы в гугле и архивах рассылки. Ключевое
DB слово: SATA.

Спасибо. Так все и есть. Но как угадать во что они превратились? У
меня 2 SATA и райд :) Надеюсь разделы он именовать так же будет :)

-- 
Best regards,
 Пономарев Сергейmailto:[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Проблема с SMP и памятью

2006-02-10 Thread pse
Здравствуйте,

Имеется машина 2xXEON 3Gz, 4 Gb, SCSI RAID.

Встал нормально, завелся. Начал копать и вот чего нарыл:

#uname -a
Linux aaa-int-bill01 2.4.27-2-686 #1 Mon May 16 17:03:22 JST 2005 i686 GNU/Linux

#dmesg

00 (reserved)
 BIOS-e820: 0001 - 00014000 (usable)
Warning only 4GB will be used.
Use a PAE enabled kernel.
3200MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
hm, page 000ff000 reserved twice.
hm, page 0010 reserved twice.
hm, page 000fd000 reserved twice.
hm, page 000fe000 reserved twice.
On node 0 totalpages: 1048576
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 819200 pages.
...
Processors: 4
Initializing CPU#0
Detected 2992.622 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5976.88 BogoMIPS
Memory: 3089664k/4194304k available (1197k kernel code, 55476k reserved, 452k 
data, 116k init, 2228024k high
mem)

Т.е. видит только один проц (видимо надо SMP).
А вот как может быть, что всю память видит, но доступно 3 из 4х мне не
понятно.

Попытался установить kernel-image-2.6.8-2-686-SMP
После установки kernel panic с ничего не говорящим сообщением:

pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!


Хелп, плз. или может ссылочку на архив кто подкинет.

-- 
С Уважением,
 Пономарев Сергей  mailto:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [M2] Warning about invalid POM for JDOM

2005-11-03 Thread Dave EDMONDS PSE 54839

Christoph,

The POM for JDOM has an error, a bug's already been logged for it.

There's a comment within the jdom.pom file on the repository that doesn't have 
a corresponding -- tag.

For now, just replace the line:

  !-- should be replaced by xalan.jar from jdom, their version was 2.5.D1

With:

  !-- should be replaced by xalan.jar from jdom, their version was 2.5.D1--

That should fix it for you until the server's POM's updated.

Regards,


Dave Edmonds
ISD Software Solutions
Kent Police

 [EMAIL PROTECTED] 11/03/05 11:30 am 

I get the following warning:

[WARNING] POM for: 'jdom:jdom:pom:1.0' does not appear to be valid. Its
will be ignored for artifact resolution.

Reason: Parse error reading POM


I use the following dependency:

dependency
  groupIdjdom/groupId
  artifactIdjdom/artifactId
  version1.0/version
/dependency

Is that POM on repo1.maven.org server corrupt? Can I use a different
dependency for JDOM?


Thanks,
Christoph


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





This Email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone 
immediately.
The copyright in the contents of this email and any enclosures is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1988.

JDeveloper Plugin

2005-10-28 Thread Dave EDMONDS PSE 54839

Hi,

Recently downloaded Maven 2.0, as part of an evaluation within our development 
team as to whether it would benefit our development efforts.

Currently, we use JDeveloper 10g as our development tool, and so the JDeveloper 
plugin looked great for our needs.  However, on trying to use with Maven, the 
log tells us...

[INFO] The plugin 'org.apache.maven.plugins:maven-jdeveloper-plugin' does not 
exist or no valid version could be found

... whenever we attempt to call the JDeveloper functions.  Just to confirm a 
few things:
Proxy server settings are made in settings.xml - I have been able to use 
compile, test and site goals with no problems.I've attempted to download the 
plugin(s) from 
http://maven.apache.org/reference/plugins/jdeveloper/downloads.html which 
worked, but won't integrate with Maven.Editing the maven-metadata-central.xml 
file still refuses to locate the plugin.Any suggestions?

On a related note, does anyone know whether there is the ability to generate 
.JWS (JDeveloper Workspace) files from this plugin?

Many thanks,

Dave Edmonds
ISD Software Solutions
Kent Police, UK



This Email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone 
immediately.
The copyright in the contents of this email and any enclosures is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1988.

Re: [PHP] Delivery reports about your e-mail

2005-06-16 Thread Sean Straw / PSE

Yes, it would be nice if the list didn't relay this obvious cruft.

I'm s*bscribed to quite a few discussion lists, and php-general seems to be 
the ONLY one relaying these malware messages and the claims of virus filters.


It looks rather like php-general is operating as an open list, seeing as 
some of the addresses these messages are coming from clearly shouldn't 
already be s*bscribed to the list, and the malware responsible for most of 
it wouldn't actually perform a s*bscription.


At a minimum, I'd block the handful of known forgery addresses, plus block 
postmaster@ and mailer-daemon@ messages from reaching the list.  Yea, 
bummer for the handful of people who use postmaster for their s*bscription 
address (which is contrary to the purpose of the postmaster address, so no 
loss there).  I'd be quite happy if the list didn't accept attachments 
either, but that would probably be a bit much to ask.


The appropriate solution would be to configure lists.php.net and any other 
php.net mail hosts to use SMTP AUTH, and set them up with TLS certificates 
and trusted relationships among one another using TLS (this is easy to do, 
at least in sendmail - but php.net is running qmail...).  After that is 
done, set php.net hosts up to REJECT messages claiming to be from php.net 
(proper AUTH or TLS will circumvent this rejection).  End result: no more 
forgeries through the php.net servers.

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.
 Founding member of the campaign against email bloat.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[no subject]

2005-02-13 Thread pse
(null)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[no subject]

2005-02-13 Thread pse
(null)
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[no subject]

2005-01-26 Thread pse
(null)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[no subject]

2005-01-26 Thread pse
(null)
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Pre populate form missing values from nested object

2005-01-20 Thread Conrad CRAMPTON PSE 52704




Conrad CramptonSoftware Solutions ManagerForce Headquarters11 Edinburgh SquareSutton RoadMaidstoneME15 9BZ01622 653283 (ext)19-3283 (internal)07814 011752 (mobile) [EMAIL PROTECTED] 19/01/05 16:07:49 
 So the question is this - how do I retain values of nested properties that aren't required to be (or cannot be) represented in the jsp? The only values that you'll get when the form is submitted are thevalues that the form has.If you have values that you want to submit with the form, but don'twant them displayed to the user, look at hidden fields html:hidden/.
So this essentially means that nested objects are worthless as you can't keep reference to childobjects that you populate in the middle tier for the trip around to the UI and back again. I am using Hibernate for persistence so have the object graph that am providing the UI for updates that has child collections etc. Populating the form bean with the parent class I would have thought could be 'round-tripped' back to the middle tier with the child objects still attached to the object.
 It appears that the value of premises is always null and not using what is in the request scope when the jsp is submitted. Roughly, a "request" begins when the browser asks for information fromthe server, and ends when the server has supplied that information. After you've created your Premises object and displayed it on yourJSP's form, the request is done. When the user submits the form, thatcounts as another request, a new, empty, fresh one, with nothing yetin its scope, except for the data that comes with the form beingsubmitted.

yes, I realise how the http protocol work for requests but the struts documentation appears to bat on about if there is a form bean already in the current scope (and it is for the current request), then this should be used - this is obviously being done for the properties that are visible HTML elements as I can see the data. What I find frustrating that the form bean that is in scope that populated the editable fields, doesn't just get those values repopulated with any changes but leaves the rest of the form bean as it was on initial population.If you want your form to persist between requests, put your form insession scope. Take a look athttp://java.sun.com/developer/EJTechTips/2003/tt1209.html#2 for abetter explanation of the differences between scopes.
I understand what scopes are and this is why I was using request. I didn't want the overhead of having to keep removing transient data from session scope. IMHO it is lazy and potentially conducive to bugs to throw everything into session scope. If you fail to clear up properly then it can lead to problems. My team are currently working on a large Struts app that puts everything into session and is having numerous problems with what appears to be session data being lost.Here's another link that might help you manage your form data,particularly collections that you may place in select controls:http://www.reumann.net/struts/articles/request_lists.jsphth,Hubert

Thanks for the response though
ConradOn Wed, 19 Jan 2005 13:02:20 +, Conrad CRAMPTON PSE 52704[EMAIL PROTECTED] wrote:  Hi,  The list archive search doesn't appear to work to forgive me if this is a simple and already answered topic.   I have an actionform that has an object as a property - Premises premises, and a jsp that uses html:text name="Premises" property="premises.name" /.  When I use createPremises.jsp all is ok and the values for premises get through to my action no problem.   The problem I have though is when I want to edit premises. The action (extending Dispatchaction) viz...   public ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { PremisesForm premForm = (PremisesForm) form; String returnMapping = "edit"; Long id = null; if (request.getParameter("id") != null) id = new Long(request.getParameter("id")); if (id == null) id = (Long) request.getAttribute("id"); try { PremisesDAO pdao = new PremisesDAO(); Premises prem = pdao.getPremises(id); premForm.setPremises(prem); premForm.setOwner(prem.getOwner()); request.setAttribute("Premises", premForm); } catch (DataAccessException e) { e.printStackTrace(); returnMapping = "error"; request.setAttribute("error", e.getMessage()); } return mapping.findForward(returnMapping); }  which is fine and sets the PremisesForm premises attribute correctly. However when this gets submitted ultimately from the jsp, the properties of premises that aren't html:text elements in my jsp aren't being retained. e.g. id (primary key of premises from db, and other things like collections of other pojo's in premises.   So the question is this - how do I retain values of nested properties that aren't required to be (or cannot be) represented in the jsp? It appears that the value of premi

Re: Pre populate form missing values from nested object

2005-01-20 Thread Conrad CRAMPTON PSE 52704


Ok, thanks Hubert - this confirms that I will have to do what I want another way.
Cheers
Conrad

Conrad CramptonSoftware Solutions ManagerForce Headquarters11 Edinburgh SquareSutton RoadMaidstoneME15 9BZ01622 653283 (ext)19-3283 (internal)07814 011752 (mobile) [EMAIL PROTECTED] 20/01/05 15:36:03 
Our views align on the use of session scoped beans, however, it seemsthat session scope is what meets your needs.quote So this essentially means that nested objects are worthless as you can't keep reference to child objects that you populate in the middle tier for the trip around to the UI and back again./quoteYou want the form to retain the reference to your object from the timeyou prepare the form in the action leading to the JSP, all the way tothe action that responds when the form is submitted. This span goesbeyond one request, and that is why request scope fails you.The form you created will only last until the form is shown. Whileyou're rendering your JSP, you have access to everything you put inyour form. However, after the JSP has been sent to the browser, therequest is also done, and you lose everything you put in requestscope. When the form is submitted, a new request begins, with a freshscope.quote What I find frustrating that the form bean that is in scope that populated the editable fields, doesn't just get those values repopulated with any changes but leaves the rest of the form bean as it was on initial population./quoteIf your bean was placed on request scope, there is nothing torepopulate, because after the JSP is rendered, the form bean is lost. If you want to retain the bean after the life of the request, put itin session scope.hth,HubertOn Thu, 20 Jan 2005 15:21:28 +, Conrad CRAMPTON PSE 52704[EMAIL PROTECTED] wrote: Conrad Crampton Software Solutions Manager Force Headquarters 11 Edinburgh Square Sutton Road Maidstone ME15 9BZ 01622 653283 (ext) 19-3283 (internal) 07814 011752 (mobile)   [EMAIL PROTECTED] 19/01/05 16:07:49So the question is this - how do I retain values of nested properties that  aren't required to be (or cannot be) represented in the jsp?   The only values that you'll get when the form is submitted are the values that the form has. If you have values that you want to submit with the form, but don't want them displayed to the user, look at hidden fields html:hidden/.  So this essentially means that nested objects are worthless as you can't keep reference to child objects that you populate in the middle tier for the trip around to the UI and back again. I am using Hibernate for persistence so have the object graph that am providing the UI for updates that has child collections etc. Populating the form bean with the parent class I would have thought could be 'round-tripped' back to the middle tier with the child objects still attached to the object. It appears that  the value of premises is always null and not using what is in the request  scope when the jsp is submitted.   Roughly, a "request" begins when the browser asks for information from the server, and ends when the server has supplied that information.  After you've created your Premises object and displayed it on your JSP's form, the request is done. When the user submits the form, that counts as another request, a new, empty, fresh one, with nothing yet in its scope, except for the data that comes with the form being submitted.   yes, I realise how the http protocol work for requests but the struts documentation appears to bat on about if there is a form bean already in the current scope (and it is for the current request), then this should be used - this is obviously being done for the properties that are visible HTML elements as I can see the data. What I find frustrating that the form bean that is in scope that populated the editable fields, doesn't just get those values repopulated with any changes but leaves the rest of the form bean as it was on initial population.  If you want your form to persist between requests, put your form in session scope. Take a look at http://java.sun.com/developer/EJTechTips/2003/tt1209.html#2 for a better explanation of the differences between scopes.  I understand what scopes are and this is why I was using request. I didn't want the overhead of having to keep removing transient data from session scope. IMHO it is lazy and potentially conducive to bugs to throw everything into session scope. If you fail to clear up properly then it can lead to problems. My team are currently working on a large Struts app that puts everything into session and is having numerous problems with what appears to be session data being lost.  Here's another link that might help you manage your form data, particularly collections that you may place in select controls: http://www.reumann.net/struts/articles/request_lists.jsp  hth, Hubert   Thanks for the response though  ConradOn Wed, 19 Jan 2005 13:02:20 +, Conrad CRAMPTON PSE 52704 [EMAIL PROTECTED] wrote:Hi,   The li

Pre populate form missing values from nested object

2005-01-19 Thread Conrad CRAMPTON PSE 52704


Hi,
The list archive search doesn't appear to work to forgive me if this isa simple and already answered topic.

I have an actionform that has an object as a property - Premises premises, and a jsp that uses html:text name="Premises" property="premises.name" /.
When I use createPremises.jsp all is ok and the values for premises get through to my action no problem.

The problem I have though is when I want to edit premises. The action (extending Dispatchaction) viz...

public ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {PremisesForm premForm = (PremisesForm) form;String returnMapping = "edit";Long id = null;if (request.getParameter("id") != null)id = new Long(request.getParameter("id"));if (id == null)id = (Long) request.getAttribute("id");try {PremisesDAO pdao = new PremisesDAO();Premises prem = pdao.getPremises(id);premForm.setPremises(prem);premForm.setOwner(prem.getOwner());request.setAttribute("Premises", premForm);} catch (DataAccessException e) {e.printStackTrace();returnMapping = "error";request.setAttribute("error", e.getMessage());}return mapping.findForward(returnMapping);}
which is fine and sets the PremisesForm premises attribute correctly. However when this gets submitted ultimately from the jsp, the properties of premises that aren't html:text elements in my jsp aren't being retained. e.g. id (primary key of premises from db, and other things like collections of other pojo's in premises.

So the question is this - how do I retain values of nested properties that aren't required to be (or cannot be) represented in the jsp? It appears that the value of premises is always null and not using what is in the request scope when the jsp is submitted.

I am sure this issimple answer but I just can't get it!

TIA
Conrad


Conrad CramptonSoftware Solutions ManagerForce Headquarters11 Edinburgh SquareSutton RoadMaidstoneME15 9BZ01622 653283 (ext)19-3283 (internal)07814 011752 (mobile)This Email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone 
immediately.
The copyright in the contents of this email and any enclosures is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1988.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [CFUGCNY] set up database on local server

2004-11-10 Thread PSE
Title: Message










I
have bypassed the file browsing issue by manually entering the file address as Tracy and David suggested.
The file is recognized as a data source (psSite) by the Administrator, but with
errors. (See attachment.) How can I fix these errors so I can get this up and
running?



--P.S.










A quick fix is just to add
the path manually (as in

c:\database\myDb.mdb)
-- I'm sure someone in the group will give details on the underlying problem,
but hopefully that'll get you going!



=tracy





PSE wrote:



 I am trying to
establish an Access database as a data source on a 

 local server.

 

 When I browse for the
file in the Coldfusion Administrator, I get an 

 i/o error (see
attachment).

 

 It appears to be a java
issue.

 

 

 

 How do I fix it?

 

 

 

 --P.S.







To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.org

To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.org

To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.orgattachment: screenshot2.gif

Re: [CFUGCNY] set up database on local server

2004-11-10 Thread PSE
Title: Message










I have bypassed the file
browsing issue by manually entering the file address as Tracy and David suggested. The file is
recognized as a data source (psSite) by the Administrator, but with errors.
(See attachment.) How can I fix these errors so I can get this up and running?



--P.S. 









A quick fix is just to add
the path manually (as in

c:\database\myDb.mdb)
-- I'm sure someone in the group will give details on the underlying problem,
but hopefully that'll get you going!



=tracy





PSE wrote:



 I am trying to establish
an Access database as a data source on a 

 local server.

 

 When I browse for the
file in the Coldfusion Administrator, I get an 

 i/o error (see
attachment).

 

 It appears to be a java
issue.

 

 

 

 How do I fix it?

 

 

 

 --P.S.







To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.org

To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.org

To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.orgattachment: screenshot2.gif

[CFUGCNY] set up database on local server

2004-11-09 Thread PSE
Title: Message








I am trying to establish an Access database
as a data source on a local server.

When I browse for the file in the
Coldfusion Administrator, I get an i/o error (see attachment).

It appears to be a java issue.



How do I fix it?



--P.S.







To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.org

To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [EMAIL PROTECTED]

List archives: http://www.mail-archive.com/cfugcny@listserv.syr.edu/index.html
Visit our website: http://www.cfugcny.orgattachment: screenshot.gif

Réponse automatique d'absence du bureau : I love you!

2004-07-07 Thread PSE-EVEN MELUN
Je suis absent jusqu'au 26 juillet 2004
Contacter Benoit GITTON si nécessaire



Re: test

2004-06-18 Thread PSE - Listserv account
At 09:45 2004-06-18 -0400, shane mullins wrote:
Please ignore.
Just this one message, or permanently?
Users needing to send test messages to lists can simply make a legitimate 
post.  Presumably you're wanting to verify you can post for a _reason_, so 
that means you should have a legitimate message to send - so just SEND it.

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.
 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395
___
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus


RE: [PHP] Hanmir I'm gonna kill you, you son of a..........

2003-10-17 Thread Sean Straw / PSE
This thread was flagged as probable Sp*am / twitmail at my server because 
of the abundance of punctuation in the subject, but on reviewing the sp*am 
report, I couldn't belp but look into what this thread must be about.

that [EMAIL PROTECTED] is REJECT'd. But for some reason the emails still come
through. All my other REJECT rules work, but just not this one.
Try using connect:(mailhost).hanmir.com on the LHS of your access db 
entry.  Be sure to set it to whatever the hanmir mailhost is, and reject it 
with an appropriate permanent failure message.

I can only imagine that the reason is because the address sendmail is
checking does not end up being hanmir.com. BUT I looked through the
email headers and the hanmir.com domain is plastered all over the place!
Anyone know what's up?
Well, after this message, I suspect that I may be blessed with an autoreply 
that I too can check out.

However, anyone processing mail on a *nix box and has a proper shell 
account there (even if you download and handle your email via POP from 
there) should seriously consider using PROCMAIL to handle their incoming 
email - it's trivial to deal with problem messages.  Easy to set up a 
twitlist to filter out messages from individuals who send autoreplies or 
suffer diarrhea of the keyboard.  Poof, gone.  No further interraction on 
your part is necessary.

If they were auto-replies for instance, one might auto forward them to an 
abuse account (this here is a rough sketch - I don't have the actual 
address of this moron, nor do I know if his domain has an abuse address - 
though if he's hosted at some service, the abuse address THERE might be 
appropriate - if indeed this hanmir is hanmir.com, it looks like an 
organization bigger than just one moron sending autoreplies):

:0
* ^From: [EMAIL PROTECTED]
* !^X-Loop: [EMAIL PROTECTED]
| formail -A X-Loop: [EMAIL PROTECTED] | $SENDMAIL [EMAIL PROTECTED]
With a slightly different invocation, it'd be possible to insert a 
complaint message in there and tack the original message and headers onto 
the tail end of the body, so that the message to abuse is actually a 
repetative complaint about the autoreply.

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.
 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


LinkSerializer, views, spaces and lucene

2003-10-10 Thread Conrad CRAMPTON PSE 52704
Hi,
(Using coccon 2.1.1 on tomcat 3.3)

I have an index.xml file that comes is produced from a content
management system that is an index of all files in a particular
directory which includes file names as url's. 

viz
?xml version=1.0?

index
newsitemlink href=9901011200 Latest News - Home.html /
headingLatest News - Home/heading
publish-date16 April 2003 /publish-date/newsitemnewsitemlink
href=0304151036 boilers.html /
headingPolice warn of dangers posed by stolen boilers/heading
publish-date15 April 2003/publish-date/newsitemnewsitemlink
href=0304150952 misper Fonkou.html /
headingNorth Kent police search for missing man/heading
publish-date15 April 2003/publish-date/newsitemnewsitemlink
href=0304141322 MS.html /
headingBluewater police and Marks amp; Spencer team up in
property-marking campaign/heading
publish-date15 April 2003/publish-date/newsitem ..

The hrefs contain spaces in them as they are derived from the original
file name of a word document (before going into a translation phase -
not important). 

It appears that these spaces are causing problems with the link view
and LinkSerializer when trying to create an index for searching using
the sample lucene create an index page. I believe it is this as when I
manually put in %20 for the spaces in index.xml it works also I get
these errors in the sitemap log file

INFO(2003-10-10) 09:32.44:735   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/SerializeNode: Jumping to view links from serializer at
file:/C:/tomcat/webapps/cocoon/samples/newforceweb/sitemap.xmap:94:32
WARN(2003-10-10) 09:32.45:055   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=script
RAW=script ATT=src NS= VALUE=js/slide_menu.js
WARN(2003-10-10) 09:32.45:065   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=link
RAW=link ATT=href NS= VALUE=css/kent_int.css
WARN(2003-10-10) 09:32.45:065   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=area
RAW=area ATT=href NS= VALUE=../../home.html
WARN(2003-10-10) 09:32.45:065   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=img
RAW=img ATT=src NS= VALUE=newimages/blackpixel.gif
WARN(2003-10-10) 09:32.45:075   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=script
RAW=script ATT=src NS= VALUE=js/menu_links.js
WARN(2003-10-10) 09:32.45:075   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=img
RAW=img ATT=src NS= VALUE=../../images/blackpixel.gif
WARN(2003-10-10) 09:32.45:085   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=img
RAW=img ATT=src NS= VALUE=../newimages/whitepixel.gif
WARN(2003-10-10) 09:32.45:085   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=a RAW=a
ATT=href NS= VALUE=9901011200 Latest News - Home.html
WARN(2003-10-10) 09:32.45:085   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=a RAW=a
ATT=href NS= VALUE=0304151036 boilers.html
WARN(2003-10-10) 09:32.45:085   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=a RAW=a
ATT=href NS= VALUE=0304150952 misper Fonkou.html
WARN(2003-10-10) 09:32.45:085   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=a RAW=a
ATT=href NS= VALUE=0304141322 MS.html
WARN(2003-10-10) 09:32.45:095   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=a RAW=a
ATT=href NS= VALUE=0304111642 school.html
WARN(2003-10-10) 09:32.45:095   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)
Thread-24/ExtendedXLinkPipe: Possible internal error: URI= NAME=a RAW=a
ATT=href NS= VALUE=0304111528 Medway e-fit.html
WARN(2003-10-10) 09:32.45:095   [sitemap]
(/cocoon/samples/newforceweb/news/current/9901011200%20Latest%20News%20-%20Home.html)

Re: [tomsrtbt] scheduled disaster-recovery backups of nt box

2002-03-27 Thread Sean Straw / PSE


At 08:03 2002-03-27 +1000, Tony Nugent did say:
I have an NT box on a LAN working as a file and application server.
There is a linux/samba server that does just about all of the
network services for a bunch of windows clients, the linux box also
has a 12/24Gb scsi2 tape drive in it.

Backing up the files is it storing is easy, that can be done over
samba shares (and at night when no one else is using any of it).

There's always a fine argument for putting data and applications on a 
separate HD from the base OS...

Backing up the os (ie, C: drive) is problematic on a running NT
system, expecially with file locks not allowing access to things
like the registry and in-use dll and db files.

Yup, but then, in-use db files are an issue on most OS' anyway, and you can 
figure the registry is sort of a db file.  I'm not aware of 
_exclusive_read_ locking on DLL files though - you should be able to read 
them, just not change (or delete) them.

   And worse, the
result has no hope of being put back onto a hard drive to boot and
work successfully as if nothing had happened.

Your best option for a recoverable NT backup is to image the partition.  I 
personally use Ghost for a base OS backup (that image would give me a 
bootable and hardware-compatible OS install back on the HD), then use an 
NT-based file backup solution for the regular backups while the system is 
running.

What I have done so far is to (manually) reboot into tomsrtbt and
dump the (static) contents of raw ntfs partition device files over
the network onto the tape drive using either bzip2|netcat or dd.

Which is what I'd do if I were to attempt to be doing things the way you are.

a clean dump that can be put back, and it will work.

I assume that you have actually taken a spare HD and tested the restore 
procedure (clear through to booting the machine from it)?  This is a MUST.

Assuming boot from a rtbt-floppy, the boot sector on it would need
to be changed ** by something running under NT ** just before the
shutdown to boot into the tomstrbt backup.

See if you can't get NT to reboot in warmboot or coldboot mode, and 
tomsrtbt to do the opposite.  Then, hack LILO to check to see which boot 
method was used.  The word at 0x40:72 contains the boot mode.  From memory, 
it is 0x if it was a cold boot (power cycle, reset switch, or a 
software-induced reset which explicitly reset the flag to make it appear to 
be a cold boot), 0x1234 is a warm boot (skips memory check, but memory 
might be whacked just the same), and 0x4321 is a warm boot wherein memory 
should be left unchanged (though I've never presumed it to work reliably, 
with all the different BIOS'es out there.

If you set it up so that NT warmboots, then when the system is coldbooted 
(say, someone is standing at the console and hard resetting it, or if the 
power tripps unexpectedly), then it'll load into NT automatically (because 
LILO would say coldboot, oh, tomsrtbt just induced the reboot, so we're 
heading into NT).  OTOH, if you did it the opposite, then under those 
conditions, tomsrtbt would load up and try to run a backup - quite possibly 
when you don't want it to (say, because the HD is fried).  This could be 
used to your benfit though -- you could have your backup script check the 
time and presume that any reboot outside of the general timeframe of the 
scheduled backup is cause for alarm - with some scripting tomsrtbt could be 
used to signal an alarm and be sitting at the ready for a remote session to 
run badblocks on the HD or spool up a restore.

Presuming that the system doesn't halt and wait for keyboard input in the 
event of an HD error during boot...

If you hack the LILO code to check the boot mode, then no writes need to 
occur on the floppy, and it can be write protected (which is a GoodThing(tm)).

No, I haven't done this, but if I were trying to accomplish what you are, 
this is how I'd go about doing it - then again, I've written boot loaders 
in the past (though not worked on LILO myself) and write in assembler.

A simpler alternative might be to write program in NT that can update the 
CMOS - changing the BIOS to boot to floppy before HD, and having a similar 
program on the TomsRTBT diskette which changes the value back.  There's a 
checksum to contend with computing, but it isn't rocket science.  The 
specific settings should be easy enough to empirically determine if you can 
dump the raw content of the CMOS.  It'd probably be easier to write a 
Windows or dos program to do this, and when you have the system set the A-C 
or whatever, simply remove the floppy so that it still boots into Windows, 
and you can dump it just as if it had been set to C-A.  Also, if your 
script on TomsRTBT checks the current CMOS value before proceeding to run a 
backup, it could self-determine if the HD failed to boot (if the CMOS is 
currently set to C-A, and you still managed to boot off of the floppy, what 
does that say?) and take steps to alert someone.

It is 

RE: [tomsrtbt] wikiwiki

2002-01-18 Thread Sean Straw / PSE

At 11:03 2002-01-17 -0500, Tom Oehser did say:
I'll post some questions to find if there are any tools or experience with
importing the mailing list archives and /or feeding the current traffic
into it with some best guess topics and linkage.

A sedmail 'prog' alias is probably your easiest route to introducing the 
new list messages to a program which can then feed them to the wiki database:

tomswiki:   |/path_to_some_app_that_feeds_message_into_db and args

This address would then be subscribed to the tomsrtbt list (obviously 
manually so that it doesn't archive off any administrative confirmation and 
welcome message).  The script itself could use the Subject to determine 
which sub-page of your wiki to post the content to.  I'm not at all 
familiar with wiki to be able to say what is necessary to post to it, but 
the above would very easily pipe the message into a script allowing you to 
manipulate it as necessary (possibly even invoking lynx to post the data if 
you).

You could utilize procmail in a similar fashion, and for existing messages, 
if they're in an mailbox format somewhere (on your server perhaps), 
formail (which is a supplementary tool that is part of procmail) can split 
them up and pass them individually to a program (including procmail, if not 
directly to the script you might use in the alias above):

 formail -n 1 -s procmail -m someprocmailscript.rc  old_list_mailbox

The -n 1 option would keep formail running only one child process, rather 
than attempting to run multiple concurrent ones (which would potentially 
cause the messages to be introduced into the wiki in a different order - 
say because a larger message took longer to be inserted).

It should go without saying that if the script introduces data into the 
input mailbox (it _shouldn't_ for what you want to do), that the input 
mailbox should be a static copy of the list mailbox, not the live mailbox 
or a symlink to same.


FTR, I would personally expect to continue to use the mailing list for 
questions and feedback - a web interface often has a way of getting in the 
way of effective communication, and I'm comfortable with the search 
facilities afforded by my email client.

---
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

  Sean B. Straw / Professional Software Engineering
  Post Box 2395 / San Rafael, CA  94912-2395




Re: [tomsrtbt] Space missing on floppy.

2001-12-12 Thread Sean Straw / PSE

At 17:16 2001-12-12 -0500, Hans Deragon wrote:
   I have an old 1.44M drive, not a 1.772M.

Err, there technically is no such thing as a 1.772M *DRIVE*.  It's a format 
employed on *1.4M DRIVES*.

Have you considered just trying it without changing anything?

dd: writing to `/dev/fd0h1440': No space left on device

Hardly a surprise - there's a reason the TomsRTBT floppy is formatted to a 
higher capacity.

---
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

  Sean B. Straw / Professional Software Engineering
  Post Box 2395 / San Rafael, CA  94912-2395




Re: [tomsrtbt] Space missing on floppy.

2001-12-12 Thread Sean Straw / PSE

At 22:34 2001-12-12 -0500, Hans Deragon wrote:

About to fdformat /dev/fd0u1722
Double-sided, 82 tracks, 21 sec/track. Total capacity 1722 kB.
Formatting ... done
Verifying ... read: I/O error
  FAILED fdformat error Enter to continue...

Surprise! your disk failed to verify.  Has nothing to do with you adding 
stuff to your image - the floppy didn't pass muster.  Try a few more 
diskettes (media quality can be a factor as well), or perhaps a whole 
separate system (if you have one at your disposal).  Perhaps your floppy 
drive is iffy.

Its looks like the original distribution ends about just at the right 
place and as soon as I add my files, wham; no space? I tried two diskette 
with the same result; its probably not the medium.

... it could be the drive (or remotely, the controller chip).  I think some 
older Sony manufactured floppy drives were iffy on extended formats - 
specifically, anything beyond track 80.

[snip - trimmage is good policy]

---
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

  Sean B. Straw / Professional Software Engineering
  Post Box 2395 / San Rafael, CA  94912-2395




Re: [PHP] Re: event cache management (no, not code cache) -- W32/Nimda filter

2001-09-22 Thread Sean Straw / PSE

At 23:13 2001-09-21 -0500, Richard Lynch wrote:
You are going to spend a *LOT* of time re-doing the work that went into SQL
db that you have eliminated...  Re-consider.

I wanted to make the module independant of an SQL service so that it could 
reach a wider audience by having fewer system requirements.

Under LINUX, so long as your data is less than 4K (?),
fopen(...,'a')/fwrite()/fclose() is atomic.  So if you are just dumping out
IP+timestamp and even some minimal data, you are set.

I'm considering going binary with the data, which means about 12 bytes per 
record, and makes them fixed length.  I can purge an item from the cache 
by overwriting the fields as allzero.  Problem is efficiently reading and 
writing the binary data between an array and the file.  Seems I'm going to 
spend more time massaging the data (either to convert it to/from binary 
form, or to split it into two arrays), than actually processing it.

If you are *not* using LINUX, your other option is, in fact, to flock() the
file.  You open it for reading, flock() the handle, fopen()

Yes, I'm well aware of the need to file lock.  My concerns lie within 
having to load the cache db, scan it for a match, deal with updating it as 
necessary, and whatnot in a modular method -- if I open and close the file 
between the lookup and update functions, some other process may update the 
file with the very same IP that I'm dealing with now.  So I've really got 
to open it and keep it open (and locked) until I've completed all my 
determination and updating.  Bugger.

You should also use http://php.net/register_shutdown_function to be sure you
never leave a file flock'ed if PHP pukes or something.

Good pointer.

Perhaps even a cron job to release any flocks older than XXX time somehow...

Hmm.  This sounds like something PHP should get a new function for: perhaps 
when a lock is established, an expire could be set by the locking function, 
and sometime later, when another PHP process attempts to open the file, PHP 
would realize it is a stale lock (as defined by the registered lock 
expiration), and remove it...  I'm not on PHP-Dev though.

Even *with* LINUX, at some point, you are going to want to shrink the file
so it doesn't grow to monster proportions, but you only want to throw away
the really old entries...

What I was thinking is that whenever a lookup was performed and resulted in 
an expired entry, if the expired entry was older than say, 1/2 the expire 
time, we'd take the opportunity right now to clean up the file.

You see, there's just all sorts of nasty things you need to worry about if
you go this route, and you really were better off with SQL where it's all
taken care of...  Re-consider again. :-)

The design consideration here is that an SQL dependance means anyone who 
might want to use the module (this is for dealing with CodeRed and 
W32/Nimda and no doubt the next IIS worm that strikes) must do SQL setup 
for a new database, etc.

oh, and after verifying that the whois protocol is indeed as trivial as I 
thought is was, I've dealt with that - so at the moment, my script isn't 
dependant upon any external utilities (obviously, support for updating a 
firewall would require an external script (fired up from cron), but that 
isn't required unless you're going to actually enable the firewalling 
capability, and it still isn't something that is exec'd from the PHP script).

---
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

  Sean B. Straw / Professional Software Engineering
  Post Box 2395 / San Rafael, CA  94912-2395


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] nimda, etc.

2001-09-21 Thread Sean Straw / PSE

At 13:48 2001-09-21 -0700, Bill Rausch wrote:
 sleep( 300 );

I felt that if nothing else I could slow the worm down a little by
wasting its time before it races off to the next potential target.
Does what I'm doing make any sense or am I all confused?

I do like the concept behind the sleep idea, but this is going to tie up 
acesses to *YOUR* server, which means you're literally setting yourself up 
for a DoS.  I doubt that was a design goal.

I think setting up a script which hands off the vitising IP address to your 
firewall and stealths the requests would be much better.  If I could get an 
answer to a cache implementation question I posted here this morning, I'd 
be moving along to providing such a facility to those interested...

FTR, the implementation I have in place right now is invoked via a 
rewriterule in apache, so I don't log 404 errors.

---
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

  Sean B. Straw / Professional Software Engineering
  Post Box 2395 / San Rafael, CA  94912-2395


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] event cache management (no, not code cache) -- W32/Nimda filter

2001-09-21 Thread Sean Straw / PSE


I'm working on something to deal with the W32/Nimda worm traffic, and in 
order for this to work, I need a cache management function - basically, as 
an event occurs, I check to see if the source IP is in the cache file 
already - if not, it gets added along with the current timestamp and 
actions are taken.  If it is in the cache, the original timestamp plus the 
expiration value is compared against the current timestamp - if it isn't 
expired, we just quit processing, whereas if the sum is less than the 
current time, then the entry is expired, and I'd update the cache timestamp 
to reflect the current event, while going and performing the actions (as if 
it wasn't there at all).

One aspect of this is dealing with sending emailed notifications to 
(ir)responsible parties for the hosts in question (rDNS - MX, and IP 
delegations are both used).  This is a processing impact which we'd simply 
not want to incurr for every Nimda hit - thus the need to keep track of 
which hosts we've dealt with in the previous 'n' hours and just drop them 
if we've seen them since.

I don't want to use an SQL DB, primarily because I'd like to make the 
script as self sufficient as possible

I haven't figured out how to efficiently deal with reading and writing a 
file which may be getting tweaked by a concurrent session - should the PHP 
script immediatley open and flock the cache file and keep it locked until 
it has completed operations, even though it may not need to write to the 
file (i.e. the entire decision making process should be within the confines 
of an flock()?)  Are there any efficiency tricks for loading a 
2-dimensional array from a file (source IP + timestamp)?  Is there some way 
I can make a daemon with PHP (manage the cache in one process while 
answering queries from other processes)?

I'm also looking to construct a script which may be executed under a cron 
job, which will add new hosts to the system firewall (either on the local 
host, or quite possibly, at the WAN interface, thereby protecting all the 
hosts on the LAN).  If anyone has already tackled such a thing, I'd 
appreciate hearing about it.

Also, does anyone have a whois implementation in PHP (the idea being to 
avoid exec'ing another process on the system if at all possible).
---
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

  Sean B. Straw / Professional Software Engineering
  Post Box 2395 / San Rafael, CA  94912-2395


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




  1   2   >