Re: Tomcat is not working

2024-03-12 Thread Arbol One

Never mind. 😳
Human error. 😛

On 2024-03-12 6:27 a.m., Arbol One wrote:

Hello.

This morning I woke up to find that Tomcat is not working, I tried 
restarting the server, but to no avail. Then, manually, I shutdown and 
started Tomcat, again, to no avail.


systemctl status tomcat says:

× tomcat.service - Tomcat
 Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; 
preset: enabled)
 Active: failed (Result: exit-code) since Tue 2024-03-12 06:08:35 
EDT; 7min ago

    CPU: 998us

Mar 12 06:08:35 arbolone systemd[1]: Starting tomcat.service - Tomcat...
Mar 12 06:08:35 serverone (artup.sh)[1405]: tomcat.service: Failed to 
determine user credentials: No such process
Mar 12 06:08:35 serverone (artup.sh)[1405]: tomcat.service: Failed at 
step USER spawning /home/myAccount/opt/tomcat/bin/startup.sh: No such 
process
Mar 12 06:08:35 serverone systemd[1]: tomcat.service: Control process 
exited, code=exited, status=217/USER
Mar 12 06:08:35 serverone systemd[1]: tomcat.service: Failed with 
result 'exit-code'.
Mar 12 06:08:35 serverone systemd[1]: Failed to start tomcat.service - 
Tomcat.


Tomcat has been working flawlessly for... forever!, what could have 
gone wrong?

Any help would be most appreciated.

Thanks in advance.


--
*/ArbolOne.ca/* Using Fire Fox and Thunderbird. ArbolOne is composed of 
students and volunteers dedicated to providing free services to 
charitable organizations. ArbolOne on Java Development is in progress [ í ]

Tomcat is not working

2024-03-12 Thread Arbol One

Hello.

This morning I woke up to find that Tomcat is not working, I tried 
restarting the server, but to no avail. Then, manually, I shutdown and 
started Tomcat, again, to no avail.


systemctl status tomcat says:

× tomcat.service - Tomcat
 Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; 
preset: enabled)
 Active: failed (Result: exit-code) since Tue 2024-03-12 06:08:35 
EDT; 7min ago

    CPU: 998us

Mar 12 06:08:35 arbolone systemd[1]: Starting tomcat.service - Tomcat...
Mar 12 06:08:35 serverone (artup.sh)[1405]: tomcat.service: Failed to 
determine user credentials: No such process
Mar 12 06:08:35 serverone (artup.sh)[1405]: tomcat.service: Failed at 
step USER spawning /home/myAccount/opt/tomcat/bin/startup.sh: No such 
process
Mar 12 06:08:35 serverone systemd[1]: tomcat.service: Control process 
exited, code=exited, status=217/USER
Mar 12 06:08:35 serverone systemd[1]: tomcat.service: Failed with result 
'exit-code'.
Mar 12 06:08:35 serverone systemd[1]: Failed to start tomcat.service - 
Tomcat.


Tomcat has been working flawlessly for... forever!, what could have gone 
wrong?

Any help would be most appreciated.

Thanks in advance.

--
*/ArbolOne.ca/* Using Fire Fox and Thunderbird. ArbolOne is composed of 
students and volunteers dedicated to providing free services to 
charitable organizations. ArbolOne on Java Development is in progress [ í ]

Re: JSP EL - How to

2023-12-18 Thread Arbol One

Thanks for the reply Chuck Caldarale.
I am really confused here, would you be able to provide me with a link 
to a EL tutorial.

Thanks in advance.

On 2023-12-18 11:04 a.m., Mark Thomas wrote:

Chuck Caldarale


--
ArbolOne.ca
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volunteers dedicated to providing free 
services to charitable organizations.
ArbolOne on Java Development is in progress [ í ]


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



JSP EL - How to

2023-12-16 Thread Arbol One

Hello.

In my NetBeans IDE, I have a ANT web project, to which I have added 
under Libraries the JSTL 1.2.7 - jstl-impl.jar and the JSTL 1.2.7 - 
jstl-api.jar libraries. However, when adding this code :


*
Hello JSP EL!
*


Although it rebuilds properly, I get the following error message :


*Type Exception Report*

*Message Unable to compile class for JSP: *

*Description The server encountered an unexpected condition that 
prevented it from fulfilling the request.*


*Exception*

*org.apache.jasper.JasperException: Unable to compile class for JSP: An 
error occurred at line: [99] in the generated java file: 
[/home/jamiil/opt/tomcat/work/Catalina/localhost/ArbolOneEnterprise/org/apache/jsp/login/sign_005fin_jsp.java] 
Syntax error on token(s), misplaced construct(s)*


*An error occurred at line: [55] in the jsp file: [/login/sign_in.jsp] 
Syntax error on token ":", , expected 52: <% 53: try{ 54: 55:  
56: Hello JSP EL! 57: *



It is my first time trying JSP EL, and I need a bit of guidance using 
this technology.
Can any body tell me what I am missing? Is there a library I need to 
add? (i.e. <%@ page import="something.el.*" %> ).


Thanks in advance.

Note: I got this example from here 



--
ArbolOne.ca
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volunteers dedicated to providing free 
services to charitable organizations.
ArbolOne on Java Development is in progress [ í ]