[Javalist] JspServletWrapper

Keresztes Jozsef jkeresztes at vati.hu
2012. Dec. 12., Sze, 12:54:08 CET


Sziasztok !

Egyelőre lehet hogy megoldódni látszik a probléma...remélem.
Az történhetett hogy a Glassfish2-ről való átállás miatt (Glassfish3-ra),
a JSF-es alkalmazásokhoz be kellett illeszteni a sun-web.xml-be a következőt:

  <class-loader delegate="false"/>
  <property name="useBundledJsf" value="true"/>

Emiatt lehet a probléma. Tehát 3-as glassfish -el csak akkor megy jól az alkalmazás ha ez benne van a web.xml-be,
a 2-es viszont JspServletWrapper problémát okoz.

Joe

-----Original Message-----
From: István Székely [mailto:istvan.szekely at i-logic.hu] 
Sent: Wednesday, December 12, 2012 12:49 PM
To: javalist at lists.javaforum.hu
Subject: Re: [Javalist] JspServletWrapper

Hali!

Jesszusom! Hozzáadni egy saját webapp classes könyvtárát a 
classpath-hoz, meg a Tomcat boot classpath-hoz!? (Ráadásul azt is 
szarul. :D) Remélem, ezt csak valami elrettentő példának linkelted.

Üdv,
Stivi


On 2012-12-12 10:50, aszomor at szomor.hu wrote:
> Never mind. I found this page-> 
> http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html and 
> realized that I needed to add up to the \classes directory to my 
> classpath. I did that (and changed the jdk directory to point to the 
> bin and not the lib) and it didn't work. I then found the Tomcat mgr 
> window (I guess that is what it is called ) by clicking on the file 
> named tomcat6w.exe in the tomcat\bin directory and clicked on the Java 
> tab on the window that popped up. I saw that the classpath only 
> pointed to a bootstrap.jar file in the tomcat directory and so I added 
> the path to the jdk\bin and to my java classes directory. I restarted 
> Tomcat (and Apache) and the java compilation error went away.
>
> https://forums.oracle.com/forums/thread.jspa?threadID=2069982
>
>
>
> Idézet (Keresztes Jozsef <jkeresztes at vati.hu>):
>
>> Sziasztok !
>>
>> Egy ilyen hibát dob a Glassfish 2.1-es, amikor egy web-alkalmazást 
>> szeretnék elindítani:
>>
>> java.lang.NoClassDefFoundError: Could not initialize class 
>> org.apache.jasper.servlet.JspServletWrapper
>>
>> Találkoztatok már ilyennel ?
>> Mi lehet a probléma ?
>>
>> Joe

_______________________________________________
Javalist mailing list
Javalist at lists.javaforum.hu
http://lists.javaforum.hu/mailman/listinfo/javalist




További információk a(z) Javalist levelezőlistáról