RE: does orionsupport startup and shut down classes

2002-01-09 Thread Alex Paransky
Similar to a startup class, your application could have a client module.  Then in the orion-application.xml, you indicate that orion should autostart the client module.  Your client module, is a standard application with the public static void main(...) method defined in one of the classes (y

RE: How to get target page on the loginError page...

2002-01-09 Thread peter_saurugger
Alex, look at the ATM example - the login.jsp page is used as loginError page, also, and if the user succeeds on that page, s/he gets automatically forwarded to the page the user was going to in the first place - no back button needed. I think this is the behaviour you would like to implement? Th

does orionsupport startup and shut down classes

2002-01-09 Thread meera krishnaraja bhat
hai   Does ORION support startup and shutdown classes? Here is the scenario, in order to have access to the system resources (file system, legacy applications) from an EJB, it is the violation of EJB spec. However, one can write a java class that accesses system resources and deployed this class in

App server debugging -- HELP

2002-01-09 Thread Aaron Tavistock
I've got a very large web application (about 300 objects and about 1000 pages) which uses mostly straight JSP. This gets a reasonable number of hits with approximately 200 concurrant sessions operating. Recently, we introduced something thats causing something resembling a thread deadlock. S

Simple question re caching/pooling of BMP Entity Beans

2002-01-09 Thread Geoff Soutter
Hi there, I'm teaching myself how to use Orion and I've got a simple question about caching/pooling of BMP Entity Bean instances. I've created a simple app which lets me read a BMP Entity Bean through a Session Bean. I would expect that when I call findByPrimaryKey on my Entity Bean's home inter

RE: deploying ejb without jar'ing

2002-01-09 Thread Marc Rabil
Sorry for the bad advice - looks like good ole Orion allows you to do all kinds of things! Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Renaud Bruyeron Sent: Wednesday, January 09, 2002 1:23 PM To: Orion-Interest Subject: Re: deploying ejb withou

How to get target page on the loginError page...

2002-01-09 Thread Alex Paransky
After the user has entered improper login information, I want the loginError page to contain a link to the page that the user was going to along with all the necessary parameters. Is there a way to get this "target" information from the errorPage and generate a link? I am trying to avoid having

REMOVE

2002-01-09 Thread Magnus Forslund

RE: question about ip allocation

2002-01-09 Thread john_haasbeek
On windows (NT) you can bind multiple IP addresses to a single NIC under the Advanced tab on the TCP/IP protocol properties dialog. Of course, you'll have to reboot... John H. "Jarrod Roberson" <[EMAIL PROTECTED]>@orionserver.com on 01/09/2002 11:06:29 AM Please respond to Orion-Interest <

RE: Distributing EJBs

2002-01-09 Thread Carroll, Jim
I should make it clear in what follows that I am trying to load balance the EJBs in an application, not the web side. I know how to set up clustering. What I can't get to work is distribution of a set of EJBs across several servers like the following: --> server1 / EJB

Re: deploying ejb without jar'ing

2002-01-09 Thread Renaud Bruyeron
I do this all the time. filestructure: app/ META-INF/ app-ejb/ META-INF/ com/fullsix/... app-web/ WEB-INF/ I point orion at app/ (via server.xml), and in the application.xml, instead of referencing a .jar, I reference app-ejb/ like this: ... app-ejb

RE: deploying ejb without jar'ing

2002-01-09 Thread Nihilist
It's possible... It's just a matter of editing the application's META-INF/application.xml to point to a directory (eg: project/ejb-jar), then creating another META-INF directory (eg: project/ejb-jar/META-INF) and dumping the ejb-jar.xml under that. Of course, if by 'deploying' you mean sending t

RE: Help!

2002-01-09 Thread Alex Paransky
Title: Message Most likely, your .jsp page is too large.  I think there is a limit of 64K per method, and since the JSP page all get's generated into a single method, you might be exceeding that.  Try using dynamic includes instead of static includes, or if you are not using includes at all,

RE: question about ip allocation

2002-01-09 Thread Jarrod Roberson
this is incorrect, they is a port 80 for each IP address. As long as the clients can access each IP address, they can get to either port 80. Now Orion may be listening to ALL ip addresses on port 80 making it "look" like there is only one port 80. But each interface as a full compliment of ports.

RE: deploying ejb without jar'ing

2002-01-09 Thread Alex Paransky
Yes you can, 1. Configure an application deployment at directory app with app/META-INF (I'll call my app directory app for this example) 2. Inside of app/META-INF/application.xml add your ejb module, let's call it model 3. Create a directory app/model 4. Create a directory app/model/META-INF and

Re: question about ip allocation

2002-01-09 Thread Jeff Hubbach
Max, Each interface (either virtual or real, as long as it has a unique IP address) has its own bank of ports. Otherwise, you would have to have a separate box for each website, which isn't necessary. Jeff. On Wed, 9 Jan 2002 11:27:19 +0100 "Maximilian Eberl" <[EMAIL PROTECTED]> wrote: > Y

Re: question about ip allocation

2002-01-09 Thread Tim Endres
That is not true. Every ethernet interface can listen on its own port 80. This can even be done with "virtual interfaces" which share the same physical network card. Ports are a abstraction implemented at the driver level and based on header information in each packet. tim. > Your machine has 2

Re: question about ip allocation

2002-01-09 Thread Jon White
Sorry but that is just not true. You can have two processes each with their own address listening on the same port. In fact you can have a process per address since the unique combination must be address and port, the kernel sorts all the rest out. If you have netcat installed on your linux mac

Help!

2002-01-09 Thread Nihilist
Title: Message Can anybody explain this error to me:   Error parsing JSP page /process/index.jsp Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage1_process_index_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl

RE: deploying ejb without jar'ing

2002-01-09 Thread Marc Rabil
I'm pretty sure you can not. Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Morten Wilken Sent: Wednesday, January 09, 2002 4:10 AM To: Orion-Interest Subject: deploying ejb without jar'ing im sure ive come across this... can i deploy ejb's direc

AW: string mappings

2002-01-09 Thread Jan Heise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, i remember, that i just altered the column from varchar to text after the first deployment. but perhaps there is a better solution. jan - -- Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED] - -Ursprüngliche Nachricht- Von

problems closing database connections.

2002-01-09 Thread JoseMa
Hi,       We've installed a datasource with oracle and I have and application which do some transaction with this datasource. When the number of transactions is small we don't have problems but when the number of transaction is big the number of connections to database raise and It does not

RE: question about ip allocation

2002-01-09 Thread Justin Crosbie
Hi, Two IP addresses - is this two network addresses, or is it two IP that point to the same DNS entry? If you have two network addresses, on two separate network cards, this should not happen. If they are actually pointing to the same address, you will have to put Orion on a different port to II

string mappings

2002-01-09 Thread Morten Wilken
hi all, i have a situation where i need to make an entitybean with a subject line and a body text in the class both these are implemented as Strings, but i need to map the subject to a short varchar (ie 50 chars) and the body text to a larger one (but not so large that i need to map it to a blob).

Re: question about ip allocation

2002-01-09 Thread Maximilian Eberl
Your machine has 2 IP-adresses but only one port 80 ! No 2 servers can listen on 1 port - no matter how many network cards You pull in. You have to bind the IPs to different ports. I am doing this on Linux but don't know how this is done on Windows. Max -- Maximilian Eberl - developer - netzd

deploying ejb without jar'ing

2002-01-09 Thread Morten Wilken
im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken

Re: question about ip allocation

2002-01-09 Thread Morten Raahede Knudsen
Hi Thanks for your answers! >try adding a host="x.x.x.x" attribute to the web-site tag in >default-web-site.xml I have tried that, it only oanswers on the given address, but it still seems to block for other servers on other ip addresses. >Try changing the port number that Orion accepts reque