Is powersoft's class libraries in the classpath of your servlet engine?

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> mahal, himself
> Sent: Saturday, 8 May 1999 22:46
> To: [EMAIL PROTECTED]
> Subject: error 500, illegal access exception?
>
>
> hi
>
>
> does anyone knows what might cause an error 500
> with a illegal access exception?
>
> i can compile the code without any
> problems but if i load the servlet
> thru localhost:8080/servlet/maintenanceCategoriesAddValues
> this error occurs.
>
> i'm using jsdk2.1 on winnt
>
> this is my only servlet which doesn't work
> and it drives me crazy...
>
> thanx for any advice
>
> mahal
>
>
> Error: 500
> Internal Servlet Error:
> java.lang.IllegalAccessException: maintenanceCategoriesAddValues
>         at
> com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:90)
>         at
> com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109)
>         at
> com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>         at
> com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
>         at com.sun.web.core.Context.handleRequest(Context.java:375)
>         at com.sun.web.server.ConnectionHandler.run(Compiled Code)
>
>
> // custom imports for maintenanceCategoriesAddValues
> import com.sybase.*;
> import com.sybase.Tds.*;
> import com.sybase.jdbc.*;
> import powersoft.powerj.db.*;
> import powersoft.powerj.db.java_sql.*;
> import java.sql.*;
> import java.lang.*;
> import java.lang.reflect.*;
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
>
>
> class maintenanceCategoriesAddValues extends HttpServlet
> {
>     public boolean create()
>     {
>
>         return true;
>     }
>
>
>     public void doPost (HttpServletRequest request,
> HttpServletResponse response)
>         throws ServletException, IOException
>     {
>
>
>         // .....
>
>         // .....
>
>
>     }
>
>     public powersoft.powerj.db.java_sql.Transaction
> ynsConnection(String userId, String password)
>     {
>         powersoft.powerj.db.java_sql.Transaction
> transactionIntern = new powersoft.powerj.db.java_sql.Transaction();
>
>         // .....
>
>         // .....
>
>     }
>
>     public String getServletInfo() {
>         return "servlet shows form for insertin a new category";
>     }
>
>     public maintenanceCategoriesAddValues(){
>         super();
>     }
>
>     public void unhandledEvent( String listenerName, String
> methodName, java.lang.Object event ){
>         System.out.println("unhandledEvent: " + listenerName +
> methodName + event);
>     }
>
>
> }
>
> __________________________________________________________________
> _________
> 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
>

___________________________________________________________________________
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

Reply via email to