Re: CORS configuration in HTTP Service

2016-04-11 Thread Frank Langel
chain.doFilter(arg0,arg1); } @Override public void init(FilterConfig arg0) throws ServletException { } } From: Frank Langel Date: Monday, April 11, 2016 at 5:20 PM To: "users@felix.apache.org" Subject: CORS configuration in HTTP Service Hi team, I like to configure CORS

CORS configuration in HTTP Service

2016-04-11 Thread Frank Langel
Hi team, I like to configure CORS (Cross Origin Requests) by always returning the following http parameter Access-Control-Allow-Origin: * in the response. One option is to write a http filter server that adds the parameter, but this is quite a bit of work for adding a simple parameter. Jetty

Re: Felix and JavaMail

2016-03-06 Thread Frank Langel
loated as such. It's much better than the old JavaEE >app servers. > >It's just that I have never seen a good reason to use it instead of plain >OSGi. > >Regards, Neil. >On 7 Mar 2016 08:02, "Frank Langel" <fr...@frankjlangel.com> wrote: > >> Well, >>

Re: Felix and JavaMail

2016-03-06 Thread Frank Langel
I never had any issues sending mail. What exactly is your issue? On 3/6/16, 10:28 PM, "Mark Derricutt" wrote: >Hey all, > >I was wondering what the current status of JavaMail was with Felix and OSGi ( >and Karaf )? Is it possible to just install some bundles and use

Re: MANIFEST.MF first entry in jar

2015-11-20 Thread Frank Langel
Hi Tom, What is it you are trying to do ? OSGI/Felix expects a jar file with a certain format. Your question is not quite clear. How can we help? On 11/20/15, 2:35 PM, "Tom Bentley" wrote: >Yes, but my point is that it's not specified here

Where do i find the list of hidden shell commands documented

2015-11-19 Thread Frank Langel
Hi, Where are the “hidden/internal” shell commands such as headers, bundle, system:env documented? I cannot find this documentation anywhere. Thanks a lot Frank - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org

Re: How do i find out which packages Felix exports by default, in which version?

2015-11-19 Thread Frank Langel
Richard, OSGI magic…. Great. Thanks! On 11/19/15, 2:12 PM, "Richard S. Hall" <he...@ungoverned.org> wrote: >On 11/19/15 04:35 , Frank Langel wrote: >> Hi, >> >> Sometimes, it’s not quite clear which (system) packages Felix exports by >> defau

Re: Better go go shell

2015-11-04 Thread Frank Langel
ovide new features, hence the >dependencies on jline 3.0-SNAPSHOT and gogo runtime 0.17-SNAPSHOT which are >not released and the requirement on JDK8. > > >2015-11-04 9:20 GMT+01:00 Frank Langel <fr...@frankjlangel.com>: > >> Dear Guillaume, >> >>

Re: Better go go shell

2015-11-04 Thread Frank Langel
here's no snapshots >of those deployed anywhere > https://github.com/jline/jline2/tree/jline3 > https://github.com/gnodet/felix/tree/trunk-jline/gogo/runtime > https://github.com/gnodet/felix/tree/trunk-jline/gogo/jline > >Guillaume > > >2015-11-03 19:17 GMT+01:00 Frank Langel

Re: Better go go shell

2015-11-03 Thread Frank Langel
elopment. >>> >>>If you see any problem, let me know. >>> >>>2015-11-03 12:51 GMT+01:00 Jean-Baptiste Onofré <j...@nanthrax.net>: >>> >>>> Hi Frank >>>> >>>> I know that Guillaume is working on bunch of improvement on

Re: Better go go shell

2015-11-03 Thread Frank Langel
et me know. > >2015-11-03 12:51 GMT+01:00 Jean-Baptiste Onofré <j...@nanthrax.net>: > >> Hi Frank >> >> I know that Guillaume is working on bunch of improvement on the shell. I >> don't know if it's on the Karaf Shell or Gogo Shell. >> >> Anyway, why

Re: Better go go shell

2015-11-03 Thread Frank Langel
bility (completion, colours) and it would be nice if it could be >> used by the Felix framework as well, i.e. be shipped as the default >> shell implementation with the Felix download... >> >> Any thoughts? >> >> Cheers, >> >> David >> >>

Re: Better go go shell

2015-11-03 Thread Frank Langel
://felix.apache.org/downloads.cgi Any pointers would be highly appreciated. Frank On 11/3/15, 2:31 PM, "Frank Langel" <fr...@frankjlangel.com> wrote: >Agreed. But which way to go >a) back port the Karaf one? >B) the new console version by Guillaume Nodet > >Best >Frank

Re: Better go go shell

2015-11-03 Thread Frank Langel
default >> shell implementation with the Felix download... >> >> Any thoughts? >> >> Cheers, >> >> David >> >> On 3 November 2015 at 14:15, Frank Langel <fr...@frankjlangel.com> wrote: >> > Awesome, I try it out >> > >> >

