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.
Similar Messages
-
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 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. -
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
-
Problems with JSP - using tag library with Weblogic 8.1
I am getting the following error when I try to run a web application called "regain":
/searchinput.jsp(2): Error in using tag library uri='regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.MsgTag'
probably occurred due to an error in /searchinput.jsp line 2:
<%@taglib uri="regain-search.tld" prefix="search" %>
The classes that the .tld file points to are in the web applications WEB-INF/classes directory and I have put this path into my classpath environment variable (running Windows 2000 Server).
This application runs fine on Tomcat.
I can't not figure out whether is error is masking another error or what. I've tried using JDK and Jrockit for my web app - no luck.
Please help! Thanks!anyone? :/
-
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 ! -
About screen flow (using tag library)
dear all, i have the following problem...
according to the sample about using tag library to make the screen flow of jsp pages, i successfully construct the tag for showing pages as needing. it works ok but when the number of pages exceeds 29, an exception arrises:
Exception:
java.lang.VerifyError: jsp_eventmanager_html.template
in which template is the jsp page for the tags... i do try to set the size of the buffer but it does no help.
can anyone help me solve this problem? thanks in advance...
yinman.
nullsure,
in the message.jsp
<p>
<!-- use messages tag to display errors -->
<logic:messagesPresent>
<bean:message key="error.header"/>
<ul>
<html:messages id="error">
<li><bean:write name="error"/></li>
</html:messages>
</ul>
</logic:messagesPresent>
<p>
<!-- use messages tag to display messages -->
<logic:messagesPresent message="true">
<bean:message key="message.header"/>
<ul>
<html:messages message="true" id="msg">
<li><bean:write name="msg"/></li>
</html:messages>
</ul>
</logic:messagesPresent>in the tablibs.jsp
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> -
How to use the JRun Custom tag library wiith Weblogic 5.1?
Hello,
is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
got an error message like:
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'jrun': T
here is no setter method for property 'code', for Tag class
'allaire.taglib.Serv
letTag'
Thank you for any info!
StefanHi Joe,
I don't know, however someone that follows the JSP newsgroup [1] may be
able to help. Could you try your post there.
Thanks,
Bruce
[1]
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
Joe Kamenar wrote:
>
I have a question. I need to do a sort on news articles in our database, sorting
by the date they were posted. I then want to take only the top 6 articles. We
are using Weblogic 5.1. When I use the following statement, 6 articles are taken
from the database, then sorted, which ends up leaving out the most recent articles:
<cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
I need to get ALL the articles for the sort, then just take the most recent 6.
So, I know that I can use the following code and monitor the counter variable,
"i". But, how do i do this to only display the top 6 items?
<es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
counterId="i">
<% myStr=content.getIdentifier(); %>
<% if (i<6) {
%>
<div class="marginText">
<cm:printproperty id="content" name="title" encode="html" />
<a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
</div>
<% } %>
</es:foreachinarray>
However, when I run this, no results show up. What is the correct way to do this?
- Joe</a> -
How to use the JRun Custom tag library with Weblogic 5.1?
Hello,
is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
got an error message like:
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'jrun': T
here is no setter method for property 'code', for Tag class
'allaire.taglib.Serv
letTag'
Thank you for any info!
Stefan
Hi Joe,
I don't know, however someone that follows the JSP newsgroup [1] may be
able to help. Could you try your post there.
Thanks,
Bruce
[1]
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
Joe Kamenar wrote:
>
I have a question. I need to do a sort on news articles in our database, sorting
by the date they were posted. I then want to take only the top 6 articles. We
are using Weblogic 5.1. When I use the following statement, 6 articles are taken
from the database, then sorted, which ends up leaving out the most recent articles:
<cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
I need to get ALL the articles for the sort, then just take the most recent 6.
So, I know that I can use the following code and monitor the counter variable,
"i". But, how do i do this to only display the top 6 items?
<es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
counterId="i">
<% myStr=content.getIdentifier(); %>
<% if (i<6) {
%>
<div class="marginText">
<cm:printproperty id="content" name="title" encode="html" />
<a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
</div>
<% } %>
</es:foreachinarray>
However, when I run this, no results show up. What is the correct way to do this?
- Joe</a> -
HTTP 500 Internel server error in Custom tag program on Weblogic 8.1
Dear sir,
Please attend my problem...
I face the Error 500 Internel server error when I rum the custom tag program on weblogic 8.1.
My program Structure is:
Program>Home.jsp
>WEB-INF>classes>mypack>MyTag.java, MyTag.class
>tlds>taglib.tld
>web.xml
Home.jsp:
<%@ taglib uri="/WEB-INF/tlds/taglib" prefix="Kumar" %>
<Kumar:hello name="Vijay">
It is a Tag Body<br>
</neeraj:hello>
taglib.tld:
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<uri>/WEB-INF/tlds/taglib</uri>
<tag>
<name>hello</name>
<tag-class>mypack.MyTag</tag-class>
<attribute>
<name>name</name>
<required>true</required>
</attribute>
</tag>
</taglib>
MyTag.java:
package mypack;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class MyTag extends TagSupport
String name;
public void setName(String c)
name=c;
public int doStartTag()
return EVAL_BODY_INCLUDE;
public int doEndTag()
try
JspWriter out=pageContext.getOut();
out.print("Good Night "+name);
catch(Exception e)
return EVAL_PAGE;
web.xml:
<web-app>
<welcome-file-list>
<welcome-file>/Home.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/tlds/taglib</taglib-uri>
<taglib-location>/WEB-INF/tlds/taglib.tld</taglib-location>
</taglib>
</web-app>
Allthough this program are run on NetBean6.1.In NetBean6.1, i am not specify the web.xml file.Please Help me..With an [HTTP status code|http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html] of 500, the most helpful information for debugging the problem is usually in the server's log file. There should be a stack trace in the web or application server's log file that will contain the specific root cause of this. It is often a NullPointerException or ClassNotFoundException or other "common" exception.
-
My Jsp is showing error while using tag liabrary in code
Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
Error(4,14): Attribute 'xmlns:xsi' used but not declared.
Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
Error(6,12): Attribute 'version' used but not declared.
Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
Error(8,15): Element 'description' used but not declared.
Error(9,16): Invalid element 'display-name' in content of 'taglib', expected elements '[tlibversion]'.
Error(9,16): Element 'display-name' used but not declared.
Error(10,16): Invalid element 'tlib-version' in content of 'taglib', expected elements '[tlibversion]'.
Error(3): Unable to load taghandler class: http://java.sun.com/jsp/jstl/coreWhat is the JDeveloper version? What is the JSP version required for the tag library?
-
How can i use tag library in the mvc?
hello
in some tag libraris such as jakarta tag library and jrun tag library,there is database
access tag, it provide convenient function to access database from jsp page,but i wonder how can i use such a tag within MVC architecture.
as we know,in MVC architecture,all requests from the jsp pages are submit to the controller servlet,then the controller manipulate ejb to access database,it don't allow the database access from the jsp page.
who can tell me how can i combine the tag library with mvc architecture appropriately?
thank you!You can't! If you decide to limit the JSP to be part of the View component, obviously you should not include tags that directly access the database. If the strict MVC architecture is less important to you, then the tags can save coding time. It's your choice.
-
LabVIEW PDA reports COREDLL.DLL error when using Call Library Function Node
I'm trying to build a LV PDA app that calls an external DLL file built using embedded visual C. When configuring the Call Library Function node I select the stub DLL, configure the I/O parameters and select OK. When the configuration dialog closes I get the following error:
LabVIEW: LabVIEW.exe - Unable to Locate Component
This application has failed to start because COREDLL.DLL was not found. Re-installing the application may fix this problem.
I do not get this error when using the configuration dialog in the example VIs.
Any suggestions as to the cause and/or the solution?
Thanks,
RyanHello -
When you create a PDA VI that calls a DLL, you must include the .c or .lib file that corresponds to the DLL. Take a look at these documents:
LabVIEW PDA Module Build Errors with VIs that Call DLLs
Why Do I Receive Errors When Calling a C++ DLL from a Call Library Node Using the LabVIEW PDA Module...
How To Call External Code in LabVIEW PDA for Palm OS
H
ow To Call External Code in LabVIEW PDA for Pocket PC
Hope this helps!
S Vences
Applications Engineer
National Instruments -
Using tag library to create a tree in jsp
Hi,
I want to create a tree in a JSP page whose node values are obtained from the database. The number of children of a particular node is known only during the construction of the tree.
Root
|---Node I
|----Node I Level 1 Child 1
|----Node I Level 1 Child 2
|----Node I Level 1 Child 2 SubLevel Child 1
|----Node I Level 1 Child 2 SubLevel Child 2
|---Node I Level 1 Child 2 SubLevel Child 2 Subsub Level1
|----Node I Level 1 Child 3
|---Node I Level 1 Child 3 SubLevel Child 1
|---Node II
|---Node n
These node values are obtained from the database. Any early help is appreciated. Helping in tree construction using JSP & Tag Libraries is requested (not swings). Also help me in deploying the same in Tomcat 4.0 server.
Regards
VimalI am not very knowledgable in tag libraries. Bust using pure java, you can do something like this:
Create Node and NodeRenderer java classes. These classes will have methods to access their siblings, parent and its properties and to render itself using HTML code. When you read the database to retreive the tree structure, you can build a hierarchy of nodes. Each Node can render itself and by doing an appropriate traversal, the tree can be rendered. -
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 :)
Maybe you are looking for
-
Problem to assign values to the methods of @PrePersist and @PreUpdate !
Good afternoon staff. First I want to make clear that I do not speak English, so forgive some errors in writing. I have a class that has some attributes that are not displayed on the screen and are populated only when the persist or merge, using it t
-
What is the best way to implement "As of Date" reports using oracle discoverer? Herer is what we need to do: First get the Policy data based "As of Date" entered by user and then use this data in conjunction with other tables to get a report. Thanks
-
Dataguard Broker - Swithover failed
I have a two node RAC(n1,n2) with one physical standby(n3) I have enabled dataguard broker and did a swithover with one instance up in RAC(n1 up) Swithover and switchback have worked fine. But when trying to do a swithover from the second RAC(n2 up)
-
How do I add third party apps to launchpad?
I have a number of third-party apps that I use infrequently, so I don't want them on the dock, but would like them in Launchpad, rather than having to search for them. How can I add them to Launchpad?
-
HI, I have a couple of textarea controls that get text in diferrent sizes. Any idea of how can i change the textare height dynbamically? I do not want to use scrollbars. I just want to have txtarea in the correct size tks