RE: Specification for java.naming.provider.url...
If you are connecting an application client, you should use the app name you define in server.xml. When you define: application="yourApp" . / You use: ormi://.../yourApp FE On Friday, March 23, 2001 11:18 PM, Alex Paransky [SMTP:[EMAIL PROTECTED]] wrote: Orion's documentation talks about specifying the java.naming.provider.url in the following format: java.naming.provider.url=ormi://localhost/domain (application) At a different time, I was having a problem trying to connect one Orion Server (JSP) to another Orion Server using ClientApplicationInitialContextFactory, but was getting a NullPointerException with the message of "domain was null". Is this the domain it's refering to? If so, what should be the domain? Where is it configured? Is domain (application) a missprint, should it just be application? Thanks. -AP_
Using EJBs with Delphi
Hi EJB gurus, Does anynone know how to connect to an EJB from a dephi client app? Thanks in advance, Sergei Batiuk.
Re: problem running oracle with orion: 'oracle.jdbc.driver.OracleDriver' not found!
Hi, Just copy classes12.zip (Oracle jdbc driver) in your orion/lib directory - just alongside HypersonicSQL driver hsql.jar... In Orion/config/data-sources.xml u can setup the DataSource lookup along with the url,database name usr and pwd and instance of the database u ref etc... Post if u need a copy of my data-sources.xml ! denis --- Roland Dong [EMAIL PROTECTED] wrote: I tried to run oracl with orion. When I started orion I got the following error message: Error initializing server: DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDriver' not found. Where is driver supposed to be located? I have set the environment so that the class12.zip is included in the classpath. Should class="com.evermind.sql.DriverManagerDataSource" include OracleDriver? this is my data-source.xml: ?xml version="1.0"? !DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd" data-sources !-- An example/default DataSource that uses an ordinary JDBC-driver (in this case hsql) to create the connections. This tag creates all the needed kinds of data-sources, transactional, pooled and EJB-aware sources. The source generally used in application code is the "EJB" one - it provides transactional safety and connection pooling. -- data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleEJBDS" ejb-location="jdbc/Oracle" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" password="tiger" url="jdbc:oracle:thin:@uxb.wiu.edu:1521:uxora" inactivity-timeout="30" / /data-sources Please help! Roland __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: Using EJBs with Delphi
On the client side and in Delphi u can wrap the rmi calls around the client stub to resolve the jndi lookups.This works ok but was too much work for a small contract dev team. For increased productivity (time to market) we've decided to install openldap (opensource) and mapped the entry of our ejb home. From the client side we just make calls to the ldap and resolve the entry type cast back to the object needed. This works great for us when dealing with non CMP object and stateless request. ClientSide MiddleTier ServerSide Client || ldap-|ejbServer || OracleBackEnd Postgresql. For the transaction part of our system and deal with our client legacy systems we represented our transactions in XML and supplied bespoke DTDs to address our client formatting issues. Our parsers get the request from the Delphi app and ship that request as a XML document-request with specific http header to specify for inbound or outbound request.On header digest the parser resolve the middle tier resources needed to process the request. This system handle our cmp based object/transactions. That's it... denis --- Sergei Batiuk [EMAIL PROTECTED] wrote: Hi EJB gurus, Does anynone know how to connect to an EJB from a dephi client app? Thanks in advance, Sergei Batiuk. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: help for what ?
--- elton [EMAIL PROTECTED] wrote: help __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: problem running oracle with orion: 'oracle.jdbc.driver.OracleDriver'not found!
Add the jar/zip to the orion lib folder. On Fri, 23 Mar 2001, Roland Dong wrote: I tried to run oracl with orion. When I started orion I got the following error message: Error initializing server: DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDriver' not found. Where is driver supposed to be located? I have set the environment so that the class12.zip is included in the classpath. Should class="com.evermind.sql.DriverManagerDataSource" include OracleDriver? this is my data-source.xml: ?xml version="1.0"? !DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd" data-sources !-- An example/default DataSource that uses an ordinary JDBC-driver (in this case hsql) to create the connections. This tag creates all the needed kinds of data-sources, transactional, pooled and EJB-aware sources. The source generally used in application code is the "EJB" one - it provides transactional safety and connection pooling. -- data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleEJBDS" ejb-location="jdbc/Oracle" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" password="tiger" url="jdbc:oracle:thin:@uxb.wiu.edu:1521:uxora" inactivity-timeout="30" / /data-sources Please help! Roland
persistance
I have this problem with session beans. I have certain objects which I want to be persistant across all session beans. One approach is to use an entity bean. But that's a little overkill. These are several xml files which I use to setup some of the session beans properties, but they are not expected to change. Parsing the xml files each time a session is created is another approach. But that gives me the *lag time* during the parsing, and slows down my application. Is there another alternative? Can I load a bean each time the server is restarted, or when an event occurs (say, the *datetime* changes on the file)? Has anybody else faced this problem and solved it? regards, Elephantwalker
RE: persistance
why dont you create a class that parses them and another class that keeps the results in member variables... you could then serialize the class with the results. check the file dates whenever you need to get the results and reparse if necessary, otherwise just reload the serialized class. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker Sent: Saturday, March 24, 2001 10:40 PM To: Orion-Interest Subject: persistance I have this problem with session beans. I have certain objects which I want to be persistant across all session beans. One approach is to use an entity bean. But that's a little overkill. These are several xml files which I use to setup some of the session beans properties, but they are not expected to change. Parsing the xml files each time a session is created is another approach. But that gives me the *lag time* during the parsing, and slows down my application. Is there another alternative? Can I load a bean each time the server is restarted, or when an event occurs (say, the *datetime* changes on the file)? Has anybody else faced this problem and solved it? regards, Elephantwalker