java.io.IOException: An established connection was aborted by the software on the host computer / when getting resources

ceechette
Posts: 35
Joined: 05 Oct 2017, 13:08

11 Jul 2018, 16:05

Hello, I am facing a problem that when a resource is not cached, when making the connection this message is displayed on the screen (Broken Pipe):

Code: Select all

Advertência:   JSF1064: Não foi possível encontrar ou fornecer o recurso, theme.css, pela biblioteca, primefaces-verona-syspro.
Advertência:   java.io.IOException: Uma conexão estabelecida foi anulada pelo software no computador host
...

Code: Select all

Advertência:   StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.io.IOException: Uma conexão estabelecida foi anulada pelo software no computador host
...

Code: Select all

  JSF1064: Não foi possível encontrar ou fornecer o recurso, jquery/jquery-plugins.js, pela biblioteca, primefaces.]]
I'm not sure how to solve it, could anyone help me?

I use Maven and the resources are being bundled from other projects, ie they are in ".jar".

huseyinT
Posts: 118
Joined: 27 Mar 2016, 13:05

12 Jul 2018, 17:02

Hi,

You can read the documentation about Verona : http://primefaces.org/verona/docs.xhtml

Or

You can look this example link : https://www.dropbox.com/s/gat9a4ym373m ... t.mp4?dl=0

ceechette
Posts: 35
Joined: 05 Oct 2017, 13:08

12 Jul 2018, 18:40

I've already reviewed this video, including the original Verona on my machine and the error remained. I have read on some topics that the error may be between the server and the PrimeFaces library.

User avatar
aragorn
Posts: 3111
Joined: 29 Jun 2013, 12:38

17 Jul 2018, 09:09

Which PrimeFaces version are you using?

ceechette
Posts: 35
Joined: 05 Oct 2017, 13:08

24 Jul 2018, 03:54

PrimeFaces 6.2

huseyinT
Posts: 118
Joined: 27 Mar 2016, 13:05

27 Jul 2018, 07:05

I checked PrimeFaces 6.2, it's working for me.

Could you check your sass version ?

for check: sass -v

My sass version is 3.5.5.

ceechette
Posts: 35
Joined: 05 Oct 2017, 13:08

31 Jul 2018, 12:48

My sass version is 3.4.24 and the GlassFish 4.0 server, using EclipseLink.

huseyinT
Posts: 118
Joined: 27 Mar 2016, 13:05

31 Jul 2018, 14:58

We don't have primefaces-verona-syspro theme. We don't have primefaces-verona-syspro theme.We don't have primefaces-verona-syspro theme.

This theme is created yourself according to your needs.

You could change web.xml and template.xhtml :

Web.xml :

Code: Select all

	...
	<context-param>
        	<param-name>primefaces.THEME</param-name>
        	<param-value>verona-syspro</param-value>
        </context-param>
   	 ...
template.xhtml:

Code: Select all

	...
	<h:outputStylesheet name="css/layout-primefaces-verona-syspro" library="verona-layout" />
	...
You add your sass file in the resources/primefaces-verona-syspro

and try :
sass --update src/main/webapp/resources/ --sourcemap=none
mvn jetty:run

And please, you would watch again carefully our video: https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0

ceechette
Posts: 35
Joined: 05 Oct 2017, 13:08

31 Jul 2018, 15:36

I'm using so, the theme and layout works correctly, the problem is the error messages.

web.xml:

Code: Select all

<context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>verona-#{layoutBean.theme}</param-value>
    </context-param>
template.xhtml:

Code: Select all

<h:outputStylesheet name="css/layout-#{layoutBean.layout}.css" library="verona-layout" />
But "mvn jetty: run" I do not use, would this be the problem?

huseyinT
Posts: 118
Joined: 27 Mar 2016, 13:05

01 Aug 2018, 10:29

Advertência: JSF1064: Não foi possível encontrar ou fornecer o recurso, theme.css, pela biblioteca, primefaces-verona-syspro.
Advertência: java.io.IOException: Uma conexão estabelecida foi anulada pelo software no computador host
Are you still getting this issue about theme.css?

Could you write errors?

Post Reply

Return to “Verona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest