<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>user@excalibur.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/excalibur-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/excalibur-user/</id>
<updated>2009-12-08T07:26:59Z</updated>
<entry>
<title>[Travel Assistance] Applications for ApacheCon EU 2009 - Now Open</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200901.mbox/%3c497A01AF.3000106@apache.org%3e"/>
<id>urn:uuid:%3c497A01AF-3000106@apache-org%3e</id>
<updated>2009-01-23T17:43:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The Travel Assistance Committee is now accepting applications for those
wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009
in Amsterdam.

The Travel Assistance Committee is looking for people who would like to
be able to attend ApacheCon EU 2009 who need some financial support in
order to get there. There are very few places available and the criteria
is high, that aside applications are open to all open source developers
who feel that their attendance would benefit themselves, their
project(s), the ASF or open source in general.

Financial assistance is available for travel, accommodation and entrance
fees either in full or in part, depending on circumstances. It is
intended that all our ApacheCon events are covered, so it may be prudent
for those in the United States or Asia to wait until an event closer to
them comes up - you are all welcome to apply for ApacheCon EU of course,
but there must be compelling reasons for you to attend an event further
away that your home location for your application to be considered above
those closer to the event location.

More information can be found on the main Apache website at
http://www.apache.org/travel/index.html - where you will also find a
link to the online application form.

Time is very tight for this event, so applications are open now and will
end on the 4th February 2009 - to give enough time for travel
arrangements to be made.

Good luck to all those that apply.


Regards,
The Travel Assistance Committee

-- 
Carsten Ziegeler
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Access to top-level configuration tree in Excalibur?</title>
<author><name>John Collins &lt;jcollins@cs.umn.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200809.mbox/%3c48E13FA6.3040408@cs.umn.edu%3e"/>
<id>urn:uuid:%3c48E13FA6-3040408@cs-umn-edu%3e</id>
<updated>2008-09-29T20:50:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Carsten Ziegeler wrote:
&gt; Hi,
&gt; 
&gt; sorry for the late response. An answer from Berin Loritsch got stuck in
&gt; the moderation of this list. This is the answer from Berin:
&gt; 
&gt; "Excalibur was designed around each component only knowing and being
&gt; able to deal with their own information.  It was a conscious design
&gt; decision.  There are ways around the model, but typically you have to
&gt; mount the configuration tree to a JNDI context and load it when you need it.
&gt; 
&gt; Another way to deal with the arbitrarily complex graph is to have
&gt; multiple levels of Excalibur containers.  Essentially you have a top
&gt; level that manages the configuration and stands up the child Excalibur
&gt; container that manages the graphs that you have set up.  That is the way
&gt; to do it that matches the design of the Excalibur framework."

Thanks. Although this does not sound unreasonable, I respect the 
Excalibur design, and we have found what I think is a better way. That 
is to simply give the component that contains the configuration editor a 
list of the roles of the components that can be reconfigured, and have 
it look them up one by one and ask them to report their individual 
configuration trees. Because it then has the association of references 
to configurations, if the user makes a change, it can be directly 
propagated to the correct component.

Best regards,

John Collins


&gt; 
&gt; 
&gt; John E. Collins wrote:
&gt;&gt; I have an application that builds an arbitrarily complex dependency
&gt;&gt; graph among small analysis modules at runtime, using a a Configuration
&gt;&gt; derived from the XML configuration file. Most of the modules are not
&gt;&gt; Excalibur components, but are managed by a component, so all but the
&gt;&gt; leaves of the graph are accessible through that component's
&gt;&gt; Configuration. But there are other components, the leaves of the graph,
&gt;&gt; that are separate Excalibur components, and whose dependencies are
&gt;&gt; expressed in their individual Configuration trees. We want to make the
&gt;&gt; configuration visible and modifiable at runtime, which requires access
&gt;&gt; to the top-level configuration tree. I can get the configuration tree
&gt;&gt; for the individual components, but I cannot see how to get the top-level
&gt;&gt; tree. Is there such a thing? Is it available in any useful way?
&gt;&gt;
&gt;&gt; Any suggestions would be welcome.
&gt;&gt;
&gt;&gt; John Collins
&gt;&gt; University of Minnesota
&gt; 
&gt; 



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Access to top-level configuration tree in Excalibur?</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200809.mbox/%3c48E11202.1040708@apache.org%3e"/>
<id>urn:uuid:%3c48E11202-1040708@apache-org%3e</id>
<updated>2008-09-29T17:36:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

sorry for the late response. An answer from Berin Loritsch got stuck in
the moderation of this list. This is the answer from Berin:

"Excalibur was designed around each component only knowing and being
able to deal with their own information.  It was a conscious design
decision.  There are ways around the model, but typically you have to
mount the configuration tree to a JNDI context and load it when you need it.

Another way to deal with the arbitrarily complex graph is to have
multiple levels of Excalibur containers.  Essentially you have a top
level that manages the configuration and stands up the child Excalibur
container that manages the graphs that you have set up.  That is the way
to do it that matches the design of the Excalibur framework."


John E. Collins wrote:
&gt; I have an application that builds an arbitrarily complex dependency
&gt; graph among small analysis modules at runtime, using a a Configuration
&gt; derived from the XML configuration file. Most of the modules are not
&gt; Excalibur components, but are managed by a component, so all but the
&gt; leaves of the graph are accessible through that component's
&gt; Configuration. But there are other components, the leaves of the graph,
&gt; that are separate Excalibur components, and whose dependencies are
&gt; expressed in their individual Configuration trees. We want to make the
&gt; configuration visible and modifiable at runtime, which requires access
&gt; to the top-level configuration tree. I can get the configuration tree
&gt; for the individual components, but I cannot see how to get the top-level
&gt; tree. Is there such a thing? Is it available in any useful way?
&gt; 
&gt; Any suggestions would be welcome.
&gt; 
&gt; John Collins
&gt; University of Minnesota


-- 
Carsten Ziegeler
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Access to top-level configuration tree in Excalibur?</title>
<author><name>&quot;John E. Collins&quot; &lt;jcollins@cs.umn.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200809.mbox/%3c48CAEFD2.7000106@cs.umn.edu%3e"/>
<id>urn:uuid:%3c48CAEFD2-7000106@cs-umn-edu%3e</id>
<updated>2008-09-12T22:40:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have an application that builds an arbitrarily complex dependency 
graph among small analysis modules at runtime, using a a Configuration 
derived from the XML configuration file. Most of the modules are not 
Excalibur components, but are managed by a component, so all but the 
leaves of the graph are accessible through that component's 
Configuration. But there are other components, the leaves of the graph, 
that are separate Excalibur components, and whose dependencies are 
expressed in their individual Configuration trees. We want to make the 
configuration visible and modifiable at runtime, which requires access 
to the top-level configuration tree. I can get the configuration tree 
for the individual components, but I cannot see how to get the top-level 
tree. Is there such a thing? Is it available in any useful way?

Any suggestions would be welcome.

John Collins
University of Minnesota


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Request for excalibur bug for uri and protocol fle.</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200806.mbox/%3c484E9F7D.9070308@apache.org%3e"/>
<id>urn:uuid:%3c484E9F7D-9070308@apache-org%3e</id>
<updated>2008-06-10T15:36:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

the url returned by the source is a url which should be treaded as such. 
You can create a new java.net.URL object with this string and then a 
File object using the url object.

HTH
Carsten

Maodo DIOP wrote:
&gt; Hi Team developpers,
&gt; 
&gt; I have found a bug in the 
&gt; class*o**rg.apache.excalibur.source.impl.SourceResolverImpl * method 
&gt; *public Source resolveURI( String location, String baseURI,Map 
&gt; parameters ) *line *176-181* . which return the uri of a given file . 
&gt; But this uri is defined under OS platform where file protocol is 
&gt; "file:/" under Windows OS and without the slash under other plateforms 
&gt; which is a real bug according to me . We know that file protocol is 
&gt; "file:/" .
&gt; Here an example
&gt; Source mySource = resolver.resolveURI(myFile);
&gt; setSession("myFilewithUri",mySource.getUri());
&gt; 
&gt; When i get this variable String myFilename = (String 
&gt; )getSession("myFilewithUri");
&gt; 
&gt; int fileLength = myFilename.length();
&gt; To delete this file we must test the plateform which is not the aim of 
&gt; Java programming  "*W*rite *O*nce *R*un *A*nywhere" .
&gt; 
&gt; if(isUnderWindows()){
&gt;     //Get the real file without part of "file:/"
&gt; filename = filename.substring(URL_PREFIX_LEN,end);
&gt; }else{
&gt; //Get the real file without part of "file:" under other OS
&gt;  filename = filename.substring(URL_PREFIX_LEN-1,end);
&gt; }
&gt; 
&gt; where
&gt;  int end =  int *end *= filename.length() ; and
&gt;  private final static String URL_PREFIX = "file:/";
&gt;  private final static int *URL_PREFIX_LEN *= URL_PREFIX.length();
&gt; 
&gt; This is due to the *o**rg.apache.excalibur.source.impl.SourceResolverImpl *
&gt; methode *public Source resolveURI( String location, String baseURI,Map 
&gt; parameters )* line *176-181* .
&gt; 
&gt; String systemID = location;
&gt;        * // special handling for windows file paths*
&gt;         if( location.length() &gt; 1 &amp;&amp; location.charAt( 1 ) == ':' )
&gt;             systemID = "*file:/" + location;*
&gt;         else if( location.length() &gt; 2 &amp;&amp; location.charAt(0) == '/' &amp;&amp;

&gt; location.charAt(2) == ':' )
&gt;             systemID = *"file:" + location;
&gt; 
&gt; 
&gt; *What is your comments for ?*
&gt; *
&gt; 


-- 
Carsten Ziegeler
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Request for excalibur bug for uri and protocol fle.</title>
<author><name>Maodo DIOP &lt;mdiop@jouve.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200806.mbox/%3c484E9CC4.3080901@jouve.fr%3e"/>
<id>urn:uuid:%3c484E9CC4-3080901@jouve-fr%3e</id>
<updated>2008-06-10T15:24:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Team developpers,

I have found a bug in the 
class*o**rg.apache.excalibur.source.impl.SourceResolverImpl * method 
*public Source resolveURI( String location, String baseURI,Map 
parameters ) *line *176-181* . which return the uri of a given file . 
But this uri is defined under OS platform where file protocol is 
"file:/" under Windows OS and without the slash under other plateforms 
which is a real bug according to me . We know that file protocol is 
"file:/" .
Here an example
Source mySource = resolver.resolveURI(myFile);
setSession("myFilewithUri",mySource.getUri());

When i get this variable String myFilename = (String 
)getSession("myFilewithUri");

int fileLength = myFilename.length();
To delete this file we must test the plateform which is not the aim of 
Java programming  "*W*rite *O*nce *R*un *A*nywhere" .

if(isUnderWindows()){
    //Get the real file without part of "file:/"
filename = filename.substring(URL_PREFIX_LEN,end);
}else{
//Get the real file without part of "file:" under other OS
 filename = filename.substring(URL_PREFIX_LEN-1,end);
}

where
 int end =  int *end *= filename.length() ; and
 private final static String URL_PREFIX = "file:/";
 private final static int *URL_PREFIX_LEN *= URL_PREFIX.length();

This is due to the *o**rg.apache.excalibur.source.impl.SourceResolverImpl *
methode *public Source resolveURI( String location, String baseURI,Map 
parameters )* line *176-181* .

String systemID = location;
       * // special handling for windows file paths*
        if( location.length() &gt; 1 &amp;&amp; location.charAt( 1 ) == ':' )
            systemID = "*file:/" + location;*
        else if( location.length() &gt; 2 &amp;&amp; location.charAt(0) == '/' &amp;&amp;

location.charAt(2) == ':' )
            systemID = *"file:" + location;


*What is your comments for ?*
*



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: problem with closing database connections using Excalibur Pool 1.2</title>
<author><name>Leo Simons &lt;mail@leosimons.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200802.mbox/%3c84127644-21E4-4C9F-A9BB-50BC781DDD8A@leosimons.com%3e"/>
<id>urn:uuid:%3c84127644-21E4-4C9F-A9BB-50BC781DDD8A@leosimons-com%3e</id>
<updated>2008-02-22T17:21:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Heya!

