[JBoss Web Services] - javax.servlet.jsp.JspTagException: No message found under code ... for locale ...
by Paul Kellam
Paul Kellam [https://community.jboss.org/people/pmkellam] created the discussion
"javax.servlet.jsp.JspTagException: No message found under code ... for locale ..."
To view the discussion, visit: https://community.jboss.org/message/805724#805724
--------------------------------------------------------------
We have a server with a couple applications installed on it, that was running okay. It was restarted (related to replacing expired certificates). When it came back up, I found that the JBOSS service hadn’t been set to start automatically. Now it’s showing the error below and I really don’t know where to look for the cause of the problem – for example, another service that isn’t started or a configuration file that needs to be updated (though since it was running okay before, I’m not sure why that would be).
Any suggestions?
h1. HTTP Status 500 -
----
*type* Exception report
*message*
*description* The server encountered an internal error () that prevented it from fulfilling this request.
*exception*
org.apache.jasper.JasperException: An exception occurred processing JSP page /error.jsp at line 38 35: Logger log = LoggerFactory.getLogger("error.jsp"); 36: log.error("error.jsp",exception); 37: %> 38: <spring:message code="xyzerror.generalerror"></spring:message> 39: </div> 40: <div style="height:50px;clear:both"></div> 41: </td> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59) com.xyzsystems.framework.EncodingFilter.doFilter(EncodingFilter.java:36)
*root cause*
javax.servlet.ServletException: javax.servlet.jsp.JspTagException: No message found under code 'xyzerror.generalerror' for locale 'en_GB'. org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.error_jsp._jspService(error_jsp.java:118) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59) com.xyzsystems.framework.EncodingFilter.doFilter(EncodingFilter.java:36)
*root cause*
javax.servlet.jsp.JspTagException: No message found under code 'xyzerror.generalerror' for locale 'en_GB'. org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:184) org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79) org.apache.jsp.error_jsp._jspx_meth_spring_005fmessage_005f0(error_jsp.java:137) org.apache.jsp.error_jsp._jspService(error_jsp.java:102) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59) com.xyzsystems.framework.EncodingFilter.doFilter(EncodingFilter.java:36)
*note* The full stack trace of the root cause is available in the JBoss Web/3.0.0-CR1 logs.
----
h3. JBoss Web/3.0.0-CR1
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/805724#805724]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - Re: Guvnor - build package problem, import definitions
by Shailendra T
Shailendra T [https://community.jboss.org/people/stangirala] created the discussion
"Re: Guvnor - build package problem, import definitions"
To view the discussion, visit: https://community.jboss.org/message/805525#805525
--------------------------------------------------------------
Hi Tihomir,
I tried to create a sample process and have some imports of external classes from odata4j jars, but when I add it as you mentioned, it validates successfully, but when I build it throws process compilation error. Not sure how to add external jars to guvnor process import... any ideas?
This is the error I get :
Process Compilation error ODataConsumer cannot be resolved to a type ODataConsumers cannot be resolved FormatType.JSON cannot be resolved to a type OClientBehaviors cannot be resolved OEntity cannot be resolved to a type List cannot be resolved to a type OEntity cannot be resolved to a type OQueryRequest cannot be resolved to a type OEntity cannot be resolved to a type OEntity cannot be resolved to a type List cannot be resolved to a type OProperty cannot be resolved to a type OProperty cannot be resolved to a type EdmType cannot be resolved to a type
Thanks,
Shailendra
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/805525#805525]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[JNDI and Naming] - JNDI Remote Queue over web service
by Haitham Safi
Haitham Safi [https://community.jboss.org/people/haithamnor] created the discussion
"JNDI Remote Queue over web service"
To view the discussion, visit: https://community.jboss.org/message/805801#805801
--------------------------------------------------------------
Hi everybody,,,
iI create a web service to send a message, for local queue on local PC (127.0.0.1) it is correcte but for remote queue (192.168.20.35) as same queue name on remote PC return *< D queue not bound>* *Error* :
i used jboss 4.2.3 + axis2 + with eclipse
Same configuration for queue and username,password on local and remote machines.
------------------------------------------------------------------------
package edu;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Properties;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.ServletException;
public class MessageWS
{
String body = "";
public String Send_Messages(String msg) throws ServletException, IOException, URISyntaxException {
try
{
Context init =MessageWS.getInitialContext();
javax.jms.Queue destination = (javax.jms.Queue) init.lookup("queue/D");
ConnectionFactory connectionFactory = (ConnectionFactory) init.lookup("ConnectionFactory");
Connection connection = connectionFactory.createConnection("jone","pas123");//
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = session.createProducer(destination);
Date date =new Date();
TextMessage message = session.createTextMessage();
message.setText(msg);
connection.start();
producer.send(message);
body = message.getText();
session.close();
connection.close();
}
catch (Exception e)
{
return(e.toString());
}
return body ;
}
public static Context getInitialContext () throws JMSException,NamingException
{
Properties prop = new Properties();
prop.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
prop.setProperty("java.naming.provider.url", "192.168.20.35:1099);
Context context = new InitialContext(prop);
return context;
}
}
i execute the code in side JAVA Application it was workini correct, but Through web service i got an error
So any idea or help? :(
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/805801#805801]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years