You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Marco Mistroni <mm...@gmail.com> on 2005/11/17 11:04:05 UTC

JSF-basede application on jboss 4.0.2 fails miserably

hello all,
 i have developed a JSF app that i have deployed successfully on jboss 3.2.5
 i decided to move to jboss 4.02., and got this awful exception
 java.io.FileNotFoundException: C:\Sw\jboss-
4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.jar
at org.jboss.net.protocol.file.FileURLConnection.connect(
FileURLConnection.java:80)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(
FileURLConnection.java:89)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:309)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(
TagLibCache.java:229)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:99)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java
:88)
at org.apache.jasper.JspCompilationContext.getTldLocation(
JspCompilationContext.java:519)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java
:211)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java
:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
at org.apache.jasper.JspCompilationContext.compile(
JspCompilationContext.java:556)
at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:293)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
  trying to add the jsf-lib with myfaces jar inside results still in this
exception
 2005-11-17 10:02:07,726 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache]
Scanning for tlds in: file:/C:/Sw/jboss-4.0.2
/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
2005-11-17 10:02:07,944 ERROR [org.apache.catalina.core.ContainerBase.[
jboss.web].[localhost].[/JSFApp].[jsp]] Servlet.service() for servlet jsp
threw exception
java.util.zip.ZipException: too many length or distance symbols
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
at java.util.jar.JarInputStream.read(JarInputStream.java:171)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:310)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
TagLibCache.java:263)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
TagLibCache.java:256)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java
:88)
at org.apache.jasper.JspCompilationContext.getTldLocation(
JspCompilationContext.java:519)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java
:211)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java
:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
at org.apache.jasper.JspCompilationContext.compile(
JspCompilationContext.java:556)
at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:293)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   anyone has experienced samep roblem?
 thanks and regards
 marco

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Matthias Wessendorf <ma...@apache.org>.
on [1] and [2] you'll find more. So of course, make sure that NO
commons-collection-2.x is in your clazzpath

-Matthias

[1] http://myfaces.apache.org/impl/dependencies.html
[2] http://myfaces.apache.org/tomahawk/dependencies.html

On 5/30/06, Tom Cordova <to...@daiwausa.com> wrote:
>
> What happens if I have applications that use MyFaces 1.1.3  and Tomahawk
> 1.1.3 ?
>
> I've copied myfaces-api-1.1.3.jar and myfaces-impl-1.1.3.jar into
> jbossweb-tomcat55.sar, but what about the commons *.jar files?  Do they need
> to be updated as well?
>
> Tom
> --
> View this message in context: http://www.nabble.com/JSF-basede+application+on+jboss+4.0.2+fails+miserably-t569512.html#a4632196
> Sent from the MyFaces - Users forum at Nabble.com.
>
>


-- 
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Tom Cordova <to...@daiwausa.com>.
I think I've come to that same conclusion...  I'm still experiencing some
VERY freaky stuff with 1.1.3 portlets running on a JBOSS portal though.

For instance, when I have a tomahawk 1.1.3 datatable on a portlet inside the
portal, every second time I submit it to the managed bean it comes back with
no values in the outputText components...  It still has all the rows, but
they are all empty...
--
View this message in context: http://www.nabble.com/JSF-basede-application-on-jboss-4.0.2-fails-miserably-t569512.html#a4750362
Sent from the MyFaces - Users forum at Nabble.com.


Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Jeff Bischoff <jb...@klkurz.com>.
Tomahawk 1.1.3? you mean the old nightly?

I don't understand why you need to modify jbossweb-tomcat55.sar at all. 
I have tested my JSF app with many versions of myfaces on many versions 
of Jboss4, and I never had to change any JBoss/tomcat libraries to make 
it work...

MyFaces 1.1.3 and Tomahawk 1.1.2 work splendidly with JBoss 4.0.2, if 
the required jar files are in /WEB-INF/lib

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

Tom Cordova wrote:
> What happens if I have applications that use MyFaces 1.1.3  and Tomahawk
> 1.1.3 ?
> 
> I've copied myfaces-api-1.1.3.jar and myfaces-impl-1.1.3.jar into
> jbossweb-tomcat55.sar, but what about the commons *.jar files?  Do they need
> to be updated as well?
> 
> Tom
> --
> View this message in context: http://www.nabble.com/JSF-basede+application+on+jboss+4.0.2+fails+miserably-t569512.html#a4632196
> Sent from the MyFaces - Users forum at Nabble.com.
> 
> 
> 



Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Tom Cordova <to...@daiwausa.com>.
What happens if I have applications that use MyFaces 1.1.3  and Tomahawk
1.1.3 ?

I've copied myfaces-api-1.1.3.jar and myfaces-impl-1.1.3.jar into
jbossweb-tomcat55.sar, but what about the commons *.jar files?  Do they need
to be updated as well?

Tom
--
View this message in context: http://www.nabble.com/JSF-basede+application+on+jboss+4.0.2+fails+miserably-t569512.html#a4632196
Sent from the MyFaces - Users forum at Nabble.com.


Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Thomas Heute <th...@jboss.org>.
On Thursday 17 November 2005 16.45, Marius Oancea wrote:
> 403 and 403SP1 include myfaces.
> I think this are included only because of "seam"

That's actually not true ;)
JBoss Seam was designed after we decided to include myFaces into JBoss.

There was an attempt on icluding myFaces in 4.0.2 but didn't go all the way in 
(it has been removed at the last minute if i remember well, it's not in my 
package (final) but could be in RCs of 4.0.2)

That's why i would recommend either to use 4.0.3SP1 or embed the faces 
libraries inside your War file.

Thomas.



