-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Struts2.5.18 and jquery-plugin 4.0.2 do not work together #165
Comments
Can you post logs from container? And what other plugins do you use (bootstrap)? |
Dear Mr. Lenart
As attachment I send the tomcat- and application-log (2517..: application runs with strut2-core-2.5.17, 2518..: application runs with strut2-core-2.5.17).
Best regards
Dr. Siegfried Fechner
Abteilung / Referat: TI1 /TI15
Deutscher Wetterdienst
Frankfurter Straße 135
63067 Offenbach/Main
Tel: 069 8062-2865
Fax: 069 8062- 3566
E-Mail: [email protected]<mailto:[email protected]>
http://www.dwd.de<http://www.dwd.de/>
Von: Lukasz Lenart [mailto:[email protected]]
Gesendet: Mittwoch, 24. Oktober 2018 12:01
An: struts-community-plugins/struts2-jquery
Cc: hkfechner; Author
Betreff: Re: [struts-community-plugins/struts2-jquery] Struts2.5.18 and jquery-plugin 4.0.2 do not work together (#165)
Can you post logs from container? And what other plugins do you use (bootstrap)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AqLkXN24ackO-1ev2fheBnfEYVLPQKjHks5uoDpRgaJpZM4X3jAK>.
|
Dear Mr. Lenart,
we use for our applications only „pure“ javascript, jquery and jqueryui.
Best regards
Dr. Siegfried Fechner
Abteilung / Referat: TI1 /TI15
Deutscher Wetterdienst
Frankfurter Straße 135
63067 Offenbach/Main
Tel: 069 8062-2865
Fax: 069 8062- 3566
E-Mail: [email protected]<mailto:[email protected]>
http://www.dwd.de<http://www.dwd.de/>
Von: Lukasz Lenart [mailto:[email protected]]
Gesendet: Mittwoch, 24. Oktober 2018 12:01
An: struts-community-plugins/struts2-jquery
Cc: hkfechner; Author
Betreff: Re: [struts-community-plugins/struts2-jquery] Struts2.5.18 and jquery-plugin 4.0.2 do not work together (#165)
Can you post logs from container? And what other plugins do you use (bootstrap)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AqLkXN24ackO-1ev2fheBnfEYVLPQKjHks5uoDpRgaJpZM4X3jAK>.
|
GitHub doesn't accept other attachments than images. Please examine the logs, maybe there is an issue with loading classes. |
Dear Mr. Lenart As attachment I send the tomcat- and application-logs (2517..: application runs with strut2-core-2.5.17, 2518..: application runs with strut2-core-2.5.17). |
Do you use {{devMode=true}}? Please try to disable it and test again. Also clean up Tomcat's temp folder. |
It is probably related to this issue you can post your comments there |
Dear Mr. Lenart,
I had published Logs, based on “devMode=true”
Best regards
Dr. Siegfried Fechner
Abteilung / Referat: TI1 /TI15
Deutscher Wetterdienst
Frankfurter Straße 135
63067 Offenbach/Main
Tel: 069 8062-2865
Fax: 069 8062- 3566
E-Mail: [email protected]<mailto:[email protected]>
http://www.dwd.de<http://www.dwd.de/>
Von: Lukasz Lenart [mailto:[email protected]]
Gesendet: Donnerstag, 25. Oktober 2018 07:20
An: struts-community-plugins/struts2-jquery
Cc: hkfechner; Author
Betreff: Re: [struts-community-plugins/struts2-jquery] Struts2.5.18 and jquery-plugin 4.0.2 do not work together (#165)
Do you use {{devMode=true}}? Please try to disable it and test again. Also clean up Tomcat's temp folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AqLkXNLhQhVwlOOQUoCXGrM2lLmAWG5yks5uoUoFgaJpZM4X3jAK>.
|
Do you use Maven? If such could you publish result of |
sorry, security constrains of Deutscher Wetterdienst do not accept access to Maven repository outsite DWD. There we can’t use Maven. Therefore I had published an ANT-Project. |
Sorry here are the list. |
.jar.org files should not be in your dependencies (they should be .jar
files and they're also from 2 different versions?)
…-rw------- 1 sfechner ti1 1635849 14. Aug 04:59 struts2-core-2.5.17.jar.org
-rw-r--r-- 1 sfechner ti1 1635959 18. Sep 13:38 struts2-core-2.5.18.jar.org
Op do 25 okt. 2018 om 08:14 schreef hkfechner <[email protected]>:
Sorry here are the list.
lib_liste.txt
<https://github.com/struts-community-plugins/struts2-jquery/files/2513531/lib_liste.txt>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHkdLG4S5tQSVbSuOpEhkp-p6kGuzsLsks5uoVbMgaJpZM4X3jAK>
.
|
dependents on test only struts2-core-2.5.17.jar OR struts2-core-2.5.18.jar are included (*.org only archives, without influence on libs); same result, if *.org not in lib directory).
Best regards
Dr. Siegfried Fechner
Abteilung / Referat: TI1 /TI15
Deutscher Wetterdienst
Frankfurter Straße 135
63067 Offenbach/Main
Tel: 069 8062-2865
Fax: 069 8062- 3566
E-Mail: [email protected]<mailto:[email protected]>
http://www.dwd.de<http://www.dwd.de/>
Von: Stefaan Dutry [mailto:[email protected]]
Gesendet: Donnerstag, 25. Oktober 2018 08:27
An: struts-community-plugins/struts2-jquery
Cc: hkfechner; Author
Betreff: Re: [struts-community-plugins/struts2-jquery] Struts2.5.18 and jquery-plugin 4.0.2 do not work together (#165)
.jar.org files should not be in your dependencies (they should be .jar
files and they're also from 2 different versions?)
-rw------- 1 sfechner ti1 1635849 14. Aug 04:59 struts2-core-2.5.17.jar.org
-rw-r--r-- 1 sfechner ti1 1635959 18. Sep 13:38 struts2-core-2.5.18.jar.org
Op do 25 okt. 2018 om 08:14 schreef hkfechner <[email protected]>:
Sorry here are the list.
lib_liste.txt
<https://github.com/struts-community-plugins/struts2-jquery/files/2513531/lib_liste.txt>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHkdLG4S5tQSVbSuOpEhkp-p6kGuzsLsks5uoVbMgaJpZM4X3jAK>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AqLkXLaYvkzXGe3tIEzutQ6lLX_LH3ogks5uoVmlgaJpZM4X3jAK>.
|
I just did a small test using struts version 2.5.18 and the struts2-jquery-plugin version 4.0.2 and it seems to work. Can you please post us a demo jsp file in which we can see how the struts2-jquery tags are used and with which attributes? particularly the |
I think it's a matter of outdated dependencies but our page is also outdated - it targets 2.5.14.1 ;-) https://struts.apache.org/maven/struts2-core/dependencies.html Right now I'm working to fix that |
Dear Mr. Dutry
As attachment I send our jsp-structure, including all used *. Jspf
<sj:head/> tag is a standard tag from jquery-plugin
Best regard
Dr. Siegfried Fechner
Abteilung / Referat: TI1 /TI15
Deutscher Wetterdienst
Frankfurter Straße 135
63067 Offenbach/Main
Tel: 069 8062-2865
Fax: 069 8062- 3566
E-Mail: [email protected]<mailto:[email protected]>
http://www.dwd.de<http://www.dwd.de/>
Von: Stefaan Dutry [mailto:[email protected]]
Gesendet: Donnerstag, 25. Oktober 2018 09:11
An: struts-community-plugins/struts2-jquery
Cc: hkfechner; Author
Betreff: Re: [struts-community-plugins/struts2-jquery] Struts2.5.18 and jquery-plugin 4.0.2 do not work together (#165)
I just did a small test using struts version 2.5.18 and the struts2-jquery-plugin version 4.0.2 and it seems to work.
Can you please post us a demo jsp file in which we can see how the struts2-jquery tags are used and with which attributes? particularly the <sj:head/> tag
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AqLkXHhxJYe9hjHU-cOagvqK-hbOrzRFks5uoWP7gaJpZM4X3jAK>.
|
@hkfechner can you also please list the jars that are in the WEB-INF/lib folder after deploying to the tomcat? I'll take a thorough look into this this evening and create a minimal project trying to reproduce your problem. |
Sorry!! |
Ok, the page is up2date now https://struts.apache.org/maven/struts2-core/dependencies.html I had the same issue but re-building and cleaning up temp folder worked for me, there is a dependency clash but I'm not sure which JARs are the reason. |
„can you also please list the jars that are in the WEB-INF/lib folder after deploying to the tomcat?
Just trying to get a full picture.
I'll take a thorough look into this this evening and create a minimal project trying to reproduce your problem.”
I send You the list of the WEB-INF/lib folder after deploying to the tomcat:
1058767 56 -rw-r----- 1 sfechner ti1 53259 25. Okt 10:13 asm-5.2.jar
1058768 48 -rw-r----- 1 sfechner ti1 47197 25. Okt 10:13 asm-commons-5.2.jar
1058769 32 -rw-r----- 1 sfechner ti1 29582 25. Okt 10:13 asm-tree-5.2.jar
1058770 576 -rw-r----- 1 sfechner ti1 588337 25. Okt 10:13 commons-collections-3.2.2.jar
1058771 72 -rw-r----- 1 sfechner ti1 70604 25. Okt 10:13 commons-fileupload-1.3.3.jar
1058829 204 -rw-r----- 1 sfechner ti1 208700 25. Okt 10:13 commons-io-2.5.jar
1058830 256 -rw-r----- 1 sfechner ti1 261809 25. Okt 10:13 commons-lang-2.4.jar
1058831 484 -rw-r----- 1 sfechner ti1 494856 25. Okt 10:13 commons-lang3-3.6.jar
1058832 64 -rw-r----- 1 sfechner ti1 61829 25. Okt 10:13 commons-logging-1.2.jar
1058833 1464 -rw-r----- 1 sfechner ti1 1496146 25. Okt 10:13 freemarker-2.3.26-incubating.jar
1058834 736 -rw-r----- 1 sfechner ti1 750581 25. Okt 10:13 javassist-3.20.0-GA.jar
1058835 4 -rw-r----- 1 sfechner ti1 1638 25. Okt 10:13 lib_liste.txt
1058836 64 -rw-r----- 1 sfechner ti1 63731 25. Okt 10:13 log4j-1.2-api-2.11.1.jar
1058837 260 -rw-r----- 1 sfechner ti1 264060 25. Okt 10:13 log4j-api-2.11.1.jar
1058838 1572 -rw-r----- 1 sfechner ti1 1607947 25. Okt 10:13 log4j-core-2.11.1.jar
1058839 232 -rw-r----- 1 sfechner ti1 235459 25. Okt 10:13 ognl-3.1.15.jar
1058840 1600 -rw-r----- 1 sfechner ti1 1635959 25. Okt 10:13 struts2-core-2.5.18.jar
1058841 2604 -rw-r----- 1 sfechner ti1 2665309 25. Okt 10:13 struts2-jquery-plugin-4.0.2.jar
1058842 440 -rw-r----- 1 sfechner ti1 449505 25. Okt 10:13 velocity-1.7.jar
1058843 340 -rw-r----- 1 sfechner ti1 346580 25. Okt 10:13 velocity-tools-2.0.jar
Best rega
Mit freundlichen Grüßen
Dr. Siegfried Fechner
Abteilung / Referat: TI1 /TI15
Deutscher Wetterdienst
Frankfurter Straße 135
63067 Offenbach/Main
Tel: 069 8062-2865
Fax: 069 8062- 3566
E-Mail: [email protected]<mailto:[email protected]>
http://www.dwd.de<http://www.dwd.de/>
rds
Von: Stefaan Dutry [mailto:[email protected]]
Gesendet: Donnerstag, 25. Oktober 2018 09:11
An: struts-community-plugins/struts2-jquery
Cc: hkfechner; Author
Betreff: Re: [struts-community-plugins/struts2-jquery] Struts2.5.18 and jquery-plugin 4.0.2 do not work together (#165)
I just did a small test using struts version 2.5.18 and the struts2-jquery-plugin version 4.0.2 and it seems to work.
Can you please post us a demo jsp file in which we can see how the struts2-jquery tags are used and with which attributes? particularly the <sj:head/> tag
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AqLkXHhxJYe9hjHU-cOagvqK-hbOrzRFks5uoWP7gaJpZM4X3jAK>.
|
@hkfechner items of interest:
i only tried running it with the jetty plugin localy so far, but the jquery files all loaded and i didn't have a problem. (so http on port 80) |
I found the problem! if some constants ar use insite struts.xml application can be failed (depends on constant and value) |
I found the problem! if some constants are used insite struts.xml, application can be failed (depends on constant and value) |
I found the problem! if some constants are used insite struts.xml, application can be failed (depends on constant and value) |
aha, you're right.
This lets me reproduce the problem. Until then i'd suggest putting those values to false. |
seeing the line number it would suggest that the variable |
Do you know this by heart?
|
The only idea I have is because of fixed |
I mean, it properly reloads JARs now, this was somehow broken in previous versions |
Since struts2.5.18 and jquery-plugin 4.0./4.0.3 (running on tomcat 8.5.34) javascript and jquery-files (contained in struts2-core-2.5.18.jar) can't be loaded.
Until struts2.5.17 and jquery-plugin 4.0./4.0.3 appplication works fine.
As attachmend i will send screenshorts and a ant-based eclipse-project (test.zip).
test.zip
The text was updated successfully, but these errors were encountered: