DB changes not reflected in CMP bean.

2000-11-23 Thread Winston Ng
Hi All, This is more of an EJB question. I wrote a simple app using a CMP bean that talks to an Oracle DB. Started the server and was able to get/set information to the bean and subsequently see the changes in the DB. However, if I make any updates to the DB from sqlplus and commit the changes

RE: LoadBalancer truncating large files (>65K)

2000-11-23 Thread Kevin Duffey
Shouldn't be the case..but I would suggest a hardware load-balancer. A decent one should be only a couple of $K, if that. Make sure it supports cookie/session capabilities, and hopefully it supports island clustering capabilities. By this I mean, when a request comes in, it should identify t

Why do i get JspFactory already set

2000-11-23 Thread Santosh Kumar
Hi All, What is/are the reason(s) for getting : java.lang.SecurityException: JspFactory already set. Regards, Santosh. - Original Message - From: Adam Cassar <[EMAIL PROTECTED]> To: Orion-Interest <> Sent: Friday, November 24, 2000 2:53 AM Subject: Re: Collection of entity beans

RE: error instantiating web-app JNDI-context, JSP -> EJB -- solved!

2000-11-23 Thread Scott Farquhar
I'm sort of new to all this, but I will try and do my best to explain. Think in terms of a packed application (ie application.ear) Server files: Server.xml => this defines the location of the ear file so that orion can find it. default-web-app.xml => this defines the web-server side of ori

Re: Problems with the Orion CMP primer example.

