R: Calling EJB in Orion from Resin -Problem,

2000-11-22 Thread Montebove Luciano
Substitute Object boundObject = context.lookup("java:comp/env/ejb/HelloHome"); with Object boundObject = context.lookup("java:comp/env/ejb/Hello"); Luciano -Messaggio originale- Da: Santosh Kumar [mailto:[EMAIL PROTECTED]] Inviato: mercoledì 22 novembre 2000 1

Security and UserManager and all that?

2000-11-22 Thread Kevin Duffey
Can someone kindly explain to me what is the purpose of using the security roles, user managers and all that in the descriptor files? I quite honestly don't understand it. I mean..if I have a web-app that has a login screen that uses EJB to look up a login name and password in a database to allow

Please help with JNDI->JMS problem

2000-11-22 Thread Werner Bohl
Please help me: An application client I deployed on 1.4.4 finds references for my remote ejb's, but it does not get a reference to the remote TopicConnectionFactory. Run locally works fine. Thanks in advance, Werner Bohl Organization for Tropical Studies Costa Rica

Problem - Calling EJB in Orion from Resin

2000-11-22 Thread Santosh Kumar
The first mail dint seem to get through. I am sending this again!! Hi All,      I am onto an interesting task of using resin as the EJB client for Orion. Everything seems to be in line but i dont know why i get this problem when i run the orion-primer example EJB with the

Calling EJB in Orion from Resin -Problem,

2000-11-22 Thread Santosh Kumar
Hi All,      I am onto an interesting task of using resin as the EJB client for Orion. Everything seems to be in line but i dont know why i get this problem when i run the orion-primer example EJB with the servlet part executing on the RESIN.  javax.servlet.ServletException: Unable to get hom

Problem - Calling EJB in Orion from Resin

2000-11-22 Thread Santosh Kumar
    The first mail dint seem to get through. I am sending this again!! Hi All,      I am onto an interesting task of using resin as the EJB client for Orion. Everything seems to be in line but i dont know why i get this problem when i run the orion-primer example EJB with th

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

2000-11-22 Thread Garret Wilson
Kevin, - Original Message - From: "Duffey, Kevin" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, November 22, 2000 5:49 PM Subject: RE: error instantiating web-app JNDI-context, JSP -> EJB -- solved! > Hmm..as far as I know, orion-web.xml is created for yo

Re: server.xml fails -validateXML

2000-11-22 Thread Hani Suleiman
The error was actually reported to be in server.xml, so it never got to validating the ejb-jar.xml. Anyways, the dtd at http://java.sun.com/dtd/ejb-jar_2_0.dtd is the final one isn't it? On Wed, 22 Nov 2000, Arthur Copeland wrote: > no it isn't your fault sun hasn't made the dtd available > yet

Re: server.xml fails -validateXML

2000-11-22 Thread Saphari.com - www.saphari.com
no it isn't your fault sun hasn't made the dtd available yet and they have also changed the source of the dtd in proposed final draft. artie Quoting Hani Suleiman <[EMAIL PROTECTED]>: > I'm trying to ensure that my EJB 2.0 ejb-jar.xml files validate according > to the appropriate dtd, so I trie

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

2000-11-22 Thread Duffey, Kevin
Hmm..as far as I know, orion-web.xml is created for you when you deploy your app. You shouldn't have to ever do anything in it. I am able to access my Session EJB via my action class (don't want to do it in jsp...thats bad). I am anxious to get entity beans working with Interbase 6 via JDBC2.0. I

Re: Christian Sell et al.... Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-22 Thread Mateo Torrealto
Excellent that narrows it down i guess i need to start putting some print statements and see where the servlet is dying. i'll write some things out to the log is there a way to run orion so that it shows the server interacting with the lifecycle methods of the servlet. weird... thank

RE: Deploying a servlet ear, war: help an oroin newbie

2000-11-22 Thread Matt Krevs
i guess mapping a servlet to '/' would also be an alternative to specifying a welcome file list in web.xml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell Sent: Wednesday, 22 November 2000 6:01 PM To: Orion-Interest Subject: Re: Deploying a

RE: Christian Sell et al.... Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-22 Thread Matt Krevs
Are you using IE as your browser? If so, go to Tools -> Internet options -> Advanced and make sure the "show friendly HTTP error messages" option is turned OFF. You should get a slightly usefull error message coming back then. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL P

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

