MrPrimate / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

UPDATE_ATTRIBUTES_ENABLE error message with build #1039 #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Deploy build #1039 pwm.war
2. Launch http://localhost:8080/pwm

What is the expected output? What do you see instead?
Expected : go to PWM homepage. Instead : error message

What version of the product are you using? On what operating system?
1.5.4 devbuild #1039 on Windows Server 2008 R2

Please provide any additional information below.

I had version 1.5.3 deployed and working like a charm on this server. I stopped 
Tomcat, removed all files from version 1.5.3 (webapps\pwm folder and pwm.war), 
copied build #1039 pwm.rar into webapps and started Tomcat.

Now i have the following exception when going to http://localhost:8080/pwm and 
the config manager isn't working at all (scripts error on the page) :

 javax.servlet.ServletException: org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchFieldError: UPDATE_ATTRIBUTES_ENABLE

            password.pwm.SessionFilter.doFilter(SessionFilter.java:234)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)

            org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

            org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

            org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

            org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

            org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

            org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

            org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)

            org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)

            org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)

            java.lang.Thread.run(Unknown Source)

I also tried to import my 1.5.3 config file with the same result.

Thanks in advance.

Original issue reported on code.google.com by seb...@gmail.com on 17 Jun 2011 at 9:41

GoogleCodeExporter commented 9 years ago
Sounds like there may be something wrong with your deployment.  Try stopping 
tomcat, clearing out the tomcat/work and tomcat/temp directories and starting 
tomcat again.  Let us know if that fixes it.

Original comment by jrivard on 17 Jun 2011 at 3:19

GoogleCodeExporter commented 9 years ago
Thank you for your help, the problem is solved. It was related to tomcat/work 
directory content.

Now I'm facing another issue. When I save the configuration I get a messagebox 
saying  "TypeError: 'firstChild' is null or not an object" then the config is 
successfully saved and everything's running fine. I also had this message with 
1.5.3 without impact on the functionality of the application.

Original comment by seb...@gmail.com on 17 Jun 2011 at 3:58

GoogleCodeExporter commented 9 years ago
What browser/os are your using?  Your browser should have someway to tell you 
the filename and line number of the error, if you could share that here it 
would be very helpful.

Original comment by jrivard on 17 Jun 2011 at 4:01

GoogleCodeExporter commented 9 years ago
I use IE8 installed with the OS. I tested with Firefox 4 and there's no 
problem. I noticed the messagebox pops up when the server is restarting, after 
the messagebox asking if I want to save. 

It isn't working with IE8 : the "saving configuration" pop up disapears right 
after the error message and I have to wait some time and refresh the page. With 
Firefox I have the message stating that the application is restarting and then 
the page refresh.

It's even more interesting if I switch the site in compatibility view, the 
messagbox I got is "[object Error]".

I didn't find anything regarding the filename and line number. It's just a 
messagebox with "Message from webpage" as caption and no details.

I'll try to reinstall from scratch and see if I have the same error.

Original comment by seb...@gmail.com on 20 Jun 2011 at 6:33

GoogleCodeExporter commented 9 years ago
It seems to be related to IE8. I reinstalled from scratch and still get the 
same error. I also tested on a XP machine with IE8 with same results.

Original comment by seb...@gmail.com on 20 Jun 2011 at 2:54

GoogleCodeExporter commented 9 years ago
Works with IE9 just fine.

I've tested with IE8 and I'm having the same problems.  I have no idea what the 
problem is as the debug messages are pretty unhelpful.... Joy....

Original comment by jrivard on 22 Jun 2011 at 4:25

GoogleCodeExporter commented 9 years ago
Resolved (well, kinda), by showing an alert for <ie9 and suggesting using a 
different browser..  in build 1052

Original comment by jrivard on 30 Jun 2011 at 1:26