SV: killing a session

2001-03-22 Thread Magnus Rydin
Title: SV: killing a session Oh man! You just copied his message! Didnt you see his footer? :) Oh damn! Now I did so too. j/k MR -Ursprungligt meddelande- Från: Allen Fogleson [mailto:[EMAIL PROTECTED]] Skickat: den 21 mars 2001 17:45 Till: Orion-Interest Ämne: RE: killing

Tag libraries

2001-03-22 Thread Thanh, Dao Chung Thanh
Dear Team I have Orion 1.4.7/JDK1.3/Windows 2000 and I have a problem when I try to useseveral tag libraries in one JSP page. Here are my code: in the JSP page: %@ taglib uri="vsece-taglib" prefix="vsece" % %@ taglib uri="vsdev-taglib" prefix="vsdev" % in WEB-INF/web.xml taglib

RE: ASP config + clustering

2001-03-22 Thread Frank Eggink
Greg, Why run an instance of orion per client you are serving? I'm looking to host an applications for a number of clients too, but I'm looking into another route. We plan to 'copy' the applications and run them from one server-instance. Guess for resource usage we are better off, just

RE: What versions of Postgres are people using?

2001-03-22 Thread Julian Richardson
I'm using Postgresql 7.0.3 on RH7 with pleasant results (except the JDBC driver's timstamp issue). saw something on the postgres JDBC list about that - something about using getTimestamp instead of getDate or similar because getDate doesn't properly convert timestamp fields?

Java.exe running at 100%

2001-03-22 Thread Dan North
Hi there. We're running orion on windows 2000 with 128Mb memory and loads of disk space. Orion had a problem rendering a JSP page yesterday evening at 8pm (a bug in the page), at which point java.exe took up 100% CPU and is currently swapping 380Mb to disk! We left it overnight to see if it

Orion doesnt' start as other user then root ??

2001-03-22 Thread Eddie
I don't know why but I can only start orion as root. When I start it as user orion it complains: -- Error instantiating application at file:/home/development/sgs/: Unable to find/read deployment info for /opt/Orion/application-deployments/sgs (IO Error:

Orion on RedHat

2001-03-22 Thread Jarek Skreta
Dear All, We are planning for a budget (read 'cheap') deployment of a website running on Orion for a charity. We're thinking about RedHat Linux 6 on a Cobalt RaQ3 server. Does anybody has any experience of running Orion on such kit? What resources (RAM, etc.) should a single server have in order

RE: EJB Clustering HOWTO

2001-03-22 Thread Kemp Randy-W18971
I think the statement "weblogic is giving us headaches" sums everything up. I like working with better engineered products, like Orion and Jboss (needs to catch up to Orion, but they have more people, so it's not impossible), which are smaller, better crafted, and easier to work with. But

SV: Tag libraries

2001-03-22 Thread Magnus Rydin
What is the exact error message? I normally have 3-5 taglibs in an application, and havent ever had a problem with it. WR -Ursprungligt meddelande-Från: Thanh, Dao Chung Thanh [mailto:[EMAIL PROTECTED]]Skickat: den 22 mars 2001 00:50Till: Orion-InterestÄmne: Tag libraries

RE: Orion on RedHat

2001-03-22 Thread Russ White
This actually sounds like a good setup for what you want to do. I have setup many site for non-profits with a setup similar to what you are doing. Using Linux in such an environment is a great idea because you can set it up like a hands off appliance, and it is very cost effective. you could

RE: What versions of Postgres are people using?

2001-03-22 Thread Tim Drury
Title: RE: What versions of Postgres are people using? I've run 7.1 beta 3 with no problems. It is _much_ faster than 7.0.2 (2.5x on some rough benchmarks) and finally supports OUTER JOIN. I've never used blobs with it though so I cannot speak for that support. -tim -Original

RE: Orion on RedHat

2001-03-22 Thread Jarek Skreta
Russ, Thanks for the news. I was hoping that this set up would work as it is easy to get relatively cheap hosting based on RaQ and Linux. One more question, if that's OK: at the moment we are doing without a database (information is stored in XML files). However, we may need to get one at some

Orion Memory Configuration

2001-03-22 Thread McLellan, Richard
Hello all, I am having a problem when stress testing Orion. I get an out of Memory error from orion. I am running a sun 420R with 2GB RAM with 2 - 500Mhz Processors. As far as the system is concerned there is still 1.7GB RAM available for use when orion dies. I am simulating

Orion and WARs

2001-03-22 Thread Burr Sutter
Question: How do you use a WAR with Orion? If I update my server.xml to point to a WAR like so application name="struts-logon" path="../struts-logon.war" / It complains about the lack of a META-INF and an application.xml. A War doesn't normally require those folders/files, they are for EARs. I'd

Re: Tag libraries

2001-03-22 Thread Burr Sutter
Normally taglib-location (in web.xml) points to a .tld file, tag library descriptor also in web-inf. taglib-location/WEB-INF/xyz.tld/taglib-location I've not seen this point to a jar in web-inf/lib before. Perhaps that works but I've not seen it. Burr [EMAIL PROTECTED] - Original

RE: Orion on RedHat

2001-03-22 Thread John Miller
You could use mySQL. Its free and easy to install on Linux. Johnny -Original Message- From: Jarek Skreta [mailto:[EMAIL PROTECTED]] Sent: 22 March 2001 15:10 To: Orion-Interest Subject: RE: Orion on RedHat Russ, Thanks for the news. I was hoping that this set

Re: Orion and WARs

2001-03-22 Thread Hani Suleiman
TO add war files, you add them to the default application. You need to add entries to application.xml: web-module id="struts-logon" path="../applications/struts-logon.war" / Then you add it to your website, to specify where it is mapped to (default-web-site-xml): web-app application="default"

RE: Orion Memory Configuration

2001-03-22 Thread Alex Paransky
Use java's runtime memory options to configure (-Xm -Xs). -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of McLellan, Richard Sent: Thursday, March 22, 2001 7:23 AM To: Orion-Interest Cc: Hogan, John Subject: Orion Memory Configuration Hello all,

RE: Orion doesnt' start as other user then root ??

2001-03-22 Thread Frank Eggink
Eddie, If you check the mailing list and or www.orionsupport.com, you will find some decent answers. What is causing your trouble is the fact that port 80 is for root only. One of the trick is using the packet filtering technique of the firewall of your site and forward all packages for orion

Re: Orion doesnt' start as other user then root ??

2001-03-22 Thread Mike Weissman
Are you on unix box? If so, you need root to open port 80. You could probably run on another port. I think ports up to 1024 are restricted. mike Eddie wrote: I don't know why but I can only start orion as root. When I start it as user orion it complains: -- Error instantiating

RE: Orion on RedHat

2001-03-22 Thread Russ White
Actually the Hypersonic DB that comes with Orion is quite suitable for small sites, and it is fast, and works well with Orion because it already has the configuration for the db in the distribution. I would stick Hypersonic unless you really need something else. -Original Message-

Re: Orion and WARs

2001-03-22 Thread Lawrence Sewell
Question: How do you use a WAR with Orion? I used the info in http://www.orionserver.com/tutorials/taglibs/lesson9/ to deploy war files with Orion.

PHP and Orion

2001-03-22 Thread John Miller
Does anyone have any experience of running PHP in Orion. If so how did you install it etc.. Would appreciate any tips you could give. Johnny .

can you have multiple load balancers

2001-03-22 Thread calvin matthews
Hi, Our site must be able to cope a large number of concurrent users. I have been able to setup the loadbalancer and clustering on Orion, but have a few questions. a) Can you replace the loadbalancer application transparently with a hardware load balancer such as cisco local director? b) Does

RE: Orion doesnt' start as other user then root ??

2001-03-22 Thread Kemp Randy-W18971
You are correct, in that ports up to 1024 are restricted. I think there is some information on running Orion on Unix in www.orionsupport.com. -Original Message- From: Mike Weissman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 10:51 AM To: Orion-Interest Subject: Re: Orion

RE: Removing SBs when expiring HttpSessions ... the challenge continues.

2001-03-22 Thread Juan Lorandi (Chile)
Just a tought: impersonate a role within the SB's method remove instead of reliying on interactive login: public void remove() { //get UserManager UserManager um = ic.lookup("java:comp/UserManager"); um.login("mySecuritySafeUser","thePassWd");

redhat 7

2001-03-22 Thread elephantwalker
Any experience with the latest redhat distro and orion? Has anybody seen any conflicts?

Re: Orion doesnt' start as other user then root ??

2001-03-22 Thread Eddie
Sorry, I was a bit to fast. The problem: my disk was full. I was thinking a bit to difficult as it was just a simple thing. Ed

RE: Orion doesnt' start as other user then root ??

2001-03-22 Thread Gerald Gutierrez
This is unnecessary. The IP chains mechanism in the Linux kernel can forward packets from one port to another, allowing orion to run as anyone (perferably as someone that has only permissions to do what it has to do). It still requires that the user have root acess so that he can set up the

RE: Orion Memory Configuration

2001-03-22 Thread Gerald Gutierrez
Uhh .. didn't the original poster say that he's using the memory options already? He executed "java -Xms512m -Xmx1024m -jar orion.jar". I have a similar problem where I have at least 200MB of memory free still and Orion is dying at about 90MB with an OutOfMemoryException. -Original

