<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-79</id>
	<title>Nabble - Javamail</title>
	<updated>2009-12-10T22:52:47Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Javamail-f79.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Javamail-f79.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26739465</id>
	<title>SMTP mail sending problem</title>
	<published>2009-12-10T22:52:47Z</published>
	<updated>2009-12-10T22:52:47Z</updated>
	<author>
		<name>Jaibabu</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp; I am sending mail using SMTP (smtp.google.com) with 587 port. when i run the application in linux box, it throws the following exception &amp;quot;javax.mail.MessagingException: Could not connect to SMTP host: smtp.google.com, port: 587, response: -1&amp;quot;. But the same code working in my widows system.
&lt;br&gt;&lt;br&gt;&amp;nbsp; In linux box smtp server is connected with 587 port (using telnet command) but port no 25 is blocked.
&lt;br&gt;&lt;br&gt;&amp;nbsp; My code:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; String SMTP_Host_name = &amp;quot;smtp.google.com&amp;quot;; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String SMTP_Port= &amp;quot;587&amp;quot;; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final String Username = &amp;quot;xxx@mydomain.com&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final String Password = &amp;quot;xxxxxx&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String From_address = &amp;quot;xxx@mydomain.com&amp;quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String to_address=&amp;quot;jaibabu@gmail.com&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Properties properties = System.getProperties();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Setup mail server
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties.setProperty(&amp;quot;mail.smtp.host&amp;quot;, SMTP_Host_name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties.setProperty(&amp;quot;mail.transport.protocol&amp;quot;, &amp;quot;smtp&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties.put(&amp;quot;mail.smtp.port&amp;quot;, SMTP_Port);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties.put(&amp;quot;mail.smtp.auth&amp;quot;,&amp;quot;true&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties.put(&amp;quot;mail.smtp.starttls.enable&amp;quot;,&amp;quot;true&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Get the Session object.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Session ses = Session.getInstance(properties,new javax.mail.Authenticator() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected PasswordAuthentication getPasswordAuthentication() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new PasswordAuthentication(Username, Password);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ses.setDebug(false);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Create a default MimeMessage object.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MimeMessage message = new MimeMessage(ses);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // value of the InternetAddress.getLocalAddress method.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message.setFrom(new InternetAddress(From_address));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Add the given addresses to the specified recipient type.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InternetAddress addressTo = new InternetAddress(to_address);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message.addRecipient(Message.RecipientType.TO, addressTo);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message.setSubject(&amp;quot;Test Mail.&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message.setText(&amp;quot;Hello from Healthentic!&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Transport transport=ses.getTransport(&amp;quot;smtp&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transport.connect();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Send message
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transport.send(message);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transport.close();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I need some help. Thanks!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMTP-mail-sending-problem-tp26739465p26739465.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492148</id>
	<title>AddressException at InternetAddress checkAddress</title>
	<published>2009-11-24T00:28:25Z</published>
	<updated>2009-11-24T00:28:25Z</updated>
	<author>
		<name>masaz</name>
	</author>
	<content type="html">Hi, 
&lt;br&gt;&lt;br&gt;Is it a bug as follows?
&lt;br&gt;&lt;br&gt;ex) &amp;quot;abc\\&amp;quot;@example.com
&lt;br&gt;&lt;br&gt;AddressException(Unterminated quote) happens when I hand this address to 
&lt;br&gt;checkAddress() of the InternetAddress class.
&lt;br&gt;&lt;br&gt;* InternetAddress checkAddress() 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;boolean inquote = false;
&lt;br&gt;&amp;nbsp; &amp;nbsp;for (i = start; i &amp;lt; len; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;lastc = c;
&lt;br&gt;&amp;nbsp; &amp;nbsp;c = addr.charAt(i);
&lt;br&gt;&amp;nbsp; &amp;nbsp;// a quoted-pair is only supposed to occur inside a quoted string,
&lt;br&gt;&amp;nbsp; &amp;nbsp;// but some people use it outside so we're more lenient
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (c == '\\' || lastc == '\\') &amp;nbsp;&amp;lt;&amp;lt;--- here !!!
&lt;br&gt;&amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;…
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;if (inquote)
&lt;br&gt;&amp;nbsp; &amp;nbsp;throw new AddressException(&amp;quot;Unterminated quote&amp;quot;, addr);
&lt;br&gt;&lt;br&gt;When a letter just before that is \\, &amp;quot; is ignored.
&lt;br&gt;Because an inquote flag does not become off, an exception occurs.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;- masaz (imai masahiro)
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AddressException-at-InternetAddress-checkAddress-tp26492148p26492148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26070527</id>
	<title>MessageCountEvent has null messages in it</title>
	<published>2009-10-26T18:02:49Z</published>
	<updated>2009-10-26T18:02:49Z</updated>
	<author>
		<name>jchang</name>
	</author>
	<content type="html">I have a MessageCountListener implementation, and when &lt;b&gt;messagesRemoved(javax.mail.event.MessageCountEvent messageCountEvent)&lt;/b&gt;&amp;nbsp;is called, sometimes everything is fine on the event object, but sometimes:
&lt;br&gt;1) I get an array of null messages. &amp;nbsp;getMessages() returns an array of one, and it is null. &amp;nbsp;Or...
&lt;br&gt;2) I cannot get the UID for the message. &amp;nbsp;I can get the parent folder, but when I call parentFolder.getUIDValidity I can't get it. </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MessageCountEvent-has-null-messages-in-it-tp26070527p26070527.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25665083</id>
	<title>Delivery-Receipt notification</title>
	<published>2009-09-29T08:18:29Z</published>
	<updated>2009-09-30T00:26:33Z</updated>
	<author>
		<name>satheeshsamiappan</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;I have a scenario like mentioned below.
&lt;br&gt;&lt;br&gt;I send a mail through java application.Once i send a mail i need to get a delivery success mail in case if it is a success delivery.
&lt;br&gt;Im able to get a read reciept when the reciever gets the mail and reads the email. But not able to get a success delivery notification.
&lt;br&gt;&lt;br&gt;I tried the below code
&lt;br&gt;msg.addHeader(&amp;quot;Return-Receipt-To&amp;quot;, &amp;lt;sender address&amp;gt;);
&lt;br&gt;msg.setNotifyOptions(SMTPMessage.NOTIFY_SUCCESS);
&lt;br&gt;msg.setSendPartial(true);
&lt;br&gt;msg.setReturnOption(SMTPMessage.RETURN_FULL); 
&lt;br&gt;&lt;br&gt;Can anyone help me in resolving this issue?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Delivery-Receipt-notification-tp25665083p25665083.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24754066</id>
	<title>Re: Problem with JavaMail 1.4, SSLSocketFactory, and Web Start</title>
	<published>2009-07-31T03:12:10Z</published>
	<updated>2009-07-31T03:12:10Z</updated>
	<author>
		<name>adogg</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;allen petersen wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi.
&lt;br&gt;&lt;br&gt;So I'm trying to move up to JavaMail 1.4 for my application, and am running
&lt;br&gt;into a bit of a snag. &amp;nbsp;I have a custom SSLSocketFactory and TrustManager
&lt;br&gt;set up so that users can manually accept untrusted certificates in a web
&lt;br&gt;browser-like fashion--that is, if an SSL certificate is untrusted, you get
&lt;br&gt;a pop-up displaying the information on the certificate and an option to
&lt;br&gt;trust that certificate. &amp;nbsp;Now, the new way to do this in JavaMail 1.4 is to
&lt;br&gt;set up your SSLSocketFactory as the default SSLSocketFactory, like so:
&lt;br&gt;&lt;br&gt;&amp;nbsp; java.security.Security.setProperty(&amp;quot;ssl.SocketFactory.provider&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;quot;net.suberic.pooka.ssl.PookaSSLSocketFactory&amp;quot;);
&lt;br&gt;&lt;br&gt;So far so good. &amp;nbsp;This works just fine when I'm running as an everyday J2SE
&lt;br&gt;application.
&lt;br&gt;&lt;br&gt;When I try to deploy under Web Start, though, I end up getting this error:
&lt;br&gt;&lt;br&gt;javax.mail.MessagingException: java.lang.ClassNotFoundException:
&lt;br&gt;net.suberic.pooka.ssl.PookaSSLSocketFactory;
&lt;br&gt;&amp;nbsp; nested exception is:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.net.SocketException: java.lang.ClassNotFoundException:
&lt;br&gt;net.suberic.pooka.ssl.PookaSSLSocketFactory
&lt;br&gt;&lt;br&gt;(full stack trace included at the bottom)
&lt;br&gt;&lt;br&gt;Of course, net.suberic.pooka.ssl.PookaSSLSocketFactory _is_ included in the
&lt;br&gt;jar files available through Web Start. &amp;nbsp;Assumingly what's happening here is
&lt;br&gt;a classloader problem; I'm guessing that javax.net.ssl.SSLSocketFactory is
&lt;br&gt;getting loaded on a higher-up classloader such that
&lt;br&gt;net.suberic.pooka.ssl.PookaSSLSocketFactory isn't available to it.
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;br&gt;Wow this is an old thread, but I had the same problem and for the sake of others, I got around this by using reflection. &amp;nbsp;Instead of java.security.Security.setProperty(&amp;quot;ssl.SocketFactory.provider&amp;quot;,&amp;quot;TestSocketFactory&amp;quot;);
&lt;br&gt;&lt;br&gt;I used something like:
&lt;br&gt;&lt;br&gt;Field field = SSLSocketFactory.class.getDeclaredFields()[0]; 
&lt;br&gt;field.setAccessible(true);
&lt;br&gt;field.set(null, new TestSocketFactory());
&lt;br&gt;&lt;br&gt;This sets the &amp;quot;theFactory&amp;quot; member of SSLSocketFactory, which is used when getDefault() is called. &amp;nbsp;It's not pretty but it worked for me!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-JavaMail-1.4%2C-SSLSocketFactory%2C-and-Web-Start-tp6180288p24754066.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24501825</id>
	<title>Re: mail.smtp.connectiontimeout us not working when there is a CLOSE_WAIT state</title>
	<published>2009-07-15T09:43:53Z</published>
	<updated>2009-07-15T09:43:53Z</updated>
	<author>
		<name>scorpion10</name>
	</author>
	<content type="html">I did a small test with simple socket code and it seems that the problem is not in JavaMail but in the operating system itself. I ran the program in windows, solaris &amp; linux and had this problem in both solaris &amp; linux but not in windows...
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;scorpion10 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I am using JavaMail 1.4.2 and I tried to connect to a SMTP server with a port that has a CLOSE_WAIT (checked by doing a netstat) state. I have set both connectiontimeout &amp; timeout values to 10 seconds but the calls for trans.connect() never returns or throws exception until like for 3 to 4 minutes..Could anybody please explain how &amp;nbsp;Ican overcome this problem?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mail.smtp.connectiontimeout-us-not-working-when-there-is-a-CLOSE_WAIT-state-tp24499414p24501825.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24499414</id>
	<title>mail.smtp.connectiontimeout us not working when there is a CLOSE_WAIT state</title>
	<published>2009-07-15T07:44:28Z</published>
	<updated>2009-07-15T07:44:28Z</updated>
	<author>
		<name>scorpion10</name>
	</author>
	<content type="html">I am using JavaMail 1.4.2 and I tried to connect to a SMTP server with a port that has a CLOSE_WAIT (checked by doing a netstat) state. I have set both connectiontimeout &amp; timeout values to 10 seconds but the calls for trans.connect() never returns or throws exception until like for 3 to 4 minutes..Could anybody please explain how &amp;nbsp;Ican overcome this problem?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mail.smtp.connectiontimeout-us-not-working-when-there-is-a-CLOSE_WAIT-state-tp24499414p24499414.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24477154</id>
	<title>problem sending html emails on Geronimo</title>
	<published>2009-07-14T03:39:35Z</published>
	<updated>2009-07-14T03:39:35Z</updated>
	<author>
		<name>shawt</name>
	</author>
	<content type="html">&lt;b&gt;&lt;br&gt;Hi guys,
&lt;br&gt;&lt;br&gt;I am trying to send html emails using geronimo server. when the emails arrive at my inbox they are in plain text format and not html. I have tried excluding the gernonimo javamail classes without much luck. Here is the code I am using and a snapshot of the email that arrives. The comments in the code are where I have tried different things out. Hope someone can help.&lt;/b&gt;&lt;br&gt;&lt;br&gt;Session session = Session.getDefaultInstance(props, null);
&lt;br&gt;&lt;br&gt;Message msg = new MimeMessage(session);
&lt;br&gt;&lt;br&gt;msg.setFrom(new InternetAddress(from));
&lt;br&gt;msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(
&lt;br&gt;to, false));
&lt;br&gt;&lt;br&gt;msg.setSubject(subject);
&lt;br&gt;&lt;br&gt;//StringBuffer sbuf = new StringBuffer(body);
&lt;br&gt;//msg.setContent(new String(sbuf.toString().getBytes(), &amp;quot;iso-8859-1&amp;quot;), &amp;quot;text/html; charset=\&amp;quot;iso-8859-1\&amp;quot;&amp;quot;);
&lt;br&gt;&lt;br&gt;msg.setContent(body, &amp;quot;text/html&amp;quot;);
&lt;br&gt;msg.setSentDate(new Date());
&lt;br&gt;&lt;br&gt;//msg.setHeader(&amp;quot;Content-Transfer-Encoding&amp;quot;, &amp;quot;7bit&amp;quot;);
&lt;br&gt;//msg.setHeader(&amp;quot;Content-Type&amp;quot;, &amp;quot;text/html&amp;quot;);
&lt;br&gt;msg.saveChanges();
&lt;br&gt;&lt;br&gt;Transport.send(msg);
&lt;br&gt;&lt;b&gt;&lt;br&gt;Here is the email: Not sure why the some of the headers are appearing at the top of the mail. These headers also do not appear in the header information box visible through outlook.
&lt;br&gt;&lt;/b&gt;&lt;br&gt;MIME-Version: 1.0
&lt;br&gt;Content-Type: text/html; charset=iso-8859-1
&lt;br&gt;Content-Transfer-Encoding: 7bit
&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot;&amp;gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=ISO-8859-1&amp;quot; /&amp;gt;&amp;lt;title&amp;gt;GEQ004A_quote_1207.html&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;%@ include view=&amp;quot;gladiator_mirror_page_left&amp;quot; %&amp;gt;&amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt; &amp;lt;tr&amp;gt; &amp;lt;td width=&amp;quot;200&amp;quot; height=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#009933&amp;quot;&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td width=&amp;quot;350&amp;quot; bgcolor=&amp;quot;#009933&amp;quot;&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td width=&amp;quot;50&amp;quot; bgcolor=&amp;quot;#009933&amp;quot;&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;tr&amp;gt; &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;table width=&amp;quot;200&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;
&lt;br&gt;&lt;br&gt;Thanks for your help
&lt;br&gt;&lt;br&gt;Tom</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem-sending-html-emails-on-Geronimo-tp24477154p24477154.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24228413</id>
	<title>Re: store.getUsernamespace() method returning empty array</title>
	<published>2009-06-26T15:47:49Z</published>
	<updated>2009-06-26T15:47:49Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">cybercxf wrote on 6/26/09 1:31 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am using IMAP protocol to access our Exchange Server (Microsoft Exchange
&lt;br&gt;&amp;gt; Server 2003 IMAP4rev1 server version 6.5.7638.1). I want to crawl all the
&lt;br&gt;&amp;gt; mailboxes of all the other users. To this end, I am trying to use
&lt;br&gt;&amp;gt; store.getUserNamespaces(&amp;quot;xyz&amp;quot;) to get folders for other users. I am
&lt;br&gt;&amp;gt; connecting to the server using a username and password which has access to
&lt;br&gt;&amp;gt; all the mailboxes in the Exchange Server. However, this method is returning
&lt;br&gt;&amp;gt; me an empty array. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can anyone help and let me know what is going on?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; NOTE: I can access all the personal folders of the current user.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; CyberCXF
&lt;/div&gt;&lt;br&gt;You probably need to ask Microsoft.
&lt;br&gt;&lt;br&gt;The Store.getUserNamespaces method uses the IMAP NAMESPACE command.
&lt;br&gt;You'll have to ask Microsoft what information to expect to get back
&lt;br&gt;from that IMAP command in your case.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24228413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24228413&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/store.getUsernamespace%28%29-method-returning-empty-array-tp24226873p24228413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24226873</id>
	<title>store.getUsernamespace() method returning empty array</title>
	<published>2009-06-26T13:31:51Z</published>
	<updated>2009-06-26T13:31:51Z</updated>
	<author>
		<name>cybercxf</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am using IMAP protocol to access our Exchange Server (Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1). I want to crawl all the mailboxes of all the other users. To this end, I am trying to use
&lt;br&gt;store.getUserNamespaces(&amp;quot;xyz&amp;quot;) to get folders for other users. I am connecting to the server using a username and password which has access to all the mailboxes in the Exchange Server. However, this method is returning me an empty array. 
&lt;br&gt;&lt;br&gt;Can anyone help and let me know what is going on?
&lt;br&gt;&lt;br&gt;NOTE: I can access all the personal folders of the current user.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;CyberCXF</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/store.getUsernamespace%28%29-method-returning-empty-array-tp24226873p24226873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24014960</id>
	<title>Re: OT: List archive</title>
	<published>2009-06-13T10:58:02Z</published>
	<updated>2009-06-13T10:58:02Z</updated>
	<author>
		<name>Oliver Block-6</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;&lt;br&gt; Bill Shannon schrieb:&lt;br&gt;&amp;gt; http://archives.java.sun.com/cgi-bin/wa?A0=JAVAMAIL-INTEREST&lt;br&gt; &amp;gt; &lt;br&gt; &amp;gt; Don't know how much longer they'll be there since the mailing&lt;br&gt; &amp;gt; list software is being decommissioned.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;br&gt;&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
===========================================================================
To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24014960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
of the message &quot;signoff JAVAMAIL-INTEREST&quot;.  For general help, send email to
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24014960&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &quot;help&quot;.
&lt;p&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OT%3A-List-archive-tp24011277p24014960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24014443</id>
	<title>Re: OT: List archive</title>
	<published>2009-06-13T10:05:04Z</published>
	<updated>2009-06-13T10:05:04Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Oliver Block wrote:
&lt;br&gt;&amp;gt; Hello everybody,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; could anybody tell me where I'll find the list archive for 
&lt;br&gt;&amp;gt; javamail-interest?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://archives.java.sun.com/cgi-bin/wa?A0=JAVAMAIL-INTEREST&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archives.java.sun.com/cgi-bin/wa?A0=JAVAMAIL-INTEREST&lt;/a&gt;&lt;br&gt;&lt;br&gt;Don't know how much longer they'll be there since the mailing
&lt;br&gt;list software is being decommissioned.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24014443&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24014443&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OT%3A-List-archive-tp24011277p24014443.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24011277</id>
	<title>OT: List archive</title>
	<published>2009-06-13T03:30:58Z</published>
	<updated>2009-06-13T03:30:58Z</updated>
	<author>
		<name>Oliver Block-6</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Hello everybody,&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;could anybody tell me where I'll find the list archive for javamail-interest?&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Oliver Block&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
===========================================================================
To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24011277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
of the message &quot;signoff JAVAMAIL-INTEREST&quot;.  For general help, send email to
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24011277&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &quot;help&quot;.
&lt;p&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OT%3A-List-archive-tp24011277p24011277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23932922</id>
	<title>Re: Message read/unread notifications</title>
	<published>2009-06-08T14:28:40Z</published>
	<updated>2009-06-08T14:28:40Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Phung Nam wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everybody!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a trouble with &amp;quot;return receipt&amp;quot; problem in java. Anybody can help me
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm writing a web mail and when sending mail I have a option &amp;quot;Return
&lt;br&gt;&amp;gt; Receipt&amp;quot; (I add &amp;quot;Disposition-Notification-To&amp;quot; header to email before I
&lt;br&gt;&amp;gt; send). Other mail client (thunderbird) read it and confirm to send back a
&lt;br&gt;&amp;gt; return receipt =&amp;gt; It's okay
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My problems are :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. When I get the message, how to know that message already return receipt
&lt;br&gt;&amp;gt; before ? (because if that message haven't returned receipt I will confirm in
&lt;br&gt;&amp;gt; my webmail to send return receipt).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. How to send return receipt ? (The contend of receipt message) I see in
&lt;br&gt;&amp;gt; rfc3462 and rfc3798 but I don't know how to do in javamail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; These problem are very urgent for me. please help me ....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks a lots 
&lt;/div&gt;&lt;br&gt;Answered in the forum where you first posted:
&lt;br&gt;&lt;a href=&quot;http://forums.sun.com/thread.jspa?messageID=10733719&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.sun.com/thread.jspa?messageID=10733719&lt;/a&gt;&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23932922&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23932922&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Message-read-unread-notifications-tp22229366p23932922.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23867635</id>
	<title>Re: Deployment Exception</title>
	<published>2009-06-04T03:34:45Z</published>
	<updated>2009-06-04T03:34:45Z</updated>
	<author>
		<name>Fehmi Can SAGLAM</name>
	</author>
	<content type="html">it is about the order of tags. &amp;nbsp;you had better use 2_4.xsd
&lt;br&gt;&lt;br&gt;&amp;lt;web-app version=&amp;quot;2.4&amp;quot; xmlns=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/j2ee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/j2ee&lt;/a&gt;&amp;quot; 
&lt;br&gt;xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot; 
&lt;br&gt;xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/j2ee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/j2ee&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;and the order of tags must match:
&lt;br&gt;context-params, servlets, servlet-mappings, filters, filter-mappings, 
&lt;br&gt;error-pages...
&lt;br&gt;&lt;br&gt;it may also work with 2.3
&lt;br&gt;&lt;br&gt;&lt;br&gt;void_void wrote On 03-06-2009 17:55:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello i have following exception while deploying my webapp (which uses rich
&lt;br&gt;&amp;gt; faces).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Exception while deploying the app : java.io.IOException:
&lt;br&gt;&amp;gt; org.xml.sax.SAXParseException: The content of element type &amp;quot;filter&amp;quot; must
&lt;br&gt;&amp;gt; match
&lt;br&gt;&amp;gt; &amp;quot;(icon?,filter-name,display-name?,description?,filter-class,init-param*)&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; my web.xml is as follows
&lt;br&gt;&amp;gt; view plaincopy to clipboardprint?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;1. &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;2. &amp;lt;!DOCTYPE web-app PUBLIC &amp;quot;-//Sun Microsystems, Inc.//DTD Web
&lt;br&gt;&amp;gt; Application 2.3//EN&amp;quot; &amp;quot;&lt;a href=&quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/dtd/web-app_2_3.dtd&lt;/a&gt;&amp;quot;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;3. &amp;lt;web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;4. &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;Aplication1&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;5. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;6. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;com.sun.faces.config.ConfigureListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;7. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;8. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;9. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.verifyObjects&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 10. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 11. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 12. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 13. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.validateXml&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 14. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 15. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt;z &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 16. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 17. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.DEFAULT_SUFFIX&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 18. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;.xhtml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 19. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 20. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 21. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.DEVELOPMENT&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 22. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 23. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 24. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 25. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.SKIP_COMMENTS&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 26. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 27. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 28. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 29. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 30. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;/WEB-INF/applicationContext.xml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 31. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 32. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 33. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 34. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 35. &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; 36. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 37. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;RichFaces Filter&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 38. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 39. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.ajax4jsf.Filter&amp;lt;/filter-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 40. &amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 41. &amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 42. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 43. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 44. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 45. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 46. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;INCLUDE&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 47. &amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 48. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 49. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 50. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 51. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 52. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 53. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.STATE_SAVING_METHOD&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 54. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;client&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 55. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 56. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 57. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;org.richfaces.SKIN&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 58. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;DEFAULT&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 59. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 60. &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 61. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;org.springframework.web.context.request.RequestContextListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 62. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 63. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 64. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 65. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 66. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 67. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;javax.faces.webapp.FacesServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 68. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 69. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 70. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 71. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 72. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 73. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;2&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 74. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 75. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 76. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 77. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.jsf&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 78. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 79. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 80. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 81. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 82. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 83. &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 84. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file&amp;gt;TemplateClients/forward.jsp&amp;lt;/welcome-file&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 85. &amp;nbsp; &amp;nbsp; &amp;lt;/welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 86. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 87. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;exception-type&amp;gt;javax.faces.application.ViewExpiredException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 88. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 89. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 90. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 91. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 92. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error404.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 93. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 94. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 95. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 96. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error500.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 97. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 98. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 99. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;503&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;100. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error503.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;101. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;102. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;103. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.lang.exception&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;104. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;105. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;106. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;107. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.net.UnknownHostException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;108. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;109. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;110. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;111. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;javax.el.ELException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;112. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;113. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;114. &amp;nbsp; &amp;nbsp; &amp;lt;/web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!DOCTYPE web-app PUBLIC &amp;quot;-//Sun
&lt;br&gt;&amp;gt; Microsystems, Inc.//DTD Web Application 2.3//EN&amp;quot;
&lt;br&gt;&amp;gt; &amp;quot;&lt;a href=&quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/dtd/web-app_2_3.dtd&lt;/a&gt;&amp;quot;&amp;gt; &amp;lt;web-app&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;display-name&amp;gt;Aplication1&amp;lt;/display-name&amp;gt; &amp;lt;listener&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;com.sun.faces.config.ConfigureListener&amp;lt;/listener-class&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/listener&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;com.sun.faces.verifyObjects&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;com.sun.faces.validateXml&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt;z &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;javax.faces.DEFAULT_SUFFIX&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;.xhtml&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;facelets.DEVELOPMENT&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;facelets.SKIP_COMMENTS&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;/WEB-INF/applicationContext.xml&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;listener&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener&amp;lt;/listener-class&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/listener&amp;gt; &amp;lt;filter&amp;gt; &amp;lt;display-name&amp;gt;RichFaces Filter&amp;lt;/display-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;filter-class&amp;gt;org.ajax4jsf.Filter&amp;lt;/filter-class&amp;gt; &amp;lt;/filter&amp;gt; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;lt;servlet-name&amp;gt;Faces
&lt;br&gt;&amp;gt; Servlet&amp;lt;/servlet-name&amp;gt; &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt; &amp;lt;dispatcher&amp;gt;INCLUDE&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/filter-mapping&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;javax.faces.STATE_SAVING_METHOD&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;client&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-name&amp;gt;org.richfaces.SKIN&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;param-value&amp;gt;DEFAULT&amp;lt;/param-value&amp;gt; &amp;lt;/context-param&amp;gt; &amp;lt;listener&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;org.springframework.web.context.request.RequestContextListener&amp;lt;/listener-class&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/listener&amp;gt; &amp;lt;servlet&amp;gt; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;servlet-class&amp;gt;javax.faces.webapp.FacesServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt; &amp;lt;/servlet&amp;gt; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;load-on-startup&amp;gt;2&amp;lt;/load-on-startup&amp;gt; &amp;lt;/servlet&amp;gt; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;lt;url-pattern&amp;gt;*.jsf&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/servlet-mapping&amp;gt; &amp;lt;servlet-mapping&amp;gt; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt; &amp;lt;/servlet-mapping&amp;gt; &amp;lt;welcome-file-list&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;welcome-file&amp;gt;TemplateClients/forward.jsp&amp;lt;/welcome-file&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/welcome-file-list&amp;gt; &amp;lt;error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;exception-type&amp;gt;javax.faces.application.ViewExpiredException&amp;lt;/exception-type&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.jsf&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;error-page&amp;gt; &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/Error404.jsf&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;error-page&amp;gt; &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/Error500.jsf&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;error-page&amp;gt; &amp;lt;error-code&amp;gt;503&amp;lt;/error-code&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/Error503.jsf&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;error-page&amp;gt; &amp;lt;exception-type&amp;gt;java.lang.exception&amp;lt;/exception-type&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.xhtml&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;error-page&amp;gt; &amp;lt;exception-type&amp;gt;java.net.UnknownHostException&amp;lt;/exception-type&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;error-page&amp;gt; &amp;lt;exception-type&amp;gt;javax.el.ELException&amp;lt;/exception-type&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;lt;/error-page&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/web-app&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; it is getting deployed in glassfishV3 prelude in rest all the app. server it
&lt;br&gt;&amp;gt; is giving the mentioned exception(jetty,jboss,glassfishV2) 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23867635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23867635&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deployment-Exception-tp23853085p23867635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23856978</id>
	<title>Re: Deployment Exception</title>
	<published>2009-06-03T11:12:16Z</published>
	<updated>2009-06-03T11:12:16Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">This doesn't seem to have anything to do with JavaMail...
&lt;br&gt;&lt;br&gt;&lt;br&gt;void_void wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello i have following exception while deploying my webapp (which uses rich
&lt;br&gt;&amp;gt; faces).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Exception while deploying the app : java.io.IOException:
&lt;br&gt;&amp;gt; org.xml.sax.SAXParseException: The content of element type &amp;quot;filter&amp;quot; must
&lt;br&gt;&amp;gt; match
&lt;br&gt;&amp;gt; &amp;quot;(icon?,filter-name,display-name?,description?,filter-class,init-param*)&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; my web.xml is as follows
&lt;br&gt;&amp;gt; view plaincopy to clipboardprint?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;1. &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;2. &amp;lt;!DOCTYPE web-app PUBLIC &amp;quot;-//Sun Microsystems, Inc.//DTD Web
&lt;br&gt;&amp;gt; Application 2.3//EN&amp;quot; &amp;quot;&lt;a href=&quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/dtd/web-app_2_3.dtd&lt;/a&gt;&amp;quot;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;3. &amp;lt;web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;4. &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;Aplication1&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;5. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;6. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;com.sun.faces.config.ConfigureListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;7. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;8. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;9. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.verifyObjects&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 10. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 11. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 12. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 13. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.validateXml&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 14. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 15. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt;z &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 16. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 17. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.DEFAULT_SUFFIX&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 18. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;.xhtml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 19. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 20. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 21. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.DEVELOPMENT&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 22. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 23. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 24. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 25. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.SKIP_COMMENTS&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 26. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 27. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 28. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 29. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 30. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;/WEB-INF/applicationContext.xml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 31. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 32. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 33. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 34. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 35. &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; 36. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 37. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;RichFaces Filter&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 38. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 39. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.ajax4jsf.Filter&amp;lt;/filter-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 40. &amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 41. &amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 42. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 43. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 44. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 45. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 46. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;INCLUDE&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 47. &amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 48. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 49. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 50. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 51. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 52. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 53. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.STATE_SAVING_METHOD&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 54. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;client&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 55. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 56. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 57. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;org.richfaces.SKIN&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 58. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;DEFAULT&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 59. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 60. &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 61. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;listener-class&amp;gt;org.springframework.web.context.request.RequestContextListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 62. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 63. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 64. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 65. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 66. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 67. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;javax.faces.webapp.FacesServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 68. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 69. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 70. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 71. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 72. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 73. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;2&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 74. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 75. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 76. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 77. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.jsf&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 78. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 79. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 80. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 81. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 82. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 83. &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 84. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file&amp;gt;TemplateClients/forward.jsp&amp;lt;/welcome-file&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 85. &amp;nbsp; &amp;nbsp; &amp;lt;/welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 86. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 87. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;exception-type&amp;gt;javax.faces.application.ViewExpiredException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 88. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 89. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 90. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 91. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 92. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error404.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 93. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 94. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 95. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 96. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error500.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 97. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 98. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; 99. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;503&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;100. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error503.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;101. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;102. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;103. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.lang.exception&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;104. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;105. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;106. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;107. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.net.UnknownHostException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;108. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;109. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;110. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;111. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;javax.el.ELException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;112. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;113. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;114. &amp;nbsp; &amp;nbsp; &amp;lt;/web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it is getting deployed in glassfishV3 prelude in rest all the app. server it
&lt;br&gt;&amp;gt; is giving the mentioned exception(jetty,jboss,glassfishV2) 
&lt;/div&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23856978&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23856978&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deployment-Exception-tp23853085p23856978.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23853134</id>
	<title>Re: Deployment Exception</title>
	<published>2009-06-03T07:58:21Z</published>
	<updated>2009-06-03T07:58:21Z</updated>
	<author>
		<name>void_void</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;void_void wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hello i have following exception while deploying my webapp (which uses rich faces).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Exception while deploying the app : java.io.IOException: org.xml.sax.SAXParseException: The content of element type &amp;quot;filter&amp;quot; must match &amp;quot;(icon?,filter-name,display-name?,description?,filter-class,init-param*)&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;my web.xml is as follows
&lt;br&gt;view plaincopy to clipboardprint?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;1. &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;2. &amp;lt;!DOCTYPE web-app PUBLIC &amp;quot;-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN&amp;quot; &amp;quot;&lt;a href=&quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/dtd/web-app_2_3.dtd&lt;/a&gt;&amp;quot;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;3. &amp;lt;web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;4. &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;Aplication1&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;5. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;6. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;com.sun.faces.config.ConfigureListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;7. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;8. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;9. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.verifyObjects&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 10. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 11. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 12. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 13. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.validateXml&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 14. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 15. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt;z &amp;nbsp;
&lt;br&gt;&amp;nbsp; 16. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 17. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.DEFAULT_SUFFIX&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 18. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;.xhtml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 19. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 20. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 21. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.DEVELOPMENT&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 22. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 23. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 24. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 25. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.SKIP_COMMENTS&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 26. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 27. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 28. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 29. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 30. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;/WEB-INF/applicationContext.xml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 31. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 32. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 33. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 34. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 35. &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; 36. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 37. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;RichFaces Filter&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 38. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 39. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.ajax4jsf.Filter&amp;lt;/filter-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 40. &amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 41. &amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 42. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 43. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 44. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 45. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 46. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;INCLUDE&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 47. &amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 48. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 49. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 50. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 51. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 52. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 53. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.STATE_SAVING_METHOD&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 54. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;client&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 55. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 56. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 57. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;org.richfaces.SKIN&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 58. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;DEFAULT&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 59. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 60. &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 61. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;org.springframework.web.context.request.RequestContextListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 62. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 63. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 64. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 65. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 66. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 67. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;javax.faces.webapp.FacesServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 68. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 69. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 70. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 71. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 72. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 73. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;2&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 74. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 75. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 76. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 77. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.jsf&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 78. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 79. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 80. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 81. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 82. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 83. &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 84. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file&amp;gt;TemplateClients/forward.jsp&amp;lt;/welcome-file&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 85. &amp;nbsp; &amp;nbsp; &amp;lt;/welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 86. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 87. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;javax.faces.application.ViewExpiredException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 88. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 89. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 90. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 91. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 92. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error404.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 93. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 94. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 95. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 96. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error500.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 97. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 98. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 99. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;503&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;100. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error503.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;101. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;102. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;103. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.lang.exception&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;104. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;105. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;106. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;107. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.net.UnknownHostException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;108. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;109. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;110. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;111. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;javax.el.ELException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;112. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;113. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;114. &amp;nbsp; &amp;nbsp; &amp;lt;/web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;it is getting deployed in glassfishV3 prelude in rest all the app. server it is giving the mentioned exception(jetty,jboss,glassfishV2) 
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deployment-Exception-tp23853085p23853134.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23853085</id>
	<title>Deployment Exception</title>
	<published>2009-06-03T07:55:50Z</published>
	<updated>2009-06-03T07:55:50Z</updated>
	<author>
		<name>void_void</name>
	</author>
	<content type="html">Hello i have following exception while deploying my webapp (which uses rich faces).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Exception while deploying the app : java.io.IOException: org.xml.sax.SAXParseException: The content of element type &amp;quot;filter&amp;quot; must match &amp;quot;(icon?,filter-name,display-name?,description?,filter-class,init-param*)&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;my web.xml is as follows
&lt;br&gt;view plaincopy to clipboardprint?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;1. &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;2. &amp;lt;!DOCTYPE web-app PUBLIC &amp;quot;-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN&amp;quot; &amp;quot;&lt;a href=&quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/dtd/web-app_2_3.dtd&lt;/a&gt;&amp;quot;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;3. &amp;lt;web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;4. &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;Aplication1&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;5. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;6. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;com.sun.faces.config.ConfigureListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;7. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;8. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;9. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.verifyObjects&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 10. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 11. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 12. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 13. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;com.sun.faces.validateXml&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 14. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 15. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt;z &amp;nbsp;
&lt;br&gt;&amp;nbsp; 16. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 17. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.DEFAULT_SUFFIX&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 18. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;.xhtml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 19. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 20. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 21. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.DEVELOPMENT&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 22. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 23. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 24. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 25. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;facelets.SKIP_COMMENTS&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 26. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 27. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 28. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 29. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 30. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;/WEB-INF/applicationContext.xml&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 31. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 32. &amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 33. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 34. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 35. &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; 36. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 37. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;RichFaces Filter&amp;lt;/display-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 38. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 39. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.ajax4jsf.Filter&amp;lt;/filter-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 40. &amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 41. &amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 42. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;richfaces&amp;lt;/filter-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 43. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 44. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 45. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 46. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;INCLUDE&amp;lt;/dispatcher&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 47. &amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 48. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 49. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 50. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 51. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 52. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 53. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;javax.faces.STATE_SAVING_METHOD&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 54. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;client&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 55. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 56. &amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 57. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;org.richfaces.SKIN&amp;lt;/param-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 58. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;DEFAULT&amp;lt;/param-value&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 59. &amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 60. &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 61. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;org.springframework.web.context.request.RequestContextListener&amp;lt;/listener-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 62. &amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 63. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 64. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 65. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 66. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 67. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;javax.faces.webapp.FacesServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 68. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 69. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 70. &amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 71. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 72. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 73. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;2&amp;lt;/load-on-startup&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 74. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 75. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 76. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;Faces Servlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 77. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.jsf&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 78. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 79. &amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 80. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 81. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 82. &amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 83. &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 84. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;welcome-file&amp;gt;TemplateClients/forward.jsp&amp;lt;/welcome-file&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 85. &amp;nbsp; &amp;nbsp; &amp;lt;/welcome-file-list&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 86. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 87. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;javax.faces.application.ViewExpiredException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 88. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 89. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 90. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 91. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 92. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error404.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 93. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 94. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 95. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 96. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error500.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 97. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 98. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 99. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error-code&amp;gt;503&amp;lt;/error-code&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;100. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/Error503.jsf&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;101. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;102. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;103. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.lang.exception&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;104. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/LogoutPage.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;105. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;106. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;107. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;java.net.UnknownHostException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;108. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;109. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;110. &amp;nbsp; &amp;nbsp; &amp;lt;error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;111. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-type&amp;gt;javax.el.ELException&amp;lt;/exception-type&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;112. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;location&amp;gt;/TemplateClients/ErrorServerDown.xhtml&amp;lt;/location&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;113. &amp;nbsp; &amp;nbsp; &amp;lt;/error-page&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp;114. &amp;nbsp; &amp;nbsp; &amp;lt;/web-app&amp;gt; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;it is getting deployed in glassfishV3 prelude in rest all the app. server it is giving the mentioned exception(jetty,jboss,glassfishV2) </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deployment-Exception-tp23853085p23853085.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23830639</id>
	<title>Re: Message read/unread notifications</title>
	<published>2009-06-02T04:18:28Z</published>
	<updated>2009-06-02T04:18:28Z</updated>
	<author>
		<name>Ronald Klop</name>
	</author>
	<content type="html">I check if the message has been read already. With imap the server knows which mails are read and which aren't. With pop3 all this info is in the client, so I think it is not possible to share this info between clients.&lt;br /&gt;
&lt;br /&gt;
Ronald.&lt;br /&gt;
&lt;br /&gt;
&lt;p&gt;Op dinsdag, 2 juni 2009 11:21 schreef Phung Nam
&lt;phunghainam&gt;:&lt;blockquote style=&quot;padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px&quot;&gt;
&lt;div class=&quot;MessageRFC822Viewer&quot; id=&quot;P&quot;&gt;
&lt;div class=&quot;TextPlainViewer&quot; id=&quot;P.P&quot;&gt;Hi everybody!&lt;br /&gt;
&lt;br /&gt;
I have a trouble with &quot;return receipt&quot; problem in java. Anybody can help me&lt;br /&gt;
&lt;br /&gt;
I'm writing a web mail and when sending mail I have a option &quot;Return&lt;br /&gt;
Receipt&quot; (I add &quot;Disposition-Notification-To&quot; header to email before I&lt;br /&gt;
send). Other mail client (thunderbird) read it and confirm to send back a&lt;br /&gt;
return receipt =&amp;gt; It's okay&lt;br /&gt;
&lt;br /&gt;
My problems are :&lt;br /&gt;
&lt;br /&gt;
1. When I get the message, how to know that message already return receipt&lt;br /&gt;
before ? (because if that message haven't returned receipt I will confirm in&lt;br /&gt;
my webmail to send return receipt).&lt;br /&gt;
&lt;br /&gt;
2. How to send return receipt ? (The contend of receipt message) I see in&lt;br /&gt;
rfc3462 and rfc3798 but I don't know how to do in javamail.&lt;br /&gt;
&lt;br /&gt;
These problem are very urgent for me. please help me ....&lt;br /&gt;
&lt;br /&gt;
Thanks a lots &lt;br /&gt;
--&amp;#160;&lt;br /&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Message-read-unread-notifications-tp22229366p23827767.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Message-read-unread-notifications-tp22229366p23827767.html&lt;/a&gt;&lt;br /&gt;
Sent from the Javamail mailing list archive at Nabble.com.&lt;br /&gt;
&lt;br /&gt;
===========================================================================&lt;br /&gt;
To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23830639&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body&lt;br /&gt;
of the message &quot;signoff JAVAMAIL-INTEREST&quot;. &amp;#160;For general help, send email to&lt;br /&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23830639&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &quot;help&quot;.&lt;br /&gt;
&amp;#160;&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;/phunghainam&gt;
&lt;/p&gt;
===========================================================================
To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23830639&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
of the message &quot;signoff JAVAMAIL-INTEREST&quot;.  For general help, send email to
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23830639&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &quot;help&quot;.
&lt;p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Message-read-unread-notifications-tp22229366p23830639.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23827767</id>
	<title>Re: Message read/unread notifications</title>
	<published>2009-06-02T02:21:43Z</published>
	<updated>2009-06-02T02:21:43Z</updated>
	<author>
		<name>Phung Nam</name>
	</author>
	<content type="html">Hi everybody!
&lt;br&gt;&lt;br&gt;I have a trouble with &amp;quot;return receipt&amp;quot; problem in java. Anybody can help me
&lt;br&gt;&lt;br&gt;I'm writing a web mail and when sending mail I have a option &amp;quot;Return Receipt&amp;quot; (I add &amp;quot;Disposition-Notification-To&amp;quot; header to email before I send). Other mail client (thunderbird) read it and confirm to send back a return receipt =&amp;gt; It's okay
&lt;br&gt;&lt;br&gt;My problems are :
&lt;br&gt;&lt;br&gt;1. When I get the message, how to know that message already return receipt before ? (because if that message haven't returned receipt I will confirm in my webmail to send return receipt).
&lt;br&gt;&lt;br&gt;2. How to send return receipt ? (The contend of receipt message) I see in rfc3462 and rfc3798 but I don't know how to do in javamail.
&lt;br&gt;&lt;br&gt;These problem are very urgent for me. please help me ....
&lt;br&gt;&lt;br&gt;Thanks a lots </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Message-read-unread-notifications-tp22229366p23827767.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23546076</id>
	<title>Re: Is there a way to validate completeness of a message fetched from IMAP folder?</title>
	<published>2009-05-14T10:55:56Z</published>
	<updated>2009-05-14T10:55:56Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">saurabhd wrote:
&lt;br&gt;&amp;gt; I plan to use JavaMail for one of my projects, where I need to download some
&lt;br&gt;&amp;gt; emails from a IMAP store (gmail), and move them to a issue tracking system.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a way to validate that email was downloaded / fetched with no
&lt;br&gt;&amp;gt; corruptions (or partial downlaods)?
&lt;br&gt;&lt;br&gt;No. &amp;nbsp;Although generally you'll get an exception if there's a problem.
&lt;br&gt;&lt;br&gt;The biggest problems are usually *not* undetected corruption of the data,
&lt;br&gt;but rather failures or bugs in the mail server.
&lt;br&gt;&lt;br&gt;&amp;gt; I understand from a response at stack overflow that &amp;quot;The IMAP protocol will
&lt;br&gt;&amp;gt; tell you how many octets are going to be transfered when you issue the FETCH
&lt;br&gt;&amp;gt; command.&amp;quot;. Is there a way in JavaMail to get the value of &amp;quot;how many octects
&lt;br&gt;&amp;gt; are going to be transfered&amp;quot;, so I can cross check the file, once JavaMail
&lt;br&gt;&amp;gt; API returns a success for a fetch?
&lt;br&gt;&lt;br&gt;You can use the getSize method, but see all the caveats in the javadocs.
&lt;br&gt;&lt;br&gt;&amp;gt; I also found getContentMD5 in IMAPMessage class. Do all IMAP servers support
&lt;br&gt;&amp;gt; this? i.e. can I get the contentMD5 before fetching the message and then
&lt;br&gt;&amp;gt; compare it to ensure completeness of the email?
&lt;br&gt;&lt;br&gt;Not all messages will include it.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23546076&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23546076&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-a-way-to-validate-completeness-of-a-message-fetched-from-IMAP-folder--tp23538398p23546076.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23538398</id>
	<title>Is there a way to validate completeness of a message fetched from IMAP folder?</title>
	<published>2009-05-14T04:05:59Z</published>
	<updated>2009-05-14T04:05:59Z</updated>
	<author>
		<name>saurabhd</name>
	</author>
	<content type="html">I plan to use JavaMail for one of my projects, where I need to download some emails from a IMAP store (gmail), and move them to a issue tracking system.
&lt;br&gt;&lt;br&gt;Is there a way to validate that email was downloaded / fetched with no corruptions (or partial downlaods)?
&lt;br&gt;&lt;br&gt;I understand from a response at stack overflow that &amp;quot;The IMAP protocol will tell you how many octets are going to be transfered when you issue the FETCH command.&amp;quot;. Is there a way in JavaMail to get the value of &amp;quot;how many octects are going to be transfered&amp;quot;, so I can cross check the file, once JavaMail API returns a success for a fetch?
&lt;br&gt;&lt;br&gt;I also found getContentMD5 in IMAPMessage class. Do all IMAP servers support this? i.e. can I get the contentMD5 before fetching the message and then compare it to ensure completeness of the email?
&lt;br&gt;&lt;a href=&quot;http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/IMAPMessage.html#getContentMD5(&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/IMAPMessage.html#getContentMD5(&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Saurabh</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-a-way-to-validate-completeness-of-a-message-fetched-from-IMAP-folder--tp23538398p23538398.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22853212</id>
	<title>Re: problems with multipart</title>
	<published>2009-04-02T10:54:09Z</published>
	<updated>2009-04-02T10:54:09Z</updated>
	<author>
		<name>Keeblebrox</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; Are you sure it isn't the anti-virus software that's corrupting the
&lt;br&gt;&amp;gt;&amp;gt; message?
&lt;br&gt;&lt;br&gt;&amp;gt;Most likely it is AVG email server (www.avg.com) part of anti-virus
&lt;br&gt;&amp;gt;protection product which is installed on sender's side.
&lt;br&gt;&lt;br&gt;I have a similar problem to the original poster's. Disabling AVG's email scanner on the recipient's side clears up the contents of the message, however. This means that the issue is with the recipient's AVG installation, not the sender's.
&lt;br&gt;&lt;br&gt;If they haven't been, AVG should be notified of the issue so they can fix their email scanner.
&lt;br&gt;&lt;br&gt;Brian</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problems-with-multipart-tp22176067p22853212.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22664554</id>
	<title>Re: NullpointerException when closing folder</title>
	<published>2009-03-23T09:54:13Z</published>
	<updated>2009-03-23T09:54:13Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Wolfgang Beikircher wrote:
&lt;br&gt;&amp;gt; Hi Bill!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now I saw what the problem is: in principle there is only one
&lt;br&gt;&amp;gt; possibility to cause a NullPointerException =&amp;gt; if you run out of memory.
&lt;br&gt;&amp;gt; And exactly that happend. The reason why I don't figured it out earlier
&lt;br&gt;&amp;gt; is because I don't checked the catalina.out file of Tomcat. Anyway, I
&lt;br&gt;&amp;gt; corrected now my source code in the way, that I transfer smaller chunks
&lt;br&gt;&amp;gt; of data.
&lt;br&gt;&lt;br&gt;That would explain it! &amp;nbsp;Thanks for letting me know.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22664554&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22664554&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NullpointerException-when-closing-folder-tp22618387p22664554.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22656835</id>
	<title>Re: NullpointerException when closing folder</title>
	<published>2009-03-23T02:35:34Z</published>
	<updated>2009-03-23T02:35:34Z</updated>
	<author>
		<name>Wolfgang Beikircher</name>
	</author>
	<content type="html">Hi Bill!
&lt;br&gt;&lt;br&gt;Now I saw what the problem is: in principle there is only one
&lt;br&gt;possibility to cause a NullPointerException =&amp;gt; if you run out of memory.
&lt;br&gt;And exactly that happend. The reason why I don't figured it out earlier
&lt;br&gt;is because I don't checked the catalina.out file of Tomcat. Anyway, I
&lt;br&gt;corrected now my source code in the way, that I transfer smaller chunks
&lt;br&gt;of data.
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;Wolfgang
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, 2009-03-20 at 11:39 -0700, Bill Shannon wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Wolfgang Beikircher wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi there!
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I'm using JavaMail 1.4.2 and get an NullPointerException when I try to
&lt;br&gt;&amp;gt; &amp;gt; close a folder. This happens only after some hours of run time of my
&lt;br&gt;&amp;gt; &amp;gt; application. Therefore, I think it has something to do with the
&lt;br&gt;&amp;gt; &amp;gt; connection timeout to the server. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; This is the error stack:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.iap.Protocol.command(Protocol.java:324)
&lt;br&gt;&amp;gt; &amp;gt; 	at
&lt;br&gt;&amp;gt; &amp;gt; com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:311)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPStore.releaseProtocol(IMAPStore.java:944)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPFolder.releaseProtocol(IMAPFolder.java:2666)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPFolder.cleanup(IMAPFolder.java:1143)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1132)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1055)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPStore.cleanup(IMAPStore.java:1289)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPStore.handleResponse(IMAPStore.java:1509)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.iap.Protocol.notifyResponseHandlers(Protocol.java:216)
&lt;br&gt;&amp;gt; &amp;gt; 	at
&lt;br&gt;&amp;gt; &amp;gt; com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:316)
&lt;br&gt;&amp;gt; &amp;gt; 	at com.sun.mail.imap.IMAPStore.close(IMAPStore.java:1217)
&lt;br&gt;&amp;gt; &amp;gt; 	at
&lt;br&gt;&amp;gt; &amp;gt; org.zimbra.exchange.email.transport.ImapMailServerWrapper.releaseConnection(ImapMailServerWrapper.java:129)
&lt;br&gt;&amp;gt; &amp;gt; 	... 7 more
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You may be right about a timeout causing this problem, but I'm
&lt;br&gt;&amp;gt; struggling to see why a timeout would cause this NullPointerException.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The code in Protocol.java is:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;public synchronized Response[] command(String command, Argument args) {
&lt;br&gt;&amp;gt; 	Vector v = new Vector();
&lt;br&gt;&amp;gt; 	boolean done = false;
&lt;br&gt;&amp;gt; 	String tag = null;
&lt;br&gt;&amp;gt; 	Response r = null;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	// write the command
&lt;br&gt;&amp;gt; 	try {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tag = writeCommand(command, args);
&lt;br&gt;&amp;gt; 	} catch (LiteralException lex) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.addElement(lex.getResponse());
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;done = true;
&lt;br&gt;&amp;gt; 	} catch (Exception ex) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Convert this into a BYE response
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.addElement(Response.byeResponse(ex));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;done = true;
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (!done) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;r = readResponse();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (IOException ioex) {
&lt;br&gt;&amp;gt; 		// convert this into a BYE response
&lt;br&gt;&amp;gt; 		r = Response.byeResponse(ioex);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (ProtocolException pex) {
&lt;br&gt;&amp;gt; 		continue; // skip this response
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.addElement(r);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (r.isBYE()) // shouldn't wait for command completion response
&lt;br&gt;&amp;gt; 		done = true;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// If this is a matching command completion response, we are done
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (r.isTagged() &amp;&amp; r.getTag().equals(tag))
&lt;br&gt;&amp;gt; 		done = true;
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Response[] responses = new Response[v.size()];
&lt;br&gt;&amp;gt; 	v.copyInto(responses);				// &amp;lt;---- line 324
&lt;br&gt;&amp;gt; 	timestamp = System.currentTimeMillis();
&lt;br&gt;&amp;gt; 	return responses;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;v&amp;quot; can't be null. &amp;nbsp;&amp;quot;responses&amp;quot; can't be null.
&lt;br&gt;&amp;gt; Even if one of the elements in v is null (which shouldn't happen),
&lt;br&gt;&amp;gt; that wouldn't cause the NullPointerException.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What am I missing?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ===========================================================================
&lt;br&gt;&amp;gt; To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22656835&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;&amp;gt; of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22656835&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;/div&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22656835&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22656835&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NullpointerException-when-closing-folder-tp22618387p22656835.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22642323</id>
	<title>javamail-announce and javamail-interest EOL - May 31, 2009</title>
	<published>2009-03-21T18:01:02Z</published>
	<updated>2009-03-21T18:01:02Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">I've been informed that the Listserv mailing list server that supports
&lt;br&gt;all mailing lists on java.sun.com will be removed from service on
&lt;br&gt;May 31, 2009. &amp;nbsp;Over the last few years, traffic on these mailing lists
&lt;br&gt;has dropped off significantly. &amp;nbsp;Most people prefer to use the forums
&lt;br&gt;at forums.sun.com. &amp;nbsp;In particular, I encourage you to use the JavaMail
&lt;br&gt;forum at &lt;a href=&quot;http://forums.sun.com/forum.jspa?forumID=43&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.sun.com/forum.jspa?forumID=43&lt;/a&gt;&amp;nbsp;for any issues that
&lt;br&gt;will benefit from community discussion.
&lt;br&gt;&lt;br&gt;Note also that there are forums and mailing lists at kenai.com, where the
&lt;br&gt;JavaMail source code is hosted: &lt;a href=&quot;http://kenai.com/projects/javamail&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kenai.com/projects/javamail&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Finally, feel free to send questions and bug reports directly to the JavaMail
&lt;br&gt;team at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22642323&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;javamail@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Thank you for your interest in JavaMail.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Bill Shannon
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JavaMail Team
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22642323&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22642323&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javamail-announce-and-javamail-interest-EOL---May-31%2C-2009-tp22642323p22642323.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22626627</id>
	<title>Re: NullpointerException when closing folder</title>
	<published>2009-03-20T11:39:57Z</published>
	<updated>2009-03-20T11:39:57Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Wolfgang Beikircher wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi there!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm using JavaMail 1.4.2 and get an NullPointerException when I try to
&lt;br&gt;&amp;gt; close a folder. This happens only after some hours of run time of my
&lt;br&gt;&amp;gt; application. Therefore, I think it has something to do with the
&lt;br&gt;&amp;gt; connection timeout to the server. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is the error stack:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;gt; 	at com.sun.mail.iap.Protocol.command(Protocol.java:324)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:311)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPStore.releaseProtocol(IMAPStore.java:944)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPFolder.releaseProtocol(IMAPFolder.java:2666)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPFolder.cleanup(IMAPFolder.java:1143)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1132)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1055)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPStore.cleanup(IMAPStore.java:1289)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPStore.handleResponse(IMAPStore.java:1509)
&lt;br&gt;&amp;gt; 	at com.sun.mail.iap.Protocol.notifyResponseHandlers(Protocol.java:216)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:316)
&lt;br&gt;&amp;gt; 	at com.sun.mail.imap.IMAPStore.close(IMAPStore.java:1217)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.zimbra.exchange.email.transport.ImapMailServerWrapper.releaseConnection(ImapMailServerWrapper.java:129)
&lt;br&gt;&amp;gt; 	... 7 more
&lt;/div&gt;&lt;br&gt;You may be right about a timeout causing this problem, but I'm
&lt;br&gt;struggling to see why a timeout would cause this NullPointerException.
&lt;br&gt;&lt;br&gt;The code in Protocol.java is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;public synchronized Response[] command(String command, Argument args) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Vector v = new Vector();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boolean done = false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String tag = null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Response r = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // write the command
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tag = writeCommand(command, args);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (LiteralException lex) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.addElement(lex.getResponse());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;done = true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception ex) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Convert this into a BYE response
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.addElement(Response.byeResponse(ex));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;done = true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (!done) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;r = readResponse();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (IOException ioex) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // convert this into a BYE response
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; r = Response.byeResponse(ioex);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (ProtocolException pex) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue; // skip this response
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.addElement(r);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (r.isBYE()) // shouldn't wait for command completion response
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; done = true;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// If this is a matching command completion response, we are done
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (r.isTagged() &amp;&amp; r.getTag().equals(tag))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; done = true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Response[] responses = new Response[v.size()];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; v.copyInto(responses);				// &amp;lt;---- line 324
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; timestamp = System.currentTimeMillis();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return responses;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;quot;v&amp;quot; can't be null. &amp;nbsp;&amp;quot;responses&amp;quot; can't be null.
&lt;br&gt;Even if one of the elements in v is null (which shouldn't happen),
&lt;br&gt;that wouldn't cause the NullPointerException.
&lt;br&gt;&lt;br&gt;What am I missing?
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22626627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22626627&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NullpointerException-when-closing-folder-tp22618387p22626627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22618387</id>
	<title>NullpointerException when closing folder</title>
	<published>2009-03-20T04:14:24Z</published>
	<updated>2009-03-20T04:14:24Z</updated>
	<author>
		<name>Wolfgang Beikircher</name>
	</author>
	<content type="html">Hi there!
&lt;br&gt;&lt;br&gt;I'm using JavaMail 1.4.2 and get an NullPointerException when I try to
&lt;br&gt;close a folder. This happens only after some hours of run time of my
&lt;br&gt;application. Therefore, I think it has something to do with the
&lt;br&gt;connection timeout to the server. 
&lt;br&gt;&lt;br&gt;This is the error stack:
&lt;br&gt;&lt;br&gt;Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.iap.Protocol.command(Protocol.java:324)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:311)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPStore.releaseProtocol(IMAPStore.java:944)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPFolder.releaseProtocol(IMAPFolder.java:2666)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPFolder.cleanup(IMAPFolder.java:1143)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1132)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1055)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPStore.cleanup(IMAPStore.java:1289)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPStore.handleResponse(IMAPStore.java:1509)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.iap.Protocol.notifyResponseHandlers(Protocol.java:216)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:316)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.mail.imap.IMAPStore.close(IMAPStore.java:1217)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.zimbra.exchange.email.transport.ImapMailServerWrapper.releaseConnection(ImapMailServerWrapper.java:129)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 7 more
&lt;br&gt;&lt;br&gt;&lt;br&gt;Could someone propose a workaround? 
&lt;br&gt;&lt;br&gt;Thanks. 
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;Wolfgang Beikircher
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22618387&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22618387&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NullpointerException-when-closing-folder-tp22618387p22618387.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22573523</id>
	<title>Re: Java Heap memory problem</title>
	<published>2009-03-17T23:21:55Z</published>
	<updated>2009-03-17T23:21:55Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Azwidohwi Swethane wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;I have a Java mail listener that picks up email from an IMAP server 