2000-11-22 Thread Garret Wilson
Finally! I just now found the problem. I needed to add the following line in the Orion web-site.xml file: My test JSP page worked, and since I was calling from within the container I just need to use InitialContext() without setting properties. Now, can someone explain to me why there appear

Re: error instantiating web-app JNDI-context, JSP -> EJB

2000-11-22 Thread Garret Wilson
No luck -- I still get the following exception: javax.naming.NamingException: Error instantiating web-app JNDI-context: No location specified and no suitable instance of the type 'com.company.Caller' found for the ejb-ref ejb/Caller at com.evermind.server.http.HttpApplication.getEnvironmentConte

Re: Problems with the Orion CMP primer example.

2000-11-22 Thread KirkYarina
Have you created a database directory ($ORION_DIR/database)? Do you have the appropriate permissions on defaultdb.* in it? At 12:10 PM 11/22/00 +, you wrote: >Hi, >I'm trying to deploy the Orion CMP primer example. I've follow the >instructions but I've got the following error: > >Auto-dep

Re: error instantiating web-app JNDI-context, JSP -> EJB

2000-11-22 Thread Boris Gertsberg
check location="..." for your bean in orion-ejb-jar.xml Try to do Context ctx=new InitialContext(); Object obj=ctx.lookup("com.company.Caller"); // or whatever JNDI name you have in location in orion-ejb-jar.xml Boris P.S. It is very nice that you initialize Properties but you should use them

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

2000-11-22 Thread Juan Lorandi (Chile)
In ejb-jar.xml Caller Caller also, make sure you include the web module in application.xml -Original Message- From: Garret Wilson [mailto:[EMAIL PROTECTED]] Sent: Miércoles, 22 de Noviembre de 2000 15:44 To: Orion-Interest Subject: err

Timeout for entity beans !

2000-11-22 Thread Puthezhath, Rajeev (TWII Boston)
Hi, Is there a way to specify timeout for entity beans with Orion. Please help Regards Rajeev

RE: USIN JCE 1.2.1 with orion

2000-11-22 Thread Russ White
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. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ismael Blesa > Part > Sent: Wednesday, November 22, 2000 2:00 PM >

RE: DataSourceConnection not closed

2000-11-22 Thread Juan Lorandi (Chile)
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 attack on any Orion Web Site will effecti

Re: Secure SSL and Non-Encrypted Pages

2000-11-22 Thread Joel Shellman
Just set up a web site for both normal and secure. Then just make sure your links that need to go to secure pages and https:// and the ones that go to non-secure pages just have http:// Joel Shellman http://www.ants.com/90589781 - Original Message - From: "Mark" <[EMAIL PROTECTED]> To:

Re: InitialContext

2000-11-22 Thread Sven van 't Veer
Edmund Cheung wrote: > > Hi, > > The following code is working in webloigc; > > String initialContextFactory = > ConfigManager.getProperty("framework.jndi.initialContextFactory","weblogic.j > ndi.TengahInitialContextFactory"); > Properties p = new Properties(); >

RE: Instantiate more than one session bean

2000-11-22 Thread Russ White
AFAIK there should be no problem when multiple threads are sharing a single home interface. But I not ever have threads sharing a single remote reference no matter what. That is asking for trouble. It is actually safest to have the threads just share a context and have the thread lookup the home

USIN JCE 1.2.1 with orion

2000-11-22 Thread Ismael Blesa Part
I have developed some classes that work with JCE1.2.1, and I have tested from command line and they work. I have configured java.security to specify which is the Security Provider I am going to use. The problem come when I try to use this classes from my web-application. I have specified copied o

jndi entry

2000-11-22 Thread Edmund Cheung
Hi , In weblogic, I set the following in the weblogic-ejb-jar.xml framework.users.usermanagersession.UserManagerHome And do I set something similar in Orion in order to get it working? Thanks, Edmund

error instantiating web-app JNDI-context, JSP -> EJB

2000-11-22 Thread Garret Wilson
I've been stuck for days trying to call a sample entity EJB from JSP. (I believe this question has been asked before on the list, but I can't find any responses.) Specifically, when calling context.lookup() from testdb.jsp, I get the following error: javax.naming.NamingException: Error instantiat

Re: Instantiate more than one session bean