that'd be

   http://archive.apache.org/dist/avalon/excalibur-pool/source/ 
excalibur-pool-1.2.zip
   http://archive.apache.org/dist/avalon/excalibur-datasource/source/ 
excalibur-datasource-1.1.1.zip

that's quite an old package :-). Note its in dist/avalon and not dist/ 
excalibur.

Looking at the source a bit, it doesn't seem to do much of anything  
specific for JDBC connections -- i.e. it just close()es of the JDBC  
connection on dispose(), which seems pretty reasonable.

cheers,

- Leo

On Feb 22, 2008, at 6:14 PM, Simon Payne wrote:

&gt; Berin
&gt;
&gt; Thanks for your comments. I would like to check the source for  
&gt; Excalibur Pool 1.2 and see how it is handling errors from the  
&gt; driver, in case that is where the fault lies. Is it possible to  
&gt; download that version's source?  I have found the binary of it on  
&gt; one of the FTP mirror sites, and the source for later versions, but  
&gt; not that one.
&gt;
&gt; Simon
&gt;
&gt; -----Original Message-----
&gt; From: Berin Loritsch [mailto:bloritsch@d-haven.com]
&gt; Sent: 22 February 2008 16:22
&gt; To: Excalibur Users List; simon.payne@1spatial.com
&gt; Subject: Re: problem with closing database connections using Excalibur
&gt; Pool 1.2
&gt;
&gt;
&gt; The Oracle driver is notorious about dealing with open resources.  If
&gt; you forget to close one resultset, statement, etc. then not only will
&gt; the connection not close, but you'll get an exception regarding too  
&gt; many
&gt; cursors or something like that.  Make sure you are closing all those
&gt; resources inside a finally block, because one exception will throw
&gt; things off otherwise.
&gt;
&gt; That's my best guess after not being in the code for years.
&gt;
&gt; Simon Payne wrote:
&gt;&gt; Hello,
&gt;&gt;
&gt;&gt; I am using JMeter to load test an Oracle database.  I have been  
&gt;&gt; having
&gt;&gt; trouble with JDBC connect strings and TNSNAMES entries.  The code  
&gt;&gt; within
&gt;&gt; JMeter that handles connect strings (i.e. db urls) is Excalibur  
&gt;&gt; Pool v. 1.2,
&gt;&gt; hence I am addressing this forum.
&gt;&gt;
&gt;&gt; The problem appears on closure of the connection - opening  
&gt;&gt; connections works
&gt;&gt; fine.  How does Excalibur Pool work in this respect?
&gt;&gt;
&gt;&gt; Why would I be getting an error like the one below? Has anyone  
&gt;&gt; else seen and
&gt;&gt; resolved it?
&gt;&gt;
&gt;&gt; Here is my environment:-
&gt;&gt;
&gt;&gt; Excalibur Pool v. 1.2
&gt;&gt; JMeter v. 2.3
&gt;&gt; Database: Oracle 10g3 (10.2.0.3.0)
&gt;&gt; JDBC driver: Oracle ojdbc14.jar v. 10.2.0.3.0
&gt;&gt; Client JVM: J2RE, Standard Edition (build 1.5.0_06-b05) Java  
&gt;&gt; HotSpot(TM)
&gt;&gt; Client VM (build 1.5.0_06-b05, mixed mode).
&gt;&gt; Platform: Client: Windows XP Pro 2002 SP2; Server: Suse Enterprise  
&gt;&gt; Linux v.
&gt;&gt; 10.
&gt;&gt;
&gt;&gt; The exception I am getting is:
&gt;&gt;
&gt;&gt; 2008/02/22 14:59:31 WARN  -  
&gt;&gt; jmeter.protocol.jdbc.config.DataSourceElement:
&gt;&gt; Could not close connection java.sql.SQLException: Protocol violation
&gt;&gt; 	at
&gt;&gt; oracle.jdbc.driver.DatabaseError.throwSqlException 
&gt;&gt; (DatabaseError.java:111)
&gt;&gt; 	at
&gt;&gt; oracle.jdbc.driver.DatabaseError.throwSqlException 
&gt;&gt; (DatabaseError.java:145)
&gt;&gt; 	at
&gt;&gt; oracle.jdbc.driver.DatabaseError.throwSqlException 
&gt;&gt; (DatabaseError.java:207)
&gt;&gt; 	at oracle.jdbc.driver.T4C7Ocommoncall.receive 
&gt;&gt; (T4C7Ocommoncall.java:149)
&gt;&gt; 	at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:464)
&gt;&gt; 	at
&gt;&gt; oracle.jdbc.driver.PhysicalConnection.close 
&gt;&gt; (PhysicalConnection.java:1202)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.dispose 
&gt;&gt; (Abstra
&gt;&gt; ctJdbcConnection.java:317)
&gt;&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt; 	at
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke 
&gt;&gt; (NativeMethodAccessorImpl.java:39
&gt;&gt; )
&gt;&gt; 	at
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke 
&gt;&gt; (DelegatingMethodAccessorImpl
&gt;&gt; .java:25)
&gt;&gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.invoke( 
&gt;&gt; Abstrac
&gt;&gt; tJdbcConnection.java:357)
&gt;&gt; 	at $Proxy0.dispose(Unknown Source)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommis 
&gt;&gt; sion(Jd
&gt;&gt; bcConnectionFactory.java:248)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.removePoolable( 
&gt;&gt; Resourc
&gt;&gt; eLimitingPool.java:697)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.permanentlyRemo 
&gt;&gt; vePoola
&gt;&gt; ble(ResourceLimitingPool.java:639)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.dispose 
&gt;&gt; (ResourceLimiti
&gt;&gt; ngPool.java:518)
&gt;&gt; 	at
&gt;&gt; org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource 
&gt;&gt; .dispos
&gt;&gt; e(ResourceLimitingJdbcDataSource.java:442)
&gt;&gt; 	at
&gt;&gt; org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testEnded 
&gt;&gt; (DataSourc
&gt;&gt; eElement.java:75)
&gt;&gt; 	at
&gt;&gt; org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEn 
&gt;&gt; d(Stand
&gt;&gt; ardJMeterEngine.java:246)
&gt;&gt; 	at
&gt;&gt; org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run 
&gt;&gt; (StandardJMeterEng
&gt;&gt; ine.java:321)
&gt;&gt; 	at java.lang.Thread.run(Thread.java:595)
&gt;&gt;
&gt;&gt; Here is how we've discussed it so far, on the JMeter user forum:-
&gt;&gt;
&gt;&gt; http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/ 
&gt;&gt; 200802.mbox/aja
&gt;&gt; x/%3c25aac9fc0802220708x1e40bc89q3b575f9f00919c6a@mail.gmail.com%3e
&gt;&gt; (cut and paste link into a browser).
&gt;&gt;
&gt;&gt; Thanks in anticipation of your help.
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt;
&gt;&gt; Simon Payne
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt;&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: problem with closing database connections using Excalibur Pool 1.2</title>
<author><name>&quot;Simon Payne&quot; &lt;simon.payne@1spatial.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200802.mbox/%3cDOEMJMNHMMFOIPECBIMKMELLCDAA.simon.payne@1spatial.com%3e"/>
<id>urn:uuid:%3cDOEMJMNHMMFOIPECBIMKMELLCDAA-simon-payne@1spatial-com%3e</id>
<updated>2008-02-22T17:14:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Berin

Thanks for your comments. I would like to check the source for Excalibur Pool 1.2 and see
how it is handling errors from the driver, in case that is where the fault lies. Is it possible
to download that version's source?  I have found the binary of it on one of the FTP mirror
sites, and the source for later versions, but not that one.

Simon

-----Original Message-----
From: Berin Loritsch [mailto:bloritsch@d-haven.com]
Sent: 22 February 2008 16:22
To: Excalibur Users List; simon.payne@1spatial.com
Subject: Re: problem with closing database connections using Excalibur
Pool 1.2


The Oracle driver is notorious about dealing with open resources.  If 
you forget to close one resultset, statement, etc. then not only will 
the connection not close, but you'll get an exception regarding too many 
cursors or something like that.  Make sure you are closing all those 
resources inside a finally block, because one exception will throw 
things off otherwise.

That's my best guess after not being in the code for years.

Simon Payne wrote:
&gt; Hello,
&gt;
&gt; I am using JMeter to load test an Oracle database.  I have been having
&gt; trouble with JDBC connect strings and TNSNAMES entries.  The code within
&gt; JMeter that handles connect strings (i.e. db urls) is Excalibur Pool v. 1.2,
&gt; hence I am addressing this forum.
&gt;
&gt; The problem appears on closure of the connection - opening connections works
&gt; fine.  How does Excalibur Pool work in this respect?
&gt;
&gt; Why would I be getting an error like the one below? Has anyone else seen and
&gt; resolved it?
&gt;
&gt; Here is my environment:-
&gt;
&gt; Excalibur Pool v. 1.2
&gt; JMeter v. 2.3
&gt; Database: Oracle 10g3 (10.2.0.3.0)
&gt; JDBC driver: Oracle ojdbc14.jar v. 10.2.0.3.0
&gt; Client JVM: J2RE, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM)
&gt; Client VM (build 1.5.0_06-b05, mixed mode).
&gt; Platform: Client: Windows XP Pro 2002 SP2; Server: Suse Enterprise Linux v.
&gt; 10.
&gt;
&gt; The exception I am getting is:
&gt;
&gt; 2008/02/22 14:59:31 WARN  - jmeter.protocol.jdbc.config.DataSourceElement:
&gt; Could not close connection java.sql.SQLException: Protocol violation
&gt; 	at
&gt; oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
&gt; 	at
&gt; oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
&gt; 	at
&gt; oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:207)
&gt; 	at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:149)
&gt; 	at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:464)
&gt; 	at
&gt; oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:1202)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.dispose(Abstra
&gt; ctJdbcConnection.java:317)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
&gt; )
&gt; 	at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
&gt; .java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.invoke(Abstrac
&gt; tJdbcConnection.java:357)
&gt; 	at $Proxy0.dispose(Unknown Source)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommission(Jd
&gt; bcConnectionFactory.java:248)
&gt; 	at
&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.removePoolable(Resourc
&gt; eLimitingPool.java:697)
&gt; 	at
&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.permanentlyRemovePoola
&gt; ble(ResourceLimitingPool.java:639)
&gt; 	at
&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.dispose(ResourceLimiti
&gt; ngPool.java:518)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.dispos
&gt; e(ResourceLimitingJdbcDataSource.java:442)
&gt; 	at
&gt; org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testEnded(DataSourc
&gt; eElement.java:75)
&gt; 	at
&gt; org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(Stand
&gt; ardJMeterEngine.java:246)
&gt; 	at
&gt; org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEng
&gt; ine.java:321)
&gt; 	at java.lang.Thread.run(Thread.java:595)
&gt;
&gt; Here is how we've discussed it so far, on the JMeter user forum:-
&gt;
&gt; http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200802.mbox/aja
&gt; x/%3c25aac9fc0802220708x1e40bc89q3b575f9f00919c6a@mail.gmail.com%3e
&gt; (cut and paste link into a browser).
&gt;
&gt; Thanks in anticipation of your help.
&gt;
&gt; Regards,
&gt;
&gt; Simon Payne
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;
&gt;   



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: problem with closing database connections using Excalibur Pool 1.2</title>
<author><name>Berin Loritsch &lt;bloritsch@d-haven.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200802.mbox/%3c47BEF6A9.4060502@d-haven.com%3e"/>
<id>urn:uuid:%3c47BEF6A9-4060502@d-haven-com%3e</id>
<updated>2008-02-22T16:22:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The Oracle driver is notorious about dealing with open resources.  If 
you forget to close one resultset, statement, etc. then not only will 
the connection not close, but you'll get an exception regarding too many 
cursors or something like that.  Make sure you are closing all those 
resources inside a finally block, because one exception will throw 
things off otherwise.

That's my best guess after not being in the code for years.

