From johnwilliams@example.org Fri Sep 1 01:45:04 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 61060 invoked from network); 1 Sep 2000 01:45:04 -0000 Received: from unknown (HELO hqmail.cysive.com) (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 01:45:04 -0000 From: "Irene Hernandez" <johnwilliams@example.org> To: <johnwilliams@example.org> Subject: problem with Weblogic 5.1 Date: Thu, 31 Aug 2000 18:46:37 -0700 Message-ID: <johnwilliams@example.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0034_01C0137B.CADA8E80" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0034_01C0137B.CADA8E80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, Can anybody help me with this? I'm trying to run the struts example with Weblogic 5.1 SP5, but it seems that I still have problems with the page context... this is the error I get when the example index.jsp is loaded: Thu Aug 31 18:26:37 PDT 2000:<E> <WebAppServletContext-lomm> Root cause of ServletException javax.servlet.jsp.JspException: Missing resources attribute johnwilliams@example.org(MessageTag.java:360) at jsp_servlet._index._jspService(_index.java:82) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :124) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :142) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:760) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:707) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:251) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:369) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135) thanx for any help Irene ------=_NextPart_000_0034_01C0137B.CADA8E80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML (250)590-7598" name=3DGENERATOR></HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D564053001-01092000>Hi,</SPAN></FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D564053001-01092000>Can = anybody help me=20 with this? I'm trying to run the struts example with Weblogic 5.1 SP5, = but it=20 seems that I still have problems with the page = context</SPAN></FONT><FONT=20 face=3DArial size=3D2><SPAN class=3D564053001-01092000>... this is the = error I get=20 when&nbsp;the example index.jsp is loaded:</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D564053001-01092000></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D564053001-01092000>Thu = Aug 31 18:26:37=20 PDT 2000:&lt;E&gt; &lt;WebAppServletContext-lomm&gt; Root cause of=20 ServletException<BR>javax.servlet.jsp.JspException: Missing resources = attribute=20 org.apache.struts.action.MESSAGE<BR>&nbsp;at=20 org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360)<BR>&n= bsp;at=20 jsp_servlet._index._jspService(_index.java:82)<BR>&nbsp;at=20 weblogic.servlet.jsp.JspBase.service(JspBase.java:27)<BR>&nbsp;at=20 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j= ava:124)<BR>&nbsp;at=20 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j= ava:142)<BR>&nbsp;at=20 weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext= Impl.java:760)<BR>&nbsp;at=20 weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext= Impl.java:707)<BR>&nbsp;at=20 weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCont= extManager.java:251)<BR>&nbsp;at=20 weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:36= 9)<BR>&nbsp;at=20 weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)<BR>= &nbsp;at=20 weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)<BR></SPAN></FON= T><FONT=20 face=3DArial size=3D2><SPAN = class=3D564053001-01092000></SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D564053001-01092000>thanx = for any=20 help</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D564053001-01092000></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D564053001-01092000>Irene</DIV></SPAN></FONT></BODY></HTML> ------=_NextPart_000_0034_01C0137B.CADA8E80-- From johnwilliams@example.org Fri Sep 1 02:37:18 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 75375 invoked from network); 1 Sep 2000 02:37:18 -0000 Received: from unknown (HELO gateway.consultech.net.au) (johnwilliams@example.org) by locus.apache.org with SMTP; 1 Sep 2000 02:37:18 -0000 Received: from pc015 (temp14.consultech.net.au [83.161.120.155]) by gateway.consultech.net.au (8.9.3/8.9.3/Debian/GNU) with SMTP id KAA09419 for <johnwilliams@example.org>; Fri, 1 Sep 2000 10:39:34 +0800 Reply-To: <johnwilliams@example.org> From: "Michael Mok" <johnwilliams@example.org> To: <johnwilliams@example.org> Subject: Digestor class contains 6 errors and 26 deprecated methods when compiled using Xalan and Xerces! Date: Fri, 1 Sep 2000 10:34:33 +0800 Message-ID: <010CA1690F2FD111A11400AA00182EDF195A3B@CONSULTECH> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal In-Reply-To: <010CA1690F2FD111A11400AA00182EDF1A7D4A@CONSULTECH> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi I was having so much problems with running Struts in Orion (1.2.7) that I decide to debug STRUTS in Orion. When I get to recompile the STRUTS (nightly built 30/8/2000) with Orion.jar, I found that the digester class requires a SAXparser library. I then realised that STRUTS was running fine in Tomcat since it has the jaxp.jar and parser.jar files. Orion uses xalan and xerces (June built). I use KAWA to recompile the STRUTS source with the xalan and xerces jar files and found the following error and warning messages. These can mean two things. Either the xml library in Orion is out of date or STRUTS digestor actually have deprecated methods. I am still trying to get my STRUTS application to run in Orion 1.2.7 without any success. I will try the STRUTS example as describe in the intall text file. Regards Michael Mok D:\devtools\jdk1.3\bin\javac.exe -d D:\devtools\orion\applications\fbs_portal\portal-web\WEB-INF\classes -g -dep recation com\consultech\portal\util\Debug.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\PropertyUtils .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\MessageResour ces.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\ErrorMessages .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\BeanUtils.jav a ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Resour ceTei.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Resour ceTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Parame terTei.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Parame terTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Header Tei.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Header Tag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Define Tei.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Define Tag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Cookie Tei.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\bean\Cookie Tag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\TextTag.jav a ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\TextareaTag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\SubmitTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\SelectTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\ResetTag.ja va ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\RedirectTag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\RadioTag.ja va ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\PropertyTag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\PasswordTag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\ParameterTa g.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\OptionTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\OptionsTag. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\Options1Tag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\MultiboxTag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\MessageTag. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\LinkTag.jav a ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\Link1Tag.ja va ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IterateTei. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IterateTag. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IncludeTag. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfPropertyN otEqualsTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfPropertyE qualsTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfParameter NullTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfParameter NotNullTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfParameter NotEqualsTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfParameter EqualsTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfAttribute MissingTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\IfAttribute ExistsTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\HtmlPropert yTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\HiddenTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\GetProperty Tei.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\GetProperty Tag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\ForwardTag. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\FormTag.jav a ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\FileTag.jav a ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\ErrorsTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\EnumerateTe i.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\EnumerateTa g.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\EncodeURLTa g.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\EncodeRedir ectURLTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\Constants.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\CheckboxTag .java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\CancelTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\ButtonTag.j ava ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\BaseInputTa g.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\BaseHandler Tag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\BaseFieldTa g.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\BaseAttribu teTag.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\TestDiges ter.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetTopRul e.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tyRule.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tiesRule.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetNextRu le.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Rule.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\ObjectCre ateRule.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallParam Rule.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallMetho dRule.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ValidatingA ctionForm.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\SessionActi onMapping.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\RequestActi onMapping.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\Redirecting ActionForward.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ForwardingA ctionForward.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionServl et.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionMappi ngs.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionMappi ngBase.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionMappi ng.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionForwa rds.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionForwa rd.java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionForm. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\ActionBase. java ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\Action.java com\consultech\portal\booking\Booking.java com\consultech\portal\booking\BookingClient.java com\consultech\portal\booking\BookingEJB.java com\consultech\portal\booking\BookingHome.java com\consultech\portal\util\Calendar.java com\consultech\portal\util\CodeReferenceUtil.java com\consultech\portal\util\CodeReferenceUtilClient.java com\consultech\portal\util\CodeReferenceUtilEJB.java com\consultech\portal\util\CodeReferenceUtilHome.java com\consultech\portal\util\CreditCard.java com\consultech\web\initialise\DatabaseServlet.java com\consultech\web\guest\EAction.java com\consultech\web\guest\EditGuestRegistrationAction.java com\consultech\portal\util\GeneralFailureException.java com\consultech\portal\guest\Guest.java com\consultech\portal\guest\GuestEJB.java com\consultech\portal\guest\GuestHome.java com\consultech\portal\guest\GuestPK.java com\consultech\web\guest\GuestRegistrationForm.java com\consultech\portal\util\Hello.java com\consultech\portal\util\HelloClient.java com\consultech\portal\util\HelloEJB.java com\consultech\portal\util\HelloHome.java com\consultech\web\HelloServlet.java com\consultech\portal\util\JNDINames.java com\consultech\portal\util\KeyPoolPK.java com\consultech\portal\util\KeyPoolUtil.java com\consultech\portal\util\KeyPoolUtilEJB.java com\consultech\portal\util\KeyPoolUtilHome.java com\consultech\web\booking\WebBureau.java com\consultech\web\booking\WebBureauServlet.java Working Directory - d:\Projects\fbs_portal_a2\ Class Path - D:\devtools\orion\ejb.jar;D:\devtools\orion\jndi.jar;D:\devtools\orion\orion .jar;D:\devtools\orion\jdbc.jar;D:\devtools\orion\jta.jar;D:\devtools\orion\ mail.jar;D:\devtools\orion\application-deployments;D:\devtools\orion\applica tions\fbs_portal\portal-web;D:\devtools\orion\applications\fbs_portal\portal -ejb;D:\devtools\orion\applications\fbs_portal\portal-web\WEB-INF\classes;D: \devtools\jakarta-struts\src\share;D:\devtools\orion\xalan.jar;D:\devtools\o rion\xerces.jar;D:\devtools\orion\applications\fbs_portal\portal-web\WEB-INF \classes;.;D:\devtools\jdk1.3\lib\tools.jar;D:\devtools\jdk1.3\jre\lib\rt.ja r;D:\devtools\jdk1.3\jre\lib\i18n.jar;d:\devtools\Kawa5.0\kawaclasses.zip File Compiled... --------------------------- Compiler Output --------------------------- ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetTopRul e.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Rule.java :66: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:76: cannot resolve symbol symbol : class SAXParser location: package parsers import javax.xml.parsers.SAXParser; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:77: cannot resolve symbol symbol : class SAXParserFactory location: package parsers import javax.xml.parsers.SAXParserFactory; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:78: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:79: warning: org.xml.sax.DocumentHandler in org.xml.sax has been deprecated import org.xml.sax.DocumentHandler; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:81: warning: org.xml.sax.HandlerBase in org.xml.sax has been deprecated import org.xml.sax.HandlerBase; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:148: warning: org.xml.sax.HandlerBase in org.xml.sax has been deprecated public final class Digester extends HandlerBase { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Rule.java :114: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:207: cannot resolve symbol symbol : class SAXParser location: class org.apache.struts.digester.Digester private SAXParser parser = null; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:277: cannot resolve symbol symbol : class SAXParser location: class org.apache.struts.digester.Digester public SAXParser getParser() { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:514: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void startElement(String name, AttributeList list) ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tyRule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tyRule.java:128: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tiesRule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tiesRule.java:106: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetNextRu le.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\ObjectCre ateRule.java:66: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\ObjectCre ateRule.java:139: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallParam Rule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallParam Rule.java:146: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallMetho dRule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated import org.xml.sax.AttributeList; ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallMetho dRule.java:182: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Rule.java :114: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:285: cannot resolve symbol symbol : class SAXParserFactory location: class org.apache.struts.digester.Digester SAXParserFactory factory = SAXParserFactory.newInstance(); ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:285: cannot resolve symbol symbol : variable SAXParserFactory location: class org.apache.struts.digester.Digester SAXParserFactory factory = SAXParserFactory.newInstance(); ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\Digester. java:514: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void startElement(String name, AttributeList list) ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tyRule.java:128: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\SetProper tiesRule.java:106: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\ObjectCre ateRule.java:139: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallParam Rule.java:146: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester\CallMetho dRule.java:182: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated public void begin(AttributeList attributes) throws Exception { ^ 6 errors 26 warnings From johnwilliams@example.org Fri Sep 1 02:51:28 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 89442 invoked from network); 1 Sep 2000 02:51:28 -0000 Received: from unknown (HELO paris.buymedia.com) (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 02:51:28 -0000 Received: from kduffeydev1 ([83.161.120.155]) by paris.buymedia.com (8.7.5/8.7.3) with SMTP id TAA20787; Thu, 31 Aug 2000 19:52:55 -0700 (PDT) From: "Kevin Duffey" <johnwilliams@example.org> To: <johnwilliams@example.org>, <johnwilliams@example.org> Subject: RE: Digestor class contains 6 errors and 26 deprecated methods when compiled using Xalan and Xerces! Date: Thu, 31 Aug 2000 19:46:55 -0700 Message-ID: <johnwilliams@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <010CA1690F2FD111A11400AA00182EDF195A3B@CONSULTECH> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Uhm..my version of Orion, the 1.2.4 build, has the jaxp.jar and parser.jar as well as the xalan.jar and xerces.jar in the /orion dir. Maybe you should try putting those in your classpath instead. I compiled struts just fine. > -----Original Message----- > From: Michael Mok [mailto:johnwilliams@example.org] > Sent: Thursday, August 31, 2000 7:35 PM > To: johnwilliams@example.org > Subject: Digestor class contains 6 errors and 26 deprecated methods when > compiled using Xalan and Xerces! > > > Hi > > I was having so much problems with running Struts in Orion (1.2.7) that I > decide to debug STRUTS in Orion. When I get to recompile the > STRUTS (nightly > built 30/8/2000) with Orion.jar, I found that the digester class > requires a > SAXparser library. I then realised that STRUTS was running fine in Tomcat > since it has the jaxp.jar and parser.jar files. Orion uses xalan > and xerces > (June built). > > I use KAWA to recompile the STRUTS source with the xalan and xerces jar > files and found the following error and warning messages. These > can mean two > things. Either the xml library in Orion is out of date or STRUTS digestor > actually have deprecated methods. > > I am still trying to get my STRUTS application to run in Orion > 1.2.7 without > any success. I will try the STRUTS example as describe in the intall text > file. > > Regards > > > Michael Mok > > > D:\devtools\jdk1.3\bin\javac.exe -d > D:\devtools\orion\applications\fbs_portal\portal-web\WEB-INF\class > es -g -dep > recation com\consultech\portal\util\Debug.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\Pro > pertyUtils > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\Mes > sageResour > ces.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\Err > orMessages > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\util\Bea > nUtils.jav > a > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Resour > ceTei.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Resour > ceTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Parame > terTei.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Parame > terTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Header > Tei.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Header > Tag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Define > Tei.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Define > Tag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Cookie > Tei.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\b > ean\Cookie > Tag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\T > extTag.jav > a > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\T > extareaTag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\S > ubmitTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\S > electTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\R > esetTag.ja > va > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\R > edirectTag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\R > adioTag.ja > va > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\P > ropertyTag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\P > asswordTag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\P > arameterTa > g.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\O > ptionTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\O > ptionsTag. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\O > ptions1Tag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\M > ultiboxTag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\M > essageTag. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\L > inkTag.jav > a > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\L > ink1Tag.ja > va > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > terateTei. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > terateTag. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > ncludeTag. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fPropertyN > otEqualsTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fPropertyE > qualsTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fParameter > NullTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fParameter > NotNullTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fParameter > NotEqualsTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fParameter > EqualsTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fAttribute > MissingTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\I > fAttribute > ExistsTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\H > tmlPropert > yTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\H > iddenTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\G > etProperty > Tei.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\G > etProperty > Tag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\F > orwardTag. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\F > ormTag.jav > a > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\F > ileTag.jav > a > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\E > rrorsTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\E > numerateTe > i.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\E > numerateTa > g.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\E > ncodeURLTa > g.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\E > ncodeRedir > ectURLTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\C > onstants.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\C > heckboxTag > .java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\C > ancelTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\B > uttonTag.j > ava > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\B > aseInputTa > g.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\B > aseHandler > Tag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\B > aseFieldTa > g.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\taglib\B > aseAttribu > teTag.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \TestDiges > ter.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetTopRul > e.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tyRule.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tiesRule.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetNextRu > le.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Rule.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \ObjectCre > ateRule.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallParam > Rule.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallMetho > dRule.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\V > alidatingA > ctionForm.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\S > essionActi > onMapping.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\R > equestActi > onMapping.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\R > edirecting > ActionForward.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\F > orwardingA > ctionForward.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionServl > et.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionMappi > ngs.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionMappi > ngBase.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionMappi > ng.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionForwa > rds.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionForwa > rd.java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionForm. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ctionBase. > java > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\action\A > ction.java > com\consultech\portal\booking\Booking.java > com\consultech\portal\booking\BookingClient.java > com\consultech\portal\booking\BookingEJB.java > com\consultech\portal\booking\BookingHome.java > com\consultech\portal\util\Calendar.java > com\consultech\portal\util\CodeReferenceUtil.java > com\consultech\portal\util\CodeReferenceUtilClient.java > com\consultech\portal\util\CodeReferenceUtilEJB.java > com\consultech\portal\util\CodeReferenceUtilHome.java > com\consultech\portal\util\CreditCard.java > com\consultech\web\initialise\DatabaseServlet.java > com\consultech\web\guest\EAction.java > com\consultech\web\guest\EditGuestRegistrationAction.java > com\consultech\portal\util\GeneralFailureException.java > com\consultech\portal\guest\Guest.java > com\consultech\portal\guest\GuestEJB.java > com\consultech\portal\guest\GuestHome.java > com\consultech\portal\guest\GuestPK.java > com\consultech\web\guest\GuestRegistrationForm.java > com\consultech\portal\util\Hello.java > com\consultech\portal\util\HelloClient.java > com\consultech\portal\util\HelloEJB.java > com\consultech\portal\util\HelloHome.java > com\consultech\web\HelloServlet.java > com\consultech\portal\util\JNDINames.java > com\consultech\portal\util\KeyPoolPK.java > com\consultech\portal\util\KeyPoolUtil.java > com\consultech\portal\util\KeyPoolUtilEJB.java > com\consultech\portal\util\KeyPoolUtilHome.java > com\consultech\web\booking\WebBureau.java > com\consultech\web\booking\WebBureauServlet.java > Working Directory - d:\Projects\fbs_portal_a2\ > Class Path - > D:\devtools\orion\ejb.jar;D:\devtools\orion\jndi.jar;D:\devtools\o > rion\orion > .jar;D:\devtools\orion\jdbc.jar;D:\devtools\orion\jta.jar;D:\devto > ols\orion\ > mail.jar;D:\devtools\orion\application-deployments;D:\devtools\ori > on\applica > tions\fbs_portal\portal-web;D:\devtools\orion\applications\fbs_por > tal\portal > -ejb;D:\devtools\orion\applications\fbs_portal\portal-web\WEB-INF\ > classes;D: > \devtools\jakarta-struts\src\share;D:\devtools\orion\xalan.jar;D:\ > devtools\o > rion\xerces.jar;D:\devtools\orion\applications\fbs_portal\portal-w > eb\WEB-INF > \classes;.;D:\devtools\jdk1.3\lib\tools.jar;D:\devtools\jdk1.3\jre > \lib\rt.ja > r;D:\devtools\jdk1.3\jre\lib\i18n.jar;d:\devtools\Kawa5.0\kawaclasses.zip > File Compiled... > > --------------------------- Compiler Output --------------------------- > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetTopRul > e.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Rule.java > :66: warning: org.xml.sax.AttributeList in org.xml.sax has been deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:76: cannot resolve symbol > symbol : class SAXParser > location: package parsers > import javax.xml.parsers.SAXParser; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:77: cannot resolve symbol > symbol : class SAXParserFactory > location: package parsers > import javax.xml.parsers.SAXParserFactory; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:78: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:79: warning: org.xml.sax.DocumentHandler in org.xml.sax has been > deprecated > import org.xml.sax.DocumentHandler; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:81: warning: org.xml.sax.HandlerBase in org.xml.sax has been > deprecated > import org.xml.sax.HandlerBase; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:148: warning: org.xml.sax.HandlerBase in org.xml.sax has been > deprecated > public final class Digester extends HandlerBase { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Rule.java > :114: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:207: cannot resolve symbol > symbol : class SAXParser > location: class org.apache.struts.digester.Digester > private SAXParser parser = null; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:277: cannot resolve symbol > symbol : class SAXParser > location: class org.apache.struts.digester.Digester > public SAXParser getParser() { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:514: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void startElement(String name, AttributeList list) > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tyRule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tyRule.java:128: warning: org.xml.sax.AttributeList in > org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tiesRule.java:67: warning: org.xml.sax.AttributeList in > org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tiesRule.java:106: warning: org.xml.sax.AttributeList in org.xml.sax has > been deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetNextRu > le.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \ObjectCre > ateRule.java:66: warning: org.xml.sax.AttributeList in > org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \ObjectCre > ateRule.java:139: warning: org.xml.sax.AttributeList in > org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallParam > Rule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallParam > Rule.java:146: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallMetho > dRule.java:67: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > import org.xml.sax.AttributeList; > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallMetho > dRule.java:182: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Rule.java > :114: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:285: cannot resolve symbol > symbol : class SAXParserFactory > location: class org.apache.struts.digester.Digester > SAXParserFactory factory = SAXParserFactory.newInstance(); > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:285: cannot resolve symbol > symbol : variable SAXParserFactory > location: class org.apache.struts.digester.Digester > SAXParserFactory factory = SAXParserFactory.newInstance(); > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \Digester. > java:514: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void startElement(String name, AttributeList list) > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tyRule.java:128: warning: org.xml.sax.AttributeList in > org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \SetProper > tiesRule.java:106: warning: org.xml.sax.AttributeList in org.xml.sax has > been deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \ObjectCre > ateRule.java:139: warning: org.xml.sax.AttributeList in > org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallParam > Rule.java:146: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > ..\..\devtools\jakarta-struts\src\share\org\apache\struts\digester > \CallMetho > dRule.java:182: warning: org.xml.sax.AttributeList in org.xml.sax has been > deprecated > public void begin(AttributeList attributes) throws Exception { > ^ > 6 errors > 26 warnings > > > From johnwilliams@example.org Fri Sep 1 03:13:05 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 3242 invoked from network); 1 Sep 2000 03:13:05 -0000 Received: from unknown (HELO smtp.bspark.com) (johnwilliams@example.org) by locus.apache.org with SMTP; 1 Sep 2000 03:13:05 -0000 Received: from scooby.corp.bspark.com ([83.161.120.155]) by smtp.bspark.com (Switch-2.0.0/Switch-2.0.0) with ESMTP id e813Bjx28467; Thu, 31 Aug 2000 23:11:45 -0400 Received: by scooby.corp.bspark.com with Internet Mail Service (5.5.2650.21) id <R7ASBZHL>; Thu, 31 Aug 2000 23:12:59 -0400 Message-ID: <johnwilliams@example.org> From: Colin Sampaleanu <johnwilliams@example.org> To: "'Irene Hernandez '" <johnwilliams@example.org>, "'johnwilliams@example.org '" <johnwilliams@example.org> Subject: RE: problem with Weblogic 5.1 Date: Thu, 31 Aug 2000 23:12:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N You are actaully getting this particular message because you are hitting a struts-dependent JSP file before the struts action servlet has been initialized. The ActionServlet has not been initialized because WebLogic ignores the preload directives in the web.xml file (it just doesn't support this part of the Servlet 2.2 spec, which is amazing considering it somehow received J2EE certification). Anyways, even if you do hit the servlet first to initialize it, before hitting a JSP page, it still won't work. WebLogic has a serious problem with its classloader architecture. Here's the summary of my research over the last couple of days: WebLogic always had a potential classloader problem due to how it did things. There was a section of the WebLogic docs that described (along with many newsgroup posts) the 'dreaded ClassCastException problem'. Basically, if you had a servlet or JSP which stuffed a custom object in the Session object, and then was reloaded (as a result of a change), the servlet or jsp would be dumped so it could be reloaded (by a different classloader), and this would also load any custom objects with the new classloader. When the object from the session was attempted to be accessed (and cast to the proper type), there would be a ClassCastException since the two class instances, while referring to the same code, were considered different due to being loaded by different classloaders. Bad enough, but it is a lot worse for J2EE WebApps (ie the .war file format). In this case, every single Servlet and JSP seems to use a different classloader (even before a reload), so there is no way to pass custom objects between them. WebLogic can not support the very common Model 2 architecture where control comes in to a servlet, which puts data into the Request or Session objects, and does a forward to a JSP. There appear to be a few ways to try to work around the problem. If you have control over the entire app (which you do not, in the case of Struts) then objects can be serialized into the session or request instead of just being added into it. What I have also seen somebody say will work is if the JSP is forwarded to via the entire hard-coded url. I may try to verify this; the problem is that it is much less convenient to work with non-relative paths. Somebody else has mentioned that setting the JSP working directory to somewhere on the weblogic classpath instead of the default (under the web-inf directory) may work. I will try to verify this tomorrow. Even if it does work, it means that JSPs from all web apps will get lumped together... -----Original Message----- From: Irene Hernandez To: johnwilliams@example.org Sent: 8/31/2000 9:46 PM Subject: problem with Weblogic 5.1 Hi, Can anybody help me with this? I'm trying to run the struts example with Weblogic 5.1 SP5, but it seems that I still have problems with the page context... this is the error I get when the example index.jsp is loaded: Thu Aug 31 18:26:37 PDT 2000:<E> <WebAppServletContext-lomm> Root cause of ServletException javax.servlet.jsp.JspException: Missing resources attribute johnwilliams@example.org(MessageTag.java:360) at jsp_servlet._index._jspService(_index.java:82) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:124) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:142) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContex tImpl.java:760) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContex tImpl.java:707) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCon textManager.java:251) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:3 69) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135) thanx for any help Irene From johnwilliams@example.org Fri Sep 1 03:25:26 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 7960 invoked from network); 1 Sep 2000 03:25:26 -0000 Received: from unknown (HELO paris.buymedia.com) (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 03:25:26 -0000 Received: from kduffeydev1 ([83.161.120.155]) by paris.buymedia.com (8.7.5/8.7.3) with SMTP id UAA20932; Thu, 31 Aug 2000 20:26:56 -0700 (PDT) From: "Kevin Duffey" <johnwilliams@example.org> To: <johnwilliams@example.org>, "'Irene Hernandez '" <johnwilliams@example.org> Subject: RE: problem with Weblogic 5.1 Date: Thu, 31 Aug 2000 20:20:56 -0700 Message-ID: <johnwilliams@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <johnwilliams@example.org> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I am with you on the amazement how it passed J2EE! There are many things it doesn't support, and many problems it has too. I think there was some sort of conspiracy going on..to get a J2EE based app server out there to promote J2EE (but then that makes you wonder why it wasn't iPlanet?). Or, it could be that they tweaked alot of stuff that just isn't available yet, or paid a LOT more money than they had to to get the logo. Hmmm.. > -----Original Message----- > From: Colin Sampaleanu [mailto:johnwilliams@example.org] > Sent: Thursday, August 31, 2000 8:13 PM > To: 'Irene Hernandez '; 'johnwilliams@example.org ' > Subject: RE: problem with Weblogic 5.1 > > > You are actaully getting this particular message because you are hitting a > struts-dependent JSP file before the struts action servlet has been > initialized. The ActionServlet has not been initialized because WebLogic > ignores the preload directives in the web.xml file (it just > doesn't support > this part of the Servlet 2.2 spec, which is amazing considering it somehow > received J2EE certification). > > Anyways, even if you do hit the servlet first to initialize it, before > hitting a JSP page, it still won't work. WebLogic has a serious > problem with > its classloader architecture. > > Here's the summary of my research over the last couple of days: WebLogic > always had a potential classloader problem due to how it did things. There > was a section of the WebLogic docs that described (along with > many newsgroup > posts) the 'dreaded ClassCastException problem'. Basically, if you had a > servlet or JSP which stuffed a custom object in the Session > object, and then > was reloaded (as a result of a change), the servlet or jsp would be dumped > so it could be reloaded (by a different classloader), and this would also > load any custom objects with the new classloader. When the object from the > session was attempted to be accessed (and cast to the proper type), there > would be a ClassCastException since the two class instances, > while referring > to the same code, were considered different due to being loaded > by different > classloaders. > > Bad enough, but it is a lot worse for J2EE WebApps (ie the .war file > format). In this case, every single Servlet and JSP seems to use > a different > classloader (even before a reload), so there is no way to pass custom > objects between them. WebLogic can not support the very common Model 2 > architecture where control comes in to a servlet, which puts data into the > Request or Session objects, and does a forward to a JSP. > > There appear to be a few ways to try to work around the problem. > If you have > control over the entire app (which you do not, in the case of Struts) then > objects can be serialized into the session or request instead of > just being > added into it. What I have also seen somebody say will work is if > the JSP is > forwarded to via the entire hard-coded url. I may try to verify this; the > problem is that it is much less convenient to work with > non-relative paths. > Somebody else has mentioned that setting the JSP working directory to > somewhere on the weblogic classpath instead of the default (under the > web-inf directory) may work. I will try to verify this tomorrow. > Even if it > does work, it means that JSPs from all web apps will get lumped > together... > > > > -----Original Message----- > From: Irene Hernandez > To: johnwilliams@example.org > Sent: 8/31/2000 9:46 PM > Subject: problem with Weblogic 5.1 > > Hi, > > Can anybody help me with this? I'm trying to run the struts example with > Weblogic 5.1 SP5, but it seems that I still have problems with the page > context... this is the error I get when the example index.jsp is loaded: > > Thu Aug 31 18:26:37 PDT 2000:<E> <WebAppServletContext-lomm> Root cause > of ServletException > javax.servlet.jsp.JspException: Missing resources attribute > org.apache.struts.action.MESSAGE > at org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360) > at jsp_servlet._index._jspService(_index.java:82) > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. > java:124) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. > java:142) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContex > tImpl.java:760) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContex > tImpl.java:707) > at > weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCon > textManager.java:251) > at > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:3 > 69) > at > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269) > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135) > > thanx for any help > > Irene > From johnwilliams@example.org Fri Sep 1 04:09:47 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 24363 invoked from network); 1 Sep 2000 04:09:47 -0000 Received: from bdhp4108.na.pg.com (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 04:09:47 -0000 X-ExtMailInfo: johnwilliams@example.org bdc-notes083.na.pg.com [83.161.120.155] Received: from bdc-notes083.na.pg.com (bdc-notes083.na.pg.com [83.161.120.155]) by bdhp4108.na.pg.com (8.8.8/8.8.8) with ESMTP id AAA05960; Fri, 1 Sep 2000 00:06:23 -0400 (EDT) Subject: RE: Where do I use EJB's in struts framework To: johnwilliams@example.org Cc: johnwilliams@example.org X-Mailer: Lotus Notes Release 5.0.4a July 24, 2000 Message-ID: <johnwilliams@example.org> From: "Mark Mascolino-MR/PGI" <johnwilliams@example.org> Date: Thu, 31 Aug 2000 15:06:25 -0400 X-MIMETrack: Serialize by Router on BDC-NOTES083.NA.PG.COM/PGI(Release 5.0.3 (Intl)|21 March 2000) at 09/01/2000 12:09:47 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Chris, I can definitely see where my Action classes could send requests off to say Stateless Session EJBs for business logic, but I am bit confused about how my choice of EJBs effect the presentation portion of the application. After I complete my business logic and forward to a JSP to build the resulting page, how should I access the changed state of the model? Do i keep around a handle to the EJB? Do I populate some normal bean, etc.? mark Mark Mascolino The Procter & Gamble Co. johnwilliams@example.org Internet Mail Message Received from host: bhh5.na.pg.com ([83.161.120.155]) Chris Audley <johnwilliams@example.org> To: "'johnwilliams@example.org'" <johnwilliams@example.org> 08/30/00 06:47 PM cc: (bcc: Mark Mascolino-MR/PGI) Please respond to Subject: RE: Where do I use EJB's in struts framework struts-user EJB's can be used from a struts action if desired, but struts does not have any explicit mechanisms to support them. Cheers Chris Audley Urbanfetch.com -----Original Message----- From: Vimal Kansal [mailto:johnwilliams@example.org] Sent: Wednesday, August 30, 2000 6:39 PM To: 'johnwilliams@example.org' Subject: Where do I use EJB's in struts framework Can somebody explain to me where exactly, EJB's will fit in struts framework. Thanks Vimal From johnwilliams@example.org Fri Sep 1 05:44:08 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 54709 invoked from network); 1 Sep 2000 05:44:08 -0000 Received: from mercury.sun.com (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 05:44:08 -0000 Received: from taller.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id WAA01939 for <johnwilliams@example.org>; Thu, 31 Aug 2000 22:44:09 -0700 (PDT) Received: from eng.sun.com (florence [83.161.120.155]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id WAA00092 for <johnwilliams@example.org>; Thu, 31 Aug 2000 22:44:07 -0700 (PDT) Message-ID: <johnwilliams@example.org> Date: Thu, 31 Aug 2000 22:45:05 -0700 From: "Craig R. McClanahan" <johnwilliams@example.org> X-Mailer: Mozilla 4.74 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: johnwilliams@example.org Subject: Re: Digestor class contains 6 errors and 26 deprecated methods when compiled using Xalan and Xerces! References: <010CA1690F2FD111A11400AA00182EDF195A3B@CONSULTECH> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Michael Mok wrote: > Hi > > I was having so much problems with running Struts in Orion (1.2.7) that I > decide to debug STRUTS in Orion. When I get to recompile the STRUTS (nightly > built 30/8/2000) with Orion.jar, I found that the digester class requires a > SAXparser library. I then realised that STRUTS was running fine in Tomcat > since it has the jaxp.jar and parser.jar files. Orion uses xalan and xerces > (June built). > > I use KAWA to recompile the STRUTS source with the xalan and xerces jar > files and found the following error and warning messages. These can mean two > things. Either the xml library in Orion is out of date or STRUTS digestor > actually have deprecated methods. > > I am still trying to get my STRUTS application to run in Orion 1.2.7 without > any success. I will try the STRUTS example as describe in the intall text > file. > What rev is the xerces.jar that you are using (from Orion)? Version 1.1.2 or later is required for JAXP compatibility, which is a prerequisite for use with Struts. > > Regards > > Michael Mok Craig ==================== See you at ApacheCon Europe <http://www.apachecon.com>! Session VS01 (23-Oct 13h00-17h00): Sun Technical Briefing Session T06 (24-Oct 14h00-15h00): Migrating Apache JServ Applications to Tomcat From johnwilliams@example.org Fri Sep 1 05:56:42 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 57782 invoked from network); 1 Sep 2000 05:56:42 -0000 Received: from bdhp4108.na.pg.com (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 05:56:42 -0000 X-ExtMailInfo: johnwilliams@example.org bdc-notes083.na.pg.com [83.161.120.155] Received: from bdc-notes083.na.pg.com (bdc-notes083.na.pg.com [83.161.120.155]) by bdhp4108.na.pg.com (8.8.8/8.8.8) with ESMTP id BAA13390; Fri, 1 Sep 2000 01:53:18 -0400 (EDT) Subject: RE: Where do I use EJB's in struts framework To: johnwilliams@example.org Cc: johnwilliams@example.org X-Mailer: Lotus Notes Release 5.0.4a July 24, 2000 Message-ID: <johnwilliams@example.org> From: "Mark Mascolino-MR/PGI" <johnwilliams@example.org> Date: Thu, 31 Aug 2000 15:06:25 -0400 X-MIMETrack: Serialize by Router on BDC-NOTES083.NA.PG.COM/PGI(Release 5.0.3 (Intl)|21 March 2000) at 09/01/2000 01:56:42 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Chris, I can definitely see where my Action classes could send requests off to say Stateless Session EJBs for business logic, but I am bit confused about how my choice of EJBs effect the presentation portion of the application. After I complete my business logic and forward to a JSP to build the resulting page, how should I access the changed state of the model? Do i keep around a handle to the EJB? Do I populate some normal bean, etc.? mark Mark Mascolino The Procter & Gamble Co. johnwilliams@example.org Internet Mail Message Received from host: bhh5.na.pg.com ([83.161.120.155]) Chris Audley <johnwilliams@example.org> To: "'johnwilliams@example.org'" <johnwilliams@example.org> 08/30/00 06:47 PM cc: (bcc: Mark Mascolino-MR/PGI) Please respond to Subject: RE: Where do I use EJB's in struts framework struts-user EJB's can be used from a struts action if desired, but struts does not have any explicit mechanisms to support them. Cheers Chris Audley Urbanfetch.com -----Original Message----- From: Vimal Kansal [mailto:johnwilliams@example.org] Sent: Wednesday, August 30, 2000 6:39 PM To: 'johnwilliams@example.org' Subject: Where do I use EJB's in struts framework Can somebody explain to me where exactly, EJB's will fit in struts framework. Thanks Vimal From johnwilliams@example.org Fri Sep 1 05:57:09 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 58334 invoked from network); 1 Sep 2000 05:57:09 -0000 Received: from mercury.sun.com (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 05:57:09 -0000 Received: from taller.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id WAA03970 for <johnwilliams@example.org>; Thu, 31 Aug 2000 22:57:10 -0700 (PDT) Received: from eng.sun.com (florence [83.161.120.155]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id WAA00401 for <johnwilliams@example.org>; Thu, 31 Aug 2000 22:57:09 -0700 (PDT) Message-ID: <johnwilliams@example.org> Date: Thu, 31 Aug 2000 22:58:07 -0700 From: "Craig R. McClanahan" <johnwilliams@example.org> X-Mailer: Mozilla 4.74 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: johnwilliams@example.org Subject: Re: Where do I use EJB's in struts framework References: <johnwilliams@example.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Mark Mascolino-MR/PGI wrote: > Chris, > > I can definitely see where my Action classes could send requests off to say > Stateless Session EJBs for business logic, but I am bit confused about how my > choice of EJBs effect the presentation portion of the application. After I > complete my business logic and forward to a JSP to build the resulting page, how > should I access the changed state of the model? Do i keep around a handle to > the EJB? Do I populate some normal bean, etc.? > Keeping a handle to the EJB (as a request attribute or session attribute) would certainly be one way to do it, as long as you had property getter methods that could retrieve the state information needed for the user interface. The JSP page doesn't really care whether a particular bean is a JavaBean or an EJB, as long as it has methods with the right names to be called. Alternatively, your business logic could copy the relevant state information into regular JavaBeans that are used solely for the UI. This would eliminate a dependency on having appropriate getters on the EJB itself, but introduces a similar dependency on the intermediary bean having all the right properties. > > mark > > Mark Mascolino > The Procter & Gamble Co. > johnwilliams@example.org > Craig McClanahan ==================== See you at ApacheCon Europe <http://www.apachecon.com>! Session VS01 (23-Oct 13h00-17h00): Sun Technical Briefing Session T06 (24-Oct 14h00-15h00): Migrating Apache JServ Applications to Tomcat From johnwilliams@example.org Fri Sep 1 09:13:48 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 61821 invoked from network); 1 Sep 2000 09:13:48 -0000 Received: from mailgate3.cinetic.de (johnwilliams@example.org) by locus.apache.org with SMTP; 1 Sep 2000 09:13:48 -0000 Received: from cinetic.de (popeye.cinetic.de [83.161.120.155]) by mailgate3.cinetic.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id LAA02935; Fri, 1 Sep 2000 11:13:43 +0200 Date: Fri, 1 Sep 2000 11:13:43 +0200 Message-Id: <johnwilliams@example.org> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Klaus Tulipan" <johnwilliams@example.org> To: johnwilliams@example.org, <johnwilliams@example.org>, "'Irene Hernandez '" <johnwilliams@example.org> Subject: Re: RE: problem with Weblogic 5.1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N To my understanding Weblogic 5.1 never passed the J2EE certification. Check http://java.sun.com/j2ee/compatibility.html so far, only -Hitachi Cosminexus Server Base -iPlanet Application Server 6.0 have passed the certification, plus the J2EE Reference Implementation coming along with J2EE SDK BEA is among the licensees http://java.sun.com/j2ee/licensees.html which means they have paid the fee, they have received the J2EE compatibility testkit and they have commited themselfes to certifiying their product within a certain period of time. ----------> The real problem is that BEA marketing abuse their J2EE licence to predend that they are already certified, which they are not. Normally, there should be legal steps preventing this. I assume that Sun is afraid to take this action against the market leader. Its a shame that middle-class products can be boosted into a market leader position by good marketing people. Here a short list of problems I found with BEA 5.1 SP5: - can't work with EAR files - can't create WAR files (can only use) - is not Servlet 2.2 and not JSP 1.1 compatible - the EJB 2.0 implementation is just as ridiculous Klaus Tulipan Baluna GmbH - E-Commerce Services und Solutions Java, J2EE, JSP, Servlet, EJB, Application Server, iPlanet, Solaris Rossertstr. 9 60323 Frankfurt am Main Tel 069 71915050 Fax 069 71915055 mailto: johnwilliams@example.org Internet: www.baluna.de Anfragen: johnwilliams@example.org Bewerber: johnwilliams@example.org Training: johnwilliams@example.org johnwilliams@example.org schrieb am 01.09.00: > I am with you on the amazement how it passed J2EE! There are many things it > doesn't support, and many problems it has too. I think there was some sort > of conspiracy going on..to get a J2EE based app server out there to promote > J2EE (but then that makes you wonder why it wasn't iPlanet?). Or, it could > be that they tweaked alot of stuff that just isn't available yet, or paid a > LOT more money than they had to to get the logo. Hmmm.. > > > > -----Original Message----- > > From: Colin Sampaleanu [mailto:johnwilliams@example.org] > > Sent: Thursday, August 31, 2000 8:13 PM > > To: 'Irene Hernandez '; 'johnwilliams@example.org ' > > Subject: RE: problem with Weblogic 5.1 > > > > > > You are actaully getting this particular message because you are hitting a > > struts-dependent JSP file before the struts action servlet has been > > initialized. The ActionServlet has not been initialized because WebLogic > > ignores the preload directives in the web.xml file (it just > > doesn't support > > this part of the Servlet 2.2 spec, which is amazing considering it somehow > > received J2EE certification). > > > > Anyways, even if you do hit the servlet first to initialize it, before > > hitting a JSP page, it still won't work. WebLogic has a serious > > problem with > > its classloader architecture. > > > > Here's the summary of my research over the last couple of days: WebLogic > > always had a potential classloader problem due to how it did things. There > > was a section of the WebLogic docs that described (along with > > many newsgroup > > posts) the 'dreaded ClassCastException problem'. Basically, if you had a > > servlet or JSP which stuffed a custom object in the Session > > object, and then > > was reloaded (as a result of a change), the servlet or jsp would be dumped > > so it could be reloaded (by a different classloader), and this would also > > load any custom objects with the new classloader. When the object from the > > session was attempted to be accessed (and cast to the proper type), there > > would be a ClassCastException since the two class instances, > > while referring > > to the same code, were considered different due to being loaded > > by different > > classloaders. > > > > Bad enough, but it is a lot worse for J2EE WebApps (ie the .war file > > format). In this case, every single Servlet and JSP seems to use > > a different > > classloader (even before a reload), so there is no way to pass custom > > objects between them. WebLogic can not support the very common Model 2 > > architecture where control comes in to a servlet, which puts data into the > > Request or Session objects, and does a forward to a JSP. > > > > There appear to be a few ways to try to work around the problem. > > If you have > > control over the entire app (which you do not, in the case of Struts) then > > objects can be serialized into the session or request instead of > > just being > > added into it. What I have also seen somebody say will work is if > > the JSP is > > forwarded to via the entire hard-coded url. I may try to verify this; the > > problem is that it is much less convenient to work with > > non-relative paths. > > Somebody else has mentioned that setting the JSP working directory to > > somewhere on the weblogic classpath instead of the default (under the > > web-inf directory) may work. I will try to verify this tomorrow. > > Even if it > > does work, it means that JSPs from all web apps will get lumped > > together... > > > > > > > > -----Original Message----- > > From: Irene Hernandez > > To: johnwilliams@example.org > > Sent: 8/31/2000 9:46 PM > > Subject: problem with Weblogic 5.1 > > > > Hi, > > > > Can anybody help me with this? I'm trying to run the struts example with > > Weblogic 5.1 SP5, but it seems that I still have problems with the page > > context... this is the error I get when the example index.jsp is loaded: > > > > Thu Aug 31 18:26:37 PDT 2000:<E> <WebAppServletContext-lomm> Root cause > > of ServletException > > javax.servlet.jsp.JspException: Missing resources attribute > > org.apache.struts.action.MESSAGE > > at org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360) > > at jsp_servlet._index._jspService(_index.java:82) > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) > > at > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. > > java:124) > > at > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. > > java:142) > > at > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContex > > tImpl.java:760) > > at > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContex > > tImpl.java:707) > > at > > weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCon > > textManager.java:251) > > at > > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:3 > > 69) > > at > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269) > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135) > > > > thanx for any help > > > > Irene > > > Klaus Tulipan Baluna GmbH - E-Commerce Services und Solutions Java, J2EE, JSP, Servlet, EJB, Application Server, iPlanet, Solaris Rossertstr. 9 60323 Frankfurt am Main Tel 069 71915050 Fax 069 71915055 mailto: johnwilliams@example.org Internet: www.baluna.de Anfragen: johnwilliams@example.org Bewerber: johnwilliams@example.org Training: johnwilliams@example.org _______________________________________________________________________ 1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de johnwilliams@example.org, 8MB Speicher, Verschluesselung - http://freemail.web.de From johnwilliams@example.org Fri Sep 1 09:27:58 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 74842 invoked from network); 1 Sep 2000 09:27:58 -0000 Received: from unknown (HELO gateway.consultech.net.au) (johnwilliams@example.org) by locus.apache.org with SMTP; 1 Sep 2000 09:27:58 -0000 Received: from pc015 (temp14.consultech.net.au [83.161.120.155]) by gateway.consultech.net.au (8.9.3/8.9.3/Debian/GNU) with SMTP id RAA11391 for <johnwilliams@example.org>; Fri, 1 Sep 2000 17:31:52 +0800 Reply-To: <johnwilliams@example.org> From: "Michael Mok" <johnwilliams@example.org> To: <johnwilliams@example.org> Subject: STRUTS running in Orion 1.2.7! Date: Fri, 1 Sep 2000 17:26:53 +0800 Message-ID: <010CA1690F2FD111A11400AA00182EDF195A3D@CONSULTECH> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal In-Reply-To: <010CA1690F2FD111A11400AA00182EDF1A7D79@CONSULTECH> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi all I finally got STRUTS to work in Orion 1.2.7. The xerces.jar in the orion package is an older version (1.0.3). I downloaded the latest xerces and xalan binaries from the apache website and place them into the orion directory. The other thing missing was that I place all the .jar files into my classpath when I run orion (ie java -jar orion.jar). After a week of fumbling around, I am glad to say that it works! I have got my STRUTS application assessing an EJB and using the EJB to create records in the database (all working in the Orion server). Cheers Michael Mok From johnwilliams@example.org Fri Sep 1 09:30:36 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 77176 invoked from network); 1 Sep 2000 09:30:36 -0000 Received: from sunny.pacific.net.sg (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 09:30:36 -0000 Received: from pop1.pacific.net.sg (pop1.pacific.net.sg [83.161.120.155]) by sunny.pacific.net.sg with ESMTP id RAA13464 for <johnwilliams@example.org>; Fri, 1 Sep 2000 17:30:09 +0800 (SGT) Received: from pacific.net.sg ([83.161.120.155]) by pop1.pacific.net.sg with ESMTP id RAA06720 for <johnwilliams@example.org>; Fri, 1 Sep 2000 17:30:06 +0800 (SGT) Message-ID: <johnwilliams@example.org> Date: Fri, 01 Sep 2000 17:35:46 +0800 From: Wong Kok Wai <johnwilliams@example.org> X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: johnwilliams@example.org Subject: Re: problem with Weblogic 5.1 References: <johnwilliams@example.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, Possible for you to list the incompatibilities you've found regarding WLS JSP/servlet implementation? Klaus Tulipan wrote: > > > Here a short list of problems I found with BEA 5.1 SP5: > - can't work with EAR files > - can't create WAR files (can only use) > - is not Servlet 2.2 and not JSP 1.1 compatible > - the EJB 2.0 implementation is just as ridiculous > From johnwilliams@example.org Fri Sep 1 09:40:00 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 81808 invoked from network); 1 Sep 2000 09:40:00 -0000 Received: from mail.pi-ag.com (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 09:40:00 -0000 Received: from slaxlx (slaxlx.piag.com [83.161.120.155]) by mail.pi-ag.com (8.8.8/8.8.8) with SMTP id LAA18418 for <johnwilliams@example.org>; Fri, 1 Sep 2000 11:39:59 +0200 From: Klaus Thiele <johnwilliams@example.org> Organization: Personal & Informatik AG To: johnwilliams@example.org Subject: Re: STRUTS running in Orion 1.2.7! Date: Fri, 1 Sep 2000 11:36:43 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <010CA1690F2FD111A11400AA00182EDF195A3D@CONSULTECH> In-Reply-To: <010CA1690F2FD111A11400AA00182EDF195A3D@CONSULTECH> MIME-Version: 1.0 Message-Id: <00090111395800.02179@slaxlx> Content-Transfer-Encoding: 8bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Am Fre, 01 Sep 2000 schrieben Sie: > I finally got STRUTS to work in Orion 1.2.7. The xerces.jar in the orion > package is an older version (1.0.3). I downloaded the latest xerces and > xalan binaries from the apache website and place them into the orion > directory. what problem do you have with orion's xerces and xalan and struts? for me struts works fine with the default Orion 1.2.7 installation. klaus -- Klaus Thiele - Personal & Informatik AG mailto:johnwilliams@example.org "There's got to be more to life than compile-and-go." From johnwilliams@example.org Fri Sep 1 09:54:51 2000 Return-Path: <johnwilliams@example.org> Mailing-List: contact johnwilliams@example.org; run by ezmlm Delivered-To: mailing list johnwilliams@example.org Received: (qmail 92509 invoked from network); 1 Sep 2000 09:54:51 -0000 Received: from lugh.relay.co.uk (83.161.120.155) by locus.apache.org with SMTP; 1 Sep 2000 09:54:51 -0000 Received: from enetgroup.co.uk ([83.161.120.155]) by lugh.relay.co.uk (Netscape Messaging Server 4.15) with ESMTP id G07CTH00.T04 for <johnwilliams@example.org>; Fri, 1 Sep 2000 09:53:41 +0000 Message-ID: <johnwilliams@example.org> Date: Fri, 01 Sep 2000 10:56:19 +0100 From: Dave Smith <johnwilliams@example.org> Organization: ENet Software X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: johnwilliams@example.org Subject: Re: STRUTS running in Orion 1.2.7! References: <010CA1690F2FD111A11400AA00182EDF195A3D@CONSULTECH> <00090111395800.02179@slaxlx> Content-Type: multipart/mixed; boundary="------------80414BBCC85F14F56B339B91" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------80414BBCC85F14F56B339B91 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Me too. Worked first time with no johnwilliams@example.org. Klaus Thiele wrote: > Am Fre, 01 Sep 2000 schrieben Sie: > > > I finally got STRUTS to work in Orion 1.2.7. The xerces.jar in the orion > > package is an older version (1.0.3). I downloaded the latest xerces and > > xalan binaries from the apache website and place them into the orion > > directory. > > what problem do you have with orion's xerces and xalan and struts? > for me struts works fine with the default Orion 1.2.7 installation. > > klaus > > -- > Klaus Thiele - Personal & Informatik AG > mailto:johnwilliams@example.org > > "There's got to be more to life than compile-and-go." --------------80414BBCC85F14F56B339B91 Content-Type: text/x-vcard; charset=us-ascii; name="dave.smith.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Dave Smith Content-Disposition: attachment; filename="dave.smith.vcf" begin:vcard n:Smith;Dave tel;cell:(250)590-7598 tel;work:(250)590-7598 x-mozilla-html:TRUE url:http://www.enetgroup.co.uk org:e-net Software Ltd adr:;;26-45 Cheltenham Street;Bath;;BA2 3EX; version:2.1 email;internet:johnwilliams@example.org title:Software Development Manager fn:Dave Smith end:vcard --------------80414BBCC85F14F56B339B91-- From johnwilliams@example.org Fri
{'source': 'Apache Software Foundation Public Mail Archives'}