IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Problems executing code inside jar file.

  • 1.  Problems executing code inside jar file.

    Posted Wed February 07, 2007 09:56 AM

    Hi everybody!!

    I have some code thats works fine in eclipse running like a java class.
    Well,after tested it ,i´m trying to insert all java tamino API jars inside a unique jar file with that main class.

    Appears that i can not initialize ConnectionFactory
    if its helps show my code:
    connection = TConnectionFactory.getInstance().newConnection(DATABASE_URI);

    Give me a NullPointer exception in a connection var.

    Sorry for my bad english.

    Thanks a lot.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 2.  RE: Problems executing code inside jar file.

    Posted Wed February 07, 2007 12:39 PM