Emdbedded Tomcat Issues

2021-04-25 Thread dana whitelow
 
Embedded Tomcat 9.0.0.M6
  
  
  Issue 1
  //    ctx.setAltDDName( 
"/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml"); 
    ctx.getServletContext().setAttribute(Globals.ALT_DD_ATTR, 
"/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml");

    Neither of the above  programmatic settings seems to have any effect on 
the message INFO: No global web.xml found


INFO: Starting Servlet Engine: Apache Tomcat/9.0.0.M6
Apr 26, 2021 1:58:59 AM org.apache.catalina.startup.ContextConfig 
getDefaultWebXmlFragment    
INFO: No global web.xml found
Apr 26, 2021 1:58:59 AM org.omnifaces.ApplicationInitializer logOmniFacesVersion
INFO: Using OmniFaces version 3.6.1
Apr 26, 2021 1:58:59 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet Faces Servlet as unavailable
Apr 26, 2021 1:58:59 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet [Faces Servlet] in web application [] threw load() exception
java.util.MissingResourceException: Can't find javax.faces.LogStrings bundle 
from 

Issue 2

from error message I think tomcat is looking for the file 
WebMessages.properties and WebMessages_es.properties from the faces-config.xml
which I have in the src/main/resources/hacc/web/ and  in  directory 
src/main/resources/META-INF/resources/hacc/web ,
but still it is giving me the error 
SEVERE: Servlet [Faces Servlet] in web application [] threw load() exception
java.util.MissingResourceException: Can't find javax.faces.LogStrings bundle 
from 

at java.logging/java.util.logging.Logger.setupResourceInfo(Logger.java:2289)
    at java.logging/java.util.logging.Logger.(Logger.java:565)
    at 
java.logging/java.util.logging.LogManager.demandLogger(LogManager.java:522)
    

Re: ApacheCon @Home 2021 Call for Presentations is open!

2021-04-25 Thread Rony G. Flatscher (Apache)
Hi Chris,

On 25.04.2021 15:57, Christopher Schultz wrote:
> On 4/24/21 13:23, Rony G. Flatscher (Apache) wrote:
>> Hi there,
>>
>> how about something like:
>>
>>  Apache Tomcat: Enabling Scripting Languages in JSPs
>>
>>  The Java Server Page (JSP) technology allows Java programmers to write 
>> webserver
>> applications by
>>  injecting Java code into HTML or XML pages which then get translated 
>> into Java programs,
>>  compiled and executed each time a client request refers to that JSP. 
>> This presentation
>>  introduces a new taglib which makes it possible to use any Java 
>> scripting language (exploiting
>>  either the Java scripting framework or the Apache Bean Scripting 
>> framework) in JSPs in addition
>>  to or instead of Java thereby serving client requests in the client's 
>> request thread. The
>> taglib
>>  allows among other things to fetch the script code from files and 
>> invoke such programs with the
>>  Servlet's service method arguments (request and response).
>>
>> Would such a presentation be of interest to the audience?
>
> I would definitely submit that to the ApacheCon @Home Call-for-Presentations. 
> Proposals are
> evaluated by a bunch of different people. most presentations I've seen come 
> across in the past
> have been accepted.

thank you for your thumbs up, just filed the proposal.

---rony



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: ApacheCon @Home 2021 Call for Presentations is open!

2021-04-25 Thread Christopher Schultz

Rony,

On 4/24/21 13:23, Rony G. Flatscher (Apache) wrote:

Hi there,

how about something like:

 Apache Tomcat: Enabling Scripting Languages in JSPs

 The Java Server Page (JSP) technology allows Java programmers to write 
webserver applications by
 injecting Java code into HTML or XML pages which then get translated into 
Java programs,
 compiled and executed each time a client request refers to that JSP. This 
presentation
 introduces a new taglib which makes it possible to use any Java scripting 
language (exploiting
 either the Java scripting framework or the Apache Bean Scripting 
framework) in JSPs in addition
 to or instead of Java thereby serving client requests in the client's 
request thread. The taglib
 allows among other things to fetch the script code from files and invoke 
such programs with the
 Servlet's service method arguments (request and response).

Would such a presentation be of interest to the audience?


I would definitely submit that to the ApacheCon @Home 
Call-for-Presentations. Proposals are evaluated by a bunch of different 
people. most presentations I've seen come across in the past have been 
accepted.


-chris


On 01.04.2021 21:13, Christopher Schultz wrote:

All,

ApacheCon @Home is coming to your city/town/village/hamlet/countryside this 
September 21 - 23.

Like last year's event, this one will be virtual, so there is no need to book
travel/accommodations or potentially arrange for time-off from work. You don't 
even need to wear
pants if you don't want to.

The Call for Presentations is open NOW. Please submit your Tomcat (or other!) 
related presentation
on this site:

https://acah2021.jamhosted.net/

Feel free to browse the Presentations Page[1] on the Tomcat web site for some 
idea of what
presentations have been given in the past. Anything related to Tomcat, servlet 
(etc.) specs, Java
web application development, etc. would be considered in-scope for the Tomcat 
track. There are
many other tracks planned as well.

Yous presentation does /not need to be completed/ when you submit your idea. So 
if you have an
idea, go ahead and submit it. You will have a few months to build your idea 
into a presentation.

If you have any questions, please send a message to the users@ list with 
"ApacheCon" in the
subject. Please don't email me individually unless you have a question that 
cannot be answered by
anyone but me. My reply would go to the users@ list anyway, so you may as well 
post the question
to the list in the first place :)

Thanks,
-chris

[1] https://tomcat.apache.org/presentations.html






-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org