Re: Hazelcast on felix framework

2015-10-20 Thread Frank Langel
Daniel, Please add javax.script to your runsystenpages in bndtools Frank On 10/19/15, 8:53 PM, "Frank Langel" <fr...@frankjlangel.com> wrote: >David, > >that’s a well known error/issues that requires a certain setting. >I will look up my notes and send yo

Re: Hazelcast on felix framework

2015-10-20 Thread Frank Langel
com.hazelcast [4 > >I am using a .bnd file to build and have included. > >-runsystempackages.bugfix = > sun.misc, > javax.script, > >Has anyone run across this and can point me at what I should be doing. > >Thanks for any help, > > David Daniel >

Re: Hazelcast on felix framework

2015-10-20 Thread Frank Langel
If you could provide small sample, we might be able to help On 10/20/15, 1:31 PM, "developm...@mobigov.com" wrote: > >No problem and thank you for taking the time to try an help me out. I >think it may be because the rhinoscriptengine was remove and I don't >know how

Re: Hazelcast on felix framework

2015-10-19 Thread Frank Langel
David, that’s a well known error/issues that requires a certain setting. I will look up my notes and send you the instructions We use Hazelcast extensively Frank On 10/19/15, 8:48 PM, "developm...@mobigov.com" wrote: > > > >Oct 19, 2015 1:58:20 PM

Re: Scala support in Apache Felix

2015-10-13 Thread Frank Langel
that the Scala Builder executed just before the Bndtools Builder. >> Hopefully Scala IDE has improved by now, but you're certainly going to have >> to fiddle a lot to get a build process that you're happy with. >> >> Neil >> >>> On 12 Oct 2015, at 17:48, Fra

Scala support in Apache Felix

2015-10-12 Thread Frank Langel
Hello, Does anyone have experience developing OSGI modules in Scala using Felix? Any input would be highly appreciated Best Frank

Re: Help in using your Quartz OSGi bundle

2015-10-12 Thread Frank Langel
Have you considered using amdatu-scheduling, a fully wrapped Quartz OSGI bundle? On 10/12/15, 11:16 PM, "Neil Bartlett" wrote: >The import of the c3p0 package is problematic because c3p0 is not an OSGi >bundle. However there is a bundle wrapping availabe:

Use YourKit with Apache Felix | Yourkit causes LinkError/Class not found

2015-09-23 Thread Frank Langel
Hi, We encounter all kind of call loading problems, especially with JPA, when adding YourKit as an agent to Apache felix. Jvm/bin/java -agentpath:/cfn365/felix/yourkit/yjp-2015-build-15074/bin/linux-x86-64/libyjpagent.so We already extended the boot delegation value in conf.properties to

Re: Can't access to http://localhost:8888/system/console

2015-08-05 Thread Frank Langel
So much trouble with a little package. Can you share your code. Its hard to help you with the little info you are providing. On 8/5/15, 2:17 PM, andreafino andrea.f...@hotmail.com wrote: Yes I have tried it but it doesn't work. -- View this message in context:

Re: How to install org.json bundle?

2015-08-04 Thread Frank Langel
Is org.json bundle an osgi bundle? On 8/4/15, 2:33 PM, andreafino andrea.f...@hotmail.com wrote: HI all, I'm trying to use apache felix console. I have seen all the documentation about it and all the dependencies which the webconsole require. I have installed all the dependencies expect one:

Re: FIleInstall --- Apache felix maven

2015-08-03 Thread Frank Langel
The load directory you create yourself in the root directory of your felix instance On 8/3/15, 5:36 PM, andreafino andrea.f...@hotmail.com wrote: Sorry but I can't find the load directory. Maybe i have not installed correctly the fileinstall -- View this message in context:

Re: FIleInstall --- Apache felix maven

2015-08-03 Thread Frank Langel
My two cents 1. Start using bndTools 2. Read up on the documentation for using file install. Its pretty straightforward On 8/3/15, 11:43 AM, andreafino andrea.f...@hotmail.com wrote: Hello everyone I use apache felix and maven and i'm trying to use apache felix with fileinstall, I have

Re: FIleInstall --- Apache felix maven

2015-08-03 Thread Frank Langel
You can, but if you are doing OSGI professionally, it would be better to switch to bndTools and gradle. Much better On 8/3/15, 2:22 PM, andreafino andrea.f...@hotmail.com wrote: What are the bndTools? How can i use it with maven? -- View this message in context:

Re: How to use file install with apache felix

2015-08-01 Thread Frank Langel
Meant launch.bndrun or whatever you named the bndrun file you use On 8/1/15, 8:12 PM, Frank Langel fr...@frankjlangel.com wrote: In your bnd.bndrun file -runproperties: \ felix.fileinstall.dir=./etc,\ felix.fileinstall.filter=.*\.cfg,\ felix.fileinstall.poll=1000

Re: How to use file install with apache felix

2015-08-01 Thread Frank Langel
James, some code sample would help here, but it sounds you didn¹t set runproperties correctly. felix.fileinstall.dir=./etc,\ felix.fileinstall.filter=.*\.cfg,\ felix.fileinstall.poll=1000 Checkout http://felix.apache.org/documentation/subprojects/apache-felix-file-install .html

Re: How to use file install with apache felix

2015-08-01 Thread Frank Langel
In your bnd.bndrun file -runproperties: \ felix.fileinstall.dir=./etc,\ felix.fileinstall.filter=.*\.cfg,\ felix.fileinstall.poll=1000 And make sure that your config file is saved in the generated jar file under the ./etc directory. Therefore, you need to include your

Re: PaxWeb 5.0 on Felix - Anyone?

2015-06-19 Thread Frank Langel
at all) resources are spare and therefore I focus on main issues. regards, Achim 2015-06-19 12:06 GMT+02:00 Frank Langel fr...@frankjlangel.com: Thanks a lot for the quick response. - looking at the features file is a good suggestion, I should have thought of it in the first place - I like

PaxWeb 5.0 on Felix - Anyone?

2015-06-19 Thread Frank Langel
Hi, Has anyone succeeded running PaxWeb 5.0 on Felix ? I am sure its doable, but I was wondering if someone has made some notes (i.e. list of dependent bundles) to ease the installation process. Thanks in advance Frank

Re: PaxWeb 5.0 on Felix - Anyone?

2015-06-19 Thread Frank Langel
are needed. Regards, Achim 2015-06-19 10:25 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net: You mean Pax Web 5.0.0-SNAPSHOT ? Regards JB On 06/19/2015 10:21 AM, Frank Langel wrote: Hi, Has anyone succeeded running PaxWeb 5.0 on Felix ? I am sure its doable, but I was wondering

Re: OSGi bundles and dependencies

2015-05-19 Thread Frank Langel
Kevin, You are trying to merge all jar files into a larger jar. This is possible, but its not necessarily best practice. If you want to run these packages on felix, setup felix and add these bundles to felix. I can recommend this page

Re: Jetty vs Undertow

2015-04-15 Thread Frank Langel
that much work, although I haven't been back to the spec of late to see what's changed or been added that might make things harder -- Rob On 14/04/2015 11:27, Frank Langel wrote: When using Felix http module in performance critical applications, Jetty seems to underperform compared to modern

Jetty vs Undertow

2015-04-14 Thread Frank Langel
When using Felix http module in performance critical applications, Jetty seems to underperform compared to modern servlet libraries such as undertow or netty: https://www.techempower.com/benchmarks/#section=data-r9hw=peaktest=json Has/Is anyone working on a plug-in replacement for Undertow/Netty.

Re: Karaf features on Felix

2015-02-14 Thread Frank Langel
There are individual sub projects that you can use, I am not sure about the wrapper though there is repo http://mvnrepository.com/artifact/org.apache.karaf.wrapper/org.apache.karaf .wrapper.core/4.0.0.M1 From my perspective, the OPS team of a company usually has its own idea of

Re: Deploying jar (javax.persistence) using fileInstall causes DependencyManager to Stop

2015-02-09 Thread Frank Langel
a separate bundle that exports org.osgi.service.event, but the question remains why I see this problem in the first place and how to debug it to get to the root cause. Best Frank On 2/9/15, 3:48 PM, Frank Langel fr...@frankjlangel.com wrote: Well, it stops all bundles, not only the dependency

Deploying jar (javax.persistence) using fileInstall causes DependencyManager to Stop

2015-02-09 Thread Frank Langel
Hi, I have a weird situation. Whenever I deploy java.persistence.jar (or certain other bundles) through fileInstall/deploy directory, the felix dependency manager is stopped, which causes other bundles to stop. If I embedded javax.persistence with the felix runtime (launcher), it works well. g!

Re: Deploying jar (javax.persistence) using fileInstall causes DependencyManager to Stop

2015-02-09 Thread Frank Langel
support. [FelixFrameworkWi On 2/9/15, 3:39 PM, Frank Langel fr...@frankjlangel.com wrote: Hi, I have a weird situation. Whenever I deploy java.persistence.jar (or certain other bundles) through fileInstall/deploy directory, the felix dependency manager is stopped, which causes other bundles to stop

using config.properties to specify framework properties does not work

2015-02-06 Thread Frank Langel
Hi, i am trying to use the config.properties file to add framework properties to the Felix runtime: I executed the following steps 1.) create config.properties with setting osgi.shell.telnet.port= in ./etc directory 2.) make sure that fileinstall pulls from this ./etc diretory works; other

Setting sendServerHeader / sendServerVersion

2014-09-25 Thread Frank Langel
Hi, I tried to set the parameters sendServerHeader / sendServerVersion in Karaf 2.3.5 using the following ways to no avail However, non of these work. Any suggestions on how to set sendServerVersion to false would be appreciated Thanks a lot Frank A) I added the following parameter to jetty.xml