Spring dm, eclipselink and weaving hell [message #782980] |
Tue, 24 January 2012 16:30  |
Eclipse User |
|
|
|
Hi,
I'm so sorry to importunate you, but I'm really stuck on my project.
I'm trying to make Pax, Spring-dm, Eclipselink & atomikos running together (gemini-web and blueprint are too tied to Virgo for now).
I found an old post on Martin's springweaver to enable weaving on classes.
The problem is that it is only weaving either my configurable equinoxtransactionadapter or my woven model bundle if I refresh it (normally, you'll see an oh yes in the stack when persisting an object).
I join my sample (a simple helloworld).
It is missing some jars because of forum restriction:
* jacocoagent.jar on the root lib folder.
* ant-1.6.5.jar and core-3.1.1.jar (jdt) on orthank-sample\orthank-sample.java\orthank-sample.java.web\orthank-sample.java.web.simple\src\main\webapp\WEB-INF\lib in order to make jsf working.
Web services are broken because of this, so you have to desactivate the ws.client bundle and skiping tests in order to make the example work.
(mvn clean install -Dskip-tests=true and mvn pax:provision to run).
I'll be very happy to have a (or some) OSGI experts discussing on the problem or the architecture (I know it is not wonderfull, but it will be improved in the future), I'm near to have a full jee stack to contribute on many modeling projects (obeo designer, emf), pax, atomikos tx, and maybe jetty or cxf/servicemix, and a good future maven archetype embedding this stack.
Best regards, Charlie
(you can contact me on cmordant1@gmail.com if you're interested or have any question)
|
|
|
|
|
|
Re: Spring dm, eclipselink and weaving hell [message #783672 is a reply to message #783267] |
Thu, 26 January 2012 02:54  |
Eclipse User |
|
|
|
Hi Glyn,
You're right, ServerOsgiBundleXmlWebApplicationContext is definitely not a part of Gemini project, but wouldn't it be?
Loading blueprint context in a Web archive is something wich would be possible without using Virgo, am I wrong?
|
|
|
Powered by
FUDForum. Page generated in 0.49830 seconds