Simon Payne wrote:
&gt; Hello,
&gt;
&gt; I am using JMeter to load test an Oracle database.  I have been having
&gt; trouble with JDBC connect strings and TNSNAMES entries.  The code within
&gt; JMeter that handles connect strings (i.e. db urls) is Excalibur Pool v. 1.2,
&gt; hence I am addressing this forum.
&gt;
&gt; The problem appears on closure of the connection - opening connections works
&gt; fine.  How does Excalibur Pool work in this respect?
&gt;
&gt; Why would I be getting an error like the one below? Has anyone else seen and
&gt; resolved it?
&gt;
&gt; Here is my environment:-
&gt;
&gt; Excalibur Pool v. 1.2
&gt; JMeter v. 2.3
&gt; Database: Oracle 10g3 (10.2.0.3.0)
&gt; JDBC driver: Oracle ojdbc14.jar v. 10.2.0.3.0
&gt; Client JVM: J2RE, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM)
&gt; Client VM (build 1.5.0_06-b05, mixed mode).
&gt; Platform: Client: Windows XP Pro 2002 SP2; Server: Suse Enterprise Linux v.
&gt; 10.
&gt;
&gt; The exception I am getting is:
&gt;
&gt; 2008/02/22 14:59:31 WARN  - jmeter.protocol.jdbc.config.DataSourceElement:
&gt; Could not close connection java.sql.SQLException: Protocol violation
&gt; 	at
&gt; oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
&gt; 	at
&gt; oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
&gt; 	at
&gt; oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:207)
&gt; 	at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:149)
&gt; 	at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:464)
&gt; 	at
&gt; oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:1202)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.dispose(Abstra
&gt; ctJdbcConnection.java:317)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
&gt; )
&gt; 	at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
&gt; .java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.invoke(Abstrac
&gt; tJdbcConnection.java:357)
&gt; 	at $Proxy0.dispose(Unknown Source)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommission(Jd
&gt; bcConnectionFactory.java:248)
&gt; 	at
&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.removePoolable(Resourc
&gt; eLimitingPool.java:697)
&gt; 	at
&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.permanentlyRemovePoola
&gt; ble(ResourceLimitingPool.java:639)
&gt; 	at
&gt; org.apache.avalon.excalibur.pool.ResourceLimitingPool.dispose(ResourceLimiti
&gt; ngPool.java:518)
&gt; 	at
&gt; org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.dispos
&gt; e(ResourceLimitingJdbcDataSource.java:442)
&gt; 	at
&gt; org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testEnded(DataSourc
&gt; eElement.java:75)
&gt; 	at
&gt; org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(Stand
&gt; ardJMeterEngine.java:246)
&gt; 	at
&gt; org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEng
&gt; ine.java:321)
&gt; 	at java.lang.Thread.run(Thread.java:595)
&gt;
&gt; Here is how we've discussed it so far, on the JMeter user forum:-
&gt;
&gt; http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200802.mbox/aja
&gt; x/%3c25aac9fc0802220708x1e40bc89q3b575f9f00919c6a@mail.gmail.com%3e
&gt; (cut and paste link into a browser).
&gt;
&gt; Thanks in anticipation of your help.
&gt;
&gt; Regards,
&gt;
&gt; Simon Payne
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;
&gt;   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>problem with closing database connections using Excalibur Pool 1.2</title>
<author><name>&quot;Simon Payne&quot; &lt;simon.payne@1spatial.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200802.mbox/%3cDOEMJMNHMMFOIPECBIMKOELJCDAA.simon.payne@1spatial.com%3e"/>
<id>urn:uuid:%3cDOEMJMNHMMFOIPECBIMKOELJCDAA-simon-payne@1spatial-com%3e</id>
<updated>2008-02-22T16:11:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I am using JMeter to load test an Oracle database.  I have been having
trouble with JDBC connect strings and TNSNAMES entries.  The code within
JMeter that handles connect strings (i.e. db urls) is Excalibur Pool v. 1.2,
hence I am addressing this forum.

The problem appears on closure of the connection - opening connections works
fine.  How does Excalibur Pool work in this respect?

Why would I be getting an error like the one below? Has anyone else seen and
resolved it?

Here is my environment:-

Excalibur Pool v. 1.2
JMeter v. 2.3
Database: Oracle 10g3 (10.2.0.3.0)
JDBC driver: Oracle ojdbc14.jar v. 10.2.0.3.0
Client JVM: J2RE, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM)
Client VM (build 1.5.0_06-b05, mixed mode).
Platform: Client: Windows XP Pro 2002 SP2; Server: Suse Enterprise Linux v.
10.

The exception I am getting is:

2008/02/22 14:59:31 WARN  - jmeter.protocol.jdbc.config.DataSourceElement:
Could not close connection java.sql.SQLException: Protocol violation
	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:207)
	at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:149)
	at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:464)
	at
oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:1202)
	at
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.dispose(Abstra
ctJdbcConnection.java:317)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.invoke(Abstrac
tJdbcConnection.java:357)
	at $Proxy0.dispose(Unknown Source)
	at
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommission(Jd
bcConnectionFactory.java:248)
	at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.removePoolable(Resourc
eLimitingPool.java:697)
	at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.permanentlyRemovePoola
ble(ResourceLimitingPool.java:639)
	at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.dispose(ResourceLimiti
ngPool.java:518)
	at
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.dispos
e(ResourceLimitingJdbcDataSource.java:442)
	at
org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testEnded(DataSourc
eElement.java:75)
	at
org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(Stand
ardJMeterEngine.java:246)
	at
org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEng
ine.java:321)
	at java.lang.Thread.run(Thread.java:595)

Here is how we've discussed it so far, on the JMeter user forum:-

http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200802.mbox/aja
x/%3c25aac9fc0802220708x1e40bc89q3b575f9f00919c6a@mail.gmail.com%3e
(cut and paste link into a browser).

Thanks in anticipation of your help.

Regards,

Simon Payne


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Bug in FileSource?</title>
<author><name>solprovider@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200801.mbox/%3cdfe834320801290852j114eabe0gc54b302ce08f237e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cdfe834320801290852j114eabe0gc54b302ce08f237e@mail-gmail-com%3e</id>
<updated>2008-01-29T16:52:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Your last post confused me.  The SourceResolver uses the configured
SourceFactory(s) to create and return a Source.  When creating a
SourceFactory, using the SourceResolver is asking for an infinite
loop.  The current implementations of our two custom SourceFactories
return a FileSource (although the SourceResolvers will return other
Sources when pulling from JCR or RDBMS in the future.)

Our StringSource was designed for returning errors from
SourceFactories.  The class should always be directly instantiated in
a SourceFactory.  This class could be added to the
org.apache.excalibur.source.impl package.  The API doc states:
   Creates a Source from a String, Document, Node, or XMLizable.
   If a String does not start with "&lt;", it is wrapped with &lt;text&gt; tags.
   If a String does not start with "&lt;?xml", an XML header is added.
I cannot think of a purpose for StringSourceFactory.  No
StringSourceFactory exists so SourceResolver could not create a
StringSource.

How to resolve my "bug" depends on the goals of the Excalibur project.

If Excalibur's gola is simple code, fix the documentation to remove
the confusion.  The FileSource single-argument constructor API should
be changed to make clear that a protocol/scheme is required.  (Builds
a FileSource given an URI, which doesn't necessarily have to start
with "file:")

If Excalibur's goal is ease of use, fix the FileSource to handle more
input variations.

solprovider



