Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[swordfish-dev] Chat transcript 19/02/2009

Title: Chat transcript 19/02/2009
[START Transcript 19/02/2009]

Dietmar Wolz
Hi Guillaume, do you have an idea why openConnection fails?

Andrey Kopachevsky
I've found out that one of the reason is that resource requested from non ComponentLifeCycle thread
there is this issue reproduced on plain jbi component
you can see this also from of Guallame stack trace
the root of the trace is    at java.lang.Thread.run(Thread.java:613)

Guillaume Nodet
yeah, i think i've found a workaround
working on that right now

Andrey Kopachevsky
so as I understand this is probably org.apache.felix.framework.URLHandlersBundleStreamHandler bug, it can't work in new thread context or something, Guallaume what do you think?

Guillaume Nodet
true, the fix i currently have is to not load the jbi components classes from the osgi classloader, but rather from the installation directory of the jbi component
thus, urls do not use bundle://, but rather plain file://
and it works

Dietmar Wolz
What about equinox, finally we don't want to use felix, could it be that the problem is felix specific?

Guillaume Nodet
might be, no idea how equinox does that
the main goal of this stuff is to be able to run multiple osgi containers in the same jvm and resolve urls correctly
i've no idea if equinox supports that and how

Dietmar Wolz
Andrey, what do you think we have to do to if we want not to use bundle://, but rather plain file://, how difficult is this patch?

Guillaume Nodet
this is a smx nmr problem really

Dietmar Wolz
Guillaume, you plan to provide a smx4 fix?

Guillaume Nodet
this is when the classloader for the jbi component is created
yes
i will commit it asap

Dietmar Wolz
thanks

Anubhav Sharma
thanks a lot Guillaume

Andrey Kopachevsky
@dietmar, we are not use "bundle" or "file", while resource loading, this things are  result of classloader resolving work
for example when in jpa invoking
DBDictionary.class.getResourceAsStream("sql-keywords.rsrc");
classloader resolve resource path as
jar:bundle://143.0:1/lib/openjpa-1.1.0.jar!/org/apache/openjpa/jdbc/sql/sql-keywords.rsrc
i don't know how to change it, so probably it time for my hack

Dietmar Wolz
Andrey, so you think Guillaumes fix will not be sufficient, or do you just propose to continue using your hack until Guillaumes patch is ready?

Guillaume Nodet
he means swordfish can't do anything, it's just a smx problem

Andrey Kopachevsky
yep

Guillaume Nodet
patch committed in smx nmr trunk

Andrey Kopachevsky
so quick, cool!

Guillaume Nodet
smx4-51 is partially integrated

Dietmar Wolz
thanks Guillaume, Andrey, do we still need your hack after Guillaumes patch?

Andrey Kopachevsky
no

Guillaume Nodet
i have not integrated the DynamicImport-Package change, though you can tweak it when installing the bundle from the command line in smx
osgi/install jbi:file:///Users/gnodet/tmp/apache-ode-jbi-1.2/ode-jbi-1.2.zip$DynamicImport-Package=javax.*,org.xml.*,org.w3c.*,org.apache.geronimo.transaction.manager.*

Andrey Kopachevsky
hm, I didin't know about this abbility

Guillaume Nodet
just added that yesterday
so currently, it would not work if you just drop the ode component in the deploy folder

Andrey Kopachevsky
ok, but still your approach much clear than path source code from our side)
thanks

Jürgen Kindler
The CI Swordfish build + Integration test ...
 IS GREEN!

Volodymyr Zhabiuk
awesome

Jürgen Kindler
Not really my work - just pushing a bit   
 Ok, just for info
>From now on at 9 a.m. and 1 p.m. the build will have to survive against an empty Maven repo.
So please make sure that you do not only add dependencies in your POM files, but also add repositories if necessary ...  

For now I'll post if the build is broken in chat.   
As soon as we have a designated build system, you'll get notified automatically.

