RE: One IP - 3 Sites - 3 Domain Names
Under HTTP/1.1 it is possible to run multiple sites on port 80, from the same IP address. The host header name (ie. domain name) is used to distinguish between each site. I don't know what the support in Orion is for host header names, but also be aware that some older browsers may not work correctly if they are not HTTP/1.1 compliant. George GEORGE HOLMES TWI Interactive Media House Burlington Lane LONDON W4 2TH ENGLAND TEL: +44 208 233 5631 FAX: +44 208 233 7701 CELL: +44 7968 918813 -Original Message- From: Christof Baumgärtner [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 28, 2000 2:51 AM To: Orion-Interest Subject: Re: One IP - 3 Sites - 3 Domain Names "Duffey, Kevin" wrote: Actually, Orion has the ability to work with Virtual Domains. I forget exactly how this works, It's pretty easy. Starting with browser versions 3 the browsers included not only the URI (like it is specified in HTTP/0.9 already) but the full URL into the HTTP request. So the full hostname is contained in the HTTP request header. Virtual servers (this type of server is often called "software virtual servers") can then find out which domain to answer by parsing the HTTP headers. You can see the limitations of this neat trick by simulating a HTTP request without the full HTTP headers. Just do a telnet to all your virtual servers on port 80 (or on whatever server the port is running on) and do a GET request for a document (for example "GET /index.html"). The answer for all these requests will be the same. but you can use one IP to bind to many domain names, by setting up each domain as a virtual domain. This is much like how ISPs allow each of their clients to have their own www.mycompany.com route to their IP address, and then direct the web requests to the /~user_name directory. Orion is capable of doing this, but you'll probably have to look at the archives of emails on how to do this for sure. I am pretty sure you need to set something in the orion-web.xml and/or the /confid/web-site.xml files. -Original Message- From: Andre Vanha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 27, 2000 3:07 PM To: Orion-Interest Subject: RE: One IP - 3 Sites - 3 Domain Names As far as I know what you're trying to accomplish is impossible. A web server binds to an IP addresses. The domain names are just pointers to the same IP address. So in effect your're trying to run 3 webserver on the same exact IP. You could bind to different ports, but then your URLs would be non-standard. To do this correctly you'll need a different IP for each domain. One possibility that comes to mind, though I have no idea it will work, is to analyze the URL request in your servlet or JSP and attempt to inlcude/forward the appropriate content in your code, depending on what you find. Andre V -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford Sent: Wednesday, September 27, 2000 1:33 PM To: Orion-Interest Subject: One IP - 3 Sites - 3 Domain Names I have one physical machine with one IP address. This one ip address is associated with three domain names. Each domain name should pull up a different web-site. I currently have 3 web-sites defined in server.xml: web-site path="c:\@web\@OrionConfig\web-site-1.xml" / web-site path="c:\@web\@OrionConfig\web-site-2.xml" / web-site path="c:\@web\@OrionConfig\web-site-3.xml" / I then have three web-site-x.xml files defined. It's not clear what the value of the host and virtual-hosts attributes should be for each of these three files. I have read the docs and the faq but still can't get it to work. I tried this: In web-site-1.xml: web-site host="www.domainName1.com" In web-site-2.xml: web-site host="www.domainName2.com" In web-site-3.xml: web-site host="www.domainName3.com" And this: In web-site-1.xml: web-site host="63.74.110.162" virtual-hosts="www.domainName1.com" In web-site-2.xml: web-site host="63.74.110.162" virtual-hosts="www.domainName2.com" In web-site-3.xml: web-site host="63.74.110.162" virtual-hosts="www.domainName3.com" It is not obvious to me, based on the docs, how to set this up. Any suggestions? Dave Ford
Orion Support
Hi, Does anyone know what's up with www.orionsupport.com? I try to access the site and all I get is: "Thanks for visiting. I thought I had something to say, but I was wrong. "
Data type mapping
Hi, How does Orion handle mapping java data types to database types? Specifically, I'm having trouble mapping "long", with Solid and InterBase. I've tried "decimal(20,0)" "binary(64)" and even just "integer" as the corresponding database type, but neither database digests these without hickups. Deployment goes fine, but when you try to actually create an entity with a "long" member field, the database spews errors like SOLID Table Error 13039: Illegal assignment from type CHAR to type DECIMAL Invalid Conversion Invalid Assignment etc.
Re: Orion Support
Hello Mikko, We're not the ones running orionsupport.com but we will get back with any news on it to the list. Regards, Karl Avedal Mikko Kurki-Suonio wrote: Hi, Does anyone know what's up with www.orionsupport.com? I try to access the site and all I get is: "Thanks for visiting. I thought I had something to say, but I was wrong. "
Re: Orion Support
On Thu, 28 Sep 2000, Karl Avedal wrote: We're not the ones running orionsupport.com but we will get back with any news on it to the list. I'm aware of that, but it looks like that this is either a) a stupid joke/cracker b) the person running orionsupport has decided to call it quits, which would be a shame. However, since the "current site" doesn't even have his email address, I wondered if anyone on the list knew anything. //Mikko
URGENT: accidental stops
Hello, I've very urgent and annoying problem: Orion's web-service (or maybe whole app)just stops responding in less than 10-20 hours of not very intensive use (development, testing), but the "java -jar orion.jar" process still resides in memory. Today I've found that even process died. I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 installed. Thanks in advance. PS: There is no info in logs. Just "Server started" entries. stas@
Re: SSL - Only a few pages need SSL, does that slow things down?,
Hi all! I thought this functionality is handled by the user-data-constraintdescriptionno description/descriptiontransport-guaranteeCONFIDENTIAL/transport-guarantee/user-data-constraint but this doesn't seem to work in orion (I posted this problem without reply). Any comments from orion team?Egor Savotchkin.
New batch of documentation
Hello, To give you an update on the documentation work, today we added a few documents and put up other documentation improvements on the site: * New more thorough index page * New "debugging" document meant to help debug Orion applications, with info about logs and how to get more verbose info from Orion * New auto-generated docs for the .xml configuration files (attribute alphabetical listing and tag alphabetical listing) * Overview of the distribution (directories, files and what they are) * Overview of J2EE applications, roles, and development lifecycle * Improved CMP primer * Tools reference And a few other things. There's still much to come in the coming weeks though, documentation is high on our priority list. The added documenation will shortly be available for download in a zip, for local access. Regards, Karl Avedal
new documentation site
Hi Karl, the new orion documentation site still doesnt say much about how to set up Global server certificates could that be incorporated as Weblogic have described in detail how to install all the different type of certificates thank you cheers - Original Message - From: "Mikko Kurki-Suonio" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 11:14 AM Subject: Data type mapping Hi, How does Orion handle mapping java data types to database types? Specifically, I'm having trouble mapping "long", with Solid and InterBase. I've tried "decimal(20,0)" "binary(64)" and even just "integer" as the corresponding database type, but neither database digests these without hickups. Deployment goes fine, but when you try to actually create an entity with a "long" member field, the database spews errors like SOLID Table Error 13039: Illegal assignment from type CHAR to type DECIMAL Invalid Conversion Invalid Assignment etc.
Announcement: simple Application Generator
Hello, we have just finished our first _very_simple_ "Application Generator" from an existing database-table (with primarykey) it generates following files: --- Enterprise JavaBean (BMP) --- table.java - EJB RemoteInterface tableHome.java - EJB HomeInterface tableEJB.java - EJB Implementation tablePK.java - EJB PrimaryKey Class tableData.java - DataObject --- Jakarta_Struts Files --- EditTableAction.java - struts edit action SaveTableAction.java - struts save action TableForm.java- form bean TableHelper.java - interface to ejbean table.jsp - jsp page (not jet finished) it does not generate "plug'n play" code, you have to do _many_ things manually. but the output is very usefull to develop new struts-based ejb-applications. requirements: jdk, jakarta-ant (for building), jakarta-struts JSP/EJB/Servlet Container Database: PostgreSQL, Informix, Oracle (perhaps HypersonicSQL, ODBC) where_to_get: send me a mail, i'll send you the whole thing. bye klaus -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] "There's got to be more to life than compile-and-go."
Re: new documentation site
Hello Sanjay, Absolutely, we're open to any suggestions to improving documentation, I'll look right into that, we have not used that certificate ourselves, that's why it's been hard to say anything about it. Regards, Karl Avedal Sanjay wrote: Hi Karl, the new orion documentation site still doesnt say much about how to set up Global server certificates could that be incorporated as Weblogic have described in detail how to install all the different type of certificates thank you cheers - Original Message - From: "Mikko Kurki-Suonio" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 11:14 AM Subject: Data type mapping Hi, How does Orion handle mapping java data types to database types? Specifically, I'm having trouble mapping "long", with Solid and InterBase. I've tried "decimal(20,0)" "binary(64)" and even just "integer" as the corresponding database type, but neither database digests these without hickups. Deployment goes fine, but when you try to actually create an entity with a "long" member field, the database spews errors like SOLID Table Error 13039: Illegal assignment from type CHAR to type DECIMAL Invalid Conversion Invalid Assignment etc.
Classpath : Orion On Linux
Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
RE: methodException
This seems very strange to me: if I compile the code with the sun compiler, it doesn't generate any errors. When deploying, however, the error arises. Do you know why this "created" variable is used, and why it isn't declared? tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Karl Avedal Sent: woensdag 27 september 2000 23:48 To: Orion-Interest Subject: Re: methodException Hello Tom, We treat bad error messages as bugs, so if you could please report this to Bugzilla we'd be happy. An error in a Wrapper class usually means there's some error somewhere that Orion doesn't catch (but the compiler does). Regards, Karl Avedal Tom Klaasen wrote: Stumbled across Yet Another Obscure Error Message. Does anybody has any idea what this error message means, and what can be done about it? It seems to me that a variable is used that is not defined, but since this is generated code, I don't understand why the variable is not defined... Any help is much appreciated E:\orionjava -jar orion.jar Copying default deployment descriptor from archive at E:\orion\applications\isho p\ishop-ejb/orion/orion-ejb-jar.xml to deployment directory E:\orion\application -deployments\ishop\ishop-ejb... Auto-deploying ishop-ejb (No previous deployment found)... CustomerManagerEJB_St atefulSessionBeanWrapper3.java:68: Undefined variable: created methodException = EJBUtils.getUserException(e, !created); ^ CustomerManagerEJB_StatefulSessionBeanWrapper3.java:137: Undefined variable: cre ated methodException = EJBUtils.getUserException(e, !created); ^ CustomerManagerEJB_StatefulSessionBeanWrapper3.java:210: Undefined variable: cre ated methodException = EJBUtils.getUserException(e, !created); ^ CustomerManagerEJB_StatefulSessionBeanWrapper3.java:277: Undefined variable: cre ated methodException = EJBUtils.getUserException(e, !created); ^ 4 errors Error compiling file:/E:/orion/applications/ishop/ishop-ejb/: Syntax error in source Orion/1.2.9 initialized E:\orion ~ Tom Klaasen Software Engineer The E-corporation http://www.the-ecorp.com +32 (0)9 272 22 00 ~
RE: URGENT: accidental stops
Try to use the Sun VM. We have similar problem with IBM JDK 1.3 TK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Thursday, September 28, 2000 7:10 PM To: Orion-Interest Subject: URGENT: accidental stops Hello, I've very urgent and annoying problem: Orion's web-service (or maybe whole app)just stops responding in less than 10-20 hours of not very intensive use (development, testing), but the "java -jar orion.jar" process still resides in memory. Today I've found that even process died. I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 installed. Thanks in advance. PS: There is no info in logs. Just "Server started" entries. stas@
SV: Classpath : Orion On Linux
CLASSPATH variable is worthless in orion... You have to copy your jar to [orion]/lib directory, then it will be in your classpath automatically. Hope this helps :) Klaus Myrseth Telenor Mobil AS -Opprinnelig melding- Fra: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] Sendt: 28. september 1998 14:14 Til: Orion-Interest Emne: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: Classpath : Orion On Linux
On Mon, Sep 28, 1998, Mr Shailesh Joshi wrote: FROM WHERE ORION TAKES THE CLASSPATH ? No need to shout. Put your .jar in orion-root/lib -- Etienne BERNARD [EMAIL PROTECTED] Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Re: New batch of documentation
Karl and the rest of the Orion team, I just want to say thank you vey much for this update, it looks good (and will keep myself and many others busy for a while I suspect ;-). One small thing I noticed, this link is broken (or perhaps just hasn't been uploaded yet): http://www.orionserver.com/docs/tutorials/tools/ Thanks again, keep it coming! Chris - Original Message - From: "Karl Avedal" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 1:02 PM Subject: New batch of documentation Hello, To give you an update on the documentation work, today we added a few documents and put up other documentation improvements on the site: * New more thorough index page * New "debugging" document meant to help debug Orion applications, with info about logs and how to get more verbose info from Orion * New auto-generated docs for the .xml configuration files (attribute alphabetical listing and tag alphabetical listing) * Overview of the distribution (directories, files and what they are) * Overview of J2EE applications, roles, and development lifecycle * Improved CMP primer * Tools reference And a few other things. There's still much to come in the coming weeks though, documentation is high on our priority list. The added documenation will shortly be available for download in a zip, for local access. Regards, Karl Avedal
HTTP Tunneling
Hi All Please, explain me how to use RMI in orionserver. And I'd like to know how to start http tunneling in orionserver. Any help appreciated, Esteban Lopez
RE: URGENT: accidental stops
At 20:32 28.09.00 , you wrote: Try to use the Sun VM. We have similar problem with IBM JDK 1.3 TK just for statistics +1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Thursday, September 28, 2000 7:10 PM To: Orion-Interest Subject: URGENT: accidental stops Hello, I've very urgent and annoying problem: Orion's web-service (or maybe whole app)just stops responding in less than 10-20 hours of not very intensive use (development, testing), but the "java -jar orion.jar" process still resides in memory. Today I've found that even process died. I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 installed. Thanks in advance. PS: There is no info in logs. Just "Server started" entries. stas@ (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Error creating cart: Error creating EntityBean: User not found: ADMIN
Hi I'm using hypersonic and need to test the ejb demo product. If I start the product client there appear the following message: C:\orion\demo\ejb\product>java -classpath .;../../../orion.jar;../../../ejb.jar;../../jndi.jar ProductClient Enter the id (integer) of the product you want to add: 1 Enter the name for item 1: kuno Enter the cost for kuno: 1 Error creating cart: Error creating EntityBean: User not found: ADMIN Why it do not find the user ADMIN. Case senstitif? Thanks for all kuno -- -- http://zap.to/kuno - Homepage - http://www.eif.ch -- -- 026/ 494.19.56 - Telefon - 026/ 429.66.11 -- -- [EMAIL PROTECTED] - eMail - [EMAIL PROTECTED] --
or mapping question
Hiya, Well, another OR mapping question. Ok, I've added the three lines to my EJB, but no magic. :) Here's what I got generated in my orion-ejb-jar.xml file for the particular field of my cmp_site entity: cmp-field-mapping name="children" set-mapping table="sac.stores" primkey-mapping cmp-field-mapping name="site_number" persistence-name="site_number" / /primkey-mapping value-mapping type="com.pinnacle.ejb.cmp_store" cmp-field-mapping name="value" entity-ref home="cmp_store" cmp-field-mapping name="value" persistence-name="value" / /entity-ref /cmp-field-mapping /value-mapping /set-mapping /cmp-field-mapping I'm getting an exception: EJBException at cmp_store_ORSet200.getObjects(cmp_store_ORSet200.java:67) when I try to call any method on the set returned by getChildren(). Any ideas? It seems like the 'value' part isn't right. Should that be a list of all the cmp fields for my cmp_store object? Wow, some docs sure would be great. Are there any? If you need more information, I would happily supply! ken.
SSL certs for multiple virtual domains
Karl, I've been struggling for the last four days to get Orion to associate the correct certificates with the appropriate virtual sites, and have been completely unsuccessful. No problem in establishing a secure connection - but it's not using the correct certificate. By what mechanism does Orion associate a certificate with a virtual site??? This must be what I'm missing, but I can't find any reference to it in the documentation. Thanks for any assistance. -Dale
RE: Classpath : Orion On Linux
Title: RE: Classpath : Orion On Linux -Original Message- From: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName( ); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? You shouldn't be using Class.forName(). You should be defining a DataSource in Orion's configuration and getting that DataSource via its JNDI name and asking that DataSource for a Connection. That's the correct J2EE method of getting a database connection. FROM WHERE ORION TAKES THE CLASSPATH ? Orion's classpath only includes it's own jar files. You can't modify that. It finds your EJBs and servlets and stuff using a different mechanism to the normal Java classpath (as do most EJB servers). Ciao, Gordon
EJB QL support
Is there any in the current (1.3.8) server? john d
RE: Classpath : Orion On Linux
I guess you need to put your driver under orion-root/lib directory. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mr Shailesh Joshi Sent: Monday, September 28, 1998 4:14 PM To: Orion-Interest Subject: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: New batch of documentation
Hello Chris, Thanks! The link was wrong, it should be fixed now. Regards, Karl Avedal Chris Miller wrote: Karl and the rest of the Orion team, I just want to say thank you vey much for this update, it looks good (and will keep myself and many others busy for a while I suspect ;-). One small thing I noticed, this link is broken (or perhaps just hasn't been uploaded yet): http://www.orionserver.com/docs/tutorials/tools/ Thanks again, keep it coming! Chris - Original Message - From: "Karl Avedal" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 1:02 PM Subject: New batch of documentation Hello, To give you an update on the documentation work, today we added a few documents and put up other documentation improvements on the site: * New more thorough index page * New "debugging" document meant to help debug Orion applications, with info about logs and how to get more verbose info from Orion * New auto-generated docs for the .xml configuration files (attribute alphabetical listing and tag alphabetical listing) * Overview of the distribution (directories, files and what they are) * Overview of J2EE applications, roles, and development lifecycle * Improved CMP primer * Tools reference And a few other things. There's still much to come in the coming weeks though, documentation is high on our priority list. The added documenation will shortly be available for download in a zip, for local access. Regards, Karl Avedal
RE: Classpath : Orion On Linux
Title: RE: Classpath : Orion On Linux hi, Try putting it in the orion-root/lib directory. regards santosh s :) -Original Message- From: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] Sent: Monday, September 28, 1998 5:44 PM To: Orion-Interest Subject: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName( ); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: URGENT: accidental stops
Thursday, September 28, 2000, 12:10:07 PM, you wrote: SM Hello, SM I've very urgent and annoying problem: Orion's web-service (or maybe whole SM app)just stops responding in less than 10-20 hours of not very intensive use SM (development, testing), but the "java -jar orion.jar" process still resides SM in memory. Today I've found that even process died. SM I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 SM installed. Users of the Resin web server have reported very similar problems on their mailing list (archived at http://www.caucho.com/support/resin-interest/). Research so far seems to show that it is a threading problem in the IBM 1.3.0 JDK, which can happent on all systems, but is much more frequent with SMP. If you can, try with another JVM and see if the problem persists. -- Frank CarverEfficacy Solutions Limitedwww.efsol.com
SV: Error creating cart: Error creating EntityBean: User not found: ADMIN
Next time you start orion start it like this: java -jar orion.jar -install then choose a password for the admin user, i guess its disabled as it its when you install orion (thats why the -install parameter).. Hope this helps :) Klaus -Opprinnelig melding-Fra: Kuno Baeriswyl [mailto:[EMAIL PROTECTED]]Sendt: 28. september 2000 14:59Til: Orion-InterestEmne: Error creating cart: Error creating EntityBean: User not found: ADMINHi I'm using hypersonic and need to test the ejb demo product. If I start the product client there appear the following message: C:\orion\demo\ejb\productjava -classpath .;../../../orion.jar;../../../ejb.jar;../../jndi.jar ProductClient Enter the id (integer) of the product you want to add: 1 Enter the name for item 1: kuno Enter the cost for kuno: 1 Error creating cart: Error creating EntityBean: User not found: ADMIN Why it do not find the user ADMIN. Case senstitif? Thanks for all kuno -- -- http://zap.to/kuno - Homepage - http://www.eif.ch -- -- 026/ 494.19.56 - Telefon - 026/ 429.66.11 -- -- [EMAIL PROTECTED] - eMail - [EMAIL PROTECTED] --
What does the error - com.evermind.server.rmi.RMIConnectionExcept ion: Object reference no longer valid (Disconnected)
Title: What does the error - com.evermind.server.rmi.RMIConnectionExcept ion: Object reference no longer valid (Disconnected) Hi, This is a repost of my older message to this list about the stack trace I get when I try to return an array of Objects. I was busy for quite some time and had been able to follow it up and unfortunately nobody on the list has answered. I also found that another user also reported this trace but was not answered. I have been using orion for quite some time and am really amazed at the way it simplifies the deployment and the installation as a breeze. I had successfully convinced my team into going for orion when this error started and we were not able to solve. Unfortunately, we had to move to Weblogic :( where I did not face this problem. Could anybody shed some light for the cause of this error. The stack trace com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (Disconnected) at com.evermind.server.rmi.a2.invoke(JAX) at __Proxy2.getAllTrees(Unknown Source) at com.trigyn.apollo.servicetree.gui.STDataFetch.getAllTrees(STDataFetch.java:1 01) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.getServiceTrees(ServiceTree GUI.java, Compiled Code) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.createServiceNamePanel(Serv iceTreeGUI.java:237) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.createMainPanel(ServiceTree GUI.java:175) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.layoutComponents(ServiceTre eGUI.java:152) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.buildGUI(ServiceTreeGUI.jav a:146) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.init(ServiceTreeGUI.java: 78) at com.trigyn.apollo.servicetree.gui.ServiceTreeGUI.main(ServiceTreeGUI.java:43 4) regards santosh s :)
Re: Orion datasource.verbose output
Hello Rick, As we say in the documentation for those modes: "Also some settings may not ever be useful to you. We want to provide this information anyway since we believe that they are often useful to finding problems with j2ee applications and we let you decide whether to try them or not." They are totally unsupported and are not guaranteed to give you the info you would want. However, we will put the most useful modes into log files and make them "stable", but everything that is in those properties are provided "as is" and they might not work at all. The info you are looking for is most likely to be promoted to a jdbc log file at some point. Regards, Karl Avedal Rick Bos wrote: I do not understand some of the output from the datasource.verbose debug mode: It seems to report the pool size incorrectly: Pooled jdbc:caribou:jsqlingres://apsdev:6024/apstrain: Releasing connection Pooled COM.cariboulake.sql.JSQLConnection@16ecd30 to pool (Pool size: [Ljavax.sql.PooledConnection;@b034a0) Thanks.
Re: Classpath : Orion On Linux
What exactly do you want to do?, loading forName method. Claudio Mr Shailesh Joshi wrote: Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: SSL certs for multiple virtual domains
Karl, This is very important I too require this part please put some information on the same. - Original Message - From: "Dale M. Boresz" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 2:43 PM Subject: SSL certs for multiple virtual domains Karl, I've been struggling for the last four days to get Orion to associate the correct certificates with the appropriate virtual sites, and have been completely unsuccessful. No problem in establishing a secure connection - but it's not using the correct certificate. By what mechanism does Orion associate a certificate with a virtual site??? This must be what I'm missing, but I can't find any reference to it in the documentation. Thanks for any assistance. -Dale
behavior of max-table-name-length in oracle.xml?
If orion encounters a table name that is greater than the length allowed by the max-table-name-length parameter in oracle.xml will it truncate the length of the name to a legal value and go ahead and create the table? Or will it just skip table creation for tables with names that are too long? From a couple of tests it looks like with the link tables that orion creates (for collections of entity beans with O/R hints in the class) aren't created if the name is greater than the legal value. Is this the expected behavior or should Orion be truncating the names and then creating them? Thanks, Micah Skilling.
Re: Classpath : Orion On Linux
First, I suspect the driver you are talking about is for JDBC? Next, if yes, then your application needs to know the path to it, but typically you will setup a JDBC path statement such as this: JDBCDriver=com.inet.tds.TdsDriver This tells your application to look for the com directory [the root of the JDBC package] somewhere in classpath. I can only recommend that you make sure you are setup properly in light of this information. Jas Mr. Shailesh Joshi wrote: Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: Servlet Filters - Apache Mod_Rewrite
Mike Cannon-Brookes wrote: Guys, Has anyone thought of writing a Mod_Rewrite clone using Servlet Filters? Using something like the Jakarta ORO regex package this should be quite doable? Any reason that wouldn't work? (I've never actually used Mod_Rewrite, just read about it). Mike Yes, we've thought of it. We created a "SuperServlet" that is set up as a filter and handles all requests, handing off the requests to the appropriate code based on some parsing, etc. We didn't clone mod_rewrite, we just did the pattern matching that we specifically needed. -- Joel Shellman Chief Software Architect http://www.ants.com/90589781
Re: behavior of max-table-name-length in oracle.xml?
Micah Skilling wrote: If orion encounters a table name that is greater than the length allowed by the max-table-name-length parameter in oracle.xml will it truncate the length of the name to a legal value and go ahead and create the table? Or will it just skip table creation for tables with names that are too long? From a couple of tests it looks like with the link tables that orion creates (for collections of entity beans with O/R hints in the class) aren't created if the name is greater than the legal value. Is this the expected behavior or should Orion be truncating the names and then creating them? Thanks, Micah Skilling. I found the answer on this one (seems to always happen right after asking the question) and found some interesting behavior. It looks like Orion is truncating table names for names greater than the specified length -- as expected. What was happening in my instance is that the truncated table name happened to match the table name of a different table. For example, I have an applicant ejb with a collection of employment entity beans. Orion was creating an employment table to store the O/R information for the applicant ejb. So, when it came time to create the table for the actual employment entity bean it never got created since a table was already present. The exception I was seeing is below (which of course made me blame Oracle -- sorry Mr. Ellison) com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Database error: java.sql.SQLException: ORA-00904: invalid column name It'd be nice to have some kind of check that warns when auto-generated table names match other table names. Regards, Micah Skilling.
Re: New batch of documentation
Karl, Also the database schema link seems to have a link to a local file file:///c%7C/orion091b/orion/docs/database-schema.xml.html I would have dropped it in Bugzilla but that seemed to be confined to core app bugs... Great job. Thanks, Cory At 04:02 PM 9/28/00 +0200, Karl Avedal wrote: Hello Chris, Thanks! The link was wrong, it should be fixed now. Regards, Karl Avedal Chris Miller wrote: Karl and the rest of the Orion team, I just want to say thank you vey much for this update, it looks good (and will keep myself and many others busy for a while I suspect ;-). One small thing I noticed, this link is broken (or perhaps just hasn't been uploaded yet): http://www.orionserver.com/docs/tutorials/tools/ Thanks again, keep it coming! Chris - Original Message - From: "Karl Avedal" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 1:02 PM Subject: New batch of documentation Hello, To give you an update on the documentation work, today we added a few documents and put up other documentation improvements on the site: * New more thorough index page * New "debugging" document meant to help debug Orion applications, with info about logs and how to get more verbose info from Orion * New auto-generated docs for the .xml configuration files (attribute alphabetical listing and tag alphabetical listing) * Overview of the distribution (directories, files and what they are) * Overview of J2EE applications, roles, and development lifecycle * Improved CMP primer * Tools reference And a few other things. There's still much to come in the coming weeks though, documentation is high on our priority list. The added documenation will shortly be available for download in a zip, for local access. Regards, Karl Avedal
Re: Servlet Filters - Apache Mod_Rewrite
Has anyone thought of writing a Mod_Rewrite clone using Servlet Filters? Using something like the Jakarta ORO regex package this should be quite doable? Any reason that wouldn't work? (I've never actually used Mod_Rewrite, just read about it). I've done something similar, but filters are not required. Simply create a servlet that sends appropriate redirects then use servlet-mappings to assign it to URL's. -Joe Walnes
Re: New batch of documentation
Hello Cory, Oops, will fix right away. Regards, Karl Avedal Cory Adams wrote: Karl, Also the database schema link seems to have a link to a local file file:///c%7C/orion091b/orion/docs/database-schema.xml.html I would have dropped it in Bugzilla but that seemed to be confined to core app bugs... Great job. Thanks, Cory At 04:02 PM 9/28/00 +0200, Karl Avedal wrote: Hello Chris, Thanks! The link was wrong, it should be fixed now. Regards, Karl Avedal Chris Miller wrote: Karl and the rest of the Orion team, I just want to say thank you vey much for this update, it looks good (and will keep myself and many others busy for a while I suspect ;-). One small thing I noticed, this link is broken (or perhaps just hasn't been uploaded yet): http://www.orionserver.com/docs/tutorials/tools/ Thanks again, keep it coming! Chris - Original Message - From: "Karl Avedal" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 1:02 PM Subject: New batch of documentation Hello, To give you an update on the documentation work, today we added a few documents and put up other documentation improvements on the site: * New more thorough index page * New "debugging" document meant to help debug Orion applications, with info about logs and how to get more verbose info from Orion * New auto-generated docs for the .xml configuration files (attribute alphabetical listing and tag alphabetical listing) * Overview of the distribution (directories, files and what they are) * Overview of J2EE applications, roles, and development lifecycle * Improved CMP primer * Tools reference And a few other things. There's still much to come in the coming weeks though, documentation is high on our priority list. The added documenation will shortly be available for download in a zip, for local access. Regards, Karl Avedal
How bind message bean to a queue?
Hi; The onMessage method is not being invoked in the message bean. My message bean is coded like the ATM example for EJB 2.0, so I think the problem is with my descriptor files. I put the following in the ejb-jar.xml file. Do I need to put a special entry in some other file for the message bean, like jndi.properties file? message-driven display-namecom.hitachi.hitel.em.server.request.RequestBean/display-name ejb-namecom.hitachi.hitel.em.server.request.RequestBean/ejb-name ejb-classcom.hitachi.hitel.em.server.request.RequestBean/ejb-class transaction-typeContainer/transaction-type message-driven-destination jms-destination-typejavax.jms.Queue/jms-destination-type /message-driven-destination ejb-ref ejb-ref-namecom.hitachi.hitel.em.server.request.TestReceiver/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homecom.hitachi.hitel.em.server.request.TestReceiverHome/home remotecom.hitachi.hitel.em.server.request.TestReceiver/remote /ejb-ref resource-ref res-ref-namejms/QueueConnectionFactory/res-ref-name res-typejavax.jms.QueueConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-env-ref resource-env-ref-namejms/requestQueue/resource-env-ref-name resource-env-ref-typejavax.jms.Queue/resource-env-ref-type /resource-env-ref /message-driven
Example application
I have tried to run the test applications in Orion but can´t get them to work, forexample when I try : java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar ProductClient I get the following: Exception in thread "main" java.lang.NoClassDefFoundError: ProductClient And if I try to compile the class like this: javac -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar ProductClient.java Iget the following: ProductClient.java:28: cannot resolve symbol symbol : class ProductHome location: class ProductClient ProductHome home = (ProductHome)PortableRemoteObjectnarrow(homeObject, ProductHome.class).. If you now what I should do please respond. /Carl
(no subject)
unsuscribe begin:vcard n:García López;Eduardo tel;cell:649.46.78.58 x-mozilla-html:TRUE org:FI2 adr:;; version:2.1 email;internet:[EMAIL PROTECTED] title:Director de Iniciativas de Comercio Electrónico. x-mozilla-cpt:;-26272 fn:Eduardo García López end:vcard S/MIME Cryptographic Signature
Re: JUnit with Orion, source included
At 11:07 28.09.00 , you wrote: I wrote an extension to JUnit for testing EJB/server-side code that I think others might find useful. I've recently been bitten by the XP bug so this is the first thing I had to do :-) Basically it's a servlet that will execute test cases and spit back the results as HTML. It includes a small Ant buildfile for anyone that is interested. You can find it at http://www.infohazard.org/junitee http://www.infohazard.org/junitee great, but the link seems to be wrong. could you check? robert Enjoy :-) Jeff Schnitzer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I apologize if anyone is receiving this twice. It looks like the mailing list, including the archive, was sporadically losing traffic for a day or two. The most recent message in the archive is dated three days ago. Anyone know what's up? I seem to be receiving traffic fine at the moment. (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Re: Announcement: simple Application Generator
ishpal wrote: Hi, I'd be interested in a copy :-) attached. good luck ;) klaus -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] "There's got to be more to life than compile-and-go." ejbgen.tar.gz
Putting Orion to work just with a .ear
Dear guys, the Orion is a great product, and the new docs added is very good. By now, I have Orion working with Entities, Sessions Beans, web components, and so on. But, all is working in a structure like (from ORION_HOME, and app with name 'sample-app'): applications\sample-app\sample-app-ejb.jar applications\sample-app\sample-app-web applications\sample-app\sample-app-web.war applications\sample-app\orion applications\sample-app\sample-app-web .war exploited here and here (as specified in server.xml in deployment-directory attribute) the orion xml files. applications\sample-app\orion\orion-application.xml applications\sample-app\orion\principals.xml applications\sample-app\orion\sample-app-ejb.jar\orion-ejb-jar.xml applications\sample-app\orion\sample-app-web\orion-web.xml I would like to encapsulate all in just a .ear archive and put in applications directory, but don't want orion to explode then. Would you suggest? very thanks 4 all; Claudio Miranda
RE: JUnit with Orion, source included
Sorry about that. A small misconfiguration of my firewall (visible only from the outside, naturally) has been fixed :-) Jeff -Original Message- From: Robert Krueger Sent: Thu 9/28/2000 11:51 AM To: Orion-Interest Cc: Subject: Re: JUnit with Orion, source included At 11:07 28.09.00 , you wrote: I wrote an extension to JUnit for testing EJB/server-side code that I think others might find useful. I've recently been bitten by the XP bug so this is the first thing I had to do :-) Basically it's a servlet that will execute test cases and spit back the results as HTML. It includes a small Ant buildfile for anyone that is interested. You can find it at http://www.infohazard.org/junitee http://www.infohazard.org/junitee great, but the link seems to be wrong. could you check? robert Enjoy :-) Jeff Schnitzer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I apologize if anyone is receiving this twice. It looks like the mailing list, including the archive, was sporadically losing traffic for a day or two. The most recent message in the archive is dated three days ago. Anyone know what's up? I seem to be receiving traffic fine at the moment. (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de winmail.dat
Re: JUnit with Orion, source included
This is pretty cool...We are already using JUnit with a stand alon client, but I like this since I don't have to keep open an extra dos window, and remember what to type. I put an html page with all our unit test in fron of the servlet and can pick and choose which ones to run. Thanks! BTW, anyone know how to get a list of all classes within a package? James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate Campus Drive, Suite 2000 Louisville, KY 40223 |+ || Jason Rimmer | || [EMAIL PROTECTED]| || Sent by: | || owner-orion-interest@orion| || server.com| ||| ||| || 09/28/00 04:50 PM | || Please respond to | || Orion-Interest| ||| |+ --| | | | To: Orion-Interest [EMAIL PROTECTED] | | cc: | | Subject: Re: JUnit with Orion, source included | --| The link works fine for me. Thanks for the great tool, Jeff. Your generosity is appreciated. Robert Krueger wrote: At 11:07 28.09.00 , you wrote: I wrote an extension to JUnit for testing EJB/server-side code that I think others might find useful. I've recently been bitten by the XP bug so this is the first thing I had to do :-) Basically it's a servlet that will execute test cases and spit back the results as HTML. It includes a small Ant buildfile for anyone that is interested. You can find it at http://www.infohazard.org/junitee http://www.infohazard.org/junitee great, but the link seems to be wrong. could you check? robert Enjoy :-) Jeff Schnitzer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I apologize if anyone is receiving this twice. It looks like the mailing list, including the archive, was sporadically losing traffic for a day or two. The most recent message in the archive is dated three days ago. Anyone know what's up? I seem to be receiving traffic fine at the moment. (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de -- Jason Rimmer [EMAIL PROTECTED]
Re: Orion on Linux NOT as root
If you're OS has support for it you can set up packet filtering (aka firewalling) rules that forward packets going to the privileged port 80 to some unprivileged port, for example 8000. Then just make Orion listen on that unprivileged port. Works like a charm for me. In Linux's case I guess ipchains would be used. I can only provide instructions for FreeBSD. Markus On Thu, Sep 28, 2000 at 04:38:12PM -0400, Jim Archer wrote: Hi All... We have been developing under Orion on Windows machines, but the time came last night to start testing on Linux, our intended server platform. We installed 1.3.8 on Debian Linux and quickly discovered that it wants to run as root. We really can't allow this. I went through the list archive and saw a discussion about this issue from last April, but didn't see what the resolution was (if any). Is there now a way to run Orion on Linux not as root (ideally as user nobody) and, if so, is there any doc on this? Thanks... Jim -- Markus Holmberg | Give me Unix or give me a typewriter. [EMAIL PROTECTED] | http://www.freebsd.org/
Can Dependent objects have dependents of their own?
Hi, Can dependent objects can have their own dependent objects. When i try this in Orion it gives following error. Illegal abstract method in dependent class cart.CartItem: public abstract cart.CartItemDependent cart.CartItem.createDependent() 2. can we have relationships between dependent objects if so will it not violate the rule that we can expose the dependents object classes to only the owner EJB? Thanks Krishnan
Re: Orion on Linux NOT as root
We spent a lot of time on this too. OrionSupport.com if it comes back had a way to do it through JNDI. We've ended up doing through having a Cisco Local Director mapping ports 80 and 443 to 8080 and 8081 If you don't have the budget for a local director, you could emulate that function with a Linux box and IP-Chains, or probably an off the shelf firewall. -Lkb At 04:38 PM 9/28/00 -0400, Jim Archer wrote: Hi All... We have been developing under Orion on Windows machines, but the time came last night to start testing on Linux, our intended server platform. We installed 1.3.8 on Debian Linux and quickly discovered that it wants to run as root. We really can't allow this. I went through the list archive and saw a discussion about this issue from last April, but didn't see what the resolution was (if any). Is there now a way to run Orion on Linux not as root (ideally as user nobody) and, if so, is there any doc on this? Thanks... Jim /** * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED] * @title: CodeMonkey / COO - Robot6 Inc. * @phone: 415.345.8872 * @addr: 1177 Polk St. San Francisco, CA 94109 */
Re: Orion on Linux NOT as root
You can run Orion as a native user using some native code that is available somewher.e Unfortunatly, information on how this was done used to be on www.orionsupport.com which appears to be down. There is some info in this e-mail: http://www.mail-archive.com/orion-interest@orionserver.com/msg01696.html But I don't know where to get the native library any more. Orion team? - Original Message - From: "Markus Holmberg" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 4:46 PM Subject: Re: Orion on Linux NOT as root If you're OS has support for it you can set up packet filtering (aka firewalling) rules that forward packets going to the privileged port 80 to some unprivileged port, for example 8000. Then just make Orion listen on that unprivileged port. Works like a charm for me. In Linux's case I guess ipchains would be used. I can only provide instructions for FreeBSD. Markus On Thu, Sep 28, 2000 at 04:38:12PM -0400, Jim Archer wrote: Hi All... We have been developing under Orion on Windows machines, but the time came last night to start testing on Linux, our intended server platform. We installed 1.3.8 on Debian Linux and quickly discovered that it wants to run as root. We really can't allow this. I went through the list archive and saw a discussion about this issue from last April, but didn't see what the resolution was (if any). Is there now a way to run Orion on Linux not as root (ideally as user nobody) and, if so, is there any doc on this? Thanks... Jim -- Markus Holmberg | Give me Unix or give me a typewriter. [EMAIL PROTECTED] | http://www.freebsd.org/
RE: Orion on Linux NOT as root
You could've used ipfilter for Solaris -Original Message- From: Sach Jobb [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 28, 2000 5:43 PM To: Orion-Interest Subject: Re: Orion on Linux NOT as root We just went through this about a week ago, check out the list archives. There are a number of work arounds, since you are using linux you can use ipchains built in port forwarding to redirect port 80 to some other non privilaged port (say 8080) and then start orion as a normal user. In my situation we weren't using linux (solaris), so we through money at it... that always works. ;) We ended up using a cisco local director to handle the port forwarding for us. I'd also check the new documentation, we've discovered all kinds of _really_ interesting things in there today. sach %s/windows/linux/g On Thu, 28 Sep 2000, Jim Archer wrote: Hi All... We have been developing under Orion on Windows machines, but the time came last night to start testing on Linux, our intended server platform. We installed 1.3.8 on Debian Linux and quickly discovered that it wants to run as root. We really can't allow this. I went through the list archive and saw a discussion about this issue from last April, but didn't see what the resolution was (if any). Is there now a way to run Orion on Linux not as root (ideally as user nobody) and, if so, is there any doc on this? Thanks... Jim
RE: new documentation site
Hello, I had posted some questions about caching couple of days back. I hoped that some of these questions were answered by the new documentation. I am still missing answers to those questions. I request that some information is provided for these. 1. Does Orion implement EJB object caching? If yes, I'll appreciate some details on what has been implemented. 2. I want to find out specifically about CMP based EJB caching. When are these beans cached and what evicts them from cache? I have implemented some CMP EJBs and I see that anytime I want to access these beans, a database call is made. To clarify, my client starts up and instantiates these beans and then exits. When I restart the client, when it accesses the same beans leads to database calls. 3. Some details about session beans caching will also be appreciated. Does Orion allow that some number of session bean instances be pre-created? If yes, how can this be specified? 4. I have been able to successfully deploy some CMP EJBs on Orion server. The issue is that I have to copy the orion-ejb-jar.xml file to the application-deployments directory if I change this file. Is it possible to include this file in the jar file for EJBs. I tried adding this file to these directories in the jar file: META-INF, orion, META-INF\orion and it didn't work. I'll appreciate a response. Thanks, Deepak -Original Message- From: Karl Avedal [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 28, 2000 5:14 AM To: Orion-Interest Subject: Re: new documentation site Hello Sanjay, Absolutely, we're open to any suggestions to improving documentation, I'll look right into that, we have not used that certificate ourselves, that's why it's been hard to say anything about it. Regards, Karl Avedal Sanjay wrote: Hi Karl, the new orion documentation site still doesnt say much about how to set up Global server certificates could that be incorporated as Weblogic have described in detail how to install all the different type of certificates thank you cheers - Original Message - From: "Mikko Kurki-Suonio" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 11:14 AM Subject: Data type mapping Hi, How does Orion handle mapping java data types to database types? Specifically, I'm having trouble mapping "long", with Solid and InterBase. I've tried "decimal(20,0)" "binary(64)" and even just "integer" as the corresponding database type, but neither database digests these without hickups. Deployment goes fine, but when you try to actually create an entity with a "long" member field, the database spews errors like SOLID Table Error 13039: Illegal assignment from type CHAR to type DECIMAL Invalid Conversion Invalid Assignment etc.
has anyone a bmp example using the pooled connections
Hi Has anyone a bean managed persistance example for orion. I have looked at the ATM but there only seems to be cmps I would be very appreciative of a full .java of a bmp Thanks in advance Jeff
Jsp extends attribute not working...
Title: Jsp extends attribute not working... I can't make the extends attribute work for my jsp pages and my base class... I did everything by the spec: implemented HttpJspPage in my base classes, made all Servlet members final, but still no avail... Any thoughts? Thanks in advance, Rodrigo B. de Oliveira Technology Director ... I have a dream that my two children will one day program in a world where they will not be judged by the lack of semi-colons but by the content of their code.
RE: Classpath : Orion On Linux
The classpath is not an Orion problem but the issue with the JDK 1.2 and up. If you deploy Orion with the following command line, the classpath is taken from the Manifest file in orion.jar: java -jar orion.jar If you want that the classpath set in environment settings be used, the following command can be used: java com.evermind.server.ApplicationServer You'll have to make sure that all the files in orion directory are atleast in the classpath. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 28, 2000 5:47 AM To: Orion-Interest Subject: SV: Classpath : Orion On Linux CLASSPATH variable is worthless in orion... You have to copy your jar to [orion]/lib directory, then it will be in your classpath automatically. Hope this helps :) Klaus Myrseth Telenor Mobil AS -Opprinnelig melding- Fra: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] Sendt: 28. september 1998 14:14 Til: Orion-Interest Emne: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: Orion on Linux NOT as root
Thanks to all who replied. Acually, my original message was not too well written. I was not concerned about the port mapping issue. Thats not a big deal. We already have that issue with other processes, such as Apache, which runs as user nobody. Our issue is where to install Orion, what permissions each file should have, what user Orion should run as and so on. We would prefer Orion not run as root (we don't let Apache run as root either) and that its files not all be world writable by default (which is what happens when we unzip it onto our Debian system). Mostly, we need to know what directories Orion needs to write in, what ones it does not, which files it needs to edit and so on. Below is a note from the guy who has been working on this. He explaines our problem and the partial solution he worked up in detail: Jim, I figured out most of the pieces needed to do it, but we still have a problem. This all applies to Orion 1.3.8 running on Debian Linux 2.2 "Potato" with a 2.2.14 (patched) kernel and IBM JDK 1.3.0 build cx130-2815. 1. The main issue these people are discussing on the list is how to get the server to listen on port 80, which is not our issue. On Unix, only "root" can connect to ports below 1024. This is actually a trivial problem, since the solution is to have the Orion server listen on some other port, like 8080, and have a simple shim running as root that proxies port 80 to that other port. 2. What was causing us grief was exactly what I thought was causing us grief. The file structure is Windows-like, and it has to be shoehorned into a proper Unix structure. Basically, I split the Orion directory structure into a bunch of things that Orion itself should never have write permission for, which is now in /usr/local/share/orion and is owned by "root," and into a bunch of things that Orion itself does need write permission for, which is now in /var/local/orion and is mostly owned by the new "orion" user. It is necessary to edit the XML files in /usr/local/share/orion/config to account for this. What actually must be moved to /var/local/orion is only three directories: guardian:~$ ls -l /var/local/orion drwxr-sr-x3 orion orion4096 Jul 5 14:40 application-deployments drwxr-sr-x4 rootstaff4096 Sep 28 16:03 default-web-app drwxr-sr-x2 orion orion4096 Sep 28 03:44 log drwxr-sr-x3 orion orion4096 Jun 5 14:38 persistence I also moved "default-web-app" here, although only the "WEB-INF" directory below it needs to be writable to the server: guardian:~$ ls -l /var/local/orion/default-web-app/ drwxr-sr-x3 orion orion4096 Sep 28 16:11 WEB-INF drwxr-sr-x8 rootstaff4096 Jun 5 14:38 examples -rw-r--r--1 rootstaff2044 Sep 28 16:03 index.html (Note that the Orion server does not seem to handle CRLF end-of-line conventions, and I had to convert "index.html" to LF-only in order to get things working without errors. Of course, that is a very minor problem, but it explains why the timestamp on the file is recent.) In the "WEB-INF" directory, the "classes" subdirectory does not appear to need to be writable by the server: guardian:~$ ls -l /var/local/orion/default-web-app/WEB-INF/ drwxr-sr-x9 rootstaff4096 Jun 5 14:38 classes -rw---1 orion orion 386 Sep 28 15:37 web.xml 3. Now, this arrangement ALMOST works. The first time a particular JSP file is invoked the server tries to create directores below /var/local/orion/application-deployments/default/defaultWebApp/persistence/ examples/jsp such as "checkbox" for the checkbox example and "num" for the numberguess example, and then it tries to create x.jsp.jspCache files in these subdirectories (where "x" is the base name of the JSP file). This works only if the server is started by the "root" user, but not if the server is started by the "orion" user. Since the entire tree from /var/local/orion/application-deployments down is owned by the "orion" user who has full permissions, this makes no sense: guardian:~$ ls -l /var/local/orion/application-deployments/default/defaultWebApp/persistence/ examples/ drwx--4 orion orion4096 Sep 28 17:46 jsp Once the directory and the x.jsp.jspCache file have been created by invoking the JSP file the first time with the server started by the "root" user, ownership of this directory and its contents can be changed manually to the "orion" user and the server can then be started as the "orion" user. At that point, any JSP for which the appropriate x.jsp.jspCache file already exists will work. My guess is that the server is somehow trying to drop privilege or otherwise change its euid when it does whatever it does to build the x.jsp.jspCache files. When this fails, we get an error message (in the browser from which the JSP invocation was attempted) like this: 500 Internal Server Error Error parsing JSP page /examples/jsp/dates/date.jsp IO Error:
classes in web-inf
I have a question that I am not sure how to find an answer to. So, I hope someone can help me. I have created a (non-j2ee) application with the following directory structure: applications myApplication myApplication-ejb myApplication-web Web-inf classes com myApp beans handlers ***there are servlets in the myApp directory and classes int he beans and handlers directory I cannot seem to reach my servlets, which I know would normally go right into the classes directory. However, I packaged them as shown in the directory structure. I have edited my web.xml file as is required. Is there something else I should be doing? I haven't tried this before, but I would like it to work. Thansk for the help, Jim
Orion, clustering, and SSL
Hi, Is there any news on the ability to get a Verisign certificate yet? We are ready to order one. Also, is Orion now "stable" in the SSL/Clustering..I think Magnus said version 1.3.8 would be, but I am not sure if that is a completely stable build like 1.2.9? If not, when can we expect a stable build good for deployment that supports the clustering and SSL stuff? Lastly, do I have to do any special stuff for SSL? Other than getting the certificate to work, when a request comes in as HTTPS, does Orion do the work for me like IIS does for us now? Or do I have to do as someone suggested, make a special web-app on the SSL port and any page that needs to be secure has to run in that web-app? If so, why is it this way? I would think the web-server would handle this for me, and I wouldn't need any special port/web-app to handle SSL. Thanks.