>     Marius
>
> Wayne Fay wrote:
> >Is 4.0.3SP1 the **first** JBoss release with Myfaces libraries included?
> >
> >If not, when did they start doing this? 4.0.2? 4.0.3?
> >
> >Wayne
> >
> >On 11/17/05, Thomas Heute <th...@jboss.org> wrote:
> >>myFaces libraries are now included in JBoss AS.
> >>Try with JBoss 4.0.3SP1 if you can
> >>
> >>jdk 1.5 is not a problem
> >>
> >>(It's not a MyFaces issue so it does not fit well in that forum)
> >>
> >>Regards,
> >>Thomas.
> >>
> >>On Thursday 17 November 2005 12.00, Marco Mistroni wrote:
> >>>thanks, but that won't help much :(
> >>>fact that i can deploy under jboss 3.2.5 without any problems make me
>
> think
>
> >>>that problem maybe is some jboss setting, variables, don't know what
> >>> are you using JDK 1.5?
> >>> regards
> >>> marco
> >>>
> >>> On 11/17/05, Rogerio Pereira <ro...@gmail.com> wrote:
> >>>>I can deploy my ear in 4.0.2 and 4.0.3 without any problem.
> >>>>
> >>>>2005/11/17, Marco Mistroni <mm...@gmail.com>:
> >>>>>hello all,
> >>>>>i have developed a JSF app that i have deployed successfully on jboss
> >>>>>3.2.5
> >>>>>
> >>>>>i decided to move to jboss 4.02., and got this awful exception
> >>>>>
> >>>>>java.io.FileNotFoundException:
> >>>>>C:\Sw\jboss-
> >>>>
> >>>>4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl
> >>>>.j ar
> >>>>
> >>>>>at
> >>>>>org.jboss.net.protocol.file.FileURLConnection.connect(
> >>>>
> >>>>FileURLConnection.java:80)
> >>>>
> >>>>>at
> >>>>>org.jboss.net.protocol.file.FileURLConnection.getInputStream
> >>>>>(FileURLConnection.java:89)
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> >>>>>
> >>>>:309)
> >>>>:
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(
> >>>>
> >>>>TagLibCache.java:229)
> >>>>
> >>>>>at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
> >>>>>(TagLibCache.java:99)
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.ja
> >>>>>v a
> >>>>>
> >>>>:88)
> >>>>:
> >>>>>at
> >>>>>org.apache.jasper.JspCompilationContext.getTldLocation(
> >>>>
> >>>>JspCompilationContext.java:519)
> >>>>
> >>>>>at org.apache.jasper.compiler.Parser.parseTaglibDirective
> >>>>>(Parser.java:417)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> >>>>>at org.apache.jasper.compiler.Parser.parse(Parser.java
> >>>>>
> >>>>>:126)
> >>>>>
> >>>>>at
> >>>>>org.apache.jasper.compiler.ParserController.doParse(
> >>>>
> >>>>ParserController.java:211)
> >>>>
> >>>>>at
> >>>>>org.apache.jasper.compiler.ParserController.parse(ParserController.jav
> >>>>>a
> >>>>>
> >>>>:100)
> >>>>:
> >>>>>at org.apache.jasper.compiler.Compiler.generateJava
> >>>>>(Compiler.java:146)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java
> >>>>>
> >>>>>:255)
> >>>>>
> >>>>>at
> >>>>>org.apache.jasper.JspCompilationContext.compile(
> >>>>
> >>>>JspCompilationContext.java:556)
> >>>>
> >>>>>at
> >>>>>org.apache.jasper.servlet.JspServletWrapper.service(
> >>>>
> >>>>JspServletWrapper.java:293)
> >>>>
> >>>>>at org.apache.jasper.servlet.JspServlet.serviceJspFile
> >>>>>(JspServlet.java:314)
> >>>>>at
> >>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >>>>>at
> >>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >>>>>at
> >>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> >>>>>(ApplicationFilterChain.java:252)
> >>>>>at
> >>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(
> >>>>
> >>>>ApplicationFilterChain.java:173)
> >>>>
> >>>>>trying to add the jsf-lib with myfaces jar inside results still in
> >>>>> this exception
> >>>>>
> >>>>>2005-11-17 10:02:07,726 DEBUG
> >>>>>[org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for
> >>>>>tlds in:
> >>>>>file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar
> >>>>
> >>>>/jsf-libs/myfaces-impl.jar
> >>>>
> >>>>>2005-11-17 10:02:07,944 ERROR [
> >>>>>org.apache.catalina.core.ContainerBase.[jboss.web
> >>>>
> >>>>].[localhost].[/JSFApp].[jsp]]
> >>>>
> >>>>>Servlet.service() for servlet jsp threw exception
> >>>>>java.util.zip.ZipException: too many length or distance symbols
> >>>>>at java.util.zip.InflaterInputStream.read
> >>>>>(InflaterInputStream.java:140)
> >>>>>at
> >>>>>java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> >>>>>at
> >>>>>java.util.jar.JarInputStream.read(JarInputStream.java:171)
> >>>>>at
> >>>>>java.io.BufferedInputStream.read1(BufferedInputStream.java
> >>>>>
> >>>>>:254)
> >>>>>
> >>>>>at
> >>>>>java.io.BufferedInputStream.read(BufferedInputStream.java:313)
> >>>>>at
> >>>>>java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
> >>>>>at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
> >>>>>at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> >>>>>
> >>>>:310)
> >>>>:
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
> >>>>>(TagLibCache.java:263)
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
> >>>>
> >>>>TagLibCache.java:256)
> >>>>
> >>>>>at
> >>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
> >>>>>at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> >>>>>(TagLibCache.java:88)
> >>>>>at
> >>>>>org.apache.jasper.JspCompilationContext.getTldLocation(
> >>>>
> >>>>JspCompilationContext.java:519)
> >>>>
> >>>>>at
> >>>>>org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417
> >>>>>) at org.apache.jasper.compiler.Parser.parseDirective
> >>>>>(Parser.java:483)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> >>>>>at
> >>>>>org.apache.jasper.compiler.ParserController.doParse(
> >>>>
> >>>>ParserController.java
> >>>>
> >>>>>:211)
> >>>>>
> >>>>>at
> >>>>>org.apache.jasper.compiler.ParserController.parse(ParserController.jav
> >>>>>a
> >>>>>
> >>>>:100)
> >>>>:
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java
> >>>>>
> >>>>>:286)
> >>>>>
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> >>>>>at
> >>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> >>>>>at
> >>>>>org.apache.jasper.JspCompilationContext.compile(
> >>>>
> >>>>JspCompilationContext.java
> >>>>
> >>>>>:556)
> >>>>>
> >>>>>at
> >>>>>org.apache.jasper.servlet.JspServletWrapper.service(
> >>>>
> >>>>JspServletWrapper.java:293)
> >>>>
> >>>>>at
> >>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
> >>>>>4 ) at org.apache.jasper.servlet.JspServlet.service
> >>>>>(JspServlet.java:264)
> >>>>>
> >>>>>
> >>>>>
> >>>>>anyone has experienced samep roblem?
> >>>>>
> >>>>>thanks and regards
> >>>>>marco
> >>>>
> >>>>--
> >>>>Yours truly (Atenciosamente),
> >>>>
> >>>>Rogério
> >>
> >>--
> >>Thomas Heute
> >>JBoss Developer
> >
> >---
> >avast! Antivirus: Inbound message clean.
> >Virus Database (VPS): 0546-3, 16.11.2005
> >Tested on: 17.11.2005 17:29:26
> >avast! - copyright (c) 1988-2005 ALWIL Software.
> >http://www.avast.com

