Re: Setting up a new web-application

2001-05-30 Thread Daniel López
Hi Kevin, I'm using Xalan 2 in my framework and I've had the same problem with pretty much all the containers that I've tried playing with. With Orion, substituting xalan.jar and xerces.jar in the orion directory did the trick for me in 1.4.*. I think I remember I had to do something similar

Re: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Lachezar Dobrev
Hya... Got a reply for you :). I use Apache as a front-end server. I use Orion to store my EJBs, and I use Jakarta-Tomcat to deploy servlets and JSPs. Just put the Tomcat and Orion on one and the same machine, start tomcat with a classpath, that includes the jars of the Orion server. Put

RE: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Randahl Fink Isaksen
Hi Juan I get your point about multiple inheritance, but say the web server would like all JSP pages to extend from class WebServerXYZPage, then one could just create a class which extends this web server class so that The JSP page EXTENDS MyClass which EXTENDS WebServerXYZPage This way, the

RE: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Randahl Fink Isaksen
Hi Marcel I looked it up, and I definately see your point about the filter mechanism. Have you any experience with this on Orion? Does it work well? And what have you used it for? Of course if anyone else have tried it out, I would very much like to hear from you too. Yours Randahl

SV: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Patrik Andersson
Just for the sake of asking, why do you have tomcat serving jsp/servlets and orion serving ejbs if they're both running on the same machine? For me, that sounds like asking for extra maintenance trouble. And another thing, from having one "single point of failure" you now have 3. If

RE: Setting up a new web-application

2001-05-30 Thread Marcel Schutte
Just to let you know: I've reported this as a (small) bug and it has already been fixed. The default value for servlet-webdir is /servlet in all of the documentation, global-web-application and all generated orion-web.xml files. Marcel -Original Message- From: [EMAIL PROTECTED]

So, why use Orion?

2001-05-30 Thread Julian Richardson
Hi, I'm trying to collect together reasons for chosing Orion over other app servers - our company's been doing a lot of research into EJB technology over the last few months and currently the favoured choices seem to be JBoss and Weblogic. I can understand JBoss as a target environment - after

RE: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Marcel Schutte
Hi Randahl, I've used a filter to do gzip encoding for specific file types. Starting with the tutorial at http://www.orionserver.com/tutorials/filters/lesson5/, I've changed some things to get the hang of it and also to reduce the amount of buffering used. It works fine, haven't had a problem

RE: Tracing SQL

2001-05-30 Thread Koster, K.J.
Dear Josh, Thanks for the info. Kees Jan You are only young once, but you can stay immature all your life. -Original Message- From: Josh P. Motto [mailto:[EMAIL PROTECTED]] Sent: dinsdag 29 mei 2001 22:38 To:

RE: Tracing SQL

2001-05-30 Thread Koster, K.J.
Thanks, I've downloaded it and will try it later. Kees Jan You are only young once, but you can stay immature all your life. -Original Message- From: Marcel Schutte [mailto:[EMAIL PROTECTED]] Sent: woensdag 30 mei 2001

Re: [EJB/Servlet 1.5.1]Classpath driving me nuts...

2001-05-30 Thread Steffen Stundzig
Hi Ben, Ben Christensen [EMAIL PROTECTED] wrote: Just put your classpath in the /lib directory in Orions root. It works fine for directory structure in that directory and if you need to really specify something different or choose .jar files or something, edit application.xml in the config

Util taglibrary bug? util:sendMail

2001-05-30 Thread Harrie van Barneveld
I'm trying to use sendMail-tag from the Orion Utiltags library and I am having no success, anyone who has solved this problem? If I use the subject-attribute, like this: util:sendMail to=[EMAIL PROTECTED] subject=Enquete I get the compile-time error: Error parsing JSP page

My Orion does not want to run the jsp and the servlets

2001-05-30 Thread Hasan
Title: SV: ATM example -> deployment error -> PLEASE some HELP Hi, I have created a web application using JBuilder. I have followed the specification Orion made. I have tried to run the html files and they work fine. However, when I tried to run the jsps and servlets, Orion did not want

Re: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Lachezar Dobrev
Frankly? Apache is better connected to Tomcat... Faster, and there is no need for those... URL rewrites and so on... Also... I can have the users authenticated at the apache side. I get the username and security things from the apache directly. Quite handy you know... Orion is not so

Orion running out of memory ?

2001-05-30 Thread Tony Fonager
I have a test website project, running on Orionserver - after running for maybe 15-20 hours, it suddently stops working, with the message : Out of Memory - No Stack Trace Available Is there some setting, where I setup the amount of memory for the Orionserver ? I have monitored memory usage and

Re: My Orion does not want to run the jsp and the servlets

2001-05-30 Thread Johan Fredriksson
Title: SV: ATM example -> deployment error -> PLEASE some HELP Did you copy tools.jar to your orion directory? Johan - Original Message - From: Hasan To: Orion-Interest Sent: Wednesday, May 30, 2001 10:55 AM Subject: My Orion does not want to run the jsp and

Internal server error

