mountainbiker | 1 Jul 08:15 2010
Picon

Re: What is this java error telling me?


Dmitriy Shabanov wrote:
> 
> Can you share your script? (private?)
> 
dmitriy-  sent you a copy.  thanks.  -mountainbiker
--

-- 
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-java-error-telling-me-tp2272355p2274654.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Dannes Wessels | 1 Jul 08:30 2010

Re: Changes lost when saving via WebDAV. Anyone else having this problem?

Hi,

On Wed, Jun 30, 2010 at 10:48 PM, Joern Turner
<joern.turner <at> googlemail.com> wrote:
> I've encountered the problems on OSX (10.5.8) with the webDAV client
> built into Finder.

That is correct, the MacOsX finder does not fully operate with the
eXist-db webdav interface.

regards

Dannes
--

-- 
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
mountainbiker | 1 Jul 09:39 2010
Picon

What is this exist.log INFO message about compression module?


We have our log set just for INFO messages.  However, we notice that the
majority of the messages and constantly appearing are these 2 lines

INFO (CompressionModule.java [<init>]:60) - Instantiating Compression module
INFO (CacheModule.java [<init>]:56) - Instantiating Cache module

Can you enlighten me what this is?

-mountainbiker
--

-- 
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274725.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
James Fuller | 1 Jul 09:54 2010

Re: What is this exist.log INFO message about compression module?


On 1 July 2010 09:39, mountainbiker <mailing.list.traffic <at> gmail.com> wrote:

We have our log set just for INFO messages.  However, we notice that the
majority of the messages and constantly appearing are these 2 lines

INFO (CompressionModule.java [<init>]:60) - Instantiating Compression module
INFO (CacheModule.java [<init>]:56) - Instantiating Cache module

Can you enlighten me what this is?

under extensions/modules/src/org/exist/xquery/modules

you will find both the compression and cache modules ....

in conf.xml you will see that they have been enabled.

more (admittedly not a lot) information on extension modules can be found here


hth, James Fuller
 

-mountainbiker
--
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274725.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
mountainbiker | 1 Jul 10:11 2010
Picon

Re: What is this exist.log INFO message about compression module?


Thanks James.

This is the confusing part.  While we do have the compression module (and
others) operational per the conf.xml.  Why is the compress module making log
entries when (1) the other active modules don't make INFO announcements as
verbose as this one, and (2) we are not actively/knowingly using any of the
compression modules' functions ... yet.

--

-- 
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274769.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
James Fuller | 1 Jul 10:14 2010

Re: What is this exist.log INFO message about compression module?



On 1 July 2010 10:11, mountainbiker <mailing.list.traffic <at> gmail.com> wrote:

Thanks James.

This is the confusing part.  While we do have the compression module (and
others) operational per the conf.xml.  Why is the compress module making log
entries when (1) the other active modules don't make INFO announcements as
verbose as this one, and (2) we are not actively/knowingly using any of the
compression modules' functions ... yet.

the difference is down to the fact that each extension is written by different people ... we probably should have some 
automatic loading info message so all enabled modules do the same thing, but I suspect we dont.

as for 'using an extension module' you activate/deactivate in conf.xml ... if you want compression module to be made unavailable just find it in conf.xml and comment it out.

hth, James Fuller

 

--
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274769.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
mountainbiker | 1 Jul 10:53 2010
Picon

Re: What is this exist.log INFO message about compression module?


James Fuller-8 wrote:
> 
> the difference is down to the fact that each extension is written by
> different people ... 
> 
While I understand the modules are written by different folks, and I can
understand a desire for a module author to say "hey I loaded".  However,
what remains confusing, is why an author would write a log message every 10
minutes or less stating nothing of importance.  

Moreover, because I am not actively using the functions of the module and
while I have not testing outside of our production environment -- it sure
seems like this compression module is being actively used by some other
non-compression module function or by eXist's internals.  This is my primary
concern:  is something correctly or incorrectly causing this INFO message to
be written over and over and over.

James Fuller-8 wrote:
> 
> as for 'using an extension module' you activate/deactivate in conf.xml ...
> if you want compression module to be made unavailable just find it in
> conf.xml and comment it out.
> 
At this stage, I am not interested in deactivating the module as I
uncommented it for an upcoming effort.  I will probably just filter this
useless verbose logging.