2000-11-22 Thread Storm Linux User
On Wednesday 22 November 2000 11:34, you wrote: > At 09:50 22.11.00 , you wrote: > >On Tuesday 21 November 2000 12:47, you wrote: > > > >Is it possible to instatiate more than one session bean from the same > > > > class, > > > > > > > >for the same session? I'm planning to make a mullti-threaded

RE: EJB 2.0

2000-11-22 Thread Saphari.com - www.saphari.com
thanks for the response. artie Quoting Tim Drury <[EMAIL PROTECTED]>: > > Search back through the archives. There are several > examples and questions w/ answers. If that doesn't > answer your questions (and the one in your previous > post regarding 1:1), then post just the pertinent > parts

Re: EJB2.0 help

2000-11-22 Thread Saphari.com - www.saphari.com
please don't worry about responding to this post. i figured out what my problem was. artie Quoting Arthur Copeland <[EMAIL PROTECTED]>: > I am trying to learn EJB 2.0 with orion and am having > some problems getting a 1:1 dependant object to load. I > have traced it done to the dependant obje

InitialContext

2000-11-22 Thread Edmund Cheung
Hi, The following code is working in webloigc; String initialContextFactory = ConfigManager.getProperty("framework.jndi.initialContextFactory","weblogic.j ndi.TengahInitialContextFactory"); Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FAC

RE: -- Arved -- Can you please help me with servlet authentication?

2000-11-22 Thread Patrik Andersson
Title: RE: -- Arved -- Can you please help me with servlet authentication? javax.naming. .. aso instead of java.naming ? -Original Message- From: Tim Endres [mailto:[EMAIL PROTECTED]] Sent: den 22 november 2000 17:22 To: Orion-Interest Cc: Arved Sandstrom Subject: RE: -- Arved -- Can

RE: -- Arved -- Can you please help me with servlet authentication?

2000-11-22 Thread Tim Endres
> You'll understand that we are using 100% programmatic user management. Also, > I think (in your last few paras) that you are close to answering your own > question. If you've got multiple users and you cannot rely on a > jndi.properties, then by exclusion you must rely on the users to supply > t

Re: DriverManagerConnectionPoolConnection not closed,check your code! Oracle database issues

2000-11-22 Thread Lawrence Sewell
>name="test1" >class="com.evermind.sql.DriverManagerDataSource" >ejb-location="jdbc/OracleDS1" >pooled-location="jdbc/OraclePooledDS1" >xa-location="jdbc/xa/OracleXADS1" >url="jdbc:oracle:thin:@test:152

DataSourceConnection not closed

2000-11-22 Thread Daniel G. Koulomzin
Hi all, I've recently been load-testing my app, and have been getting some strange problems after between 15 minutes and an hour of tests.  My application uses EJBs that are accessed through Turbine.  I'm running RedHat 6.2, with the Sun jdk1.2.2.  The database is Sybase workgroup edition.  I'm u

RE: EJB 2.0

2000-11-22 Thread Tim Drury
Search back through the archives. There are several examples and questions w/ answers. If that doesn't answer your questions (and the one in your previous post regarding 1:1), then post just the pertinent parts of you code for us to look at. All I know that has been implemented is EJB 2.0 draf

Threads and EJB stubs

2000-11-22 Thread Daniel G. Koulomzin
Hi all,     Can multiple threads share one EJBObject?  What about one EJBHome?  Are these thread safe?     Also, what's everone's policy on caching StatelessSessionBeans?  Does your client code tend to hold a reference to a Stateless Session bean between uses, or do you get a new reference every

Re: Instantiate more than one session bean

2000-11-22 Thread Robert Krueger
At 09:50 22.11.00 , you wrote: >On Tuesday 21 November 2000 12:47, you wrote: > > > >Is it possible to instatiate more than one session bean from the same > > > class, > > > > > >for the same session? I'm planning to make a mullti-threaded servlet that > > > > you mean the same httpsession, don't

Problems with the Orion CMP primer example.

2000-11-22 Thread fresnaULL
Hi, I'm trying to deploy the Orion CMP primer example. I've follow the instructions but I've got the following error: Auto-deploying addressbook (New server version detected)... Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL error: File input/output error: ./

Re: wrong issuer in server certificate

2000-11-22 Thread Ismael Blesa Part
I am also interested on this issue. Matthias Schmitt wrote: > i've made a servercertificate signed with my own CA (using openssl). If i > connect with orion (https:\\servername) the certificate shows the wrong > issuer: > not my CA, but the server. > What is wrong here ? > > How can i