-- 
Thomas Heute
JBoss Developer

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Marius Oancea <ma...@yahoo.ca>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
403 and 403SP1 include myfaces.
I think this are included only because of "seam"
    Marius

Wayne Fay wrote:

>Is 4.0.3SP1 the **first** JBoss release with Myfaces libraries included?
>
>If not, when did they start doing this? 4.0.2? 4.0.3?
>
>Wayne
>
>
>On 11/17/05, Thomas Heute <th...@jboss.org> wrote:
>
>>myFaces libraries are now included in JBoss AS.
>>Try with JBoss 4.0.3SP1 if you can
>>
>>jdk 1.5 is not a problem
>>
>>(It's not a MyFaces issue so it does not fit well in that forum)
>>
>>Regards,
>>Thomas.
>>
>>On Thursday 17 November 2005 12.00, Marco Mistroni wrote:
>>
>>>thanks, but that won't help much :(
>>>fact that i can deploy under jboss 3.2.5 without any problems make me
think
>>>that problem maybe is some jboss setting, variables, don't know what
>>> are you using JDK 1.5?
>>> regards
>>> marco
>>>
>>> On 11/17/05, Rogerio Pereira <ro...@gmail.com> wrote:
>>>
>>>>I can deploy my ear in 4.0.2 and 4.0.3 without any problem.
>>>>
>>>>2005/11/17, Marco Mistroni <mm...@gmail.com>:
>>>>
>>>>>hello all,
>>>>>i have developed a JSF app that i have deployed successfully on jboss
>>>>>3.2.5
>>>>>
>>>>>i decided to move to jboss 4.02., and got this awful exception
>>>>>
>>>>>java.io.FileNotFoundException:
>>>>>C:\Sw\jboss-
>>>>
>>>>4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.j
>>>>ar
>>>>
>>>>>at
>>>>>org.jboss.net.protocol.file.FileURLConnection.connect(
>>>>
>>>>FileURLConnection.java:80)
>>>>
>>>>>at
>>>>>org.jboss.net.protocol.file.FileURLConnection.getInputStream
>>>>>(FileURLConnection.java:89)
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
>>>>>
>>>>:309)
>>>>:
>>>>
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(
>>>>
>>>>TagLibCache.java:229)
>>>>
>>>>>at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
>>>>>(TagLibCache.java:99)
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.jav
>>>>>a
>>>>>
>>>>:88)
>>>>:
>>>>
>>>>>at
>>>>>org.apache.jasper.JspCompilationContext.getTldLocation(
>>>>
>>>>JspCompilationContext.java:519)
>>>>
>>>>>at org.apache.jasper.compiler.Parser.parseTaglibDirective
>>>>>(Parser.java:417)
>>>>>at
>>>>>org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
>>>>>at
>>>>>org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
>>>>>at org.apache.jasper.compiler.Parser.parse(Parser.java
>>>>>
>>>>>:126)
>>>>>
>>>>>at
>>>>>org.apache.jasper.compiler.ParserController.doParse(
>>>>
>>>>ParserController.java:211)
>>>>
>>>>>at
>>>>>org.apache.jasper.compiler.ParserController.parse(ParserController.java
>>>>>
>>>>:100)
>>>>:
>>>>
>>>>>at org.apache.jasper.compiler.Compiler.generateJava
>>>>>(Compiler.java:146)
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java
>>>>>
>>>>>:255)
>>>>>
>>>>>at
>>>>>org.apache.jasper.JspCompilationContext.compile(
>>>>
>>>>JspCompilationContext.java:556)
>>>>
>>>>>at
>>>>>org.apache.jasper.servlet.JspServletWrapper.service(
>>>>
>>>>JspServletWrapper.java:293)
>>>>
>>>>>at org.apache.jasper.servlet.JspServlet.serviceJspFile
>>>>>(JspServlet.java:314)
>>>>>at
>>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>>>at
>>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>>at
>>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>>>>(ApplicationFilterChain.java:252)
>>>>>at
>>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(
>>>>
>>>>ApplicationFilterChain.java:173)
>>>>
>>>>>trying to add the jsf-lib with myfaces jar inside results still in this
>>>>>exception
>>>>>
>>>>>2005-11-17 10:02:07,726 DEBUG
>>>>>[org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for
>>>>>tlds in:
>>>>>file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar
>>>>
>>>>/jsf-libs/myfaces-impl.jar
>>>>
>>>>>2005-11-17 10:02:07,944 ERROR [
>>>>>org.apache.catalina.core.ContainerBase.[jboss.web
>>>>
>>>>].[localhost].[/JSFApp].[jsp]]
>>>>
>>>>>Servlet.service() for servlet jsp threw exception
>>>>>java.util.zip.ZipException: too many length or distance symbols
>>>>>at java.util.zip.InflaterInputStream.read
>>>>>(InflaterInputStream.java:140)
>>>>>at
>>>>>java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
>>>>>at
>>>>>java.util.jar.JarInputStream.read(JarInputStream.java:171)
>>>>>at
>>>>>java.io.BufferedInputStream.read1(BufferedInputStream.java
>>>>>
>>>>>:254)
>>>>>
>>>>>at
>>>>>java.io.BufferedInputStream.read(BufferedInputStream.java:313)
>>>>>at
>>>>>java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
>>>>>at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
>>>>>at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
>>>>>
>>>>:310)
>>>>:
>>>>
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
>>>>>(TagLibCache.java:263)
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
>>>>
>>>>TagLibCache.java:256)
>>>>
>>>>>at
>>>>>org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
>>>>>at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
>>>>>(TagLibCache.java:88)
>>>>>at
>>>>>org.apache.jasper.JspCompilationContext.getTldLocation(
>>>>
>>>>JspCompilationContext.java:519)
>>>>
>>>>>at
>>>>>org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
>>>>>at org.apache.jasper.compiler.Parser.parseDirective
>>>>>(Parser.java:483)
>>>>>at
>>>>>org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
>>>>>at
>>>>>org.apache.jasper.compiler.Parser.parse(Parser.java:126)
>>>>>at
>>>>>org.apache.jasper.compiler.ParserController.doParse(
>>>>
>>>>ParserController.java
>>>>
>>>>>:211)
>>>>>
>>>>>at
>>>>>org.apache.jasper.compiler.ParserController.parse(ParserController.java
>>>>>
>>>>:100)
>>>>:
>>>>
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java
>>>>>
>>>>>:286)
>>>>>
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>>>>>at
>>>>>org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>>>>>at
>>>>>org.apache.jasper.JspCompilationContext.compile(
>>>>
>>>>JspCompilationContext.java
>>>>
>>>>>:556)
>>>>>
>>>>>at
>>>>>org.apache.jasper.servlet.JspServletWrapper.service(
>>>>
>>>>JspServletWrapper.java:293)
>>>>
>>>>>at
>>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
>>>>>) at org.apache.jasper.servlet.JspServlet.service
>>>>>(JspServlet.java:264)
>>>>>
>>>>>
>>>>>
>>>>>anyone has experienced samep roblem?
>>>>>
>>>>>thanks and regards
>>>>>marco
>>>>
>>>>--
>>>>Yours truly (Atenciosamente),
>>>>
>>>>Rog�rio
>>
>>--
>>Thomas Heute
>>JBoss Developer
>>
>>
>>
>
>
>---
>avast! Antivirus: Inbound message clean.
>Virus Database (VPS): 0546-3, 16.11.2005
>Tested on: 17.11.2005 17:29:26
>avast! - copyright (c) 1988-2005 ALWIL Software.
>http://www.avast.com
>
>
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFDfKWW5d1Dx2/EvN4RAkgZAJ0Y876vNMQcgfzTUnX/H7vcAeVbngCgnbiu
yJIz8Yfnco0FwkKgMYRWc+Y=
=bTwV
-----END PGP SIGNATURE-----


Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Wayne Fay <wa...@gmail.com>.
Is 4.0.3SP1 the **first** JBoss release with Myfaces libraries included?

