[JBoss Microcontainer] - Re: Custom ClassLoader
by Ales Justin
Ales Justin [https://community.jboss.org/people/alesj] created the discussion
"Re: Custom ClassLoader"
To view the discussion, visit: https://community.jboss.org/message/804929#804929
--------------------------------------------------------------
>
> I guess the zero-roots CL (as you say) shares the domain of deployment's CL.
Can we somehow confirm this?
> Is that the reason why super.loadClass goes back to org.jboss.classloader.spi.base.BaseClassLoader ?
If 1st paragraph holds, then yes.
> Is there any thing wrong in what I did ? (I am able to get the breakpoint in loadClass method, and here the parent classloader is BaseClassLoader of jboss)
>From 10.000ft atm, no. :-)
> My war has few encrypted classes (which can be decrypted only if a hardware dongle is available using the ClassLoader provided by the hardware dongle). And now since we use JBoss, the encrypted classes are not been loaded. (In tomcat it was possible to set the system classloader : –Djava.system.class.loader in catalina.bat)
> I first tried to load then using translator (the previous post from me), but if I use translator, the plain bytecode is available in translator (after translator decrypts the encrypted class)
> So now I am trying to use this customClassLoader, and here use the ClassLoader provided the third party (the company which provides us the hardware dongle).
I don't see how translator is different from classloader.
In both cases you can see the actual bytecode.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/804929#804929]
Start a new discussion in JBoss Microcontainer at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[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