Solved

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

Posted on 2009-05-07
8
317 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
  • 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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
couple of eclipse 5 46
servlet filter example 37 72
how to see all occupied ports on windows 10 laptop 15 77
IBM TS2900 (3572) Tape Autoloader Java? 12 19
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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
The viewer will learn how to implement Singleton Design Pattern in Java.

821 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