DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28441>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28441

HTTP 500 editing Context

           Summary: HTTP 500 editing Context
           Product: Tomcat 5
           Version: 5.0.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Administration
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a context called "accounting" with the following entry in server.xml:

<Context path="/accounting" docbase="accounting">
<Realm className="org.apache.catalina.realm.DataSourceRealm" debug="99"   
dataSourceName="jdbc/accountingDB" digest="md5" userTable="employee"
userNameCol="employee_id" userCredCol="password" userRoleTable="role"
roleNameCol="role"/>
<Logger className="org.apache.catalina.logger.FileLogger" directory="logs"
prefix="accounting.log" suffix=".txt" timestamp="true"/>
</Context>

The entire application works well. But if i try to use the Tomcat Administrator 
for editing the DataSources or Realms of this context i get an HTTP 500 error.
The "jdbc/accountingDB" ressource is defined in GlobalNamingResources. Editing
this works well.

The errors are: For editing the contexts DataSources: 

javax.servlet.ServletException: Exception retrieving attribute 'driverClassName'
        
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
        
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
        admin.resources.listDataSources_jsp._jspService(listDataSources_jsp.java:429)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
        
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
        
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


For editing the contexts realms: 

HTTP Status 500 - Error retrieving attribute className

type Status report

message Error retrieving attribute className

description The server encountered an internal error (Error retrieving attribute
className) that prevented it from fulfilling this request.
Apache Tomcat/5.0.18

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to