Jump to content

[Solved] Deploy War File User:andersof War: Teste.war


afilippi

Recommended Posts

Is there anything in particular you're looking for in Catalina.out? Since output from all the users on your server all get put into that log file it may contain private information that you shouldn't be accessing. Providing the full log file to you could violate our privacy policy of other users.

Link to comment
Share on other sites

Is there anything in particular you're looking for in Catalina.out? Since output from all the users on your server all get put into that log file it may contain private information that you shouldn't be accessing. Providing the full log file to you could violate our privacy policy of other users.

 

This war works without any error in my tomcat 8.

But not working at helio.

 

I think helio not accepting primefaces and all jsf that are in war file.

 

F12 on Chrome shows:

theme.css Failed to load resource: the server responded with a status of 404 (Not Found)
components.css;jsessionid=EAACF68F82ED8C1C547F9DABE8259491.jvm1 Failed to load resource: the server responded with a status of 404 (Not Found)
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/jqu…ry.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/core.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/com…s.css;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/com…ts.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/theme.css?ln=primefaces-aristo 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/jqu…ns.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/gma…ap.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/core.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/com…ts.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/jqu…ns.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/gma…ap.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 404 (Not Found)
(index):19 Uncaught ReferenceError: PrimeFaces is not defined
    at (index):19
(anonymous) @ (index):19
(index):20 Uncaught ReferenceError: PrimeFaces is not defined
    at (index):20
(anonymous) @ (index):20
(index):24 Uncaught ReferenceError: $ is not defined
    at (index):24
(anonymous) @ (index):24

Any idea?

 

-Anderson

 

 

Is there anything in particular you're looking for in Catalina.out? Since output from all the users on your server all get put into that log file it may contain private information that you shouldn't be accessing. Providing the full log file to you could violate our privacy policy of other users.

 

This war works without any error in my tomcat 8.

But not working at helio.

 

I think helio not accepting primefaces and all jsf that are in war file.

 

F12 on Chrome shows:

theme.css Failed to load resource: the server responded with a status of 404 (Not Found)
components.css;jsessionid=EAACF68F82ED8C1C547F9DABE8259491.jvm1 Failed to load resource: the server responded with a status of 404 (Not Found)
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/jqu…ry.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/core.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/com…s.css;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/com…ts.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/theme.css?ln=primefaces-aristo 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/jqu…ns.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/gma…ap.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/core.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/com…ts.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/jqu…ns.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 
andersof.heliohost.org/:3 GET http://andersof.heliohost.org/andersof_teste/faces/javax.faces.resource/gma…ap.js;jsessionid=47D5F6B7739365D67FE5E12FBFDD770E.jvm1?ln=primefaces&v=6.1 404 (Not Found)
(index):19 Uncaught ReferenceError: PrimeFaces is not defined
    at (index):19
(anonymous) @ (index):19
(index):20 Uncaught ReferenceError: PrimeFaces is not defined
    at (index):20
(anonymous) @ (index):20
(index):24 Uncaught ReferenceError: $ is not defined
    at (index):24
(anonymous) @ (index):24

Any idea?

 

-Anderson

 

I think this is the problem.

 

http://andersof.heliohost.org/andersof_teste/

 

The, andersof_teste breaks the references.

 

I will generate another war tomorrow, with some modifications to deal with it.

 

Thanks

-Anderson

Link to comment
Share on other sites

Yes, username must be appended to the start of all wars that don't already have it because otherwise no one else could use the name teste. Another user found the best solution was to prename his file username_filename.war and then our system doesn't append a new username_ to the front since it's already there. Either that or you could just use relative paths like our wiki explains.

Link to comment
Share on other sites

Yes, username must be appended to the start of all wars that don't already have it because otherwise no one else could use the name teste. Another user found the best solution was to prename his file username_filename.war and then our system doesn't append a new username_ to the front since it's already there. Either that or you could just use relative paths like our wiki explains.

Yes. Please undeploy teste.war and deploy andersof_teste.war.

 

username: andersof

war: andersof_teste.war

 

Thanks

-Anderson

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...