HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RMI Security Manager problem porting from Win2k to...
Operating System - HP-UX
1829132
Members
2063
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 10:07 AM
06-20-2002 10:07 AM
RMI Security Manager problem porting from Win2k to HP-UX
Hello!
I have an AppServer (JBoss) where I deploy some EJBs and have some dynamic class loading code. This makes me need a different java.policy file and a security manager.
In windows, I created a new java.policy
grant {
permission java.security.AllPermission;
};
and modified the app startup to specify -Djava.security.policy=%TEST_HOME%/java.policy -Djava.security.manager
It works great.
Then I ported the app to HP-UX. I did the same thing.
-Djava.security.policy=$TEST_HOME/java.policy -Djava.security.manager
and the app fails when calling a bean with the following stack trace:
16:39:56,143 [ERROR,ProxyProxy] getClasses
java.lang.ClassNotFoundException: BusBeanHome
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jboss.proxy.ProxyProxy.getClasses(ProxyProxy.java:35)
at org.jboss.proxy.ProxyProxy.readResolve(ProxyProxy.java:49)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectStreamClass.invokeMethod(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:439)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:419)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at Worker.executeMethod(Worker.java:243)
at Worker.run(Worker.java:144)
at java.lang.Thread.run(Unknown Source)
Where "Worker" is my class that does dynamic class loading using a string (class pack.name) from a file and BusBeanHome is the Home interface of the bean it is trying to invoke.
I'm 99% sure that this is JVM configuration on the policy side or something similar. Could anyone help on this?
Thank you for reading!
Duarte Loreto
I have an AppServer (JBoss) where I deploy some EJBs and have some dynamic class loading code. This makes me need a different java.policy file and a security manager.
In windows, I created a new java.policy
grant {
permission java.security.AllPermission;
};
and modified the app startup to specify -Djava.security.policy=%TEST_HOME%/java.policy -Djava.security.manager
It works great.
Then I ported the app to HP-UX. I did the same thing.
-Djava.security.policy=$TEST_HOME/java.policy -Djava.security.manager
and the app fails when calling a bean with the following stack trace:
16:39:56,143 [ERROR,ProxyProxy] getClasses
java.lang.ClassNotFoundException: BusBeanHome
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jboss.proxy.ProxyProxy.getClasses(ProxyProxy.java:35)
at org.jboss.proxy.ProxyProxy.readResolve(ProxyProxy.java:49)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectStreamClass.invokeMethod(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:439)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:419)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at Worker.executeMethod(Worker.java:243)
at Worker.run(Worker.java:144)
at java.lang.Thread.run(Unknown Source)
Where "Worker" is my class that does dynamic class loading using a string (class pack.name) from a file and BusBeanHome is the Home interface of the bean it is trying to invoke.
I'm 99% sure that this is JVM configuration on the policy side or something similar. Could anyone help on this?
Thank you for reading!
Duarte Loreto
Don't worry, be Happy!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP