Solved

cannot find com.sybase.jms.InitialContextFactory exception, which jar?

Posted on 2009-05-07
8
323 Views
Last Modified: 2012-05-06
Hi i am running a standalone java swing app, and on starting up, it's giving the following error. Can you guys tell me which jar file has the com.sybase.jms.InitialContextFactory  or is there some other problem with it?  Thanks.

2009-05-07 18:16:21,166 [Thread-2] ERROR  - com.mypackage.MessengerEjbAdapter - javax.naming.NoInitialContextException: Cannot instantiate class: com.sybase.jms.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.sybase.jms.InitialContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class: com.sybase.jms.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.sybase.jms.InitialContextFactory]
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
        at javax.naming.InitialContext.init(InitialContext.java:219)
        at javax.naming.InitialContext.<init>(InitialContext.java:195)
0
Comment
Question by:gagaliya
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 200 total points
ID: 24331429
Have you got something like Sybase JMS classes?
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 200 total points
ID: 24331436
0
 
LVL 92

Assisted Solution

by:objects
objects earned 300 total points
ID: 24331809


try easclient.jar
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 1

Author Comment

by:gagaliya
ID: 24332259
CEHJ, nope that's the problem. I checked all the included libraries jar for this project, there is nothing that starts with com.sybase.jms

The confusing part is the guy who handed me this application said i dont need any other jar but what's included to run it.  I have no idea how he managed to run the app without this class.

objects, do you know where i can actually download easclient.jar  i googled but could find any download links for this jar.

thanks guys
0
 
LVL 92

Assisted Solution

by:objects
objects earned 300 total points
ID: 24332281
you would need to get it from sybase.

Perhaps its actually a configuration issue

0
 
LVL 1

Author Comment

by:gagaliya
ID: 24337430
guys i really ran into a wall here.  does anyone know where i can get the jar that contains com.sybase.jms.InitialContextFactory  

cant find it anywhere and this app requries this class to run.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 300 total points
ID: 24342026
from sybase :)  you should have got it with whatever sybase product you are using

why are you using jms?
0
 
LVL 1

Author Closing Comment

by:gagaliya
ID: 31579253
ok
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question