Hi,
I did the test as you mentioned, see from the pictures that she can't find the styling.
https://imgur.com/0lglpaC
https://imgur.com/vtEK79i
I also did another test keeping # {guestPreferences.theme} because the GuestPreferences.java file was replaced by the new one and see that the other error, both say that .jar does not have the styling file.
I added some images of the folders of the project that was replaced as mavem use you will see by putting that some are new and others replaced.
https://imgur.com/91iHeJ3
https://imgur.com/stqm9bl
I thank you for your attention, and I hope to find the solution to this problem.
Regards,
Update Version 3.3.1 - New PrimeOne
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
Exit the Tomcat log using the following parameter in the web.xml
Exit the Tomcat log using the following parameter in the web.xml
See that all file changes have been made by those made available by you, including GuestPreferences.java
https://imgur.com/stqm9bl
Exit the Tomcat log using the following parameter in the web.xml
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>babylon-bluegray</param-value>
</context-param>
Code: Select all
06-Oct-2020 08:35:18.365 [http-nio-8080-exec-4] org.apache.catalina.session.StandardSession.doWriteObject Cannot serialize session attribute [guestPreferences] for session [F4BADC55BF8E7A95198AE55C58F1D553]
java.io.NotSerializableException: org.primefaces.babylon.view.GuestPreferences$ComponentTheme
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at java.util.ArrayList.writeObject(ArrayList.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
.....
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>babylon-#{guestPreferences.theme}</param-value>
</context-param>
Code: Select all
06-Oct-2020 09:52:27.836 [http-nio-8080-exec-8] org.springframework.security.config.http.DefaultFilterChainValidator.checkForDuplicates Possible error: Filters at position 8 and 9 are both instances of org.springframework.security.web.access.ExceptionTranslationFilter
06-Oct-2020 09:52:32.986 [http-nio-8080-exec-1] com.sun.faces.application.resource.ResourceHandlerImpl.logMissingResource JSF1064: Não foi possivel encontrar ou fornecer o recurso, theme.css, pela biblioteca, primefaces-babylon-.
06-Oct-2020 09:52:32.988 GRAVE [http-nio-8080-exec-1] com.sun.faces.application.view.FaceletViewHandlingStrategy.handleRenderException Error Rendering View[/login.xhtml]
javax.faces.FacesException: Error loading css, cannot find "theme.css" resource of "primefaces-babylon-" library
....
06-Oct-2020 09:52:33.251 FATAL [http-nio-8080-exec-1] com.sun.faces.context.ExceptionHandlerImpl.log JSF1073: javax.faces.FacesException obtido durante o processamento de RENDER_RESPONSE 6: UIComponent-ClientId=, Message=Error loading css, cannot find "theme.css" resource of "primefaces-babylon-" library
06-Oct-2020 09:52:33.252 FATAL [http-nio-8080-exec-1] com.sun.faces.context.ExceptionHandlerImpl.log Error loading css, cannot find "theme.css" resource of "primefaces-babylon-" library
javax.faces.FacesException: Error loading css, cannot find "theme.css" resource of "primefaces-babylon-" library
....
https://imgur.com/stqm9bl
-
- Posts: 85
- Joined: 01 Mar 2018, 12:29
You use Spring combined with JSF? (The same we do.)
So you need to use Spring-Annotations for GuestPreferences instead of CDI-Annotations.
Something like
So you need to use Spring-Annotations for GuestPreferences instead of CDI-Annotations.
Something like
Code: Select all
import org.springframework.stereotype.Component;
import org.springframework.web.context.annotation.SessionScope;
@Component
@SessionScope
public class GuestPreferences {
Hi,
Thank you for your attention, for what I saw our code is in the way that you instructed, as we replaced the files with new ones, my team is very sad for not being able to implement this new look.
If you can help us with any video or material with more details of the procedures to be done in this migration.
We are desperate because we have several processes stopped because we were already going to implement it with the new look. = /
Hug to everyone.
Thank you for your attention, for what I saw our code is in the way that you instructed, as we replaced the files with new ones, my team is very sad for not being able to implement this new look.
If you can help us with any video or material with more details of the procedures to be done in this migration.
We are desperate because we have several processes stopped because we were already going to implement it with the new look. = /
Hug to everyone.
-
- Posts: 85
- Joined: 01 Mar 2018, 12:29
Maybe we should try to do a Zoom (or whatever) - meeting later this day. (I am located in austria. UTC +2) There must be some issue with GuestPrefenences-bean. May we should add a breakpoint to constructor or @postconstruct-method of your GuestPreferences-class. From my feeling your container does not create the GuestPrefences-bean.
I updated our environment today from Babylon 3.2.0 to 3.3.1. This works. (But i agree documentation provided by PrimeTek is not ideal.)
I updated our environment today from Babylon 3.2.0 to 3.3.1. This works. (But i agree documentation provided by PrimeTek is not ideal.)
Hi,
It will be perfect, unfortunately our English is basic, but we can use chat to chat during the conference.
Could you send me an email so we can schedule a better time for you?
Email: contato@ajotta.com
It will be perfect, unfortunately our English is basic, but we can use chat to chat during the conference.
Could you send me an email so we can schedule a better time for you?
Email: contato@ajotta.com
-
- Posts: 85
- Joined: 01 Mar 2018, 12:29
Part of this issue - aside of GuestPreference-Bean - seems to be PrimeTek removed a large amount of Themes. (Look into babylon-theme-babylon-theme-3.3.1.jar\META-INF\resources) There is no blue-gray theme any more.
I´ll open a new topic for this. mert.sincan (PrimeTek) has to look at this.
I´ll open a new topic for this. mert.sincan (PrimeTek) has to look at this.
-
- Posts: 85
- Joined: 01 Mar 2018, 12:29
As a temporary work-around following should work:
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>babylon-lightblue-accent</param-value>
</context-param>
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Ohh noo, our jar generator seems to not work correctly. I'll fix it and release the new version asap. Maybe, today or tomorrow
Thanks a lot for this report!
Best Regards,
Thanks a lot for this report!
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Could you please try the latest Babylon version(3.3.2) ?
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests