Re: WO 5.4 Linux Deployment
It does seem benign. I'm wondering if anyone knows how (javax.naming.NameNotFoundException: Name jdbc is not bound in this Context) might be suppressed. Thanks, Aleksey This does not cause any problems ... It's an obnoxious error that isn't really an error. It's been a couple months since I tracked down what exactly was going on, but I _believe_ it's trying to lookup the jdbc datasource in your tomcat server config, and if it's not there, it displays this warning. You can safely ignore it. ms On Apr 2, 2008, at 5:14 PM, Jeff Smith wrote: FWIW, I'm getting the java name not found in context as well and I haven't figure out a way around getting the messages either including specifying my data source in the web.xml. Doesn't seem to hurt anything but it does clog up the log file. On Apr 2, 2008, at 10:34 AM, Aleksey Novicov wrote: Yes, I will post what I've learned on the WO wiki as soon as I think I have everything worked out. Aleksey On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote: Hello Aleksey; It would be really great if you could write-up your experiences an tips in the WO wiki for others to read about. http://wiki.objectstyle.org/confluence/display/WO/Home 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. Actually Apache 2.2 has AJP support built-in as well as a neat little balancer web app to monitor the deploy. I have some unrelated, but possibly helpful notes on the Apache 2.2 setup for this in this document; http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf See 9.5 and 9.6. I find the Apache 2.2 balancer setup much more elegant than mod_jk. 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
It's definitely benign. The only way to suppress it is to switch from declaring connection info in your models to declaring your data sources in your J2EE container. This error is a result of it looking up the java:comp/env/jdbc context variable. If it doesn't exist, it displays this warning and uses your model connection dictionary. Personally I find it easier to just use the model connection dictionary. ms On Apr 3, 2008, at 11:54 AM, Aleksey Novicov wrote: It does seem benign. I'm wondering if anyone knows how (javax.naming.NameNotFoundException: Name jdbc is not bound in this Context) might be suppressed. Thanks, Aleksey This does not cause any problems ... It's an obnoxious error that isn't really an error. It's been a couple months since I tracked down what exactly was going on, but I _believe_ it's trying to lookup the jdbc datasource in your tomcat server config, and if it's not there, it displays this warning. You can safely ignore it. ms On Apr 2, 2008, at 5:14 PM, Jeff Smith wrote: FWIW, I'm getting the java name not found in context as well and I haven't figure out a way around getting the messages either including specifying my data source in the web.xml. Doesn't seem to hurt anything but it does clog up the log file. On Apr 2, 2008, at 10:34 AM, Aleksey Novicov wrote: Yes, I will post what I've learned on the WO wiki as soon as I think I have everything worked out. Aleksey On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote: Hello Aleksey; It would be really great if you could write-up your experiences an tips in the WO wiki for others to read about. http://wiki.objectstyle.org/confluence/display/WO/Home 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. Actually Apache 2.2 has AJP support built-in as well as a neat little balancer web app to monitor the deploy. I have some unrelated, but possibly helpful notes on the Apache 2.2 setup for this in this document; http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf See 9.5 and 9.6. I find the Apache 2.2 balancer setup much more elegant than mod_jk. 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
Thanks Jeff! I tried this and found that the latest Eclipse/WOLips tools are very complete in packaging up woapps for servlet deployment. However, there were a couple of caveats worth mentioning: 1. Starting with a WOnder Application template there is no need (and no option!) to create a project with servlet support. All that is needed after the project is created is to check Servlet Deployment and check Autogenerate web.xml in WOLips Build within the project properties. This will create the proper WAR file as a fully self- contained servlet single directory deployment (SSDD) with all of the necessary WO frameworks. It's very slick. 2. Project dependencies (such as other frameworks) however will not be included in the SSDD. They must be included as framework dependencies as well. See http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework+Dependency . 3. The generated web.xml file in WEB-INF has a parameter named WOAppMode which is set to Development. I found that with this setting, Tomcat and the WebObjects Resource Manager would not serve up any static WebServerResources correctly. I kept getting links like / MyApp/WebObjects/MyApp.woa/_wr_/wodata=/Library/stuff. I don't know if I had a particular property value set incorrectly. But I did find that if I changed the WOAppMode value to Deployment, the problem went away since the static resources get served up directly by the web server. This of course requires a split install (Tomcat + Apache). Because I'm using Ajax, I had to remember to include Ajax.framework/ WebServerResources in the split install since there are critical javascript files that are required. 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. I am deploying on Linux, but developing on a Mac, and so I wanted to make sure this also works under Leopard. There are useful instructions for installing mod_jk on Leopard client at http://blog.lo-fi.net/2007/10/leopard-for-web-developer-installing.html (the downloadable binary for mod_jk for Leopard doesn't run correctly). 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism for supplying database information. Being a Tomcat newbie, I'm not sure if there is an easy way to suppress these exceptions, or if it's better to just configure and use the servlet container data source. I know there is some pertinent information at http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Tomcat+Deployment , but I'm interested in getting input on best practices related to WO deployment and data sources in a servlet container. Please let me know, especially if you have experience with business-critical deployments. MyApp[2008-4-1 23:16:41 PDT] http-8080-1 javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.list(NamingContext.java:345) at org.apache.naming.NamingContext.list(NamingContext.java:353) at org.apache.naming.NamingContext.list(NamingContext.java:353) at org.apache.naming.NamingContext.list(NamingContext.java:368) at org.apache.naming.SelectorContext.list(SelectorContext.java:307) at javax.naming.InitialContext.list(InitialContext.java:395) at com .webobjects .jdbcadaptor.JDBCContext.setupJndiConfiguration(JDBCContext.java:310) at com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:197) Thanks, Aleksey On Mar 26, 2008, at 5:38 AM, Jeff Smith wrote: We've just started deploying on Linux (ubuntu in this case) using a hosting provider and have found that the Tomcat/WAR file deployment works very well. Nothing special being used here, mainly the standard dev tools/WO install from Apple (5.4) and then Eclipse +WOLips (latest stable) to build the project/WAR files. As a matter of fact, I've found that just creating the projects with servlet support and then checking the WOLips boxes for Servlet deployment and automatically generating the WAR files (in the preferences) was all I needed to do to get the proper WAR file generated. Jeff On Mar 25, 2008, at 9:41 PM, Aleksey Novicov wrote: I am looking for input and instruction on deploying WO 5.4 apps on Red Hat Linux. Are there any updated instructions for WO 5.4? Is there a pre-compiled Apache 2.2 WebObjects adapter for Red Hat available? How about deploying on Tomcat? Is it preferred over JavaMonitor/wotaskd? I have experience with JavaMonitor on OS X but have never tried deploying on Tomcat. By the way, this mail list is invaluable. Thanks to all of the contributors. Aleksey ___ Do not post admin requests
Re: WO 5.4 Linux Deployment
Which source do you recommend using? The source that is distributed with Xcode and is in /Developer/Examples/WebObjects/Source/Adaptors? Or the source in Project Wonder? On Mar 30, 2008, at 10:22 PM, Joe Little wrote: On Tue, Mar 25, 2008 at 6:41 PM, Aleksey Novicov [EMAIL PROTECTED] wrote: I am looking for input and instruction on deploying WO 5.4 apps on Red Hat Linux. Are there any updated instructions for WO 5.4? Is there a pre-compiled Apache 2.2 WebObjects adapter for Red Hat available? How about deploying on Tomcat? Is it preferred over JavaMonitor/ wotaskd? I have experience with JavaMonitor on OS X but have never tried deploying on Tomcat. I'll just add that I never deploy as a servlet, but use native adaptors. Nothing precompiled, but the instructions out there for 5.3 still work for 5.4, albeit using the newer 5.4 frameworks/jars. The FreeBSD install script that has been posted might be more enlightening as I think its already updated to 5.4. By the way, this mail list is invaluable. Thanks to all of the contributors. Aleksey ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
Hello Aleksey; It would be really great if you could write-up your experiences an tips in the WO wiki for others to read about. http://wiki.objectstyle.org/confluence/display/WO/Home 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. Actually Apache 2.2 has AJP support built-in as well as a neat little balancer web app to monitor the deploy. I have some unrelated, but possibly helpful notes on the Apache 2.2 setup for this in this document; http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf See 9.5 and 9.6. I find the Apache 2.2 balancer setup much more elegant than mod_jk. 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
Hey Aleksey, You are right Tomcat has it's own DB connection stuff, which can be a pain in the a** at times. I ran into this and it actually was a show- stopper when I had two (or more) EOModels. See: the Data Source for Model Database Configuration section of http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Tomcat+Deployment#WebApplications-Deployment-TomcatDeployment-DataSourceforModelDatabaseConfiguration . This wiki page is somewhat out-of-date due to the improved project setup options in WOLips, but the core information in it still holds true, so read through it to see if you can find any other changes you may need to make to your build files. Specifically, it will help you get all the frameworks imbedded. On Apr 2, 2008, at 5:05 AM, Andrew Lindesay wrote: 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
See: the Data Source for Model Database Configuration section of http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment- Tomcat+Deployment#WebApplications-Deployment-TomcatDeployment-DataSourceforMod elDatabaseConfiguration btw: I have deployed a Wonder App as a Servlet and tried to specified the db connection via context.xml. It still uses the information from the eo model. I have played around with resource-refs in web.xml but no luck. Does anyone here have a working configuration? Oliver ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
Yes, I will post what I've learned on the WO wiki as soon as I think I have everything worked out. Aleksey On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote: Hello Aleksey; It would be really great if you could write-up your experiences an tips in the WO wiki for others to read about. http://wiki.objectstyle.org/confluence/display/WO/Home 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. Actually Apache 2.2 has AJP support built-in as well as a neat little balancer web app to monitor the deploy. I have some unrelated, but possibly helpful notes on the Apache 2.2 setup for this in this document; http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf See 9.5 and 9.6. I find the Apache 2.2 balancer setup much more elegant than mod_jk. 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
FWIW, I'm getting the java name not found in context as well and I haven't figure out a way around getting the messages either including specifying my data source in the web.xml. Doesn't seem to hurt anything but it does clog up the log file. On Apr 2, 2008, at 10:34 AM, Aleksey Novicov wrote: Yes, I will post what I've learned on the WO wiki as soon as I think I have everything worked out. Aleksey On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote: Hello Aleksey; It would be really great if you could write-up your experiences an tips in the WO wiki for others to read about. http://wiki.objectstyle.org/confluence/display/WO/Home 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. Actually Apache 2.2 has AJP support built-in as well as a neat little balancer web app to monitor the deploy. I have some unrelated, but possibly helpful notes on the Apache 2.2 setup for this in this document; http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf See 9.5 and 9.6. I find the Apache 2.2 balancer setup much more elegant than mod_jk. 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jas35%40mac.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
This does not cause any problems ... It's an obnoxious error that isn't really an error. It's been a couple months since I tracked down what exactly was going on, but I _believe_ it's trying to lookup the jdbc datasource in your tomcat server config, and if it's not there, it displays this warning. You can safely ignore it. ms On Apr 2, 2008, at 5:14 PM, Jeff Smith wrote: FWIW, I'm getting the java name not found in context as well and I haven't figure out a way around getting the messages either including specifying my data source in the web.xml. Doesn't seem to hurt anything but it does clog up the log file. On Apr 2, 2008, at 10:34 AM, Aleksey Novicov wrote: Yes, I will post what I've learned on the WO wiki as soon as I think I have everything worked out. Aleksey On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote: Hello Aleksey; It would be really great if you could write-up your experiences an tips in the WO wiki for others to read about. http://wiki.objectstyle.org/confluence/display/WO/Home 4. For the static resources to be served correctly via port 80 of the Apache web server (as opposed to Tomcat's port 8080), I had to install the Tomcat-Apache plugin, mod_jk. Actually Apache 2.2 has AJP support built-in as well as a neat little balancer web app to monitor the deploy. I have some unrelated, but possibly helpful notes on the Apache 2.2 setup for this in this document; http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf See 9.5 and 9.6. I find the Apache 2.2 balancer setup much more elegant than mod_jk. 5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jas35%40mac.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
Hi there, On 02/04/2008, at 5:37 PM, Aleksey Novicov wrote: I tried this and found that the latest Eclipse/WOLips tools are very complete in packaging up woapps for servlet deployment. However, there were a couple of caveats worth mentioning: 1. Starting with a WOnder Application template there is no need (and no option!) to create a project with servlet support. All that is needed after the project is created is to check Servlet Deployment and check Autogenerate web.xml in WOLips Build within the project properties. This will create the proper WAR file as a fully self- contained servlet single directory deployment (SSDD) with all of the necessary WO frameworks. It's very slick. 2. Project dependencies (such as other frameworks) however will not be included in the SSDD. They must be included as framework dependencies as well. See http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework+Dependency . 3. The generated web.xml file in WEB-INF has a parameter named WOAppMode which is set to Development. I found that with this setting, Tomcat and the WebObjects Resource Manager would not serve up any static WebServerResources correctly. I kept getting links like /MyApp/WebObjects/MyApp.woa/_wr_/wodata=/Library/stuff. I don't know if I had a particular property value set incorrectly. But I did find that if I changed the WOAppMode value to Deployment, the problem went away since the static resources get served up directly by the web server. This of course requires a split install (Tomcat + Apache). Because I'm using Ajax, I had to remember to include Ajax.framework/WebServerResources in the split install since there are critical javascript files that are required. ... You might like to adjust the project template for, adding the optional tickboxes for all of these, and provide them back to WOLips. with regards, -- Lachlan Deck ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
wonder sources. Works great for Apache 2 and 2.2 On Tue, Apr 1, 2008 at 11:58 PM, Aleksey Novicov [EMAIL PROTECTED] wrote: Which source do you recommend using? The source that is distributed with Xcode and is in /Developer/Examples/WebObjects/Source/Adaptors? Or the source in Project Wonder? On Mar 30, 2008, at 10:22 PM, Joe Little wrote: On Tue, Mar 25, 2008 at 6:41 PM, Aleksey Novicov [EMAIL PROTECTED] wrote: I am looking for input and instruction on deploying WO 5.4 apps on Red Hat Linux. Are there any updated instructions for WO 5.4? Is there a pre-compiled Apache 2.2 WebObjects adapter for Red Hat available? How about deploying on Tomcat? Is it preferred over JavaMonitor/wotaskd? I have experience with JavaMonitor on OS X but have never tried deploying on Tomcat. I'll just add that I never deploy as a servlet, but use native adaptors. Nothing precompiled, but the instructions out there for 5.3 still work for 5.4, albeit using the newer 5.4 frameworks/jars. The FreeBSD install script that has been posted might be more enlightening as I think its already updated to 5.4. By the way, this mail list is invaluable. Thanks to all of the contributors. Aleksey ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
On Tue, Mar 25, 2008 at 6:41 PM, Aleksey Novicov [EMAIL PROTECTED] wrote: I am looking for input and instruction on deploying WO 5.4 apps on Red Hat Linux. Are there any updated instructions for WO 5.4? Is there a pre-compiled Apache 2.2 WebObjects adapter for Red Hat available? How about deploying on Tomcat? Is it preferred over JavaMonitor/wotaskd? I have experience with JavaMonitor on OS X but have never tried deploying on Tomcat. I'll just add that I never deploy as a servlet, but use native adaptors. Nothing precompiled, but the instructions out there for 5.3 still work for 5.4, albeit using the newer 5.4 frameworks/jars. The FreeBSD install script that has been posted might be more enlightening as I think its already updated to 5.4. By the way, this mail list is invaluable. Thanks to all of the contributors. Aleksey ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
Really! Progress is a wonderful thing! Dave On Mar 26, 2008, at 8:38 AM, Jeff Smith wrote: As a matter of fact, I've found that just creating the projects with servlet support and then checking the WOLips boxes for Servlet deployment and automatically generating the WAR files (in the preferences) was all I needed to do to get the proper WAR file generated. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
I develop on a Mac using Eclipse/WOLips/WOProject, then deploy to Tomcat as a WAR that has all the WO frameworks, some WOnder stuff and a framework of my own all imbedded in the WAR. This WAR works flawlessly on both Windows and Mac OS X. I've never tried it on Tomcat on Linux or other, but I can't imagine it not working. The way I did it is to simply open the standard build.xml file that is part of any project created with WOLips, and look at the SSDD and WAR targets and follow the instructions written in the comments there. You end up with a nice WAR you can easily deploy. I also make use of a context.xml file that goes in the webapps/myapp/ META-INF directory. This keeps me from needing to make any changes to the Tomcat server.xml file or any other config file that is outside the WAR as Tomcat will read the context.xml file out of the project and put it in the Tomcat/conf/catalina/localhost directory as myapp.xml automatically on startup. It is really quite slick. Dave On Mar 25, 2008, at 9:41 PM, Aleksey Novicov wrote: I am looking for input and instruction on deploying WO 5.4 apps on Red Hat Linux. Are there any updated instructions for WO 5.4? Is there a pre-compiled Apache 2.2 WebObjects adapter for Red Hat available? How about deploying on Tomcat? Is it preferred over JavaMonitor/wotaskd? I have experience with JavaMonitor on OS X but have never tried deploying on Tomcat. By the way, this mail list is invaluable. Thanks to all of the contributors. Aleksey ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WO 5.4 Linux Deployment
I also deploy on linux using Tomcat (and recently Jetty too), but I build my applications using Maven. I've written a simple Maven plug-in to create a Maven project to build WebObjects applications as WARs if you're interested: http://wocreator.sourceforge.net/ Cheers, Jake On Tuesday, March 25, 2008, at 07:22PM, David Avendasora [EMAIL PROTECTED] wrote: I develop on a Mac using Eclipse/WOLips/WOProject, then deploy to Tomcat as a WAR that has all the WO frameworks, some WOnder stuff and a framework of my own all imbedded in the WAR. This WAR works flawlessly on both Windows and Mac OS X. I've never tried it on Tomcat on Linux or other, but I can't imagine it not working. The way I did it is to simply open the standard build.xml file that is part of any project created with WOLips, and look at the SSDD and WAR targets and follow the instructions written in the comments there. You end up with a nice WAR you can easily deploy. I also make use of a context.xml file that goes in the webapps/myapp/ META-INF directory. This keeps me from needing to make any changes to the Tomcat server.xml file or any other config file that is outside the WAR as Tomcat will read the context.xml file out of the project and put it in the Tomcat/conf/catalina/localhost directory as myapp.xml automatically on startup. It is really quite slick. Dave On Mar 25, 2008, at 9:41 PM, Aleksey Novicov wrote: I am looking for input and instruction on deploying WO 5.4 apps on Red Hat Linux. Are there any updated instructions for WO 5.4? Is there a pre-compiled Apache 2.2 WebObjects adapter for Red Hat available? How about deploying on Tomcat? Is it preferred over JavaMonitor/wotaskd? I have experience with JavaMonitor on OS X but have never tried deploying on Tomcat. By the way, this mail list is invaluable. Thanks to all of the contributors. Aleksey ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmacmullin%40mac.com This email sent to [EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]