&lt;br&gt;&amp;gt; about 10 emails at a go. The listener then invoke an EJB method sending 
&lt;br&gt;&amp;gt; each message for processing. However, every time i deploy the 
&lt;br&gt;&amp;gt; application my heap memory keep rising until server crashes. I 
&lt;br&gt;&amp;gt; tried profiling the application but i can't pin point the problem so far.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any advice would be welcome if you have experience with processing high 
&lt;br&gt;&amp;gt; volume emails. Its my first time using java mail for high volume message 
&lt;br&gt;&amp;gt; processing.
&lt;/div&gt;&lt;br&gt;You've heard of the bisection method of debugging, right?
&lt;br&gt;&lt;br&gt;Eliminate half of your program and see what difference it makes.
&lt;br&gt;Then eliminate the other half and see what difference it makes.
&lt;br&gt;&lt;br&gt;Instead of actually reading email, generate fake data and process it.
&lt;br&gt;&lt;br&gt;Instead of actually processing the data with an EJB, just throw the data
&lt;br&gt;away.
&lt;br&gt;&lt;br&gt;See if either half causes your server memory to increase.
&lt;br&gt;&lt;br&gt;Repeat as necessary to narrow down the source of the problem.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22573523&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22573523&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Java-Heap-memory-problem-tp22567732p22573523.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22567732</id>
	<title>Java Heap memory problem</title>
	<published>2009-03-17T13:48:24Z</published>
	<updated>2009-03-17T13:48:24Z</updated>
	<author>
		<name>Azwidohwi Swethane</name>
	</author>
	<content type="html">Hi All,
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt; I have a Java mail listener that picks up email from an IMAP server about 10 emails at a go. The listener then invoke an EJB method sending each message for processing. However, every time i deploy the application my heap memory keep rising until server crashes. I tried profiling the application but i can&amp;#39;t pin point the problem so far.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Any advice would be welcome if you have experience with processing high volume emails. Its my first time using java mail for high volume message processing.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;David&lt;/div&gt;
===========================================================================
To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22567732&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
of the message &quot;signoff JAVAMAIL-INTEREST&quot;.  For general help, send email to
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22567732&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &quot;help&quot;.
&lt;p&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Java-Heap-memory-problem-tp22567732p22567732.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22549495</id>
	<title>Re: When do SharedInputStreams get closed?</title>
	<published>2009-03-16T16:01:55Z</published>
	<updated>2009-03-16T16:01:55Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Boris Burtin wrote:
&lt;br&gt;&amp;gt; Aha, thanks for the tip. &amp;nbsp;I may be able to dump my custom code and just use
&lt;br&gt;&amp;gt; SharedFileInputStream as is, if it shares file descriptors between
&lt;br&gt;&amp;gt; substreams. &amp;nbsp;Did substreams always share the file descriptor? &amp;nbsp;Maybe I
&lt;br&gt;&amp;gt; misread the code back in the 1.3 days.
&lt;br&gt;&lt;br&gt;Yes, the file is opened once.
&lt;br&gt;&lt;br&gt;&amp;gt; One followup question: if I close the top-level stream, does it mean that I'm
&lt;br&gt;&amp;gt; no longer able to call Part.getInputStream()? &amp;nbsp;I want to cache the
&lt;br&gt;&amp;gt; MimeMessage object to avoid reparsing later, but also conserve resources by
&lt;br&gt;&amp;gt; closing the file descriptor until the next time that the message content is
&lt;br&gt;&amp;gt; accessed.
&lt;br&gt;&lt;br&gt;Yes, closing the top level stream forces the others to close. &amp;nbsp;If you want
&lt;br&gt;them to remain open, you need to manage the top level stream explicitly.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549495&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549495&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/When-do-SharedInputStreams-get-closed--tp22547844p22549495.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22549216</id>
	<title>Re: When do SharedInputStreams get closed?</title>
	<published>2009-03-16T15:50:35Z</published>
	<updated>2009-03-16T15:50:35Z</updated>
	<author>
		<name>Boris Burtin-2</name>
	</author>
	<content type="html">Aha, thanks for the tip. &amp;nbsp;I may be able to dump my custom code and just use SharedFileInputStream as is, if it shares file descriptors between substreams. &amp;nbsp;Did substreams always share the file descriptor? &amp;nbsp;Maybe I misread the code back in the 1.3 days.