If not, when did they start doing this? 4.0.2? 4.0.3?

Wayne


On 11/17/05, Thomas Heute <th...@jboss.org> wrote:
>
> myFaces libraries are now included in JBoss AS.
> Try with JBoss 4.0.3SP1 if you can
>
> jdk 1.5 is not a problem
>
> (It's not a MyFaces issue so it does not fit well in that forum)
>
> Regards,
> Thomas.
>
> On Thursday 17 November 2005 12.00, Marco Mistroni wrote:
> > thanks, but that won't help much :(
> > fact that i can deploy under jboss 3.2.5 without any problems make me think
> > that problem maybe is some jboss setting, variables, don't know what
> >  are you using JDK 1.5?
> >  regards
> >  marco
> >
> >  On 11/17/05, Rogerio Pereira <ro...@gmail.com> wrote:
> > > I can deploy my ear in 4.0.2 and 4.0.3 without any problem.
> > >
> > > 2005/11/17, Marco Mistroni <mm...@gmail.com>:
> > > > hello all,
> > > > i have developed a JSF app that i have deployed successfully on jboss
> > > > 3.2.5
> > > >
> > > > i decided to move to jboss 4.02., and got this awful exception
> > > >
> > > > java.io.FileNotFoundException:
> > > > C:\Sw\jboss-
> > >
> > > 4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.j
> > >ar
> > >
> > > > at
> > > > org.jboss.net.protocol.file.FileURLConnection.connect(
> > >
> > > FileURLConnection.java:80)
> > >
> > > > at
> > > > org.jboss.net.protocol.file.FileURLConnection.getInputStream
> > > > (FileURLConnection.java:89)
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> > > >
> > > :309)
> > > :
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(
> > >
> > > TagLibCache.java:229)
> > >
> > > > at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
> > > > (TagLibCache.java:99)
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.jav
> > > >a
> > > >
> > > :88)
> > > :
> > > > at
> > > > org.apache.jasper.JspCompilationContext.getTldLocation(
> > >
> > > JspCompilationContext.java:519)
> > >
> > > > at org.apache.jasper.compiler.Parser.parseTaglibDirective
> > > > (Parser.java:417)
> > > > at
> > > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> > > > at
> > > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > > > at org.apache.jasper.compiler.Parser.parse(Parser.java
> > > >
> > > > :126)
> > > >
> > > > at
> > > > org.apache.jasper.compiler.ParserController.doParse(
> > >
> > > ParserController.java:211)
> > >
> > > > at
> > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java
> > > >
> > > :100)
> > > :
> > > > at org.apache.jasper.compiler.Compiler.generateJava
> > > > (Compiler.java:146)
> > > > at
> > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> > > > at
> > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> > > > at
> > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > > >
> > > > :255)
> > > >
> > > > at
> > > > org.apache.jasper.JspCompilationContext.compile(
> > >
> > > JspCompilationContext.java:556)
> > >
> > > > at
> > > > org.apache.jasper.servlet.JspServletWrapper.service(
> > >
> > > JspServletWrapper.java:293)
> > >
> > > > at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > > > (JspServlet.java:314)
> > > > at
> > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> > > > at
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > > > at
> > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > > (ApplicationFilterChain.java:252)
> > > > at
> > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > >
> > > ApplicationFilterChain.java:173)
> > >
> > > > trying to add the jsf-lib with myfaces jar inside results still in this
> > > > exception
> > > >
> > > > 2005-11-17 10:02:07,726 DEBUG
> > > > [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for
> > > > tlds in:
> > > > file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar
> > >
> > > /jsf-libs/myfaces-impl.jar
> > >
> > > > 2005-11-17 10:02:07,944 ERROR [
> > > > org.apache.catalina.core.ContainerBase.[jboss.web
> > >
> > > ].[localhost].[/JSFApp].[jsp]]
> > >
> > > > Servlet.service() for servlet jsp threw exception
> > > > java.util.zip.ZipException: too many length or distance symbols
> > > > at java.util.zip.InflaterInputStream.read
> > > > (InflaterInputStream.java:140)
> > > > at
> > > > java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> > > > at
> > > > java.util.jar.JarInputStream.read(JarInputStream.java:171)
> > > > at
> > > > java.io.BufferedInputStream.read1(BufferedInputStream.java
> > > >
> > > > :254)
> > > >
> > > > at
> > > > java.io.BufferedInputStream.read(BufferedInputStream.java:313)
> > > > at
> > > > java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
> > > > at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
> > > > at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> > > >
> > > :310)
> > > :
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
> > > > (TagLibCache.java:263)
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
> > >
> > > TagLibCache.java:256)
> > >
> > > > at
> > > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
> > > > at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> > > > (TagLibCache.java:88)
> > > > at
> > > > org.apache.jasper.JspCompilationContext.getTldLocation(
> > >
> > > JspCompilationContext.java:519)
> > >
> > > > at
> > > > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
> > > > at org.apache.jasper.compiler.Parser.parseDirective
> > > > (Parser.java:483)
> > > > at
> > > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > > > at
> > > > org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> > > > at
> > > > org.apache.jasper.compiler.ParserController.doParse(
> > >
> > > ParserController.java
> > >
> > > > :211)
> > > >
> > > > at
> > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java
> > > >
> > > :100)
> > > :
> > > > at
> > > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> > > > at
> > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > > >
> > > > :286)
> > > >
> > > > at
> > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> > > > at
> > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> > > > at
> > > > org.apache.jasper.JspCompilationContext.compile(
> > >
> > > JspCompilationContext.java
> > >
> > > > :556)
> > > >
> > > > at
> > > > org.apache.jasper.servlet.JspServletWrapper.service(
> > >
> > > JspServletWrapper.java:293)
> > >
> > > > at
> > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
> > > >) at org.apache.jasper.servlet.JspServlet.service
> > > > (JspServlet.java:264)
> > > >
> > > >
> > > >
> > > > anyone has experienced samep roblem?
> > > >
> > > > thanks and regards
> > > > marco
> > >
> > > --
> > > Yours truly (Atenciosamente),
> > >
> > > Rogério
>
> --
> Thomas Heute
> JBoss Developer
>
>
>

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Rogerio Pereira <ro...@gmail.com>.
There's a jsf-libs directory inside jbossweb-tomcat55, please copy
myfaces-impl.jar and myfaces-api.jar to this directory, but i don' t
think this is the solution for your problem but you can try this.

