RE: Is 1.3.8 EJB 2.0 draft complete?
Title: RE: Is 1.3.8 EJB 2.0 draft complete? Nope. Some stuff is still missing, such as QL. -Original Message- From: Jim Archer [mailto:[EMAIL PROTECTED]] Sent: den 30 september 2000 09:08 To: Orion-Interest Subject: Is 1.3.8 EJB 2.0 draft complete? Hi All... Is the implementation of the draft EJB 2.0 spec in Orion 1.3.8 complete with respect to the draft, Including EJB QL and 1-n E relationships? Thanks... Jim
Yet Another SSL Question.
On the topic of keystores, is it possible to have a 128bit key and a 56bit key installed on the same store, and have it configured as such, to allow the client to connect at 128bit, if possible, and then fall back to 56bit if not? cheers, sach
RE: What database are you using??
For serious (i.e. mission critical, large) projects, use Oracle, DB2 or Sybase. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mikko Kurki-Suonio Sent: Monday, October 02, 2000 07:51 To: Orion-Interest Subject: Re: What database are you using?? On Fri, 29 Sep 2000, Jim Archer wrote: I'm currious to know what database products people are using with Orion, open source or commerical. Also, please include any comments about problems if you have had any, or anything thats really great. Actually, we're right now in the process of evaluating DB products for a "serious" production environment. HyperSonic works fine for quick tests, but I don't feel like using it for really important stuff. So far: InterBase 6.0 for Linux. Trouble mapping the "long" datatype. Prone to spurious crashes/deadlocks. SOLID: Again, Orion refuses to map "long" correctly. Otherwise it seems to work fine. //Mikko
mapping database to cmp beans
Hi, At the moment we designed and created a database with around 19 tables. Now we want to map cmp beans to this database. Afaik I have to do this manually, creating all the beans by hand(or by ejbmaker, but it doesnt look at the database, and cannot read in the saved configuration from a previous session :( ). This means creating 3 * 19 .java files.. Is there any way to do this more easily, tools using metadata from the database for example? Thanks, Martijn -- _ Martijn van Berkum GX creative online development _ mailto:[EMAIL PROTECTED] _ http://www.gx.nl/
Re: Login System
The realisation of a authentification is described in the servlet specification. Catchword: form authentification. Gareth White wrote: Hi, I've just started doing J2EE with Orion and I'm trying to get my head around the security system on Orion. What bug have you experienced, I'm getting some weird stuff going on but it's more likely to be due to my inexperience. Cheers, Gareth. - Original Message - From: "Truong Di Ly" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, September 20, 2000 12:47 PM Subject: Login System Hi, first thanks to Magnus for one problem is fixed. But still there is a bug with my login web component. Try it! cd $orionhome/applications unzip login.zip change server.xml by adding this line: application name="login" path="../applications/login" / change default-web-site.xml by adding this line: web-app application="login" name="login-web" root="/login" /
Re: Does Orion have an FTP service?
See http://www.orionserver.com/faq/#-855510329 -Joe Walnes - Original Message - From: "Neville Burnell" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 02, 2000 7:14 AM Subject: Does Orion have an FTP service? Hi, Does orion have an FTP service? If not does anyone know of a good Java FTP server that might be used with orion? We are looking at uploading the latest .EAR etc via FTP to an NT Server running Orion, and IIS is not loaded at all right now. TIA Neville Burnell Business Manager Software
RE: What database are you using??
PostgreSQL is quite reliable and scalable too. It's not in the same category as, say, oracle or DB2, but it's on par with Sybase/SQLServer. -c -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J.T. Wenting Sent: Monday, October 02, 2000 3:27 AM To: Orion-Interest Subject: RE: What database are you using?? For serious (i.e. mission critical, large) projects, use Oracle, DB2 or Sybase. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mikko Kurki-Suonio Sent: Monday, October 02, 2000 07:51 To: Orion-Interest Subject: Re: What database are you using?? On Fri, 29 Sep 2000, Jim Archer wrote: I'm currious to know what database products people are using with Orion, open source or commerical. Also, please include any comments about problems if you have had any, or anything thats really great. Actually, we're right now in the process of evaluating DB products for a "serious" production environment. HyperSonic works fine for quick tests, but I don't feel like using it for really important stuff. So far: InterBase 6.0 for Linux. Trouble mapping the "long" datatype. Prone to spurious crashes/deadlocks. SOLID: Again, Orion refuses to map "long" correctly. Otherwise it seems to work fine. //Mikko
SV: Only one database connection used
Simon, I spoke to one of the orion guys and informed them of the problem. It seemed like it was new information to them. Sadly to say, I haven't received any more information as to if they are working on resolving it. When they do, I know that at least our application will be twice as fast. /David -Ursprungligt meddelande-Från: Simon Harris [mailto:[EMAIL PROTECTED]]Skickat: den 2 oktober 2000 00:45Till: Orion-InterestÄmne: Re: Only one database connection used David, Have you had any confirmation of this. It is causing us all sorts of problems at the moment. Regards, Simon. - Original Message - From: David Ekholm To: Orion-Interest Sent: Friday, September 29, 2000 8:27 PM Subject: Only one database connection used IdiscoveredthatOrionserveronlyusesonedatabaseconnectioninstead of a pool of connections (as configured) if accessed from a _threaded_ java application. If I switch to several java processes,I get as many connections open as I have processes running. Karl, is this a verified bug that will be addressed? /David "The Las Vegas of Online Gaming" David EkholmSystem ArchitectHammarby Kajväg 14, 120 30 Stockholmtel: +46 (0)8 55 69 67 11Mob: +46 (0)70 486 77 38fax: +46 (0)8 55 69 67 07
SV: Only one database connection used
Simon, I spoke to one of the orion guys and informed them of the problem. It seemed like it was new information to them. Sadly to say, I haven't received any more information as to if they are working on resolving it. When they do, I know that at least our application will be twice as fast. /David -Ursprungligt meddelande-Från: Simon Harris [mailto:[EMAIL PROTECTED]]Skickat: den 2 oktober 2000 00:45Till: Orion-InterestÄmne: Re: Only one database connection used David, Have you had any confirmation of this. It is causing us all sorts of problems at the moment. Regards, Simon. - Original Message - From: David Ekholm To: Orion-Interest Sent: Friday, September 29, 2000 8:27 PM Subject: Only one database connection used IdiscoveredthatOrionserveronlyusesonedatabaseconnectioninstead of a pool of connections (as configured) if accessed from a _threaded_ java application. If I switch to several java processes,I get as many connections open as I have processes running. Karl, is this a verified bug that will be addressed? /David "The Las Vegas of Online Gaming" David EkholmSystem ArchitectHammarby Kajväg 14, 120 30 Stockholmtel: +46 (0)8 55 69 67 11Mob: +46 (0)70 486 77 38fax: +46 (0)8 55 69 67 07
RE: What database are you using??
SybaseASE11.9.2forLinuxworksfine.(UsingJConnect5.2) /David "The Las Vegas of Online Gaming" David EkholmSystem ArchitectHammarby Kajväg 14, 120 30 Stockholmtel: +46 (0)8 55 69 67 11Mob: +46 (0)70 486 77 38fax: +46 (0)8 55 69 67 07
Re: Re: Only one database connection used
Simon, I spoke to one of the orion guys and informed them of the problem. It seemed like it was new information to them. Sadly to say, I haven't received any more information as to if they are working on resolving it. When they do, I know that at least our application will be twice as fast. /David "The Las Vegas of Online Gaming" David EkholmSystem ArchitectHammarby Kajväg 14, 120 30 Stockholmtel: +46 (0)8 55 69 67 11Mob: +46 (0)70 486 77 38fax: +46 (0)8 55 69 67 07
RE: EJB ClassCastException problem
Title: RE: EJB ClassCastException problem Thanks Karl. I missed the parent attribute because I've been looking at older docs in my 1.2.9 install area which don't have it. Maybe it was put in since 1.2.9. The udated docs on orionserver.com contain the parent attribute. I probably should've been more clear in my response. I really wasn't trying to say the concept of application namespace domains was a limitation in of itself. It does make sense. I was really trying to say that if you can't access or share components across apps, then that would be a limitation. The parent attribute looks like that will do what we want. I'll try it out. Hopefully my ejb-refs will work as well. -Original Message- From: Karl Avedal [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 30, 2000 7:04 AM To: Orion-Interest Subject: Re: EJB ClassCastException problem Hello Erin, Look at http://www.orionserver.com/docs/auto/attributes/parent_(server.xml_-_application).html The parent attribute is used for exactly what you want, a child application sees the objects of its parents, so you can have an application hierarchy where you have shared EJBs in the root node and more specialized in the children. By default every application has the global application as their parent (just like all Java classes inherit java.lang.Object). Example: application name=utils path=../applications/utils.ear auto-start=true/ application name=webshop path=../applications/webshop.ear auto-start=true parent=utils/ (This is in server.xml btw) The rationale behind having a domain/application based JNDI tree is the same as the rationale behind OO. You want to hide the different applications from eachother, so that they don't interfere with eachother. This is especially useful when you deploy 3rd party applications or in hosting environments when an Orion instance is possibly shared between more than one user. Regards, Karl Avedal Erin Hill wrote: I have had that same problem. Like you, I have been pulling my hair out trying to figure out how to access a component in one application from a component in another. I too stumbled upon the RMIInitialContextFactory as well but I cannot cast/narrow objects obtained via JNDI. I always get a ClassCastException. I have temporarily gotten around the problem by using reflection to call methods but it's not a solution. I think it's a bug in Orion. I believe it's a class loader issue. The object returned from JNDI and the class object you pass to narrow have different class loaders - it appears to me each application has its own class loader. I am frustrated by the fact that I cannot access beans across application domains without resorting to proprietary incantations. ejb-refs do not work either across domains - deployment fails.. I think this feature is a non-comformance of the J2EE/EJB specs. The spec says nothing about partitioning the namespace. The container should resolve the ejb-ref no matter where the referenced bean resides. Other application servers I have tried employ a flat namespace and do not have these issues. Overall I think Orion is a good product but I see application namespace domains as a limitation. I really don't see the rationale behind the design. You cannot see another apps namespace with the JNDI context provided by the container but you CAN using another context (RMIInitialContextFactory). Seems inconsistent to me. Ill be interested to see how they handle domains when they implement IIOP/CosNaming for EJB 2.0. Will C++ CORBA clients see a flat namespace?
JMS Queue's Don't work
Is anyone able to receive asynchronous messages using JMS Queue's? I'm able to receive messages synchronously using the receive method. However when using the MessageListener interface I never receive any messages. This problem apears to be for Queues only Topics work fine. If anyone has a solution would he/she please submit an example.
Client certificate authentication
Hi I need to authenticate clients with digital certificates, I have a VeriSign trial client certificate and I'm using IE 5.0. The certificate is well installed in IE. I'm working with Orion 1.2.9 and HTTPS. I'm using auth-methodCLIENT-CERT/auth-method in de login config of WEB.XML file. When I connect to the WEB site I see the follow error: 403 Forbidden Your cert's user does not have access to this resource Please, anybody could help me about this? Note: In the PRINCIPAL.XML file when I set the user that has a certificate I do the follow: user username="A name here" descriptionno description/description certificate-issuerCN = VeriSign Class 1 CA Individual Subscriber-Persona Not Validated, OU = www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)98, OU = VeriSign Trust Network, O = VeriSign, Inc./certificate-issuer certificate-serial-idI don't know/certificate-serial-id group-membership group="users"/ group-membership group="guests"/ /user In certificate-serial-id tag I've an hexa number and when I put this serial number in it, the Orion throws the follow exception: java.lang.NumberFormatException: 297D6F02EA75C1 at java.lang.Long.parseLong(Unknown Source) at java.math.BigInteger.init(Unknown Source) at java.math.BigInteger.init(Unknown Source) at com.evermind.server.gs.init(JAX) at com.evermind.server.XMLUserManager.ajf(JAX) at com.evermind.server.XMLUserManager.ajd(JAX) at com.evermind.server.XMLUserManager.bw(JAX) at com.evermind.xml.XMLConfig.br(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.update(JAX) at com.evermind.server.gw.run(JAX) at com.evermind.util.g.run(JAX) at com.evermind.util.f.run(JAX) What serial number I must to put in this tag? Thanks, Esteban
Orion Server and Ports...
Hi, When i start Orion, 2 ports r opening : 80 for www ( that is ok) 23791 for ? (Servlet Engine or something similar i guess) What is really strange and annoying, is that the port 23791 seems to accept connection from outside. Can someone clarify the use of this port and the security related to it please ? Thx in advance.
SSL and HttpServletRequest.getRequestedSessionId()
When accessing a web site configured for SSL I have noticed that calling HttpServletRequest.getRequestedSessionId() for a client that has not yet joined a session returns a non null value. The same scenario for a non-SSL site always returns a null. Any ideas why there is a difference between SSL vs. non-SSL? Thanks Eric
JSPs and Linux/UNIX permissions
ALL, (I just posted this as a "bug", but perhaps, it's just a bad setting.) Has anyone run into JSPs file-permissions issues w/ UNIX? Thanks. Definition: ORIONDIR - The distribution directory that contains orion.jar, etc. DEPLOYMENTDIR - The deployment directory that holds the config, application, document root, application, application-deployment, etc. Our goal is to divorce ORIONDIR from DEPLOYMENTDIR completely, to minimize upgrade headaches. ORIONDIR is read-only DEPLOYMENTDIR is writeable for "root" With this setup, start the server as "root": cd $ORIONDIR; java -jar orion.jar -config $DEPLOYMENTDIR/config/server.xml This results in access errors when the server try to generate the temporary .java files for .jsp pages. We have to give write permission just to $ORIONDIR (not any of its subdirectories) for the server to process JSPs correctly. It seems that the server is trying to generate the .java files directly in $ORIONDIR, and ignoring any temporary-directory settings for orion-web-app in global-web- application.xml -vince Vincent Chen eRIDE 363 Brannan Street San Francisco, CA 94107 (415) 369-9880 x215 [EMAIL PROTECTED] eRIDE - Driving Business http://www.eride.com
jms behavior
hello, I've had some trouble understanding how the orion implementation of jms works. first of all, and as some other people pointed out, we cannot specify a topic connection factory in the jms.xml file but instead we have to rely on the default one (named I think theTopicConnectionFactory, although that seems to be irrelevant). also, we don't seem to need to specify topics and a default one will be assigned. the difference with the topic connection factory is that nothing bad happens if we define topics in the jms.xml file, but we get an exception if we try to define a topic connection factory in that file. I have an application with a publisher in the ejb tier. this publisher publishes to 3 topics: A, B and C. in the web tier I have the subscribers. one subscriber subscribes to topics A and B, and a different subscriber subscribes to topic C. I defined the three topics in the jms.xml file. the behavior I noticed is that the jms implementation mangles the topics. say, the subscriber that only subscribes to topic C will also receive messages published to the other topics (my subscribers implement the MessageListener onMessage method). so my solution was to use selectors with the subscriber. for instance, for the subscriber of topic C I have to set a selector that filters out messages sent to the other topics even though those messages should never be present in topic C. the other anomalous behavior is that this only works if I set the noLocal variable in the TopicSession.createSubscriber() method to false. it should be irrelevant if I set it to false or true since my subscribers are not publishers. anyway, I was wondering if someone else found this. it took me a while to understand what was going on, and I think the implementation may not be perfect. cheers, luis
RE: Orion Server and Ports...
The 23791 port is for multi-casting I believe. Its used for clustering, but I am not sure why its opening. I would say look in /config/server.xml and see if you have a cluster-config / tag in that file. Also, in orion-web.xml, see if you have cluster id="xxx" / and lastly, see if you have in web.xml a distributable / tag. -Original Message-From: Christian Meunier [mailto:[EMAIL PROTECTED]]Sent: Monday, September 11, 2000 9:53 AMTo: Orion-InterestSubject: Orion Server and Ports... Hi, When i start Orion, 2 ports r opening : 80 for www ( that is ok) 23791 for ? (Servlet Engine or something similar i guess) What is really strange and annoying, is that the port 23791 seems to accept connection from outside. Can someone clarify the use of this port and the security related to it please ? Thx in advance.
Re: SSL and HttpServletRequest.getRequestedSessionId()
There are actually two sessions involved in SSL. The ssl session, and the http session. The ssl session is probably returning true before the http session has been instantiated. I ran into this problem with session timeouts. Make sure to use shared="true" in your secure-site.xml, or your ssl sessions will timeout at a different time than your http sessions. (after about 60-90 sec) -Lkb At 12:40 PM 10/2/00 -0500, Walker, Eric wrote: When accessing a web site configured for SSL I have noticed that calling HttpServletRequest.getRequestedSessionId() for a client that has not yet joined a session returns a non null value. The same scenario for a non-SSL site always returns a null. Any ideas why there is a difference between SSL vs. non-SSL? Thanks Eric /** * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED] * @title: CodeMonkey / COO - Robot6 Inc. * @phone: 415.345.8872 * @addr: 1177 Polk St. San Francisco, CA 94109 */
jsp.reuse.tags
hello, can someone explain what's wrong with the pet store taglibs that we need to use the switch -Djsp.reuse.tags=false when running the orion port of that demo. thanx. luis
Using Orion As a Plugin to IIS for Servlets/JSPs
Hi, Our business requirements dictate that Orion be used in conjunction with other web servers, e.g. IIS. Orion will be our servlet/JSP engine and App Server. That is, all requests will be directed to IIS and it will treat Orion as a plug-in, by sending it Servlet and JSP requests for processing. How can Orion be configured for this task? The Orion FAQ talks about integrating with Apache with Orion being the primary web server but that is not what is desired by us. I have briefly looked at the mail archives but there has been no satisfactory answer to this question and hence this request. Thanks for taking the time to reply. - John - __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/
Anyone using Orion/Apache w/ many virt. hosts?
Hi, I'm new to Orion and have been searching through the mailing list archives. But, I'm still left with a couple questions: 1. Is anyone using Orion with Apache and 50 or more Apache virtual hosts? 2. Is anyone using only Orion with 50 or more virtual hosts? 3. What is the best choice? Like many companies, we have a large number of legacy virtual hosts on Apache. We are migrating to the J2EE framework and currently selecting an app server for our needs. Thanks for your time and thougths! Keith Elliott NuRelm Internet Solutions www.nurelm.com Austin, Texas, USA __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/
RE: Using Orion As a Plugin to IIS for Servlets/JSPs
Hi, I have a question..why would you not be able to use Orion as the web server? It actually serves HTML pages as fast (if not faster) than IIS does. Its very easy to set up. -Original Message- From: John McGarett [mailto:[EMAIL PROTECTED]] Sent: Monday, October 02, 2000 3:18 PM To: Orion-Interest Subject: Using Orion As a Plugin to IIS for Servlets/JSPs Hi, Our business requirements dictate that Orion be used in conjunction with other web servers, e.g. IIS. Orion will be our servlet/JSP engine and App Server. That is, all requests will be directed to IIS and it will treat Orion as a plug-in, by sending it Servlet and JSP requests for processing. How can Orion be configured for this task? The Orion FAQ talks about integrating with Apache with Orion being the primary web server but that is not what is desired by us. I have briefly looked at the mail archives but there has been no satisfactory answer to this question and hence this request. Thanks for taking the time to reply. - John - __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/
Re: jsp.reuse.tags
Hello Luis, Let's say we have this in a JSP: foo:bar baz="123" baz2="234"/ Some text foo:bar baz="123"/ In a JSP container, tags might be reused (the tag instances are pooled), so when the tag foo:bar is used for the second time above, the optional attribute baz2 may still have the value "234" since the same instance as before is used, so when having optional attributes like above, you have to be careful. This is exactly what the pet store is doing and they assume that the tag will not be reused (that they get a clean instance every time). This probably comes from the fact that they implemented using the J2EE RI. The J2EE RI is not meant to be fast, but just to follow the spec, so that implementation does not reuse the tag instances. So when they tested the petstore on the RI it worked fine, but it did not work in containers doing this optimization. For this reason we provided a property for Orion to turn off the tag instance reuse optimization. Regards, Karl Avedal Luis M Bernardo wrote: hello, can someone explain what's wrong with the pet store taglibs that we need to use the switch -Djsp.reuse.tags=false when running the orion port of that demo. thanx. luis
Setting up jdbc with orion server
Hi all, I am still trying to desperately setup orion server for jdbc. I installed oracle 8i enterprise edition and tested jdbc connection with oracle, everything was successful. In order to setup orion server to access oracle I did the following: 1) modified data-sources.xml to look as in the following example: data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle8i" location="jdbc/Oracle8i" xa-location="" ejb-location="" connection-driver="oracle.jdbc.driver.OracleDriver" username="system" password="manager" url="jdbc:oracle:thin@misaklap:1521:trade" inactivity-timeout="30" / /data-sources 2) copied classes12.zip onto c:\orion\lib 3) The actual classpath variable is pointing to the jdbc driver in oracle's original installation which is: C:\Oracle\Ora81\jdbc\lib\classes12.zip 4) from c:\orion directory I type: 'java -jar orion.jar' and I get the following error message: 'Error initializing server: Unable to bind DataSource to' Can somebody try to help me? For the last two weeks I tried many different databases with many different JDBC drivers but I could never able to start orion server. I was successfully able to setup JDBC with weblogic, dynamo, websphere, JRun but I am still having trouble to that with orion. Am I missing a step in the above scenario? Please advise. Thanks, Misak
setting up jdbc with oracle 8i on NT
Hi all, Did anybody setup orion server to work with oracle8i? Please let me know what would data-sources.xml look like. This is what I have but it does not seem to work. data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle8i" location="jdbc/Oracle8i" xa-location="" ejb-location="" connection-driver="oracle.jdbc.driver.OracleDriver" username="system" password="manager" url="jdbc:oracle:thin@misaklap:1521:trade" inactivity-timeout="30" / /data-sources Please advise. Thanks, Misak
Re: setting up jdbc with oracle 8i on NT
I've got, as I'm sure many have, Orion working great with Oracle 8i. In my case I'm running 8iR2 on Linux. The error message you gave in the other message you posted is vague, so it's tough to diagnose from it. Though upon looking at you data-source tag you're missing a critical attribute, that being: schema="database-schemas/oracle.xml". See the original data-sources.xml for an example of it's usage. I also added the path to the JDBC driver to the application.xml's orion-application tag in the form of: library path="../../java/oracle_jdbc" / Here's what my data-source tag looks like: data-source class="com.evermind.sql.DriverManagerDataSource" name="rmedia" location="jdbc/RMediaDS" xa-location="jdbc/xa/RMediaXADS" ejb-location="jdbc/RMediaEJBDS" connection-driver="oracle.jdbc.driver.OracleDriver" schema="database-schemas/oracle.xml" username="XXX" password="XXX" url="jdbc:oracle:thin:@localhost:1521:rmedia" inactivity-timeout="30" / "Boulatian, Misak" wrote: Hi all, Did anybody setup orion server to work with oracle8i? Please let me know what would data-sources.xml look like. This is what I have but it does not seem to work. data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle8i" location="jdbc/Oracle8i" xa-location="" ejb-location="" connection-driver="oracle.jdbc.driver.OracleDriver" username="system" password="manager" url="jdbc:oracle:thin@misaklap:1521:trade" inactivity-timeout="30" / /data-sources Please advise. Thanks, Misak -- Jason Rimmer [EMAIL PROTECTED]
Re: setting up jdbc with oracle 8i on NT
this works with 8.1.5 / 8.1.6. (don't forget put classes12_1.zip into $ORION_HOME/lib ) data-source name="Content data-source" class="com.evermind.sql.ConnectionDataSource" location="jdbc/DefaultDS" pooled-location="jdbc/ContentPooledDS" xa-location="jdbc/xa/ContentXADS" ejb-location="jdbc/ContentEJBDS" url="jdbc/unipoint|jdbc:oracle:thin:content/xxx@oracle:1521:unipoint" connection-driver="oracle.jdbc.driver.OracleDriver" username="content" password="secret" schema="database-schemas/oracle.xml" / - Original Message - From: "Boulatian, Misak" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 02, 2000 8:36 PM Subject: setting up jdbc with oracle 8i on NT Hi all, Did anybody setup orion server to work with oracle8i? Please let me know what would data-sources.xml look like. This is what I have but it does not seem to work. data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle8i" location="jdbc/Oracle8i" xa-location="" ejb-location="" connection-driver="oracle.jdbc.driver.OracleDriver" username="system" password="manager" url="jdbc:oracle:thin@misaklap:1521:trade" inactivity-timeout="30" / /data-sources Please advise. Thanks, Misak --- Porfiriev Sergey [EMAIL PROTECTED]visit: www.axwell.com e-commerece portal based on orion server.
Re: Setting up jdbc with orion server
hi misak, remove the following lines and try it...(unless of course you are using xa- driver) xa-location="" ejb-location="" Orion does not accept blanks but works fine if u remove the tags. Aniket At 05:24 AM 10/3/2000, you wrote: Hi all, I am still trying to desperately setup orion server for jdbc. I installed oracle 8i enterprise edition and tested jdbc connection with oracle, everything was successful. In order to setup orion server to access oracle I did the following: 1) modified data-sources.xml to look as in the following example: data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle8i" location="jdbc/Oracle8i" xa-location="" ejb-location="" connection-driver="oracle.jdbc.driver.OracleDriver" username="system" password="manager" url="jdbc:oracle:thin@misaklap:1521:trade" inactivity-timeout="30" / /data-sources 2) copied classes12.zip onto c:\orion\lib 3) The actual classpath variable is pointing to the jdbc driver in oracle's original installation which is: C:\Oracle\Ora81\jdbc\lib\classes12.zip 4) from c:\orion directory I type: 'java -jar orion.jar' and I get the following error message: 'Error initializing server: Unable to bind DataSource to' Can somebody try to help me? For the last two weeks I tried many different databases with many different JDBC drivers but I could never able to start orion server. I was successfully able to setup JDBC with weblogic, dynamo, websphere, JRun but I am still having trouble to that with orion. Am I missing a step in the above scenario? Please advise. Thanks, Misak
RE: JavaBean with Orion Server
See the following tutorial: http://www.znerd.demon.nl/orion-primer/ You cannot communicate 'directly' with EJBs from JSPs without an intermediate layer (JavaBeans, or a EJB tag library). See the following document concerning the Orion EJB tag library: http://www.orionserver.com/tags/ejbtags/ I would, however, recommend putting as little code as possible in your JSPs, in favor of placing it in JavaBeans or Servlets. -Original Message- From: Fortino Garcia [mailto:[EMAIL PROTECTED]] Sent: Monday, October 02, 2000 11:46 PM To: Orion-Interest Subject: JavaBean with Orion Server Hi all, I just downloaded the Orion Server and I using with a JSP book and everything is working fine but now I am in a new chapter where I learning about JavaBeans but I am not able to run any JavaBeans. What Should I need to do in order to run EJB? Where should put the jsp and the html files whit ebj tags? Do I need something else to use JavaBeans? Thanks Fortino. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
RE: Using Orion As a Plugin to IIS for Servlets/JSPs
Hello, I think it is not possible - Orion isn't a plug-in, it is a server. If you wish to use another web-server (rather than Orion), you'll also need to use another JSP/Servlet engine, like Resin or something, and use Orion as a app server only. Regards, Stas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John McGarett Sent: Tuesday, October 03, 2000 2:18 AM To: Orion-Interest Subject: Using Orion As a Plugin to IIS for Servlets/JSPs Hi, Our business requirements dictate that Orion be used in conjunction with other web servers, e.g. IIS. Orion will be our servlet/JSP engine and App Server. That is, all requests will be directed to IIS and it will treat Orion as a plug-in, by sending it Servlet and JSP requests for processing. How can Orion be configured for this task? The Orion FAQ talks about integrating with Apache with Orion being the primary web server but that is not what is desired by us. I have briefly looked at the mail archives but there has been no satisfactory answer to this question and hence this request. Thanks for taking the time to reply. - John - __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/