File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes When changing to JDK Vesion Security Exception is coming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "When changing to JDK Vesion Security Exception is coming" Watch "When changing to JDK Vesion Security Exception is coming" New topic
Author

When changing to JDK Vesion Security Exception is coming

vanraj vala
Greenhorn

Joined: Jan 23, 2006
Posts: 3
Hi All ,

I have written mine own Security Manger and as well as written BundleProtection domain . Then i have one application that internallu create one thread . Now this all the things are work fine when i compile my application using JDK 1.3 .
But when same application i complied in JDK 1.4 than newly created thread from that program is not getting any security .. and that thread is getting security exception .. !!!
i dont knw why just compilation is making this differerance .. becouse i tried lot of JRE version but that is not making any difference but only Compilation version of the JDK is making differerace.. How security of newly created thread is changing between JDK 1.3 and JDK 1.4 complitation.. ???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39541
    
  27
What code is causing the exception to be thrown?


Ping & DNS - updated with new look and Ping home screen widget
vanraj vala
Greenhorn

Joined: Jan 23, 2006
Posts: 3
The code that getting exception is just creating new thread and try to do some operation like opening socket connection.

But if this code is compile in jdk 1.3 than it is not getting any exception but when i compiled in jdk 1.4 that time it is getting security exception ...
Mallik Soupati
Greenhorn

Joined: Aug 20, 2006
Posts: 7
If you can post the stack trace, we can have somemore insight into this issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When changing to JDK Vesion Security Exception is coming
 
Similar Threads
WSAD 5.0 and JDK 1.5
problem with a Mock Object
compiling code using different versions (jdk 1.3 and jdk 1.4)
JDK 1.4 Problem with Test Environment 5.0
WSAD migrating to struts 1.2.4