--
Yours truly (Atenciosamente),

Rogério

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Thomas Heute <th...@jboss.org>.
myFaces libraries are now included in JBoss AS.
Try with JBoss 4.0.3SP1 if you can

jdk 1.5 is not a problem

(It's not a MyFaces issue so it does not fit well in that forum)

Regards,
Thomas.

On Thursday 17 November 2005 12.00, Marco Mistroni wrote:
> thanks, but that won't help much :(
> fact that i can deploy under jboss 3.2.5 without any problems make me think
> that problem maybe is some jboss setting, variables, don't know what
>  are you using JDK 1.5?
>  regards
>  marco
>
>  On 11/17/05, Rogerio Pereira <ro...@gmail.com> wrote:
> > I can deploy my ear in 4.0.2 and 4.0.3 without any problem.
> >
> > 2005/11/17, Marco Mistroni <mm...@gmail.com>:
> > > hello all,
> > > i have developed a JSF app that i have deployed successfully on jboss
> > > 3.2.5
> > >
> > > i decided to move to jboss 4.02., and got this awful exception
> > >
> > > java.io.FileNotFoundException:
> > > C:\Sw\jboss-
> >
> > 4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.j
> >ar
> >
> > > at
> > > org.jboss.net.protocol.file.FileURLConnection.connect(
> >
> > FileURLConnection.java:80)
> >
> > > at
> > > org.jboss.net.protocol.file.FileURLConnection.getInputStream
> > > (FileURLConnection.java:89)
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> > >
> > :309)
> > :
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(
> >
> > TagLibCache.java:229)
> >
> > > at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
> > > (TagLibCache.java:99)
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.jav
> > >a
> > >
> > :88)
> > :
> > > at
> > > org.apache.jasper.JspCompilationContext.getTldLocation(
> >
> > JspCompilationContext.java:519)
> >
> > > at org.apache.jasper.compiler.Parser.parseTaglibDirective
> > > (Parser.java:417)
> > > at
> > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> > > at
> > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > > at org.apache.jasper.compiler.Parser.parse(Parser.java
> > >
> > > :126)
> > >
> > > at
> > > org.apache.jasper.compiler.ParserController.doParse(
> >
> > ParserController.java:211)
> >
> > > at
> > > org.apache.jasper.compiler.ParserController.parse(ParserController.java
> > >
> > :100)
> > :
> > > at org.apache.jasper.compiler.Compiler.generateJava
> > > (Compiler.java:146)
> > > at
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> > > at
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> > > at
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > >
> > > :255)
> > >
> > > at
> > > org.apache.jasper.JspCompilationContext.compile(
> >
> > JspCompilationContext.java:556)
> >
> > > at
> > > org.apache.jasper.servlet.JspServletWrapper.service(
> >
> > JspServletWrapper.java:293)
> >
> > > at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > > (JspServlet.java:314)
> > > at
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> > > at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > > at
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > (ApplicationFilterChain.java:252)
> > > at
> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> >
> > ApplicationFilterChain.java:173)
> >
> > > trying to add the jsf-lib with myfaces jar inside results still in this
> > > exception
> > >
> > > 2005-11-17 10:02:07,726 DEBUG
> > > [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for
> > > tlds in:
> > > file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar
> >
> > /jsf-libs/myfaces-impl.jar
> >
> > > 2005-11-17 10:02:07,944 ERROR [
> > > org.apache.catalina.core.ContainerBase.[jboss.web
> >
> > ].[localhost].[/JSFApp].[jsp]]
> >
> > > Servlet.service() for servlet jsp threw exception
> > > java.util.zip.ZipException: too many length or distance symbols
> > > at java.util.zip.InflaterInputStream.read
> > > (InflaterInputStream.java:140)
> > > at
> > > java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> > > at
> > > java.util.jar.JarInputStream.read(JarInputStream.java:171)
> > > at
> > > java.io.BufferedInputStream.read1(BufferedInputStream.java
> > >
> > > :254)
> > >
> > > at
> > > java.io.BufferedInputStream.read(BufferedInputStream.java:313)
> > > at
> > > java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
> > > at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
> > > at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> > >
> > :310)
> > :
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
> > > (TagLibCache.java:263)
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
> >
> > TagLibCache.java:256)
> >
> > > at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
> > > at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> > > (TagLibCache.java:88)
> > > at
> > > org.apache.jasper.JspCompilationContext.getTldLocation(
> >
> > JspCompilationContext.java:519)
> >
> > > at
> > > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
> > > at org.apache.jasper.compiler.Parser.parseDirective
> > > (Parser.java:483)
> > > at
> > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > > at
> > > org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> > > at
> > > org.apache.jasper.compiler.ParserController.doParse(
> >
> > ParserController.java
> >
> > > :211)
> > >
> > > at
> > > org.apache.jasper.compiler.ParserController.parse(ParserController.java
> > >
> > :100)
> > :
> > > at
> > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> > > at
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > >
> > > :286)
> > >
> > > at
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> > > at
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> > > at
> > > org.apache.jasper.JspCompilationContext.compile(
> >
> > JspCompilationContext.java
> >
> > > :556)
> > >
> > > at
> > > org.apache.jasper.servlet.JspServletWrapper.service(
> >
> > JspServletWrapper.java:293)
> >
> > > at
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
> > >) at org.apache.jasper.servlet.JspServlet.service
> > > (JspServlet.java:264)
> > >
> > >
> > >
> > > anyone has experienced samep roblem?
> > >
> > > thanks and regards
> > > marco
> >
> > --
> > Yours truly (Atenciosamente),
> >
> > Rogério