--

-- 
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274821.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
James Fuller | 1 Jul 11:18 2010

Re: What is this exist.log INFO message about compression module?

On 1 July 2010 10:53, mountainbiker <mailing.list.traffic <at> gmail.com> wrote:



James Fuller-8 wrote:
>
> the difference is down to the fact that each extension is written by
> different people ...
>
While I understand the modules are written by different folks, and I can
understand a desire for a module author to say "hey I loaded".  However,
what remains confusing, is why an author would write a log message every 10
minutes or less stating nothing of importance.

 ok you didn't mention that this was happening every 10 minutes in your original post ... logging superflous information every 10m doesn't sound right, especially if you are certain you are not using them (u are sure right?) .

I will take a look at the module and see why its emitting these messages and double check that the xquery functions are not being (which I do not think they are) used by eXist webapp (admin or otherwise) when I am next inside the codebase.

thx, J
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
mountainbiker | 1 Jul 11:39 2010
Picon

Re: What is this exist.log INFO message about compression module?


James Fuller-8 wrote:
> 
> ok you didn't mention that this was happening every 10 minutes in your
> original post
> 
Correct.  I called it constant and verbose.  The 10 minutes was a
guestimate.  I just went through and got some actual times from today's log: 
... 0640, 0646, 0723, 0723, 0734, 0736, 0744, 0756 ...  Interesting point -
appearing just before each of these 2 INFO messages I just noticed is a
replacement of an XML resource, so there is a removal of a document
(NativeBroker.java [removeXMLResource]:2222).  This could be the cause.  (We
are routinely/regularly overwriting certain XML resources with replacement
resource.)

James Fuller-8 wrote:
> 
>  ... logging superflous information every 10m doesn't sound
> right, especially if you are certain you are not using them (u are sure
> right?) .
> 
Yes exactly.  And, I am definitely not directly calling the compression
module.

James Fuller-8 wrote:
> 
> I will take a look at the module and see why its emitting these messages
> and
> double check that the xquery functions are not being (which I do not think
> they are) used by eXist webapp (admin or otherwise) when I am next inside
> the codebase.
> 
Thanks Jim for taking the time to answer my questions and peek at the code. 
You guys rock!

--

-- 
View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274886.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Adam Retter | 1 Jul 12:49 2010

Re: What is this exist.log INFO message about compression module?

> While I understand the modules are written by different folks, and I can
> understand a desire for a module author to say "hey I loaded".

Ideally it should be the loader that says this and not the module
itself. As such I just removed these messages from the modules that do
this in trunk.

> However,
> what remains confusing, is why an author would write a log message every 10
> minutes or less stating nothing of importance.

Well if I am understanding the code correctly, line 3267 of
org.exist.xquery.XQueryContext correctly, then it would seem to me
that all modules declared in conf.xml are instantiated for any XQuery
that is executed. Obviously this is not really desirable, we should
look to change this approach, perhaps one of -

1) Modules are lazy instantiated for an XQuery as they are required,
in this way an XQuery may declare a module but it need not be
instantiated unless it is actually used. Different paths of execution
through the query may mean that a module is never used in actuality.

2) Only required modules are instantiated at compile time, or first
execution. (These can be determined by the declared namespaces).

Cheers Adam.

> Moreover, because I am not actively using the functions of the module and
> while I have not testing outside of our production environment -- it sure
> seems like this compression module is being actively used by some other
> non-compression module function or by eXist's internals.  This is my primary
> concern:  is something correctly or incorrectly causing this INFO message to
> be written over and over and over.
>
>
>
> James Fuller-8 wrote:
>>
>> as for 'using an extension module' you activate/deactivate in conf.xml ...
>> if you want compression module to be made unavailable just find it in
>> conf.xml and comment it out.
>>
> At this stage, I am not interested in deactivating the module as I
> uncommented it for an upcoming effort.  I will probably just filter this
> useless verbose logging.
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274821.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Exist-open mailing list
> Exist-open <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

--

-- 
Adam Retter

eXist Developer
{ United Kingdom }
adam <at> exist-db.org
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Gmane