Tag Library Error
I am using Jdeveloper and BEA Weblogic 8.1 application server environment.
I have custom tag and tld file for the tag. When I try to compile it , I am getting this error which just points to the begininng of the jsp file which uses the tag.
Error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
I've tried searching online and found that it may be caused by the the wrong jar reference in classpath. I've tried adding whole bunch of different versions of servlet.jar to my classpath in the project properties but I am still getting the same error.
Please advice
Mikhail
I've tried putting weblogic.jar into the web-inf/lib folder and also added library reference in the project properties but that did not fixed it.
I still receive this error in all jsp files where I have a tag:
Error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
Here's the content of my simple tld file:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<!-- a tag library descriptor -->
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>Bima Tags</short-name>
<description>Application tag library for the BIMA Application</description>
<tag>
<name>navbar</name>
<tag-class>com.arrownacp.bima.tags.NavBarTag</tag-class>
<body-content>empty</body-content>
<description>Display the Navigation Bar</description>
<attribute>
<name>pageName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
</taglib>
This is how I refer to it in my jsp file:
<%@ taglib uri="WEB-INF/BimaTags.tld" prefix="es" %>
and in the page body:
<es:navbar pageName="addUser" />
Need an urgent help, thanks
Mikhail
Similar Messages
-
Commerce server 3.2 tag library error
I have installed the following components on Solaris 2.7:-
- Java1.3
- WebLogic5.1
- SP6
- Commerce Server 3.2
The commerce server seems to start fine except the following exception
when the Create User button is clicked from the Admin screen. Any help
is appreciated.
Leo
6th Dimension-
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools> *.jsp:
init
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools>
FlowManager: init
Tue Jan 02 11:14:26 PST 2001:<E> <WebAppServletContext-tools> Servlet
failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'wl': For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at
weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at
weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
Tue Jan 02 11:14:26 PST 2001:<I> <ServletContext-General> servletimages:
initTo be more specific, I put the jar file in the $WEBLOGIC_HOME/lib directory.
-Brad.
"Brad Christiansen" <[email protected]> wrote:
>
I was getting the same exception until I put the weblogic-510-tags.jar file (found in the SP6 zip file) in a directory referenced by the WEBLOGIC_CLASSPATH environment variable.
-Brad.
Leo Fu <[email protected]> wrote:
I have installed the following components on Solaris 2.7:-
- Java1.3
- WebLogic5.1
- SP6
- Commerce Server 3.2
The commerce server seems to start fine except the following exception
when the Create User button is clicked from the Admin screen. Any help
is appreciated.
Leo
6th Dimension-
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools> *.jsp:
init
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools>
FlowManager: init
Tue Jan 02 11:14:26 PST 2001:<E> <WebAppServletContext-tools> Servlet
failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'wl': For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at
weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at
weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
Tue Jan 02 11:14:26 PST 2001:<I> <ServletContext-General> servletimages:
init -
Custom Tag Library - error in IWS
My environment: Solaris 2.7, IWS4.1 SP3.
I currently try to run the Custom Tag Library example from IWS itself in
server_root/plugins/samples/servlets/taglibs. I follow the instructions to
config the IWS but fail to run the example. I turn on JSP debugging and
find the following error messages:
[12/Oct/2000:13:03:10] info (28609): Service(): uri=/jsps/test-tags.jsp
cgiScriptName=/jsps/test-tags.jsp token=null cached=false
[12/Oct/2000:13:03:10] info (28609): Internal Info: loading servlet
/jsps/test-tags.jsp
[12/Oct/2000:13:03:10] info (28609): JSP: This is a jsp 1.x file
[12/Oct/2000:13:03:10] info (28609): JSP: Before JSP1x compiler.compile,
servletName = /jsps/test-tags.jsp servletPath =
/u01/devin/docs/jsps/test-tags.jsp & dir = ../ClassCache
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Package name is:
jsps.jsps
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Class name is:
test0002dtags_jsp
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Java file name is:
/opt/netscape/server4/https-devin/config/../ClassCache/_jsps/_jsps/_test_000
2dtags_jsp.java
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Class file name is:
/opt/netscape/server4/https-devin/config/../ClassCache/_jsps/_jsps/_test_000
2dtags_jsp.class
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace:
Handling Directive: page {language=java}
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Accepted
org.apache.jasper.compiler.Parser$Directive at /jsps/test-tags.jsp(0,0)
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace:
Handling Directive: taglib {uri=/jsps/test-tags.jar, prefix=tt}
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Copying
/jsps/test-tags.jar into
/opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Adding jar
/opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
to my classpath
[12/Oct/2000:13:03:10] info (28609): Aborting JVM
[12/Oct/2000:13:03:10] info (28609): Exiting JVM due to: jvm_abort () and
jvm.exitOnAbort > 0
[12/Oct/2000:13:03:10] info (28609): JVM exit statistics:
AttachedThreads/Max=1/1, ActiveThreads/Max=1/1
[12/Oct/2000:13:03:11] info (28716): Initializing MMapSession Manager to
hold a maximum of (1000) sessions, each of which can store a maximum of
(100) values and no value size bigger than (1024) bytes, with a timeout
value of (1800) seconds
IWS keeps aborting JVM and one can see from the log that it abort jvm when
trying to :
[12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Adding jar
/opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
to my classpath
[12/Oct/2000:13:03:10] info (28609): Aborting JVM
I have tried another much simple Custome Tag Library example that only contain a simple tag that do output to page, but still getting the same error.I had the same issue with WAS 6.1.0.2. I do not have a solution, but a workaround. I hope the workaround I have works for you too.
In my case, I have the TLD files deployed in a jar. So, the JSP 2.0 container is supposed to read those TLD files from the jar file. Since that was not happening, I extracted the TLD file from the jar file and placed it under my web project's WEB-INF folder.
I restarted my server and after that it worked.
Look at the IBM site to see if they have come up with a patch for WAS 6.0.
Hope this helps.
-Javier -
I am using Weblogic server 8.1 and have a struts app. I am using the random taglib
from jarkarta and recieving this error while using weblogic. With the same setup
in tomcat everything works fine. What do I need to do special for weblogic?
ERROR FROM WEBLOGIC
/control/register/newMember.jsp(1): Error in using tag library uri='http://jakarta.apache.org/taglibs/random-1.0'
prefix='randME': For tag 'string', cannot load extra info class 'org.apache.taglibs.random.RandomStrgTEI'
probably occurred due to an error in /control/register/newMember.jsp line 1:
<%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
%>
taglibs-random.jar is in WEB-INF/lib
random.tld is in WEB-INF
the taglib include in my jsp looks like this:
<%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
%>
the call in my jsp looks like this:
<randME:number id="random1" range="10000000-99999999"/>
my web.xml looks like this:
<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
<taglib-location>/WEB-INF/random.tld</taglib-location>
</taglib>
any help would be appreciated
This may not solve your problem, but WL8.1 SP1 seems to have a problem with
closing tags.
Where you are using:
<randME:number id="random1" range="10000000-99999999"/>
...try this instead:
<randME:number id="random1" range="10000000-99999999"></randME:number>
This problem is fixed in SP2.
-- Craig
"ssandy" <[email protected]> wrote in message news:[email protected]...
>
> I am using Weblogic server 8.1 and have a struts app. I am using the
random taglib
> from jarkarta and recieving this error while using weblogic. With the
same setup
> in tomcat everything works fine. What do I need to do special for
weblogic?
>
> ERROR FROM WEBLOGIC
>
> /control/register/newMember.jsp(1): Error in using tag library
uri='http://jakarta.apache.org/taglibs/random-1.0'
> prefix='randME': For tag 'string', cannot load extra info class
'org.apache.taglibs.random.RandomStrgTEI'
> probably occurred due to an error in /control/register/newMember.jsp line
1:
> <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
prefix="randME"
> %>
>
> taglibs-random.jar is in WEB-INF/lib
> random.tld is in WEB-INF
>
> the taglib include in my jsp looks like this:
> <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
prefix="randME"
> %>
>
> the call in my jsp looks like this:
> <randME:number id="random1" range="10000000-99999999"/>
>
> my web.xml looks like this:
> <taglib>
> <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
> <taglib-location>/WEB-INF/random.tld</taglib-location>
> </taglib>
>
> any help would be appreciated
-
Error in using struts tag library
Platform information:
Windows XP
BEA Weblogic Server 8.1 (Developer)
Struts 1.1
I am unable to compile the following JSP in weblogic because it says there is
an error using the struts-html tag library. (Details about the error are mentioned
after the JSP)
My JSP file is:
===================================================================
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="com.hipaaccelerator.runtime.HARuntime" %>
<jsp:useBean id='logonForm' scope='request' class='com.hipaaccelerator.hipaax.form.LogonForm'/>
<html:html>
<head>
<title>Logon</title>
<link rel='stylesheet' href="<html:rewrite page='/styles/default.css'/>" type='text/css'
>
<script language='javascript' src="<html:rewrite page='/scripts/default.js'/>"
type='text/javascript'></script>
</head>
<body>
<html:form action='/logon.do' >
<table border='0' align='center' >
<tr><td height='10'></td></tr>
<tr>
<td align='center'>
<html:img src='/images/Logo.gif' height='70'
width='449'/>
</td>
</tr>
<tr><td height='10'></td></tr>
</table>
<table align='center' width='100%' >
<tr><td height='10'></td></tr>
<tr>
<td height='20' width='10%'> </td>
<td height='20' colspan='3' align='center' style="font-size: 18pt; color:
blue;
background-color: white; text-align:center">PAC
</td>
<td height='20' width='10%'> </td>
</tr>
<tr><td height='10'></td></tr>
<tr>
<td height='20' width='10%'> </td>
<td height='20' width='8%'> </td>
<td height='20' align='center' style="border-style:solid; border-width:2pt;
font-
size: 10pt; color: red; background-color: white; text-align:center">
<%= HARuntime.instance().getConfig().getProperty("logonAnnouncement")
%>
</td>
<td height='20' width='8%'> </td>
<td height='20' width='10%'> </td>
</tr>
<tr><td height='10'></td></tr>
</table>
<table border='0' align='center' >
<tr>
<td class='formfieldname' ><b>User Name: </td>
<td class='formfield'>
<html:text property='username' maxlength='20' size='20'/>
</td>
</tr>
<tr><td class='formfieldspacer'></td></tr>
<td class='formfieldname' ><b>Password:</b> </td>
<td class='formfield'>
<html:password property="password" size="20" maxlength="20"
redisplay="false"/>
</td>
</tr>
<tr><td class='formfieldspacer'></td></tr>
<tr>
<td colspan='2' align='middle'>
<html:image src='/images/login.gif' onclick='document.forms[0].submit();
return false;' />
</td>
</tr>
</table>
<br><br>
</html:form>
</body>
</html:html>
===================================================================
The translation of this page fails with the following error:
<Dec 16, 2003 5:06:13 PM MST> <Error> <HTTP> <BEA-101045> <[ServletContext(id=4595,name=hipaax,context-path=/hipaax)]
translation of /logon.jsp failed:
weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/WEB-INF/struts-html.tld'
prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag' has no setter
method corresponding to TLD declared attribute 'server', (JSP 1.1 spec, 5.4.1)>
===================================================================
I have struts.jar in /web-inf/lib. I have taglib (uri and location) definitions
in web.xml.I have all the struts tld files under /web-inf. Is there anything
else I have to do?
Any help would be greatly appreciated.
Thank you.
SharmilaUpdate: I just looked up the WL version and it's 8.1 sp3
So, I guess, JSTL 1.1 (which includes jstl fn tags) is not supported by WL.... Someone correct me if I am wrong.
Thanks,
pal :) -
Error in using tag library uri='weblogic.tld'
Hmmm...
I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
but when I try to access the Unified Profile Types I get an Error 500 Internal
Server Error in my webbrowser. The weblogic.log prints out an errormessage that
sounds something like this:
####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
'14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
Servlet failed with Exception>
weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
correct and they are located under tools/web-inf.Hmmm...
I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
but when I try to access the Unified Profile Types I get an Error 500 Internal
Server Error in my webbrowser. The weblogic.log prints out an errormessage that
sounds something like this:
####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
'14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
Servlet failed with Exception>
weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
correct and they are located under tools/web-inf. -
"No tag library could be found with this URI" error while compiling jsp
I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
The jsp page looks like:
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
<target name="compile-jsp">
<wlappc source="${src.dir}" output="${out.dir}"
keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
</target>
where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
Please help me out. Many thanks.
Edited by jqian at 02/02/2007 10:24 AMYes sorry, you're correct. The uri I mentioned is just 1.0.
Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
<wls:library-ref>
<wls:library-name>jstl</wls:library-name>
<wls:specification-version>1.1</wls:specification-version>
<wls:exact-match>true</wls:exact-match>
</wls:library-ref> -
Error while parsing the Tag Library Descriptor
Hi,
We are installing LC ES2 on Suse64 / weblogic platform. When the adobe-conmtentservices application is starting, we see a lot od error like this:
<Mar 24, 2010 10:56:53 AM CET> <Warning> <HTTP> <BEA-101196> <[/contentspace]: Error while parsing the Tag Library Descriptor at "/opt/oracle/product/WLS1031/user_projects/domains/LC9/servers/LC9_MS/tmp/_WL_user/adobe- contentservices/4xxkue/war/WEB-INF/contentservices.tld".
com.ctc.wstx.exc.WstxIOException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:134)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
Truncated. see log file for complete stacktrace
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
at weblogic.net.http.HttpClient.openServer(HttpClient.java:314)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:404)
at weblogic.net.http.HttpClient.New(HttpClient.java:240)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:172)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:356)
Truncated. see log file for complete stacktrace
The application tries to download something from java.sun.com site but the server can not access internet. The process is repeated for each TLD file !
After a very time (more than 45 minutes!), the server finally starts and all adobe application are active
So, how to correct this behaviror ? is there a patch?
cb.Hi,
Did you get solution for this because I am also facing same issue. Please do reply ASAP... it is very uegent.
Regards,
Srujan -
Previously my web app was running fine using eclipse 3.1
When I upgraded my eclipse to 3.2 then built the same web app and deployed, upon running the url i got error
weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/tags/css' prefix='css' : cannot find tag class
Your help is appreciated.Hi Guys
Problem is almost certainly because I've gone and defined the get as returning
an int, (hence no property!)
Apols
J
-
Error using custom tag library
Hi All,
I am getting the following error:
On the browzer page when I invoke the foo.jsp page containing a tag
library.
Parsing of JSP File '/jsp/foo.jsp' failed:
/jsp/foo.jsp(7): Could not parse deployment descriptor:
org.xml.sax.SAXParseException: Could not parse taglib, starting at
line 5
probably occurred due to an error in /jsp/foo.jsp line 7:
<%@ taglib uri="example-taglib.tld" prefix="eg" %>
Wed Mar 27 13:17:49 PST 2002
The configutation is as follows
Foo.jsp in documentRoot/jsp
tld file in documentRoot/WEB-INF
class files in documentRoot/WEB-INF/classes/examples.
The server is spitting out the following code:
weblogic.servlet.jsp.JspException: (line 7): Could not parse
deployment descript
or: org.xml.sax.SAXParseException: Could not parse taglib, starting at
line 5
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
Can anyone help me with this ?
Thanks for your help!!
SundayFunday!
Could anyone please let me know what is going on here?
SundayFunday!
[email protected] (SundayFunday) wrote in message news:<[email protected]>...
> Can anyone help me with this?!!
>
> Thanks!
>
> Sundayfunday.
>
> [email protected] (SundayFunday) wrote in message news:<[email protected]>...
> > Hi All,
> >
> > I am getting the following error:
> >
> > On the browzer page when I invoke the foo.jsp page containing a tag
> > library.
> >
> > Parsing of JSP File '/jsp/foo.jsp' failed:
> > --------------------------------------------------------------------------------
> > /jsp/foo.jsp(7): Could not parse deployment descriptor:
> > org.xml.sax.SAXParseException: Could not parse taglib, starting at
> > line 5
> > probably occurred due to an error in /jsp/foo.jsp line 7:
> > <%@ taglib uri="example-taglib.tld" prefix="eg" %>
> > --------------------------------------------------------------------------------
> > Wed Mar 27 13:17:49 PST 2002
> >
> >
> >
> > The configutation is as follows
> >
> > Foo.jsp in documentRoot/jsp
> >
> > tld file in documentRoot/WEB-INF
> > class files in documentRoot/WEB-INF/classes/examples.
> >
> >
> >
> > The server is spitting out the following code:
> >
> > weblogic.servlet.jsp.JspException: (line 7): Could not parse
> > deployment descript
> > or: org.xml.sax.SAXParseException: Could not parse taglib, starting at
> > line 5
> > at java.lang.Throwable.fillInStackTrace(Native Method)
> > at java.lang.Throwable.fillInStackTrace(Compiled Code)
> > at java.lang.Throwable.<init>(Compiled Code)
> > at java.lang.Exception.<init>(Compiled Code)
> > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
> > at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
> >
> >
> > Can anyone help me with this ?
> >
> > Thanks for your help!!
> >
> > SundayFunday!
-
Error while using Tag Library in Weblogic !
Hi,
I am trying to run a JSP in weblogic which makes use of tag library in it. I am getting the following error
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
probably occurred due to an error in /Registration/Finish.jsp line 29:
<as:email>
Corresponding Full compiler error(s): is
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
symbol : variable EVAL_BODY_BUFFERED
location: interface javax.servlet.jsp.tagext.BodyTag
if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /Registration/Finish.jsp; Line: 29]
^
I have 10 errors like this, just for simplicity, I haven't posted them all.
The JSP runs fine with Tomcat.
I don't have servlet.jar anywhere in my classpath nor in my application\WEB-INF\lib
Please help.
Thanks !Hi,
I am still facing the same problem even after placing servlet.jar and struts.jar files in application\WEB-INF\lib\ directory. Can you please guide me what may be the reason for it.
Thanks in advance.
Regards,
Prashanth. -
Error when using tag library !
Hi,
I am trying to run a JSP in weblogic which makes use of tag library in it. I am getting the following error
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
probably occurred due to an error in /Registration/Finish.jsp line 29:
<as:email>
Corresponding Full compiler error(s): is
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
symbol : variable EVAL_BODY_BUFFERED
location: interface javax.servlet.jsp.tagext.BodyTag
if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /Registration/Finish.jsp; Line: 29]
^
I have 10 errors like this, just for simplicity, I haven't posted them all.
The JSP runs fine with Tomcat.
I don't have servlet.jar anywhere in my classpath nor in my application\WEB-INF\lib
Please help.
Thanks !Problem solved when i made the jar file of class files in my tag library and placed the jar file in application\WEB-INF\lib
Thanks ! -
Newly created portal access failure: error in tag library
I get an error when accessing a newly created portlet. The following
exceptions appear upon access:
Wed Aug 23 16:57:12 PDT 2000:<E> <ServletContext-General> Servlet failed
with Ex
ception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: 'cm':
no
handler for tagname='printProperty'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:
138)
at
weblogic.servlet.jsp.StandardTagLib.getTI(StandardTagLib.java:334)
at
weblogic.servlet.jsp.StandardTagLib.genericStartBegin(StandardTagLib.
java:475)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:53
5)
at
weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(JspLexer.java:1844)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1513)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1400)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:816)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:248)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:187)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:142)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceMan
ager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:124)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Wed Aug 23 16:57:12 PDT 2000:<I> <ServletContext-General> servletimages:
initBryan -
It looks like you tried <cm:printProperty>, when the tag is actually
<cm:printproperty>. Tag names and parameters are case-sensitive.
Greg
Bryan Beam wrote:
I get an error when accessing a newly created portlet. The following
exceptions appear upon access:
Wed Aug 23 16:57:12 PDT 2000:<E> <ServletContext-General> Servlet failed
with Ex
ception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: 'cm':
no
handler for tagname='printProperty'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:
138)
at
weblogic.servlet.jsp.StandardTagLib.getTI(StandardTagLib.java:334)
at
weblogic.servlet.jsp.StandardTagLib.genericStartBegin(StandardTagLib.
java:475)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:53
5)
at
weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(JspLexer.java:1844)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1513)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1400)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:816)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:248)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:187)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:142)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceMan
ager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:124)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Wed Aug 23 16:57:12 PDT 2000:<I> <ServletContext-General> servletimages:
init[greg.smith.vcf] -
Error parsing tag-library file
Anyone know how to tackle this one?
Error parsing JSP page /AnteDateLogin.jsp line 3
Error parsing tag-library file:/u01/web/ias102/j2ee/home/applications/antedate/antedate/WEB-INF/lib/uixtags.jar: Illegal XML character: �.
Here is what goes to the console.
ora03 $ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.javaorg.xml.sax.SAXParseException: Illegal XML character: �.
at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1038)
at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java:593)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1747)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:179)
at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:35)
at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:157)
at com.evermind.server.http.TagLibraryInfoImplBase.parse(TagLibraryInfoImplBase.java:82)
at com.evermind.server.http.TagLibraryInfoImplBase.<init>(TagLibraryInfoImplBase.java:47)
at com.evermind.server.http.TagLibraryArchive.<init>(TagLibraryArchive.java:40)
at com.evermind.server.http.TagLibraryArchive.getArchive(TagLibraryArchive.java:98)
at com.evermind.server.http.TagLibraryStorage.getTagLibContext(TagLibraryStorage.java:183)
at com.evermind.server.http.HttpApplication.getTagLibContext(HttpApplication.java:5897)
at com.evermind.server.http.JSPPageCompilation.addTagLibTag(JSPPageCompilation.java:2229)
at com.evermind.server.http.JSPPageCompilation.compile(JSPPageCompilation.java:278)
at com.evermind.server.http.JSPPage.compile(JSPPage.java:115)
at com.evermind.server.http.HttpApplication.getJSP(HttpApplication.java:5324)
at com.evermind.server.http.HttpApplication.serviceJSP(HttpApplication.java:5423)
at com.evermind.server.http.JSPServlet.service(JSPServlet.java:31)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)Doe anybody have an idea?
-
Error in tag library at: 'wl'
Hello,
I've installed WLCS on WinNT with WebLogic Server 5.1.0 and when I want to
edit example portlets, I get following error:
"Error in tag library at 'wl': For tag 'repeat', cannot load extra info
class 'weblogic.jsp.tags.RepeatTagInfo'".
I have't installed any WLCS service packs yet - are they necessary to run
the examples?
Thanks for any help,
Marek.Hi there!
Now its running perfectly when its with the same database along which the wlcs is
shipped i.e, cloudscape. But when i swithched the db to oracle i get the same error
Could you help me out.
Thanx in advance,
chalma.
chalma wrote:
Hi There!
Is that you people were discussing the problem in WLCS3.2. Cause i too face the
same problem.
Thanx,
chalma.
Ginny Peterson wrote:
Hi Marek,
The weblogic-tags-510.jar file is missing from your WEBLOGIC_CLASSPATH.
Check your set-environment.bat file (or the Unix shell script that you use
to start the server) and make sure your WEBLOGIC_CLASSPATH includes
weblogic-tags-510.jar, AND that this file actually exists in the location
that your WEBLOGIC_CLASSPATH specifies.
The weblogic-tags-510.jar file was introduced with SP6 for WLS 5.1.
Although it was an optional file with SP6, it is required when using WLCS
(see http://edocs.bea.com/wlcs310/install/prepinst.htm).
You shouldn't need any service packs to run the WLCS examples.
- Ginny
"Marek Bialkowski" <[email protected]> wrote in message
news:[email protected]..
Hello,
I've installed WLCS on WinNT with WebLogic Server 5.1.0 and when I want to
edit example portlets, I get following error:
"Error in tag library at 'wl': For tag 'repeat', cannot load extra info
class 'weblogic.jsp.tags.RepeatTagInfo'".
I have't installed any WLCS service packs yet - are they necessary to run
the examples?
Thanks for any help,
Marek.
Maybe you are looking for
-
i am not able to see any standard reports in SAP CRM 2007. Where can i get to see the reports. I do not want to link to SAP BW. Without SAP BW, where can i get the reports. Thanks amit
-
A mask in front of a YouTube video?
Hi, Does anybody know how I can make an oval mask in front of a YouTube video? Mayanda
-
Can I print a page document from an iPad?
I have a WiFi printer. Can I print a "Page" and "Number" documents?
-
Pivot Static Columns for Group by Rows
I have some commonly alike problem but its different from dynamic pivot unpivot Input Table ID Value Guid1 Val1 Guid1 Val2 Guid1 Val3 Guid1 val4 Guid2 asd Guid2 asd Guid2 asd Guid3 test Guid4 Lee Guid4 Jack Guid4 Arnol Guid4 wan Guid4 Swin Output Tab
-
Apex 3.0 bug? - report add column
Hi I do not know about I have to post this on the "Comment apex 3.0 page" or here.... May be I have found a bug... please look at this When I create a Report with the Wizard, and add som column of at table to the report. Afterwards I add some more co