Duplicate import: javax.servlet.jsp

2014-07-17 Thread Mansour Al Akeel
I am trying to make war file OSGI enabled. The war is building fine using maven-bundle-plugin, however when I deploy it to KARAF_HOME/deploy, I get the following exception. I should mention that the generated MANIFEST.MF has this import only one and not duplicated, like the exception says. I have

Re: JPA JTA,

2014-07-10 Thread Mansour Al Akeel
You need transaction active around the call to createNewUser(). If it's JTA then you need to add @Transactional on the method. In blueprint you can do this by doing something like: bean id=userDao class=org.example.UserDaoImp activation=eager tx:transaction method=* value=Required

Re: List of avantages and disavantages of OSGI Karaf vs symphony

2014-06-23 Thread Mansour Al Akeel
Which Symphony ? Can you please provide a link to this technology ? On Mon, Jun 23, 2014 at 3:14 AM, David Bosschaert david.bosscha...@gmail.com wrote: Hi Florian, If you are looking for what the benefits of OSGi in general are, the following presentation might be helpful:

EJB with Karaf 3.0.1

2014-06-20 Thread Mansour Al Akeel
I have been trying to get openEJB support to work with Karaf, but no luck. Even with OpenEJB 4.5.2, I am getting errors. mansour@mars apache-karaf-3.0.1 $ ./bin/karaf Listening for transport dt_socket at address: 8000 __ __ / //_/ __ _/ __/

Re: Karaf and JRebel

2014-06-13 Thread Mansour Al Akeel
In fact if you are using maven (which I think you are), you can use something like: felix.fileinstall.dir = /full/path/to/your/module-project/target/ Then, when even you modify any class and it gets compiled by your ID, karaf will reload the module. Another open source similar to

OpenJPA and class path

2014-01-25 Thread Mansour Al Akeel
Hello all, I am trying to customize the naming for the generated tables and columns. For example instead of creating a table useraccossiation, which come from the camel case in UserAssociation, I like to have a table user_association. I understand this can be done with annotations on classes

Re: Monitoring config directory

2014-01-14 Thread Mansour Al Akeel
felix.fileinstall.log.level = 3 What do you mean by it doesn't work ? you mean adding your own directory ? The monitoring itself work else Karaf wouldn't load its own configurations. Regards JB On 01/14/2014 12:08 AM, Mansour Al Akeel wrote: This used to work in karaf 2.3.2

Re: fail to install openejb-core on Karaf v3.0

2014-01-14 Thread Mansour Al Akeel
Hello Charles, Do you have any estimation for full openejb integration with karaf ?? Thank you. On Thu, Jan 2, 2014 at 10:10 AM, Charles Moulliard ch0...@gmail.com wrote: Even if you install openejb on Karaf, it will not scan your bundles to find classes annotated and inject them

Monitoring config directory

2014-01-13 Thread Mansour Al Akeel
This used to work in karaf 2.3.2 felix.fileinstall.dir= ${karaf.base}/etc, /home/mansour/workspace/my-project/conf But it no longer works in 3.0.0. Am I missing something ?

Role Based Security

2013-11-11 Thread Mansour Al Akeel
I am try to understand how to get role based security to work. As I was searching, I found this thread and the implementation http://karaf.922171.n3.nabble.com/Some-thoughts-around-adding-security-for-Karaf-Shell-Commands-td4029474.html https://issues.apache.org/jira/browse/KARAF-2455 Which

Re: Karaf and OpenEJB

2013-11-09 Thread Mansour Al Akeel
I know the source code for karafee is located at http://svn.apache.org/repos/asf/tomee/karafee/trunk I am not if there's another source code repository I need to use to get the recent code. Thank you. On Sun, Nov 3, 2013 at 12:09 PM, Mansour Al Akeel mansour.alak...@gmail.com wrote: Charles

Re: Karaf and OpenEJB

2013-11-09 Thread Mansour Al Akeel
] osgi.wiring.package; ((osgi.wiring.package=javax.xml.namespace)(version=1.0.0)) karaf@root This issue exists with Karaf 2.3.3, 3.0.0-RC1 and the trunk version 3.0.0-SNAPSHOT. Thank you. On Sat, Nov 9, 2013 at 5:43 PM, Mansour Al Akeel mansour.alak...@gmail.com wrote: I know the source code

Re: Karaf and OpenEJB

2013-11-03 Thread Mansour Al Akeel
. I think nobody tested OpenEJB in Karaf 3.0.0-SNAPSHOT. Regards JB On 11/02/2013 09:23 PM, Mansour Al Akeel wrote: from the mailing list on TomEE, I understand that karafEE will be moving to karaf project. Is there any updates or plans

Karaf and OpenEJB

2013-11-02 Thread Mansour Al Akeel
from the mailing list on TomEE, I understand that karafEE will be moving to karaf project. Is there any updates or plans ?? Is there a way to install openEJB to karaf 3.0.0 SNAPSHOT ?? Thank you.

Unresolved constraint in bundle core

2013-09-25 Thread Mansour Al Akeel
I am new to osgi, and trying to prototype a modular system. The modules are built with maven, and using maven-bundle-plugin. The base module is using apache commons configurations package: plugin groupIdorg.apache.felix/groupId