-- 
Thomas Heute
JBoss Developer

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Rogerio Pereira <ro...@gmail.com>.
yes, i'm using jdk 1.5

2005/11/17, Marco Mistroni <mm...@gmail.com>:
> thanks, but that won't help much :(
> fact that i can deploy under jboss 3.2.5 without any problems make me think
> that problem maybe is some jboss setting, variables, don't know what
>
> are you using JDK 1.5?
>
> regards
>  marco
>
>
>
> On 11/17/05, Rogerio Pereira <ro...@gmail.com> wrote:
> > I can deploy my ear in 4.0.2 and 4.0.3 without any problem.
> >
> > 2005/11/17, Marco Mistroni < mmistroni@gmail.com>:
> > > hello all,
> > >   i have developed a JSF app that i have deployed successfully on jboss
> > > 3.2.5
> > >
> > > i decided to move to jboss 4.02., and got this awful exception
> > >
> > > java.io.FileNotFoundException:
> > >
> C:\Sw\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.jar
> > >  at
> > >
> org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java
> :80)
> > >  at
> > >
> org.jboss.net.protocol.file.FileURLConnection.getInputStream
> > > (FileURLConnection.java:89)
> > >  at
> > >
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:309)
> > >  at
> > >
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(TagLibCache.java:229)
> > >  at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
> > > (TagLibCache.java:99)
> > >  at
> > > org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> (TagLibCache.java:88)
> > >  at
> > >
> org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
> > >  at
> org.apache.jasper.compiler.Parser.parseTaglibDirective
> > > (Parser.java:417)
> > >  at
> > >
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> > >  at
> > >
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > >  at org.apache.jasper.compiler.Parser.parse
> (Parser.java
> > > :126)
> > >  at
> > >
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
> > >  at
> > >
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
> > >  at org.apache.jasper.compiler.Compiler.generateJava
> > > (Compiler.java:146)
> > >  at
> > >
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> > >  at
> > > org.apache.jasper.compiler.Compiler.compile
> (Compiler.java:267)
> > >  at
> > >
> org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > > :255)
> > >  at
> > >
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
> > >  at
> > >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
> > >  at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > > (JspServlet.java:314)
> > >  at
> > > org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:264)
> > >  at
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > >  at
> > >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > (ApplicationFilterChain.java :252)
> > >  at
> > >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > >
> > >
> > > trying to add the jsf-lib with myfaces jar inside results still in this
> > > exception
> > >
> > > 2005-11-17 10:02:07,726 DEBUG
> > > [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning
> for
> > > tlds in:
> > >
> file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-
> impl.jar
> > > 2005-11-17 10:02:07,944 ERROR [
> > >
> org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/JSFApp].[jsp]]
> > > Servlet.service() for servlet jsp threw exception
> > > java.util.zip.ZipException : too many length or distance symbols
> > >  at java.util.zip.InflaterInputStream.read
> > > (InflaterInputStream.java:140)
> > >  at
> > >
> java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> > >  at
> > >
> java.util.jar.JarInputStream.read(JarInputStream.java:171)
> > >  at
> > >
> java.io.BufferedInputStream.read1(BufferedInputStream.java
> > > :254)
> > >  at
> > >
> java.io.BufferedInputStream.read(BufferedInputStream.java
> :313)
> > >  at
> > >
> java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
> > >  at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
> > >   at java.util.jar.JarInputStream.<init>( JarInputStream.java:43)
> > >  at
> > >
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:310)
> > >  at
> > >
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
> > > (TagLibCache.java :263)
> > >  at
> > >
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:256)
> > >  at
> > >
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
> > >  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> > > (TagLibCache.java:88)
> > >  at
> > >
> org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
> > >  at
> > >
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java
> :417)
> > >  at org.apache.jasper.compiler.Parser.parseDirective
> > > (Parser.java:483)
> > >  at
> > >
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > >  at
> > > org.apache.jasper.compiler.Parser.parse
> (Parser.java:126)
> > >  at
> > >
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java
> > > :211)
> > >  at
> > >
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
> > >  at
> > >
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> > >  at
> > >
> org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > > :286)
> > >  at
> > > org.apache.jasper.compiler.Compiler.compile
> (Compiler.java:267)
> > >  at
> > >
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> > >  at
> > >
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java
> > > :556)
> > >  at
> > >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
> > >  at
> > >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> > >  at org.apache.jasper.servlet.JspServlet.service
> > > (JspServlet.java:264)
> > >
> > >
> > >
> > > anyone has experienced samep roblem?
> > >
> > > thanks and regards
> > >  marco
> > >
> > >
> >
> >
> > --
> > Yours truly (Atenciosamente),
> >
> > Rogério
> >
>
>