On 1/29/08, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:
&gt; are you directly instantiating a FileSource object yourself?
&gt; Or are you using the SourceResolver?
&gt; The source implementations (like FileSource etc.) are not meant to be
&gt; directly instantiated. The source resolver is the only service to create
&gt; source objects. The implementation of the source resolver should take
&gt; care of special OS paths like drive letters on windows etc.
&gt;
&gt; Carsten
&gt;
&gt; solprovider@apache.org wrote:
&gt; &gt; [Using a friend's computer.]  Bug is obvious:
&gt; &gt;     public FileSource(String uri) throws SourceException, MalformedURLException
&gt; &gt;     {
&gt; &gt;         int pos = SourceUtil.indexOfSchemeColon(uri);
&gt; &gt;         if (pos == -1)
&gt; &gt;         {
&gt; &gt;             throw new MalformedURLException("Invalid URI : " + uri);
&gt; &gt;         }
&gt; &gt;
&gt; &gt;         String scheme = uri.substring(0, pos);
&gt; &gt;         String fileName = uri.substring(pos + 1);
&gt; &gt;         fileName = SourceUtil.decodePath(fileName);
&gt; &gt;         this.init(scheme, new File(fileName));
&gt; &gt;     }
&gt; &gt;
&gt; &gt; Anything before the first colon is treated as the protocol.  Are
&gt; &gt; single letter schemes illegal? Or is there a "not a real OS" flag to
&gt; &gt; check for a  "drive letter"?
&gt; &gt;
&gt; &gt; This code will also fail for real operating systems because it assumes
&gt; &gt; the String is a URI.  new FileSource("/var/myfile") will throw an
&gt; &gt; Exception.
&gt; &gt;
&gt; &gt; I misunderstood the API doc:
&gt; &gt;    Builds a FileSource given an URI, which doesn't necessarily have to
&gt; &gt; start with "file:"
&gt; &gt; That seems to imply a FileSource can be created from a filepath
&gt; &gt; string.  Guess it means a FileSource can be created from other
&gt; &gt; protocols.
&gt; &gt;
&gt; &gt; The API doc needs to explicitly exclude filepaths.  I am surprised a
&gt; &gt; FileSource cannot be created from a filepath String.  That seems like
&gt; &gt; the most common operation.
&gt; &gt;
&gt; &gt; I can fix my code with a simple "file://" prefix.
&gt; &gt;
&gt; &gt; solprovider
&gt; &gt;
&gt; &gt; On Jan 28, 2008 5:02 AM, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:
&gt; &gt;&gt; this seems to be a bug - can you file a bug please?
&gt; &gt;&gt;
&gt; &gt;&gt; Thanks
&gt; &gt;&gt; Carsten
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; solprovider@apache.org wrote:
&gt; &gt;&gt;&gt; FileSource incorrectly repeats the drive specification on Windows.
&gt; &gt;&gt;&gt; This causes errors retrieving files relative to the FileSource.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; We are receiving this error using excalibur-sourceresolve-2.2.3.jar
&gt; &gt;&gt;&gt; (from Cocoon-2.1.11)
&gt; &gt;&gt;&gt; cause: java.io.FileNotFoundException: F:\F:\mydirectory\page2xhtml.xsl
&gt; &gt;&gt;&gt; (The filename, directory name, or volume label syntax is incorrect)
&gt; &gt;&gt;&gt; org.apache.cocoon.ProcessingException: Unable to get transformer
&gt; &gt;&gt;&gt; handler for F:///F:/myDirectory/page2xhtml-homepage.xsl
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; FILE: page2xhtml-homepage.xsl (relatively imports page2xhtml.xsl.)
&gt; &gt;&gt;&gt; &lt;?xml version="1.0"?&gt;
&gt; &gt;&gt;&gt; &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&gt; &gt;&gt;&gt; &lt;xsl:import href="page2xhtml.xsl"/&gt;
&gt; &gt;&gt;&gt; &lt;/xsl:stylesheet&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; JAVA TEST:
&gt; &gt;&gt;&gt; import java.io.File;
&gt; &gt;&gt;&gt; import org.apache.excalibur.source.Source;
&gt; &gt;&gt;&gt; import org.apache.excalibur.source.impl.FileSource;
&gt; &gt;&gt;&gt; public class mySourceFactory implements SourceFactory{
&gt; &gt;&gt;&gt;   public Source getSource(String location, Map parameters) throws
&gt; &gt;&gt;&gt; IOException, MalformedURLException {
&gt; &gt;&gt;&gt;       File file = new File(myDirectory, location);
&gt; &gt;&gt;&gt;       if(!file.exists()) throw new IOException("Bad file.");
&gt; &gt;&gt;&gt;       filepath = file.getAbsolutePath(); //Original assignment is
&gt; &gt;&gt;&gt;       print(filepath);  \\ "F:\myDirectory\myfile.xsl"
&gt; &gt;&gt;&gt;       FileSource source = new FileSource(filepath);
&gt; &gt;&gt;&gt;       print(source.getURI()); \\"F:///F:/myDirectory/myfile.xslt"
&gt; &gt;&gt;&gt;       return source;
&gt; &gt;&gt;&gt;    }
&gt; &gt;&gt;&gt; }
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Are we doing something wrong?  Does FileSource.getURI() contain a bug?
&gt; &gt;&gt;&gt;  What is the workaround?
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; TIA,
&gt; &gt;&gt;&gt; solprovider
&gt; Carsten Ziegeler

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Bug in FileSource?</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200801.mbox/%3c479EF1FA.8030807@apache.org%3e"/>
<id>urn:uuid:%3c479EF1FA-8030807@apache-org%3e</id>
<updated>2008-01-29T09:29:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

are you directly instantiating a FileSource object yourself?
Or are you using the SourceResolver?
The source implementations (like FileSource etc.) are not meant to be 
directly instantiated. The source resolver is the only service to create 
source objects. The implementation of the source resolver should take 
care of special OS paths like drive letters on windows etc.

Carsten

solprovider@apache.org wrote:
&gt; [Using a friend's computer.]  Bug is obvious:
&gt;     public FileSource(String uri) throws SourceException, MalformedURLException
&gt;     {
&gt;         int pos = SourceUtil.indexOfSchemeColon(uri);
&gt;         if (pos == -1)
&gt;         {
&gt;             throw new MalformedURLException("Invalid URI : " + uri);
&gt;         }
&gt; 
&gt;         String scheme = uri.substring(0, pos);
&gt;         String fileName = uri.substring(pos + 1);
&gt;         fileName = SourceUtil.decodePath(fileName);
&gt;         this.init(scheme, new File(fileName));
&gt;     }
&gt; 
&gt; Anything before the first colon is treated as the protocol.  Are
&gt; single letter schemes illegal? Or is there a "not a real OS" flag to
&gt; check for a  "drive letter"?
&gt; 
&gt; This code will also fail for real operating systems because it assumes
&gt; the String is a URI.  new FileSource("/var/myfile") will throw an
&gt; Exception.
&gt; 
&gt; I misunderstood the API doc:
&gt;    Builds a FileSource given an URI, which doesn't necessarily have to
&gt; start with "file:"
&gt; That seems to imply a FileSource can be created from a filepath
&gt; string.  Guess it means a FileSource can be created from other
&gt; protocols.
&gt; 
&gt; The API doc needs to explicitly exclude filepaths.  I am surprised a
&gt; FileSource cannot be created from a filepath String.  That seems like
&gt; the most common operation.
&gt; 
&gt; I can fix my code with a simple "file://" prefix.
&gt; 
&gt; solprovider
&gt; 
&gt; On Jan 28, 2008 5:02 AM, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:
&gt;&gt; this seems to be a bug - can you file a bug please?
&gt;&gt;
&gt;&gt; Thanks
&gt;&gt; Carsten
&gt;&gt;
&gt;&gt;
&gt;&gt; solprovider@apache.org wrote:
&gt;&gt;&gt; FileSource incorrectly repeats the drive specification on Windows.
&gt;&gt;&gt; This causes errors retrieving files relative to the FileSource.
&gt;&gt;&gt;
&gt;&gt;&gt; We are receiving this error using excalibur-sourceresolve-2.2.3.jar
&gt;&gt;&gt; (from Cocoon-2.1.11)
&gt;&gt;&gt; cause: java.io.FileNotFoundException: F:\F:\mydirectory\page2xhtml.xsl
&gt;&gt;&gt; (The filename, directory name, or volume label syntax is incorrect)
&gt;&gt;&gt; org.apache.cocoon.ProcessingException: Unable to get transformer
&gt;&gt;&gt; handler for F:///F:/myDirectory/page2xhtml-homepage.xsl
&gt;&gt;&gt;
&gt;&gt;&gt; FILE: page2xhtml-homepage.xsl (relatively imports page2xhtml.xsl.)
&gt;&gt;&gt; &lt;?xml version="1.0"?&gt;
&gt;&gt;&gt; &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&gt;&gt;&gt; &lt;xsl:import href="page2xhtml.xsl"/&gt;
&gt;&gt;&gt; &lt;/xsl:stylesheet&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; JAVA TEST:
&gt;&gt;&gt; import java.io.File;
&gt;&gt;&gt; import org.apache.excalibur.source.Source;
&gt;&gt;&gt; import org.apache.excalibur.source.impl.FileSource;
&gt;&gt;&gt; public class mySourceFactory implements SourceFactory{
&gt;&gt;&gt;   public Source getSource(String location, Map parameters) throws
&gt;&gt;&gt; IOException, MalformedURLException {
&gt;&gt;&gt;       File file = new File(myDirectory, location);
&gt;&gt;&gt;       if(!file.exists()) throw new IOException("Bad file.");
&gt;&gt;&gt;       filepath = file.getAbsolutePath(); //Original assignment is
&gt;&gt;&gt;       print(filepath);  \\ "F:\myDirectory\myfile.xsl"
&gt;&gt;&gt;       FileSource source = new FileSource(filepath);
&gt;&gt;&gt;       print(source.getURI()); \\"F:///F:/myDirectory/myfile.xslt"
&gt;&gt;&gt;       return source;
&gt;&gt;&gt;    }
&gt;&gt;&gt; }
&gt;&gt;&gt;
&gt;&gt;&gt; Are we doing something wrong?  Does FileSource.getURI() contain a bug?
&gt;&gt;&gt;  What is the workaround?
&gt;&gt;&gt;
&gt;&gt;&gt; TIA,
&gt;&gt;&gt; solprovider
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt;&gt;&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;



-- 
Carsten Ziegeler
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Bug in FileSource?</title>
<author><name>solprovider@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200801.mbox/%3cdfe834320801281035m8de7a00sd310918bb40b63c8@mail.gmail.com%3e"/>
<id>urn:uuid:%3cdfe834320801281035m8de7a00sd310918bb40b63c8@mail-gmail-com%3e</id>
<updated>2008-01-28T18:35:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
[Using a friend's computer.]  Bug is obvious:
    public FileSource(String uri) throws SourceException, MalformedURLException
    {
        int pos = SourceUtil.indexOfSchemeColon(uri);
        if (pos == -1)
        {
            throw new MalformedURLException("Invalid URI : " + uri);
        }

        String scheme = uri.substring(0, pos);
        String fileName = uri.substring(pos + 1);
        fileName = SourceUtil.decodePath(fileName);
        this.init(scheme, new File(fileName));
    }

Anything before the first colon is treated as the protocol.  Are
single letter schemes illegal? Or is there a "not a real OS" flag to
check for a  "drive letter"?

This code will also fail for real operating systems because it assumes
the String is a URI.  new FileSource("/var/myfile") will throw an
Exception.

I misunderstood the API doc:
   Builds a FileSource given an URI, which doesn't necessarily have to
start with "file:"
That seems to imply a FileSource can be created from a filepath
string.  Guess it means a FileSource can be created from other
protocols.

The API doc needs to explicitly exclude filepaths.  I am surprised a
FileSource cannot be created from a filepath String.  That seems like
the most common operation.

I can fix my code with a simple "file://" prefix.

solprovider

On Jan 28, 2008 5:02 AM, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:
&gt; this seems to be a bug - can you file a bug please?
&gt;
&gt; Thanks
&gt; Carsten
&gt;
&gt;
&gt; solprovider@apache.org wrote:
&gt; &gt; FileSource incorrectly repeats the drive specification on Windows.
&gt; &gt; This causes errors retrieving files relative to the FileSource.
&gt; &gt;
&gt; &gt; We are receiving this error using excalibur-sourceresolve-2.2.3.jar
&gt; &gt; (from Cocoon-2.1.11)
&gt; &gt; cause: java.io.FileNotFoundException: F:\F:\mydirectory\page2xhtml.xsl
&gt; &gt; (The filename, directory name, or volume label syntax is incorrect)
&gt; &gt; org.apache.cocoon.ProcessingException: Unable to get transformer
&gt; &gt; handler for F:///F:/myDirectory/page2xhtml-homepage.xsl
&gt; &gt;
&gt; &gt; FILE: page2xhtml-homepage.xsl (relatively imports page2xhtml.xsl.)
&gt; &gt; &lt;?xml version="1.0"?&gt;
&gt; &gt; &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&gt; &gt; &lt;xsl:import href="page2xhtml.xsl"/&gt;
&gt; &gt; &lt;/xsl:stylesheet&gt;
&gt; &gt;
&gt; &gt; JAVA TEST:
&gt; &gt; import java.io.File;
&gt; &gt; import org.apache.excalibur.source.Source;
&gt; &gt; import org.apache.excalibur.source.impl.FileSource;
&gt; &gt; public class mySourceFactory implements SourceFactory{
&gt; &gt;   public Source getSource(String location, Map parameters) throws
&gt; &gt; IOException, MalformedURLException {
&gt; &gt;       File file = new File(myDirectory, location);
&gt; &gt;       if(!file.exists()) throw new IOException("Bad file.");
&gt; &gt;       filepath = file.getAbsolutePath(); //Original assignment is
&gt; &gt;       print(filepath);  \\ "F:\myDirectory\myfile.xsl"
&gt; &gt;       FileSource source = new FileSource(filepath);
&gt; &gt;       print(source.getURI()); \\"F:///F:/myDirectory/myfile.xslt"
&gt; &gt;       return source;
&gt; &gt;    }
&gt; &gt; }
&gt; &gt;
&gt; &gt; Are we doing something wrong?  Does FileSource.getURI() contain a bug?
&gt; &gt;  What is the workaround?
&gt; &gt;
&gt; &gt; TIA,
&gt; &gt; solprovider
&gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; &gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt; &gt;
&gt; &gt;
&gt;
&gt;
&gt; --
&gt; Carsten Ziegeler
&gt; cziegeler@apache.org
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Bug in FileSource?</title>
<author><name>solprovider@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200801.mbox/%3cdfe834320801280630p41586f6cge912789bc88e359a@mail.gmail.com%3e"/>
<id>urn:uuid:%3cdfe834320801280630p41586f6cge912789bc88e359a@mail-gmail-com%3e</id>
<updated>2008-01-28T14:30:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks.  Needed the sanity check because I had been programming for 20
hours. I'll file a jira and check the source tomorrow.

solprovider

On Jan 28, 2008 5:02 AM, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:
&gt; Hi,
&gt;
&gt; this seems to be a bug - can you file a bug please?
&gt;
&gt; Thanks
&gt; Carsten
&gt;
&gt;
&gt; solprovider@apache.org wrote:
&gt; &gt; FileSource incorrectly repeats the drive specification on Windows.
&gt; &gt; This causes errors retrieving files relative to the FileSource.
&gt; &gt;
&gt; &gt; We are receiving this error using excalibur-sourceresolve-2.2.3.jar
&gt; &gt; (from Cocoon-2.1.11)
&gt; &gt; cause: java.io.FileNotFoundException: F:\F:\mydirectory\page2xhtml.xsl
&gt; &gt; (The filename, directory name, or volume label syntax is incorrect)
&gt; &gt; org.apache.cocoon.ProcessingException: Unable to get transformer
&gt; &gt; handler for F:///F:/myDirectory/page2xhtml-homepage.xsl
&gt; &gt;
&gt; &gt; FILE: page2xhtml-homepage.xsl (relatively imports page2xhtml.xsl.)
&gt; &gt; &lt;?xml version="1.0"?&gt;
&gt; &gt; &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&gt; &gt; &lt;xsl:import href="page2xhtml.xsl"/&gt;
&gt; &gt; &lt;/xsl:stylesheet&gt;
&gt; &gt;
&gt; &gt; JAVA TEST:
&gt; &gt; import java.io.File;
&gt; &gt; import org.apache.excalibur.source.Source;
&gt; &gt; import org.apache.excalibur.source.impl.FileSource;
&gt; &gt; public class mySourceFactory implements SourceFactory{
&gt; &gt;   public Source getSource(String location, Map parameters) throws
&gt; &gt; IOException, MalformedURLException {
&gt; &gt;       File file = new File(myDirectory, location);
&gt; &gt;       if(!file.exists()) throw new IOException("Bad file.");
&gt; &gt;       filepath = file.getAbsolutePath(); //Original assignment is
&gt; &gt;       print(filepath);  \\ "F:\myDirectory\myfile.xsl"
&gt; &gt;       FileSource source = new FileSource(filepath);
&gt; &gt;       print(source.getURI()); \\"F:///F:/myDirectory/myfile.xslt"
&gt; &gt;       return source;
&gt; &gt;    }
&gt; &gt; }
&gt; &gt;
&gt; &gt; Are we doing something wrong?  Does FileSource.getURI() contain a bug?
&gt; &gt;  What is the workaround?
&gt; &gt;
&gt; &gt; TIA,
&gt; &gt; solprovider
&gt; Carsten Ziegeler

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Bug in FileSource?</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200801.mbox/%3c479DA84F.9070609@apache.org%3e"/>
<id>urn:uuid:%3c479DA84F-9070609@apache-org%3e</id>
<updated>2008-01-28T10:02:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

this seems to be a bug - can you file a bug please?

Thanks
Carsten

solprovider@apache.org wrote:
&gt; FileSource incorrectly repeats the drive specification on Windows.
&gt; This causes errors retrieving files relative to the FileSource.
&gt; 
&gt; We are receiving this error using excalibur-sourceresolve-2.2.3.jar
&gt; (from Cocoon-2.1.11)
&gt; cause: java.io.FileNotFoundException: F:\F:\mydirectory\page2xhtml.xsl
&gt; (The filename, directory name, or volume label syntax is incorrect)
&gt; org.apache.cocoon.ProcessingException: Unable to get transformer
&gt; handler for F:///F:/myDirectory/page2xhtml-homepage.xsl
&gt; 
&gt; FILE: page2xhtml-homepage.xsl (relatively imports page2xhtml.xsl.)
&gt; &lt;?xml version="1.0"?&gt;
&gt; &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&gt; &lt;xsl:import href="page2xhtml.xsl"/&gt;
&gt; &lt;/xsl:stylesheet&gt;
&gt; 
&gt; JAVA TEST:
&gt; import java.io.File;
&gt; import org.apache.excalibur.source.Source;
&gt; import org.apache.excalibur.source.impl.FileSource;
&gt; public class mySourceFactory implements SourceFactory{
&gt;   public Source getSource(String location, Map parameters) throws
&gt; IOException, MalformedURLException {
&gt;       File file = new File(myDirectory, location);
&gt;       if(!file.exists()) throw new IOException("Bad file.");
&gt;       filepath = file.getAbsolutePath(); //Original assignment is
&gt;       print(filepath);  \\ "F:\myDirectory\myfile.xsl"
&gt;       FileSource source = new FileSource(filepath);
&gt;       print(source.getURI()); \\"F:///F:/myDirectory/myfile.xslt"
&gt;       return source;
&gt;    }
&gt; }
&gt; 
&gt; Are we doing something wrong?  Does FileSource.getURI() contain a bug?
&gt;  What is the workaround?
&gt; 
&gt; TIA,
&gt; solprovider
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt; 
&gt; 


-- 
Carsten Ziegeler
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Bug in FileSource?</title>
<author><name>solprovider@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200801.mbox/%3cdfe834320801271550s13ca024bl35a0bcc141a6b9@mail.gmail.com%3e"/>
<id>urn:uuid:%3cdfe834320801271550s13ca024bl35a0bcc141a6b9@mail-gmail-com%3e</id>
<updated>2008-01-27T23:50:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
FileSource incorrectly repeats the drive specification on Windows.
This causes errors retrieving files relative to the FileSource.

We are receiving this error using excalibur-sourceresolve-2.2.3.jar
(from Cocoon-2.1.11)
cause: java.io.FileNotFoundException: F:\F:\mydirectory\page2xhtml.xsl
(The filename, directory name, or volume label syntax is incorrect)
org.apache.cocoon.ProcessingException: Unable to get transformer
handler for F:///F:/myDirectory/page2xhtml-homepage.xsl

FILE: page2xhtml-homepage.xsl (relatively imports page2xhtml.xsl.)
&lt;?xml version="1.0"?&gt;
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:import href="page2xhtml.xsl"/&gt;
&lt;/xsl:stylesheet&gt;

JAVA TEST:
import java.io.File;
import org.apache.excalibur.source.Source;
import org.apache.excalibur.source.impl.FileSource;
public class mySourceFactory implements SourceFactory{
  public Source getSource(String location, Map parameters) throws
IOException, MalformedURLException {
      File file = new File(myDirectory, location);
      if(!file.exists()) throw new IOException("Bad file.");
      filepath = file.getAbsolutePath(); //Original assignment is
      print(filepath);  \\ "F:\myDirectory\myfile.xsl"
      FileSource source = new FileSource(filepath);
      print(source.getURI()); \\"F:///F:/myDirectory/myfile.xslt"
      return source;
   }
}

Are we doing something wrong?  Does FileSource.getURI() contain a bug?
 What is the workaround?

TIA,
solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>UDP notifications</title>
<author><name>&quot;Paulo Sergio&quot; &lt;pauloslf@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200712.mbox/%3cefb949170712121154j748a0463nc2daea6c9c36cc96@mail.gmail.com%3e"/>
<id>urn:uuid:%3cefb949170712121154j748a0463nc2daea6c9c36cc96@mail-gmail-com%3e</id>
<updated>2007-12-12T19:54:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,
i'm  writing a project that uses James mail server, that as far as i know
uses Excalibur.
At the moment i need to write a component that receives UDP messages, but i
can't find anything related with UDP in excalibur project.
Can someone please tell me the right place to look for any example on how to
implement this?

thanks in advance,

Paulo F.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: JavaDocs of org.apache.avalon.framework.*</title>
<author><name>Thomas Vandahl &lt;thomas.vandahl@tewisoft.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c4624C3CB.8080808@tewisoft.de%3e"/>
<id>urn:uuid:%3c4624C3CB-8080808@tewisoft-de%3e</id>
<updated>2007-04-17T12:55:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
J Aaron Farr wrote:
&gt; These?
&gt; 
&gt;  http://excalibur.apache.org/apidocs/org/apache/avalon/framework/package-summary.html

Yes, these. Where are they? ;-)
I should have looked twice. Sorry.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: JavaDocs of org.apache.avalon.framework.*</title>
<author><name>J Aaron Farr &lt;farra@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3cm2odlnrxlk.fsf@apache.org%3e"/>
<id>urn:uuid:%3cm2odlnrxlk-fsf@apache-org%3e</id>
<updated>2007-04-17T12:31:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Vandahl &lt;thomas.vandahl@tewisoft.de&gt; writes:

&gt; I looked at the JavaDocs at http://excalibur.apache.org/apidocs/ today
&gt; and found the org.apache.avalon.framework.* classes missing. Is there
&gt; any other place to look?

These?

 http://excalibur.apache.org/apidocs/org/apache/avalon/framework/package-summary.html


-- 
  jaaron

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>JavaDocs of org.apache.avalon.framework.*</title>
<author><name>Thomas Vandahl &lt;thomas.vandahl@tewisoft.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c46247A21.9060501@tewisoft.de%3e"/>
<id>urn:uuid:%3c46247A21-9060501@tewisoft-de%3e</id>
<updated>2007-04-17T07:41:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I looked at the JavaDocs at http://excalibur.apache.org/apidocs/ today 
and found the org.apache.avalon.framework.* classes missing. Is there 
any other place to look?

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>J Aaron Farr &lt;farra@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3cm2abxpvm74.fsf@apache.org%3e"/>
<id>urn:uuid:%3cm2abxpvm74-fsf@apache-org%3e</id>
<updated>2007-04-03T09:31:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
"walid joseph Gedeon" &lt;wgedeon@gmail.com&gt; writes:

&gt;&gt; Hope it works out.
&gt; Thanks :)
&gt;&gt; Did you consider OSGi?  Apache Felix or Eclipse Equinox would probably
&gt;&gt; provide everything you need.
&gt; I did consider OSGi, I must admit I hadn't looked at Felix yet, I've
&gt; just downloaded it and am trying it out.
&gt; I've already developed for the Eclipse framework and it's great for
&gt; gui-based apps, dunno if it fits well as a server-side application
&gt; (any thoughts on this?)

Though Eclipse is built on OSGi, it's easy to never see it or know it
if you develop plugins.  That said, you can easily create a headless
Eclipse application that runs as a service.  You just don't import any
of the Workbench, but you still get to use the extension APIs and
updater and all the other non-UI Eclipse features.  That includes the
Eclipse launcher.  I've written a headless Eclipse application and it
wasn't difficult.

Though now I favor pure OSGi applications.  You can use Eclipse
Equinox or Apache Felix as your OSGi container.  You'll find plenty of
arguments for either project.

-- 
  jaaron

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>&quot;walid joseph Gedeon&quot; &lt;wgedeon@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c120de6e60704030052m4e0e99bqa3f305792aadd1c5@mail.gmail.com%3e"/>
<id>urn:uuid:%3c120de6e60704030052m4e0e99bqa3f305792aadd1c5@mail-gmail-com%3e</id>
<updated>2007-04-03T07:52:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Hope it works out.
Thanks :)
&gt; Did you consider OSGi?  Apache Felix or Eclipse Equinox would probably
&gt; provide everything you need.
I did consider OSGi, I must admit I hadn't looked at Felix yet, I've
just downloaded it and am trying it out.
I've already developed for the Eclipse framework and it's great for
gui-based apps, dunno if it fits well as a server-side application
(any thoughts on this?)

