Re: class linkage warnings (in a netbeans platform based app)

From: Marcin Skladaniec (marci..sh.com.au)
Date: Wed May 24 2006 - 19:03:08 EDT

  • Next message: Andrus Adamchik: "Re: class linkage warnings (in a netbeans platform based app)"

    XMPP messaging sounds good. Is anyone using it ?
    How does it work, does it send a notifications about any changes in
    context, or when the context is committed ?

    Regards
    Marcin

    On 25/05/2006, at 5:08 AM, Andrus Adamchik wrote:

    > cayenne.jar bundles essential runtime dependencies. Smack and JMS
    > libs are needed for the optional extensions (cross-vm messaging via
    > XMPP or JMS). You can safely ignore those warnings.
    >
    > Andrus
    >
    >
    > On May 24, 2006, at 4:58 AM, Tomi NA wrote:
    >
    >> In a NetBeans platform app, 3rd party .jars are wrapped in something
    >> called module wrappers.
    >> cayennne.jar is one of the .jars I wrap and use and I get warnings
    >> for
    >> all of them, but I believe people here will know how to explain the
    >> cayenne related warnings:
    >>
    >> verify-class-linkage:
    >> Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    >> org.jivesoftware.smack.SSLXMPPConnection
    >> Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    >> org.jivesoftware.smack.XMPPConnection
    >> Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    >> org.jivesoftware.smack.XMPPException
    >> Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    >> org.jivesoftware.smack.GroupChat
    >> Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    >> org.jivesoftware.smack.packet.Message
    >> Warning: org.objectstyle.cayenne.util.WebApplicationResourceLocator
    >> cannot access javax.servlet.ServletContext
    >> Warning: org.apache.log.output.jms.MessageBuilder cannot access
    >> javax.jms.JMSException
    >> Warning: org.objectstyle.cayenne.conf.BasicServletConfiguration
    >> cannot
    >> access javax.servlet.http.HttpSession
    >> Warning: org.objectstyle.cayenne.conf.BasicServletConfiguration
    >> cannot
    >> access javax.servlet.ServletContext
    >> Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    >> javax.jms.JMSException
    >> Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    >> javax.jms.Session
    >> Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    >> javax.jms.TextMessage
    >> ....
    >>
    >> Now, my app seems to work fine inspite of the warnings, but I'm
    >> curious as to why - when I unpack cayenne.jar I see no e.g.
    >> org.jivesoftware.* or javax.jms.* classes. I thought that cayenne.jar
    >> bundled all it's dependencies and cayenne-nodeps.jar was a liteweight
    >> version.
    >>
    >> t.n.a.
    >>
    >

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001



    This archive was generated by hypermail 2.0.0 : Wed May 24 2006 - 19:03:36 EDT