&lt;br&gt;&lt;br&gt;One followup question: if I close the top-level stream, does it mean that I'm no longer able to call Part.getInputStream()? &amp;nbsp;I want to cache the MimeMessage object to avoid reparsing later, but also conserve resources by closing the file descriptor until the next time that the message content is accessed.
&lt;br&gt;&lt;br&gt;----- &amp;quot;Bill Shannon&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549216&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bill.shannon@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Boris Burtin wrote:
&lt;br&gt;&amp;gt; &amp;gt; I have my own implementation of SharedInputStream, which accesses a
&lt;br&gt;&amp;gt; file 
&lt;br&gt;&amp;gt; &amp;gt; on disk with RandomAccessFile. &amp;nbsp;When newStream() is called, I create
&lt;br&gt;&amp;gt; a 
&lt;br&gt;&amp;gt; &amp;gt; new stream object that uses the same RandomAccessFile, and add it to
&lt;br&gt;&amp;gt; a 
&lt;br&gt;&amp;gt; &amp;gt; Set for reference counting. &amp;nbsp;When close() is called, I remove it
&lt;br&gt;&amp;gt; from 
&lt;br&gt;&amp;gt; &amp;gt; the Set. &amp;nbsp;When the last stream in the stream group is closed, I
&lt;br&gt;&amp;gt; close 
&lt;br&gt;&amp;gt; &amp;gt; the RandomAccessFile.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; After parsing a MimeMessage, I see a bunch of instances of my 
&lt;br&gt;&amp;gt; &amp;gt; SharedInputStream that weren't closed. &amp;nbsp;As a result, my file
&lt;br&gt;&amp;gt; descriptor 
&lt;br&gt;&amp;gt; &amp;gt; stays open indefinitely. &amp;nbsp;Is there an API call that I should make to
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; close the streams? &amp;nbsp;The only code I found that closes 
&lt;br&gt;&amp;gt; &amp;gt; MimeBodyPart.contentStream is updateHeaders().
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When the original SharedInputStream is closed, the sub-streams should
&lt;br&gt;&amp;gt; be
&lt;br&gt;&amp;gt; closed. &amp;nbsp;There may be bugs where the sub-streams aren't closed
&lt;br&gt;&amp;gt; independently
&lt;br&gt;&amp;gt; by JavaMail when they should be. &amp;nbsp;But since you create the top level
&lt;br&gt;&amp;gt; stream
&lt;br&gt;&amp;gt; to pass to MimeMessage for parsing, you should be able to close it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Have you looked at SharedFileInputStream?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ===========================================================================
&lt;br&gt;&amp;gt; To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549216&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the
&lt;br&gt;&amp;gt; body
&lt;br&gt;&amp;gt; of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send
&lt;br&gt;&amp;gt; email to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549216&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;/div&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549216&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22549216&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/When-do-SharedInputStreams-get-closed--tp22547844p22549216.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22548558</id>
	<title>Re: When do SharedInputStreams get closed?</title>
	<published>2009-03-16T15:03:40Z</published>
	<updated>2009-03-16T15:03:40Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">Boris Burtin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have my own implementation of SharedInputStream, which accesses a file 
