You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Potato Head <mr...@yahoo.com> on 2007/06/06 19:42:36 UTC

Tomcat, Jini, & NullPointerException

Hello, 

In a system-of-systems integration, everything for me runs fine at the command line. When I deploy one particular system under axis2 under tomcat, I get the following error....

java.lang.NullPointerException
    at com.gd.openwings.component.jini.JiniComponent.<init>(JiniComponent.java:175)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at net.openwings.component.ComponentFactory$1.run(ComponentFactory.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at net.openwings.component.ComponentFactory.getComponent(ComponentFactory.java:51)
    at net.openwings.component.ComponentFactory.getComponentComplex(ComponentFactory.java:96)
    at com.gd.sba.jbi.capi.java.ConnectionManager.<init>(ConnectionManager.java:155)
    at com.abc.fni.event.Publisher.publish(Publisher.java:69)
    ....

This system uses jini and I believe it is attempting to create some type of a connection to non-tomcat deployed jini-capable server running on the same workstation. Unfortunately, this is not my code and the source code is not available. Are there known incompatabilities with jini under tomcat? Are there fixes?

Thanks for any help or hints,
Mr. P. Head

Tools:
  Java 1.6.0
  Tomcat 6.0.13
  Axis2 1.2
  Jini 1.2




       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php