Re: Problem getting servlet filter to activate

2013-02-26 Thread Lars-Erik Helander
as filter order. You'll need to open a issue at ops4j for that. regards, Achim 2013/2/25 Lars-Erik Helander leh...@gmail.com But that means that (I guess) that Pax Web needs to consider the ranking when building up the filter order, and if so does Pax Web do that? Skickat från min

Re: Problem getting servlet filter to activate

2013-02-25 Thread helander
After some testing I now think I know what the problem is. The cxf servlet implements Filter, and I guess that the cxf filter is processed before my filter and that it breaks the filtering chain, by not explicitly chaining to other filters. Is there some way to have my filter being processed

Re: Problem getting servlet filter to activate

2013-02-25 Thread Lars-Erik Helander
Core [1] kind regards, christoph [1] http://www.osgi.org/Download/Release4V43 On 2013-02-25 17:48, Lars-Erik Helander wrote: I found a note on using a ranking property, which I tested. It did not help, but I am not really sure what ranking value to use. Is there more info available

Problem getting servlet filter to activate

2013-02-24 Thread helander
I have a simple servlet filter that just prints to the console during init(), destroy() and doFilter(). I register the filter via a blueprint (see below) and I can see the printout from the init() method, and when I undeploy the blueprint I can see the printout from the destroy() method, so

Problem getting servlet filter to activate

2013-02-24 Thread helander
I have a simple servlet filter that just prints to the console during init(), destroy() and doFilter(). I register the filter via a blueprint (see below) and I can see the printout from the init() method, and when I undeploy the blueprint I can see the printout from the destroy() method, so

Re: Https 2-way authentication and JAAS

2013-02-23 Thread Lars-Erik Helander
the role infos from LDAP. In any case I will report my progress and it would be great if you could also write if you find something. Christian Am 20.02.2013 19:17, schrieb Lars-Erik Helander: Thanks Achim, do you have any suggestions on where I can find documentation/examples that could

Re: Https 2-way authentication and JAAS

2013-02-20 Thread Lars-Erik Helander
the user attached to the certificate needs to be know in the jaas part. Since the authentication is done via certificate the JAAS part is only needed for the authorization. Regards, Achim 2013/2/19 helander leh...@gmail.com Hi, I am connecting to a web application in Karaf using https

Re: Https 2-way authentication and JAAS

2013-02-20 Thread Lars-Erik Helander
. This should be possible. It probably needs a bit of tweaking and researching since it's a not-out-of-the-box situation. Let us know if it worked out :) regards, Achim 2013/2/20 Lars-Erik Helander leh...@gmail.com Lukasz Achim, Thanks for the feedback. No, I do not have a working

Re: Https 2-way authentication and JAAS

2013-02-20 Thread Lars-Erik Helander
the role infos from LDAP. In any case I will report my progress and it would be great if you could also write if you find something. Christian Am 20.02.2013 19:17, schrieb Lars-Erik Helander: Thanks Achim, do you have any suggestions on where I can find documentation/examples

Same configuration elements in multiple features

2012-08-19 Thread helander
What happens if I have a set of config elements in my feature definitions, and two or more features include config values for the same parameter. Will the resulting parameter value be arbitrary, i.e. it could be any of the specified values, or is there some deterministic way to know which value

Another way of building web interfaces

2012-08-14 Thread helander
Hi, I just posted this http://camel.465427.n5.nabble.com/Proof-of-concept-for-Camel-Web-Interface-tp5717349.html on the Camel-User forum, but since the technology is more widely applicable, I wanted to share it with the Karaf-Users as well. Thanks Lars -- View this message in context:

Re: http server config from feature

2012-08-06 Thread helander
Hi JB, thanks for the clarification. Looking forward for the merge/overwrite capability for config, meanwhile I will use the configfile variant. /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/http-server-config-from-feature-tp4025430p4025432.html Sent from the Karaf

Re: KARAF/JMX Aries JMX whiteboard issue

2012-08-05 Thread Lars-Erik Helander
. Regards JB -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://wwx.talend.com - Reply message - From: helander leh...@gmail.com To: user@karaf.apache.org Subject: KARAF/JMX Aries JMX whiteboard issue Date: Sun, Aug 5, 2012 3:51 am

Re: Custom distribution: cannot override custom.properties

2012-08-03 Thread Lars-Erik Helander
Good :) Skickat från min iPhone 3 aug 2012 kl. 17:19 skrev Sam Liu victor...@gmail.com: Thanks... it worked well now... On Thu, Aug 2, 2012 at 5:25 PM, helander leh...@gmail.com wrote: Hi, in your bin.xml you exclude customer.properties, it should be custom.properties. /Lars

LDAP server that runs in Karaf

2012-08-02 Thread helander
Do anyone know of any LDAP Server available for deployment in an OSGi framework? I found PAX LDAP, but it seems dead. Thanks Lars -- View this message in context: http://karaf.922171.n3.nabble.com/LDAP-server-that-runs-in-Karaf-tp4025409.html Sent from the Karaf - User mailing list archive

Re: LDAP server that runs in Karaf

2012-08-02 Thread helander
Hi JB, this sounds great, thanks. Looking forward to the further development of this. /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/LDAP-server-that-runs-in-Karaf-tp4025409p4025412.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Custom distribution: cannot override custom.properties

2012-08-02 Thread helander
Hi, in your bin.xml you exclude customer.properties, it should be custom.properties. /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Custom-distribution-cannot-override-custom-properties-tp4025414p4025415.html Sent from the Karaf - User mailing list archive at

