RE: Tomcat 5.5 error

2008-12-24 Thread Mojumdar, Biswajit
OK. 

When I tried to open the attachments, I got an error 'File not found'.

But I was able to save and open the files later on from my desktop.

Thanks for the clarification.

- Biswajit

-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Tuesday, December 23, 2008 5:32 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5 error

> From: Mojumdar, Biswajit [mailto:biswajit.mojum...@hud.gov]
> Subject: RE: Tomcat 5.5 error
>
> Remember, this list automatically deletes the attachments.

No, it only deletes certain attachments, but not .xml files.  The ones
included by ZM came through fine.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat 5.5 error

2008-12-23 Thread Mojumdar, Biswajit
Remember, this list automatically deletes the attachments. You might
want to copy and paste the contents of the web and context.xml and
repost them again.

 

- Biswajit

 

 



From: zia mohades [mailto:zia.si...@gmail.com] 
Sent: Tuesday, December 23, 2008 3:56 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5 error

 

Hi steve,

first before telling what I have done in regards to your previous email,
I need to inform about this issue:

1) when I restart the server and try to access the website:
http://localhost:8080/ I get this error:


***


HTTP Status 500 - 




type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.security.AccessControlException: access denied
(java.lang.RuntimePermission accessClassInPackage.org.apache.coyote)

 
java.security.AccessControlContext.checkPermission(AccessControlContext.
java:323)




 
java.security.AccessController.checkPermission(AccessController.java:546
)

 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)

 
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)




sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:273)

java.lang.ClassLoader.loadClass(ClassLoader.java:299)

java.lang.ClassLoader.loadClass(ClassLoader.java:299)

java.lang.ClassLoader.loadClass(ClassLoader.java:251)




java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

 
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputB
uffer.java:452)

 
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor
.java:1617)




 
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:967
)

org.apache.coyote.Response.action(Response.java:181)

 
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
er.java:576)




org.apache.coyote.Response.doWrite(Response.java:560)

 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
ava:361)

org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)

 
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
ava:236)




sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)

sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)

sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)

sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)




java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)

 
org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:185)

 
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:12
8)

 
org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
ava:536)




org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:256)

 
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)

 
org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:143)

 
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
19)




 
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:326)

 
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:342)

org.apache.jsp.index_jsp._jspService(index_jsp.java:50)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)




javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)




java.lang.reflect.Method.invoke(Method.java:597)

 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)

java.security.AccessController.doPrivileged(Native Method)

javax.security.auth.Subject.doAsPrivileged(Subject.java:517)




 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)

 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav
a:162)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.




but the funny part is that when I press enter again the page loads
successfully. but anyways here is the result of what  have done
according to your last email:

1)  as you said , the log part was commented so uncommented it in the
server.xml, 

2) restarted the server, accessed the http://localhost:8080/mms_test
again, but however the log directory is still empty , no files.

i have attached both web.xml and content.xml files as you have asked me
before!

please let me know if it is easier