&lt;br&gt;&amp;gt; on disk with RandomAccessFile. &amp;nbsp;When newStream() is called, I create a 
&lt;br&gt;&amp;gt; new stream object that uses the same RandomAccessFile, and add it to a 
&lt;br&gt;&amp;gt; Set for reference counting. &amp;nbsp;When close() is called, I remove it from 
&lt;br&gt;&amp;gt; the Set. &amp;nbsp;When the last stream in the stream group is closed, I close 
&lt;br&gt;&amp;gt; the RandomAccessFile.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After parsing a MimeMessage, I see a bunch of instances of my 
&lt;br&gt;&amp;gt; SharedInputStream that weren't closed. &amp;nbsp;As a result, my file descriptor 
&lt;br&gt;&amp;gt; stays open indefinitely. &amp;nbsp;Is there an API call that I should make to 
&lt;br&gt;&amp;gt; close the streams? &amp;nbsp;The only code I found that closes 
&lt;br&gt;&amp;gt; MimeBodyPart.contentStream is updateHeaders().
&lt;/div&gt;&lt;br&gt;When the original SharedInputStream is closed, the sub-streams should be
&lt;br&gt;closed. &amp;nbsp;There may be bugs where the sub-streams aren't closed independently
&lt;br&gt;by JavaMail when they should be. &amp;nbsp;But since you create the top level stream
&lt;br&gt;to pass to MimeMessage for parsing, you should be able to close it.
&lt;br&gt;&lt;br&gt;Have you looked at SharedFileInputStream?
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22548558&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22548558&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/When-do-SharedInputStreams-get-closed--tp22547844p22548558.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22547844</id>
	<title>When do SharedInputStreams get closed?</title>
	<published>2009-03-16T14:04:44Z</published>
	<updated>2009-03-16T14:04:44Z</updated>
	<author>
		<name>Boris Burtin-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style='font-family: Arial; font-size: 12pt; color: #000000'&gt;I have my own implementation of SharedInputStream, which accesses a file on disk with RandomAccessFile.&amp;nbsp; When newStream() is called, I create a new stream object that uses the same RandomAccessFile, and add it to a Set for reference counting.&amp;nbsp; When close() is called, I remove it from the Set.&amp;nbsp; When the last stream in the stream group is closed, I close the RandomAccessFile.&lt;br&gt;&lt;br&gt;After parsing a MimeMessage, I see a bunch of instances of my SharedInputStream that weren't closed.&amp;nbsp; As a result, my file descriptor stays open indefinitely.&amp;nbsp; Is there an API call that I should make to close the streams?&amp;nbsp; The only code I found that closes MimeBodyPart.contentStream is updateHeaders().&lt;br&gt;&lt;br&gt;Thanks in advance,&lt;br&gt;&lt;br&gt;Boris&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;
