Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
29 replies
Subscribers
6 subscribers
Views
6538 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
we are having problems getting our taskException emails to render after upgrade
Nathan
over 10 years ago
we are having problems getting our taskException emails to render after upgrade from 6.6.1 to 7.4
the affected JSP seems to be: /appian/runtime_ear/suite.ear/web.war/ntf/emailHtml/taskException_emailHtml.jsp
when a user hits this url directly it loads the JSP fine... but when the system tries to render the jsp to build the email body it throws a 401 access denied error... any ideas?...
OriginalPostID-116808
OriginalPostID-116808
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Those settings will work, but per the documentation they need a double restart of the engines. Just restart the engines twice.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
conf.suite.MAIL_SCHEME=httpconf.suite.MAIL_SERVER_AND_PORT=localhost:8080
Should this be localhost or the server name?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Nathan
over 10 years ago
depends on your topology, both work given certain assumptions. if you are single host topology, localhost is more logical.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
I am now getting this error:-
Caused by: java.net.SocketException: Unexpected end of file from server
I am not using localhost and my App Server port is different
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Basically these settings should point to your APP_SERVER whatever its name is and whatever port it's using
conf.suite.MAIL_SCHEME=http
conf.suite.MAIL_SERVER_AND_PORT=myappserver.mycompany.com:8080
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
Yes, that's what I am using
conf.suite.MAIL_SCHEME=http
conf.suite.MAIL_SERVER_AND_PORT=myserver.mycompany.com:21007
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
Only issue is that my App Server and my Web Server both are on the same box with just the PORT change from 21007 to 4511 and then Web Server and App Server both are HTTPS
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Can you post the stack trace under the line
java.net.SocketException: Unexpected end of file from server
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:772)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
at java.net.URLConnection.getContent(URLConnection.java:748)
at com.appiancorp.process.engine.MailBody.renderBody(MailBody.java:101)
at com.appiancorp.process.engine.MailRequest.renderEmailBody(MailRequest.java:63)
at com.appiancorp.process.engine.AbstractMailRequest.execute0(AbstractMailRequest.java:135)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
Caused by: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
at com.appiancorp.process.engine.AbstractMailRequest.execute0(AbstractMailRequest.java:140)
at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:80)
at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:104)
... 47 more
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<
>