RetinaInc / zing

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

HTTP Error #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

zhangxin88@gmail.com    
View profile
 More options Sep 4, 11:43 pm
Hi, 
I followed the instruction on your web site and start jetty server. 
I got HTTP ERROR: 500 
loader constraint violation: loader (instance of org/mortbay/jetty/ 
webapp/WebAppClassLoader) previously initiated loading for a different 
type with name "javax/el/ExpressionFactory" 
RequestURI=/ZingWeb/faces/pages/login.jspx 
Caused by: 
java.lang.LinkageError: loader constraint violation: loader (instance 
of org/mortbay/jetty/webapp/WebAppClassLoader) previously initiated 
loading for a different type with name "javax/el/ExpressionFactory" 
        at java.lang.ClassLoader.defineClass1(Native Method) 
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620) 
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 
124) 
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) 
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56) 
..... 
Can you help me fix this problem? 
Thanks
-------------------------------------------------------------------------

impetus.opensou...@gmail.com    
View profile
 More options Sep 5, 6:32 pm
Hi, 
This is a known issue in Zing. Please try to login even after the 
error. We will get back to you soon once we fix this issue. 
Thanks for reporting the issue and showing the interest in zing. 
regards, 
zing team 
-------------------------------------------------------------------------
Hi, 
Please follow the instruction given below to resolve your problem: 
Copy the "el-api-6.0.18.jar" from "lib" directory within "WEB-INF" of 
"ZingWeb" exploded war to ${Jetty_Home}/lib/ext directory. Make sure 
"el-api-6.0.18.jar" doesn't remains in ${Jetty_Home}/lib/ext 
directory. 
Also, refer to instruction#4 of section Configuring Zing in 
GettingStarted page<http://code.google.com/p/zing/wiki/ 
gettingStarted>. 
This is a manual configuration, which we will incorporate through 
Maven build script by the earliset. 
Thanks for using ZING!!! 
Regards, 
Gaurav Nigam 
----------------------------------------------------------------------

zhangxin88@gmail.com    
View profile
 More options Sep 6, 12:36 am
Thanks for the reply. 
You mean delete el-api-6.0.18.jar from "lib" directory within "WEB- 
INF" of "ZingWeb" exploded war  after copying it to ${Jetty_Home}/lib/ 
ext , right? 
I still got the same error after doing this. 
----------------------------------------------------------------------

Gaurav Nigam    
View profile
 More options Sep 6, 10:59 pm
Looks like it would need a fix rather than a workaround. We are 
working on this. Will update by Monday morning PST. 
thanks, 
Gaurav 
-------------------------------------------------------------------------

Gaurav Nigam    
View profile
 More options Sep 8, 11:56 am
Hi, 
We were able to reproduce the problem stated by you by placing 
"el-api-6.0.18.jar" in both the locations, i.e., "lib" directory within 
"WEB-INF" of "ZingWeb" exploded war and ${Jetty_Home}/lib/ext. 
If this is the case, then I would suggest you take to remove 
"el-api-6.0.18.jar" from "lib" directory within "WEB-INF" of "ZingWeb" 
exploded war and make sure that it is only present in 
${Jetty_Home}/lib/ext. 
Also, restart the Jetty Server after this change. 
Confirm if it works. 
Regards, 
Gaurav 
-----------------------------------------------------------------------

Original issue reported on code.google.com by impetus.opensource on 12 Sep 2008 at 7:53

GoogleCodeExporter commented 9 years ago
i have the same problem. it doesn't work.

Original comment by IrmakU...@gmail.com on 7 Dec 2013 at 1:47