-w
On 4/3/07, J Aaron Farr &lt;farra@apache.org&gt; wrote:
&gt; "walid joseph Gedeon" &lt;wgedeon@gmail.com&gt; writes:
&gt;
&gt; &gt; Hello all,
&gt; &gt;    Thank you for all your answers... After doing some more extensive
&gt; &gt; "web-gardening", I believe I have found the answer to my prayers: the
&gt; &gt; Spring Application Server (http://www.abstracthorizon.org/sas/).
&gt; &gt;    It has the module-based features, plus the wrapper scripts that
&gt; &gt; make it work out of the box.
&gt; &gt; Let's hope it meets expectations :)
&gt;
&gt; Hope it works out.
&gt;
&gt; Did you consider OSGi?  Apache Felix or Eclipse Equinox would probably
&gt; provide everything you need.
&gt;
&gt; --
&gt;   jaaron
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>J Aaron Farr &lt;farra@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3cm2irceufgg.fsf@apache.org%3e"/>
<id>urn:uuid:%3cm2irceufgg-fsf@apache-org%3e</id>
<updated>2007-04-03T06:42:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
"walid joseph Gedeon" &lt;wgedeon@gmail.com&gt; writes:

&gt; Hello all,
&gt;    Thank you for all your answers... After doing some more extensive
&gt; "web-gardening", I believe I have found the answer to my prayers: the
&gt; Spring Application Server (http://www.abstracthorizon.org/sas/).
&gt;    It has the module-based features, plus the wrapper scripts that
&gt; make it work out of the box.
&gt; Let's hope it meets expectations :)

Hope it works out.  

Did you consider OSGi?  Apache Felix or Eclipse Equinox would probably
provide everything you need.

-- 
  jaaron

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>&quot;walid joseph Gedeon&quot; &lt;wgedeon@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c120de6e60704021455r635067aahabd15517e76f6a1a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c120de6e60704021455r635067aahabd15517e76f6a1a@mail-gmail-com%3e</id>
<updated>2007-04-02T21:55:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all,
    Thank you for all your answers... After doing some more extensive
"web-gardening", I believe I have found the answer to my prayers: the
Spring Application Server (http://www.abstracthorizon.org/sas/).
    It has the module-based features, plus the wrapper scripts that
make it work out of the box.
Let's hope it meets expectations :)
-w

On 4/2/07, John Collins &lt;jcollins@cs.umn.edu&gt; wrote:
&gt; walid joseph Gedeon wrote:
&gt; &gt; Hello John,
&gt; &gt;  Thanks for your answer.
&gt; &gt; How do you shutdown the app? do you ctrl-c (or kill)? or do you use an
&gt; &gt; excalibur specific "shutdown" mechanism (through an admin console)?
&gt;
&gt; We just call system.exit().
&gt;
&gt; &gt; -w
&gt; &gt;
&gt; &gt; On 4/2/07, John Collins &lt;jcollins@cs.umn.edu&gt; wrote:
&gt; &gt;&gt; walid joseph Gedeon wrote:
&gt; &gt;&gt; &gt; Hello all,
&gt; &gt;&gt; &gt;    I'm new to excalibur and co. and am still reading through the
&gt; &gt;&gt; &gt; available documentation. However, having read through the main pages,
&gt; &gt;&gt; &gt; I still have not found what I'm looking for... maybe someone on this
&gt; &gt;&gt; &gt; list can point me in the right direction?
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;    I'm looking for a relatively lightweight java application
&gt; &gt;&gt; &gt; framework that supports COP, IoC, but also can run as a standalone
&gt; &gt;&gt; &gt; application (i.e. with bootstrapping, start/stop scripts etc)
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;    The part that is so far missing is the bootstrapping mechanism.
&gt; &gt;&gt; &gt; Before I head out and write my own, I wanted to make sure I haven't
&gt; &gt;&gt; &gt; skipped over some existing thing...
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; Excalibur? Phoenix? Merlin? Keel? Metro? Spring? so many products that
&gt; &gt;&gt; &gt; seem to want to do the same thing... almost.
&gt; &gt;&gt;
&gt; &gt;&gt; We use Excalibur for the MinneTAC trading agent (see tac.cs.umn.edu).
&gt; &gt;&gt; I've attached the "container" module that starts everything up, and you
&gt; &gt;&gt; can of course download the source and see how the configuration files
&gt; &gt;&gt; work. Our experience is that once you have figured out the container and
&gt; &gt;&gt; how to write config files, Excalibur stays nicely in the background and
&gt; &gt;&gt; Just Works. We are very pleased with it.
&gt; &gt;&gt;
&gt; &gt;&gt; Cheers
&gt; &gt;&gt;
&gt; &gt;&gt; John Collins
&gt; &gt;&gt; University of Minnesota
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; &gt; For additional commands, e-mail: user-help@excalibur.apache.org
&gt;
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>John Collins &lt;jcollins@cs.umn.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c461163EE.4030905@cs.umn.edu%3e"/>
<id>urn:uuid:%3c461163EE-4030905@cs-umn-edu%3e</id>
<updated>2007-04-02T20:13:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
walid joseph Gedeon wrote:
&gt; Hello John,
&gt;  Thanks for your answer.
&gt; How do you shutdown the app? do you ctrl-c (or kill)? or do you use an
&gt; excalibur specific "shutdown" mechanism (through an admin console)?

We just call system.exit().

&gt; -w
&gt; 
&gt; On 4/2/07, John Collins &lt;jcollins@cs.umn.edu&gt; wrote:
&gt;&gt; walid joseph Gedeon wrote:
&gt;&gt; &gt; Hello all,
&gt;&gt; &gt;    I'm new to excalibur and co. and am still reading through the
&gt;&gt; &gt; available documentation. However, having read through the main pages,
&gt;&gt; &gt; I still have not found what I'm looking for... maybe someone on this
&gt;&gt; &gt; list can point me in the right direction?
&gt;&gt; &gt;
&gt;&gt; &gt;    I'm looking for a relatively lightweight java application
&gt;&gt; &gt; framework that supports COP, IoC, but also can run as a standalone
&gt;&gt; &gt; application (i.e. with bootstrapping, start/stop scripts etc)
&gt;&gt; &gt;
&gt;&gt; &gt;    The part that is so far missing is the bootstrapping mechanism.
&gt;&gt; &gt; Before I head out and write my own, I wanted to make sure I haven't
&gt;&gt; &gt; skipped over some existing thing...
&gt;&gt; &gt;
&gt;&gt; &gt; Excalibur? Phoenix? Merlin? Keel? Metro? Spring? so many products that
&gt;&gt; &gt; seem to want to do the same thing... almost.
&gt;&gt;
&gt;&gt; We use Excalibur for the MinneTAC trading agent (see tac.cs.umn.edu).
&gt;&gt; I've attached the "container" module that starts everything up, and you
&gt;&gt; can of course download the source and see how the configuration files
&gt;&gt; work. Our experience is that once you have figured out the container and
&gt;&gt; how to write config files, Excalibur stays nicely in the background and
&gt;&gt; Just Works. We are very pleased with it.
&gt;&gt;
&gt;&gt; Cheers
&gt;&gt;
&gt;&gt; John Collins
&gt;&gt; University of Minnesota
&gt;&gt;
&gt;&gt;
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt; For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>&quot;walid joseph Gedeon&quot; &lt;wgedeon@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c120de6e60704020838l50e19152o4ced3f561cd3029c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c120de6e60704020838l50e19152o4ced3f561cd3029c@mail-gmail-com%3e</id>
<updated>2007-04-02T15:38:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello John,
  Thanks for your answer.
How do you shutdown the app? do you ctrl-c (or kill)? or do you use an
excalibur specific "shutdown" mechanism (through an admin console)?
-w

On 4/2/07, John Collins &lt;jcollins@cs.umn.edu&gt; wrote:
&gt; walid joseph Gedeon wrote:
&gt; &gt; Hello all,
&gt; &gt;    I'm new to excalibur and co. and am still reading through the
&gt; &gt; available documentation. However, having read through the main pages,
&gt; &gt; I still have not found what I'm looking for... maybe someone on this
&gt; &gt; list can point me in the right direction?
&gt; &gt;
&gt; &gt;    I'm looking for a relatively lightweight java application
&gt; &gt; framework that supports COP, IoC, but also can run as a standalone
&gt; &gt; application (i.e. with bootstrapping, start/stop scripts etc)
&gt; &gt;
&gt; &gt;    The part that is so far missing is the bootstrapping mechanism.
&gt; &gt; Before I head out and write my own, I wanted to make sure I haven't
&gt; &gt; skipped over some existing thing...
&gt; &gt;
&gt; &gt; Excalibur? Phoenix? Merlin? Keel? Metro? Spring? so many products that
&gt; &gt; seem to want to do the same thing... almost.
&gt;
&gt; We use Excalibur for the MinneTAC trading agent (see tac.cs.umn.edu).
&gt; I've attached the "container" module that starts everything up, and you
&gt; can of course download the source and see how the configuration files
&gt; work. Our experience is that once you have figured out the container and
&gt; how to write config files, Excalibur stays nicely in the background and
&gt; Just Works. We are very pleased with it.
&gt;
&gt; Cheers
&gt;
&gt; John Collins
&gt; University of Minnesota
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Off-the-shelf Standalone App Framework?</title>
<author><name>John Collins &lt;jcollins@cs.umn.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c461120D1.7090705@cs.umn.edu%3e"/>
<id>urn:uuid:%3c461120D1-7090705@cs-umn-edu%3e</id>
<updated>2007-04-02T15:27:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
walid joseph Gedeon wrote:
&gt; Hello all,
&gt;    I'm new to excalibur and co. and am still reading through the
&gt; available documentation. However, having read through the main pages,
&gt; I still have not found what I'm looking for... maybe someone on this
&gt; list can point me in the right direction?
&gt; 
&gt;    I'm looking for a relatively lightweight java application
&gt; framework that supports COP, IoC, but also can run as a standalone
&gt; application (i.e. with bootstrapping, start/stop scripts etc)
&gt; 
&gt;    The part that is so far missing is the bootstrapping mechanism.
&gt; Before I head out and write my own, I wanted to make sure I haven't
&gt; skipped over some existing thing...
&gt; 
&gt; Excalibur? Phoenix? Merlin? Keel? Metro? Spring? so many products that
&gt; seem to want to do the same thing... almost.

We use Excalibur for the MinneTAC trading agent (see tac.cs.umn.edu). 
I've attached the "container" module that starts everything up, and you 
can of course download the source and see how the configuration files 
work. Our experience is that once you have figured out the container and 
how to write config files, Excalibur stays nicely in the background and 
Just Works. We are very pleased with it.

Cheers

John Collins
University of Minnesota


</pre>
</div>
</content>
</entry>
<entry>
<title>Off-the-shelf Standalone App Framework?</title>
<author><name>&quot;walid joseph Gedeon&quot; &lt;wgedeon@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200704.mbox/%3c120de6e60704020741i1cdb497ey3489148a6df75d1a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c120de6e60704020741i1cdb497ey3489148a6df75d1a@mail-gmail-com%3e</id>
<updated>2007-04-02T14:41:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all,
    I'm new to excalibur and co. and am still reading through the
available documentation. However, having read through the main pages,
I still have not found what I'm looking for... maybe someone on this
list can point me in the right direction?

    I'm looking for a relatively lightweight java application
framework that supports COP, IoC, but also can run as a standalone
application (i.e. with bootstrapping, start/stop scripts etc)

    The part that is so far missing is the bootstrapping mechanism.
Before I head out and write my own, I wanted to make sure I haven't
skipped over some existing thing...

Excalibur? Phoenix? Merlin? Keel? Metro? Spring? so many products that
seem to want to do the same thing... almost.

Thanks!
W.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Communication between webapps</title>
<author><name>Leo Simons &lt;mail@leosimons.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200702.mbox/%3cA6D03C16-97B5-4056-86E8-793B0204A89B@leosimons.com%3e"/>
<id>urn:uuid:%3cA6D03C16-97B5-4056-86E8-793B0204A89B@leosimons-com%3e</id>
<updated>2007-02-22T19:23:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Angel,

On Feb 21, 2007, at 1:21 PM, Angel Todorov wrote:
&gt; I stumbled over the Excalibur project while googling - is it possible
&gt; to use it in order to achieve inter webapp communication in a servlet
&gt; container such as Tomcat, without having to put all jars that the two
&gt; webapps use in a shared dir (i.e. shared classloader) ?

For communication between different web applications, your best bets  
probably are

   * both use the same database backend
   * use JNDI
   * use J2EE (sorry JEE) features like EJB for the shared data
   * communicate using something like RMI or AltRMI
   * use some other communication protocol (servlets calling servlets  
for example)

Of these, I would probably suggest JNDI. Of course, it is possible to  
stuff things in an avalon container (like excalibur-fortress), and  
then stuff that container in a JNDI context. That's what I've usually  
done in the past :-)

We have experimented in the past with having servlet engines "on top  
of" avalon/excalibur containers, allowing to share blocks between  
them "the avalon way", but I don't think any of those efforts are  
currently actively maintained.

&gt; Thank you in advance.

hope this helps,

Leo


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Communication between webapps</title>
<author><name>&quot;Berin Loritsch&quot; &lt;bloritsch@d-haven.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200702.mbox/%3cj9d0q3Bw.1172064065.5471930.bloritsch@seymour.textdrive.com%3e"/>
<id>urn:uuid:%3cj9d0q3Bw-1172064065-5471930-bloritsch@seymour-textdrive-com%3e</id>
<updated>2007-02-21T13:21:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The only two choices to perform inter-webapp communication is to place
code in a shared classloader (such as Tomcat's common/lib directory),
or use a wire protocol.  The wire protocol will make a connection from
one webapp to another based on port/url etc.

The Servlet specification has gotten more and more strict in this sense,
because it is the only way to guarantee the promise of "write once run
anywhere", and to improve the security of the web applications.

Excalibur and company can help you organize components that can support
either approach.  To share the same code between two webapps in Tomcat,
store the excalibur components in common/lib and access them through the
JNDI lookup (NOTE: declare it in the server.xml and reference it with a
reference-link in the context.xml).  To have two webapps respond to
commands over a wire protocol, may I suggest using a RESTful approach. 
In that case using Excalibur doesn't really buy you much.

On 2/21/2007, "Angel Todorov" &lt;attodorov@gmail.com&gt; wrote:

&gt;Hi All,
&gt;
&gt;I stumbled over the Excalibur project while googling - is it possible
&gt;to use it in order to achieve inter webapp communication in a servlet
&gt;container such as Tomcat, without having to put all jars that the two
&gt;webapps use in a shared dir (i.e. shared classloader) ?
&gt;
&gt;Thank you in advance.
&gt;
&gt;Best,
&gt;Angel
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
&gt;For additional commands, e-mail: user-help@excalibur.apache.org
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Communication between webapps</title>
<author><name>&quot;Angel Todorov&quot; &lt;attodorov@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200702.mbox/%3c4ac1e6310702210421k61121fdq1e56243141c051aa@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4ac1e6310702210421k61121fdq1e56243141c051aa@mail-gmail-com%3e</id>
<updated>2007-02-21T12:21:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi All,

I stumbled over the Excalibur project while googling - is it possible
to use it in order to achieve inter webapp communication in a servlet
container such as Tomcat, without having to put all jars that the two
webapps use in a shared dir (i.e. shared classloader) ?

Thank you in advance.

Best,
Angel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>docs or MRUMemoryStore are incorrect</title>
<author><name>Tim Williams &lt;williamstw@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200602.mbox/%3c499888440602141344l522ab3a2tdaf317743c413376@mail.gmail.com%3e"/>
<id>urn:uuid:%3c499888440602141344l522ab3a2tdaf317743c413376@mail-gmail-com%3e</id>
<updated>2006-02-14T21:44:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think either the docs or the MRUMemoryStore is wrong -- not sure
which.  I'd personally like it to be the implementation that's wrong
but I doubt it.  The docs say that it:

"This class provides a cache algorithm for the requested documents. It
combines a HashMap and a LinkedList to create a so called MRU (Most
Recently Used) cache."

When it appears to be a combination of a Hash*table* and a LinkedList
in reality.  The docs at:
http://excalibur.apache.org/store/mru.html also claim to be a HashMap.

--tim

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: No log targets configured for the root logger</title>
<author><name>Kazimierz Pogoda &lt;morisil@ncdc.pl&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200601.mbox/%3c1137416931.7271.6.camel@localhost.localdomain%3e"/>
<id>urn:uuid:%3c1137416931-7271-6-camel@localhost-localdomain%3e</id>
<updated>2006-01-16T13:08:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sat, 2006-01-14 at 11:11 -0800, Mike Dickson wrote:

&gt;  
&gt; 
&gt; Any ideas on what is up given the following error and logkit.xconf?  
&gt; 
&gt;  
&gt; 
&gt; Error:
&gt; 
&gt;  
&gt; 
&gt; org.apache.avalon.framework.configuration.ConfigurationException: No
&gt; log targets configured for the root logger.

Try to configure one category with empty logger name. Something like
this:

    &lt;category name="" log-level="DEBUG"&gt;
      &lt;log-target id-ref="core"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;

I hope it will help.

-- 
"the spirit can only withdraw into a corner. And yet, it is not at all 
 worn out or superfluous, but, like an (eternal) witness, floats above 
 the rubble of culture - almost like an  avenger of God.  As though it 
 awaited a new incarnation."
                                        -- Ludwig Wittgenstein --
Kazimierz Pogoda
Nordic Consulting &amp; Development Company
mailto:morisil@ncdc.pl


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>No log targets configured for the root logger</title>
<author><name>&quot;Mike Dickson&quot; &lt;mikedickson@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200601.mbox/%3c!&!AAAAAAAAAAAYAAAAAAAAAIyJKFf+WzZEiehic1mA7YDCgAAAEAAAAJU80K9JYrtDhoykyhGHyPMBAAAAAA==@yahoo.com%3e"/>
<id>urn:uuid:%3c!&!AAAAAAAAAAAYAAAAAAAAAIyJKFf+WzZEiehic1mA7YDCgAAAEAAAAJU80K9JYrtDhoykyhGHyPMBAAAAAA==@yahoo-com%3e</id>
<updated>2006-01-14T19:11:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
 

Any ideas on what is up given the following error and logkit.xconf?  

 

Error:

 

org.apache.avalon.framework.configuration.ConfigurationException: No log
targets configured for the root logger.
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLo
ggerManager.java:531)
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLogge
rManager.java:407)
    at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:240)
    at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826)
    at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:88
8)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3363)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
74)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)
    at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:260)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:741)
    at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:512
)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:354)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

 

 

logkit.xconf

 

&lt;?xml version="1.0"?&gt;

&lt;logkit&gt;
  &lt;factories&gt;
    &lt;factory type="priority-filter"
class="org.apache.avalon.excalibur.logger.factory.PriorityFilterTargetFactor
y"/&gt;
    &lt;factory type="servlet"
class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/&gt;
    &lt;factory type="cocoon"
class="org.apache.cocoon.util.log.CocoonTargetFactory"/&gt;
    &lt;factory type="lf5"
class="org.apache.avalon.excalibur.logger.factory.LF5TargetFactory"/&gt;
  &lt;/factories&gt;

  &lt;targets&gt;

    &lt;!-- To enable the LogFactor5 graphical logkit browser, replace the
cocoon factory 
         below with the following.
    &lt;lf5 id="core"/&gt;
    --&gt;

    &lt;cocoon id="core"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/core.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;!--
        append=false: Will override existing log files on Cocoon startup
        append=true: Will append to the existing log files
      --&gt;
      &lt;append&gt;false&lt;/append&gt;
      &lt;!--
        rotation: allows you to rotate log files one they meet certain
                  criteria. In example below, files are rotated once they
                  are one hour old or bigger than 100 Mb.

      &lt;rotation type="revolving" init="1" max="4"&gt;
        &lt;or&gt;
          &lt;size&gt;100m&lt;/size&gt;
          &lt;time&gt;01:00:00&lt;/time&gt;
        &lt;/or&gt;
      &lt;/rotation&gt;
      --&gt;
    &lt;/cocoon&gt;

    &lt;cocoon id="sitemap"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/sitemap.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;cocoon id="handled-errors"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/handled-errors.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;cocoon id="access"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/access.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;!-- The logger for the flow layer --&gt;
    &lt;cocoon id="flow"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/flow.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;!--
      This log file gets only messages with log level ERROR and below.
    --&gt;
    &lt;priority-filter id="error" log-level="ERROR"&gt;
      &lt;cocoon&gt;
        &lt;filename&gt;${context-root}/WEB-INF/logs/error.log&lt;/filename&gt;
        &lt;format type="cocoon"&gt;
          %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
        &lt;/format&gt;
        &lt;append&gt;false&lt;/append&gt;
      &lt;/cocoon&gt;
    &lt;/priority-filter&gt;
  &lt;/targets&gt;

  &lt;categories&gt;
    &lt;!--
      log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR.
      Log level could be different for every category and subcategory.

      Not all subcategories are defined in this file. Not defined
      subcategories will be created automatically inheriting settings
      of the parent subcategory.
      When defining subcategory manually, it is required to specify log
      targets, because they are not inherited in this case.
    --&gt;
    &lt;category name="core" log-level="INFO"&gt;
      &lt;!-- Startup component manager logger --&gt;
      &lt;category name="startup" log-level="INFO"&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;category name="roles" log-level="INFO"&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;category name="instrument" log-level="INFO"&gt;
        &lt;category name="values" log-level="INFO"&gt;
          &lt;log-target id-ref="core"/&gt;
          &lt;log-target id-ref="error"/&gt;
        &lt;/category&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;!-- Cocoon component manager logger --&gt;
      &lt;category name="manager" log-level="INFO"&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;!-- Cocoon cache and stores logger --&gt;
      &lt;category name="store" log-level="INFO"&gt;
        &lt;category name="janitor" log-level="INFO"&gt;
          &lt;log-target id-ref="core"/&gt;
          &lt;log-target id-ref="error"/&gt;
        &lt;/category&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;log-target id-ref="core"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;

    &lt;category name="sitemap" log-level="INFO"&gt;
      &lt;log-target id-ref="sitemap"/&gt;
      &lt;log-target id-ref="error"/&gt;

      &lt;category name="handled-errors" log-level="INFO"&gt;
        &lt;!-- Exceptions that will be handled by a sitemap errorhandler are
             logged to this target. --&gt;
        &lt;log-target id-ref="handled-errors"/&gt;
      &lt;/category&gt;
    &lt;/category&gt;

    &lt;category name="access" log-level="INFO"&gt;
      &lt;log-target id-ref="access"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;

    &lt;category name="flow" log-level="INFO"&gt;
      &lt;log-target id-ref="flow"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;
  &lt;/categories&gt;
