RE: support EJB2.0 or not?
Hi Jeff... Thats odd. I don't have cmp-version 2.x /cmp-version specified anywhere in my descriptor. Nor do I have any indication in my application.xml file that it should use EJB 2.0. And, as you know, I also have a bunch of EJB 2.0 CMP entity beans. I started my ejb-jar.xml file by copying the one from the ATM sample. It does not have that either. There is nothing in the server.xml file about it. So I wonder, how does Orion it know? I assumed it guessed by looking at the code, so prehaps he should post the code for his entity bean as well?. Jim PS - Did you know that whatever you use for a mail server routinely has trouble accepting mail? I always get the 4 hour can't send warning from my outgoing mail server. --On Wednesday, October 18, 2000 10:12 PM -0700 Jeff Schnitzer [EMAIL PROTECTED] wrote: No, you don't need to specify the new DOCTYPE. I haven't, and I'm making extensive use of EJB2.0 beans. Tim, you probably are missing something important in the deployment descriptor. It's hard to say what without seeing it. Do you have cmp-version 2.x /cmp-version in your entity block? You should post your descriptor if you would like further help. Jeff -Original Message- From: John D'Ausilio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 4:59 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? I believe the difference is in which dtd you specify in the deployment descriptor DOCTYPE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Drury Sent: Wednesday, October 18, 2000 5:21 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? My guess is the Orion is assuming my EJB is a 1.1 entity bean. What tell Orion that the bean is a 2.0 bean? Perhaps that is where my mistake lies. -tim -Original Message- From: John D'Ausilio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 3:28 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? You need to examine your deployment descriptor and class/interface defs .. there are lots of rules to follow, and they're easy to miss. I have CMP beans and dependent objects in various types of relationships all running just fine, but I've spent many an hour trying to find mistakes evidenced by errors such as yours. Go through the contract in section 9 of the spec, and assume nothing :) (I wish I could remember just which mistake it was that caused that problem, but I cant) jd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Drury Sent: Wednesday, October 18, 2000 12:18 PM To: Orion-Interest Subject: support EJB2.0 or not? When I try to write a 2.0 compliant entity bean: public abstract class ContactBean implement EntityBean { public abstract void setName(String s); public abstract String getName(); ... } Orion throws the error (at deployment): ... Bean class com.tfc.ejb.ContactBean must not be declared abstract So what did I do wrong? Does Orion 1.3.8 or 1.4.0 support EJB 2.0 entity beans like the web page advertises or not? -tim
customize finder method
Hi all, I have try to customize thea findBy method in one of my Bean in the following. finder-method query="select catname,description from cat_ejb_Category where $description like '%$1%'" partial="false" !-- Generated SQL: "select catname,description from cat_ejb_Category where cat_ejb_Category.description like '%?%'" -- method ejb-namecat.ejb.Category/ejb-name method-namefindByDesc/method-name method-params method-paramjava.lang.String/method-param /method-params /method /finder-method However when I try to execute the findBy method, I got the following exception: com.evermind.server.rmi.OrionRemoteException: Database error: ORA-01006: bind variable does not exist Did anyone know what went wrong in my sql, thx Leung
I hate guest
Some variant of this has got to be one of the top five questions asked on this list, and it has never been answered. I really, really, really need a simple answer: How do I assign security roles to "guest"? Is it even possible? No matter what I put in the various principals.xml files (and believe me, I've tried just about everything) I can't seem to allow the unauthenticated user to call an EJB method. It's driving me insane. My girlfriend tells me that while sleeping I thrash about mumbilng "com.evermind.server.rmi.OrionRemoteException: guest is not allowed to call this EJB method..." I'm not by nature a violent person, but if I ever meet this "guest", I'm going to reach out and throttle him :-) I have a reasonably straightforward system which represents users as entity beans and allows anyone to connect to the system and create an account. Thus, there must be a moment in time when the user must interact with the EJB system to create the entity bean *before* he or she can be logged in. I want to grant "guest" access to a single method on a single session bean. Why can't I seem to do this? I can't imagine that this pattern has not been implemented a bazillion times already. I was able to get everything working before by commenting all security-related material out of my EJBs' deployment descriptors (thus leaving the system wide open). Now I'm ready to put security back into the system, but the web-application runAs tag doesn't seem to be implemented yet. So I want to give a limited security role to "guest". Heeelp! Thanks, Jeff Schnitzer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: customize finder method
Actually it makes more sense to place the % in the finder method as it abstracts the SQL from the underlying code. A developer working with entity beans should never need to use any SQL (even if it only is one character). The reason the attempted finder method isn't working is to do with how JDBC prepared statements work. To fix the problem, in your finder-method tag in the deployment descriptor, replace: like '%$1%' ... with ... like '%' + $1 + '%' -Joe Walnes - Original Message - From: "DeVincentiis Giustino" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 11:59 AM Subject: R: customize finder method Hi Leung, You should'nt use the '%' symbols in the finder definition, instead you should attach them to the parameter you pass to the finder method. i.e. finder definition: finder-method query="select catname,description from cat_ejb_Category where $description like $1" finder calling: findBy...("%" + description + "%"); Hope this help Giustino De Vincentiis -Messaggio originale- Da: Yeung Man Leung [mailto:[EMAIL PROTECTED]] Inviato: giovedì 19 ottobre 2000 9.57 A: Orion-Interest Oggetto: customize finder method Hi all, I have try to customize the a findBy method in one of my Bean in the following. finder-method query="select catname,description from cat_ejb_Category where $description like '%$1%'" partial="false" !-- Generated SQL: "select catname,description from cat_ejb_Category where cat_ejb_Category.description like '%?%'" -- method ejb-namecat.ejb.Category/ejb-name method-namefindByDesc/method-name method-params method-paramjava.lang.String/method-param /method-params /method /finder-method However when I try to execute the findBy method, I got the following exception: com.evermind.server.rmi.OrionRemoteException: Database error: ORA-01006: bind variable does not exist Did anyone know what went wrong in my sql, thx Leung
RE: Oracle on Orion
What is the nature of the console errors? That is, when you run Orion the first time around, you'll get your auto-create messages, success or failure. Should be quite revealing. I initially suspected table name length, but some of those that you say succeed seem to be no shorter than some that fail, so without an idea of what the messages say... FWIW we routinely use Oracle, and some of the tables are autocreated. Works OK. Arved Sandstrom -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris EvansSent: Wednesday, October 18, 2000 7:15 PMTo: Orion-InterestSubject: Oracle on OrionHey, Has anybody been successful in deploying EJBs on Orion to an Oracle database? I'm having trouble getting Orion to auto create tables in Oracle. It seems to skip certain table names in the ejb-jar.xml file I use. The tables it creates consistently are Category, Item and Note. Here's the file: ?xml version="1.0"? !DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd' ejb-jar enterprise-beans entity descriptionGenerates globally unique identifiers by combining the identity of a given GUIDFactory with a generated value unique among all values generated by the given GUIDFactory./description display-nameGUID_Factory_Component/display-name ejb-nameGUIDFactory/ejb-name homecom.canlink.components.base.GUIDFactoryHome/home remotecom.canlink.components.base.GUIDFactory/remote ejb-classcom.canlink.components.base.GUIDFactoryBean/ejb-class persistence-typeContainer/persistence-type prim-key-classcom.canlink.components.base.GUIDFactoryPK/prim-key-class reentrantFalse/reentrant cmp-field field-namefactoryID/field-name /cmp-field cmp-field field-namecurrentObjectID/field-name /cmp-field /entity entity descriptionPersistent Business Object representing an ordered list of products/description display-nameCatalog_Component/display-name ejb-nameCatalog/ejb-name homecom.canlink.components.entities.catalog.CatalogHome/home remotecom.canlink.components.entities.catalog.Catalog/remote ejb-classcom.canlink.components.entities.catalog.CatalogBean/ejb-class persistence-typeContainer/persistence-type prim-key-classcom.canlink.components.base.EntityPK/prim-key-class reentrantFalse/reentrant cmp-field field-nameidentity/field-name /cmp-field cmp-field field-namename/field-name /cmp-field cmp-field field-nameorganizationIdentity/field-name /cmp-field cmp-field field-nameownerIdentity/field-name /cmp-field cmp-field field-namecreationDate/field-name /cmp-field cmp-field field-namelayout/field-name /cmp-field cmp-field field-namestatus/field-name /cmp-field ejb-ref ejb-ref-nameejb/GUIDFactory/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.canlink.components.base.GUIDFactoryHome/home remotecom.canlink.components.base.GUIDFactory/remote ejb-linkGUIDFactory/ejb-link /ejb-ref /entity entity descriptionPersistent Business Object representing a grouping of catalog entries/description display-nameCategory_Component/display-name ejb-nameCategory/ejb-name homecom.canlink.components.entities.category.CategoryHome/home remotecom.canlink.components.entities.category.Category/remote ejb-classcom.canlink.components.entities.category.CategoryBean/ejb-class persistence-typeContainer/persistence-type prim-key-classcom.canlink.components.base.EntityPK/prim-key-class reentrantFalse/reentrant cmp-field field-nameidentity/field-name /cmp-field cmp-field field-nametitle/field-name /cmp-field cmp-field field-namedescription/field-name /cmp-field cmp-field field-nameextendedDescription/field-name /cmp-field cmp-field field-nameimage/field-name /cmp-field cmp-field field-namethumbnail/field-name /cmp-field cmp-field field-namecreationDate/field-name /cmp-field /entity entity descriptionPersistent Business Object representing a products Note/description display-nameNote_Component/display-name ejb-nameNote/ejb-name homecom.canlink.components.entities.note.NoteHome/home remotecom.canlink.components.entities.note.Note/remote ejb-classcom.canlink.components.entities.note.NoteBean/ejb-class persistence-typeContainer/persistence-type prim-key-classcom.canlink.components.entities.note.NotePK/prim-key-class reentrantFalse/reentrant cmp-field field-nametitle/field-name /cmp-field cmp-field field-namedescription/field-name /cmp-field cmp-field field-namecreationDate/field-name /cmp-field /entity entity
RE: DTD for orion-ejb-jar?
I think that this is because EJB 2.0 is in draft stage, then the url for the dtd is not valid and Spy cannot found the dtd but orion uses it internaly. In ORION.JAR there are dtd files, you can extract this files and change the url of the XML file to point to this files and use Spay to check your dployment descriptor then you must restore the original url. There are diferences between SUN tags and Orion tags. -Original Message- From: John D'Ausilio [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 6:28 PM To: Orion-Interest Subject: RE: DTD for orion-ejb-jar? You are correct, but that was not what I asked about :) orion-ejb-jar.dtd is broken (rather than ejb-jar.dtd) .. if you deploy a message-driven bean, and try and validate the deployed file (in a validating editor like Spy), the dtd lacks (at least) the message-driven-deployment entity definition -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lopez Esteban Sent: Wednesday, October 18, 2000 2:15 PM To: Orion-Interest Subject: RE: DTD for orion-ejb-jar? In orion 1.4.0 there is a dtd for EJB 2.0 and there is an example of message-driven bean (ATM) -Original Message- From: John D'Ausilio [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:43 AM To: Orion-Interest Subject: DTD for orion-ejb-jar? Is there a more up-to-date version of this DTD somewhere? The one referenced in the xml dosn't know anything about EJB2 stuff, like message-driven-deployment, or query tag in CMP finder-method tag jd
orionsupport.com attempting to ping my system???
Can anyone explain why I received multiple attempts to connect to my system on port 113 (NetBIOS, right?) from orionsupport.com immediately after my browsing some information on that site and orionserver.com? __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
RE: customize finder method
I agree Joe, but can you tell me how did you find out about this? I had the same problem long time ago and I end up with Giustino's solution! Just want to learn how to find the best answer to my questions. :) Amir -Original Message- From: Joe Walnes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 7:17 AM To: Orion-Interest Subject: Re: customize finder method Actually it makes more sense to place the % in the finder method as it abstracts the SQL from the underlying code. A developer working with entity beans should never need to use any SQL (even if it only is one character). The reason the attempted finder method isn't working is to do with how JDBC prepared statements work. To fix the problem, in your finder-method tag in the deployment descriptor, replace: like '%$1%' ... with ... like '%' + $1 + '%' -Joe Walnes - Original Message - From: "DeVincentiis Giustino" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 11:59 AM Subject: R: customize finder method Hi Leung, You should'nt use the '%' symbols in the finder definition, instead you should attach them to the parameter you pass to the finder method. i.e. finder definition: finder-method query="select catname,description from cat_ejb_Category where $description like $1" finder calling: findBy...("%" + description + "%"); Hope this help Giustino De Vincentiis -Messaggio originale- Da: Yeung Man Leung [mailto:[EMAIL PROTECTED]] Inviato: giovedì 19 ottobre 2000 9.57 A: Orion-Interest Oggetto: customize finder method Hi all, I have try to customize the a findBy method in one of my Bean in the following. finder-method query="select catname,description from cat_ejb_Category where $description like '%$1%'" partial="false" !-- Generated SQL: "select catname,description from cat_ejb_Category where cat_ejb_Category.description like '%?%'" -- method ejb-namecat.ejb.Category/ejb-name method-namefindByDesc/method-name method-params method-paramjava.lang.String/method-param /method-params /method /finder-method However when I try to execute the findBy method, I got the following exception: com.evermind.server.rmi.OrionRemoteException: Database error: ORA-01006: bind variable does not exist Did anyone know what went wrong in my sql, thx Leung
Re: customize finder method
I agree Joe, but can you tell me how did you find out about this? I had the same problem long time ago and I end up with Giustino's solution! Just want to learn how to find the best answer to my questions. Figured it out :-) If $1 is a String, it is escaped and quoted before putting it in the SQL statement. So if $1 = "Joe's Test", it gets interpolated as 'Joe\'s Test'. Therefore: like '%$1%' -- like '%'Joe\'s Test'%' (invalid SQL) like '%' + $1 + '%' -- like '%' + 'Joe\'s Test' + '%' (valid SQL) -Joe Walnes
Useful taglibs
I'm looking for a free taglib or java package that produces graphs for the web (in this case). There are some of them out there at jars.com for example, but which one do you guys recommend? Any experience? /David
Orion under Unix archive
When I asked the question if Orion server processes can be run as someone other then root (under Solaris) and how, one reply mentioned that there was a big discussion regarding this question, and to check the archive files. I have done that but couldn't find the discussion. Can anyone point me to where I can find the archive file entry discussing this question before I brought it up again?
Re: Oracle on Orion
Hi! Is there any error message during deploy? Orion stops the auto-creation process if there is any SQLException. I also found that Orion don't create tables for beans that where already deployed, even if you drop them. -- Best regards, Rafaelmailto:[EMAIL PROTECTED]
Re: userThreads + calling EJBs from outside orion.
Jeff, the junitee.zip on the page referenced below seems to be broken (9k size?). -Original Message- From: Jeff Schnitzer [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Dienstag, 17. Oktober 2000 22:57 Subject: RE: userThreads + calling EJBs from outside orion. Why not test from within Orion? You might want to look at http://www.infohazard.org/junitee http://www.infohazard.org/junitee for a testrunner, servlet, and tutorial for using JUnit with Orion. If you have any trouble with the site, let me know and I'll mail you a copy of the zipfile. Jeff Schnitzer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Greg Matthews [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 11:11 PM To: Orion-Interest Subject: userThreads + calling EJBs from outside orion. i'm trying to create a dos shell program that i can use to test EJB's running inside orion.
Re: JBuilder + Orion
However, JPDA is only available with the professional (non-free) version of JBuilder -Original Message- From: Russ White [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Mittwoch, 18. Oktober 2000 22:18 Subject: RE: JBuilder + Orion Probably because together is stepping on your system properties. JPDA debugging is much easier. When I develop with TogetherJ I use JBuilder to do my debugging(But you could use many other tools). I have a JBuilder project that includes the Together project. Then I can debug using the JPDA. Very slick. BTW Together rocks, but I have never tried using JPDA directly with it. I will have to investigate that. If I find a way I will post it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Pontbriand Sent: Wednesday, October 18, 2000 10:45 AM To: Orion-Interest Subject: Re: JBuilder + Orion - Original Message - And for what it's worth, setting up JProbe to run Orion is about as simple... Arved Sandstrom -Original Message- - Adding orion.jar and ejb.jar to the required libraries of the project properties 'paths' tab. - Setting the main class to 'com.evermind.server.ApplicationServer' and the VM parameters to '-Duser.dir=c:\orion' on the 'run' tab. Sven E. van 't Veer Unfortunately, when set up pretty much exactly as mentioned but in Together 4.1 (www.togethersoft.com), Orion chokes thusly: com.canlink.components.services.ProducerServicesException: catalog creation failed: Database error: File input/output error: ./database/defaultdb.properties; nested exception is: java.sql.SQLException: File input/output error: ./database/defaultdb.properties; --- nested com.evermind.server.rmi.OrionRemoteException: Database error: File input/output error: ./database/defaultdb.properties; nested exception is: java.sql.SQLException: File input/output error: ./database/defaultdb.properties at ProducerServices_StatelessSessionBeanWrapper3.createCatalog(ProducerServices _StatelessSessionBeanWrapper3.java:92) at com.canlink.catalog.CreateCatalogAction.perform(CreateCatalogAction.java:62) at org.apache.struts.action.ActionServlet.processActionInstance(ActionServlet.j ava:794) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:702) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:332) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at com.evermind.server.http.d3.so(JAX) at com.evermind.server.http.d3.sm(JAX) at com.evermind.server.http.ef.su(JAX) at com.evermind.server.http.ef.dn(JAX) at com.evermind.util.f.run(JAX) The '-Duser.dir=c:\orion' JVM argument is set correctly and the defaultdb.properties file is in the right place and perfectly usable to Orion when it is run outside of Together. Any ideas as to why this happens only when Orion is run within Together? P.Pontbriand Canlink Interactive Technologies
Shutdown sequence not working
I am a new Orion user, and have been studying the mail archives and documentation trying to get this thing figured out. One of my main concerns was that I did not know how to shut Orion down gracefully. I read the bit about using java -jar admin.jar ormi://localhost/ admin 123abc -shutdown but that does not work for me. I get an error saying that there are not enough arguments, and then I get a usage message. When I look at the usage message, my command appears to be correct. What is the problem here??? I have even put the full name of the rmi server, along with the port, but that does not work either. Also, what is the default document root for Orion? For example, with apache, it's $APACHE_HOME/htdocs. What's the standard root for Orion? I tried setting the document-root tag in my orion-web.xml file, but that munged everything up... Any and all help would be appreciated. -- Andrew Kidder L3 SW/Support Engineer, IBU Tivoli Systems 512-436-4544 [EMAIL PROTECTED] http://www.tivoli.com
JSP char code
I have JSP files with Chinese character in it, I have no problem have them run correctly in Tomcat, but when move them to orion, all the Chinese characters are all messed up. Anyone has any idea. Yes, I have %@ page contentType="text/html; charset=gb2312" % to indicating that I am using Chinese code set in each JSP file. Hou Yunfeng __ ==ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ http://sms.sina.com.cn/
Re: Orion under Unix archive
Hi, try searching the archive for native.user regards, jochen strunk At 09:44 19.10.2000 -0500, you wrote: When I asked the question if Orion server processes can be run as someone other then root (under Solaris) and how, one reply mentioned that there was a big discussion regarding this question, and to check the archive files. I have done that but couldn't find the discussion. Can anyone point me to where I can find the archive file entry discussing this question before I brought it up again? (-) Jochen Strunk (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665402, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Question
What is the default error log on Orion. For example, if I user 'System.err.println', where is this going to. Do I need to initialize this through the System class or does Orion default it somewhere. Thanks, Andy
Problem with applets
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We currently have a problem using Orion with applets on both IE and Netscape (JRE 1.3.0-C). If we, without exiting the browser, 1. Start an applet which does a JNDI lookup 2. Close the browser window containing the applet 3. Start the applet again, then all of these occur: a) Java Plug-in hangs b) IE hangs / Netscape refuses to show the applet If we attempt to do this on an applet with the JNDI lookup removed, everything works fine. We are wondering, has anyone else tried to use Applets with Orion? Did you experience the same problems we have, or did it work fine? We are not sure if there is some problem with our setup or whether there is a problem in orion.jar. BTW our applet EMBED has ARCHIVE=orion.jar, and uses Orion's classes to do the lookup. Any help will be greatly appreciated! We are kind of stuck! yours, Christian Tellefsen -BEGIN PGP SIGNATURE- Version: PGP Personal Privacy 6.5.8 iQA/AwUBOe8PISZr3JnfcXIbEQIzDwCdGshaWs5YViq+tc7wLCWkmFqWQosAn2xj 4bi/ClD0uquCrFCFbAo2sEwq =2upp -END PGP SIGNATURE-
RE:[Re: 2 many messages - News Server needed. - Or we could split]
I vote for email... IMHO, If you work for a company that doesn't have email and a POP or IMAP server then perhaps you should work on that instead. If it does you should be using your work email address, rather than a personal domain, if your Orion use is work related. It looks like you're running your polozoff.com mail server off an ATT DSL connection; consider using procmail or something similar to forward a copy of orion-interest mail to your work email address. Configuring and running a news server (been there) isn't as easy as it might seem, particularly if you're concerned about security, the periodic news DOS attacks, spam, etc. If the newsgroup is publicly fed, or the spammers stumble across the server (they will), you're broadcasting all our addresses out to the spammer community. Besides, the Orion team's resources would be much better spent on documentation. Otherwise they're going to fail and this list won't matter anyway. Kirk BTW, ejb-interest seems to have died after some clueless idiot started resending the last couple month's posts back to the list. At 10:01 AM 10/19/00 -0500, you wrote: I don't agree. A newsgroup is a better way of categorizing topics. If you don't believe me take a look at the Weblogic and Toplink newsgroups. Mailing lists are good for simple discussions. Filtering emails is not a reasonable solution for topical categorization of messages. Especially if you have to use a web based email client at work (because of a firewall) and have a stand alone client at home. Whereas a newsgroup always contains a set hierarchy, whether you access from deja.com or a stand alone client. -Alexandre On Thu, 19 Oct 2000 09:53:00 +0200 Robert Krueger [EMAIL PROTECTED] wrote: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Could not agree more. don't any of you subscribe to other tech lists? I'm surprised that there are people using orion that are not subscribed to ejb-interest (excellent list and a must for people working with ejb professionally IMHO) which has at least as much traffic as this one here. Please learn how to use a mail client with filters and let's deal with a high volume as soon as there is something to deal with and let's not start a religious war on newgroup vs. mailingl ist (I'm pro mailing list btw ;-)). the negative side effects (people not knowing where to look, crossposting etc.) would clearly outweight the benefits of splitting up the list IMHO. robert At 19:21 18.10.00 , you wrote: IMO, the mailing list is just fine. If there are too many messages for your inbox, then you should filter it away. All the popular mail clients will handle this. snip -- David S. Kenzik [EMAIL PROTECTED] - http://kenzik.com Original Music - http://mp3.com/text Joseph B. Ottinger said... It's quite feasible for me to set up a news server (nntp, usenet style) on my server if that's a viable solution. It'll take me a little bit of time, as I'm not exactly familiar with running INN, but I can figure it out. On Wed, 18 Oct 2000, Duffey, Kevin wrote: I would agree too. I think if you split the list into ejb and web, it might snip -Original Message- From: Miles Daffin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 9:51 AM To: Orion-Interest Subject: Re: 2 many messages - News Server needed. - Or we could split the list Actually, I think the mail list is fine. I use a filter to move these messages into their own folder. Good idea. snip --- Joseph B. Ottinger [EMAIL PROTECTED] (-) Robert Krüger Kirk Yarina [EMAIL PROTECTED]
RE: JBuilder + Orion
Professional and enterprise actually. :) -Original Message- From: Christian Sell To: Orion-Interest Sent: 10/19/00 7:29 AM Subject: Re: JBuilder + Orion However, JPDA is only available with the professional (non-free) version of JBuilder -Original Message- From: Russ White [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Mittwoch, 18. Oktober 2000 22:18 Subject: RE: JBuilder + Orion Probably because together is stepping on your system properties. JPDA debugging is much easier. When I develop with TogetherJ I use JBuilder to do my debugging(But you could use many other tools). I have a JBuilder project that includes the Together project. Then I can debug using the JPDA. Very slick. BTW Together rocks, but I have never tried using JPDA directly with it. I will have to investigate that. If I find a way I will post it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Pontbriand Sent: Wednesday, October 18, 2000 10:45 AM To: Orion-Interest Subject: Re: JBuilder + Orion - Original Message - And for what it's worth, setting up JProbe to run Orion is about as simple... Arved Sandstrom -Original Message- - Adding orion.jar and ejb.jar to the required libraries of the project properties 'paths' tab. - Setting the main class to 'com.evermind.server.ApplicationServer' and the VM parameters to '-Duser.dir=c:\orion' on the 'run' tab. Sven E. van 't Veer Unfortunately, when set up pretty much exactly as mentioned but in Together 4.1 (www.togethersoft.com), Orion chokes thusly: com.canlink.components.services.ProducerServicesException: catalog creation failed: Database error: File input/output error: ./database/defaultdb.properties; nested exception is: java.sql.SQLException: File input/output error: ./database/defaultdb.properties; --- nested com.evermind.server.rmi.OrionRemoteException: Database error: File input/output error: ./database/defaultdb.properties; nested exception is: java.sql.SQLException: File input/output error: ./database/defaultdb.properties at ProducerServices_StatelessSessionBeanWrapper3.createCatalog(ProducerServ ices _StatelessSessionBeanWrapper3.java:92) at com.canlink.catalog.CreateCatalogAction.perform(CreateCatalogAction.java :62) at org.apache.struts.action.ActionServlet.processActionInstance(ActionServl et.j ava:794) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:702) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:332) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at com.evermind.server.http.d3.so(JAX) at com.evermind.server.http.d3.sm(JAX) at com.evermind.server.http.ef.su(JAX) at com.evermind.server.http.ef.dn(JAX) at com.evermind.util.f.run(JAX) The '-Duser.dir=c:\orion' JVM argument is set correctly and the defaultdb.properties file is in the right place and perfectly usable to Orion when it is run outside of Together. Any ideas as to why this happens only when Orion is run within Together? P.Pontbriand Canlink Interactive Technologies
Lookup with orion.jar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible to do a JNDI lookup from an applet or stand-alone client against Orion, without using files from orion.jar? Or is the whole 2 MB file necessary to do this? Any help will be greatly appreciated. Yours, Christian Tellefsen -BEGIN PGP SIGNATURE- Version: PGP Personal Privacy 6.5.8 iQA/AwUBOe8cjCZr3JnfcXIbEQLgZgCfazFp9mDbmI6AS6cmmmG6nJbvNz8AoI20 QCCIdRERk+zGcGjoNgIxaIzz =3B7A -END PGP SIGNATURE-
RE: support EJB2.0 or not?
That's what I thought, but I cannot find the ejb2 DTD. Can you point me in the right direction? -tim -Original Message- From: Reddy Krishnan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 6:51 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? you will have to change the DOCTYPE in ejb-jar.xml file to point to ejb2 dtd. -Original Message- From: Tim Drury [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 2:21 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? My guess is the Orion is assuming my EJB is a 1.1 entity bean. What tell Orion that the bean is a 2.0 bean? Perhaps that is where my mistake lies. -tim -Original Message- From: John D'Ausilio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 3:28 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? You need to examine your deployment descriptor and class/interface defs .. there are lots of rules to follow, and they're easy to miss. I have CMP beans and dependent objects in various types of relationships all running just fine, but I've spent many an hour trying to find mistakes evidenced by errors such as yours. Go through the contract in section 9 of the spec, and assume nothing :) (I wish I could remember just which mistake it was that caused that problem, but I cant) jd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Drury Sent: Wednesday, October 18, 2000 12:18 PM To: Orion-Interest Subject: support EJB2.0 or not? When I try to write a 2.0 compliant entity bean: public abstract class ContactBean implement EntityBean { public abstract void setName(String s); public abstract String getName(); ... } Orion throws the error (at deployment): ... Bean class com.tfc.ejb.ContactBean must not be declared abstract So what did I do wrong? Does Orion 1.3.8 or 1.4.0 support EJB 2.0 entity beans like the web page advertises or not? -tim
Servlet problems....
Hello, I loaded a new servlet of mine into the "classes" directory this new servlet needed a jar file, which I put into the ./orion/lib directory (as well in the ./orion and ./classes) ... all seemed to be fine. The servlet worked great for a long time. BUT I then I started to get the errors below. I am pretty sure I didn't touch a thing configuration wise. All I had been doing was recompiling my servlet code. Now it seems it can' t find the jar file??!!! The other example servlets still run fine. Any ideas? 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java, Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled Code) at java.awt.Font.init(Font.java, Compiled Code) at javachart.chart.Gc.clinit(Gc.java:74) at javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.BarChart.init(BarChart.java, Compiled Code) at javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at MagicServlet.doGet(MagicServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET: 500 Internal Server Error java.lang.NoClassDefFoundError: javachart/chart/Gc at javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.PieChart.init(PieChart.java, Compiled Code) at javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at m.doGet(m.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code)
RE: I hate guest
have a session bean create the account entity based on parameters. Then the user need not directly create the ejb. You could have another class that is operating in another role do that. HTH Russ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer Sent: Thursday, October 19, 2000 6:05 AM To: Orion-Interest Subject: I hate "guest" Some variant of this has got to be one of the top five questions asked on this list, and it has never been answered. I really, really, really need a simple answer: How do I assign security roles to "guest"? Is it even possible? No matter what I put in the various principals.xml files (and believe me, I've tried just about everything) I can't seem to allow the unauthenticated user to call an EJB method. It's driving me insane. My girlfriend tells me that while sleeping I thrash about mumbilng "com.evermind.server.rmi.OrionRemoteException: guest is not allowed to call this EJB method..." I'm not by nature a violent person, but if I ever meet this "guest", I'm going to reach out and throttle him :-) I have a reasonably straightforward system which represents users as entity beans and allows anyone to connect to the system and create an account. Thus, there must be a moment in time when the user must interact with the EJB system to create the entity bean *before* he or she can be logged in. I want to grant "guest" access to a single method on a single session bean. Why can't I seem to do this? I can't imagine that this pattern has not been implemented a bazillion times already. I was able to get everything working before by commenting all security-related material out of my EJBs' deployment descriptors (thus leaving the system wide open). Now I'm ready to put security back into the system, but the web-application runAs tag doesn't seem to be implemented yet. So I want to give a limited security role to "guest". Heeelp! Thanks, Jeff Schnitzer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: Question
System.out and System.err are sent to the console from where the server has been launched. [EMAIL PROTECTED] wrote: What is the default error log on Orion. For example, if I user 'System.err.println', where is this going to. Do I need to initialize this through the System class or does Orion default it somewhere. Thanks, Andy
Orion as Root on Solaris
Here's one of the threads, http://www.mail-archive.com/orion-interest@orionserver.com/msg04237.html Basically, as i understand it the upshot was, there are 3 ways to do it. *Use JNDI code to switch the user of your JVM, see: http://www.orionsupport.com/articles/users.html *install ipfilter for solaris to redirect 8080 or something to 80, see: http://coombs.anu.edu.au/ipfilter/ *use an external box to redirect. any firewall with NAT or a BSD or Linux box should be able to handle the job, and it doesn't hurt to have a firewall anyway. -Lkb At 09:44 AM 10/19/00 -0500, Kemp Randy-W18971 wrote: When I asked the question if Orion server processes can be run as someone other then root (under Solaris) and how, one reply mentioned that there was a big discussion regarding this question, and to check the archive files. I have done that but couldn't find the discussion. Can anyone point me to where I can find the archive file entry discussing this question before I brought it up again? /** * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED] * @title: CodeMonkey / COO - Robot6 Inc. * @phone: 415.345.8872 * @addr: 1177 Polk St. San Francisco, CA 94109 */
RE: JSP char code
To be more specific, all the Chinese characters create dynamically are all right, like get property tag, or just within out.println. What cause the problem is the characters static in the JSP file. Thanks. Hou Yunfeng __ ==ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ http://sms.sina.com.cn/
RE:[Re: 2 many messages - News Server needed. - Or we could split]
At 07:03 PM 10/19/00 +0200, you wrote: At 12:23 19.10.00 , you wrote: snip/ BTW, ejb-interest seems to have died after some clueless idiot started resending the last couple month's posts back to the list. unbelievable It may not be cause and effect... or it may be somebody at Sun's gotten disgusted and turned it off for a while. At least it's cut down on the "Urgent: I installed weblogic and it doesn't work" emails. (-) Robert Krüger
Orion can't find my jar file for my servlet....!
Hello, I loaded a new servlet of mine into the "classes" directory this new servlet needed a jar file, which I put into the ./orion/lib directory (as well in the ./orion and ./classes) ... all seemed to be fine. The servlet worked great for a long time. BUT I then I started to get the errors below. I am pretty sure I didn't touch a thing configuration wise. All I had been doing was recompiling my servlet code. Now it seems it can' t find the jar file??!!! The other example servlets still run fine. Any ideas? 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java, Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled Code) at java.awt.Font.init(Font.java, Compiled Code) at javachart.chart.Gc.clinit(Gc.java:74) at javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.BarChart.init(BarChart.java, Compiled Code) at javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at MagicServlet.doGet(MagicServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET: 500 Internal Server Error java.lang.NoClassDefFoundError: javachart/chart/Gc at javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.PieChart.init(PieChart.java, Compiled Code) at javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at m.doGet(m.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code)
ALTERNATIVES TO JDK1.3
Could you tell me if there is an alternative compiler to jdk 1.3? I'm looking for other compilers but they should compile all my middleware components (servlets, JSPs,EJBs,JavaBeans) TIA -- Sierr@ --
No Subject
Sorry, this is just a testing of how to post message here.
No Subject
Sorry, this is just a testing of how to post message here.
EJB Help..
Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
RE: ALTERNATIVES TO JDK1.3
Tried IBM's jdk? jikes? on the other hand, there MAY be some issues using these compilers... -Original Message- From: David Sierra Fernandez [mailto:[EMAIL PROTECTED]] Sent: Jueves, 19 de Octubre de 2000 15:52 To: Orion-Interest Subject: ALTERNATIVES TO JDK1.3 Could you tell me if there is an alternative compiler to jdk 1.3? I'm looking for other compilers but they should compile all my middleware components (servlets, JSPs,EJBs,JavaBeans) TIA -- Sierr@ --
Re: Question
Thank you very much for the reply. If I were to start orion as an nt service though, where there would be no console, would it go to a specific log? Thanks, Andy
Re: EJB Help..
We actually don't have any jar files at all for our EJBs. They are just in the classpath (I think we have a library path="classpath" somewhere that points to the class files). The module tag, I think can just point to a directory. -joel shellman Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
Orion in production
Hi! I have been using orion for about 6 months now, and now, as I'm finishing my app, I need to sell orion to my customers... For this, it would be *VERY* valuable to have a list of sites (on the internet or intranets) which use orion... So, basically, what I have in mind is that anybody on this list that wishes to report a site as being partiallly/fully powered by orion, report it to my email address, [EMAIL PROTECTED], so that I can make a list of these, to publish it on WWW I think this will prove useful for us all. TIA, JP
Fw: Creating 2 Web-sites hosted from orion [V.Newbie]
I joined the list posted this message but never got any replies or the round trip... hopefull expression I'm now retrieving plenty of messages indicating at a rate that indicates I might have missed any replies... /hopefull expression Please contact me off list if this has already been answered... - Original Message - I installed Orion - works great... but... I have been asked to create an intranet site (intranet.intaz.co.nz) and a dev site (dev.intaz.co.nz) hosted on the same machine (WinNT4). I got the initial site (dev.intaz.co.nz) working via client DNS search entry and an entry in the servers hosts file... Replaced the default-web-site folder contents with our intranet (that was living as a file:// based set of pages)... Works great... Now I have to put the dev site in for JSP/Servelet and EJB development... a) What do I have to change in NT to make the virtual host. (2 domains, 1 IP#) b) is the 'node' entry in the 'server.xml' and a second 'default-web-app.xml' file (with their respective 'virtual-hosts="blah.intaz.co.nz"' entries) all I need for the orion side of things? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
RE: EJB Help..
I acomplish this by simply: Creating a directory (in orion\applications) with the same name than the ear (directory: Test.ear) then there I put the contents of my .ear, then repeat the process for ejb-jar and war files... then, simply put your updated classes there(below your ejb-jar dir, like say orion\applications\Test.ear\ejb-jar-ic.jar to update the descriptor, use earassembler and open your .ear dir within orion\applications. Works great for me! HTH, JP -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Jueves, 19 de Octubre de 2000 16:37 To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
Re: Help with getting Orion to talke to Oracle.
You need to copy the oracle drivers into your orion/lib directory I actually unzipped the classes111.zip there myself. Al - Original Message - From: "J Davis" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 1:43 PM Subject: Help with getting Orion to talke to Oracle. I have been pulling my hair out trying to get oracle and orion to talk to each other. I am sure it is a simple error, but I can't seem to find it. Here is my problem: I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2, j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip. I copied the tools.jar from the jdk into the c:\orion dir. I have taken the time to set the following ENV variables based off some earlier messages: J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip J2EE_HOME=c:\j2ee JAVA_HOME=c:\jdk PATH=(Original path);c:\jdk I tried exploding the oracle drivers in the orion/lib dir as well as the jre/lib/ext dir. I tried adding the oracle zip file to the library tag in the application.xml like so: library path="../lib/oracle8idrivers12_01.zip;../lib" / I setup the data-source file like so: data-source class="com.evermind.sql.ConnectionDataSource" name="Oracle VND Driver" location="jdbc/vndCoreDS" pooled-location="jdbc/vndPooledDS" xa-location="jdbc/xa/vndXADS" ejb-location="jdbc/vndDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="login" password="pass" schema="./database-schemas/oracle.xml" url="jdbc:oracle:thin:@machine:1521:sid" inactivity-timeout="120" / I built a simple class that looks like this to run from a remote machine: import java.sql.*; import javax.ejb.*; import javax.sql.DataSource; import javax.naming.*; import com.micronpc.db.*; public class TestConn { Context jndiContext; public TestConn() { try { jndiContext = new InitialContext(); DataSource ds = (DataSource)jndiContext.lookup("jdbc/vndPooledDS"); Connection conn = ds.getConnection(); Statement s = conn.createStatement(); String sql = "SELECT * from adv_sub_family_type"; ResultSet rs = s.executeQuery(sql); while(rs != null rs.next()) { System.out.println("Record:" + rs.getString(1)); } } catch(Exception e) { System.out.println("Got this exception:" + e.getMessage()); e.printStackTrace(); } } public static void main(String[] args) { TestConn testConn1 = new TestConn(); } } My application-client.xml in the META-INF looks like this(although I am not trying to use any of these objects yet.): ?xml version="1.0"? !DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd" application-client ejb-ref ejb-ref-nameQuoteEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.QuoteEntityHome/home remotecom.micronpc.api.configurator.QuoteEntityRemote/remote /ejb-ref ejb-ref ejb-ref-nameModelQuoteEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.ModelQuoteEntityHome/home remotecom.micronpc.api.configurator.ModelQuoteEntityRemote/remote /ejb-ref ejb-ref ejb-ref-nameProfileEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.ProfileEntityHome/home remotecom.micronpc.api.configurator.ProfileEntityRemote/remote /ejb-ref /application-client my jndi.properties looks like this: java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont extFactory java.naming.provider.url=ormi://ejbtestbox/micron java.naming.security.principal=admin java.naming.security.credentials=123 my principales file looke like this: ?xml version="1.0"? !DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http://www.orionserver.com/dtds/principals.dtd" principals groups group name="administrators" descriptionadministrators/description permission name="administration" / permission name="com.evermind.server.AdministrationPermission" / /group group name="guests" descriptionguests/description /group group name="users" descriptionusers/description permission name="rmi:login" / permission name="com.evermind.server.rmi.RMIPermission" / /group /groups users user username="admin" password="123" descriptionThe default administrator/description group-membership group="administrators" / group-membership group="guests" / group-membership group="users" / /user user username="user" password="456" descriptionThe default user/description group-membership group="guests" / group-membership group="users" / /user user username="anonymous" password="" descriptionThe default guest/anonyomous user/description group-membership group="guests" / /user /users /principals if I try to make a connection with a standalone app on the machine it works fine. If I
Re: Orion can't find my jar file for my servlet....!
This is not a servlet error really, this is an xwindows error. try being root and typing xhost + (a temporary fix this will open up your x server to the world..) if that works you can man xhost to see how to open specific IP's to connect to the Xserver. If this is not your box but a company box (highly likely coming from a .gov domain) someone reconfigured the Xserver to lock it down. Sysadmins do that when unknown users start hitting Xservers hehe. Al - Original Message - From: "Keith Kwiatek" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 2:57 PM Subject: Orion can't find my jar file for my servlet! Hello, I loaded a new servlet of mine into the "classes" directory this new servlet needed a jar file, which I put into the ./orion/lib directory (as well in the ./orion and ./classes) ... all seemed to be fine. The servlet worked great for a long time. BUT I then I started to get the errors below. I am pretty sure I didn't touch a thing configuration wise. All I had been doing was recompiling my servlet code. Now it seems it can' t find the jar file??!!! The other example servlets still run fine. Any ideas? 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java, Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled Code) at java.awt.Font.init(Font.java, Compiled Code) at javachart.chart.Gc.clinit(Gc.java:74) at javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.BarChart.init(BarChart.java, Compiled Code) at javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at MagicServlet.doGet(MagicServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET: 500 Internal Server Error java.lang.NoClassDefFoundError: javachart/chart/Gc at javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.PieChart.init(PieChart.java, Compiled Code) at javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at m.doGet(m.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code)
RE: EJB Help..
Kevin, With any *ar file in Orion, you can use a directory instead. eg module ejb./myejbs.jar/ejb /module can just be module ejb./myejbs/ejb /module where ./myejbs is a directory structure which has the same structure (META-INF directories etc) as inside the myejbs.jar Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 5:37 AM To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
Re: The New Java Pet Store
I found the problem for this particular error - the petstore app tries to load the japanese version of the pages and it chokes while doing it. It happens not only on Orion, but J2ee-ri as well. If you remove the entry from the xml/requestmappings.xml file and remove the appropriate entry from the index.html file (you can do this all obviously from the earassembler or the webappassembler).. --- Ray Harrison [EMAIL PROTECTED] wrote: Hi - Has anyone investigated the new java pet store (came out on October 11th, I believe)? I just did a straight deploy - here's the message I receive on "Enter the Store"... - java.lang.NullPointerException at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getTagValue(ScreenFlowXmlDAO.java:332) at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getScreens(ScreenFlowXmlDAO.java:155) at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadScreenDefinitions(ScreenFlowXmlDAO.java:97) at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.init(ScreenFlowManager.java:52) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreenFlowManager(MainServlet.java:96) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.java:37) at javax.servlet.GenericServlet.init(GenericServlet.java) at com.evermind.server.http.HttpApplication.wt(JAX) at com.evermind.server.http.HttpApplication.wb(JAX) at com.evermind.server.http.HttpApplication.um(JAX) at com.evermind.server.http.ef.su(JAX) at com.evermind.server.http.ef.dn(JAX) at com.evermind.util.f.run(JAX) - Orion Version 1.4.0 Cloudscape data source AND MS Sql Server data source (the results are the same - the sources have worked before and continue to work on the previous pet store release (1.0.1)... Any clues as to where to start looking? I am not THAT interested in getting it to work, but I am a bit curious Cheers Ray Harrison __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
Re: Help with getting Orion to talke to Oracle.
Or I usually put the oracle drivers in JAVA_HOME/jre/lib/ext Not sure of the technical differences between the two approaches, though. -joel - Original Message - From: "Al Fogleson" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 1995 2:29 PM Subject: Re: Help with getting Orion to talke to Oracle. You need to copy the oracle drivers into your orion/lib directory I actually unzipped the classes111.zip there myself. Al - Original Message - From: "J Davis" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 1:43 PM Subject: Help with getting Orion to talke to Oracle. I have been pulling my hair out trying to get oracle and orion to talk to each other. I am sure it is a simple error, but I can't seem to find it. Here is my problem: I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2, j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip. I copied the tools.jar from the jdk into the c:\orion dir. I have taken the time to set the following ENV variables based off some earlier messages: J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip J2EE_HOME=c:\j2ee JAVA_HOME=c:\jdk PATH=(Original path);c:\jdk I tried exploding the oracle drivers in the orion/lib dir as well as the jre/lib/ext dir. I tried adding the oracle zip file to the library tag in the application.xml like so: library path="../lib/oracle8idrivers12_01.zip;../lib" / I setup the data-source file like so: data-source class="com.evermind.sql.ConnectionDataSource" name="Oracle VND Driver" location="jdbc/vndCoreDS" pooled-location="jdbc/vndPooledDS" xa-location="jdbc/xa/vndXADS" ejb-location="jdbc/vndDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="login" password="pass" schema="./database-schemas/oracle.xml" url="jdbc:oracle:thin:@machine:1521:sid" inactivity-timeout="120" / I built a simple class that looks like this to run from a remote machine: import java.sql.*; import javax.ejb.*; import javax.sql.DataSource; import javax.naming.*; import com.micronpc.db.*; public class TestConn { Context jndiContext; public TestConn() { try { jndiContext = new InitialContext(); DataSource ds = (DataSource)jndiContext.lookup("jdbc/vndPooledDS"); Connection conn = ds.getConnection(); Statement s = conn.createStatement(); String sql = "SELECT * from adv_sub_family_type"; ResultSet rs = s.executeQuery(sql); while(rs != null rs.next()) { System.out.println("Record:" + rs.getString(1)); } } catch(Exception e) { System.out.println("Got this exception:" + e.getMessage()); e.printStackTrace(); } } public static void main(String[] args) { TestConn testConn1 = new TestConn(); } } My application-client.xml in the META-INF looks like this(although I am not trying to use any of these objects yet.): ?xml version="1.0"? !DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd" application-client ejb-ref ejb-ref-nameQuoteEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.QuoteEntityHome/home remotecom.micronpc.api.configurator.QuoteEntityRemote/remote /ejb-ref ejb-ref ejb-ref-nameModelQuoteEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.ModelQuoteEntityHome/home remotecom.micronpc.api.configurator.ModelQuoteEntityRemote/remote /ejb-ref ejb-ref ejb-ref-nameProfileEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.ProfileEntityHome/home remotecom.micronpc.api.configurator.ProfileEntityRemote/remote /ejb-ref /application-client my jndi.properties looks like this: java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont extFactory java.naming.provider.url=ormi://ejbtestbox/micron java.naming.security.principal=admin java.naming.security.credentials=123 my principales file looke like this: ?xml version="1.0"? !DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http://www.orionserver.com/dtds/principals.dtd" principals groups group name="administrators" descriptionadministrators/description permission name="administration" / permission name="com.evermind.server.AdministrationPermission" / /group group name="guests" descriptionguests/description /group group name="users" descriptionusers/description permission name="rmi:login" / permission name="com.evermind.server.rmi.RMIPermission" / /group /groups users user username="admin" password="123" descriptionThe default administrator/description
Re: Help with getting Orion to talke to Oracle.
That's not quite true. While you can do what Al recommends you can also add a library path statement to the application.xml config file. As in the following: orion-application !-- snip -- !-- Path to the libraries that are installed on this server. These will accesible for the servlets, EJBs etc -- library path="../lib" / library path="../../java/oracle_jdbc" / !-- snip -- /orion-application -- Jason Rimmer [EMAIL PROTECTED] - Original Message - From: "Al Fogleson" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 1995 5:29 PM Subject: Re: Help with getting Orion to talke to Oracle. You need to copy the oracle drivers into your orion/lib directory I actually unzipped the classes111.zip there myself. Al - Original Message - From: "J Davis" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 1:43 PM Subject: Help with getting Orion to talke to Oracle. I have been pulling my hair out trying to get oracle and orion to talk to each other. I am sure it is a simple error, but I can't seem to find it. Here is my problem: I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2, j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip. I copied the tools.jar from the jdk into the c:\orion dir. I have taken the time to set the following ENV variables based off some earlier messages: J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip J2EE_HOME=c:\j2ee JAVA_HOME=c:\jdk PATH=(Original path);c:\jdk I tried exploding the oracle drivers in the orion/lib dir as well as the jre/lib/ext dir. I tried adding the oracle zip file to the library tag in the application.xml like so: library path="../lib/oracle8idrivers12_01.zip;../lib" / I setup the data-source file like so: data-source class="com.evermind.sql.ConnectionDataSource" name="Oracle VND Driver" location="jdbc/vndCoreDS" pooled-location="jdbc/vndPooledDS" xa-location="jdbc/xa/vndXADS" ejb-location="jdbc/vndDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="login" password="pass" schema="./database-schemas/oracle.xml" url="jdbc:oracle:thin:@machine:1521:sid" inactivity-timeout="120" / I built a simple class that looks like this to run from a remote machine: import java.sql.*; import javax.ejb.*; import javax.sql.DataSource; import javax.naming.*; import com.micronpc.db.*; public class TestConn { Context jndiContext; public TestConn() { try { jndiContext = new InitialContext(); DataSource ds = (DataSource)jndiContext.lookup("jdbc/vndPooledDS"); Connection conn = ds.getConnection(); Statement s = conn.createStatement(); String sql = "SELECT * from adv_sub_family_type"; ResultSet rs = s.executeQuery(sql); while(rs != null rs.next()) { System.out.println("Record:" + rs.getString(1)); } } catch(Exception e) { System.out.println("Got this exception:" + e.getMessage()); e.printStackTrace(); } } public static void main(String[] args) { TestConn testConn1 = new TestConn(); } } My application-client.xml in the META-INF looks like this(although I am not trying to use any of these objects yet.): ?xml version="1.0"? !DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd" application-client ejb-ref ejb-ref-nameQuoteEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.QuoteEntityHome/home remotecom.micronpc.api.configurator.QuoteEntityRemote/remote /ejb-ref ejb-ref ejb-ref-nameModelQuoteEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.ModelQuoteEntityHome/home remotecom.micronpc.api.configurator.ModelQuoteEntityRemote/remote /ejb-ref ejb-ref ejb-ref-nameProfileEntity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.micronpc.api.configurator.ProfileEntityHome/home remotecom.micronpc.api.configurator.ProfileEntityRemote/remote /ejb-ref /application-client my jndi.properties looks like this: java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont extFactory java.naming.provider.url=ormi://ejbtestbox/micron java.naming.security.principal=admin java.naming.security.credentials=123 my principales file looke like this: ?xml version="1.0"? !DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http://www.orionserver.com/dtds/principals.dtd" principals groups group name="administrators" descriptionadministrators/description permission name="administration" / permission name="com.evermind.server.AdministrationPermission" / /group
Re: Oracle on Orion
Thanks for the reply, We figured out the problem. What was wrong was this: 1) It initially created the all tables(only a few were in the XML file) a week or so ago under a test username/password we were using 2) We then created our own username/password and granted it certain privileges(we aren't DBA's so this was probably the trouble) 3) It somehow saw that the tables were already created under the original username/password we used, hence it only created the new tables we added to our XML file over the past couple of days. Thanks again, Chris Rafael Alvarez wrote: Hi! Is there any error message during deploy? Orion stops the auto-creation process if there is any SQLException. I also found that Orion don't create tables for beans that where already deployed, even if you drop them. -- Best regards, Rafael mailto:[EMAIL PROTECTED]
Re: I had not seen this before ... and it looks hokey to me.
\ The biggest drawback to anonymous inner classes (as I see it) is that the compiler creates a separate class file for each one. I had a small project's .jar file double in size due to these class files (since .jar compression is file-by-file). There certainly needs to be some degree of standardisation on a chunking mechanism under the jar scheme. I appreciate that it's nice to have pure compatibility with zip but it's not ideal for large class hierarchies - especially as one of the aims is brevity of transmission. I wondered if something like package level chunking would work well and have the archive directory contain a packing list indexed to the package chunk. Another possiblity is to have non-static inner classes loaded with the enclosing class but not initialised until first use. Then a java bytecode file could contain all directly dependant classes in one file - no more Class$1.class files and perhaps a more efficient loading process... Static inner classes of course should probably still be separate - Does an enclosing class get loaded and initalised when a static inner class is instanciated? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
Additional Java Mailing Lists
In light of the recent messages regarding splitting the list, offloading to another medium, et. al., I'd like to share the following: http://p2p.wrox.com There are many different subjects, all relating to Java development, from novices to advanced. As a side note, Wrox's books pretty much kick ass. I'd highly recommend both Professional Java Programming books. -- David S. Kenzik [EMAIL PROTECTED] - http://kenzik.com Original Music - http://mp3.com/text
RE: EJB Help..
Thanks for the note. One thing..since I compile all of my classes into the www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and just point the module to the WEB-INF/classes folder? Would that work? Not that I want you to tell me everything, ok..I do, but what exactly do I need to get EJB deployed in that way? My first stab that I want to do is create a login process. I would like to use statless session beans, and also use an entity bean..using CMP. I created 3 classes, Login, LoginBean and LoginHome. I have them in com.mycompany.ejb package. That compiles to www/WEB-INF/classes dir. So do I make application.xml like so: module/www/WEB-INF/classes/module where the com folder starts? Or do I actually have to point them directly to the .class files themselves? If the classes are compiled in a package, I assume I need to point the ejb module setting to the root package right? Furthermore, do I need that ejb.xml file in META-INF? If so, what should it be set to if I am using an expanded dir? Lastly, how the heck to I get the entity bean added..is that a forth class, or a whole set of 3 different classes, one being the entity bean, the other two being like the home and remote objects? It seems kind of silly that I would need 6 classes to do the login process..3 for the session/logic stuff, and 3 for the entity/database mapping. Thanks so much..I appreciate the help. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 3:39 PM To: Orion-Interest Subject: RE: EJB Help.. Kevin, With any *ar file in Orion, you can use a directory instead. eg module ejb./myejbs.jar/ejb /module can just be module ejb./myejbs/ejb /module where ./myejbs is a directory structure which has the same structure (META-INF directories etc) as inside the myejbs.jar Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 5:37 AM To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
RE: Orion Powered Sites
All our sites run on Orion, and there are quite a few in the FAQ I seem to remember. I'll email them to Juan. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 10:01 AM To: Orion-Interest Subject: RE: Orion Powered Sites I only see two sitest there. The second one is to some page that has some text on it..thats about it. Are there any full B2B or E-commerce sites using Orion yet? I know we will be using it soon. -Original Message- From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 4:25 PM To: Orion-Interest Subject: Orion Powered Sites This is the list of Orion Powered Sites http://www.rifleman.com.ar/orionsites.htm (sorry about it being a freeservers account, I'm working on it)
RE: EJB Help..
For the deployment details, see the Orion primer - http://www.jollem.com I generally move all classes from the WEB-INF/classes folder into the ejb module (makes it more portable etc) - makes them more visible. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 9:45 AM To: Orion-Interest Subject: RE: EJB Help.. Thanks for the note. One thing..since I compile all of my classes into the www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and just point the module to the WEB-INF/classes folder? Would that work? Not that I want you to tell me everything, ok..I do, but what exactly do I need to get EJB deployed in that way? My first stab that I want to do is create a login process. I would like to use statless session beans, and also use an entity bean..using CMP. I created 3 classes, Login, LoginBean and LoginHome. I have them in com.mycompany.ejb package. That compiles to www/WEB-INF/classes dir. So do I make application.xml like so: module/www/WEB-INF/classes/module where the com folder starts? Or do I actually have to point them directly to the .class files themselves? If the classes are compiled in a package, I assume I need to point the ejb module setting to the root package right? Furthermore, do I need that ejb.xml file in META-INF? If so, what should it be set to if I am using an expanded dir? Lastly, how the heck to I get the entity bean added..is that a forth class, or a whole set of 3 different classes, one being the entity bean, the other two being like the home and remote objects? It seems kind of silly that I would need 6 classes to do the login process..3 for the session/logic stuff, and 3 for the entity/database mapping. Thanks so much..I appreciate the help. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 3:39 PM To: Orion-Interest Subject: RE: EJB Help.. Kevin, With any *ar file in Orion, you can use a directory instead. eg module ejb./myejbs.jar/ejb /module can just be module ejb./myejbs/ejb /module where ./myejbs is a directory structure which has the same structure (META-INF directories etc) as inside the myejbs.jar Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 5:37 AM To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
RE: Orion Powered Sites
Well For development of our customers sites, (all are B2B) we use Orion. I will expect that more then a few of our customers will take our end recommendation and use Orion as their distribution application server. I expect that many more sites are using Orion then those you see there.. I do know its the development target for our group. Greg Boswell [EMAIL PROTECTED] At 05:00 PM 10/19/2000 -0700, you wrote: I only see two sitest there. The second one is to some page that has some text on it..thats about it. Are there any full B2B or E-commerce sites using Orion yet? I know we will be using it soon. -Original Message- From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 4:25 PM To: Orion-Interest Subject: Orion Powered Sites This is the list of Orion Powered Sites http://www.rifleman.com.ar/orionsites.htm (sorry about it being a freeservers account, I'm working on it)
taglib, JNDI, odd problem.
I'm trying to set up a debugging environment and I've noticed something weird. I've been using ejbtags.jar, and I discovered that using the tag like so ejb:useHome id="userManagerHome" type="net.coljac.aok.ejb.UserManagerHome" location="ejb/UserManagerHome" / Results in a JNDI Exception: javax.servlet.jsp.JspException: NamingException: ejb/UserManagerHome not found at com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37) So, I've been using the tag with a fully qualified JNDI path: ejb:useHome id="userManagerHome" type="net.coljac.aok.ejb.UserManagerHome" location="java:comp/env/ejb/UserManagerHome" / That works. I scratched my head over why this would be so for a while, but moved on. Now, however, if I run Orion from inside JBuilder, the second (verbose) version results in javax.servlet.jsp.JspException: NamingException: java:comp/env namespace is only available from within a J2EE component at com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37) ... and the first version works. What about my setup could possibly account for this discrepancy? The web.xml seems normal. ... ejb-ref ejb-ref-nameejb/UserManagerHome/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homenet.coljac.aok.ejb.UserManagerHome/home remotenet.coljac.aok.ejb.UserManager/remote /ejb-ref ... I'm not sure what the difference is. I tried running orion outside JBuilder using the JBuilder version of the jdk, with "." as the classpath. JBuilder has orion.jar and ejb.jar first in its classpath. Curious. If anyone has any ideas, I'm all ears. Colin Colin Jacobs Senior Software Engineer Optfor Derivatives, Inc. http://www.opt4.com I don't pretend to have all the answers. I don't even pretend to know what the questions are. Hey, where am I? -- Jack Handey
RE: Orion Powered Sites
Juan forgot to put http:// into the href of the second site, that's why the link leads to 404 error. The correct link is www.alltrue.com. I'll send Juan a link to my site soon, so there'll be three. :) stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 4:01 AM To: Orion-Interest Subject: RE: Orion Powered Sites I only see two sitest there. The second one is to some page that has some text on it..thats about it. Are there any full B2B or E-commerce sites using Orion yet? I know we will be using it soon. -Original Message- From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 4:25 PM To: Orion-Interest Subject: Orion Powered Sites This is the list of Orion Powered Sites http://www.rifleman.com.ar/orionsites.htm (sorry about it being a freeservers account, I'm working on it)
Re: orionsupport.com attempting to ping my system???
port 113 is the Ident port. It can be used to identify a connection between computers...So what the orionserver.com is trying to do is make sure you are who you say you are.. at least is trying to confirm that your computer is really at the IP you say you are at.. beyond that your identity is on your honor Greg At 06:15 AM 10/19/2000 -0700, you wrote: Can anyone explain why I received multiple attempts to connect to my system on port 113 (NetBIOS, right?) from orionsupport.com immediately after my browsing some information on that site and orionserver.com? __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
RE: EJB Help..
Kevin, look inside the news-application example bundled with Orion, lots of things will become clear for you after that. www-dir/WEB-INF/classes directory is for servlet classes, not for EJBs. You'll see how to deploy EJBs in that example and in documentation as well. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 3:45 AM To: Orion-Interest Subject: RE: EJB Help.. Thanks for the note. One thing..since I compile all of my classes into the www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and just point the module to the WEB-INF/classes folder? Would that work? Not that I want you to tell me everything, ok..I do, but what exactly do I need to get EJB deployed in that way? My first stab that I want to do is create a login process. I would like to use statless session beans, and also use an entity bean..using CMP. I created 3 classes, Login, LoginBean and LoginHome. I have them in com.mycompany.ejb package. That compiles to www/WEB-INF/classes dir. So do I make application.xml like so: module/www/WEB-INF/classes/module where the com folder starts? Or do I actually have to point them directly to the .class files themselves? If the classes are compiled in a package, I assume I need to point the ejb module setting to the root package right? Furthermore, do I need that ejb.xml file in META-INF? If so, what should it be set to if I am using an expanded dir? Lastly, how the heck to I get the entity bean added..is that a forth class, or a whole set of 3 different classes, one being the entity bean, the other two being like the home and remote objects? It seems kind of silly that I would need 6 classes to do the login process..3 for the session/logic stuff, and 3 for the entity/database mapping. Thanks so much..I appreciate the help. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 3:39 PM To: Orion-Interest Subject: RE: EJB Help.. Kevin, With any *ar file in Orion, you can use a directory instead. eg module ejb./myejbs.jar/ejb /module can just be module ejb./myejbs/ejb /module where ./myejbs is a directory structure which has the same structure (META-INF directories etc) as inside the myejbs.jar Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 5:37 AM To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
Re: Orion Powered Sites
Try these(they are from the orion site) http://www.redbull.com http://www.javalobby.com http://www.vpro.nl http://www.linuxtoday.com.au http://wap.hjemmenett.no http://www.headlinewatch.com http://news.partsbase.com http://australia.internet.com http://www.yesitworks.com http://www.internetstockreport.com.au http://www.e-mediamarketer.com.au Cheers Gordon - Original Message - From: "Duffey, Kevin" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, October 20, 2000 1:00 PM Subject: RE: Orion Powered Sites I only see two sitest there. The second one is to some page that has some text on it..thats about it. Are there any full B2B or E-commerce sites using Orion yet? I know we will be using it soon. -Original Message- From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 4:25 PM To: Orion-Interest Subject: Orion Powered Sites This is the list of Orion Powered Sites http://www.rifleman.com.ar/orionsites.htm (sorry about it being a freeservers account, I'm working on it)
Re: Question
Here is my startup script for NT (unix script is much alike) - it separetes stderr stdout perl -e "print '-'x25, 'Orion Started ', scalar(localtime),qq#\n#;" log/ORION.log perl -e "print '-'x25, 'Orion Started ', scalar(localtime),qq#\n#;" log/ORION.err java -Xmx860m -Dxml.rewrite=false -jar orion.jar 1log/ORION.LOG 2log/ORION.ERR perl -e "print '='x25, 'Orion Stoped ', scalar(localtime),qq#\n#;" log/ORION.log perl -e "print '='x25, 'Orion Stoped ', scalar(localtime),qq#\n#;" log/ORION.err after this i use tail -f LogFile.ext | grep -v minor_info for debugging / etc - Original Message - From: "Sarathy Mattaparti" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 1:49 PM Subject: Re: Question It'll print on console Sarathy What is the default error log on Orion. For example, if I user 'System.err.println', where is this going to. Do I need to initialize this through the System class or does Orion default it somewhere. Thanks, Andy _ 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: EJB Help..
Hey, I used the Orion Primer, and I didn't find it too helpful. While its probably fine for those that have worked with EJB before, I didn't find it extremely helpful in moving me closer to working with EJB. I do have an EJB book from ORiely that I am reading..so that is helping me see how it all works. There is still the issues of CMP, O/R and how all that works. I will try what you said earlier, and see if that allows me to deploy them. Thanks. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 6:45 PM To: Orion-Interest Subject: RE: EJB Help.. For the deployment details, see the Orion primer - http://www.jollem.com I generally move all classes from the WEB-INF/classes folder into the ejb module (makes it more portable etc) - makes them more visible. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 9:45 AM To: Orion-Interest Subject: RE: EJB Help.. Thanks for the note. One thing..since I compile all of my classes into the www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and just point the module to the WEB-INF/classes folder? Would that work? Not that I want you to tell me everything, ok..I do, but what exactly do I need to get EJB deployed in that way? My first stab that I want to do is create a login process. I would like to use statless session beans, and also use an entity bean..using CMP. I created 3 classes, Login, LoginBean and LoginHome. I have them in com.mycompany.ejb package. That compiles to www/WEB-INF/classes dir. So do I make application.xml like so: module/www/WEB-INF/classes/module where the com folder starts? Or do I actually have to point them directly to the .class files themselves? If the classes are compiled in a package, I assume I need to point the ejb module setting to the root package right? Furthermore, do I need that ejb.xml file in META-INF? If so, what should it be set to if I am using an expanded dir? Lastly, how the heck to I get the entity bean added..is that a forth class, or a whole set of 3 different classes, one being the entity bean, the other two being like the home and remote objects? It seems kind of silly that I would need 6 classes to do the login process..3 for the session/logic stuff, and 3 for the entity/database mapping. Thanks so much..I appreciate the help. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 3:39 PM To: Orion-Interest Subject: RE: EJB Help.. Kevin, With any *ar file in Orion, you can use a directory instead. eg module ejb./myejbs.jar/ejb /module can just be module ejb./myejbs/ejb /module where ./myejbs is a directory structure which has the same structure (META-INF directories etc) as inside the myejbs.jar Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 5:37 AM To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example
Orion and GZIP
Hi all, I know the Orion team mentioned to me that Orion has support for sending JSP pages back as gzip compressed html. Is this support available in the 1.2.9 version of Orion..if not, what version is it in? Also, what do I have to do to get all my JSP pages to return HTML content in g-zip format to speed things up. I believe MSIE 5 and NS 4.7 and later both handle g-zip compression right? So as long as our clients are using MSIE 5+ and NS4.7+, they should be able to see the pages? Thanks.
Performance test...
Hi all, Well, using a pretty nifty (and very expensive) testing tool, I was able to do some "minor" testing on a login process of our site. Using Orion, Oracle 8i database, and e-load test suite, here are some numbers that I got: 25 users - 15 connections in the pool pages per second - 43 pages per day - 3.75 million transactions per second - 14.5 transactions per day - 1.26 million 25 users - 30 connections in the pool pages per second- 26.4 pages per day - 2.28 million transactions per second - 8.81 transactions per day - 761333 25 users - 5 connections in the pool pages per second - 51.95 pages per day - 4.48 million transactions per second - 17.32 transactions per day- 1.49 million The test is simple. It uses the browser built into the e-test suite software and "automates" the login process of our site. I ran the test on a PIII650, with 512MB RAM. The database is running on a SUN E450 serve with 512MB RAM. The test simply sends a post submitted form with the login name and password to a controller servlet that then hits the database using a connection via the pool, and logs in the user. All logins were valid, I did not test invalid login names/passwords. Just thought I would share these numbers. Next week I will be setting up a two-server farm, using the load-balancer software that Orion includes in their download. Each server will be dual PIII550 with 512MB RAM and SCSI III RAID hd setup (Actually, they are IBM NetFinitiy 4000R units). The load balancer will run on a slow PII300 workstation with 128MB RAM (I hope this is good enough). They will be failed over and load-balanced, and I will test the performance on those and post the results here. The only thing I am not sure of is if different testing software performs about the same..or are there dramatically different results. If anyone wants me to attempt to test their site, I'll give it a go from here..but its over a T1 connection, where as my test is done locally on a LAN, so I am sure the results are more skewed.
Collection mapping with EJBs
How do I setup the Orion-EJB-Jar.xml file to do a one-to-many mapping where both sides of the relationship are EJBs? There are many examples where this happens(such as in ATM where AccountOwnerEJB has many AccountEJB's), but I am unsure as to how this relationship should be specified in the orion ejb xml file. Could someone tell me how to do this or where I can find the orion mxl file for the ATM application?
RE: Collection mapping with EJBs
-Original Message- From: John Kelvie [mailto:[EMAIL PROTECTED]] Sent: Friday, October 20, 2000 12:30 AM To: Orion-Interest Subject: Collection mapping with EJBs How do I setup the Orion-EJB-Jar.xml file to do a one-to-many mapping where both sides of the relationship are EJBs? There are many examples where this happens(such as in ATM where AccountOwnerEJB has many AccountEJB's), but I am unsure as to how this relationship should be specified in the orion ejb xml file. Could someone tell me how to do this or where I can find the orion mxl file for the ATM application?
RE: Performance test...
Not sure of the URL, but its RSW software. It costs us something like $35K for the software, including 7 licenses, so its definitely not cheap. But its a great web-based testing tool. A lot of people are used to Silk or QA Partner, but this one is extremely easy to use and learn. While it does allow for written script testing, it uses a sort of macro record mode to record every move you make in their internal browser. You can then set up a databank (a text file) that is used against a load-test, so that it simulates virtual users. I know we can simulat up to 100 virutal users with our licenses, which is small potatoes compared to some users of this tool. One of thier clients simulats 10,000 users. The software has "clients" that can be run on many computers over a network so you can run it over night, each computer simulating say 100 users, all hitting the same one site. Anyways..this is sort of off topic..but if you have any questions, feel free to email me. -Original Message- From: Santosh Kumar [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 9:19 PM To: Orion-Interest Subject: Re: Performance test... That was a simply great thing to do. Where could i get hold of this tool. Santosh - Original Message - From: Duffey, Kevin [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, October 20, 2000 9:11 AM Subject: Performance test... Hi all, Well, using a pretty nifty (and very expensive) testing tool, I was able to do some "minor" testing on a login process of our site. Using Orion, Oracle 8i database, and e-load test suite, here are some numbers that I got: 25 users - 15 connections in the pool pages per second - 43 pages per day - 3.75 million transactions per second - 14.5 transactions per day - 1.26 million 25 users - 30 connections in the pool pages per second- 26.4 pages per day - 2.28 million transactions per second - 8.81 transactions per day - 761333 25 users - 5 connections in the pool pages per second - 51.95 pages per day - 4.48 million transactions per second - 17.32 transactions per day- 1.49 million The test is simple. It uses the browser built into the e-test suite software and "automates" the login process of our site. I ran the test on a PIII650, with 512MB RAM. The database is running on a SUN E450 serve with 512MB RAM. The test simply sends a post submitted form with the login name and password to a controller servlet that then hits the database using a connection via the pool, and logs in the user. All logins were valid, I did not test invalid login names/passwords. Just thought I would share these numbers. Next week I will be setting up a two-server farm, using the load-balancer software that Orion includes in their download. Each server will be dual PIII550 with 512MB RAM and SCSI III RAID hd setup (Actually, they are IBM NetFinitiy 4000R units). The load balancer will run on a slow PII300 workstation with 128MB RAM (I hope this is good enough). They will be failed over and load-balanced, and I will test the performance on those and post the results here. The only thing I am not sure of is if different testing software performs about the same..or are there dramatically different results. If anyone wants me to attempt to test their site, I'll give it a go from here..but its over a T1 connection, where as my test is done locally on a LAN, so I am sure the results are more skewed.
RE: ALTERNATIVES TO JDK1.3
I'm still using 1.2.2 for all my development, if only because we need to deploy to platforms that have no 1.3 available. Jeroen T Wenting [EMAIL PROTECTED] ICQ UIN #9191966 It's the end of the world as we know it and I feel fine (Michael Stipe) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Sierra Fernandez Sent: 19 October 2000 20:52 To: Orion-Interest Subject: ALTERNATIVES TO JDK1.3 Could you tell me if there is an alternative compiler to jdk 1.3? I'm looking for other compilers but they should compile all my middleware components (servlets, JSPs,EJBs,JavaBeans) TIA -- Sierr@ --