2001-05-30 Thread Johan Fredriksson
I get this message every now and then... 500 Internal Server Errorjava.lang.NullPointerException at com.evermind[Orion/1.5.1 (build 10410)].server.http.JSPBeanInfo._djb(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)].server.http.JSPPage._bec(Unknown Source) at

RE: Orin cpu usage ???

2001-05-30 Thread Koster, K.J.
Doesn't anyone knows how to execute java -classic .. on a Linux box ?? Manually edit $JAVA_HOME/jre/lib/jvm.cfg (path may be different, but it's definedly jvm.cfg. Move -classic from the bottom of the file to the top. Kees Jan You are

Re: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Daniel López
Hi, I've also used filters, but in this case to filter requests by IP, as I don't want certain IP's to be able to access certain URLs. On the other hand, I implemented security, logging and other features inside my own servlet Controller, following a Model 2 approach. I thought about

Re: SV: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Daniel López
Hi Patrick, I agree with you, in our case we are using Apache as a proxy for other reasons. One reason is that the Apache SSL certificate that we have doesn't work with Orion (quite easy to fix) but the main reason is that we use several instances of Orion, one per set of related applications,

Re: My Orion does not want to run the jsp and the servlets

2001-05-30 Thread Jeff Hubbach
Hasan, Make sure that you copy tools.jar from your java-dir/lib directory into the orion directory. This enables JSP compilation. If your servlets aren't working, though, it sounds like a possible configuration issue. Jeff Hubbach. Hasan wrote: Hi,I have created a web application using

RE: Setting up a new web-application

2001-05-30 Thread Kevin Jones
I'm using Xalan 2 in my framework and I've had the same problem with pretty much all the containers that I've tried playing with. With Orion, substituting xalan.jar and xerces.jar in the Orion directory did the trick for me in 1.4.*. This is an ugly hack though :-) If another app using the

RE: Orion running out of memory ?

2001-05-30 Thread Alexander Jesse
Try (just for a test) to have some servlet/ejb,... run from time to time a System.gc(); We have seen in our servlet-environments that free-memory would shrink in continuation... calling gc() from time to time would free the memory again. Cannot really explain the whereabouts, but it might work

Re: Orion running out of memory ?

2001-05-30 Thread Robert S. Sfeir
Java? Memory leak? Um, not likely. Make sure you don't have some kind of infinite loop in your application. I did that once, and got the error after Orion grew to 512MB of RAM, used up all the swap space too, then orion tried to recover and it couldn't. If you ask me, I think it does a

Re: Writing System Properties - java.protocol.handler.pkgs

2001-05-30 Thread Markus Holmberg
On Tue, May 29, 2001 at 08:10:51PM -0600, Farrell, Sarah wrote: I'm having a serious problem that will keep us from shipping our application on Orion if I can't figure it out. I need to be able to set the system property java.protocol.handler.pkgs in an EJB to

RE: Writing System Properties - java.protocol.handler.pkgs

2001-05-30 Thread Farrell, Sarah
Markus, Thank you so much! Your answer combined with some of the stuff I've tried ended up being the whole solution. Here's the solution for those of you who may be having the same problems: - You have to run orion in secure mode. - You have to have a policy file to be able to run in secure

SV: SV: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Patrik Andersson
Title: SV: SV: proxying orion with IIS or iPlanet Web Server Ok, very interesting to hear ways to setup large applications. But in other words, the SSI script that shows the For maintenence reasons... message could also be used as some kind of fail over? Patrik -Ursprungligt

Re: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Joni Suominen
Hi! I have implemented these features as externalized filters. The reason for this was that I use a MVC 2 product which is developed independently (Jakarta Struts http://jakarta.apache.org/struts/). Like Marcel said the beauty of filters is that they are independent from the rest of the

Runtime Permissions - policy file

2001-05-30 Thread Farrell, Sarah
I have a new problem in my application with runtime permissions. The runtime error I'm seeing is: java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.net) The commandline syntax for starting Orion that

RE: Util taglibrary bug? util:sendMail

2001-05-30 Thread cybermaster
util:sendMail works fine for me. Did you set your mail.smtp.host property? e.g. %@ taglib uri=utiltags prefix=util % %@ page language=java import=java.util.*, javax.mail.*, javax.mail.internet.* % % String smtpHost = x.x.x.x ; // your servers IP

Re: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Jiuyun Wang
There is several good reason for using inheritance, for example, if you have a lot of utility methods you want to be included in every JSP in one specific Web Application. In JSP 1.1, it specifies that --- The JSP container should check (usually through reflection) that the provided

image/servlet caching issue

2001-05-30 Thread Todd McGrath
I'm having what I believe to be a image/servlet issue cache issue with Orion 1.4.5: Situation: I'm creating dynamically generated graphs based on an authenticated user. The images are created by passing values to a graph generating servlet. HTML looks like this: img border=0

Re: Orion running out of memory ?

2001-05-30 Thread Michael Jara
We have had similar problems, using Orion 1.4.5. The first problem seems to be that Orion does not re-use instances... I beleive that the orion-ejb-jar.xml defaults to allow an infinite number of instances per EJB. If you are creating a lot of instances, this might help your problem. The

1.5.1 vs 1.4.7 RequestDispatcher

2001-05-30 Thread Kit Cragin
Is there something that changed between 1.5.1 and 1.4.7 that broke my forward() requests? I have a servlet mapped to /start and protected by a role, user, in web.xml. The servlet obtains a RequestDispatcher to /roles/user/index.jsp. This JSP has an iframe that loads /roles/user/content.html.

RE: image/servlet caching issue

2001-05-30 Thread elephantwalker
I think this will solve your problem, add this in your response handler: response.addHeader(Pragma, no-cache); response.addHeader(Cache-Control, no-store); This should do the trick. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED]

