# Problem with PDF reply

**URL:** <https://community.ciphermail.com/t/problem-with-pdf-reply/437>\
**Category:** Gateway\
**Created:** [March 25, 2015, 5:03pm UTC](https://community.ciphermail.com/t/problem-with-pdf-reply/437 "2015-03-25T17:03:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_A\_Perlman](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Jason\_A\_Perlman](https://community.ciphermail.com/u/Jason_A_Perlman)\
**Post date:** [March 25, 2015, 5:03pm UTC](https://community.ciphermail.com/t/problem-with-pdf-reply/437/1 "2015-03-25T17:03:21Z")

</div>

I'm having an issue when trying to reply to encrypted PDFs, the URL looks correct, in the logs I believe this to be the relevant line.

Caused by: java.lang.RuntimeException: Error obtaining injected value for field mitm.djigzo.web.pages.portal.pdf.PDFReply.clientSMTPHost: Symbol 'client.mail.smtp.host' is not defined.

I don't know where that is being read from, or where to set it. Any help would be greatly appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [March 25, 2015, 7:40pm UTC](https://community.ciphermail.com/t/problem-with-pdf-reply/437/2 "2015-03-25T19:40:22Z")

</div>

The most likely reason for this is that the parameter "djigzo-web.home"  
is not set or not correct. If djigzo-web.home is not set or not pointing  
to the correct directory, the properties file  
djigzo-web-portal.properties cannot be loaded. Since the default value  
for djigzo-web.home points to /usr/share/djigzo-web and this location is  
used when installing with the deb or rpm's. I'm guessing you installed  
CipherMail with the tar packages. Is this correct?

Check whether -Ddjigzo-web.home is set and correct in the file  
/etc/default/tomcat6 (or tomcat5 or 7 if you use a different Tomcat  
version).

Kind regards,

Martijn Brinkers

> **···**
>
> On 03/25/2015 06:03 PM, Jason A. Perlman wrote:
> 
> > I'm having an issue when trying to reply to encrypted PDFs, the URL  
> > looks correct, in the logs I believe this to be the relevant line.
> > 
> > Caused by: java.lang.RuntimeException: Error obtaining injected value  
> > for field mitm.djigzo.web.pages.portal.pdf.PDFReply.clientSMTPHost:  
> > Symbol 'client.mail.smtp.host' is not defined.
> > 
> > I don't know where that is being read from, or where to set it. Any  
> > help would be greatly appreciated.
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![Jason\_A\_Perlman](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Jason\_A\_Perlman](https://community.ciphermail.com/u/Jason_A_Perlman)\
**Post date:** [March 25, 2015, 7:58pm UTC](https://community.ciphermail.com/t/problem-with-pdf-reply/437/3 "2015-03-25T19:58:08Z")

</div>

Looks like that's it. I wasn't paying attention when I typed

echo "JAVA\_OPTS=\"\$JAVA\_OPTS -Ddjigzo-web.home=\  
/usr/local/djigzo-web\"" \>\> /etc/sysconfig/tomcat6

I ended up typing the \ after the = when I didn't need it because I wasn't splitting the command onto two lines.

Thank you so much!

> **···**
>
> -----Original Message-----  
> From: users-bounces(a)lists.djigzo.com [mailto:users-bounces(a)[lists.djigzo.com](http://lists.djigzo.com)] On Behalf Of Martijn Brinkers  
> Sent: Wednesday, March 25, 2015 3:40 PM  
> To: users(a)lists.djigzo.com  
> Subject: Re: Problem with PDF reply
> 
> On 03/25/2015 06:03 PM, Jason A. Perlman wrote:
> 
> > I'm having an issue when trying to reply to encrypted PDFs, the URL  
> > looks correct, in the logs I believe this to be the relevant line.
> > 
> > Caused by: java.lang.RuntimeException: Error obtaining injected value  
> > for field mitm.djigzo.web.pages.portal.pdf.PDFReply.clientSMTPHost:  
> > Symbol 'client.mail.smtp.host' is not defined.
> > 
> > I don't know where that is being read from, or where to set it. Any  
> > help would be greatly appreciated.
> 
> The most likely reason for this is that the parameter "djigzo-web.home"  
> is not set or not correct. If djigzo-web.home is not set or not pointing to the correct directory, the properties file djigzo-web-portal.properties cannot be loaded. Since the default value for djigzo-web.home points to /usr/share/djigzo-web and this location is used when installing with the deb or rpm's. I'm guessing you installed CipherMail with the tar packages. Is this correct?
> 
> Check whether -Ddjigzo-web.home is set and correct in the file  
> /etc/default/tomcat6 (or tomcat5 or 7 if you use a different Tomcat version).
> 
> Kind regards,
> 
> Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)