Volodymyr Zhabiuk
https://issues.apache.org/activemq/browse/SMXCOMP-458
Guillaume, I'm trying to deploy the http bc(servicemix-http-2008.1.jar) into the equinox. It requires the shared library (servicemix-shared-2008.1.jar). In the jbi.xml it contains such entries
<shared-library class-loader-delegation="parent-first" version="2008.01">
   <identification>
     <name>servicemix-shared</name>
     <description>ServiceMix :: Shared</description>
   </identification>
   <shared-library-class-path>
     <path-element>lib/servicemix-shared-2008.01.jar</path-element>
     <path-element>lib/servicemix-common-2008.01.jar</path-element>
     <path-element>lib/xbean-spring-3.4.3.jar</path-element>
 ....
but in fact servicemix-shared-2008.1.jar doesn't contain any nested jars (only meta-inf directory). And when I try to deploy it I get an exception  
eb 19, 2009 12:47:11 PM org.apache.servicemix.jbi.deployer.impl.Deployer register
SEVERE: Error handling bundle start event
java.lang.IllegalArgumentException: SharedLibrary classpath entry not found: 'lib/servicemix-shared-
2008.01.jar'
at org.apache.servicemix.jbi.deployer.impl.SharedLibraryImpl.getClassLoader(SharedLibraryImpl.java:
65)
at org.apache.servicemix.jbi.deployer.impl.Deployer.getSharedLibraryClassLoader(Deployer.java:507)

Guillaume Nodet
isn't that jar in the shared lib zip ?

Volodymyr Zhabiuk
yes
when I build the servicemix-shared project the servicemix-shared.jar and servicemix-shared.zip files are created
the same as for the http-bc

Guillaume Nodet
yeah, you need to deploy the zips, not the jars

Volodymyr Zhabiuk
I chose the  servicemix-shared.jar as I thought it is for osgi packaging

Guillaume Nodet
ah, for osgi packaging, you don't deploy that jar
one sec

Volodymyr Zhabiuk
ok
but if I don't deploy that, I get a pending exception for http bc

Dietmar Wolz
@Andrey, succeeded to install ode-jbi-1.2.zip, but have problems with the actual ode snapshot (ode-jbi-2.1-SNAPSHOT.zip in my exchange under ode)
Can you reproduce this at your side (using Guillaumes newest nmr?)

Volodymyr Zhabiuk
Feb 19, 2009 12:57:44 PM org.apache.servicemix.jbi.deployer.impl.Deployer installComponent
INFO: Deploying bundle 'ServiceMix :: HTTP (servicemix-http)' as a JBI component
Feb 19, 2009 12:57:44 PM org.apache.servicemix.jbi.deployer.impl.Deployer register
WARNING: Requirements not met for JBI artifact in bundle ServiceMix :: HTTP (servicemix-http). Installation pending. org
.apache.servicemix.jbi.deployer.impl.PendingException: SharedLibrary not installed: servicemix-shared
http bc is deployed with osgi packaging

Guillaume Nodet
i recall something about that, give me one sec to think about it
i recall now
the jar includes the jbi descriptor, but they should only be included in the jbi installers (zip files)
this has been fixed in new snapshots of components
that said, it should still work
the components will be deployed as spring applications, and the jbi deployer should just log this warning and do nothing
but the components should still be deployed

Volodymyr Zhabiuk
ok, will try
thanks

Guillaume Nodet
so either use 2009.01 snapshots or ignore those warnings (and check it still work)

Andrey Kopachevsky
@dietmar yes

Dietmar Wolz
@Andrey do you have an idea about the source of the problem?

Andrey Kopachevsky
i can't tell you I still have building process
can build SMX4 from sources checkouted from
http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/
have lack of dependencies like servicemix bundles snapshots, for
example:
org.apache.servicemix.bundles:org.apache.servicemix.bundles.jetty-bundle:jar:6.1.14_1-SNAPSHOT
Dietmar did you see this problem?

Volodymyr Zhabiuk
why do u need a snapshot dependency?