RE: Orion Memory Configuration

2001-03-22 Thread Tim Endres
I wonder if the exception is misleading in this case. The OutOfMemoryException is reporting "unable to create new native thread". Could this be a limitation on the number of threads a process is allowed to invoke? Could it be that the JVM has a limitation on the number of threads? Or, could it be

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Alex Paransky
Hi Claudio, what makes Orion look into WEB-INF/classes? To find the META-INF? Thanks -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Claudio Cordova Sent: Thursday, March 22, 2001 4:30 PM To: Orion-Interest Subject: RE: Question regarding servers

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Alex Paransky
But it does work, except now, I am getting a ClassCastException where before, when I deployed the web and ebj in the same server with the parent="..." tag I was not getting a class cast exception. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Claudio Cordova
META-INF is should be at the root of your client classes in the classpath. claudio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Thursday, March 22, 2001 5:25 PM To: Orion-Interest Subject: RE: Question regarding servers as

Simultaneous Username/Password Detection

2001-03-22 Thread David Morton
I am building a system that protects content by username and password. No problem there. The more complicated part of the system prevents two people using the same username and password at the same time on our web site. I have a plan to do this, but I haven't seen if there are any

Re: redhat 7

2001-03-22 Thread Rian Schmidt
Likewise. We're doing a variety of benchmarks for a redesign of our site maintenance work request system (currently running a ColdFusion front-end over Java objects for the back-end) against, among other things, a fully Orion-based (JSP/taglib/EJB) system, and we're seeing performance

Re: Orion and WARs

2001-03-22 Thread Burr Sutter
This answers my question. Thanks. I'll play with it. I'd like to run Struts on Orion. Did anyone ever figure out why that individual couldn't have two taglibs on a single JSP? Thanks, Burr [EMAIL PROTECTED] - Original Message - From: KirkYarina [EMAIL PROTECTED] To: Orion-Interest

java:comp/Administrator