===========================================================================
To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22547844&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
of the message &quot;signoff JAVAMAIL-INTEREST&quot;.  For general help, send email to
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22547844&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &quot;help&quot;.
&lt;p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/When-do-SharedInputStreams-get-closed--tp22547844p22547844.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22506873</id>
	<title>Re: What is the order of retrieval for folder.getMessage(1)</title>
	<published>2009-03-13T16:08:40Z</published>
	<updated>2009-03-13T16:08:40Z</updated>
	<author>
		<name>Bill Shannon</name>
	</author>
	<content type="html">KevinHB wrote:
&lt;br&gt;&amp;gt; If I have a bunch of messages in a folder (say folder.getMessageCount() == 5)
&lt;br&gt;&amp;gt; and I call folder.getMessage(1) is there any way to tell which message I'm
&lt;br&gt;&amp;gt; going
&lt;br&gt;&amp;gt; to get? &amp;nbsp;Maybe based on received date? &amp;nbsp;Maybe it depends on the provider?
&lt;br&gt;&amp;gt; In my testing it appears that there isn't an ordering but I wanted to ask.
&lt;br&gt;&lt;br&gt;Most servers will insert messages into the mailbox in the order they
&lt;br&gt;arrive, and that's the order you'll see. &amp;nbsp;Of course, it's possible for
&lt;br&gt;the server to do otherwise, as long as it meets the requirements of the
&lt;br&gt;protocol being used to access the mailbox. &amp;nbsp;For example, IMAP won't
&lt;br&gt;allow you to insert a new message between two existing messages, and
&lt;br&gt;there are requirements about the stability of UIDs over time.
&lt;br&gt;&lt;br&gt;===========================================================================
&lt;br&gt;To unsubscribe, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22506873&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body
&lt;br&gt;of the message &amp;quot;signoff JAVAMAIL-INTEREST&amp;quot;. &amp;nbsp;For general help, send email to
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22506873&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listserv@...&lt;/a&gt; and include in the body of the message &amp;quot;help&amp;quot;.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-is-the-order-of-retrieval-for-folder.getMessage%281%29-tp22504487p22506873.html" />
</entry>

</feed>