Andrey Kopachevsky
yep
you mean I should build it?

Volodymyr Zhabiuk
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
   <artifactId>org.apache.servicemix.bundles.jetty-bundle</artifactId>
   
   <version>6.1.14_1</version>
</dependency>
<dependency>

Guillaume Nodet
i've fixed those, the snapshots have been removed some time ago because the bundles have been released

Andrey Kopachevsky
but I've uploaded sources today morning

Dietmar Wolz
No problems at my side, uploaded the result in my exchange

Andrey Kopachevsky
is this path correct *
http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/

Oliver Wolf
@guillaume BTW, we're plannignto move oiur developer chat to irc, would that be a problem for you? We clearly don't want to lose you on the way.

Guillaume Nodet
i'm mostly using irc, so i'd be happy to get rid of skype ...
just give me the irc connection infos

Oliver Wolf
cool... i'm going to send a mail with the connection info to the mailing list... we're going to start using irc from te next spring on i.e. March 9th

Zsolt Beothy-Elo
next spring or sprint? -:)

Oliver Wolf
ok, march is still in winter, so make that sprint

Dietmar Wolz
@Guillaume, did an svn update to smix4 nmr (http://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk) after you reported the checkin of your fix, can install ODE 1.2 using your command options but still get exceptions when starting the bundle, did you try it on your site?
@Guillaume, Got an U    jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/ComponentInstaller.java
after another svn update, so I will try again, may be I didn't get all of your changes
@Guillaume still get an
java.lang.RuntimeException: TransactionManager is not recoverable.
at org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:179)
starting ode-jbi-1.2

Volodymyr Zhabiuk
I think we should bother Guillaume, only in case we have found issues related to SMX

Guillaume Nodet
you need to install the transaction manager and refresh the nmr  bundles so that the bundles import the needed package
or restart the nmr after having installed the transaction manager

Dietmar Wolz
thanks for the hint Guillaume
@Guillaume: Another issue: Installing instead of ode 1.2 (which succeeds) I get an exception installing the actual ode snapshot from
http://hudson.zones.apache.org/hudson/view/ODE/job/ODE-trunk/lastStableBuild/artifact/trunk/distro/target/apache-ode-jbi-2.1-SNAPSHOT.zip,
could this be a SMIX4 problem?

15:28:24,503 | ERROR | localShell       | Connection                       | .jbi.deployer.handler.Connection   77 | Error opening jbi protocol artifact
java.util.zip.ZipException: invalid entry compressed size (expected 3290 but got 1470 bytes)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:194)
at org.apache.servicemix.jbi.deployer.handler.Transformer.transformToOSGiBundle(Transformer.java:127)
at org.apache.servicemix.jbi.deployer.handler.Connection.getInputStream(Connection.java:74) ...

Oliver Wolf
STATUS: Made some progress on the Orbit packages, most CQs are approved, so I'll be able to commit the majority of packages in this sprint. Confident to finish in time. Next: continuing Orbit stuff, no impediments, won't attend the sprint meeting today because of a conflicting appointment.

Dietmar Wolz
STATUS:
current tasks:
a) Try to deploy the 1.2 build of ODE to SMIX4
b) Try to deploy the actual Snapshot build of ODE to SMIX4
progress:
a) We identified a problem related to URL-resolving in SMX4,
communicated this with Guillaume who provided a patch, currently we are
testing the results
b) java.util.zip.ZipException: invalid entry compressed size exception, has to be investigated
next tasks:
continue with a) and b) and testing the examples as soon as the deployment succeeds

Volodymyr Zhabiuk
Task:Deploy jbi endpoints in osgi environment
Status:Not done yet
Have managed to deploy the Http binding component with osgi packaging. Now I'm struggling with the http jbi endpoint deploying  declared in the spring osgi application context. Also fixed the CI build

Jürgen Kindler
STATUS: CruiseControl Build running locally - Committers will received mail if build broken. Maven proxy on the way ...

