This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes help on security warning on Struts configuration on J2SDKEE 1.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "help on security warning on Struts configuration on J2SDKEE 1.3.1 " Watch "help on security warning on Struts configuration on J2SDKEE 1.3.1 " New topic
Author

help on security warning on Struts configuration on J2SDKEE 1.3.1

Laurency Heo
Greenhorn

Joined: May 21, 2003
Posts: 9
I configure Struts 1.1 on J2SDKEE 1.3.1
when staring, it give a security warning message, else are ok!
[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
[WARN] MethodUtils - -Cannot use JVM pre-1.4 access bug workaround die to restrictive security manager.
Another solved problems:
For the origianl WEB-INF/validation.xml,validator-rules.xml, i removed the dtd declaration,
because server says 'can not found the entity' on startup.
Laurency Heo
Greenhorn

Joined: May 21, 2003
Posts: 9
access previlage check in file,
org.apache.commons.beanutils.MappedPropertyDescriptor.java,
how to work around the java.lang.RuntimePermission accessDelaredMembers
??
/*
* Internal method to return *public* methods within a class.
*/
private static synchronized Method[] getPublicDeclaredMethods(Class clz) {
// Looking up Class.getDeclaredMethods is relatively expensive,
// so we cache the results.
final Class fclz = clz;
Method[] result = (Method[]) declaredMethodCache.get(fclz);
if (result != null) {
return result;
}
// We have to raise privilege for getDeclaredMethods
result = (Method[])
AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
return fclz.getDeclaredMethods();
}
});
.....
 
jQuery in Action, 2nd edition
 
subject: help on security warning on Struts configuration on J2SDKEE 1.3.1
 
Similar Threads
Where to download binaries of J2EE 1.3.1 for Linux ?
setup j2sdkee1.3.1 for win 98
Where can I download binaries for J2EE1.3.1 for Linux ?
J2sdk 1.4.2_10 or J2sdk 1.3.1_19
Error While running AdviceBean from HFEJB