RE: Struts installation notes - WebLogic 5.1
I have noticed that putting .properties files into a jar and including the jar into the lib directory solves the problem of the MessageResource. Wouldn´t it be a good idea delivering Struts with all the classes packed into a jar hence Struts would install out of the box in Weblogic... Greetings, Maarten --- Wong Kok Wai [EMAIL PROTECTED] wrote: My experience is the same as yours. --- [EMAIL PROTECTED] wrote: Wong, Yes you are correct it works fine (today) with jaxp as well. I am not sure why I had problems before. So step 1 can be changed then...or just excluded): (1) Verify that an XML parser (e.g. Xerces or JAXP) has been included in the WebLogic system classpath. I am curious- what is your experience with deployment of war files... have you experienced any problem with this regarding the resource file? Thanks for the feedback, Bob __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: Struts installation notes
STRUTS INSTALLATION NOTES - JRun 3.0 TESTED ENVIRONMENT (your mileage may vary): --- JRun 3.0 SP2a, Version 3.02a.11614 Microsoft IIS 5.0, Windows 2000 Thanks so much, Eric! Any other JRUN users: please, if possible, try to give these a whirl, and let us know how they work for you! So with JRUN and SilverStream being added today, of the containers most often mentioned, we're down to Websphere! Any takers?
Re: Struts installation notes
" We had multiple problems getting a Struts app to run under WebSphere (Advanced, 3.5 fix2). First, the validation of the struts-config.dtd failed during ActionServlet.init(). We hacked around this by modifying ActionServlet to call "digester.setValidating(false)" rather than passing "true". The next problem, which we couldn't work around (thus ending our WebSphere assessment), was during the attempt to open the struts-config.xml file. Here's the e-mail I sent IBM support: " I've gotten WebSphere to workaround both problems by changing struts. If I've got a spare minute to document the process (maybe 2nite as the wifely unit is in Tokyo), I'll post some instructions... -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au NetRexx: http://www.multitask.com.au/NetRexx.nsf Previous Document Next Document Return to View
RE: Sorry....RE: Struts installation notes - example's setLocale on J Run
Allaire released an SP2a last week to correct some other problems. I have tested with this and the bug is still there... :( Eric -Original Message- From: Moore, Mark A [mailto:[EMAIL PROTECTED]] Sent: January 31, 2001 9:14 AM To: '[EMAIL PROTECTED]' Subject: SorryRE: Struts installation notes - example's setLocale on J Run Sorry for the screwy mail before. Here is what I sent. My project got hold of JRun 3 SP2 yesterday and noticed that this is a Known Issue (e.g. Unfixed Bug) in the service pack. I don't have the bug number handy. There is no news on when an SP3 might be available. I had complained about this a few weeks ago in the JRun support forum, but there was no response from any Allaire folks. Mark -Original Message- From: Carl Tallis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 9:06 AM To: [EMAIL PROTECTED] Subject: RE: Struts installation notes - example's setLocale on JRun Still broken. Despite the assurances of the JRun tech (http://forums.allaire.com/jrunconf/Thread.cfm?Thread_ID=214627mc=2), the demo still doesn't run under SP2 (Version 3.02.11140). I get the same error as before. Carl Tallis Director Of Products SupplyLinks, Inc. Tel: (703) 796-6010 Fax: (703) 796-6014 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Erik G. Dybdahl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 1:32 AM To: [EMAIL PROTECTED] Subject: Re: Struts installation notes - example's setLocale on JRun --- Peter Doyle [EMAIL PROTECTED] skrev: Hi, I was writing up the Installation notes for the example and documentation web applications for JRun when I came across the same problem. (I haven't installed the example app since 0.5) allaire.jrun.scripting.DefaultCFE: Errors reported by compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/j sp/jrun__i ndex2ejspa.java:44:1:44:27: Error: No match was found for method "setLocale(java.lang.String)". The deployment is grand, its this setLocale method that stops the example. I'll check out Allaire and the JRun postings for updates and include any findings. Appear it's been corrected in JRun 3.0 sp2. See http://forums.allaire.com/jrunconf/Index.cfm?CFID=184276CFTOKEN=2 8308124Message_ID=649418 (I have not tried it, though) erik _ Do You Yahoo!? F din egen, gratis @yahoo.no-adresse p http://mail.yahoo.no * The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. *
Re: Struts installation notes - WebLogic 5.1
** WEBLOGIC USERS *** We're adding a installation page to the Struts documentation package. If any can playtest Robert's notes, or has any other additional comments, please let us know as soon as possible. This is an important way you can contribute to the Struts project. We appreciate everyone's help! *** REPLY SEPARATOR *** On 1/31/2001 at 10:50 AM [EMAIL PROTECTED] wrote: I have put together the following install notes for WebLogic 5.1 based on my experience over the past few weeks. Any comments or suggestions? I am particularly disturbed by the fact that I can't get WL to deploy unzipped web applications without including app-specific classes in the WL classpath! Does anyone have another approach to this? Another problem I can't seem to get around- Deployment of wars requires manually extracting the resource file(s). Perhaps there is a way to get WL to find all files in the war (and not just *.class)? BTW- the builds for the past few nights have a problem with the lowsrc property in class ImgTag (Thanks Carl for pointing out that problem with the case in that method). -Bob ~~ WEBLOGIC 5.1 (service pack 8) (1) Obtain and install the Xerces XML parser (do not use the Sun reference implementation). Put xerces.jar in your WebLogic system path. (2) Obtain and unpack the Struts binary distribution (this procedure assumes it was extracted to C:\jakarta-struts). (3) Add an entry to weblogic.properties for each of the Struts web applications that you would like to configure. For example, to make the struts-example application available, add the following line to weblogic.properties: weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-ex ample .war (4) You do not need to include struts.jar or any of the application specific classes in the WebLogic classpath, since this will be done automatically (unless deploying an unpacked web archive- see below). (5) Start WebLogic server and point your web browser to the struts application. For example, to connect to the example application added in step 3: http://localhost:7001/strutsexample * This example application depends on the Struts specific resource file ApplicationResources.properties to be present on the classpath. However, WebLogic only extracts *.class files from the archive so this file will not be found, resulting in an error the first time it is needed- something similar to: javax.servlet.ServletException: runtime failure in custom tag 'message'. Steps 6 7 will need to be performed for this application, and any other that relies on ApplicationResources.properties. (6) Extract ApplicationResources.properties from the *.war file, and manually copy it to the respective package in the _tmp_war_ directory WebLogic created for this application. Again referring to the struts-example application, this would be: c:\jakarta-struts\webapps\WEB-INF\_tmp_war_strutsexample (7) Restart WebLogic. You will now be able to run the application: http://localhost:7001/strutsexample * The above steps should be followed for applications deployed as *.war files. For unpacked web applications, configuration involves adding both struts.jar and /WEB-INF/classes to the WebLogic classpath. For this reason, I would suggest deploying applications as war files to WebLogic. However, the same example application can be successfully deployed in extracted format by modifying weblogic.properties (assuming the war was extracted to directory webapps/struts-example): weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-ex ample / And starting WebLogic with the updated WebLogic classpath. For example: c:\jdk1.3\bin\java -ms16m -mx64m -classpath c:\weblogic\lib\weblogic510sp8boot.jar;C:\weblogic\classes\boot;c:\xerc es\xe rces.jar -Dweblogic.class.path=c:\weblogic\lib\weblogic510sp8.jar;C:\weblogic\li cense ;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\weblogic\lib \webl ogicaux.jar;C:\jakarta-struts\lib\struts.jar;C:\jakarta-struts\webapps\ strut s-example\WEB-INF\classes -Dweblogic.system.home=c:\weblogic -Djava.security.manager -Djava.security.policy=c:\weblogic\weblogic.policy weblogic.Server -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 425-0252; Fax 716 223-2506. -- http://www.husted.com/about/struts/
RE: Struts installation notes - WebLogic 5.1
My experience is the same as yours. --- [EMAIL PROTECTED] wrote: Wong, Yes you are correct it works fine (today) with jaxp as well. I am not sure why I had problems before. So step 1 can be changed then...or just excluded): (1) Verify that an XML parser (e.g. Xerces or JAXP) has been included in the WebLogic system classpath. I am curious- what is your experience with deployment of war files... have you experienced any problem with this regarding the resource file? Thanks for the feedback, Bob __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
RE: Struts installation notes - example's setLocale on JRun
* The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. * My project got hold of JRun 3 SP2 yesterday and noticed that this is a Known Issue (e.g. Unfixed Bug) in the service pack. I don't have the bug number handy. There is no news on when an SP3 might be available. I had complained about this a few weeks ago in the JRun support forum, but there was no response from any Allaire folks. Mark -Original Message-From: Peter Doyle [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 30, 2001 11:35 AMTo: [EMAIL PROTECTED]Subject: Struts installation notes - example's setLocale on JRun Hi, I was writing up the Installation notes for the example and documentation web applications for JRun whenI came across the same problem. (I haven't installed the example app since 0.5) allaire.jrun.scripting.DefaultCFE: Errors reported by compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/jsp/jrun__index2ejspa.java:44:1:44:27: Error: No match was found for method "setLocale(java.lang.String)". The deployment is grand, its this setLocale method that stops the example. I'll check out Allaire and the JRun postings for updates and include any findings. I'm not on struts-dev soI will check there for updates. Peter PS what's with this funny background? -Original Message-From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]Sent: 28 January 2001 05:03To: [EMAIL PROTECTED]Subject: Re: Can't run nightly releasesCarl Tallis wrote: Hi, all - I'm using JRun, and the 0.5 classes/tags work great, but I can't even get the later sample application to run:/newstrutsdemo/: javax.servlet.ServletException: Compilation error occured: allaire.jrun.scripting.DefaultCFE: Errors reported by compiler:C:/Program Files/Allaire/JRun/servers/default/New Struts Demo/WEB-INF/jsp/jrun__index2ejspa.java:41:1:41:27: Error: No match was found for method "setLocale(java.lang.String)". Pretty basic stuff. However, looking at the messages on this list, it's obvious that people *are* using the nightly builds. Anyone ever seen this error? What execution environments are people using who can run the later distributions (i.e. post 0.5)?Carl TallisDirector Of ProductsSupplyLinks, Inc.Tel: (703) 796-6010Fax: (703) 796-6014email: [EMAIL PROTECTED]Unfortunately, it appears that JRun has an implementation bug. The servlet container is supposed to do automatic type conversions when the data type of a custom tag property is something other than a String. In this particular case, the "locale" property accepts a boolean value. The set of required conversions are in Table 2-4 on page 65 of the JSP 1.1 specification. Originally, it was not clear (in the spec) that these conversions applied to custom tag attributes, as well as jsp:setProperty/, but this was cleared up in an errata to the spec that was published last April, at: http://java.sun.com/products/jsp/errata_1_1_a_042800.html As a workaround on JRun, you can add a String setter for each non-String property, but this is not a good long term solution, because such a tag will not work on any other servlet engine (because the Java reflection code will see two setter methods, and therefore decide that neither of them is appropriate -- so the property will be considered read only). Craig McClanahan
Re: Struts installation notes - example's setLocale on JRun
--- Peter Doyle [EMAIL PROTECTED] skrev: Hi, I was writing up the Installation notes for the example and documentation web applications for JRun when I came across the same problem. (I haven't installed the example app since 0.5) allaire.jrun.scripting.DefaultCFE: Errors reported by compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/jsp/jrun__i ndex2ejspa.java:44:1:44:27: Error: No match was found for method "setLocale(java.lang.String)". The deployment is grand, its this setLocale method that stops the example. I'll check out Allaire and the JRun postings for updates and include any findings. Appear it's been corrected in JRun 3.0 sp2. See http://forums.allaire.com/jrunconf/Index.cfm?CFID=184276CFTOKEN=28308124Message_ID=649418 (I have not tried it, though) erik _ Do You Yahoo!? F din egen, gratis @yahoo.no-adresse p http://mail.yahoo.no