etc files for new instance

2012-07-30 Thread helander
I found out that the /etc files for a newly created instance were not copied from the KARAF-HOME/etc directory, but from resources in one of the admin bundles. For a custom distro where the /etc files are typically customized, this becomes a problem, since the created instances will not contain

Re: Web application development using unpacked WAR

2012-07-30 Thread helander
I have created a Jira: https://issues.apache.org/jira/browse/KARAF-1692 /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Web-application-development-using-unpacked-WAR-tp4025360p4025372.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Web application development using unpacked WAR

2012-07-30 Thread helander
ID and the configuration of the felix plugin? Cheers, Michael 2012/7/30 helander lt;lehswe@gt;: I have created a Jira: https://issues.apache.org/jira/browse/KARAF-1692 /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Web-application-development-using

Re: etc files for new instance

2012-07-30 Thread helander
Sounds good to differentiate between create and clone. When can I expect a release of 2.3.x (or 3.0.x) ? /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/etc-files-for-new-instance-tp4025370p4025382.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Web application development using unpacked WAR

2012-07-29 Thread helander
Achim, I had already tried to do that, but it did not work for me. Are there any specific requirements on the war content that needs to be met in order for this to work, e.g. mandatory entries in the manifest ? /Lars -- View this message in context:

Re: Unpacked KAR deployment

2012-07-27 Thread helander
Hi Andreas, JIRA created https://issues.apache.org/jira/browse/KARAF-1677 /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Unpacked-KAR-deployment-tp4025335p4025349.html Sent from the Karaf - User mailing list archive at Nabble.com.

KAR Deployment order problem

2012-07-27 Thread helander
Before starting up my system I have placed 3 different KAR files in the deploy directory. Lets call them kar1, kar2 and kar3. kar1 depends on features in kar2 and kar3 depends on features in kar2. From the logs it seems like the following happens: -The system tries to install kar1, but it fails

Unpacked KAR deployment

2012-07-26 Thread helander
I am looking for a method, similar to KAR where the repository//features.xml are automatically registered, but where the data is not in a KAR file, but in a directory, e.g. unpacking a KAR file to a folder and then somehow point that the content of that folder should be recognised as a repo

Re: Unpacked KAR deployment

2012-07-26 Thread helander
Ok, thanks. /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Unpacked-KAR-deployment-tp4025335p4025344.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Blueprint xml files in repository

2012-07-22 Thread helander
Hi JB, that looks nice (the bundle ... /blueprint ... method). I will try that and report back. For the configfile case, I guess you mean to specify to have it located in the deploy directory ? Thanks Lars -- View this message in context:

Re: Blueprint xml files in repository

2012-07-22 Thread helander
Hi JB, I am struggling a bit with the mvn urls (they are pretty new to me) and I am not sure my file names matches the mvn url:s. I know it's kind of basic, but maybe you could clarify this for me? Given the url mvn:groupId/artifactId/version/blueprint, what would be the name of the

Refrenced features and create-kar

2012-07-21 Thread helander
I am using the create-kar goal and in the input feature.xml file I am referencing the camel-cxf feature, but no bundles related to camel-cxf ends up under the repository in the kar file. Is this not possible (to get content from referenced features into the kar file) ? /Lars -- View this

Re: Refrenced features and create-kar

2012-07-21 Thread helander
I was more thinking about how to collect the required artifacts (bundles, feature files, etc) based on a top-level feature file that contains references to feature files in public repositories? Once I have that, it should be no problem to handcraft a kar file. I observed that when I install a

Blueprint xml files in repository

2012-07-21 Thread helander
Is it possible to have a blueprint xml file in a repository, and refer to it from a feature description (feature xml file), or do blueprint files alway have to be embedded in a bundle jar in order to install it from a repository? /Lars -- View this message in context:

Additional File deployer directories

2012-07-11 Thread helander
Is it possible to have multiple File deployer directories, that are all monitored for deployment? How do you configure these additional directories? /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Additional-File-deployer-directories-tp4025196.html Sent from the Karaf -

Re: Additional File deployer directories

2012-07-11 Thread helander
Thanks for the info and advice. /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Additional-File-deployer-directories-tp4025196p4025202.html Sent from the Karaf - User mailing list archive at Nabble.com.

Putting a handcrafted features file in the maven repository

2012-07-10 Thread helander
I am building a custom distribution and I have a handcrafted features.xml file that lists a set of features from camel and cxf. I do not want to reference this file via an absolute file path, but make it available from the maven repository. How do I put the file into the maven repository? Can I

Re: Putting a handcrafted features file in the maven repository

2012-07-10 Thread helander
That works, but it means that I explicitly have to re-install it every time it is modified. I would prefer to have its definition in a pom, but I do not know if it is possible to do using said archetype. Any info related to this would be helpful. Thanks, Lars -- View this message in context:

Re: Putting a handcrafted features file in the maven repository

2012-07-10 Thread helander
Great, thanks. /Lars -- View this message in context: http://karaf.922171.n3.nabble.com/Putting-a-handcrafted-features-file-in-the-maven-repository-tp4025184p4025188.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Define JMS component in separate blueprint

2012-07-09 Thread helander
, helander wrote: I am using Camel and in some routes JMS are used to send messages to an external broker. The routes are defined in blueprint files ( xml files) and they all refer to the same broker, so I would like to have the broker definition in a separate blueprint file