RE: image/servlet caching issue

2001-05-30 Thread Todd McGrath
Sorry, I fixed it. I was doing an if (chart == null) in the servlet that generates graph. I just removed that if test and the images are loading the proper way now. I assumed that chart object would always be null, but not so. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: 1.5.1 vs 1.4.7 RequestDispatcher

2001-05-30 Thread Greg Stickley
I had a problem with request.sendRedirect where orion would continue processing the jsp or servlet below the sendRedirect. It's like it ignored the redirect intirely. I had to put a return; statement imediately following the sendRedirect statement. Maybe this is related. --- Kit Cragin [EMAIL

RE: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Robert Nicholson
Can you elaborate on how you are using XSL and XSLT ... I assume you're using Tag libraries but can you show an example of HTML markup derived from XML? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lopez Sent: Wednesday, May 30, 2001 6:05

RE: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Robert Nicholson
Sure I will be happy to. The project I was involved in they factored a load of code in the JSP servlet superclass and I found that when I wanted access to this code via a servlet that it was impossible. Factoring code into the superclass is only useful if you've made the decision to only access

RE: image/servlet caching issue

2001-05-30 Thread Aaron Tavistock
First off, I have a similar servlet sending images running in Orion right now and it does not display this behavior (Although mine uses path info instead of request parameters so the URL still looks like an image). So I'm pretty sure its not Orion. Narrowing to a solution depends alot on

RE: 1.5.1 vs 1.4.7 RequestDispatcher

2001-05-30 Thread Jeff Schnitzer
I am definitely experiencing something very similar. I haven't tried it with a version of Orion prior to 1.4.8, but I find that using RequestDispatcher.forward() produces erratic results, usually without sending any output. I find that calling include() works as advertised. The exact same code

Re: image/servlet caching issue

2001-05-30 Thread Lance Lavandowska
have you implemented HttpServer.getLastModified(HttpServletRequest req)? Try returning -1, this should tell the browser that the requested resource should not be cached. This is the default behaviour, so you might try returning the actual current time, this will tell the browser that the

Re: Orion running out of memory ?

2001-05-30 Thread Seng Choy Kua
edit the orion-ejb-jar.xml file in /$ORION_HOME$/application-deployments/$YOUR_PROJECT$-ejb.jar directory. set the attribute max-instances='x' in all the EJBs deployed, where x is the maximum number of EJBs you allow in memory at any time. this will prevent your system from running out of memory.

how to run jsps and servlet on orion?

2001-05-30 Thread Hasan
i have created a simple web app (only using jsps). but orion didnt want to run them. any advice to solve it?

RE: Tracing SQL

2001-05-30 Thread HyungKee Hwang
I downloaded and tried it, but I met the following error message, Error initializing server: DriverManagerDataSource driver 'nl.gx.common.jcbc.DriverWrapper' not found As I know, we don't have to do anything to include it in the classpath as long as it is located in c:/orion/lib, where

RE: Tracing SQL

2001-05-30 Thread HyungKee Hwang
I downloaded and tried it, but I met the following error message, Error initializing server: DriverManagerDataSource driver 'nl.gx.common.jcbc.DriverWrapper' not found As I know, we don't have to do anything to include it in the classpath as long as it is located in c:/orion/lib, where

Re: Internal server error

2001-05-30 Thread Adam Cassar
Have you looked at your application log? On Wed, May 30, 2001 at 02:12:41PM +0200, Johan Fredriksson wrote: I get this message every now and then... 500 Internal Server Error java.lang.NullPointerException at com.evermind[Orion/1.5.1 (build

Re: how to run jsps and servlet on orion?

2001-05-30 Thread Jeff Hubbach
Can you give a little more info? This is very vague... Jeff. On Thu, 31 May 2001 08:52:53 +0700 Hasan [EMAIL PROTECTED] wrote: i have created a simple web app (only using jsps). but orion didnt want to run them. any advice to solve it?

RE: So, why use Orion?

2001-05-30 Thread Kevin Duffey
Hi, That's a tough call. Orion rocks in terms of performance, but they are far behind most others in documentation and support. JBoss is rock solid on EJB and has far more developers working on the project at any one time than I would say any other app server. Documentation is pretty good and

RE: My Orion does not want to run the jsp and the servlets

2001-05-30 Thread Kevin Duffey
Title: SV: ATM example -> deployment error -> PLEASE some HELP Make sure you copy tools.jar to the /orion root folder. Its used to compile jsp pages into servlets. It can be found usually in your /jdk/bin (or maybe its jdk/jre/bin) folder. -Original Message-From: [EMAIL