Hi all.
I have a web application with sensitive information inside a class. To protect it, I
have encrypted the class and written a custom classloader in order to load and decrypt
it.
The class itself is masked with an interface which has a method which returns an
instance of the class
Hi,
public void contextInitialized(ServletContextEvent event)
{
CustomLoader c = new
CustomLoader(context.getClass().getClassLoader());
Class clazz = c.loadClass(C:\\jakarta-tomcat-
5.0.16\\temp\\,SecretClass,true);
If you add Class.forName(SecretClass) after this, does it
:26 AM
To: Tomcat Users List
Subject: RE: How to use a class loaded with a Custom ClassLoader
Hi,
public void contextInitialized(ServletContextEvent event)
{
CustomLoader c = new
CustomLoader(context.getClass().getClassLoader());
Class clazz = c.loadClass(C:\\jakarta-tomcat
Sent: Thursday, September 16, 2004 8:26 AM
To: Tomcat Users List
Subject: RE: How to use a class loaded with a Custom ClassLoader
Hi,
public void contextInitialized(ServletContextEvent event)
{
CustomLoader c = new
CustomLoader(context.getClass().getClassLoader());
Class clazz = c.loadClass(C
[mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 9:06 AM
To: Tomcat Users List
Subject: RE: How to use a class loaded with a Custom ClassLoader
Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Actually, I'm not sure that would work anyhow. The Class is loaded in
your ClassLoader, and nowhere
Shapira
Millennium Research Informatics
-Original Message-
From: gfdgdf gdfgdf [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 9:06 AM
To: Tomcat Users List
Subject: RE: How to use a class loaded with a Custom ClassLoader
Shapira, Yoav wrote:
Hi,
Actually, I'm not sure
Hi All,
I'm trying to implement my own ClassLoader enabling to load encrypted classes into web
application context under Tomcat 4.0.6. My classloader implements as recommended. But
unfortunately I've got the following runtime exception:
javax.servlet.ServletException: Wrapper cannot find
Could someone please help,
I am running Tomcat 4.0.6 on Debian and are attempting to use a custom
ClassLoader to retrieve classes out of a hash table.
Looking on the web for some time and lookin through the mail archive I
found that bug #12501 mentioned that loaderClass does not work
Can anyone help me with custom class loaders in Tomcat.
I am trying to add a custom class loader that will retrieve classes from
a source other than the normal class path entries and cannot figure how
to get Tomcat to load my Class loader chained to WebappLoader.
I have tried entering the
This patch may help if you are compiling with JDK1.3 and using Tomcat5:
http://archives.real-time.com/pipermail/tomcat-devel/2003-February/046413.html
Rita
In a message dated 7/14/03 9:14:05 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
Subj:Custom ClassLoader configuration
Sorry Rita my explaination was a little brief.
I am using Tomcat 4.0.4 on Debian with JDK 1.3.1 and will be upgrading
to JDK 1.4 soon.
I have searched the web for an answer on this but no one seems to have
posted any information regarding setting up a custom class loader in
Tomcat.
I have
WebappLoader is in $CATALINA_HOME/server/lib, so your class must be as well
if you want extend it.
Stephen Peck [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sorry Rita my explaination was a little brief.
I am using Tomcat 4.0.4 on Debian with JDK 1.3.1 and will be upgrading
to
n loader;
}
}
---
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 4:55 AM
To: Tomcat Users List
Subject: Re: custom ClassLoader Purgatory in Tomcat 3.3.1
The classloader behavior for webapps is specified in the servlet spec to
be
exactly
Hello,
I'm having issues with using a custom classloader in Tomcat 3.3.1. I have a
need to load servlets from a runtime-determined classpath. The solution
worked fine in 3.2.x. Here's what I think the problem is (let me know where
my understanding is flawed):
I'm pretty confident any custom
will be able to do what you are attempting to
do, but without sample code, no one can help you.
Jake
At 12:59 AM 12/16/2002 -0800, you wrote:
Hello,
I'm having issues with using a custom classloader in Tomcat 3.3.1. I have a
need to load servlets from a runtime-determined classpath. The solution
;
}
}
---
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 4:55 AM
To: Tomcat Users List
Subject: Re: custom ClassLoader Purgatory in Tomcat 3.3.1
The classloader behavior for webapps
with some common classloading issues, but I don't know so much
about using a custom classloader. This might be a Tomcat-Dev list
question.
Jake
Monday, December 16, 2002, 9:35:07 AM, you wrote:
KH Have a look. Let me know what you think.
KH ---
KH import
17 matches
Mail list logo