damayanti kulkarni

Greenhorn
+ Follow
since Jan 23, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by damayanti kulkarni

I am trying to establish an application with stand-alone Client communicating with EJBs deployed on Sun Java System Application Server8.1.However i am using only stateless session bean acting as a Facade whereas actual DB communication is managed by a Hibernate+Spring Layer.

Whenever I am executing the same application with JBoss it works quite well however when i am executing the application with Sun App Server it gives a stack trace saying....

Caused by: java.lang.ExceptionInInitializerError
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:436)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:374)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249)
... 43 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getProtectionDomain)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.Class.getProtectionDomain(Class.java:1384)
at net.sf.cglib.core.ReflectUtils$1.run(ReflectUtils.java:42)
at java.security.AccessController.doPrivileged(Native Method)
at net.sf.cglib.core.ReflectUtils.<clinit>(ReflectUtils.java:40)
... 56 more
|#]


I do get the following message logged in the file....

Configuring ehcache from ehcache-failsafe.xml found in the classpath:file:/E:/Sun/AppServer/domains/domain1/applications/j2ee-modules/torinoSample/ehcache-failsafe.xml

But I have ehcache.jar file in classpath and it contains the ehcache-failsafe.xml file.
Hi All,
I have a web-application in tomcat 5.0. This web application is protected by JDBCRealm (Form authentication). When i am trying to access any resource (e.g. *.html, *.jsp) from this web application, it works fine. First, JDBCRealm checks if the user is authenticated or not.
If the user is not authenticated, JDCBRealm redirects to the login page.
After the successful user authentication, required resource is sent to the client.
I have a .NET exe in the same web application.But the problem is that, When i am trying to access this exe, JDBCRealm first shows the login page for authentication.Even if i enter correct user name and password, the requested resource(i.e. .NET exe) is not allocated to me. It doesn't show any exception or error.

I don't know, in one case (e.g. *.html and *.jsp pages) Realms works fine, and only in case of .NET exe doesn't work properly.

Please help me to resolve this problem.

Thanks
Damayanti
19 years ago
Hi all,
I have a web-application in tomcat 5.0. This web application is protected by JDBCRealm
(Form authentication) . When i am trying to access any resource (e.g. *.html, *.jsp) from this
web application, it works fine. First, JDBCRealm checks if the user is authenticated or not.
If the user is not authenticated, JDCBRealm redirects to the login page.
After the successful user authentication, required resource is sent to the client.

I also have a dotnet exe in the same web application.
But the problem is that, When i am trying to access this exe, JDBCRealm first shows the login page for authentication.
Even if i enter correct user name and password, the required resource, i.e. exe, is not
allocated to me. It doesn't show any exception or error.

I don't know, in one case (e.g. for html and jsp files) Realms works fine, and only in case of exe
doesn't work properly.

Thanks & Regards
Damayanti
19 years ago