Solved

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

Posted on 2009-05-07
8
315 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
ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

809 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