Hi All,
Thanx a Lot Ramaswamy for Ur link....It was really great !
Now another Problem:
I made the SampleBean.java to MeraBean.java and compiled it.
After writing a Manifest file with SHA-MD5 algorithm generated a key for
the File
In short I got the MeraBean.jar consisting of :
MeraBean.class ,meta-inf\Manifest.mf.
Where Manifest File is:
Manifest-Version: 1.0
Name: MeraBean.class
Digest-Algorithms: SHA MD5
SHA-Digest: 2W2dcnfuZex//OIHKb7OJlReChs=
MD5-Digest: UQGuRXuyzDi0KVg4PqKP7w==
In the
<server_root>/properties/server/javawebserver/webpageservice/servlets.prope
rties
I have added the Following Lines :
servlet.MeraBean.jarFile=MeraBean.jar
servlet.MeraBean.bean=true
servlet.MeraBean.code=MeraBean
When I load the file MeraBean.jar using the
AdminServer(http:\\localhost:9090) to Load a File.I got the following Error
Messages:
1. [Sat Apr 24 16:58:43 PDT 1999] Exception in servlet MeraBean
[Sat Apr 24 16:58:43 PDT 1999] java.lang.ClassCastException: MeraBean
java.lang.ClassCastException: MeraBean
at
com.sun.server.ServletManager.instantiateLocalServlet(ServletManager.java:5
16)
at
com.sun.server.ServletManager.instantiateServlet(ServletManager.java:501)
at com.sun.server.ServletManager.loadServlet(ServletManager.java:711)
at com.sun.server.ServletManager.loadServlet(ServletManager.java:660)
at com.sun.server.ServletManager.loadServlet(ServletManager.java:629)
at com.sun.server.ServletManager.getAndLoadServletState(Compiled Code)
at com.sun.server.ServletManager.callServletService(Compiled Code)
at com.sun.server.http.InvokerServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.ServletState.callService(Compiled Code)
at com.sun.server.ServletManager.callServletService(Compiled Code)
at com.sun.server.webserver.HttpServiceHandler.handleRequest(Compiled
Code)
at com.sun.server.webserver.HttpServiceHandler.handleRequest(Compiled
Code)
at com.sun.server.HandlerThread.run(Compiled Code)
The message from the AdminServer itself is :
i)Cannot Load Bean Servlet properties :Unable to find and \or load
Servlet.
ii)Cannot update servlet MeraBean : MeraBean
Can Anyone Please Tell me what is the problem?
Thanx a Lot in Advance
Monish
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html