Zsolt Beothy-Elo
STATUS:
Finished task with rgsitry domain model
Next task: Implementing loading of registry artifacts from file system into the in memory domain model

Andreas Mattes
STATUS: Installed BPEL editor from latest CVS in Eclipse Ganymede, currently trying out basic functionality

Andrey Kopachevsky
STATUS:
 Implementing Guallaume's fix for SMX classloader bug

Sergey Dneprovskiy
STATUS:
Currently I'm digging in the Swordfish code, tests and trying to understand the core concepts.
If noone disagrees I would take the task "Define communication and API between registry interceptor and the proxies repsonsible for different kind of locations" for Registry feature
Here I can investigate, make a proposal and then we can discuss it.

Anubhav Sharma
STATUS: offsprint

Joerg Drescher
Hi all. No Impendiments? clarificationsrequired?

Anubhav Sharma
ok
we are currently trapped in 2 problems
one related to ODE
and the other deploying http binding
@Volodymyr: whats ur gut feeling about it

Volodymyr Zhabiuk
I'm resolving problems one by one
possibly will need Guillaume's help
but it can be done
nothing impossible

Anubhav Sharma
nice to hear that

Guillaume Nodet
fwiw, i can deploy both (or at least i was able this morning) ...

Anubhav Sharma
according to Dietmar we are solving issues one by one#
but we are moving forward
and he is hopefull
with great support from Guillaume
thx Guillaume

Joerg Drescher
ok, sonds like some optimism is around ! My thanks to Guillaume also!

Anubhav Sharma
@Zsolt:
@Sergey: can you please discuss the initial steps with Zsolt
any further comments from anyone? otherwise we can finish our status meeting

Joerg Drescher
Yesterday I had provided some proposal for the swordfish project plan web site to Oliver and Anubhav.
As Oliver is not present right now...
@Anubhav: can you follow up with him if we need to change something or if we can publish it like it is?

Anubhav Sharma
ok sure i will do it Joerg

Zsolt Beothy-Elo
@Sergey: Let's talk about your first task after the Scrum meeting

Sergey Dneprovskiy
ok, sure

Anubhav Sharma
just one comment
we have still 2 stories which are not started at all
1. Code generation based on JAX-WS reference implmentation
and
JaxWS Service integration with ODE

Joerg Drescher
Is Renat present?... silently?

Anubhav Sharma
I don think so
Tommorow we have tooo discuss with Renat and Jerry how we can proceed with the code generation stuff

Joerg Drescher
Oh... Rent has not yet been allowed to enter this Chat!

Anubhav Sharma
ok so if no more comments, we can finish our status meeting for today

Joerg Drescher
@Anubhav or one of the comitters: Can you approve Renats request to participate?

Anubhav Sharma
Oliver is the admin
for this chat room

Joerg Drescher
No back up for him possible?

Anubhav Sharma
back up?

Joerg Drescher
I mean second Admin for the Chat room

Anubhav Sharma
i dont think
i will get it done to make sure Renat is here

Joerg Drescher
thanks

Sergey Dneprovskiy
@Zsolt: may we continue now?

Zsolt Beothy-Elo
sure

Sergey Dneprovskiy
@Zsolt: as I see we currenlty have an initial format for communication proposed by you
Now we can introduce an API on Swordfish side for proxies which will be used to retrieve a service descriptions from registry implementations...
I can start with these proxies, what is your suggestion?

[END]

Want to join the chat?
http://www.skype.com/go/joinpublicchat?skypename=ranyart99&topic=Swordfish%20Developers&blob=Gu7tZh64gTuo551Icz6_iwhXVeXxQ0K4yEzI5XFwGdWIQ_-miteLtgSBILodJ8koN6Uwy9PiotEU5ewRYFqEJeUtl1Yhfc1ipuVwOFz0SWN9HwMZAeikprh0R_8


--

Oliver Wolf
SOPERA GmbH



Attachment: ATT00001.c
Description: ATT00001.c


Back to the top