2000-11-23 Thread 陳廷嘉
hi fresnaULL¡R When I created a database directory ($ORION_DIR/database) and test the news demo app again, I get new erroe message: com.evermind.server.rmi.OrionRemoteException: Database error: Table not found: COM_EVERMIND_EJB_NEWSITEM in statement [select com_evermind_ejb_NewsItem.id, com_ev

Re: Collection of entity beans

2000-11-23 Thread Adam Cassar
I use the following in my orion-ejb file that persists a list of 'dns records'

Re: pop3.jar again

2000-11-23 Thread Christian Sell
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 sam

pop3.jar again

2000-11-23 Thread Dale Bronk
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 w

FW: DataSourceConnection not closed

2000-11-23 Thread Juan Lorandi (Chile)
-Original Message- From: Karl Avedal [mailto:[EMAIL PROTECTED]] Sent: Jueves, 23 de Noviembre de 2000 16:06 To: Juan Lorandi (Chile) Cc: [EMAIL PROTECTED] Subject: Re: DataSourceConnection not closed Hello Juan, You can rest assure that we look at every bug report reported to bugzilla

Interbase DataSource?

2000-11-23 Thread Kevin Duffey
Does anyone possibly know how I can map an Interbase 6 so that Orion uses it with CMP? Here is the mapping I have based on the help file that shows Interbase types to java types: http://www.orionserver.com/dtds/database-schemas.dtd">

RE: Do I miss anything ?

2000-11-23 Thread Kevin Duffey
Hey..I forget how..but I know you have to reference the 2nd ejb inside the 1st ejb descriptor. Look at some examples in the Orion dir, but if one ejb uses another, it must say so in its ejb-ref descriptor. On the other hand..I did this and still had a problem. > -Original Message- > Fro

LoadBalancer truncating large files (>65K)

2000-11-23 Thread Peter Dunn
The loadbalancere is truncating large files.  Works fine without load balancing, but only the first 65K come through when the loadbalancer is used.  Does anyone have a work around for this issue?  I can not use the orion's loadbalancer until this issue is fixed?   Regards, Peter

RE: DataSourceConnection not closed

2000-11-23 Thread Juan Lorandi (Chile)
I think it's related to some bug in the connection pool code... I've set my max-connections to N in my datasource Whenever this "hanging" happens, the DS Pool shows N connections in use, 0 on the pool and the XA DS (used by CMP) shows N connections in use, 1 in the pool... My guess is that this i

Re: java:comp/env namespace is only available from within a J2EE com ponent

2000-11-23 Thread Tim_Clarke
hmm.. when I connect in from outside apps I use: "my.package.Classname" for the Contect lookup, rather than "java:comp." which is for internal stuff. Tim Several excuses are always less convincing than one. - Point Counter Point (1928) ch. 1 Aldous Huxley |+---

RE: Calling EJB in Orion from Resin -Problem,

2000-11-23 Thread Kevin Duffey
I hope this is not the case. That would make binding EJBs Orion dependent. I think thee is a non-vendor dependent way in doing this..otherwise how would J2EE apps be portable to other vendors? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Lebedko,

Do I miss anything ?

2000-11-23 Thread Edmund Cheung
Hi , I try to call the entity bean E1 (user) from the session bean S1 ( user manager) . The deployment of S1 is OK but not OK for the E1. Buf if I deply E1 outsite the S1, it is OK. So, do I miss to define somthing in the web.xml file. Below is my ejb stuff in the web.xml file;

RE: java:comp/env namespace is only available from within a J2EE com ponent

2000-11-23 Thread Christian . Tellefsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I should add, that I have no problems running the program as a standalone client, the bug/whatever only appears inside applets. CT - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23. november 2000 17:06 To: Orio

java:comp/env namespace is only available from within a J2EE component

2000-11-23 Thread Christian . Tellefsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Weird exception: Recently, I have been getting this error from my applet: 16:54:30 [unknown class] [ERROR] Exception caught. Stack trace follows: javax.naming.NamingException: java:comp/env namespace is only available from within a J2EE component

Re: DataSourceConnection not closed

2000-11-23 Thread Marcus Ahnve
> "Juan Lorandi (Chile)" wrote: > > yes, I've been complaining about this issues starting a month ago... > check bugs #161 & #170 for more info > > nobody from orion replies, and it's a shame, because I can´t license > the products until I work my way around these > > Anybody performing a DoS a

RE: how to use servlet-mapping

2000-11-23 Thread Lebedko, Oleg
You have to define not conflicting url-pattern values (which is the case in your example) Oleg Lebedko Wireless Networks, Technology Development 2920 Matheson Blvd. E., F7 Mississauga, ON L4W 5J4 * (905) 282 - 3263 [1

RE: Problem - Calling EJB in Orion from Resin

2000-11-23 Thread Russ White
My 2c   It is foolish to use Resin with Orion.   Why would you ever want to do this?   Just use Orion.   Resin and Orion are so similar that you should be able to run your servlets just fine on Orion.   If you want a separate servlet container just run two instances of Orion.   It will

RE: Calling EJB in Orion from Resin -Problem,

2000-11-23 Thread Lebedko, Oleg
Hi Santosh, As I understood, Orion by default binds ejb to JNDI name which is the same as ejb's name ( tag in the ejb-jar.xml) To change that you have to change binding in orion-ejb-jar.xml (which is in. orion/application-deployments/appname/ejbjarname.jar/orion-ejb-jar.xml) and change location at

Re: how to use servlet-mapping

2000-11-23 Thread Mikko Kurki-Suonio
On Thu, 23 Nov 2000, Edmund Cheung wrote: > servlet-mapping ? Based on the following setting, the program always calls > the UserManagerController. > > UserManagerController > / > You've given both servlets the same mapping... which won't do. You must give them *different* u

how to use servlet-mapping

2000-11-23 Thread Edmund Cheung
Hi, If I have more than one servlet defined in the web.xml file, how do I use servlet-mapping ? Based on the following setting, the program always calls the UserManagerController. MainAdminController Main controller admin.servlet.MainAdminController MainAdminC

dynamic page charset in JSP

2000-11-23 Thread Oleg Orlov
How can i change the page content type (charset in my case) dynamically in my JSP page? 1. <% response.setContentType("text/html;charset="+mybean.getCharset()); %> does not work because of line JspWriter out = pageContext.getOut(); appears _before_ response.setContentType(...) in resulting s

Re: Calling EJB in Orion from Resin -Problem,

2000-11-23 Thread Santosh Kumar
Did'nt work.. Santosh - Original Message - From: Montebove Luciano <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Thursday, November 23, 2000 1:18 PM Subject: R: Calling EJB in Orion from Resin -Problem, Substitute Object boundObject = context.lookup("java:co

Orion integration with RSA ACE/Server and SecurId tokens

2000-11-23 Thread Rohan Talip
Hi, Has anyone managed to get Orion to work with RSA ACE/Server to provide authentication with SecurId tokens? In a clustered environment? (Can Orion work in a clustered environment?) If so, could you please provide information / links etc. Thanks, Rohan -- Email: [EMAIL PROTECTED]

No Subject

2000-11-23 Thread Tobias Streckel
Hy again,   I get this error message:   Cannot instantiate class: com.evermind.server.rmi.RMIInitialContextFactory   if I want to generate the Context Object in my Java client.   Have anyone a idea??   Thanks   Tobi

Re: org.apache.struts.action.MESSAGE exception with orion 1.4

2000-11-23 Thread Klaus Thiele
Hello, Craig R. McClanahan wrote: [...] > I would suggest instead that Orion fix their buggy classloader. This particular > issue has nothing to do with the servlet specification -- Orion is not > implementing the getResource() method of java.lang.ClassLoader, which is used by > the Resourc

RE: Problems with the Orion CMP primer example.

2000-11-23 Thread fresnaULL
Hi. No, I haven't created any database directory. This is the first time I hear about that!! . Could you tell me what I have to do?, I mean, What is this directory for? What about the defaultdb file in it? Where did you read about that? Thank you very much. - Original Message - From: K

Re: USIN JCE 1.2.1 with orion

2000-11-23 Thread Ismael Blesa Part
But then if I want to change to a new provider I should change the code an recompile my application. Is there another way? Russ White wrote: > You will need to set the providers up in the class at run time. This is because > Orion defines providers and yours are not being seen. > > > -Origin

need Help: Where did I set the JNDI by CMP Entity Bean???

2000-11-23 Thread Tobias Streckel
Hello,   I'm a real beginner!   I've a CMP Entity Bean. Now, I have written a stand alone Java application.   Where can I set the JNDI-Name for the Entity Bean to work with my stand alone Java Client   Thanks   Tobi

FW: RequestDispatcher and URL rewriting

2000-11-23 Thread Klaus . Bom
Hi The first message didn't seem to get through so I will try again. - Klaus - > Hi > > I have run into a problem with obtaining a RequestDispatcher object when > using URL rewriting in a servlet. > > The problem occurs in a servlet which handles POST messag

Re: Collection of entity beans

2000-11-23 Thread Giorgio Angiolini
Thanks for the response ! Does anyone have some examples of ejb-jar.xml with one entity bean with collections of entity beans ? Thanks. Giorgio Mike Cannon-Brookes ha scritto: > just use it as you would any other collection. Orion is smart enough to > persist the primary keys of each entity