--
Yours truly (Atenciosamente),

Rogério

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Marco Mistroni <mm...@gmail.com>.
thanks, but that won't help much :(
fact that i can deploy under jboss 3.2.5 without any problems make me think
that problem maybe is some jboss setting, variables, don't know what
 are you using JDK 1.5?
 regards
 marco

 On 11/17/05, Rogerio Pereira <ro...@gmail.com> wrote:
>
> I can deploy my ear in 4.0.2 and 4.0.3 without any problem.
>
> 2005/11/17, Marco Mistroni <mm...@gmail.com>:
> > hello all,
> > i have developed a JSF app that i have deployed successfully on jboss
> > 3.2.5
> >
> > i decided to move to jboss 4.02., and got this awful exception
> >
> > java.io.FileNotFoundException:
> > C:\Sw\jboss-
> 4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.jar
> > at
> > org.jboss.net.protocol.file.FileURLConnection.connect(
> FileURLConnection.java:80)
> > at
> > org.jboss.net.protocol.file.FileURLConnection.getInputStream
> > (FileURLConnection.java:89)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> :309)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(
> TagLibCache.java:229)
> > at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
> > (TagLibCache.java:99)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java
> :88)
> > at
> > org.apache.jasper.JspCompilationContext.getTldLocation(
> JspCompilationContext.java:519)
> > at org.apache.jasper.compiler.Parser.parseTaglibDirective
> > (Parser.java:417)
> > at
> > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> > at
> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > at org.apache.jasper.compiler.Parser.parse(Parser.java
> > :126)
> > at
> > org.apache.jasper.compiler.ParserController.doParse(
> ParserController.java:211)
> > at
> > org.apache.jasper.compiler.ParserController.parse(ParserController.java
> :100)
> > at org.apache.jasper.compiler.Compiler.generateJava
> > (Compiler.java:146)
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > :255)
> > at
> > org.apache.jasper.JspCompilationContext.compile(
> JspCompilationContext.java:556)
> > at
> > org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:293)
> > at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > (JspServlet.java:314)
> > at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> > at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > (ApplicationFilterChain.java:252)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
> >
> >
> > trying to add the jsf-lib with myfaces jar inside results still in this
> > exception
> >
> > 2005-11-17 10:02:07,726 DEBUG
> > [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for
> > tlds in:
> > file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar
> /jsf-libs/myfaces-impl.jar
> > 2005-11-17 10:02:07,944 ERROR [
> > org.apache.catalina.core.ContainerBase.[jboss.web
> ].[localhost].[/JSFApp].[jsp]]
> > Servlet.service() for servlet jsp threw exception
> > java.util.zip.ZipException: too many length or distance symbols
> > at java.util.zip.InflaterInputStream.read
> > (InflaterInputStream.java:140)
> > at
> > java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> > at
> > java.util.jar.JarInputStream.read(JarInputStream.java:171)
> > at
> > java.io.BufferedInputStream.read1(BufferedInputStream.java
> > :254)
> > at
> > java.io.BufferedInputStream.read(BufferedInputStream.java:313)
> > at
> > java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
> > at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
> > at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java
> :310)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
> > (TagLibCache.java:263)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(
> TagLibCache.java:256)
> > at
> > org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
> > at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> > (TagLibCache.java:88)
> > at
> > org.apache.jasper.JspCompilationContext.getTldLocation(
> JspCompilationContext.java:519)
> > at
> > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
> > at org.apache.jasper.compiler.Parser.parseDirective
> > (Parser.java:483)
> > at
> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> > at
> > org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> > at
> > org.apache.jasper.compiler.ParserController.doParse(
> ParserController.java
> > :211)
> > at
> > org.apache.jasper.compiler.ParserController.parse(ParserController.java
> :100)
> > at
> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java
> > :286)
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> > at
> > org.apache.jasper.JspCompilationContext.compile(
> JspCompilationContext.java
> > :556)
> > at
> > org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:293)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> > at org.apache.jasper.servlet.JspServlet.service
> > (JspServlet.java:264)
> >
> >
> >
> > anyone has experienced samep roblem?
> >
> > thanks and regards
> > marco
> >
> >
>
>
> --
> Yours truly (Atenciosamente),
>
> Rogério
>