&lt;/logkit&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>No log targets configured for the root logger</title>
<author><name>&quot;Mike Dickson&quot; &lt;mikedickson@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200601.mbox/%3c!&!AAAAAAAAAAAYAAAAAAAAAIyJKFf+WzZEiehic1mA7YDCgAAAEAAAAJm5BGwCBa9FtshLyzjTIRQBAAAAAA==@yahoo.com%3e"/>
<id>urn:uuid:%3c!&!AAAAAAAAAAAYAAAAAAAAAIyJKFf+WzZEiehic1mA7YDCgAAAEAAAAJm5BGwCBa9FtshLyzjTIRQBAAAAAA==@yahoo-com%3e</id>
<updated>2006-01-12T23:07:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Any ideas on what is up given the following error and logkit.xconf?  

 

Error:

 

org.apache.avalon.framework.configuration.ConfigurationException: No log
targets configured for the root logger.
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLo
ggerManager.java:531)
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLogge
rManager.java:407)
    at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:240)
    at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826)
    at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:88
8)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3363)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
74)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)
    at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:260)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:741)
    at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:512
)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:354)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

 

 

logkit.xconf

 

&lt;?xml version="1.0"?&gt;

&lt;logkit&gt;
  &lt;factories&gt;
    &lt;factory type="priority-filter"
class="org.apache.avalon.excalibur.logger.factory.PriorityFilterTargetFactor
y"/&gt;
    &lt;factory type="servlet"
class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/&gt;
    &lt;factory type="cocoon"
class="org.apache.cocoon.util.log.CocoonTargetFactory"/&gt;
    &lt;factory type="lf5"
class="org.apache.avalon.excalibur.logger.factory.LF5TargetFactory"/&gt;
  &lt;/factories&gt;

  &lt;targets&gt;

    &lt;!-- To enable the LogFactor5 graphical logkit browser, replace the
cocoon factory 
         below with the following.
    &lt;lf5 id="core"/&gt;
    --&gt;

    &lt;cocoon id="core"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/core.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;!--
        append=false: Will override existing log files on Cocoon startup
        append=true: Will append to the existing log files
      --&gt;
      &lt;append&gt;false&lt;/append&gt;
      &lt;!--
        rotation: allows you to rotate log files one they meet certain
                  criteria. In example below, files are rotated once they
                  are one hour old or bigger than 100 Mb.

      &lt;rotation type="revolving" init="1" max="4"&gt;
        &lt;or&gt;
          &lt;size&gt;100m&lt;/size&gt;
          &lt;time&gt;01:00:00&lt;/time&gt;
        &lt;/or&gt;
      &lt;/rotation&gt;
      --&gt;
    &lt;/cocoon&gt;

    &lt;cocoon id="sitemap"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/sitemap.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;cocoon id="handled-errors"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/handled-errors.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;cocoon id="access"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/access.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;!-- The logger for the flow layer --&gt;
    &lt;cocoon id="flow"&gt;
      &lt;filename&gt;${context-root}/WEB-INF/logs/flow.log&lt;/filename&gt;
      &lt;format type="cocoon"&gt;
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      &lt;/format&gt;
      &lt;append&gt;false&lt;/append&gt;
    &lt;/cocoon&gt;

    &lt;!--
      This log file gets only messages with log level ERROR and below.
    --&gt;
    &lt;priority-filter id="error" log-level="ERROR"&gt;
      &lt;cocoon&gt;
        &lt;filename&gt;${context-root}/WEB-INF/logs/error.log&lt;/filename&gt;
        &lt;format type="cocoon"&gt;
          %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
        &lt;/format&gt;
        &lt;append&gt;false&lt;/append&gt;
      &lt;/cocoon&gt;
    &lt;/priority-filter&gt;
  &lt;/targets&gt;

  &lt;categories&gt;
    &lt;!--
      log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR.
      Log level could be different for every category and subcategory.

      Not all subcategories are defined in this file. Not defined
      subcategories will be created automatically inheriting settings
      of the parent subcategory.
      When defining subcategory manually, it is required to specify log
      targets, because they are not inherited in this case.
    --&gt;
    &lt;category name="core" log-level="INFO"&gt;
      &lt;!-- Startup component manager logger --&gt;
      &lt;category name="startup" log-level="INFO"&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;category name="roles" log-level="INFO"&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;category name="instrument" log-level="INFO"&gt;
        &lt;category name="values" log-level="INFO"&gt;
          &lt;log-target id-ref="core"/&gt;
          &lt;log-target id-ref="error"/&gt;
        &lt;/category&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;!-- Cocoon component manager logger --&gt;
      &lt;category name="manager" log-level="INFO"&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;!-- Cocoon cache and stores logger --&gt;
      &lt;category name="store" log-level="INFO"&gt;
        &lt;category name="janitor" log-level="INFO"&gt;
          &lt;log-target id-ref="core"/&gt;
          &lt;log-target id-ref="error"/&gt;
        &lt;/category&gt;
        &lt;log-target id-ref="core"/&gt;
        &lt;log-target id-ref="error"/&gt;
      &lt;/category&gt;

      &lt;log-target id-ref="core"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;

    &lt;category name="sitemap" log-level="INFO"&gt;
      &lt;log-target id-ref="sitemap"/&gt;
      &lt;log-target id-ref="error"/&gt;

      &lt;category name="handled-errors" log-level="INFO"&gt;
        &lt;!-- Exceptions that will be handled by a sitemap errorhandler are
             logged to this target. --&gt;
        &lt;log-target id-ref="handled-errors"/&gt;
      &lt;/category&gt;
    &lt;/category&gt;

    &lt;category name="access" log-level="INFO"&gt;
      &lt;log-target id-ref="access"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;

    &lt;category name="flow" log-level="INFO"&gt;
      &lt;log-target id-ref="flow"/&gt;
      &lt;log-target id-ref="error"/&gt;
    &lt;/category&gt;
  &lt;/categories&gt;
&lt;/logkit&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>How do you use Excalibur?</title>
<author><name>J Aaron Farr &lt;jaaronfarr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200511.mbox/%3c7a31ebb30511220720q40caac21jb074011aa5cf9ef@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7a31ebb30511220720q40caac21jb074011aa5cf9ef@mail-gmail-com%3e</id>
<updated>2005-11-22T15:20:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all.

I thought it would be nice to collect some stories on how people are
using Excalibur (Fortress, ECM, Avalon, Components, whatever).  A
place has been set aside on the wiki:

 http://wiki.apache.org/excalibur/ExcaliburInUse

Please sign in [1] and add your story!

Thanks.

--
 jaaron

[1] To edit the wiki, you'll need an account (in order to limit spam).
 If you don't have one, visit the user preferences page:
http://wiki.apache.org/excalibur/UserPreferences

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: digester.getparser error...</title>
<author><name>Varun &lt;varun.lucky@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200511.mbox/%3cloom.20051119T095243-761@post.gmane.org%3e"/>
<id>urn:uuid:%3cloom-20051119T095243-761@post-gmane-org%3e</id>
<updated>2005-11-19T08:54:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

&gt; org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
hi shilpa,
I am also strugling with the same problem since 2 days, let me know if you ever
find the solution for this error.
Thanks,
Varun



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Exception disposing container</title>
<author><name>&quot;Damiano Zucconi - I.S.I. s.r.l.&quot; &lt;d.zucconi@isipc.it&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200510.mbox/%3cENEFIABEGNBLJKGHAEJFGEOCCAAA.d.zucconi@isipc.it%3e"/>
<id>urn:uuid:%3cENEFIABEGNBLJKGHAEJFGEOCCAAA-d-zucconi@isipc-it%3e</id>
<updated>2005-10-17T10:47:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all

I've recently updated my test application with latest release of Fortress
(1.2).
I've configured into my container 2 simple components.
For a simple test, i've started and immediatly disposed the container but
disposing fortress container a NullPointerException is signaled:

java.lang.NullPointerException
	at
org.apache.avalon.fortress.impl.handler.PerThreadComponentHandler.doDispose(
PerThreadComponentHandler.java:80)
	at
org.apache.avalon.fortress.impl.handler.AbstractComponentHandler.dispose(Abs
tractComponentHandler.java:294)
	at
org.apache.avalon.framework.container.ContainerUtil.dispose(ContainerUtil.ja
va:306)
	at
org.apache.avalon.fortress.impl.handler.LEAwareComponentHandler.dispose(LEAw
areComponentHandler.java:124)
	at
org.apache.avalon.framework.container.ContainerUtil.dispose(ContainerUtil.ja
va:306)
	at
org.apache.avalon.fortress.impl.AbstractContainer.dispose(AbstractContainer.
java:799)
	at
org.apache.avalon.framework.container.ContainerUtil.dispose(ContainerUtil.ja
va:306)
	at net.storm.impl.container.Starter.init(Starter.java:74)
	at net.storm.impl.container.Starter.main(Starter.java:39)

Removing my components from container configuration, the Exception in no
more throwed.
Can you help me to understand what kind of error in my components design can
produce an exception like this ?

Thank you for your time

Damiano Zucconi


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Returned post for user@excalibur.apache.org</title>
<author><name>Henrik Ehlig Petersen &lt;henrik.ehlig.petersen@ericsson.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200509.mbox/%3c432912FF.7050700@ericsson.com%3e"/>
<id>urn:uuid:%3c432912FF-7050700@ericsson-com%3e</id>
<updated>2005-09-15T06:21:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Please try again. Now I am registered.

Best regards,

Henrik Ehlig Petersen

Ericsson Denmark, Telebit
Skanderborgvej 232        Phone:+45 3091 8460
DK-8260 Viby J.
e-mail: Henrik.Ehlig.Petersen@Ericsson.com



user-owner@excalibur.apache.org wrote:

&gt;Hi! This is the ezmlm program. I'm managing the
&gt;user@excalibur.apache.org mailing list.
&gt;
&gt;I'm sorry, your message (enclosed) was not accepted by the moderator.
&gt;If the moderator has made any comments, they are shown below.
&gt;  
&gt;
&gt;
&gt; ------------------------------------------------------------------------
&gt;
&gt; Subject:
&gt; Avalon-framework and Logkit - encryption
&gt; From:
&gt; Henrik Ehlig Petersen &lt;henrik.ehlig.petersen@ericsson.com&gt;
&gt; Date:
&gt; Wed, 14 Sep 2005 11:59:27 +0200
&gt; To:
&gt; user@excalibur.apache.org
&gt;
&gt; To:
&gt; user@excalibur.apache.org
&gt;
&gt; Return-Path:
&gt; &lt;henrik.ehlig.petersen@ericsson.com&gt;
&gt; Delivered-To:
&gt; moderator for user@excalibur.apache.org
&gt; Received:
&gt; (qmail 51556 invoked by uid 99); 14 Sep 2005 09:59:20 -0000
&gt; Received:
&gt; from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by
&gt; apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 02:59:20 -0700
&gt; X-ASF-Spam-Status:
&gt; No, hits=0.0 required=10.0 tests=
&gt; X-Spam-Check-By:
&gt; apache.org
&gt; Received-SPF:
&gt; pass (asf.osuosl.org: local policy)
&gt; Received:
&gt; from [193.180.251.60] (HELO mailgw3.ericsson.se) (193.180.251.60) by
&gt; apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 02:59:30 -0700
&gt; Received:
&gt; from esealmw129.eemea.ericsson.se (unknown [153.88.254.120]) by
&gt; mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 8739BD13
&gt; for &lt;user@excalibur.apache.org&gt;; Wed, 14 Sep 2005 11:58:44 +0200 (CEST)
&gt; Received:
&gt; from esealmw127.eemea.ericsson.se ([153.88.254.171]) by
&gt; esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.211);
&gt; Wed, 14 Sep 2005 11:58:43 +0200
&gt; Received:
&gt; from [213.159.189.7] ([213.159.189.7]) by esealmw127.eemea.ericsson.se
&gt; with Microsoft SMTPSVC(6.0.3790.211); Wed, 14 Sep 2005 11:58:43 +0200
&gt; Message-ID:
&gt; &lt;4327F47F.1080804@ericsson.com&gt;
&gt; User-Agent:
&gt; Debian Thunderbird 1.0.2 (X11/20050331)
&gt; X-Accept-Language:
&gt; en-us, en
&gt; MIME-Version:
&gt; 1.0
&gt; Content-Type:
&gt; text/plain; charset=ISO-8859-1
&gt; Content-Transfer-Encoding:
&gt; 7bit
&gt; X-OriginalArrivalTime:
&gt; 14 Sep 2005 09:58:43.0646 (UTC) FILETIME=[E40BDDE0:01C5B912]
&gt; X-Brightmail-Tracker:
&gt; AAAAAA==
&gt; X-Virus-Checked:
&gt; Checked by ClamAV on apache.org
&gt;
&gt;
&gt;Hi,
&gt;
&gt;We would like to use the Avalon-framework and Logkit in a commercial
&gt;product at Ericsson and have some questions about the product:
&gt;
&gt;Can anyone tell me if the Java code contains encryption - or even better
&gt;can anyone tell me what export code (ECCN) to use when distributing our
&gt;product with the two products? Are anyone aware of possible patents in
&gt;the source code?
&gt;
&gt;  
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE: RESULT] Excalibur Release</title>
<author><name>&quot;Sasvata (Shash) Chatterjee&quot; &lt;shash@badfw.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/excalibur-user/200509.mbox/%3c43170EE4.5070909@badfw.org%3e"/>
<id>urn:uuid:%3c43170EE4-5070909@badfw-org%3e</id>
<updated>2005-09-01T14:23:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Corrected the paths.

&gt; All,
&gt;
&gt; Excalibur final releases (see below) are available at www.apache.org 
&gt; and mirrors.
&gt; The javadoc update to the site is being worked on (Aaron), as is the 
&gt; update to the Maven repo at ibiblio.org.  We'll send out email as and 
&gt; when these are done.
&gt;
&gt; Committers, it is OK to go ahead and put in changes to the SVN repo 
&gt; again.
&gt;
&gt; Thanks to all who have provided bug-reports, fixes, suggestions and 
&gt; help for this release!
&gt;
&gt; Shash


http://www.apache.org/dist/excalibur/avalon-framework/jars/avalon-framework-api-4.3.jar
http://www.apache.org/dist/excalibur/avalon-framework/jars/avalon-framework-impl-4.3.jar
http://www.apache.org/dist/excalibur/avalon-logkit/jars/avalon-logkit-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-connection/jars/cornerstone-connection-api-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-connection/jars/cornerstone-connection-impl-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-datasources/jars/cornerstone-datasources-api-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-datasources/jars/cornerstone-datasources-impl-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-scheduler/jars/cornerstone-scheduler-api-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-scheduler/jars/cornerstone-scheduler-impl-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-sockets/jars/cornerstone-sockets-api-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-sockets/jars/cornerstone-sockets-impl-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-store/jars/cornerstone-store-api-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-store/jars/cornerstone-store-impl-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-threads/jars/cornerstone-threads-api-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-threads/jars/cornerstone-threads-impl-2.1.jar
http://www.apache.org/dist/excalibur/cornerstone-threads/jars/cornerstone-threads-tutorial-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-component-examples/jars/excalibur-component-examples-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-component-tests/jars/excalibur-component-tests-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-component/jars/excalibur-component-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-component/jars/excalibur-testcase-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-datasource/jars/excalibur-datasource-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-event/jars/excalibur-event-api-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-event/jars/excalibur-event-impl-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-container-api-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-container-impl-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-examples-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-meta-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-migration-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-servlet-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-fortress/jars/excalibur-fortress-testcase-1.2.jar
http://www.apache.org/dist/excalibur/excalibur-instrument/jars/excalibur-instrument-api-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-instrument/jars/excalibur-instrument-client-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-instrument/jars/excalibur-instrument-mgr-api-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-instrument/jars/excalibur-instrument-mgr-http-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-instrument/jars/excalibur-instrument-mgr-impl-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-lifecycle/jars/excalibur-lifecycle-api-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-lifecycle/jars/excalibur-lifecycle-impl-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-logger/jars/excalibur-logger-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-monitor/jars/excalibur-monitor-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-pool/jars/excalibur-pool-api-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-pool/jars/excalibur-pool-impl-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-pool/jars/excalibur-pool-instrumented-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-sourceresolve/jars/excalibur-sourceresolve-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-store/jars/excalibur-store-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-thread/jars/excalibur-thread-api-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-thread/jars/excalibur-thread-impl-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-thread/jars/excalibur-thread-instrumented-2.1.jar
http://www.apache.org/dist/excalibur/excalibur-xmlutil/jars/excalibur-xmlutil-2.1.jar




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org



</pre>
</div>
</content>
</entry>
</feed>
