Re: pop3.jar again
Sorry I mis-read your email. I now have added activation.jar, mail.jar, and pop3.jar to the orion.jar manifest file. These files again reside in orion_root/. I still get the same error. As far as the code goes "pop3://cucu:[EMAIL PROTECTED]", this is a dumb question but what is the break up of this String. ie: is cucu a server name or password followed by :email to check? Are you an Orion employee? Thanks for your help. Dale - Original Message - From: Christian Sell To: Orion-Interest Sent: Saturday, November 25, 2000 6:16 AM Subject: Re: pop3.jar again regarding the manifest.mf variant, my advice was to ADD pop3.jar to the jars already mentioned. Mail.jar should already be there, as it comes with orion. I have this setup running all the time. Then, there was a code-based suggestion by someone else that looks promising to me, because it saves JavaMail from reading the properties file, which is were the problem originates: session = Session.getInstance(props, null);store = new POP3Store(session, new URLName(Constants.MAIL_URL));(where Constants.MAIL_URL is something like: "pop3://cucu:[EMAIL PROTECTED]")The problem seems to be that Orion doesn't read the javamail.providers filefrom META-INF directory - Original Message ----- From: Dale Bronk To: Orion-Interest Sent: Saturday, November 25, 2000 4:40 AM Subject: Re: pop3.jar again I have now triple checked and I have moved activation.jar, mail.jar, and pop3.jar into jre/lib/ext. I then did a search for those 3 files on my entire hard drive and they are only in that directory. I restarted Orion and still get: MessagingException: javax.mail.NoSuchProviderException: No provider for POP3 I then tried your other suggestion of removing the files from the orion.jar manifest.mf file. I still get the same error. I saw another response to my post suggesting that I look at my code and they gave a code sample... I will look at this next. Currently, I have the 3 jar files only in jre/lib/ext and the files are not listed in the manifest.mf file in orion.jar. Dale - Original Message - From: Christian Sell To: Orion-Interest Sent: Thursday, November 23, 2000 4:24 PM Subject: Re: pop3.jar again Dale, This is my favorite one.. I am running an application under orion which uses JavaMail pop3. The 2 solution alternatives to the classloader problem I personally tested successfully were a)MOVE mail.jar AND pop3.jar to jre/lib/ext (note the MOVE. Both should be accessed from the same place) b) modify manifest.mf inside orion.jar and add the pop3.jar I have to admit I stayed with b). I just re-modified it yesterday after downloading the newest orion release :-) - Original Message - From: Dale Bronk To: Orion-Interest Sent: Thursday, November 23, 2000 8:40 PM Subject: pop3.jar again Has anyone figured out how to use pop3.jar with Orion? I have tried moving the pop3.jar and activation.jar to my jdk/lib/ext directory like someone suggested and it still gets an error "no providers found". I then tried what someone else suggested... Starting orion with the actual class with main in it rather than orion.jar and specifying the classpath pointing to my activation.jar and pop3.jar from sun. I can't get it to work with Orion. Orion, if you are listening... Please help. There have been several questions with this same problem. I know I have it setup correctly because I can run the little test app and it lists my pop3 as a provider plain as day. This is of course not running in the same vm as Orion. The common problem I get from this list is that it is a problem with Orion classloader. Orion, please let us know what we have to do. Dale Bronk[EMAIL PROTECTED]
Re: pop3.jar again
I tried MOVING mail.jar, pop3.jar, and activation.jar to jre/lib/ext to to avail. I made sure that these 3 files are only there. I will triple check my work. I have not tried editing the manifest.mf file inside of orion.jar. I will try this. Rhanks a bunch for you help. Dale - Original Message - From: Christian Sell To: Orion-Interest Sent: Thursday, November 23, 2000 4:24 PM Subject: Re: pop3.jar again Dale, This is my favorite one.. I am running an application under orion which uses JavaMail pop3. The 2 solution alternatives to the classloader problem I personally tested successfully were a)MOVE mail.jar AND pop3.jar to jre/lib/ext (note the MOVE. Both should be accessed from the same place) b) modify manifest.mf inside orion.jar and add the pop3.jar I have to admit I stayed with b). I just re-modified it yesterday after downloading the newest orion release :-) - Original Message - From: Dale Bronk To: Orion-Interest Sent: Thursday, November 23, 2000 8:40 PM Subject: pop3.jar again Has anyone figured out how to use pop3.jar with Orion? I have tried moving the pop3.jar and activation.jar to my jdk/lib/ext directory like someone suggested and it still gets an error "no providers found". I then tried what someone else suggested... Starting orion with the actual class with main in it rather than orion.jar and specifying the classpath pointing to my activation.jar and pop3.jar from sun. I can't get it to work with Orion. Orion, if you are listening... Please help. There have been several questions with this same problem. I know I have it setup correctly because I can run the little test app and it lists my pop3 as a provider plain as day. This is of course not running in the same vm as Orion. The common problem I get from this list is that it is a problem with Orion classloader. Orion, please let us know what we have to do. Dale Bronk[EMAIL PROTECTED]
Re: pop3.jar again
I have now triple checked and I have moved activation.jar, mail.jar, and pop3.jar into jre/lib/ext. I then did a search for those 3 files on my entire hard drive and they are only in that directory. I restarted Orion and still get: MessagingException: javax.mail.NoSuchProviderException: No provider for POP3 I then tried your other suggestion of removing the files from the orion.jar manifest.mf file. I still get the same error. I saw another response to my post suggesting that I look at my code and they gave a code sample... I will look at this next. Currently, I have the 3 jar files only in jre/lib/ext and the files are not listed in the manifest.mf file in orion.jar. Dale - Original Message - From: Christian Sell To: Orion-Interest Sent: Thursday, November 23, 2000 4:24 PM Subject: Re: pop3.jar again Dale, This is my favorite one.. I am running an application under orion which uses JavaMail pop3. The 2 solution alternatives to the classloader problem I personally tested successfully were a)MOVE mail.jar AND pop3.jar to jre/lib/ext (note the MOVE. Both should be accessed from the same place) b) modify manifest.mf inside orion.jar and add the pop3.jar I have to admit I stayed with b). I just re-modified it yesterday after downloading the newest orion release :-) - Original Message - From: Dale Bronk To: Orion-Interest Sent: Thursday, November 23, 2000 8:40 PM Subject: pop3.jar again Has anyone figured out how to use pop3.jar with Orion? I have tried moving the pop3.jar and activation.jar to my jdk/lib/ext directory like someone suggested and it still gets an error "no providers found". I then tried what someone else suggested... Starting orion with the actual class with main in it rather than orion.jar and specifying the classpath pointing to my activation.jar and pop3.jar from sun. I can't get it to work with Orion. Orion, if you are listening... Please help. There have been several questions with this same problem. I know I have it setup correctly because I can run the little test app and it lists my pop3 as a provider plain as day. This is of course not running in the same vm as Orion. The common problem I get from this list is that it is a problem with Orion classloader. Orion, please let us know what we have to do. Dale Bronk[EMAIL PROTECTED]
Re: pop3.jar again
Thanks for the code snippet, but in my code I fail before I even get creating the store. Here is my code which I have marked where it fails. Can you see anything I am doing wrong? java.util.Properties properties = System.getProperties(); properties.put("mail.smtp.host", smtp); session = Session.getInstance(properties, null); // FAILS ON THIS LINE ** Provider provider = session.getProvider("pop3"); // NEVER MAKES IT HERE ** session.setProvider(provider); // Connect to the store store = session.getStore("pop3"); store.connect(pop3, user, pass); Error: MessagingException: javax.mail.NoSuchProviderException: No provider for POP3 Thanks, Dale - Original Message - From: Florin Manolache [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, November 24, 2000 6:16 AM Subject: Re: pop3.jar again I had the same problem with pop3 and for me it worked just to put pop3.jar in orion/lib and change the code to: session = Session.getInstance(props, null); // store = session.getStore(new URLName(Constants.MAIL_URL)); // this is the right way store = new POP3Store(session, new URLName(Constants.MAIL_URL)); (where Constants.MAIL_URL is something like: "pop3://cucu:[EMAIL PROTECTED]") The problem seems to be that Orion doesn't read the javamail.providers file from META-INF directory. FlorinM - Original Message - From: Christian Sell To: Orion-Interest Sent: Thursday, November 23, 2000 11:24 PM Subject: Re: pop3.jar again Dale, This is my favorite one.. I am running an application under orion which uses JavaMail pop3. The 2 solution alternatives to the classloader problem I personally tested successfully were a) MOVE mail.jar AND pop3.jar to jre/lib/ext (note the MOVE. Both should be accessed from the same place) b) modify manifest.mf inside orion.jar and add the pop3.jar I have to admit I stayed with b). I just re-modified it yesterday after downloading the newest orion release :-) - Original Message - From: Dale Bronk To: Orion-Interest Sent: Thursday, November 23, 2000 8:40 PM Subject: pop3.jar again Has anyone figured out how to use pop3.jar with Orion? I have tried moving the pop3.jar and activation.jar to my jdk/lib/ext directory like someone suggested and it still gets an error "no providers found". I then tried what someone else suggested... Starting orion with the actual class with main in it rather than orion.jar and specifying the classpath pointing to my activation.jar and pop3.jar from sun. I can't get it to work with Orion. Orion, if you are listening... Please help. There have been several questions with this same problem. I know I have it setup correctly because I can run the little test app and it lists my pop3 as a provider plain as day. This is of course not running in the same vm as Orion. The common problem I get from this list is that it is a problem with Orion classloader. Orion, please let us know what we have to do. Dale Bronk [EMAIL PROTECTED]
pop3.jar again
Has anyone figured out how to use pop3.jar with Orion? I have tried moving the pop3.jar and activation.jar to my jdk/lib/ext directory like someone suggested and it still gets an error "no providers found". I then tried what someone else suggested... Starting orion with the actual class with main in it rather than orion.jar and specifying the classpath pointing to my activation.jar and pop3.jar from sun. I can't get it to work with Orion. Orion, if you are listening... Please help. There have been several questions with this same problem. I know I have it setup correctly because I can run the little test app and it lists my pop3 as a provider plain as day. This is of course not running in the same vm as Orion. The common problem I get from this list is that it is a problem with Orion classloader. Orion, please let us know what we have to do. Dale Bronk[EMAIL PROTECTED]
Re: Using Orion As a Plugin to IIS for Servlets/JSPs
Why shouldn't be possible? WebLogic is an app server, not a plug-in and works quite nicely with IIS. - Original Message - From: "Stanislav Maximov" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, October 03, 2000 1:31 AM Subject: RE: Using Orion As a Plugin to IIS for Servlets/JSPs Hello, I think it is not possible - Orion isn't a plug-in, it is a server. If you wish to use another web-server (rather than Orion), you'll also need to use another JSP/Servlet engine, like Resin or something, and use Orion as a app server only. Regards, Stas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John McGarett Sent: Tuesday, October 03, 2000 2:18 AM To: Orion-Interest Subject: Using Orion As a Plugin to IIS for Servlets/JSPs Hi, Our business requirements dictate that Orion be used in conjunction with other web servers, e.g. IIS. Orion will be our servlet/JSP engine and App Server. That is, all requests will be directed to IIS and it will treat Orion as a plug-in, by sending it Servlet and JSP requests for processing. How can Orion be configured for this task? The Orion FAQ talks about integrating with Apache with Orion being the primary web server but that is not what is desired by us. I have briefly looked at the mail archives but there has been no satisfactory answer to this question and hence this request. Thanks for taking the time to reply. - John - __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/
Re: Using Orion As a Plugin to IIS for Servlets/JSPs
I am not totally aware of how our admins are doing it, but the prod site has IIS listening on port 80 but all *.jsp and *.ourApp are sent to WebLogic for processing. They tell me that it is also SSL "safe". What about JRun 3.0, it is a full J2EE app server and a plug-in? Dale - Original Message - From: [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, October 03, 2000 10:30 AM Subject: SV: Using Orion As a Plugin to IIS for Servlets/JSPs Ofcourse it works, install suns com-rmi bridge and youre off.. But it will not work with isapi or any other filters.. You have to redirect inside the code... And for the one mentioning weblogic..You dont get any isapi filters for Weblogic either, you have to redirect calls the same way as you have to do to orion. It would be the same as to claim Apache has to get an isapi filter for IIS to serve php for IIS. Ok mention JRun that is a servlet engine and not a webserver, that one would ofcourse have a filter to run jsp and servlets inside IIS (or do a invis redirect) but thats not a webserver.. Ps: Orion is faster than IIS, so is most other webservers.. IIS is full of memory leaks and other stuff that make it bend when the load is really hard, and over time. Check the benchmarks on orion page, its done with microsofts own benchmark utility so :) Tip to use orion in cooperation with iis is: forget session tracking between the different servers, but you can easilly call webpages inside orion from iis and present them in the same frame or so. You can allso use Suns rmi-com bridge to call biz logic if this one can run with orionservers protocol. Have fun! Klaus Myrseth -Opprinnelig melding- Fra: Kyle Cordes [mailto:[EMAIL PROTECTED]] Sendt: 3. oktober 2000 15:41 Til: Orion-Interest Emne: Re: Using Orion As a Plugin to IIS for Servlets/JSPs I have a question..why would you not be able to use Orion as the web server? It actually serves HTML pages as fast (if not faster) than IIS does. Its very easy to set up. Not to disparage Orion (a great product!), but it's extremely unlikely that Orion will approach IIS's speed of serving HTML pages. IIS is highly optimized using native NT APIs to perform this task extremely quickly. Does anyone have any benchmarks? Of course, if Orion serves your pages fast enough for your needs, then it doesn't matter if IIS is faster. - Kyle Cordes - www.kylecordes.com
Re: Any update on the new SSL docs?
I have a test cert going from Thawte, but need production. I prefer to use Thawte because of their price versus VeriSign and would like 128-bit. There has been many posts about having problems getting production certs which then caused Karl to start new docs. My intent was basically to let Karl know that some of us are still waiting for his long overdue, and promised, updated ssl docs. Dale - Original Message - From: Sach Jobb [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Sunday, September 24, 2000 11:58 PM Subject: Re: Karl... Any update on the new SSL docs? I just spent three days working on getting SSL going and quite intend to write some much better documentation myself. Are you trying to get a test cert going? sach On Sun, 24 Sep 2000, Dale Bronk wrote: Really need ssl so these promised updated docs would be great. Dale Bronk [EMAIL PROTECTED] Windscape Consulting, Inc. http://www.windscape.com
Karl... Any update on the new SSL docs?
Really need ssl so these promised updated docs would be great. Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Re: Performance for static files
just did a test and it seemed to make a big difference. In IE advanced options I had Use HTTP1.1 turned off. I turned it back on and it made a big difference. As a matter of fact, I don't see the problem anymore as of yet. (after clearing cache). Dale - Original Message - From: Christof Baumgaertner [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, September 08, 2000 3:00 AM Subject: Re: Performance for static files Looks to me like if Orionserver tries to do HTTP/1.1 Keep-Alive without setting the Content-length accordingly. Can anybody confirm? Dale Bronk wrote: Right now until I am proved otherwise, I disagree. I posted a message a day or so ago and have no reply yet. Now I do believe that it is probably some setting I have (although I am using the default settings from Orion), but my web pages are not served very fast at all. I am on a PIII 256M using Windows Server 2000 and tested the same static pages with Apache and IIS and they really popup quickly. With Orion, the pages seem to completely display but the browser keeps going for up to 10-15 seconds before it stops. I am not saying I disagree with the benchmarks, what I am saying is I agree with them with the correct set of configurations as I have used the same static pages on the same machine with Apache, IIS, and Orion. I did not use any benchmarking tools other than my eye but it was very obvious (clearing browser cache between each request) that as soon as the pages "appeared" to be fully display (very small graphics, if any) using Apache and IIS, the browser (both IE and NS) stopped. With Orion, the browsers just kept going (not sure doing what) for another 10-15 seconds. Like I said, I am sure it is some configuration but I wish someone would tell me what the setting is. I also tried browsing from several different machines to make sure that it was not simply my browser. Dale - Original Message - From: [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 3:51 AM Subject: SV: Performance for static files Look at the benchmark page... Against Apache and IIS its got no problems at all beating them into the bushes. The url is enclosed, have fun... Klaus Myrseth -Opprinnelig melding- Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]] Sendt: 7. september 2000 08:40 Til: Orion-Interest Emne: Performance for static files We have a webbased client/server application which in addition to its dynamic elements has to serve a huge amount of small files (HTML, GIF, JS). I understand that Orionserver's performance for J2EE based applications is pretty good. How about serving static files from the file system? Can it compete with high performance servers like AOL Server, Stronghold Apache or others in this area? Thanks, Christof
3rd post, no answer
Sorry to keep posting this, but I really need an answer. I have a problem that I hope isn't not normal behavior and something I have configured incorrectly. Snip of my sever.xml: global-application name="MyDomain" path="c:\webapps\mydomain-web-app\config\mydomain-application.xml" /--application name="Client1Domain" path="c:\webapps\Client1Domain-web-app\config\Client1Domain-application.xml" /application name="Client2Domain" path="c:\webapps\Client2Domain-web-app\config\Client2Domain-application.xml" /application name="Client3Domain" path="c:\webapps\Client3Domain-web-app\config\Client3Domain-application.xml" /application name="Client4Domain" path="c:\webapps\Client4Domain-web-app\config\Client4Domain-application.xml" /application name="Client5Domain" path="c:\webapps\Client5Domain-web-app\config\Client5Domain-application.xml" / In mydomain-application.xml, I have: (note that this is my global application) mail-session location="mail/MailSession" smtp-host="mail.mydomain.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session Now I want to also place the same mail session entries in each of my clients application.xml files except specifying their domain: mail-session location="mail/MailSession" smtp-host="mail.Client1Domain.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session I have a FormMailServlet that I install on all my clients web.xml files which uses mail.jar classes send the email. My problem is it doesn't matter which one I go to, Orion always uses my mail-session entries from the global application. It doesn't seem to get over written for each other application. I also tried to explicitly set the mail server in my FormMailServet to what is passed in. I pass in mail.Client1Domain.com and inside my class I do the following: properties.put( "mail.smtp.host", "mail.Client1Domain.com"); properties.put( "smtp-host", "mail.Client1Domain.com"); // Not needed as far as I know I also turn verbose on so I can see what is happening. It always uses mail.mydomain.com! If I comment out the mail-session entries from my global application xml then it works fine as long as I pass in the value and explicitly set the mail.smtp.host as above. In other words, it seems to ignore the mail-session in the Clientxxx-application.xml files as I pointed the smtp-host entry in one of the application.xml files to an existing server, but a different one. When I explicitly set the entries it uses the entries I set, not the mail-session entries. Seems to only use the mail-session entries only if in the global application xml file and no where else. When in the global application xml file, it seems you can only use that one even if I explicitly set it to a different one. What gives? Sorry for the long email, but I wanted to be sure to give all the data. Dale Bronk Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Re: Performance for static files
That may be true as I was including the time to server the file all the way to the point of the "little e" stopped spinning. Have you had the following problems with framesets... In Apache/IIS with JRun 2.3.3 the frameset and each individual jsp/html files popup quickly. In Orion, one frame will be visible and then do the wait for 10-15 seconds, then the next frame and wait, then the next. It doesn't seem to matter if I use only static html or jsp... The "problem" exists on both. Dale - Original Message - From: "Kevin Duffey" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 1:57 PM Subject: RE: Performance for static files Hi, Two things. One..your correct about the browser keeps on going. I have the same "problem" on my site. Its strange, but the little E keeps spinning on the browser for many seconds after the page is displayed, and I am not sure why. This might be a bug with Orion..maybe it's not closing a connection or something? On the other hand, I have seen much faster results with html AND jsp pages with Orion over IIS and Apache. -Original Message- From: Dale Bronk [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07, 2000 5:15 AM To: Orion-Interest Subject: Re: Performance for static files Right now until I am proved otherwise, I disagree. I posted a message a day or so ago and have no reply yet. Now I do believe that it is probably some setting I have (although I am using the default settings from Orion), but my web pages are not served very fast at all. I am on a PIII 256M using Windows Server 2000 and tested the same static pages with Apache and IIS and they really popup quickly. With Orion, the pages seem to completely display but the browser keeps going for up to 10-15 seconds before it stops. I am not saying I disagree with the benchmarks, what I am saying is I agree with them with the correct set of configurations as I have used the same static pages on the same machine with Apache, IIS, and Orion. I did not use any benchmarking tools other than my eye but it was very obvious (clearing browser cache between each request) that as soon as the pages "appeared" to be fully display (very small graphics, if any) using Apache and IIS, the browser (both IE and NS) stopped. With Orion, the browsers just kept going (not sure doing what) for another 10-15 seconds. Like I said, I am sure it is some configuration but I wish someone would tell me what the setting is. I also tried browsing from several different machines to make sure that it was not simply my browser. Dale - Original Message - From: [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 3:51 AM Subject: SV: Performance for static files Look at the benchmark page... Against Apache and IIS its got no problems at all beating them into the bushes. The url is enclosed, have fun... Klaus Myrseth -Opprinnelig melding- Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]] Sendt: 7. september 2000 08:40 Til: Orion-Interest Emne: Performance for static files We have a webbased client/server application which in addition to its dynamic elements has to serve a huge amount of small files (HTML, GIF, JS). I understand that Orionserver's performance for J2EE based applications is pretty good. How about serving static files from the file system? Can it compete with high performance servers like AOL Server, Stronghold Apache or others in this area? Thanks, Christof
Re: Performance for static files
The problem is I am seeing the same thing on my JSP's. Especially on pages with framesets. In Apache/IIS with JRun 2.3.3 the frameset and each individual jsp/html files popup quickly. In Orion, one frame will be visible and then do the wait for 10-15 seconds, then the next frame and wait, then the next. - Original Message - From: "Juan Pablo Lorandi" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 12:36 PM Subject: RE: Performance for static files Perhaps a lil' off track, I'd like to point out that: you may configure Apache/IIS, or Orion, to work with each other. If you feel more comfortable with Apache serving static HTML, GIF JPEG files, you can have it working; also it could be useful to serve script based pages, say PHP, running in-process with Apache (instead of running as CGI with Orion). My 2c, JP -Original Message----- From: Dale Bronk [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07, 2000 9:15 AM To: Orion-Interest Subject: Re: Performance for static files Right now until I am proved otherwise, I disagree. I posted a message a day or so ago and have no reply yet. Now I do believe that it is probably some setting I have (although I am using the default settings from Orion), but my web pages are not served very fast at all. I am on a PIII 256M using Windows Server 2000 and tested the same static pages with Apache and IIS and they really popup quickly. With Orion, the pages seem to completely display but the browser keeps going for up to 10-15 seconds before it stops. I am not saying I disagree with the benchmarks, what I am saying is I agree with them with the correct set of configurations as I have used the same static pages on the same machine with Apache, IIS, and Orion. I did not use any benchmarking tools other than my eye but it was very obvious (clearing browser cache between each request) that as soon as the pages "appeared" to be fully display (very small graphics, if any) using Apache and IIS, the browser (both IE and NS) stopped. With Orion, the browsers just kept going (not sure doing what) for another 10-15 seconds. Like I said, I am sure it is some configuration but I wish someone would tell me what the setting is. I also tried browsing from several different machines to make sure that it was not simply my browser. Dale - Original Message - From: [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 3:51 AM Subject: SV: Performance for static files Look at the benchmark page... Against Apache and IIS its got no problems at all beating them into the bushes. The url is enclosed, have fun... Klaus Myrseth -Opprinnelig melding- Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]] Sendt: 7. september 2000 08:40 Til: Orion-Interest Emne: Performance for static files We have a webbased client/server application which in addition to its dynamic elements has to serve a huge amount of small files (HTML, GIF, JS). I understand that Orionserver's performance for J2EE based applications is pretty good. How about serving static files from the file system? Can it compete with high performance servers like AOL Server, Stronghold Apache or others in this area? Thanks, Christof
WebServer very slow
I have a mixture of static pages and JSP's and this happens with both, even on pages that have very small or no graphics at all... I can browse to one of my pages (say contact.html) and the complete page displays fine, but the browser (both IE and NS) is still working. I can see the browser still working for up to about 10 seconds even after the entire page has displayed... Again, very small or no graphics so I don't know what it would be trying to do. Also, I have one page that has a frame set and if I browse to each html page individually it comes up decently fast (with the above happening). But when I browse to the page with the frameset, it is unreasonably slow. Any ideas? Dale
Second post, please help.
Sorry to post this again, but I really need an answer. I have a problem that I hope isn't not normal behavior and something I have configured incorrectly. Snip of my sever.xml: global-application name="MyDomain" path="c:\webapps\mydomain-web-app\config\mydomain-application.xml" /--application name="Client1Domain" path="c:\webapps\Client1Domain-web-app\config\Client1Domain-application.xml" /application name="Client2Domain" path="c:\webapps\Client2Domain-web-app\config\Client2Domain-application.xml" /application name="Client3Domain" path="c:\webapps\Client3Domain-web-app\config\Client3Domain-application.xml" /application name="Client4Domain" path="c:\webapps\Client4Domain-web-app\config\Client4Domain-application.xml" /application name="Client5Domain" path="c:\webapps\Client5Domain-web-app\config\Client5Domain-application.xml" / In mydomain-application.xml, I have: (note that this is my global application) mail-session location="mail/MailSession" smtp-host="mail.mydomain.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session Now I want to also place the same mail session entries in each of my clients application.xml files except specifying their domain: mail-session location="mail/MailSession" smtp-host="mail.Client1Domain.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session I have a FormMailServlet that I install on all my clients web.xml files which uses mail.jar classes send the email. My problem is it doesn't matter which one I go to, Orion always uses my mail-session entries from the global application. It doesn't seem to get over written for each other application. I also tried to explicitly set the mail server in my FormMailServet to what is passed in. I pass in mail.Client1Domain.com and inside my class I do the following: properties.put( "mail.smtp.host", "mail.Client1Domain.com"); properties.put( "smtp-host", "mail.Client1Domain.com"); // Not needed as far as I know I also turn verbose on so I can see what is happening. It always uses mail.mydomain.com! If I comment out the mail-session entries from my global application xml then it works fine as long as I pass in the value and explicitly set the mail.smtp.host as above. In other words, it seems to ignore the mail-session in the Clientxxx-application.xml files as I pointed the smtp-host entry in one of the application.xml files to an existing server, but a different one. When I explicitly set the entries it uses the entries I set, not the mail-session entries. Seems to only use the mail-session entries only if in the global application xml file and no where else. When in the global application xml file, it seems you can only use that one even if I explicitly set it to a different one. What gives? Sorry for the long email, but I wanted to be sure to give all the data. Dale Bronk
Karl, any update on SSL docs?
Karl, Are you making progress on getting detailed docs for getting both 40-bit and 128-bit production certs from both Thawte and Verisign (preferrably Thawte since they are much less expensive)? Any idea when we should expect them? Dale Bronk
Re: Obtaining an SSL Certificate
Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale - Original Message - From: Mike Fontenot [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Monday, August 28, 2000 11:15 AM Subject: Obtaining an SSL Certificate Orion users, I wanted to let you know that I have obtained a production SSL certificate from Verisign and installed this into a production Orion application server running on Solaris. Maybe this is not big news to everyone but for me it is significant. After much development time with the Thawte Developer 'Test SSL Chained CA Cert', I found out that Thawte no longer sells this type of certificate. Also, after trying unsuccessfully to use one of their other certificates, they sent me to Verisign. The Verisign process is a bit murkier than the Thawte process, but no less byzantine. Aside from the mounds of paperwork you must produce to 'prove' you are who you say you are, the choices you are able to select when obtaining the cert are few, in fact there is only one choice. When asked what kind of server software/who manufactures my server software, the choice I made was 'JavaSoft'. That was it, after days of paperwork shuffling I was emailed a cert. I installed this into my keystore, and then into an Orion SSL website. It works. Steps to obtain a cert. 1. Using the Java 1.3 JDK on Windows, I followed the instructions for setting up a secure site using SSL as found on the Orion website and the OrionSupport. Fill out ALL of the fields when creating your original keystore. Example (I'm in the US): user firstname lastname: make this your website name - www.yoursite.com Organization: your company name - Acme Organizational Unit: your companies domain name - acme.com City/Locality: your city: AcmeVille State: your state, capitalize this - Colorado Country: the 2 letter code for country - US 2. Create a Certificate Signing Request - again, following the instructions on both Orion Orionsupport, the CSR is created. You will need this when filling out the Verisign website information. If there is anything funky in your CSR, Verisign will notify you right there and you will not be able to proceed until you fix whatever the error is. 3. Begin the paperwork process with Verisign. Their site details what is required so I won't repeat it here. Be advised that if you are in a hurry..., sit back, take a deep breath (maybe a glass of scotch), and chill out. They don't care. Nothing moves on their end until you produce ALL of the required paperwork. Now, you can help speed things a bit but quickly faxing everything they ask for, then following up with a phone call to customer support. 4. Magically, you will get an email from Verisign with a cert attached. Copy this to a file and import this into your keystore as described in Orion/Orionsupport. 5. Install your keystore into a SSL website. You should be good to go now. Now I would like to say this is a happy ending, and for the most part it is. However, I still cannot use Orion in production with SSL because of a weird problem when accessing the ORion SSL website using Netscape. Doing this causes the Orion JVM to go to 100% CPU utilization and the application crawls. It does not happen right away, but as soon as I do my first POST on a page after transferring into SSL from non-SSL, the cpu goes to 100% and stays there. I experience this on my development system, WindowsNT 4 (SP6). I have notified the Orion team about this and hopefully they are working on a solution. If anyone else has seen this and figured out a workaround, we'd love to hear from you. Regards, Mike Mike Fontenot - Object Systems Architect BrandMatrix, Ltd. Golden, Colorado
global application and mail
I have a problem that I hope isn't not normal behavior and something I have configured incorrectly. Snip of my sever.xml: global-application name="MyDomain" path="c:\webapps\mydomain-web-app\config\mydomain-application.xml" /--application name="Client1Domain" path="c:\webapps\Client1Domain-web-app\config\Client1Domain-application.xml" /application name="Client2Domain" path="c:\webapps\Client2Domain-web-app\config\Client2Domain-application.xml" /application name="Client3Domain" path="c:\webapps\Client3Domain-web-app\config\Client3Domain-application.xml" /application name="Client4Domain" path="c:\webapps\Client4Domain-web-app\config\Client4Domain-application.xml" /application name="Client5Domain" path="c:\webapps\Client5Domain-web-app\config\Client5Domain-application.xml" / In mydomain-application.xml, I have: (note that this is my global application) mail-session location="mail/MailSession" smtp-host="mail.mydomain.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session Now I want to also place the same mail session entries in each of my clients application.xml files except specifying their domain: mail-session location="mail/MailSession" smtp-host="mail.Client1Domain.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session I have a FormMailServlet that I install on all my clients web.xml files which uses mail.jar classes send the email. My problem is it doesn't matter which one I go to, Orion always uses my mail-session entries from the global application. It doesn't seem to get over written for each other application. I also tried to explicitly set the mail server in my FormMailServet to what is passed in. I pass in mail.Client1Domain.com and inside my class I do the following: properties.put( "mail.smtp.host", "mail.Client1Domain.com"); properties.put( "smtp-host", "mail.Client1Domain.com"); // Not needed as far as I know I also turn verbose on so I can see what is happening. It always uses mail.mydomain.com! If I comment out the mail-session entries from my global application xml then it works fine as long as I pass in the value and explicitly set the mail.smtp.host as above. In other words, it seems to ignore the mail-session in the Clientxxx-application.xml files as I pointed the smtp-host entry in one of the application.xml files to an existing server, but a different one. When I explicitly set the entries it uses the entries I set, not the mail-session entries. Seems to only use the mail-session entries only if in the global application xml file and no where else. When in the global application xml file, it seems you can only use that one even if I explicitly set it to a different one. What gives? Sorry for the long email, but I wanted to be sure to give all the data. Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.comMobile: 404-918-2766Office: 770-754-0498
Re: Help - SSL Usage in Production - is it really possbile?
Any idea on when this may be available to us? - Original Message - From: "Karl Avedal" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, August 23, 2000 1:37 PM Subject: Re: Help - SSL Usage in Production - is it really possbile? Hello Mike, We're currently making sure that Thawte will have an Orion option for the purchase to make it easier to get a cert (and we'll work with Verisign too). We are also creating a guide to show how you can get a 128 bit or 40 bit production license. Regards, Karl Avedal Mike Clark wrote: Unfortunately, that cert is no longer available from Thawte. We're still out of business with Orion using a production SSL certificate. What gives? Mike Mattias Arbin wrote: I have Orion running with a "real" 40-bit cert from Thawte. I guess it does not matter which web-server you say you have. Probably it is for statistics. (I chose Java Webserver). You will be able to choose from a number of different formats when you download the cert. Here I chose "PKCS #7 Certificate Chain". Make sure that you save it in a file that ends with a new line before importing it to the keystore. Good luck. /Mattias - Original Message - From: "Mike Fontenot" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, August 18, 2000 10:50 PM Subject: Help - SSL Usage in Production - is it really possbile? orion users, I've been using the test certificate from Thawte, as both the orion docs. and the OrionSupport suggested. That has been working fine. However, I am now ready to move to production with our e-commerce system and I have run into some major snags that leads me to think NO one is using Orion in a production SSL environment. After going through the Thawte process for getting a server cert, the 'pick your web server' does not list Orion. After talking with Thawte support they suggested picking 'Apache SSL' as a choice. Ok, that seems fine to me. However, they also said I would need to pick the certificate type: x509v3. Since I've been using the 'SSL Chained CA Cert' for development, I wanted to try this out with a development cert to be sure it would work. I tried this using a X509v3 development cert but it will not work. Again, after getting back in touch with Thawte support regarding X509v3 not working, I said I will need to just use the 'SSL Chained CA Cert'. They then informed me that they no longer sell this type of certificate, and that I must go to Verisign to obtain this type of certificate. Well, my first question to Thawte was 'If you dont sell this type of certificate, why is it available on your developers cert pages?' Answer from Thawte: 'Yeah, I've been meaning to talk to our developers to take that off the website.'. Guess how much hair I've lost so far!? Now I am in the 'process' of getting a certificate from Verisign. Of course they do not have 'Orion Server' listed in their pick list of valid webservers. Since I just started this process today I really dont know if they can/cannot support the type of SSL certificate I will need to work with Orion. I'll be the first to admit I'm not real familiar with the Java 1.3 keytool, and different certificate meanings. But, if anyone has really obtained a valid production level SSL certificate, from any Certificate Authority, and successfully integrated this with Orion, please let me/us know how this was accomplished. The only docs I've see are related to development certs, and as I stated earlier, I've got this working fine. I now need to graduate to real e-commerce transactions. Please dont make me go back to Apache/JRun, I feel Orion is so much better but this is a real show-stopper. I have looked through the orion mail archives and it seems all discussions are related to trying to get the developer certs to work, not production certs. Thanks in advance, Mike Mike Fontenot - Object Systems Architect BrandMatrix, Ltd. Golden, Colorado -- // // // Mike Clark // // Clarkware Consulting // Enterprise Java Architecture, Design, Development // // http://www.clarkware.com // [EMAIL PROTECTED] // +1.720.851.2014 //
Re: Orion and IIS
I would love to toss IIS to the dogs, but my smtp server's web admin is via ASP. That is the only reason I am running IIS. I am running it on a different than port than 80. The reason that I want to setup IIS to forward all requests to Orion is so I can setup SSL on IIS and have it forward all https requests to Orion. IIS has a very nice wizard to setupSSL and all the CA's have instructions for IIS and not Orion. I would really like to not do this, but since Orion doesn't seem to answer any of the SSL questions/post to either orion-interest or [EMAIL PROTECTED] I am left with no other choice. I have SSL working with a test cert, but I have the same problems as many others on this list with a prod cert. I don't want to really run Apache for this as then I would be running 2 different web servers. So if anyone knows how to do any of the following, I would love some assistance: 1. Setup SSL prod cert (preferreably from Thawte) with Orion... Doesn't even look like Orion themselves have done this! 2. No of any servlet that will run ASP. 3. No how to make IIS forward/pipe all requests to Orion. Thanks, Dale - Original Message - From: J.T. Wenting To: Orion-Interest Sent: Monday, August 21, 2000 2:13 AM Subject: RE: Orion and IIS maybe he wants to run ASP or ISAPI? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin DuffeySent: Sunday, August 20, 2000 23:28To: Orion-InterestSubject: RE: Orion and IIS Why would you want to? Orion has a much faster web server built in. Use that instead..and toss IIS to the dogs. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dale BronkSent: Saturday, August 19, 2000 4:55 PMTo: Orion-InterestSubject: Orion and IIS Anyone know how to set IIS to forward all requests to Orion? Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.comMobile: 404-918-2766Office: 770-754-0498
Re: Help - SSL Usage in Production - is it really possbile?
I have ssl working on a test certificate from Thawte and await an answer also. I also am curious if anyone has a production certificate from any CA. I have two other questions about OrionServer and SSL: 1. Does orionserver support 128bit "supercert" from Thawte? 2. Since I don't see secure on-line ordering of OrionServer on the orionserver.com site, should this lead me to believe that Orion themselves can't get a production ssl certificate to work? I would expect that Orion would be contacting both Thawte and Verisign about placing themselves on the list of servers to choose from. At least I would if I was trying to sell an application server. Dale - Original Message - From: Robert Krueger [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Saturday, August 19, 2000 7:46 AM Subject: Re: Help - SSL Usage in Production - is it really possbile? mike, have you contacted [EMAIL PROTECTED] about this? they should care very much if one of their (or the ?) first customers to use orion with ssl in production has that many difficulties. your problems may indicate that ssl support only has proof-of-concept but not production quality which is something they should (and probably will) really get out of the way quickly. one thing you could do as a temporary workaround is use apache with mod_proxy and mod_ssl as an ssl-proxy. of course that only works if you don't need to access certificate information in your app. but if you just need to make sure parts of your app are protected by ssl this should work (with a performance hit of course). robert (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Re: Netscape 4.7: Connection reset by peer
I have received this error also. I have not narrowed it down to Netscape 4.7. I simply see about every couple of days this exception popping up on my server console. I have sent this to support and this mailing list before and have not received an answer. I have received replies stating they see the same thing. - Original Message - From: Thomas Kwan [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Sunday, August 13, 2000 12:01 AM Subject: Netscape 4.7: Connection reset by peer Have anyone seen Connection reset by peer doing a POST operation using Netscape 4.7? I got the error randomly.
SSL on port 443... Anyone?
Has anyone got SSL working on port 443? I can get it to work on ports other than 80 (of course) and 443 (the default for SSL). When I specify port="443" (or remove port attribute) with secure="true" (along with other cert tags) I get an "Address already in use: Bind" error at Orion startup. Can anyone give me a suggestion as to what I am doing incorrectly? The fact that it works fine on another port tells me that I must have done at least most of the setup correctly. I can browse: https://secure.myhost.com:439 (assuming I set the SSL port to 439) just fine. Thanks, Dale
Any luck with virtual-hosts?
Anyone had any luck setting up virtual hosts? I have multiple domains pointing to the same IP, but I want them each to go to their own home page. I have set up individual web-site.xml files and changed the host="my.domain.com" and host="my.other.domain.com" and all I get is an error at startup saying address already in use. I assume because each host points to the same ip. Dale
Re: Mapping
Thanks, The one that did the trick was: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/ShopHere/url-pattern /servlet-mapping Dale - Original Message - From: Kevin Duffey [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, July 28, 2000 4:35 PM Subject: RE: Mapping You would want something like: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/ShopHere//url-pattern /servlet-mapping If that doesn't work..try: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/ShopHere/*/url-pattern /servlet-mapping I don't recall which one works. Then, anytime a /ShopHere is in the request URI, it goes to that servlet. Keep in mind, if you access a page like: http://xxx.xxx.xxx.xxx/ShopHere/somepage.jsp The sompage.jsp is NOT invoked, its passed to the MyServlet servlet as part of the request. So ANY URL you type in that has /ShopHere in it will go to that servlet. It will be up to that servlet to forward or redirect to the right page after that point. I place the following in my web.xml: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern*.shop/url-pattern /servlet-mapping Browsing to my.host.com/whatever.shop works fine (MyServlet is invoked). This is really what I want, but it does not work (I get a 404): servlet-mapping servlet-nameMyServlet/servlet-name url-patternShopHere/url-pattern /servlet-mapping This does not work either: servlet-mapping servlet-nameMyServlet/servlet-name url-patternShopHere.shop/url-pattern /servlet-mapping I want to be able to browse to my.host.com/ShopHere and have that invoke MyServlet. I can except my.host.com/ShopHere.shop, but do not want everything with *.shop to go to this servlet. I know I can make the servlet root directory from /servlet/ to / and it should work fine with out the mappings, but I want to keep the default /servlet/. Can this be done? Dale
Mapping
I place the following in my web.xml: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern*.shop/url-pattern /servlet-mapping Browsing to my.host.com/whatever.shop works fine (MyServlet is invoked). This is really what I want, but it does not work (I get a 404): servlet-mapping servlet-nameMyServlet/servlet-name url-patternShopHere/url-pattern /servlet-mapping This does not work either: servlet-mapping servlet-nameMyServlet/servlet-name url-patternShopHere.shop/url-pattern /servlet-mapping I want to be able to browse to my.host.com/ShopHere and have that invoke MyServlet. I can except my.host.com/ShopHere.shop, but do not want everything with *.shop to go to this servlet. I know I can make the servlet root directory from /servlet/ to / and it should work fine with out the mappings, but I want to keep the default /servlet/. Can this be done? Dale
Re: SSL again
Port 443? Orion web-site.xml docs state: "port - The port of this site, the default is 80 for regular sites and 439 for secure (SSL) sites." I tried port 443 like you suggested and also tried taking the port attribute out again like the docs say to do. Got the following error restarting Orion: Error starting HttpServer: Unable to intialize SSLServerSocketFactory 'com.evermind.ssl.JSSESSLServerSocketFactory': Address in use: bind Orion/1.0.3 initialized Anybody have any suggestions? Dale - Original Message - From: Brian Beaulieu [EMAIL PROTECTED] To: Dale Bronk [EMAIL PROTECTED] Cc: Orion-Interest [EMAIL PROTECTED] Sent: Sunday, July 23, 2000 10:40 PM Subject: Re: SSL again The SSL port is 443. By default, all browsers will go to port 443 if you specify https:// Regards, Brian Dale Bronk wrote: I followed the directions on the how-to and got an error getting the test certificate from Thawte. I must have done something wrong as after going through the keytool steps again, I successfully got a certificate from Thawte. I then ran the final keytool command as in the instructions. I then followed the instructions and did the following: 1. Copied a web-site.xml file (I didn't use the default, I copied the one I am needing ssl for). 2. Edited this file by removing the port=80 attribute, added secure="true", and placed ssl-config keystore="path/to/my/keystore" keystore-password="my-password" / 3. I then edited my server.xml and added the the site with web-site path="../../../secure-web-site.xml" / I then got an error from Orion stating that address was already in use. I see that both "my-original-web-site.xml" and "secure-web-site.xml" both have the same host="My-IP" entry so I can see how that would happen. I then added port="439" to my secure-web-site.xml file and restarted Orion. Orion did not give an error and said initialized (That is the only output I received, I thought I should see something about deploying my new site or something but I didn't). No errors so I though great, it worked! It didn't. I then browsed to http://my.host.com and everything was normal. I tried the following and am kind of confused: 1. I browsed to https://my.host.com and got and cannot find server or DNS error. 2. I browsed to http://my.host.com:439 and got 5 little boxes (I assume some sort of control characters) 3. I browsed to https://my.host.com:439 and it seems to work just fine. I assume it works because IE gives my the little padlock icon in the status line. Any help would be appreciated. I am confused why I have to type both https and :439 to browse to the page. Dale Bronk [EMAIL PROTECTED] Windscape Consulting, Inc. http://www.windscape.com
SSL again
I followed the directions on the how-to and got an error getting the test certificate from Thawte. I must have done something wrong as after going through the keytool steps again, I successfully got a certificate from Thawte. I then ran the final keytool command as in the instructions. I then followed the instructions and did the following: 1. Copied a web-site.xml file (I didn't use the default, I copied the one I am needing ssl for). 2. Edited this file by removing the port=80 attribute, added secure="true", and placed ssl-config keystore="path/to/my/keystore" keystore-password="my-password" / 3. I then edited my server.xml and added the the site with web-site path="../../../secure-web-site.xml" / I then got an error from Orion stating that address was already in use. I see that both "my-original-web-site.xml" and "secure-web-site.xml" both have the same host="My-IP" entry so I can see how that would happen. I then added port="439" to my secure-web-site.xml file and restarted Orion. Orion did not give an error and said initialized (That is the only output I received, I thought I should see something about deploying my new site or something but I didn't). No errors so I though great, it worked! It didn't. I then browsed to http://my.host.comand everything was normal. I tried the following and am kind of confused: 1. Ibrowsed to https://my.host.com and got and cannot find server or DNS error. 2. I browsed to http://my.host.com:439 and got 5 little boxes (I assume some sort of control characters) 3. I browsed to https://my.host.com:439and it seems to work just fine. I assume it works because IE gives my the little padlock icon in the status line. Any help would be appreciated. I am confused why I have to type both https and :439 to browse to the page. Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Web Stats
Can I use WebTrends or any other standard package for web traffic analysis with Orion? If so, how to I turn on full logging of data needed by these applications? Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
XML / XSL
I looked at the sample xml / xsl pages that come with Orion. They work fine, but what I can't seem to figure out is how. I see that if I browse to doc.xml in the samples then it specifies doc.xsl. I also see the if I browse to doc.jsp, then that is simply a xml file built via jsp and instructs to use doc.xsl. In which config xml file is this behavior specified? I do not see any mapping for /*.xml and the mapping for /*.jsp goes to the jsp servlet. How does it know what to do with *.xml files and what to do if an *.jsp produces xml? Thanks, Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Re: urgent: error accessing jar file
I have had the same problem working with property files in Tomcat and Orion. My work around was to create a properties directory somewhere at a root level to all apps. I then place all property files for all my apps in this directory and hard code this directory into my classpath. Seems to work, not sure why Orion or Tomcat (or others???) can't seem to pick them up without hardcoding the classpath. Also, my experience shows that it only happens when using ResourceBundle to load properties. Dale - Original Message - From: Christian Sell [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, June 15, 2000 4:39 AM Subject: Re: urgent: error accessing jar file Meanwhile, I found a workaround: unpack the .properties file into the /WEB-INF/classes directory. Looks like a bug to me. -Original Message- From: Christian Sell [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Donnerstag, 15. Juni 2000 07:10 Subject: urgent: error accessing jar file Hello, Q1: I have a JSP tag library which uses the ECS library from apache. Both my tag library and ECS reside as *.jar files in /WEB-INF/lib. When my test page is loaded, the initialization code of ECS reads a property file from the jar with the following statement: static { try resource = ResourceBundle.getBundle("org.apache.ecs.ecs"); } catch(Exception e) { System.err.println("Cannot find org.apache.ecs.ecs.properties."); } } Even though the file org.apache.ecs.ecs.properties is in the jar file, the error message is printed out, the resource variable is not set, and I get a NullPointerException later on. I have this very same configuration running under Tomcat. However, I have seen previous versions of Tomcat having problems accessing implicitly (through placement in /WEB-INF/lib) mapped jar files via getClassForName() and getResource(). Could it be that Orion has a similar problem? If not, why is ECS unable to read the properties file from its own jar under Orion? Q2: Do I get any further docs when I buy the product? If not, when is the documentation going to be improved? thanks, Christian Sell
Active Server Pages
My smtp server uses Active Server Pages for its remote management. I really don't want to have to have IIS running only for this as Orion seems to be fine. Does anyone know of any plugin/servlet/etc that can be used with Orion that will run basic ASP's? Dale Bronk
1.0 admin.jar shutdown
I am using NT 40 workstation and Windows 2000 Server with Orion 1.0 final release. It doesn't look like you solved your shutdown problems yet. I installed Orion and first ran java -jar orion.jar -install After entering my pw for admin I ran: java -jar orion.jar I then opened another command console and did the following: java -jar admin.jar ormi://localhost admin admin -shutdown Error: com.evermind.reflect.UndeclaredExceptionTypeException: java.lang.ClassNotFoundException ava -jar admin.jar ormi://localhost:80 admin admin -shutdown Error: javax.naming.NamingException: Lookup error: java.io.StreamCorruptedException: Caught EOFException while reading the stream header; nested exception is: java.io.StreamCorruptedException: Caught EOFException while reading the stream header What am I doing wrong? I want to be able to shutdown nicely without using ctl+c Dale
Re: Is CMP is useless?
Thanks for your reply. I did try, in my post, to let it be known that my experiece was with Jonas and I didn't like Jonas but I guess I didn't get that across. I did realize that I may be spouting off because of a bad implementation of a container. But... 1. I have heard the same thing from consultants at WebLogic about entity's and how they don't use them much (note I spoke with them about earlier versions of WebLogic and have not spoke with them since ejb 1.1 has come out or WebLogics current version). 2. How do you handle joins for lookups without creating a bunch of views? 3. Even though Jonas implementation may not be very good, there docs are much better and their demos come working with correct instructions to use them! Dale - Original Message - From: Robert Hargreaves [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 06, 2000 5:50 AM Subject: RE: Is CMP is useless? Dale, I think your opinion on entity beans may be clouded by your use of Jonas 1.6. We used Jonas in our project up until about 3 months ago. The entity bean performance in jonas is absoulutely terrible - their development team admitted to it , something to do with RMI calls. The only way round it at that time was to do what you're doing and write a load of SQL code in session beans for handling collection stuff. This would be when iterating over CMP collections would be too slow. In the end we had two lots of code, one slow that used entity bean calls( that we kept but didn't use) and one lot fast that used SQL calls. Then someone mentioned Orion on the Jonas Mailing list, and that the entity bean performance was a lot better than Jonas. We tried Orion and got it working (eventually) and were blown away by its performance. In most cases the entity bean collection code in Orion would be FASTER than the SQL session code in Jonas. Fortunately we kept all the CMP code and we try to steer clear of SQL statements in any type of EJB - as someone mentioned earlier its not as portable, but also the java compiler or Orion deployment tool will always catch table/column name errors and type errors where as hardcoded SQL won't. Just my 10 euros. Regards Rob Hargreaves -Original Message- From: Dale Bronk [mailto:[EMAIL PROTECTED]] Sent: 05 April 2000 14:54 To: Orion-Interest Subject: Re: Is CMP is useless? I do not claim to be an expert in any way, these are just my opinions from my experience. My experience so far is with Apache, JRun, and Jonas 1.6 as the container. I have not had time yet to get into Orion, but plan to soon. The reason I haven't got into Orion yet is I don't have time to jump in and battle with it with no real documentation. I do not like Jonas either. It was chosen by my client because they are really into the free open source stuff. Let me know if you think I am way off base as would loved to get other opinions and maybe learn something new. Dale
Re: Is CMP is useless?
You need to weigh your points against portability and efficiency. If you use ANSI SQL, portability should not be a problem. On the other hand, if you want to CMP, your simple example will take at least 3 sql calls. - Original Message - From: Alex Paransky [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, April 04, 2000 12:10 PM Subject: RE: Is CMP is useless? But using stateless session beans to execute SQL means you have to embed the SQL commands in to your code. This breaks the model that CMP is trying to achieve. If someone is to move your bean in to a different environment they might not be able to alter the code to make changes to the SQL. Suppose that someone is trying to adapt your Employee bean to be used in their enterprise system. They follow the CMP procedure with their EJB server to map Employee attributes to columns in their own table. However, they are not able to do the same with the session bean which has SQL in it. I suppose that the bean's environment can be used to hold the specific SQL, with parameter replacements, however, this seems out of place with the CMP model. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Galina Sokolova Sent: Tuesday, April 04, 2000 8:40 AM To: Orion-Interest Subject: RE: Is CMP is useless? From my experience stateless session bean is a better choice for complex lookups, especially if they return enumeration of objects. [EMAIL PROTECTED] (Josh Sanderson)@itglink.com on 04/04/2000 10:49:17 AM To: Orion-Interest [EMAIL PROTECTED] cc: Subject: RE: Is CMP is useless? I don't knowI never thought Employees and sex mixed that well anyways -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Monday, April 03, 2000 9:04 PM To: Orion-Interest Subject: Is CMP is useless? Is it my imagination, but the minute any kind of complex finding is required on an entity bean, CMP becomes useless. For example, I have entities called EMPLOYEE, PERSON, and SEX (M/F/Other you know). EMPLOYEE is a PERSON with SEX. I have a function in EmployeeHome, findFemaleEmployees(). How do I implement this with CMP? The query has to do something like: SELECT EMPLOYEE_ID FROM EMPLOYEE, PERSON, SEX WHERE SEX.TYPE="F" AND EMPLOYEE.ID=PERSON.ID AND PERSON.SEX_ID = SEX.ID Please note that SEX.ID is not the same as SEX.TYPE. Can this be done with CMP or do I need to use BMP? If the answer is use BMP (and this is such a TRIVIAL) example, that it seems CMP is pretty much useless. -AP_
Alias
In Apache, I can set an alias so that when I browse to http://www.my_domain.com/MyAlias what actually runs is http://www.my_domain.com/servlet/MyServlet. How do I do this with Orion? Not a big deal, but it does look cleaner for the application to run with an alias rather than letting the world know the technology behind the application. Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Re: Perl CGI
Thanks Andre... I know that this may not be the place to ask this, but here it goes. My legacy cgi scripts work great currently in production using Netscape Web Server. I ported all cgi scripts locally to Apache and JRun under Red Hat 6.2 and they work great. Now I want to use Orion so I shut down Apache and JRun and installed Orion on the same Red Hat 6.2 machine and my cgi scripts now do not work. Unfortunately, I have inherited these scripts and am a Java guy, not a Perl guy. I get the following error: Cannot locate ./Library/auth-lib.pl in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) The scripts will work if I look for /fully-qualified-path-to-my-scripts/Library/auth-lib.pl Like I said, this may not be the place to ask, but since I ported on the same machine using Apache and JRun and it worked fine and now it doesn't under Orion I thought I would through it out there. My pertenent directory structure looks like this: orion orion/my-web-app orion/my-web-app/cgi-bin/ {base cgi scripts here} orion/my-web-app/cgi/bin/my-scripts/ {my specific scripts here} orion/my-web-app/cgi/bin/my-scripts/Library/ {my auth-lib.pl} Thanks for any help I may get. Dale - Original Message - From: Andre Vanha To: Orion-Interest Sent: Friday, March 17, 2000 3:14 PM Subject: RE: Perl CGI The global-web-application file in orion/config contains a mapping so that any *.pl file is executed through Orion's CGI servlet (which in turn invokes perl). All you need to do is make sure the perl executable is in your path. Hope this helps, Andre V. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dale BronkSent: Tuesday, March 14, 2000 7:01 PMTo: Orion-InterestSubject: Perl CGI Can someone give me some help on settings to allow my web-app to do Perl cgi? I have some legacy scripts that I need to use and can't seem to find anything in the documentation. On that note, any news on when we will have real documentation as far as a full user manual with getting started (hand holding) sections through advanced topics like clustering, jsm, etc? Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
1.0 version
My current client has a thing about not using any open source software or any non-production level software (can't really blame them). It does seem like Orion 0.9.4 is very stable, but they still will not use it until it is a 1.0 commercially ready software. What is the latest deployment schedule? Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Perl CGI
Can someone give me some help on settings to allow my web-app to do Perl cgi? I have some legacy scripts that I need to use and can't seem to find anything in the documentation. On that note, any news on when we will have real documentation as far as a full user manual with getting started (hand holding) sections through advanced topics like clustering, jsm, etc? Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com