Re: Orion 1.3.8 and Servlets
Title: RE: Orion 1.3.8 and Servlets Are core classes reloaded too? I have found that if I change & recompile utility classes used by a Servlet or JSP these are not updatedif they are already loaded. Servlets and JSPs are (development ="true"). What do you mean by a 'core class'? - Original Message - From: Duffey, Kevin To: Orion-Interest Sent: Monday, October 16, 2000 6:59 PM Subject: RE: Orion 1.3.8 and Servlets Actually, in orion-web.xml (located in /orion/application-deployments/app_name/web_app_name/orion-web.xml) there is a setting for development..which you said. But also there is another option, called source-directory="/path/dir" and when development="true" every time you save the file, Orion will auto-reload your web-app for you (and I don't think it shows you this in its output window..but maybe it does). I have not been able to see this work, mostly because if ANY of your HttpSession objects do not implement Serializable, it wont' work for some reason. Our code is jacked up enough where we do not do it right. Anyways, Orion and Resin are the only two servlet engines (Orion being a full J2EE app server too) that auto-reload your entire app, even if you change code in a "core" class. Most app servers and servlet engines reload only servlets and/or JSPs/javabeans, not core classes, and so on. Just make sure when you deploy to production your turn development off ("false"). In the /docs folder, look at orion-web.xml.html..it will explain this to you. -Original Message-From: Hani Suleiman [mailto:[EMAIL PROTECTED]]Sent: Monday, October 16, 2000 7:16 AMTo: Orion-InterestSubject: RE: Orion 1.3.8 and Servlets If you 'touch' any of the configuration files for your application (eg, web.xml), then Orion will reload that app. I use an ant build script which after installing the app, uses the touch task to force Orion to reload. -Original Message- From: [EMAIL PROTECTED] To: Orion-Interest Sent: 10/16/2000 9:48 AM Subject: Orion 1.3.8 and Servlets Guys, I have this small problem with my servlets.. whenever I make changes to them and recompile them, I have to restart my orion for the changes to take effect.. I know there is a development mode which auto compiles the files but I suppose that only applies to JSP's ? so what I would like to know is whether it is possible to compile servlets and have the changes take effect immediately without having to restart, kinda like installing a new .ear or .war file. sincerely, Arjan Wijnveen MarketXS B.V.
RE: Orion 1.3.8 and Servlets
Title: RE: Orion 1.3.8 and Servlets Actually, in orion-web.xml (located in /orion/application-deployments/app_name/web_app_name/orion-web.xml) there is a setting for development..which you said. But also there is another option, called source-directory="/path/dir" and when development="true" every time you save the file, Orion will auto-reload your web-app for you (and I don't think it shows you this in its output window..but maybe it does). I have not been able to see this work, mostly because if ANY of your HttpSession objects do not implement Serializable, it wont' work for some reason. Our code is jacked up enough where we do not do it right. Anyways, Orion and Resin are the only two servlet engines (Orion being a full J2EE app server too) that auto-reload your entire app, even if you change code in a "core" class. Most app servers and servlet engines reload only servlets and/or JSPs/javabeans, not core classes, and so on. Just make sure when you deploy to production your turn development off ("false"). In the /docs folder, look at orion-web.xml.html..it will explain this to you. -Original Message-From: Hani Suleiman [mailto:[EMAIL PROTECTED]]Sent: Monday, October 16, 2000 7:16 AMTo: Orion-InterestSubject: RE: Orion 1.3.8 and Servlets If you 'touch' any of the configuration files for your application (eg, web.xml), then Orion will reload that app. I use an ant build script which after installing the app, uses the touch task to force Orion to reload. -Original Message- From: [EMAIL PROTECTED] To: Orion-Interest Sent: 10/16/2000 9:48 AM Subject: Orion 1.3.8 and Servlets Guys, I have this small problem with my servlets.. whenever I make changes to them and recompile them, I have to restart my orion for the changes to take effect.. I know there is a development mode which auto compiles the files but I suppose that only applies to JSP's ? so what I would like to know is whether it is possible to compile servlets and have the changes take effect immediately without having to restart, kinda like installing a new .ear or .war file. sincerely, Arjan Wijnveen MarketXS B.V.
Re: Orion 1.3.8 and Servlets
Actually I think it's the default behaviour of Orion to reload servlets. (edit ORION-WEB.XML - development="true") Most servlet-servers offers this (even weblogic I think). The only trick is, that the servlet-classes must NOT be in the general class-path! If the classes is in the classpath, it's the standard JVM class-loader which have to reload them (and it doesn't!), and not the Orion class-loader! have fun! :-) Flemming --- [EMAIL PROTECTED] skrev: > Guys, > > I have this small problem with my servlets.. > whenever I make changes to them and recompile them, > I have to > restart my orion for the changes to take effect.. I > know there > is a development mode which auto compiles the files > but I suppose > that only applies to JSP's ? > > so what I would like to know is whether it is > possible to compile > servlets and have the changes take effect > immediately without having to > restart, kinda like installing a new .ear or .war > file. > > sincerely, > > Arjan Wijnveen > MarketXS B.V. > > __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
RE: Orion 1.3.8 and Servlets
Title: RE: Orion 1.3.8 and Servlets If you 'touch' any of the configuration files for your application (eg, web.xml), then Orion will reload that app. I use an ant build script which after installing the app, uses the touch task to force Orion to reload. -Original Message- From: [EMAIL PROTECTED] To: Orion-Interest Sent: 10/16/2000 9:48 AM Subject: Orion 1.3.8 and Servlets Guys, I have this small problem with my servlets.. whenever I make changes to them and recompile them, I have to restart my orion for the changes to take effect.. I know there is a development mode which auto compiles the files but I suppose that only applies to JSP's ? so what I would like to know is whether it is possible to compile servlets and have the changes take effect immediately without having to restart, kinda like installing a new .ear or .war file. sincerely, Arjan Wijnveen MarketXS B.V.
Orion 1.3.8 and Servlets
Guys, I have this small problem with my servlets.. whenever I make changes to them and recompile them, I have to restart my orion for the changes to take effect.. I know there is a development mode which auto compiles the files but I suppose that only applies to JSP's ? so what I would like to know is whether it is possible to compile servlets and have the changes take effect immediately without having to restart, kinda like installing a new .ear or .war file. sincerely, Arjan Wijnveen MarketXS B.V.