Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib
Hi,
I am using tomcat 4.1.x and jdk1.4. After updating the tomcat to 5.5.17 my application gives the following error:
org.apache.jasper.JasperException: /jsp/index.jsp(150,20) Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
Is it because jdk1.4 is not compatible with tomcat 5.5.17? can i fix this problem by just pasting some jar files in my WEF-INF/lib directory?
If yes, could you let me know what those jar files are.
Can anyone please suggest me if there is some other approach?
Just remove jsp-api.jar from your classpath.
Similar Messages
-
Failed to load or instantiate TagExtraInfo class
Hi there
If I deploy a taglib (which contains TEI-classes) to Tomcat 5.0.25 I get the following error:
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:378)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:283)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:422)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
root cause
java.lang.ClassNotFoundException: ch.gsa.prodass3.taglib.TagAddAttributeTEI
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:419)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.
I've got no idea how the problem can be resolved..!
Help, would be very appreceated!
The jar-file with the tag-classes and the tei-classes is located in /WEB-INF/lib/
The class TagAddAttributeTEI.class is included in the jar-file.
The beginning of the tld-file looks like this:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>db</short-name>
<uri>taglib.tld</uri>
<description>Datenbankzugriff</description>
<tag>
<name>addattribute</name>
<tag-class>ch.gsa.prodass3.taglib.TagAddAttribute</tag-class>
<tei-class>ch.gsa.prodass3.taglib.TagAddAttributeTEI</tei-class>
<body-content>jsp</body-content>
<display-name>addattribute</display-name>
<description>A short description...</description>
<attribute>
<name>useexisting</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>procedurename</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>itemid</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>attribute</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>sprachid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>message</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>status</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<example>Brief snippet showing how to use this tag.</example>
</tag>Has anybody an idea about this issue?
-
Struts Exception: Failed to load or instantiate TagExtraInfo
Dear Friends,
Happy New Year.
I am trying to run one struts module but I am getting the following Exception .
I am not able to understand what this is all about. I tried to check the struts-html.tld file. But the entry seems to be the correct there. I am using jakarta-struts-1.2.4 and runnign the applicationthrough netbeans.The jar file is both se t to the CLASSPATH and mounted in netbeans also.
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:319)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:456)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:291)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:205)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)
root cause
java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1383)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:453)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:291)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:205)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
Need Help.
Regards,
VishalSir i encounterd the following problem
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:279)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:422)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:419)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) -
Mystery Exception: Failed to load or instantiate TagLibraryValidator class
I am having trouble with getting a class to load when I access a JSP which uses JSTL:
org.apache.jasper.JasperException: /hello.jsp(1,1) Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86)
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)There is org/apache/taglibs/standard/tlv/JstlCoreTLV.class in webapps/foobar/WEB-INF/lib/standard.jar. I'm using Tomcat 5.5.4 and Spring 1.1.2.
Any ideas as to how I can get around this, or what might be causing the problem ?
--JamesI'm using NetBeans and getting same message. Application i'm running on jrun, which not complains about that, but it seems it similary ignores that code.
<c:choose>
<c:when test="${!empty param.branchEdit || !empty param.branchCreate}">
<%@ include file="/inc/union/editBranch.inc.jsp"%>
</c:when>
<c:otherwise>
<%@ include file="/inc/union/viewBranchList.inc.jsp"%>
</c:otherwise>
</c:choose>After i changed to :
<%
if(request.getParameter("branchEdit")!=null || request.getParameter("branchCreate")!=null)
%>
<%@ include file="/inc/union/editBranch.inc.jsp"%>
<%
else
%>
<%@ include file="/inc/union/viewBranchList.inc.jsp"%>
<%}%>all works ok. -
Hi All,
I have a proble deploying my app with struts 1.3.10, when I run under tomcat 6 on my eclipse, it´s fine, but when I deploy on weblogic send next exception:
####<Apr 2, 2013 4:24:19 PM CDT> <Info> <ServletContext-/slagentes> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1364937859494> <BEA-000000> <layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
>
####<Apr 2, 2013 4:24:19 PM CDT> <Error> <HTTP> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1364937859499> <BEA-101017> <[ServletContext@159254910[app:slagentes module:/slagentes path:null spec-version:3.0], request: weblogic.servlet.internal.ServletRequestImpl@5ebf5ebf[
POST /slagentes/login.do HTTP/1.1
Connection: keep-alive
Content-Length: 37
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Origin: http://172.17.12.129:7004
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
Content-Type: application/x-www-form-urlencoded
Referer: http://172.17.12.129:7004/slagentes/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: es-ES,es;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
]] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/template/layout.jsp
layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:225)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:161)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:190)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:281)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:453)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:364)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:567)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:263)
at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3284)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
My weblogic.xml is
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app
xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd">
<wls:container-descriptor>
<wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
</wls:container-descriptor>
</wls:weblogic-web-app>
and my weblogic-application.xml is
<?xml version = '1.0' encoding = 'UTF-8'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<application-param>
<param-name>webapp.encoding.default</param-name>
<param-value>UTF-8</param-value>
</application-param>
<prefer-application-packages>
<package-name>antlr.*</package-name>
<package-name>org.apache.*</package-name>
<package-name>javax.xml.rpc.*</package-name>
<package-name>javax.xml.namespace.*</package-name>
<package-name>javax.xml.messaging.*</package-name>
<package-name>javax.xml.soap.*</package-name>
<package-name>javax.servlet.jsp.jstl.*</package-name>
</prefer-application-packages>
</weblogic-application>
please help meThe struts-template tld has been deprecated in favour of the tiles taglib.
If you are using anything above struts 1.0, then you should be using tiles.
Most probably the support files for the struts-template taglib are not in your distribution.
Cheers,
evnafets -
I am using tiles with JSF.
my starting page is template.jsp which is like this..
<f:view>
<f:subview id="header">
<tiles:insert attribute="header" flush="false"/>
</f:subview>
<f:subview id="menu">
<tiles:insert attribute="menu" flush="false"/>
</f:subview>
</f:view>
when ever the page is rendered, im not getting the value for attribute header or content. its throwing java.lang.NullPointerException at org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:689)
Below is my faces-config.xml
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<application>
<view-handler>org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl</view-handler>
</application>
</faces-config>
Below is my web.xml
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<init-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/ApplianceMgr/conf/faces-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Tiles Servlet</servlet-name>
<servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class>
<init-param>
<param-name>tiles-definitions</param-name>
<param-value>/ApplianceMgr/conf/tiles.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
Below is my tiles.xml
<tiles-definitions>
<definition name="main.template" path="/template/template.jsp" >
<put name="header" value="test from template" />
<put name="menu" value="test from template" />
</definition>Please post the tiles-config.xml, layout and tiles.
Please refer
http://www.oracle.com/technology/pub/articles/vohra_tiles.html -
I am using JDeveoper10.1.2 with JHeadStart
I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
Please help what could be the cause.I have another way to solve this problem!
When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
or
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
If line (1) marked, change the prefix="html" to prefix="html1"
If line (2) marked, find the lines like <bean:message key="link.something_here"/>
and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
I successfully using this way but only if one error happend at a time or two errors from two kinds of error
This way is not as good as the previous way mentioned in previous post. -
Hi
i have a form from which i am gettin values and i am using struts to get those values and perform actions in my DAO,
i am able to retrieve values from DAO but the value is not gettin printed in front end.. its throwing
"javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope" error
got any suggestions
thankxGot the solution,. i had closed my <html:form> before closing one of my <html:form>
thankx -
I want to submit this page so that i can retrieve values in the new employer name and license type depending on the license # my jsp code is as below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page import="org.apache.struts.action.Action.*"%>
<%@ page contentType="text/html;charset=windows-1252" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html>
<HEAD>
<TITLE><bean:message key="application.title"/></TITLE>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=ISO-8859-1">
<META NAME="GENERATOR" content="Oracle JDeveloper 10g">
<META HTTP-EQUIV="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="PRAGMA" VALUE="NO-CACHE">
<LINK href="theme/Master.css" rel="stylesheet" type="text/css">
<SCRIPT src="javascript/common_validation.js"></SCRIPT>
</HEAD>
<BODY MARGINHEIGHT="0" marginweight="0" topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
<%@ include file="../../includes/icolaMenu.jsp" %>
<html:form action="/addTransfer.do" focus="newEmplic" onsubmit="return validateTransferlicenseeForm(this);">
<html:javascript formName="transferlicenseeForm" /><html:errors />
<tr><td>
<table align="left" border="1" width="736" bgcolor="ffffff" cellpadding="0" cellspacing="0" bordercolor="c0c0c0">
<tr><td>
<table width="736" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="730" align=center><b><font face="Verdana, Arial, Helvetica, sans-serif">Transfer License</font></b></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><%@ include file="../../includes/licenseDetails.jsp" %></td>
</tr>
<tr>
<td align="center">
<table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
<tr>
<td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b> :: Current Employing Licensee Information:</b></font></td>
<td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>¤ ¤ ¤ </b></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left"><table width="734" border="0">
<tr>
<td width="30"> </td>
<td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
<td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplic" /></font></td>
</tr>
<tr>
<td width="4%"> </td>
<td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
<td width="30%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpname" /></font></td>
<td width= "20%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>DBA Name:</b></font></td>
<td width="30%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpdbaname" /></font></td>
</tr>
<tr>
<td width="30"> </td>
<td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
<td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplictype" /></font></td>
</tr>
</table></td>
</tr>
<tr>
<td nowrap><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
</tr>
<tr>
<td align="center">
<table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
<tr>
<td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b> :: New Employing Licensee Information:</b></font></td>
<td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>¤ ¤ ¤ </b></font></td>
</tr>
</table>
</td>
</tr>
<logic:equal name="transferlicenseeForm" property="transferButton" value="button.submit">
<tr>
<td align="left"><table width="734" border="0">
<html:form action="ChangeEvent.do" name ="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" >
<html:hidden property="method" />
<tr>
<td width="4%"> </td>
<td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
<td width="76%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><html:text styleClass="required" maxlength="10" name="transferlicenseeForm" property="newEmplic" onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}" /></font>
<font size="-2" color=blue face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td>
<!-- <td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
<td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td>-->
</tr>
<!-- </html:form> -->
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
</tr>
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
</tr>
<tr>
<td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
</td>
</tr>
</table></td>
</tr>
<html:hidden property="parentLicid" />
<tr>
<td> </td>
</tr>
<tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><b>Have you been convicted of a felony or misdemeanor for which you could have gone to jail that has not previously been reported to the department?</b></font>
</td>
</tr>
<tr>
</tr>
<tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray">
<html:radio property="GMCind" value="N" disabled="true"/>NO
<html:radio property="GMCind" value="Y" disabled="true"/>YES (Complete and return this questionaire)
(http://www.cis.state.mi.us/bcsc/forms/lce020.pdf)
</font>
</td>
</tr>
<!-- <tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Have you had disciplinary action taken against any license, registration or permit you now hold or have ever held that you have not reported to the department?</b></font>
</td>
</tr>
<tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif">
<html:radio property="dispInd" value="N" />NO
<html:radio property="dispInd" value="Y" />YES (Complete and return this questionaire)
(http://www.cis.state.mi.us/bcsc/forms/lce021.pdf)
</font>
</td>
</tr>-->
</td>
</tr>
</logic:equal>
<logic:equal name="transferlicenseeForm" property="transferButton" value="button.canceltransfer">
<tr>
<td align="left"><table width="734" border="0">
<tr>
<td width="30"> </td>
<td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License #:</b></font> </td>
<td width="280"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><html:text styleClass="required" maxlength="10" property="newEmplic" disabled="true" /></font> </td>
<!-- <font size="-2" color="Gray" face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td> -->
<!--<td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
<td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td> -->
</tr>
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>Name:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
</tr>
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License Type:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
</tr>
<tr>
<td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
</td>
</tr>
</table></td>
</tr>
<html:hidden property="parentLicid" />
<tr>
<td> </td>
</tr>
</logic:equal>
<tr>
<td align="center">
<table width="734" border="0">
<tr>
<td align="left" width="240" valign="middle"> <img src="images/icon_required.gif" align=top width="6" height="6" border="0"> Required Field</td>
<td align="center" width="20">
<html:submit property="confirmTrans">
<bean:message name="transferlicenseeForm" property="transferButton" />
</html:submit>
</td>
</html:form>
<html:form action="/Button">
<td align="left" width="330">
<html:cancel property="method">
<bean:message key="button.returnChild"/>
</html:cancel>
</td>
</html:form>
</tr>
</table></td>
</tr>
</table>
</td></tr>
</table>
</td></tr>
<%@ include file="../../includes/icolaFooter.html" %>
</BODY>
</html:html>
my struts-config as below
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="userID" type="java.lang.String" />
<form-property name="pinNum" type="java.lang.String" />
</form-bean>
<form-bean name="renewalLoginForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="licNum" type="java.lang.String" />
</form-bean>
<form-bean name="reqPwdResetForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="chooseOption" type="java.lang.String" />
<form-property name="lName" type="java.lang.String" />
<form-property name="SSN" type="java.lang.String" />
<form-property name="DOB" type="java.lang.String" />
<form-property name="licNum" type="java.lang.String" />
</form-bean>
<form-bean name="reqNewAcctForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="chooseOption" type="java.lang.String" />
<form-property name="lName" type="java.lang.String" />
<form-property name="SSN" type="java.lang.String" />
<form-property name="DOB" type="java.lang.String" />
<form-property name="licNum" type="java.lang.String" />
</form-bean>
<form-bean name="changePinForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="userID" type="java.lang.String" />
<form-property name="pinNum" type="java.lang.String" />
<form-property name="dupPinNum" type="java.lang.String" />
</form-bean>
<form-bean name="newAppInitialForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="board" type="java.lang.String" />
<form-property name="licType" type="java.lang.String" />
<form-property name="obtBy" type="java.lang.String" />
<form-property name="allObtBy" type="java.lang.String" />
<form-property name="allLicTypes" type="java.lang.String" />
</form-bean>
<form-bean name="mainForm" type="org.apache.struts.validator.DynaValidatorForm" >
<form-property name="chooseOption" type="java.lang.String" />
</form-bean>
<form-bean name="buttonForm" type="org.apache.struts.validator.DynaValidatorForm" />
<form-bean name="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" />
<form-bean name="apprTransferForm" type="org.apache.struts.validator.DynaValidatorForm" >
<form-property name="trApprFlag" type="java.lang.String[]" />
</form-bean>
<form-bean name="empRenewForm" type="com.dleg.cola.forms.EmpRenewForm" >
<form-property name="empRenFlag" type="java.lang.String[]" />
</form-bean>
<form-bean name="renewalForm" type="com.dleg.cola.forms.RenewForm" />
<form-bean name="reprintlicenseForm" type="com.dleg.cola.forms.ReprintLicenseForm" />
<form-bean name="invoiceForm" type="com.dleg.cola.forms.InvoiceForm" />
<form-bean name="creditCardForm" type="com.dleg.cola.forms.CreditCardForm" />
<form-bean name="addressChangeForm" type="com.dleg.cola.forms.AddressChangeForm" />
<form-bean name="personForm" type="com.dleg.cola.forms.PersonForm" />
<form-bean name="companyForm" type="com.dleg.cola.forms.CompanyForm" />
<form-bean name="checkListForm" type="com.dleg.cola.forms.CheckListForm" />
</form-beans>
<global-exceptions>
<exception type="com.dleg.cola.exceptions.DatabaseException" key="error.database.missing" path="/error.jsp" scope="request" />
</global-exceptions>
<global-forwards>
<forward name="login" path="/login.jsp" redirect="false" />
</global-forwards>
<action-mappings type="org.apache.struts.config.SecureActionConfig">
<action path="/RequestPwdReset" input="/WEB-INF/jsps/reqPwdReset.jsp" type="com.dleg.cola.actions.RequestPwdResetAction" name="reqPwdResetForm">
<forward name="success" path="/changePin.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/RequestNewAcct" input="/WEB-INF/jsps/reqNewAcct.jsp" type="com.dleg.cola.actions.RequestNewAcctAction" name="reqNewAcctForm">
<forward name="destination1" path="/changePin.jsp" />
<forward name="destination2" path="/changePin.jsp" />
<forward name="destination3" path="/register.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/RenewalLogin" input="/WEB-INF/jsps/renewalLogin.jsp" type="com.dleg.cola.actions.RenewalLoginAction" name="renewalLoginForm">
<forward name="success" path="Licensee.do" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/Login" input="/WEB-INF/jsps/login.jsp" type="com.dleg.cola.actions.LoginAction" name="loginForm">
<forward name="success" path="Licensee.do" />
<!--<forward name="success1" path="/UserLogin.jsp" /> -->
<forward name="success1" path="/changePin.jsp" />
<forward name="success2" path="/newApp.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/UpdateAddrInfo" type="com.dleg.cola.actions.UpdateAddrInfoAction" name="personForm">
<forward name="success" path="ShowCheckList.do" />
</action>
<action path="ShowCheckList" type="com.dleg.cola.actions.ShowCheckListAction" name="checkListForm">
<forward name="success" path="/checkList.jsp" />
</action>
<action path="/SubmitCheckList" type="com.dleg.cola.actions.SubmitCheckListAction" name="checkListForm">
<forward name="success" path="viewInvoice.do" />
</action>
<action path="Licensee" type="com.dleg.cola.actions.LicenseeAction" name="licenseeForm">
<forward name="success" path="/licHome.jsp" />
</action>
<action path="/Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
<set-property property="secure" value="true"/>
<forward name="exit" path="/login.jsp" />
<forward name="exit1" path="/renewalLogin.jsp" />
<forward name="changePin" path="/changePin.jsp" />
<forward name="approve" path="PendAppr.do" redirect="false" />
<forward name="submit" path="/ApprTransfer.do" redirect="false" />
<forward name="returnHome" path="/licHome.jsp" redirect="false" />
<forward name="returnChild" path="ChildLic.do" redirect="false" />
<forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
<forward name="cancel" path="/login.jsp" redirect="false" />
<forward name="renew" path="RenewLic.do" redirect="false"/>
<forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
<forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
<forward name="pay" path="/makePayment.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false"/>
<forward name="login" path="/login.jsp" redirect="false" />
<forward name="main" path="/main.jsp" redirect="false" />
<forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
<forward name="newLicApp" path="NewApp.do" redirect="false" />
<forward name="renewMore" path="/licHome.jsp" redirect ="false" />
</action>
<action path="Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
<set-property property="secure" value="true"/>
<forward name="exit" path="/login.jsp" />
<forward name="changePin" path="/changePin.jsp" />
<forward name="approve" path="PendAppr.do" redirect="false" />
<forward name="submit" path="/ApprTransfer.do" redirect="false" />
<forward name="returnHome" path="/licHome.jsp" redirect="false" />
<forward name="returnChild" path="ChildLic.do" redirect="false" />
<forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
<forward name="cancel" path="/login.jsp" redirect="false" />
<forward name="renew" path="RenewLic.do" redirect="false"/>
<forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
<forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
<forward name="pay" path="/makePayment.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false"/>
<forward name="main" path="/main.jsp" redirect="false" />
<forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
<forward name="newLicApp" path="NewApp.do" redirect="false" />
<forward name="renewMore" path="/licHome.jsp" redirect ="false" />
</action>
<action path="NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
<forward name="success" path="/newApp.jsp" />
</action>
<action path="/NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
<forward name="success" path="/newApp.jsp" />
</action>
<action path="/AddressInfo" type="com.dleg.cola.actions.AddressInfoAction" name="personForm" scope="request">
<forward name="success" path="/addressInfo.jsp" />
</action>
<action path="/NewAppContinue" type="com.dleg.cola.actions.NewAppContinueAction" name="newAppInitialForm" scope="request">
<forward name="success" path="/newAppContinue.jsp" />
</action>
<action path="/ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
<forward name="success" path="/child_lic.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
<forward name="success" path="/child_lic.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/transferLic" type="com.dleg.cola.actions.ButtonAction" name="transferlicenseeForm" parameter="transferLicense" scope="request">
<forward name="transfer" path="/transferLicense.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/transferLicense" type="com.dleg.cola.actions.TransferLicAction" name="transferlicenseeForm" scope="request">
<forward name="transfer" path="/transferLicense.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/ChangeEvent" type="com.dleg.cola.actions.ChangeAction" name="transferlicenseeForm" scope="request" parameter="method">
<forward name="success" path="/transferLicense.jsp"></forward>
<forward name="failure" path="/error.jsp"></forward>
</action>
<action path="/addTransfer" input="transferLicense.jsp" type="com.dleg.cola.actions.TransferLicenseAction" name="transferlicenseeForm" parameter="confirmTrans" scope="request">
<forward name="success" path="/viewInvoice.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
<forward name="cancel" path="/child_lic.jsp" redirect="false" />
<forward name="transfer" path="/licHome.jsp" redirect="false" />
<forward name="invalid" path="/error.jsp" redirect="false" />
</action>
<action path="/reprintLic" input="child_lic.jsp" type="com.dleg.cola.actions.ButtonAction" name="reprintlicenseForm" parameter="reprintLicense" scope="request">
<forward name="reqDuplicate" path="/dupReprint.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/addReprint" input="dupReprint.jsp" type="com.dleg.cola.actions.ReprintAction" name="reprintlicenseForm" scope="request">
<forward name="success" path="/viewInvoice.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
<forward name="cancel" path="/child_lic.jsp" redirect="false" />
</action>
<action path="/ChangePin" input="/WEB-INF/jsps/changePin.jsp" type="com.dleg.cola.actions.ChangePinAction" name="changePinForm">
<forward name="success" redirect="false" path="Licensee.do" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/changeAddress" type="com.dleg.cola.actions.ChangeAddressAction" name="addressChangeForm" parameter="method" scope="request">
<forward name="changeEntAddr" path="/changeAddress.jsp" redirect="false" />
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/ChangeLicAddr" type="com.dleg.cola.actions.ChangeLicAddrAction" name="addressChangeForm" parameter="method" scope="request">
<forward name="changeLicAddr" path="/changeLicAddr.jsp" redirect="false" />
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/RenewLicense" type="com.dleg.cola.actions.RenewLicenseAction" name="renewalForm" scope="request">
<forward name="success" path="/renew.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/Register" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterAction" name="personForm" scope="request">
<forward name="success" path="/login.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/RegisterCom" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterComAction" name="companyForm" scope="request">
<forward name="success" path="/login.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/addRenewal" input="renew.jsp" type="com.dleg.cola.actions.RenewLicAction" name="renewalForm" scope="request">
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/PendAppr" type="com.dleg.cola.actions.PendApprAction">
<forward name="approve" path="/approveTransfer.jsp" redirect="false" />
</action>
<action path="PendAppr" type="com.dleg.cola.actions.PendApprAction">
<forward name="approve" path="/approveTransfer.jsp" redirect="false" />
</action>
<action path="/ApprTransfer" type="com.dleg.cola.actions.ApprTransferAction" name="apprTransferForm">
<forward name="success" path="Licensee.do" redirect="false" />
</action>
<action path="EmpRenew" type="com.dleg.cola.actions.EmpRenewAction" name="empRenewForm">
<forward name="empRenew" path="/subRenewal.jsp" redirect="false" />
</action>
<action path="/SubmitEmpRenew" type="com.dleg.cola.actions.SubmitEmpRenewAction" name="empRenewForm">
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/remove" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/addRenew" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
<forward name="addCart" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/backHome" type="com.dleg.cola.actions.HomeAction" name="buttonForm">
<forward name="success" path="/licHome.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
<set-property property="secure" value="true"/>
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
<set-property property="secure" value="true"/>
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<!--
<action path="/checkOut" input="payNow.jsp" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
<forward name="success" path="https://www.govone.com/epay/http/pay.aspx" redirect="true" />
<forward name="confirm" path="/confirmPayment.jsp" redirect="false"/>
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
-->
<action path="/checkOut" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
<forward name="success" path="/wait.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
<forward name="cancel" path="viewInvoice.do" redirect="false" />
</action>
<action path="/CommitTxn" type="com.dleg.cola.actions.CommitTxnAction" >
<forward name="success" path="/paymentConf.jsp" redirect="false"/>
<forward name="faillooking at the code...dont know where to start ... but usally this error occurs when u r using a property attribute in in html tag which wont actually exist in the action form or with a different spell....
just check the exact naming and spelll of property attribute of HTML tag ,,, -
Failed to load or instantiate HtmlBasicValidator (JSf ref impl - Tomcat)
Using the JSF reference implementation 1.0.1 under tomcat 5.5 (in jboss 4) I get the following exception when accesing a page:
org.apache.jasper.JasperException: Unable to read TLD "META-INF/html_basic.tld" from JAR file "file:/C:/develop/appserv/jboss-4.0.2/server/javacareers/./tmp/deploy/tmp32260javacareers-webclient-exp.war/WEB-INF/lib/jsf-impl-1.1.01.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: com.sun.faces.taglib.html_basic.HtmlBasicValidator
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292)
================================================================
A debug showed that there is ClassCastException getting eaten up by jasper under there.
It looks like HtmlBasicValidator isn't on the classpath, but it is, in jsf-impl-1.1.01.jar
Yet that class isn't in a shared JBoss or Tomcat library as far as my research shows.
Anyone any ideas?I had a very similar problem, and I learned how to fix it from this page:
http://ryandaigle.com/pebble/2005/01/27/1106856324774.html
Turns out that I was including a copy of jsp-api-2.0.jar in my WEB-INF/lib directory, and Tomcat already had one. Deleting the jar from my WEB-INF/lib directory fixed the problem. -
hi
I attached the tiles. jar file to tomcat lib folder
that jar file is having the source
when I run the project the following error is coming
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
javax.servlet.ServletException: org.apache.struts.tile.TilesRequestProcessor
at org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:351)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:133)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)hi karthik
SEVERE: Can't set TilesRequestProcessor: bad class name 'org.apache.struts.tile.TilesRequestProcessor'.
Dec 6, 2007 3:08:15 PM org.apache.struts.action.ActionServlet init
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
javax.servlet.ServletException: org.apache.struts.tile.TilesRequestProcessor
at org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:351)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:133)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1277)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Unknown Source)
Dec 6, 2007 3:08:15 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Dec 6, 2007 3:08:15 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /Testingtiles threw load() exception
javax.servlet.UnavailableException: org.apache.struts.tile.TilesRequestProcessor
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1277)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Unknown Source)
Dec 6, 2007 3:08:34 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet action is currently unavailable -
Org.apache.struts.action.ActionServlet not found in web-application
Dear All,
I am new to ADF environment. I tried to create a simple page to show the records from
a table . I followed the sample application which is available in "Building Oracle ADF Applications: Workshop".
When i run my action from Struts Page Flow. It is giving error like
500 Internal Server Error
Servlet error: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found in web-application EmpMaintanance-ViewController-webapp
anybody can suggest me What i missed?
Thanks in advance...Hi,
you need to register libraries with th OC4J configuration files. However, you can also deploy the Struts library with you application (see OC4J documentation which is accessible on OTN via Oracle As documentation), in which case they are available from the application classpath
Frank -
Failed to load servlet Class: org.apache.jasper.servlet.JspServlet
I am evaluating Weblogic 12c and is stuck in deployment of an application.
My application is locally developed and is working fine in Oracle Glassfish. I have install glassfish and deploy application multiple time.
In weblogic I can deploy the application successfully and the state= Prepared while Health=OK.
When I access applicaiton from web browser, it says:
Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable
The server.log is having messages similar to following:
When processing WebService module 'SHMA'. Failed to load servlet Class: org.apache.jasper.servlet.JspServlet
Ignoring: unable to load class:java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
Jun 4, 2013 5:59:36 PM com.sun.xml.ws.model.JavaMethodImpl freeze
WARNING: Input Action on WSDL operation RegisterOperation and @Action on its associated Web Method registerOperation did not match and will cause problems in dispatching the requests
Any idea about how to fix this??
Application is working fine in Glassfish 3.2
I am having RHEL6-3 x86 with JDK 1.6u45 for Bea Weblogic 12c.
ThanksProbably not the right forum. But you have the honour of being the first person to ask a specific WebLogic Server question here.
The BEA dev-2-dev site still seems to be active. Try here hunting for a category here: http://forums.bea.com/index.jspa
-steve- -
I've started getting an intermittent error editing my Windows 7 OSD task sequence. Sometimes I can open the TS to edit, but when I try to apply changes I get the error. Other times I get the error when trying to open the TS. If I try again
right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS.
The error reads:
ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file:
[PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
TaskSequenceProvider
Failed to protect memory buffer, hr=0x80070542
TaskSequenceProvider
Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
TaskSequenceProvider
[PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
TaskSequenceProvider
Setting status complete: status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
TaskSequenceProvider
I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong. Here's the section of XML for
that step. I've removed identifying info, and replaced it with a generic term in bold.
<step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
Is there any other log I should check for a clue on this issue? What could be causing this error?Thanks for sharing that! I tend to save contacting MS support until after I've exhausted other options. I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
kept working on it myself a little longer.
It looks like that link is for an update released in February as KB3023562. I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.
After I had already installed it, I thought to look up that update in configmgr. The update is listed as superseded by 2 other updates. The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
that I didn't need to install KB3023562 after all. -
Can't find class org/apache/jk/apr/AprImpl
Hi
I have Tomcat 4.1.29 and Apache Web Server 2.0.48 installed.
I have used this tutorial since I'm a newbie :(
http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html
My problem is when I try to regroup them, I obtained this error error.log.
error] Can't find class org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Here is my confid file (workers.properties) :
[logger]
level=DEBUG
[config:]
#file=C:/Apache2/conf/workers2.properties
file=C:/Apache2/conf/workers2.properties
debug=0
debugEnv=0
[uriMap:]
info=Maps the requests. Options: debug
debug=0
# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=C:/Apache2/logs/jk2.log
[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=C:/Apache2/logs/jk2.shm
size=1000000
debug=0
disabled=0
[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0
[lb:lb]
info=Default load balancer.
debug=0
#[lb:lb_1]
#info=A second load balancer.
#debug=0
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
#[channel.socket:localhost:8019]
#info=A second tomcat instance.
#debug=0
#tomcatId=localhost:8019
#lb_factor=1
#group=lb
#group=lb_1
#disabled=0
#[channel.un:/opt/33/work/jk2.socket]
#info=A second channel connecting to localhost:8019 via unix socket
#tomcatId=localhost:8019
#lb_factor=1
#debug=0
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess
[status:]
info=Status worker, displays runtime informations
[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=0
[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=0
stdout=C:/Apache2/logs/stdout.log
stderr=C:/Apache2/logs/stderr.log
[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=0
[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:
#[uri:127.0.0.1:8003]
#info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it
#alias=myVirtualHost:8003
#[uri:127.0.0.1:8003/ex]
#info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. localhost:8019 )
#context=/ex
#group=lb_1
[uri:/examples]
info=Example webapp in the default context.
context=/examples
debug=0
#[uri:/examples1/*]
#info=A second webapp, this time going to the second tomcat only.
#group=lb_1
#debug=0
[uri:/examples/servlets/*]
info=Prefix mapping
[uri:/examples/*.jsp]
info=Extension mapping
[uri:/examples/*]
info=Map the whole webapp
[uri:/examples/servlets/HelloW]
info=Exampel with debug enabled.
debug=10
Thank you for your time !
MaxBtw: I get the warning starting IIS - It seems to me that IIS tries to load Tomcat on-the-fly. The Tomcat load the fails and IIS continues to load successfully.
The beginning of the IIS Event log outputs this:
Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (340)]: vm.detach() ok
Apache Jakarta Connector2, Warning, Error: [jk_worker_jni.c (308)]: Can't find class org/apache/jk/apr/AprImpl
Apache Jakarta Connector2, Information, Info: [jk_worker_jni.c (297)]: Loaded org/apache/jk/apr/TomcatStarter
Apache Jakarta Connector2, None, Debug: [jk_vm_default.c (302)]: vm.attach() allready attached
Apache Jakarta Connector2, Information, Info: [jk_worker_jni.c (252)]: jni.validate() class= org/apache/jk/apr/TomcatStarter
Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (607)]: vm.open2() done
Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (500)]: vm.init(): Jni lib: C:\wwwapps\j2sdk1.4.2_01\jre\bin\client\jvm.dll
/watson
Maybe you are looking for
-
Hi, in trx MM02 I cannot find where are stored information in tab "delivery address". I tried to change the delivery address of a vendor but system doesn't update the printout of the PO I'm modifying with the new delivery address Regards
-
After the recent upgrade my print button disappeared from the Menu Bar. I tried to customize the menu bar by adding back the print button but the button does not appear in the list of 'Additional Tools and Features' in the left hand window. I cant lo
-
Hi, Does somebody knows what is happening? I'm using the mcLoader class to load all my external swf files, everything worket perfectly until I decided to use flvPlayBack on one of those external files. If the player is on my main stage it works great
-
I cannot install Flash.
So, yesterday, Flash stopped working in Firefox. I recently updated Firefox to 18.0.1. What would happen is I would go to a website like Youtube and try to play a video, and it wouldn't even load it. The program would freeze, and then say, Flash Play
-
Consolidation of Investment Task Query -1
Dear Experts, I have a critical doubt I have created Cons. Group and Cons Unit as follows Main Cons Grp Sub Cons Group1 Cons Unit 1 (Parent Unit) 20% hold on Cons unit 2 (specified in accounting technique as Pa