The problem was with the sample code missing the action tag. The JRun 3.1 tag library has been deprecated in JRun 4. You might want to check out the following in the documentation:
http://livedocs.macromedia.com/jrun4docs/Installing_JRun/migration2.jsp#1131687 http://livedocs.macromedia.com/jrun4docs/Installing_JRun/migration3.jsp#1135701 Ted Zimmerman -----Original Message----- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:46 AM To: JRun-Talk Subject: RE: jrun tags problem We've been testing this in JRun 4 both with <%@ taglib uri="jruntags" prefix="jrun" %> and the web.xml tag definition and without the web.xml definition and <%@ taglib uri="/WEB-INF/lib/jruntags.jar" prefix="jrun" %> directive and both work. However, not with the sendmsg tag. We're not getting the same error. We're getting a jndi error indicating the following when using the sample code provided in JRun 3.1 documentation: Parse Error in JSP page: The custom tag 'jndi' on line '20' of page '/sendmsgtag.jsp' is missing the required attribute 'action'. We're still looking into this. Ted Zimmerman -----Original Message----- From: Eric Anderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:39 AM To: JRun-Talk Subject: RE: jrun tags problem If you are using JRun 4 try putting the jruntags.jar in the {jrun-rootdir}/servers/lib directory. Eric Macromedia Incorporated -----Original Message----- From: Drew Falkman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:37 AM To: JRun-Talk Subject: RE: jrun tags problem Actually, with the mapping in the web.xml file just using jruntags as the uri is ok. What version of JRun are you using? -----Original Message----- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 7:41 AM To: JRun-Talk Subject: RE: jrun tags problem Your taglib directive should be as follows: <%@ taglib uri="WEB-INF/lib/jruntags.jar" prefix="jrun" %> HTH. Ted Zimmerman -----Original Message----- From: justin home office [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 08, 2002 11:59 AM To: JRun-Talk Subject: jrun tags problem Hi, im trying to use the jrun tags but I get the error 1 error(s) found in /test.jsp (10) The tag sendmsg's handler class allaire.taglib.SendMsgTag was not found in the classpath I copied jruntags into web-inf/lib in my server directory, and added <taglib> <taglib-uri>jruntags</taglib-uri> <taglib-location>/WEB-INF/lib/jruntags.jar</taglib-location> </taglib> to the web.xml in that directory too. Here is my page <%@ page import="allaire.taglib.*" %> <%@ taglib uri="jruntags" prefix="jrun" %> <jrun:sendmsg msgsrc="QueueConnectionFactory" queue="mdbqueue"> This is a text message. </jrun:sendmsg> Ideas? What classpath is the error refering to? Thanks Justin ______________________________________________________________________ Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