Re: JSF-basede application on jboss 4.0.2 fails miserably

Posted by Rogerio Pereira <ro...@gmail.com>.
I can deploy my ear in 4.0.2 and 4.0.3 without any problem.

2005/11/17, Marco Mistroni <mm...@gmail.com>:
> hello all,
>   i have developed a JSF app that i have deployed successfully on jboss
> 3.2.5
>
> i decided to move to jboss 4.02., and got this awful exception
>
> java.io.FileNotFoundException:
> C:\Sw\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.jar
>  at
> org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
>  at
> org.jboss.net.protocol.file.FileURLConnection.getInputStream
> (FileURLConnection.java:89)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:309)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(TagLibCache.java:229)
>  at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init
> (TagLibCache.java:99)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
>  at
> org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
>  at org.apache.jasper.compiler.Parser.parseTaglibDirective
> (Parser.java:417)
>  at
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
>  at
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
>  at org.apache.jasper.compiler.Parser.parse(Parser.java
> :126)
>  at
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
>  at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>  at org.apache.jasper.compiler.Compiler.generateJava
> (Compiler.java:146)
>  at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>  at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>  at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java
> :255)
>  at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
>  at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:314)
>  at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>
> trying to add the jsf-lib with myfaces jar inside results still in this
> exception
>
> 2005-11-17 10:02:07,726 DEBUG
> [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for
> tlds in:
> file:/C:/Sw/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
> 2005-11-17 10:02:07,944 ERROR [
> org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/JSFApp].[jsp]]
> Servlet.service() for servlet jsp threw exception
> java.util.zip.ZipException: too many length or distance symbols
>  at java.util.zip.InflaterInputStream.read
> (InflaterInputStream.java:140)
>  at
> java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
>  at
> java.util.jar.JarInputStream.read(JarInputStream.java:171)
>  at
> java.io.BufferedInputStream.read1(BufferedInputStream.java
> :254)
>  at
> java.io.BufferedInputStream.read(BufferedInputStream.java:313)
>  at
> java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
>  at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
>   at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:310)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem
> (TagLibCache.java:263)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:256)
>  at
> org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
>  at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation
> (TagLibCache.java:88)
>  at
> org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
>  at
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
>  at org.apache.jasper.compiler.Parser.parseDirective
> (Parser.java:483)
>  at
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
>  at
> org.apache.jasper.compiler.Parser.parse(Parser.java:126)
>  at
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java
> :211)
>  at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>  at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
>  at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java
> :286)
>  at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>  at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>  at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java
> :556)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>  at org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:264)
>
>
>
> anyone has experienced samep roblem?
>
> thanks and regards
>  marco
>
>


--
Yours truly (Atenciosamente),

Rogério