RE: -- Arved -- Can you please help me with servlet authentication?

2000-11-22 Thread Arved Sandstrom
Hi, Tim Our servlet has nothing whatsoever to do with Servlet-2.x style authentication. We only have one servlet, and our application model is not predicated on having umpteen JSPs and content pages to jump around to and set security constraints on. We don't use a jndi.properties for authenticati

RE: Collection of entity beans

2000-11-22 Thread Mike Cannon-Brookes
just use it as you would any other collection. Orion is smart enough to persist the primary keys of each entity in the relation. -mike > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Giorgio > Angiolini > Sent: Wednesday, November 22, 2000 7:48 PM

Problems with the Orion CMP primer example.

2000-11-22 Thread fresnaULL
Hi, I'm trying to deploy the Orion CMP primer example. I've follow the instructions but I've got the following error: Auto-deploying addressbook (New server version detected)... Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL error: File input/output error: ./database

Re: Instantiate more than one session bean

2000-11-22 Thread Storm Linux User
On Tuesday 21 November 2000 12:47, you wrote: > >Is it possible to instatiate more than one session bean from the same > > class, > > > >for the same session? I'm planning to make a mullti-threaded servlet that > > you mean the same httpsession, don't you? Yes, the same HttpSession ... > >each

SV: database schema mapping and MS SQL Server 7 - does the schema mapping work ? How do I make it work ?

2000-11-22 Thread Klaus . Myrseth
The easy way is to use java.util.Date instead, this maps to Datetime datatype, works for me. Klaus > -Opprinnelig melding- > Fra: Somdeth Souvanlasy [mailto:[EMAIL PROTECTED]] > Sendt:22. november 2000 11:37 > Til: Orion-Interest > Emne: database schema mapping and MS SQL Ser

database schema mapping and MS SQL Server 7 - does the schema mapping work ? How do I make it work ?

2000-11-22 Thread Somdeth Souvanlasy
Hi, The orionserver site isn't responding today, so I can't check bugzilla to see if this is an outstanding bug. Configuration Orion 1.4.0 Windows 2000 Professional Sun JDK 1.3 MS SQL Server 7 BEA Weblogic MSSQLServer 7 type 4 JDBC drivers version 5.1.0 (evaluation drivers) Situation I'm tr

wrong issuer in server certificate

2000-11-22 Thread Matthias Schmitt
i've made a servercertificate signed with my own CA (using openssl). If i connect with orion (https:\\servername) the certificate shows the wrong issuer: not my CA, but the server. What is wrong here ? How can i tell the orionserver, which CAs to accept for Clientcertificates? Thank

Re: DriverManagerConnectionPoolConnection not closed, check your code!

2000-11-22 Thread Johan Fredriksson
The error is not in the xml file but the source code. Had the error a couple of times; solved it by using a Connection conn = null; Statement stmt = null; ResultSet rs = null; try { conn = ... stmt = conn.CreateStatement(); <- don't remember if this is correct. rs = stmt.execute();

Re: Christian Sell et al.... Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-22 Thread Christian Sell
BTW: if the mapping was the problem, you should get a 404 (not found). A 500 indicates something goes wrong INSIDE the servlet - Original Message - From: "Mateo Torrealto" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, November 22, 2000 7:48 AM Subject: Chri

Re: OpenBSD

2000-11-22 Thread David Smith
I am running the latest orion on FreeBSD 4.2-STABLE, using Sun's JDK1.3 for Linux, and it works a treat. Mathias Bogaert wrote: Hello, Has anyone got Orion running on OpenBSD (www.openbsd.org), or any other BSD unix? TIAMathias Bogaert --  David Smith Software Development Manager e-Net Softwa

Collection of entity beans

2000-11-22 Thread Giorgio Angiolini
Repost for mail server problem (sorry !) Hello I have just read the nice article "Advanced Object-relational mapping" found in orionsupport.com (thank's Joe Walnes !). The following types of field can be mapped within entity beans: 1) Simple object and primitives 2) Object 3) Serializable obje

DriverManagerConnectionPoolConnection not closed, check your code!

2000-11-22 Thread Michael Maram
Hi all I am receiving the following message a number of times following multiple user concurrent hits - DriverManagerConnectionPoolConnection not closed, check your code! I am physically closing the connection after the process of each request. What does the close() method on the connec