2001-03-22 Thread Greg Matthews
Dear all, By following some code in a previous post i can get a reference to an Administrator object which lets me do things like get the application.xml display-name. ApplicationAdministrator admin = (ApplicationAdministrator)ctx.lookup("java:comp/Administrator"); System.out.println(

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Alex Paransky
It seems to be working now, but everytime I attempt to access another orion server, from an orion server, I get a "domain was null" exception message. Creating remote context to: ormi://sergio/symbiosis-server java.lang.NullPointerException: domain was null at

Weblogic and Orion 6.

2001-03-22 Thread Justen Stepka
My company has decided to use Weblogic 6 for the backend J2EE server, but I managed to convince the project managers to use Orion for the war. For the last day I've been playing with getting Orion to communicate with Weblogic 6 but I just can't get an initialcontext with any value from Weblogic

RE: Orion and WARs

2001-03-22 Thread Allen Fogleson
ok, "have" is extreme. Let me say rather, this is how I would do it. Don't clutter up the default then, and all. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Hani Suleiman Sent: Thursday, March 22, 2001 6:51 PM To: Orion-Interest Subject: RE:

RE: bad timestamp confusion; BUGje

2001-03-22 Thread Allen Fogleson
Is this in a table you designed or are you letting orion create them? if the later you can change the descriptor to create the other type of field, if the later you could do a alter table... I had this problem before with postgresQL and that is how I got around it. Al -Original

Re: Simultaneous Username/Password Detection

2001-03-22 Thread Jim Kraai
David, I'm just getting to know servlets in depth, and have recently read (and reread a few times) the servlet spec. Two sections of the spec (2.3) are relevant (I think Orion is at 2.3?): 3.1 Scope of a ServletContext There is one instance of the ServletContext interface associated

What does domain was null message mean in the following exception???

2001-03-22 Thread Alex Paransky
java.lang.NullPointerException: domain was null at com.evermind.server.rmi.RMIServer.fw(JAX) at com.evermind.server.rmi.RMIServer.e7(JAX) at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(JAX) at

system management with orion

2001-03-22 Thread elephantwalker
Dear group, The www.orionsupport.com site has an good reference for using orion on a linux or unix machine. However, one important part of system management is where to locate the orion files and the application/website files, and this is missing. By choosing the location of these files, we can

Re: Simultaneous Username/Password Detection

2001-03-22 Thread Vaskin Kissoyan
The new Oreilly book "JavaServer Pages" has a great way of doing authentication with a tag and the existance of a "validUser" bean in the session scope. It properly produces the original URL and is container independant. - Original Message - From: "David Morton" [EMAIL PROTECTED] To:

RE: Weblogic and Orion 6.

2001-03-22 Thread Allen Fogleson
basically you are going to have to instantiate your properties (or hashtable) with the values specific to wl. If I recall you need the providerURL to be t3://hostname (might be forced to use rmi there ) and then the context factory is WLInitialContextFactory (if I remember right) and then

RE: Simultaneous Username/Password Detection

2001-03-22 Thread Allen Fogleson
what we did was store session info in a DB table. (appropriately enough named Session_T (our naming scheme add a T to tables, etc) We store it with the create time and all that. As you say the hard part is when they forget to log out. or winblows locks up on them. in that case what we always do

AW: java:comp/Administrator

2001-03-22 Thread Haeussler, Heinz
Hello Greg, try the dissambler: D:\orion%java_home%\bin\javap -classpath orion.jar com.evermind.server.administration.ApplicationAdministrator Heinz -Ursprngliche Nachricht- Von: Greg Matthews [mailto:[EMAIL PROTECTED]] Gesendet am: Freitag, 23. Mrz 2001 05:15 An: Orion-Interest

SV: Orion and WARs

2001-03-22 Thread Magnus Rydin
Title: SV: Orion and WARs Hm. You have tried to add the .war as if it was an .ear. Just add your .war to the /orion/config/application.xml instead. WR -Ursprungligt meddelande- Från: Burr Sutter [mailto:[EMAIL PROTECTED]] Skickat: den 22 mars 2001 07:32 Till: Orion-Interest

SV: Orion and WARs

2001-03-22 Thread Magnus Rydin
Title: SV: Orion and WARs Just a warning. That lesson is no longer updated/supported. The information about deploying .war files will be moved into the /doc/ section instead. WR -Ursprungligt meddelande- Fran: Lawrence Sewell [mailto:[EMAIL PROTECTED]] Skickat: den 22 mars 2001

SV: Tag libraries

2001-03-22 Thread Magnus Rydin
You can either reference a tag library descriptor or an tag library archive in web.xml. Some application servers are lacking this basic functionality, but not Orion. See the specifications for more details. WR -Ursprungligt meddelande-Från: Burr Sutter [mailto:[EMAIL

SV: Orion and WARs

2001-03-22 Thread Magnus Rydin
Title: SV: Orion and WARs Well, orion/config/application.xml is more or less a normal unpackaged application with a (little bit different) descriptor located in the orion/config/ directory instead of under /applications/default/META-INF. So what the lines below do is att the web-modules the

Problem run demo servlets

2001-03-22 Thread Grigory V. Manushkin
i'm new to orion. snoop servlet work ok. try to test demo servlets. add to web.xml servlet servlet-nameURLInfo/servlet-name servlet-classURLInfo/servlet-class /servlet then try "localhost/servlet/urlinfo" and get 500 Internal Server Error

SV: Simultaneous Username/Password Detection

2001-03-22 Thread Magnus Rydin
Title: SV: Simultaneous Username/Password Detection Or use the Orion tag ifInrole (see http://www.orionserver.com/tags/utiltags/) WR -Ursprungligt meddelande- Från: Vaskin Kissoyan [mailto:[EMAIL PROTECTED]] Skickat: den 22 mars 2001 21:39 Till: Orion-Interest Ämne: Re:

RE: Simultaneous Username/Password Detection

2001-03-22 Thread Frank Eggink
I think the major part is a design issue. How do you recognize someone is logging-in after he accidentally killed his browser? Maybe you could use IP addresses for that??? As far as I know most ISPs use simple timeout mechanisms on their POP3 servers (you can reconnect after sometime when the

Re: Removing SBs when expiring HttpSessions ... the challenge continues.

2001-03-22 Thread Petr Podsednik
Hi, If It is possible I have a question regarding this problem. Until now I was thinking there is no problem regarding HttpSession expiring because of garbage collector which knows what remote references became invalid. Please tell me, if I am wrong and why. If it is must be handled in code what

Re: redhat 7

2001-03-22 Thread David Morton
I am having great success with Redhat 7.0 jdk 1.3/MySQL/javaexchange.com connection broker (autoreconnect=true) and the mm.mysql driver JDBC driver. David At 01:37 PM 3/22/01 -0800, you wrote: Any experience with the latest redhat distro and orion? Has anybody seen any conflicts?

RE: Orion and WARs

2001-03-22 Thread Hani Suleiman
No, you do not. You can deploy your web apps using the 'default' application. On Thu, 22 Mar 2001, Allen Fogleson wrote: You have to include the war in a bigger ear file, that includes the application deployment descriptor application.xml. The webarchive will then be deployed. Al