Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / October 2003

Tip: Looking for answers? Try searching our database.

Java Web Start, JAAS and DB authentication problem

Thread view: 
Pierre-Yves - 15 Oct 2003 09:58 GMT
Hi all,

I'm using JAAS to do user authentication. My login module does a DB access
to that purpose.

Unfortunately, when starting my application with Java Web Start, i get a
NoClassDefFoundError on the DB driver class, although i added the driver's
jar to my JNLP file.

I read somewhere, that older versions of JWS were using an other class
loader for loading JAAS's login modules (and not the context class loader),
so i thought this might be my problem... so i downloaded and installed JDK
1.4.2_01 but that still doesn't help...

Any suggestion ?

Thanks in advance.

Pierre-Yves
Ian R. Govett - 21 Oct 2003 13:54 GMT
> Hi all,
>
[quoted text clipped - 15 lines]
>
> Pierre-Yves

I have a similar problem.  I have found that going into Java Webstart and
enabling the console log
eliminates the problem.  This problem only occurs (for me) when using the
IBM JRE.  If I use the JRE
from the Sun (JRE V1.4.2) the problem goes away.  You might try enabling the
java console log to see
if you have the same problem.

Ian


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.