

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
7 messages in net.java.dev.jna.usersRe: [jna-users] JVM-Crash with JNA| From | Sent On | Attachments |
|---|---|---|
| Gregor B. Rosenauer | Oct 14, 2007 2:08 pm | |
| Timothy Wall | Oct 14, 2007 2:37 pm | |
| Gregor B. Rosenauer | Oct 15, 2007 2:32 pm | |
| Timothy Wall | Oct 15, 2007 4:22 pm | |
| Gregor B. Rosenauer | Oct 20, 2007 10:38 am | |
| Gregor B. Rosenauer | Nov 27, 2007 8:21 am | |
| Timothy Wall | Nov 27, 2007 9:45 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [jna-users] JVM-Crash with JNA | Actions... |
|---|---|---|
| From: | Gregor B. Rosenauer (greg...@gmail.com) | |
| Date: | Oct 15, 2007 2:32:30 pm | |
| List: | net.java.dev.jna.users | |
On Sunday 14 October 2007 23:37:49 Timothy Wall wrote:
You're using an old version of the jna library, you might consider rebuilding from SVN sources
Thanks, I did that but still got a crash on startup. Turned out to be a problem with using a static reference to the library, which ServiceMix did not seem to like (and it seems not "right" anyway). Rewrote to use a normal reference and moved it into the Endpoint's start()-method as opposed to the LifeCycle's start() and now I have not got any crashes so far. Also closing the library outside of the normal shutdown-procedure (accidentially in a Handler's processMessage-method...) seems to have contributed to this issue.
Seems also to have to do with ServiceMix's classloader, as I get some errors when initializing the API in multiple BindingComponent-instances in the same ServiceAssembly at once:
-E- CDI: <Line:1> (cin) already declared in this scope -E- CDI: <Line:1> (cout) already declared in this scope -E- CDI: <Line:1> (cerr) already declared in this scope -E- CDI: <Line:1> (S_ISUID) already declared in this scope -E- CDI: <Line:1> (S_ISGID) already declared in this scope -E- CDI: <Line:1> (S_IRWXU) already declared in this scope -E- CDI: <Line:1> (S_IRUSR) already declared in this scope -E- CDI: <Line:1> (S_IWUSR) already declared in this scope -E- CDI: <Line:1> (S_IXUSR) already declared in this scope -E- CDI: <Line:1> (S_IRWXG) already declared in this scope -E- CDI: <Line:1> (S_IRGRP) already declared in this scope -E- CDI: <Line:1> (S_IWGRP) already declared in this scope -E- CDI: <Line:1> (S_IXGRP) already declared in this scope -E- CDI: <Line:1> (S_IRWXO) already declared in this scope -E- CDI: <Line:1> (S_IROTH) already declared in this scope -E- CDI: <Line:1> (S_IWOTH) already declared in this scope -E- CDI: <Line:1> (S_IXOTH) already declared in this scope -E- CDI: <Line:1> (XFLAGS_) already declared in this scope -E- CDI: <Line:1> (FLAGS_) already declared in this scope -E- CDI: <Line:1> (Interactive_) already declared in this scope -E- CDI: <Line:1> (ShowPerming_) already declared in this scope -E- CDI: <Line:1> (Diag_) already declared in this scope -E- CDI: <Line:1> (Dates_) already declared in this scope -E- CDI: <Line:1> (AssCheck_) already declared in this scope -E- CDI: <Line:1> (StackPrint_) already declared in this scope -E- CDI: <Line:1> (CodePrint_) already declared in this scope -E- CDI: <Line:1> (AutoDeclare_) already declared in this scope -E- CDI: <Line:1> (TypePrint_) already declared in this scope -E- CDI: <Line:1> (SrcPrint_) already declared in this scope -E- CDI: <Line:1> (HeapPrint_) already declared in this scope -E- CDI: <Line:1> (StackStat_) already declared in this scope -E- CDI: <Line:1> (Blocked_) already declared in this scope -E- CDI: <Line:1> (true) already declared in this scope -E- CDI: <Line:1> (false) already declared in this scope -E- CDI: <Line:1> (on) already declared in this scope -E- CDI: <Line:1> (off) already declared in this scope -E- CDI: <Line:1> (pi) already declared in this scope
I get the feeling that I am misusing at least one of the technologies involved...,-)
Is the ServiceMix instability related to JNA or is that a separate issue?
Seems definitely related to me. Also did not experience any crashes with the stock components.
Thanks, Gregor







