[Installation, Configuration & DEPLOYMENT] - Re: How to deploy a struts 1.3.8 application in jboss 4.2.1
by nrosalyne
Hi
I could deploy a struts 1.3.5 application in the same jboss version.
But the problem is I couldn't for the application devaloped in struts 1.3.8.
I'm getting following errors:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: java.util.zip.ZipException: invalid entry CRC (expected 0x9f690ad0 but got 0xcab8a4a6)
org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:106)
org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83)
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:530)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
org.apache.jasper.compiler.Parser.parse(Parser.java:133)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
org.apache.jasper.JasperException: java.util.zip.ZipException: invalid entry CRC (expected 0x9f690ad0 but got 0xcab8a4a6)
org.jboss.web.tomcat.service.jasper.TagLibCache.scanJar(TagLibCache.java:343)
org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:268)
org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:261)
org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:101)
org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83)
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:530)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
org.apache.jasper.compiler.Parser.parse(Parser.java:133)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.util.zip.ZipException: invalid entry CRC (expected 0x9f690ad0 but got 0xcab8a4a6)
java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:378)
java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
java.util.jar.JarInputStream.read(JarInputStream.java:171)
java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:118)
java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:149)
org.jboss.web.tomcat.service.jasper.TagLibCache.scanJar(TagLibCache.java:324)
org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:268)
org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:261)
org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:101)
org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83)
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:530)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
org.apache.jasper.compiler.Parser.parse(Parser.java:133)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the JBossWeb/2.0.0.GA logs.
Con any body point me out what could be the reaso?
Rosa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137665#4137665
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137665
18 years, 1 month
[JBoss Portal] - DashBoard Functionality is not happening properly
by PVApparao
Hi,
We are using jboss-portal2.6.1ha.sar and oracle 10g as our database.
When we deploy the jboss-portal2.6.1ha.sar to the jboss4.05 GA with 3 nodes cluster and apache as webserver, when all the 3 nodes are up the dashboard functionality is not happening properly.
I am explaining the behaviour clearly here
when i click the edit dashbord link and create a new page it is not happening. After two or three tarils it is listing in the dropdown box. Then when i try to add a portlet to the page it is not happening, it is always selecting the default page. After all this exercise when i went back to the dashboard by clicking on the dashboard link, i am getting the 500 error. After few refreshes i am getting the dashboard page normally. This is the behaviour i am facing when all the 3 nodes are up.
When only one node is on the behaviour is differnt. The dashboard functionality is working without any problems.
What is the solution for this problem.
I am also upgraded the jboss-cache.jar to 1.4.1 version and jgroups to 2.6
Can anyone suggest a solution to this problem , how can i make the use of the dashboard functionlity when all the 3 nodes are up?
Once again i am repeating the configuration that we use
jboss-portal2.6.1ha.sar
jboss4.05 GA server with 3 nodes as cluster and apache webserver to handle the requests
oracle 10G as our database
server cache upgraded to jboss-cache 1.4.1 sp8 and jgroups 2.6
Thanks,
Venkat.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137663#4137663
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137663
18 years, 1 month
[Installation, Configuration & DEPLOYMENT] - How to deploy a struts 1.3.8 application in jboss 4.2.1 GA?
by nrosalyne
Hi!
I'm facing problem in deploying an application which is developed in Struts 1.3.8 + hibernate3 in Tomcat5.5.0 enviroment in jboss4.2.1GA. The application in working fine in tomcat.
Can any body help me out to solve my problem? I'm new to jboss, so kindly tell me the basic cofigurations that need to be done.
I'm getting following errors:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 25 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the JBossWeb/2.0.0.GA logs.
Thanks in Advance
Rosa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137659#4137659
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137659
18 years, 1 month