Re: IIS, Orion, virtual host
Paul, I'm sorry to say that I have no experience with IIS and configuration issues therein. I do know thorugh experience and education that each IP has it's own set of ports. That's why I gave my advice below. If you are trying to do something similar to Oliver (run Orion on a different IP but same port as IIS), then I would recommend trying my suggestion below. If you think you have IIS configured to only listen to one IP, then start it up and try accessing the second IP on the same port. If the IIS web site comes up, then it is configured to listen to ALL IPs on the box. I would read the documentation on IIS at this point. From what little I know of IIS, there are some pretty big security holes in it, which I guess if you keep up with the patches can be dealt with... Sorry I could't give you more hands-on experience. Jeff Hubbach. On Fri, 27 Apr 2001 9:59:41 +0800 paul [EMAIL PROTECTED] wrote: Dear Jeff Hubbach, Can you send some detail info about IIS set? 01-4-25 12:54:00 You had said£º Each IP has it's own ports. Therefore, you could have Apache listening on port 80 of IP A, IIS listening on port 80 of IP B, and Orion listening on port 80 of IP C. It sounds like you don't have IIS configured to listen to only one of the IPs, so it's binding to both. If you browse to the IP that you want to run Orion on, does it bring up the IIS site? just curious... Jeff Hubbach. Ron van Pol wrote: Seems to me that there can run only one process on a particular port. Once IIS is already running on port 80 Orion will be unable to bind to that port since it is already in use by IIS. Same goes if you start orion before IIS. IP Then IIS, will not be able to start since Orion already has port 80 in use. Ron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of olivier Sent: Wednesday, April 25, 2001 9:51 AM To: Orion-Interest Subject: IIS, Orion, virtual host Hi, For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and x.x.x.21. (modification in the connection setting and the hosts file) I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80. Is is because the port are the same that I can't start both of them at the same time (they complain that the address is in use). Or is it possible and I don't know how to do it ??? Thanks, olivier -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com Sincerely, paul [EMAIL PROTECTED]
Re: jsp:setProperty tag
I should go with int instead of Integer. Or even better with a String representing a number on the jsp page and in the setter method do a Integer.parseInt(number); //to get what I need. This way I do not have to trust javascripts and stuff to do the checking, if a numberformatexception is thrown I know something was wrong. Johan - Original Message - From: Nicola Folino To: Orion-Interest Sent: Thursday, April 26, 2001 3:19 PM Subject: jsp:setProperty tag In a jsp page I use: jsp:useBean id="personaFisicaNP" class="it.unical.anagrafiche.np.PersonaFisicaNP" /jsp:setProperty name="personaFisicaNP" property="*" / This page is called from another form jsp page with a certain number of form fields... Well, some fields of my bean are String, some other are Integer. I get that the setProperty tag works well with String type fileds, but Integer ones return nulls... I got jsp specification from Sun and I saw that Integer, String, Byte and so on should be returned well from a form containing this kind of objects. I tryed my code on JRun 3.1 and it goes with no problem. Is this an Orion problem or am I missing something? Thanks in advance, Nicola
Re: Orion support company
Well, you started it!! http://www.geocities.com/connorbd/varaq/ Enjoy! Johan - Original Message - From: Thomas Pridham [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 3:12 PM Subject: RE: Orion support company What truly happened is that the Klingons have purchased IronFlare / Orion. Starting with version 1.5.0, you will have the option of servering web pages while the web server is cloaked. The serving-pages-while-cloaked will prove to be a threat to the United Federation of J2EE Servers (made up or BEA, IBM, HP, iPlanet). :-) (yes I am a nerd, yes I couldn't resist some Star Trek humor, and yes this post serves only to be a distraction from the real work at hand) Regards, Tom Pridham -Original Message- From: Dan North [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 4:33 AM To: Orion-Interest Subject: RE: Orion support company BEA made an offer, but IBM beat them to it. As of version 1.5.0, Orion will become known as OrionSphere Application Server (TM) At 14:48 26/04/2001 +1000, you wrote: Okok everyone - for those confused. Orion did NOT get bought by BEA. JoeO was just making a joke, which obviously quite a few people missed. Call it a late April fools prank ;) REPEATING: Orion has not been bought by BEA. -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert S. Sfeir Sent: Thursday, April 26, 2001 4:33 AM To: Orion-Interest Subject: RE: Orion support company At 11:37 AM 4/25/2001 -0400, you wrote: Orion's web site is still up? Every time I go to www.orionserver.bea.com, it comes back with an error. What's orionserver.bea.com? Dude how about www.orionserver.com, I didn't know BEA bought Orion... or did I miss some crazy post somewhere? R Robert S. Sfeir Director of Software Development PERCEPTICON corporation San Francisco, CA 94123 w - http://www.percepticon.com/ e- [EMAIL PROTECTED] t - (415) 749-2900 x205 -- Dan North VP Development - Cadrion Technologies - +44 (0)20 7440 9550 CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium
Re: orion not replicating session state - relatively urgent
And all the stuff you shove up the session are Serializable? Doublecheck that. If they are Serializable, your problem sounds like a bug. Johan - Original Message - From: Mike N. Christoff [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 10:25 PM Subject: Re: orion not replicating session state - relatively urgent Thanks for the advice, however after adding this our session data is still being lost when the server we initially connected to goes down. We are currently testing with two servers, both of which belong to the same cluster island. What still boggles us here is that the sample applications (like servlets/SessionServlet) work perfectly. We even moved our web application into the orion\default-web-app directory and in this directory they also work. In summary: only the default web application is replicating state properly. Our other applications must be missing a setting somewhere that specifies that their session data should be shared with servers in the cluster island as is the case with the default application. Michael N. Christoff Developer, Eldan Software, Ltd. Toronto, Canada www.eldan.com - Original Message - From: Rafael Alvarez [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 2:55 PM Subject: Re: orion not replicating session state - relatively urgent Hello Mike, Try using this orion-web.xml. The persistence-path is not specified by default, so you need to declare it. This is the place where sessions are persisted across server restarts. orion-web-app deployment-version=1.4.5 persistence-path=session /orion-web-app Thursday, April 26, 2001, 12:20:39 PM, you wrote:
Re: freetds.org
Ok, thanks.,.. - Original Message - From: Paul Kofon [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 5:51 PM Subject: Re: freetds.org Hi, The database driver for MSSQL from freetds.org is, according to the documention, work in progress more or less. I had been looking for a cheap/free driver for MSSQL. When I found it, I thought my search was over. But I wrong, since I just couldn't use it. I kept getting SQLExceptions (which were to be expected according to the documentation because most things are not implemented yet). Finally, I had to stop using it. Currently, I use two drivers and they both work flawlessly for my apps: one from http://www.inetsoftware.de and the other from http://www.j-netdirect.com. Though they cost money. Regards, Paul From: Johan Fredriksson [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: freetds.org Date: Thu, 26 Apr 2001 17:36:15 +0200 Has anyone got their driver to work with ms sql server 7? I just get an error message all the time : java.sql.SQLException: The database driver (com.internetcds.jdbc.tds.Driver@ff3a fe9f) returned refusing to connect to the URL jdbc:freetds:sqlserver://192.168.1 .123/ at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source ) Does anyone know what I'm doing wrong? I'll include my datasource.xml also...: data-source class=com.evermind.sql.DriverManagerDataSource name=MyDataSource location=jdbc/BB xa-location=jdbc/xa/BBXADS ejb-location=jdbc/MyDataSource connection-driver=com.internetcds.jdbc.tds.Driver pooled-location=jdbc/MyPooledDS username=my password=password url=jdbc:freetds:sqlserver://192.168.1.123/ max-connect-attempts=3 max-connections=1 connection-retry-interval=1 inactivity-timeout=30 / thanks in advance. Johan _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: freetds.org
Maybe I wasn't clear enough, but I ment the free driver from freetds.org. That one I had some problems with to get to work, later I figured out that it had to do with the URL I sent... You had to specify the db-name when connecting, it was not enough to log in and then get redirected to the database ( as with com.jnetdirect.jsql.JSQLDriver ). My next questions on this subject are of course: Has anyone tested this driver? And what were the results of those tests? I'm currently not developing a J2EE app, so I don't need ejb or entity beans, and therefore I haven't tested that. Johan - Original Message - From: Hani Suleiman [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 6:23 PM Subject: Re: freetds.org Yes, I have the driver from www.inetsoftware.de working flawlessly. Just stay away from the jdbc-odbc driver and you should be fine. Hani On Thu, 26 Apr 2001, Johan Fredriksson wrote: Has anyone got their driver to work with ms sql server 7? I just get an error message all the time : java.sql.SQLException: The database driver (com.internetcds.jdbc.tds.Driver@ff3a fe9f) returned refusing to connect to the URL jdbc:freetds:sqlserver://192.168.1 .123/ at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source ) Does anyone know what I'm doing wrong? I'll include my datasource.xml also...: data-source class=com.evermind.sql.DriverManagerDataSource name=MyDataSource location=jdbc/BB xa-location=jdbc/xa/BBXADS ejb-location=jdbc/MyDataSource connection-driver=com.internetcds.jdbc.tds.Driver pooled-location=jdbc/MyPooledDS username=my password=password url=jdbc:freetds:sqlserver://192.168.1.123/ max-connect-attempts=3 max-connections=1 connection-retry-interval=1 inactivity-timeout=30 / thanks in advance. Johan
Re: Orion performance meassures ?
Title: RE: Orion performance meassures ? Most likely, although I have no clue how this is done... Try the class com.evermind.client.orion.OrionConsoleAdmin And see if you can get something out of that. If you do, feel free to post the results on the list :) Johan - Original Message - From: Larry Velez To: Orion-Interest Sent: Thursday, April 26, 2001 7:22 PM Subject: RE: Orion performance meassures ? Is there any way these statistics can be queried and exported either locally or remotely. I would like to create performance reports based on Memory usage, Average hits, load, etc. thanx, Larry (Running Orion on NT) -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 4:59 AM To: Orion-Interest Subject: Re: Orion performance meassures ? Yes there are some statistics... java -jar orionconsole.jar - Original Message - From: "Tony Fonager" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 11:19 PM Subject: Orion performance meassures ? We are experimenting with Orion as an alternative to IIS on Windows 2000. But how do I meassure such things as "hits pr. second", "errors pr. seconds" and so on, like I am used to under Windows 2000 and IIS, using the performance monitor ? Is there ANY statistics in Orion, which you can retrieve during runtime ? Thanks in advance! - Regards, Tony Fonager Netcoders ApS - http://www.netcoders.dk Copenhagen, Denmark
In 1.4.8
I get this errormessage when starting orion : A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation target' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi Warning: Error reading transaction-log file (/D:/orion/persistence/transaction.state) for recovery: premature end of fileForced or abrubt (crash etc) server shutdown detected, starting recovery process...Recovery completed, 0 connections committed and 0 rolled back...Orion/1.4.8 initialized D:\orionjava -jar orion.jar -versionOrion/1.4.8 (build 10374) Is the error mine or someone else's? Johan
Re: MVC/XML Framework Comments please
Hi, As we have also rolled our own solution, I'll just add my two cents. As Tim, we found that the existing frameworks didn't fit quite well into what we wanted to do, (that was even before Struts was created) and as we wanted to integrate other features... Following the Model 2-controller servlet approach, we have a centralised servlet, driven by an XML file, that specifies XML/XSLT sources for any given path. However, most of the times we are not generating XML in Java, but directly from PLSQL. We think that EJB is too much/too painful to develop for most of our applications so we developed a small library that allows us to generate the XML content directly from PLSQL. If you need to handle session values and the like, you can also use JSPs to generate part of the XML and integrate it with PLSQL generated XML. We also provide ways to modify the defined sources (XML or XSLT) on a per-request basis so it is quite flexible. We also use precompiled style-sheets, which, last time I checked, boosted our performance sometimes by a factor of three! Last detail I added to our XSLT cache is that precompiled stylesheets are stored through Soft References, thus preventing the cache from eating all the memory and providing a controlled degradation of service (not sure if that is the english translation ;)) We included also: .- a logging system, which we hope to be able to remove as soon as 1.4 provides something similar .- a flexible security system, which much more flexible that the one the JSDK spec. provides .- internationalisation, which allows us to change the config values depending on the language value .- browserization which also allows us to change the config values depending on the browser Agent and Accept strings. .- Our own connection pools, which we are thinking about replacing with another library... All in all... a .jar file of about 294KB The key point, IMHO, is to stick to standards as much as you can, and to allow different parts to be replaced when time comes. For example, we used to have a module that made the XSLT processing independent of the XSLT processor, now that JAXP 1.1 has done so, we removed the module and substituted it with JAXP. The better the standards, the easier to mantain our library. On the how to handle such a project side, we also follow the model of providing the designers with a set of static XML files so they can start playing with them while other people implement the logic. When logic is ready, you substitute XML_SOURCE=/.../static.xml with XML_SOURCE=plsql://.../package.procName and almost voilà ;). Almost because you still have to check that parameters are passed and things like that. We are pretty happy with it, as it allows us to concentrate on the real application (presentation-XSLT, logic-PLSQL/BDD) and we don't have to spend that much time developing Beans, interfaces... If we needed to, we would be able to use EJB, but for us it's been not worthy (so far). Just my 2ec, D. PD: We have had 5-6 applications with this system running production for a almost 1 year and half. We don't have big ones, but we have lots of them ;). Tim Endres wrote: We rolled our own servlet for this. I found none of the existing frameworks to properly address what we needed. It is not a complicated thing to write. An XML config file specifies the commands that get executed for any given pathinfo. The command is tied to an XSL stylesheet, which processes the XML that the command generates. Precompiled stylesheets are effectively XSL stylesheets that have already been parsed from the XML text into the DOM Node tree that is used by the XSLT processor. These compiled stylesheets are then Serialized out, and then Serialized back in, such that our code can then skip the cost of parsing the XSL's XML file, in exchange for the cost of serialization. tim. Tim, that sounds v.interesting. Forgive my ignorance but what toolkit are you using and what do you mean by precompile the XSL pages? Thanks, Trevor On Thu, 26 Apr 2001, Tim Endres wrote: We do exactly what you propose. A servlet drives lightweight commands. The commands get XML trees containing the HttpServletRequest information, and fill in a subtree with the XML results. This tree is fed into XSLT and the resulting HTML is sent down the wire. I prefer it over JSP by miles. We precompile the XSL pages, so we get really good performance. And the separation of content/presentation could not be better. tim. SNIP
Pass object session from one server to another
Dear all, Does anyonecan show me the way to catch a object session from remote server? I have twoapplications on separated server and I want they can communicate each other through object session. the one can pass its object valueand the other can receive it accordingly. Any hints much appreciated, Van Duong
Re: remote shutdown of orion 1.4.8
try -force On 25 Apr 2001 08:46:02 -0600, [EMAIL PROTECTED] wrote: Folks, The following remote shutdown command does not work anymore in 1.4.8 (it works fine in 1.4.7), any ideas? bug? java -jar admin.jar ormi://localhost admin password -shutdown P.S. already verified the password is correct in [orion-home]/config/principals.xml Thanks in advance! Chris
Re: Re: IIS, Orion, virtual host
Dear Jeff Hubbach, Thanks for your advice. 01-4-27 0:00:00 You had said£º Paul, I'm sorry to say that I have no experience with IIS and configuration issues therein. I do know thorugh experience and education that each IP has it's own set of ports. That's why I gave my advice below. If you are trying to do something similar to Oliver (run Orion on a different IP but same port as IIS), then I would recommend trying my suggestion below. If you think you have IIS configured to only listen to one IP, then start it up and try accessing the second IP on the same port. If the IIS web site comes up, then it is configured to listen to ALL IPs on the box. I would read the documentation on IIS at this point. From what little I know of IIS, there are some pretty big security holes in it, which I guess if you keep up with the patches can be dealt with... Sorry I could't give you more hands-on experience. Jeff Hubbach. On Fri, 27 Apr 2001 9:59:41 +0800 paul [EMAIL PROTECTED] wrote: Dear Jeff Hubbach, Can you send some detail info about IIS set? 01-4-25 12:54:00 You had said£º Each IP has it's own ports. Therefore, you could have Apache listening on port 80 of IP A, IIS listening on port 80 of IP B, and Orion listening on port 80 of IP C. It sounds like you don't have IIS configured to listen to only one of the IPs, so it's binding to both. If you browse to the IP that you want to run Orion on, does it bring up the IIS site? just curious... Jeff Hubbach. Ron van Pol wrote: Seems to me that there can run only one process on a particular port. Once IIS is already running on port 80 Orion will be unable to bind to that port since it is already in use by IIS. Same goes if you start orion before IIS. IP Then IIS, will not be able to start since Orion already has port 80 in use. Ron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of olivier Sent: Wednesday, April 25, 2001 9:51 AM To: Orion-Interest Subject: IIS, Orion, virtual host Hi, For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and x.x.x.21. (modification in the connection setting and the hosts file) I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80. Is is because the port are the same that I can't start both of them at the same time (they complain that the address is in use). Or is it possible and I don't know how to do it ??? Thanks, olivier -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com Sincerely, paul [EMAIL PROTECTED] Sincerely, paul [EMAIL PROTECTED]
RE: In 1.4.8
I also got this error when I upgraded. It resolved when i upgraded my JDK from 1.2.2 to 1.3.0.02. Regards Kristoffer Skjutare -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Johan Fredriksson Sent: Friday, April 27, 2001 9:24 AM To: Orion-Interest Subject: In 1.4.8 I get this errormessage when starting orion : A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t arget' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg i Warning: Error reading transaction-log file (/D:/orion/persistence/transaction.s tate) for recovery: premature end of file Forced or abrubt (crash etc) server shutdown detected, starting recovery process ... Recovery completed, 0 connections committed and 0 rolled back... Orion/1.4.8 initialized D:\orionjava -jar orion.jar -version Orion/1.4.8 (build 10374) Is the error mine or someone else's? Johan
RE: Orion support company
Do these Klingon J2EE servers function uniformly thought out the galaxy, or do they exhibit strange behaviors in black holes? -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 1:11 AM To: Orion-Interest Subject: Re: Orion support company Well, you started it!! http://www.geocities.com/connorbd/varaq/ Enjoy! Johan - Original Message - From: Thomas Pridham [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 3:12 PM Subject: RE: Orion support company What truly happened is that the Klingons have purchased IronFlare / Orion. Starting with version 1.5.0, you will have the option of servering web pages while the web server is cloaked. The serving-pages-while-cloaked will prove to be a threat to the United Federation of J2EE Servers (made up or BEA, IBM, HP, iPlanet). :-) (yes I am a nerd, yes I couldn't resist some Star Trek humor, and yes this post serves only to be a distraction from the real work at hand) Regards, Tom Pridham -Original Message- From: Dan North [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 4:33 AM To: Orion-Interest Subject: RE: Orion support company BEA made an offer, but IBM beat them to it. As of version 1.5.0, Orion will become known as OrionSphere Application Server (TM) At 14:48 26/04/2001 +1000, you wrote: Okok everyone - for those confused. Orion did NOT get bought by BEA. JoeO was just making a joke, which obviously quite a few people missed. Call it a late April fools prank ;) REPEATING: Orion has not been bought by BEA. -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert S. Sfeir Sent: Thursday, April 26, 2001 4:33 AM To: Orion-Interest Subject: RE: Orion support company At 11:37 AM 4/25/2001 -0400, you wrote: Orion's web site is still up? Every time I go to www.orionserver.bea.com, it comes back with an error. What's orionserver.bea.com? Dude how about www.orionserver.com, I didn't know BEA bought Orion... or did I miss some crazy post somewhere? R Robert S. Sfeir Director of Software Development PERCEPTICON corporation San Francisco, CA 94123 w - http://www.percepticon.com/ e- [EMAIL PROTECTED] t - (415) 749-2900 x205 -- Dan North VP Development - Cadrion Technologies - +44 (0)20 7440 9550 CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium
RE: Orion support company
Not only that, but all the low priced and strong open source J2EE servers got together to form a Union, with the key members being Orion, Enhydra, and jboss. The new name: Boss-Hides-Onion (composite of jboss-enhydra-orion). Motto: Run with Orion and reach the stars, Or pick Jboss and count the jars. Perhaps with Enhydra you take a spin, But at these prices, You're sure to win. -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 4:34 PM To: Orion-Interest Subject: RE: Orion support company I just read today at slashdot that Oracle, Sun and Borland are also joining the team. The product has been renamed once more to OrionSphereLogicStonePlanetOracleBorland Application Server. I am a little confused why Borland was added last though as they bought in before Sun and Oracle. So it should be named OrionSphereLogicStoneBorlandPlanetOracle. But if Oracle got in before Sun, then probably it should be named OrionSphereLogicStoneBorlandOraclePlanet..which I personally think sounds better..you know, the whole Planet at the end thing just fits better. But I am not one to gossip.. -Original Message- From: KirkYarina [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 11:13 AM To: Orion-Interest Subject: RE: Orion support company Brokat jumped in, too - it's now OrionSphereLogicStone(tm), also available from PCMall and Egghead. At 06:50 AM 4/26/01 -0400, you wrote: Breaking news: It was decided there is enough for everyone to go round, reserve your copy now of OrionSphereLogic(tm) at CompUSA! While stocks last! Hani On Thu, 26 Apr 2001, Dan North wrote: BEA made an offer, but IBM beat them to it. As of version 1.5.0, Orion will become known as OrionSphere Application Server (TM) At 14:48 26/04/2001 +1000, you wrote: Okok everyone - for those confused. Orion did NOT get bought by BEA. JoeO was just making a joke, which obviously quite a few people missed. Call it a late April fools prank ;) REPEATING: Orion has not been bought by BEA. -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert S. Sfeir Sent: Thursday, April 26, 2001 4:33 AM To: Orion-Interest Subject: RE: Orion support company At 11:37 AM 4/25/2001 -0400, you wrote: Orion's web site is still up? Every time I go to www.orionserver.bea.com, it comes back with an error. What's orionserver.bea.com? Dude how about www.orionserver.com, I didn't know BEA bought Orion... or did I miss some crazy post somewhere? R Robert S. Sfeir Director of Software Development PERCEPTICON corporation San Francisco, CA 94123 w - http://www.percepticon.com/ e- [EMAIL PROTECTED] t - (415) 749-2900 x205 -- Dan North VP Development - Cadrion Technologies - +44 (0)20 7440 9550 CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium
ejb 2.0 proposed final draft #2 is out
Title: ejb 2.0 proposed final draft #2 is out I'm reading it now. Dependent objects are gone. -tim
RE: ejb 2.0 proposed final draft #2 is out
Title: RE: ejb 2.0 proposed final draft #2 is out Here is the section that says what is different between PFD 1 and 2: E.12 Proposed Final Draft 2 Introduced local interfaces and local home interfaces for entity beans and session beans. Added characterization of local client view. Added subclasses of EJBException for systems exceptions thrown from local interface methods. Revisions to architecture for container managed persistence: * Shifted container managed relationships among entity beans from remote interfaces to local interfaces. * Removed dependent object classes. * Removed remote relationships among entity beans.
Re: orion not replicating session state - relatively urgent
Yes, all the objects implement Serializable. We have a test application that simply updates a single counter (an Integer object). We don't have serialVersionUID, however. Is this required? Michael N. Christoff Developer, Eldan Software, Ltd. Toronto, Canada www.eldan.com - Original Message - From: Duffey, Kevin [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 5:35 PM Subject: RE: orion not replicating session state - relatively urgent Did you make sure all objects that are stored in HttpSession, including any object fields of objects all implement Serializable as well as provide the static long serailVersionUID = ; in every class file? -Original Message- From: Mike N. Christoff [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 1:25 PM To: Orion-Interest Subject: Re: orion not replicating session state - relatively urgent Thanks for the advice, however after adding this our session data is still being lost when the server we initially connected to goes down. We are currently testing with two servers, both of which belong to the same cluster island. What still boggles us here is that the sample applications (like servlets/SessionServlet) work perfectly. We even moved our web application into the orion\default-web-app directory and in this directory they also work. In summary: only the default web application is replicating state properly. Our other applications must be missing a setting somewhere that specifies that their session data should be shared with servers in the cluster island as is the case with the default application. Michael N. Christoff Developer, Eldan Software, Ltd. Toronto, Canada www.eldan.com - Original Message - From: Rafael Alvarez [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, April 26, 2001 2:55 PM Subject: Re: orion not replicating session state - relatively urgent Hello Mike, Try using this orion-web.xml. The persistence-path is not specified by default, so you need to declare it. This is the place where sessions are persisted across server restarts. orion-web-app deployment-version=1.4.5 persistence-path=session /orion-web-app Thursday, April 26, 2001, 12:20:39 PM, you wrote:
list orion here
orion should be listed here: http://www.javaworld.com/javaworld/tools/jw-tools-appserver.html
jsessionid errors
anybody notice that once in a while browsers complain about the way orion encodes session ids? why doesn't the session ID get encoded like: http://www.mysite.com/mypage.jsp?arg=blahjsessionid=BEOKGFBKKKPI what are advantages and disadvantages of above compared to orions method thanks David
RE: Re: IIS, Orion, virtual host
I must confess I was incorrect about the port issue. I had forgotten that I had moved my IIS to a different port when Orion was running. But I found the solution to the issue as well. Seems IIS listens on all IP by default even if you tell it to only listen on one port. The following tells how to disable this behaviour. I have tested it and it works. Thanks, Ron White PS. Please forward to the Orion list since my mailserver can't seem to find it. Socket Pooling, Performance, and Security Issues You might want to disable socket pooling if any of the following are true: You are not hosting a large number of sites. You have special security concerns. Socket pooling will cause IIS 5.0 to listen to all IP addresses, which might present a possible security risk for secure domains with multiple networks. In addition, both bandwidth throttling and performance adjustments will apply to all Web sites configured for the same port, for example port 80. If you intend to use bandwidth throttling or do performance tuning on a per-site basis, you will need to disable socket pooling. To disable socket pooling, type the following at the command prompt: cscript c:\inetpub\adminscripts\adsutil.vbs set w3svc/disablesocketpooling true The command prompt will reply: disablesocketpooling : (BOOLEAN) True Thanks, Ron White
when i was executing jsp page iam geting these error could plshelp me any one
Hi Everyone, when i was executing jsp page iam geting these error could pls help me any one. 500 Internal Server Error java.lang.NullPointerException at /examples/jsp/IA/config5.jsp._jspService(/examples/jsp/IA/config5.jsp.ja va:86) (JSP page line 51) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX) thank u in advance. regards, komal kandi. -Original Message- From: Tim Drury [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Friday, April 27, 2001 7:14 AM To: Orion-Interest Subject: RE: ejb 2.0 proposed final draft #2 is out Here is the section that says what is different between PFD 1 and 2: E.12 Proposed Final Draft 2 Introduced local interfaces and local home interfaces for entity beans and session beans. Added characterization of local client view. Added subclasses of EJBException for systems exceptions thrown from local interface methods. Revisions to architecture for container managed persistence: * Shifted container managed relationships among entity beans from remote interfaces to local interfaces. * Removed dependent object classes. * Removed remote relationships among entity beans.
RE: ejb 2.0 proposed final draft #2 is out
Title: RE: ejb 2.0 proposed final draft #2 is out Am I the only one that think the following makes more sense? EJBObject - Local interface RemoteEJBObject - Remote interface as opposed to EJBObject - Remote interface EJBLocalObject - Local interface Isn't is the more natural state for an object to be local? I am gladthe whole DO thing is gone. It made no good sense at all. Just my 2C -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim DrurySent: Friday, April 27, 2001 9:14 AMTo: Orion-InterestSubject: RE: ejb 2.0 proposed final draft #2 is out Here is the section that says what is different between PFD 1 and 2: E.12 Proposed Final Draft 2 Introduced local interfaces and local home interfaces for entity beans and session beans. Added characterization of local client view. Added subclasses of EJBException for systems exceptions thrown from local interface methods. Revisions to architecture for container managed persistence: * Shifted container managed relationships among entity beans from remote interfaces to local interfaces. * Removed dependent object classes. * Removed remote relationships among entity beans.
Does Orion support container managed relationships among entities inmultiple EJB-JAR files???
I am trying to breakup my one giant ejb-jar file into different multiple ejb-jar files, and I was wondering if Orion supports relationships between two Container Managed Entity beans in different ejb-jar files. Is there a section in the SPEC that talks about this? Thanks. -AP_
clustering and web-site.xml, need one for each app?
Reading the orion docs for http clustering, step 3 left me with strange feeling. - Step 3: Configure your cluster islands Cluster islands are connected to a certain site rather than to a web application and to configure a cluster island, edit the web-site.xml file for the website your web-application is deployed on (for example default-web-site.xml file if you are clustering the default web-application)... - Currently all the applications we are testing are defined as sub applications of the default-web-site. ie: web-site host="ivan" port="8080" cluster-island="1" display-name="Default Orion WebSite"default-web-app application="default" name="defaultWebApp" /frontend host="ivan" port="80" /web-app application="eservices" name="eservices-web" root="/eservices" /web-app application="sessions" name="sessions-web" root="/sessions" / The line that got me thinking was "cluster islands are connected to a certain site rather than to a web application". Could this be whyour web applications are not sharing sessions when in their own directory,yet the same apps *do* share sessions when in the default-web-app directory??
RE: Re: IIS, Orion, virtual host
Out of curiosity: Jeff, are you using a multi-homed machine? So far I have not run across a network driver that filters all incoming packets from a single network card to resolve them into various IPs, but I'm always open to learn of new stuff. One network adapter - one IPaddress (although I've heard of drivers which send out fake IPs, but can't receive them) --peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of olivier Sent: Wednesday, April 25, 2001 9:51 AM To: Orion-Interest Subject: IIS, Orion, virtual host Hi, For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and x.x.x.21. (modification in the connection setting and the hosts file) I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80. Is is because the port are the same that I can't start both of them at the same time (they complain that the address is in use). Or is it possible and I don't know how to do it ??? Thanks, olivier -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com Sincerely, paul [EMAIL PROTECTED] Sincerely, paul [EMAIL PROTECTED]
RE: MVC/XML Framework Comments please
This may be off topic a little, but I am a little disheartened to see so many people disregarding EJB when considering a internet application framework. If you disregard transactions (NotSupported), and follow a few simple patterns (see java.sun.com/j2ee) you basically are able to build a powerful resource engine, which also completely isolates your business logic from your presentation tier. Although, you may be able to argue (trust me, I have done it in the past) that a JavaBean hitting a database is the same thing as an EJB call, it is likely that you will be wrong. Unless you have a server in Denver, CO talking to a server in Australia (which very seldom happens) the amount of time saved by having your resources (instance pools, db pools, jndi references, rmi pools, whatever else you can dream up) cached in the EJB server (even with RMI overhead), will blow the time it takes to make a DB request away. If you question this, run some tests. I have attempted to beat EJB performance by using a small self contained library a million times, and have seldom succeeded. I would recommend, unless your project is exceptionally simple, that a simple EJB logic abstraction is a valid consideration for the project. Back to the conversation. All of the recommendations for the web tier I believe are good, and come from years of development headaches that I am sure everybody has experienced. In reference to the web tier, the question that comes to mind when following this thread, is what are the needs of the system that is to be built. On one hand maintence is very important, but on the other hand, every abstraction hits performance. On one hand abstraction of content using XML is one of the most flexible ways to develop an internet application framework, but on the other hand, does your login page really need to be represented as an XML entity. Furthermore, is an additional transformation layer (cached or not) really worth it in terms of maintanence, performance, etc. I guess my point is, I have never found a global approach to data/presentation abstraction which I wasn't required to violate for a specific case. In fact, I have usually found that when approaching (an attempting to select) an architecture I often think this is too complex from my needs, only later to find that I needed most of what it had to offer and just didn't know it at the time (and had to build it myself in the long run). My issue with XML/XSL transformations is this: My theory for the presentation tier is to keep it as simple as possible. Occasionally, you find a designer who has every right to be a engineer, but designs because they enjoy it. This person will scoff(sp?) at the simplicity of XSL. Most of the time you will find designers who know HTML (PDF, etc.). Which concept is closer to HTML, XML/XSL or JSP? I think JSP. I also have found it easier to say Do you see the green (or whatever color depending upon your IDE) colored text? Please don't delete that than it is to teach someone the concept behind XSL. You can have a good hour conversation, hand them the JSP Syntax Reference document and say DESIGN good man. Anyway... enough talk... we use Struts and our own Model-2-Brew. Cory
Re: jsessionid errors
On Thu, Apr 26, 2001 at 12:18:56PM -0400, David Morton wrote: anybody notice that once in a while browsers complain about the way orion encodes session ids? why doesn't the session ID get encoded like: http://www.mysite.com/mypage.jsp?arg=blahjsessionid=BEOKGFBKKKPI what are advantages and disadvantages of above compared to orions method You *really* want an application to change URLs? What if the application happens to WANT a variable called jsessionid? (That's... insane, but the possibility is still there, possibly for routing purposes?) I haven't noticed any of the browsers I use complaining, at any rate. thanks David -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
JMS Connection pooling
Title: RE: Orion performance meassures ? Has any one tried to setup connection pooling for JMS? Is there any such facility in orion 1.4.7? Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information
JMS Problem
Title: RE: Orion performance meassures ? Hi I am new to JMS development, I wrote a sample application through which I want to access the messages stored in the orion server. When I ran the application seperatly from outside orion environment I am getting the following error java.lang.NullPointerException at java.io.DataOutputStream.writeUTF(Unknown Source) at java.io.DataOutputStream.writeUTF(Unknown Source) at com.evermind.server.jms.ck.init(JAX) at com.evermind.server.jms.EvermindQueueConnection.start(JAX) at JMSTest.main(JMSTest.java:21) The line at 21 is connection.start(); If I setup my program as a client module in orion it works fine. My jndi.properites are like the following java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactoryjava.naming.provider.url=ormi://localhost/PrismAppjava.naming.security.principal=adminjava.naming.security.credentials=admin Please can any one tell me where I am wrong. Thanks in advance. Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information
RE: MVC/XML Framework Comments please
Cheers for Cory! Ejb is THE way to do persistance. By using EJB's properly, we make use of all of Orion's resource handling capabilities...and these guy's at Orion are much better at this than I am. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cory Updyke Sent: Friday, April 27, 2001 10:05 AM To: Orion-Interest Subject: RE: MVC/XML Framework Comments please This may be off topic a little, but I am a little disheartened to see so many people disregarding EJB when considering a internet application framework. If you disregard transactions (NotSupported), and follow a few simple patterns (see java.sun.com/j2ee) you basically are able to build a powerful resource engine, which also completely isolates your business logic from your presentation tier. Although, you may be able to argue (trust me, I have done it in the past) that a JavaBean hitting a database is the same thing as an EJB call, it is likely that you will be wrong. Unless you have a server in Denver, CO talking to a server in Australia (which very seldom happens) the amount of time saved by having your resources (instance pools, db pools, jndi references, rmi pools, whatever else you can dream up) cached in the EJB server (even with RMI overhead), will blow the time it takes to make a DB request away. If you question this, run some tests. I have attempted to beat EJB performance by using a small self contained library a million times, and have seldom succeeded. I would recommend, unless your project is exceptionally simple, that a simple EJB logic abstraction is a valid consideration for the project. Back to the conversation. All of the recommendations for the web tier I believe are good, and come from years of development headaches that I am sure everybody has experienced. In reference to the web tier, the question that comes to mind when following this thread, is what are the needs of the system that is to be built. On one hand maintence is very important, but on the other hand, every abstraction hits performance. On one hand abstraction of content using XML is one of the most flexible ways to develop an internet application framework, but on the other hand, does your login page really need to be represented as an XML entity. Furthermore, is an additional transformation layer (cached or not) really worth it in terms of maintanence, performance, etc. I guess my point is, I have never found a global approach to data/presentation abstraction which I wasn't required to violate for a specific case. In fact, I have usually found that when approaching (an attempting to select) an architecture I often think this is too complex from my needs, only later to find that I needed most of what it had to offer and just didn't know it at the time (and had to build it myself in the long run). My issue with XML/XSL transformations is this: My theory for the presentation tier is to keep it as simple as possible. Occasionally, you find a designer who has every right to be a engineer, but designs because they enjoy it. This person will scoff(sp?) at the simplicity of XSL. Most of the time you will find designers who know HTML (PDF, etc.). Which concept is closer to HTML, XML/XSL or JSP? I think JSP. I also have found it easier to say Do you see the green (or whatever color depending upon your IDE) colored text? Please don't delete that than it is to teach someone the concept behind XSL. You can have a good hour conversation, hand them the JSP Syntax Reference document and say DESIGN good man. Anyway... enough talk... we use Struts and our own Model-2-Brew. Cory
RE: when i was executing jsp page iam geting these error could pls help me any one
Well, this tells you that you hit a null pointer exception in the jsp page. Not very much more ... Best you can do is to add some debugging code to trace the execution of your jsp page (write print statements to the HTML page or to a log file). FE On Friday, April 27, 2001 6:06 PM, Komal Kandi (Contractor) [SMTP:[EMAIL PROTECTED]] wrote: Hi Everyone, when i was executing jsp page iam geting these error could pls help me any one. 500 Internal Server Error java.lang.NullPointerException at /examples/jsp/IA/config5.jsp._jspService(/examples/jsp/IA/config5.jsp.ja va:86) (JSP page line 51) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX) thank u in advance. regards, komal kandi. -Original Message- From: Tim Drury [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Friday, April 27, 2001 7:14 AM To: Orion-Interest Subject: RE: ejb 2.0 proposed final draft #2 is out Here is the section that says what is different between PFD 1 and 2: E.12 Proposed Final Draft 2 Introduced local interfaces and local home interfaces for entity beans and session beans. Added characterization of local client view. Added subclasses of EJBException for systems exceptions thrown from local interface methods. Revisions to architecture for container managed persistence: * Shifted container managed relationships among entity beans from remote interfaces to local interfaces. * Removed dependent object classes. * Removed remote relationships among entity beans.
Re: IIS, Orion, virtual host
I'm on Linux, and you can configure your machine to listen to multiple IPs. The NIC is originally configured with one IP when you set it up, but then you can go in and tell it to listen to more IPs. You can do this in NT and 2000 as well. In 2000, you just open up your network settings - TCP/IP properties - advanced. Now you can add multiple IPs to listen to. In Linux, I just use linuxconf. There's a section called IP aliases for Virtual Hosts. In solaris, you just put all the IPs you want to listen to in a file that is named after your interface and is located in /usr/local/if.setup. Jeff Hubbach. cybermaster wrote: Out of curiosity: Jeff, are you using a multi-homed machine? So far I have not run across a network driver that filters all incoming packets from a single network card to resolve them into various IPs, but I'm always open to learn of new stuff. One network adapter - one IPaddress (although I've heard of drivers which send out fake IPs, but can't receive them) -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
Is this a 1.4.8 bug??
The following exception occurs when I move to 1.4.8, but DOES NOT occur in 1.4.7: Exception in thread main com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: java.lang.InternalError: Was not in used mode at ContentManagementService_StatelessSessionBeanWrapper4.createVideoContent(Con tentManagementService_StatelessSessionBeanWrapper4.java:758) at java.lang.reflect.Method.invoke(Native Method) at com.evermind._hw._oa(Unknown Source) at com.evermind._jw.run(Unknown Source) at connection to localhost/127.0.0.1 as admin at com.evermind._br.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(Unknown Source) at com.evermind._br.invokeMethod(Unknown Source) at com.evermind._di.invoke(Unknown Source) at __Proxy2.createVideoContent(Unknown Source) at com.indnet.symbiosis.service.contentmanagement.test.Client.main(Client.java: 62) Nested exception is: java.lang.InternalError: Was not in used mode at com.evermind.server.ejb.DataSourceConnection.release(Unknown Source) at OptionEntityHome_EntityHomeWrapper390.findDefaultsByGroup(OptionEntityHome_E ntityHomeWrapper390.java:654) at com.indnet.symbiosis.service.optionmanagement.common.Utility.findDefaultsByG roup(Utility.java:106) at com.indnet.symbiosis.service.optionmanagement.contentoption.ContentOptionSer viceBean.findLanguageDefaultOptions(ContentOptionServiceBean.java:54) at ContentOptionService_StatelessSessionBeanWrapper14.findLanguageDefaultOption s(ContentOptionService_StatelessSessionBeanWrapper14.java:66) at com.indnet.symbiosis.service.contentmanagement.ContentManagementServiceBean. setContentValue(ContentManagementServiceBean.java:363) at com.indnet.symbiosis.service.contentmanagement.ContentManagementServiceBean. setVideoContentValue(ContentManagementServiceBean.java:481) at com.indnet.symbiosis.service.contentmanagement.ContentManagementServiceBean. createVideoContent(ContentManagementServiceBean.java:101) at ContentManagementService_StatelessSessionBeanWrapper4.createVideoContent(Con tentManagementService_StatelessSessionBeanWrapper4.java:708) at java.lang.reflect.Method.invoke(Native Method) at com.evermind._hw._oa(Unknown Source) at com.evermind._jw.run(Unknown Source) at connection to localhost/127.0.0.1 at com.evermind.server.rmi.OrionRemoteException._ny(Unknown Source) at com.evermind._br._mh(Unknown Source) at com.evermind._br.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) Is this a 1.4.8 bug? I am just calling a finder, and getting this exception. Thanks. -AP_
RE: MVC/XML Framework Comments please
We too tried to use a liteweight persistence layer (jrf) with a few extensions, and found that Orion CMP was just as fast at most things, and significantly faster at relationships. I originally felt we needed to switch because some of our beans used bidirectional relationships implemented as get methods wrapping a finder method. This led to a pretty hefty performance hit. When Orion supports EJB QL and n:m relationships (1.5.0?), I think that performance issue will be lessoned. Until then, we had to denormalize our db a little while still use CMP. While looking at the various MVC frameworks, we too couldn't find anything to meet our needs. Struts and webWork were significantly more difficult to learn, which conflicted with the idea of making JSP easier for web designers, IMHO. Freemarker looked good until I found you had to write an adapter for each bean you wanted to expose for their template engine. We ended up writing our own MVC framework because of the unique requirements of our ASP based project. About 50% finished, we have been very pleased with our choice of Orion and CMP. Michael Third Parts.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker Sent: Friday, April 27, 2001 2:12 PM To: Orion-Interest Subject: RE: MVC/XML Framework Comments please Cheers for Cory! Ejb is THE way to do persistance. By using EJB's properly, we make use of all of Orion's resource handling capabilities...and these guy's at Orion are much better at this than I am. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cory Updyke Sent: Friday, April 27, 2001 10:05 AM To: Orion-Interest Subject: RE: MVC/XML Framework Comments please This may be off topic a little, but I am a little disheartened to see so many people disregarding EJB when considering a internet application framework. If you disregard transactions (NotSupported), and follow a few simple patterns (see java.sun.com/j2ee) you basically are able to build a powerful resource engine, which also completely isolates your business logic from your presentation tier. Although, you may be able to argue (trust me, I have done it in the past) that a JavaBean hitting a database is the same thing as an EJB call, it is likely that you will be wrong. Unless you have a server in Denver, CO talking to a server in Australia (which very seldom happens) the amount of time saved by having your resources (instance pools, db pools, jndi references, rmi pools, whatever else you can dream up) cached in the EJB server (even with RMI overhead), will blow the time it takes to make a DB request away. If you question this, run some tests. I have attempted to beat EJB performance by using a small self contained library a million times, and have seldom succeeded. I would recommend, unless your project is exceptionally simple, that a simple EJB logic abstraction is a valid consideration for the project. Back to the conversation. All of the recommendations for the web tier I believe are good, and come from years of development headaches that I am sure everybody has experienced. In reference to the web tier, the question that comes to mind when following this thread, is what are the needs of the system that is to be built. On one hand maintence is very important, but on the other hand, every abstraction hits performance. On one hand abstraction of content using XML is one of the most flexible ways to develop an internet application framework, but on the other hand, does your login page really need to be represented as an XML entity. Furthermore, is an additional transformation layer (cached or not) really worth it in terms of maintanence, performance, etc. I guess my point is, I have never found a global approach to data/presentation abstraction which I wasn't required to violate for a specific case. In fact, I have usually found that when approaching (an attempting to select) an architecture I often think this is too complex from my needs, only later to find that I needed most of what it had to offer and just didn't know it at the time (and had to build it myself in the long run). My issue with XML/XSL transformations is this: My theory for the presentation tier is to keep it as simple as possible. Occasionally, you find a designer who has every right to be a engineer, but designs because they enjoy it. This person will scoff(sp?) at the simplicity of XSL. Most of the time you will find designers who know HTML (PDF, etc.). Which concept is closer to HTML, XML/XSL or JSP? I think JSP. I also have found it easier to say Do you see the green (or whatever color depending upon your IDE) colored text? Please don't delete that than it is to teach someone the concept behind XSL. You can have a good hour conversation, hand them the JSP Syntax Reference document and say DESIGN good man. Anyway... enough talk... we use Struts and our own Model-2-Brew. Cory
log4j and ejb
Hi, I'm trying to use log4j to log from an enterprise bean. I've been able to get a bean to log to stdout using the BasicConfigurator but am not able to get it to log using either the DOMConfigurator or the PropertyConfigurator. I believe Property and DOM configurators need a file to set up the appenders. Has anybody been successful in using a configurator othere than the BasicConfigurator with a bean? If so, how? Thanks, Todd
Does any one else see any problems with latest PDF2?
Looking at the latest spec PFD2, it appears that it is not possible to establish a unidirectional relationship between two entity beans in separate ejb-jar.xml files. With the removal of remote-ejb-name as a possible value for role-souce it makes integration of two packages impossible without the mess of taking and trying to merge two ejb-jar files into one. Scenario 1: We are developing an general accounting package. Our clients need to integrate with our package by establishing uni-directional relationships from their CMP Entities into what we provide them. Since they will not be altering our ejb-jar (except for deployment) how can they reference our beans? Scenario 2: Our accounting package contains a good number of CMP Entity beans. Since EJB A relates to B, and B relates to C, and C relates to D and E, and E relates to G and so on. It is not possible to separate the ejb-jar into multiple, smaller, ejb-jar files for the purpose of managing and controlling change. With over 100 EJBs a single ejb-jar becomes very unmanageable. Are there any solutions to these problems? Thanks. Alex Paransky Individualnetwork.com
Re: IIS, Orion, virtual host
Just seen this post (so many to look through!), and I essentially agree with Jeff. I would agree that the error is probably happening because IIS is binding to the same IP address as Orion. I've done this before, and this does prevent multiple web servers from listening on the same port. Regards, Iain. On Fri, 27 Apr 2001 9:59:41 +0800 paul [EMAIL PROTECTED] wrote: Dear Jeff Hubbach, Can you send some detail info about IIS set? 01-4-25 12:54:00 You had said£º Each IP has it's own ports. Therefore, you could have Apache listening on port 80 of IP A, IIS listening on port 80 of IP B, and Orion listening on port 80 of IP C. It sounds like you don't have IIS configured to listen to only one of the IPs, so it's binding to both. If you browse to the IP that you want to run Orion on, does it bring up the IIS site? just curious... Jeff Hubbach.
Re: Re: IIS, Orion, virtual host
Just started subscribing to the interest group. Forgive me if talking nonsense, as I've not even used Orion yet, but I can definitely run IIS 5.0 and Apache web server on the same machine (virtual hosts setup for apache, IIS as the 'real' machine name). They both listen on port 80, and I can access home pages via a browser successfully. IIS 5.0 listens on port 80 by default (set in the website application settings - I don't know what happens if the port is left blank though!). Apache listens on *all* ports by default, but I've configured my virtual hosts to also listen on port 80. Therefore, it is my opinion that multiple web servers can be started on the same TCP port (for different, even virtual, IP addresses). Once I start using Orion, I'll let you know if I can run both at the same time successfully. Regards, Iain. - Original Message - From: elephantwalker [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, April 27, 2001 7:07 PM Subject: RE: Re: IIS, Orion, virtual host Peter, this is from Kabir's book Red Hat Linux 7 Server, page 214, The first step in creating an IP alias is to determine if you have the IP alias module loaded with the kernel [ip_alias.o]... In linux you can definetly use multiple ip addresses with a single network interface card. If one operating system can do it, I bet the others can also. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of cybermaster Sent: Friday, April 27, 2001 8:06 AM To: Orion-Interest Subject: RE: Re: IIS, Orion, virtual host Out of curiosity: Jeff, are you using a multi-homed machine? So far I have not run across a network driver that filters all incoming packets from a single network card to resolve them into various IPs, but I'm always open to learn of new stuff. One network adapter - one IPaddress (although I've heard of drivers which send out fake IPs, but can't receive them) --peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of olivier Sent: Wednesday, April 25, 2001 9:51 AM To: Orion-Interest Subject: IIS, Orion, virtual host Hi, For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and x.x.x.21. (modification in the connection setting and the hosts file) I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80. Is is because the port are the same that I can't start both of them at the same time (they complain that the address is in use). Or is it possible and I don't know how to do it ??? Thanks, olivier -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com Sincerely, paul [EMAIL PROTECTED] Sincerely, paul [EMAIL PROTECTED]
RE: ejb 2.0 proposed final draft #2 is out
Title: RE: ejb 2.0 proposed final draft #2 is out Ooops, my bad. -AP_ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex ParanskySent: Friday, April 27, 2001 12:37 PMTo: Orion-InterestSubject: RE: ejb 2.0 proposed final draft #2 is out I read the spec, and still saw the Dependent Objects in there. Where does it say that the DOs are gone? -AP_ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Russ WhiteSent: Friday, April 27, 2001 9:53 AMTo: Orion-InterestSubject: RE: ejb 2.0 proposed final draft #2 is out Am I the only one that think the following makes more sense? EJBObject - Local interface RemoteEJBObject - Remote interface as opposed to EJBObject - Remote interface EJBLocalObject - Local interface Isn't is the more natural state for an object to be local? I am gladthe whole DO thing is gone. It made no good sense at all. Just my 2C -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim DrurySent: Friday, April 27, 2001 9:14 AMTo: Orion-InterestSubject: RE: ejb 2.0 proposed final draft #2 is out Here is the section that says what is different between PFD 1 and 2: E.12 Proposed Final Draft 2 Introduced local interfaces and local home interfaces for entity beans and session beans. Added characterization of local client view. Added subclasses of EJBException for systems exceptions thrown from local interface methods. Revisions to architecture for container managed persistence: * Shifted container managed relationships among entity beans from remote interfaces to local interfaces. * Removed dependent object classes. * Removed remote relationships among entity beans.
RE: MVC/XML Framework Comments please
Doh! Sorry, that wasn't supposed to go to the list. But to keep this topic going (because I'm still undecided about what direction to go): Is anyone here besides Tim using XSLT in their web application? How do you like it? Is it easy to get designers up and running with it? How do you interface between Java and XML (jsp? building dom nodes in java? something else?) ? Thanks, Jeff -Original Message- From: Jeff Schnitzer Sent: Friday, April 27, 2001 3:38 PM To: Orion-Interest Subject: RE: MVC/XML Framework Comments please I'm definitely interested in your framework; may I have a copy? Thanks, Jeff -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 2:39 PM To: Orion-Interest Subject: RE: MVC/XML Framework Comments please I use my own framework for a couple of sites, and have gotten feedback from others using it as well. Its only 15K in size, full source, its free to use, modify, etc. If your interested in it, send me an email. It supports xsl transformations, and is very similar to Struts only that I found struts too much for my needs, and some features it didn't do that I needed, so I went that direction. -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 11:53 AM To: Orion-Interest Subject: MVC/XML Framework Comments please We are bout to pick a a framework, and I am looking for are comments or recommendation on a frameworks, other than Struts. (Don't want to be HTML/JSP centric) Any feedback on your experience with a framework, or do you know of web sites in production that are using a certain frame work, or do you know of friend or someone who has used one. I would like it to be XML centric, and MVC. For example, the V should apply the XSL to XML, to make it HTML. It should do standard session tracking. It should do standard data manager, so that Java Beans do the SQL (the M). A minor plus is form entry management and a bit of image/content management. It should be a single rich framework. Here are a few we are considering: http://www.jcorporate.com/html/products/productsfm.html http://www.jcorporate.com/html/products/productsfm.html http://jakarta.apache.org/jetspeed/site/index.html http://jakarta.apache.org/jetspeed/site/index.html and all the ones under Jakarta. We need to pick one soon. Any comments and feedback welcome on frameworks/class libraries. Thanks, [EMAIL PROTECTED]
Re: log4j and ejb
I pass in the Java property that points to the whatever configuration I want at the time. Usually I use the log4j.properties file with the console appender rolling file appender, slightly modified for my purposes. Basically, the format of that file is covered under documentation at the log4j website( http://jakarta.apache.org/log4j ) Returning to the topic at hand, my run_orion.bat has the following line: java -Dlog4j.configuration=file:///orion/cfg/log4j.properties orion.jar The property value I provide is just a URL to a local file. I find it handy to able to specify what configuration file I want while developing. In theory, the PropertyConfigurator checks a number of places, including the classpath, for the log4j.properties file. It doesn't seem to work for me, but someone else on this list can probably help you out if you want to go that route. As far as I can tell, using log4j violates the letter of EJB spec, but not the spirit. Works just fine for me, so I'm going to go with the pragmatic route and fix things later if need be. hth... - Original Message - From: Todd M Benge [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, April 27, 2001 2:39 PM Subject: log4j and ejb Hi, I'm trying to use log4j to log from an enterprise bean. I've been able to get a bean to log to stdout using the BasicConfigurator but am not able to get it to log using either the DOMConfigurator or the PropertyConfigurator. I believe Property and DOM configurators need a file to set up the appenders. Has anybody been successful in using a configurator othere than the BasicConfigurator with a bean? If so, how? Thanks, Todd
Can any one be so kind to help me with this problem...
In this example, I have followed a one-to-one unidirectional relationship to AddressEntity type. I seem to get a valid reference, but when I proceed to execute a method (AddressEntity.getId() in this case), I get NoSuchObjectException. The second time, it works correctly and I do not get an exception. Nested exception is: java.rmi.NoSuchObjectException: com.indnet.common.model.base.EntityKey@49d at AddressEntityHome_EntityHomeWrapper734.findExistingEntity(AddressEntityHome_ EntityHomeWrapper734.java:40) at AddressEntity_EntityBeanWrapper28.reActivate(AddressEntity_EntityBeanWrapper 28.java:3163) at AddressEntity_EntityBeanWrapper28.getId(AddressEntity_EntityBeanWrapper28.ja va:395) at com.indnet.symbiosis.service.common.address.ServiceAddressHelper.getValue(Se rviceAddressHelper.java:43) at com.indnet.symbiosis.service.companymanagement.CompanyManagementServiceBean. getValue(CompanyManagementServiceBean.java:685) at com.indnet.symbiosis.service.companymanagement.CompanyManagementServiceBean. getValue(CompanyManagementServiceBean.java:661) at com.indnet.symbiosis.service.companymanagement.CompanyManagementServiceBean. findContactByAliasLogin(CompanyManagementServiceBean.java:244) at CompanyManagementService_StatelessSessionBeanWrapper2.findContactByAliasLogi n(CompanyManagementService_StatelessSessionBeanWrapper2.java:2389) at java.lang.reflect.Method.invoke(Native Method) at com.evermind.server.rmi.bd.dr(JAX) at com.evermind.util.f.run(JAX) at connection to localhost/127.0.0.1 at com.evermind.server.rmi.OrionRemoteException.ib(JAX) at com.evermind.server.rmi.bb.h4(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Thread.java:484) I have done some more investigation, and it seems to have to do with the finder I execute. The first function always works correctly, the second function fails the first time (with above exception) and then proceeds to work correctly. If I call the first function, followed by the second, then everything works fine. It's like something is dirty and then gets set correctly. public Contact findContactById(final Long contactId) throws RemoteException, NamingException, FinderException, FieldException { return getValue( ContactEntityHomeFinder.getHome().findByPrimaryKey(new EntityKey(contactId)) ); } public Contact findContactByAliasLogin(final String alias, final String login) throws RemoteException, NamingException, FinderException, FieldException { return getValue( ContactEntityHomeFinder.getHome().findByAliasLogin(alias, login) ); } The actual lines of code that fails is: public static Address getValue(final AddressEntity entity) throws RemoteException, FieldException { Address value = null; if (entity != null) { value = new Address(); value.set(Address.FIELD_ID, entity.getId()); //-- this line fails } return value; } Does any one have any ideas? Thanks. -AP_
RE: log4j and ejb
The problem with going this route (and it's what I do ;)) is that you only have ONE log4j config for the whole server. Each app has the same logging and you can't really separate them easily (without writing a long config file that breaks up based on category). -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stan Ng Sent: Saturday, April 28, 2001 10:27 AM To: Orion-Interest Subject: Re: log4j and ejb I pass in the Java property that points to the whatever configuration I want at the time. Usually I use the log4j.properties file with the console appender rolling file appender, slightly modified for my purposes. Basically, the format of that file is covered under documentation at the log4j website( http://jakarta.apache.org/log4j ) Returning to the topic at hand, my run_orion.bat has the following line: java -Dlog4j.configuration=file:///orion/cfg/log4j.properties orion.jar The property value I provide is just a URL to a local file. I find it handy to able to specify what configuration file I want while developing. In theory, the PropertyConfigurator checks a number of places, including the classpath, for the log4j.properties file. It doesn't seem to work for me, but someone else on this list can probably help you out if you want to go that route. As far as I can tell, using log4j violates the letter of EJB spec, but not the spirit. Works just fine for me, so I'm going to go with the pragmatic route and fix things later if need be. hth... - Original Message - From: Todd M Benge [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, April 27, 2001 2:39 PM Subject: log4j and ejb Hi, I'm trying to use log4j to log from an enterprise bean. I've been able to get a bean to log to stdout using the BasicConfigurator but am not able to get it to log using either the DOMConfigurator or the PropertyConfigurator. I believe Property and DOM configurators need a file to set up the appenders. Has anybody been successful in using a configurator othere than the BasicConfigurator with a bean? If so, how? Thanks, Todd
can't find classes - help
I have a problem that is kind of throwing a wrench into my works: Without going into a great amount of detail - this is the problem: I am attempting to create a new instance of a class. To do so I am using Class.forName(the class); All of these classes are where they are supposed to be, as far as I can tell. For example, if my directory structure is : orion applications myapp myapp-web classes myclasses all my classes are in myclasses. However, no matter what class I attempt to do Class.forName() on, there is a class not found exception thrown. Can anyone provide some insight?
Re: MVC/XML Framework Comments please
Title: MVC/XML Framework Comments please I would be interested in reviewing a copy of your mvc/xml framework. Thanks - Original Message - From: Duffey, Kevin To: Orion-Interest Sent: Thursday, April 26, 2001 5:39 PM Subject: RE: MVC/XML Framework Comments please I use my own framework for a couple of sites, and have gotten feedback from others using it as well. Its only 15K in size, full source, its free to use, modify, etc. If your interested in it, send me an email. It supports xsl transformations, and is very similar to Struts only that I found struts too much for my needs, and some features it didn't do that I needed, so I went that direction. -Original Message-From: Vic Cekvenich [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 26, 2001 11:53 AMTo: Orion-InterestSubject: MVC/XML Framework Comments please We are bout to pick a a framework, and I am looking for are comments or recommendation on a frameworks, other than Struts. (Don't want to be HTML/JSP centric) Any feedback on your experience with a framework, or do you know of web sites in production that are using a certain frame work, or do you know of friend or someone who has used one. I would like it to be XML centric, and MVC. For example, the V should apply the XSL to XML, to make it HTML. It should do standard session tracking. It should do standard data manager, so that Java Beans do the SQL (the M). A minor plus is form entry management and a bit of image/content management. It should be a single rich framework. Here are a few we are considering: http://www.jcorporate.com/html/products/productsfm.html http://jakarta.apache.org/jetspeed/site/index.html and all the ones under Jakarta. We need to pick one soon. Any comments and feedback welcome on frameworks/class libraries. Thanks, [EMAIL PROTECTED]
Re: IIS, Orion, virtual host
I've done this before, and this does prevent multiple web servers from listening on the same port. I think that this is definitely a problem. A virtual IP does not have it's own port, but it is sharing the same port with the main ip. If a machine has main ip 1.2.3.4 and virtual 1.2.3.5 and 1.2.3.6, if I set a web server on port 80 on 1.2.3.4, also the other two ip address will be listening on port 80. There is no 1.2.3.5 or 1.2.3.6, unless you have additional interfaces, which are either virtual interfaces providing additional IPs on a single card, or multiple cards. This, obviously, unless you have 2 different network cards on the system. Or virtual interfaces running on the same real ether card. tim.
RE: can't find classes - help
Jim, somehow long ago, in a galaxy far away..no that's another story. Yes, I had this problem sometime ago. As far as I know, the forName argument has to be the full package path. So that would be, Class.forName(org.somepackage.myclasses.Foo). If you don't include the full path...if will throw the exception you are getting. Regards, The elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Sent: Friday, April 27, 2001 8:26 PM To: Orion-Interest Subject: can't find classes - help I have a problem that is kind of throwing a wrench into my works: Without going into a great amount of detail - this is the problem: I am attempting to create a new instance of a class. To do so I am using Class.forName(the class); All of these classes are where they are supposed to be, as far as I can tell. For example, if my directory structure is : orion applications myapp myapp-web classes myclasses all my classes are in myclasses. However, no matter what class I attempt to do Class.forName() on, there is a class not found exception thrown. Can anyone provide some insight?
Re: Orion support company
Where did you see that Orion had been sold to BEA - why? Thanks - Ken From: Somewhere . . . [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: Re: Orion support company Date: Wed, 25 Apr 2001 08:20:25 -0700 _ Get your FREE download of MSN Explorer at http://explorer.msn.com Good news unless you need it. The cost for same day support runs $8650 per month. Two months worth and you've got a single cpu license for WebLogic, which, by the way, comes with support. Their insane if you ask me. Original Message Follows From: Bernard Sauterel <[EMAIL PROTECTED]> Reply-To: Orion-Interest <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Subject: Orion support company Date: Wed, 25 Apr 2001 14:30:09 +0200 I wonder if somebody saw on Orion web site, that there's now an official support company: Cadrion. For me it's good news. On Mec, 25 avr 2001, Joseph B. Ottinger <[EMAIL PROTECTED]>wrote: The list is DEAD? NO MAILS!??! OH NO! ORION HAS BEEN SOLD TO BEA AFTER ALL! On Wed, Apr 25, 2001 at 12:56:21PM +0200, Ismael wrote: Hi all, Is the list still running? The number of mails received have decreased to 0 !!! Are you still there?? -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant Get your FREE download of MSN Explorer at http://explorer.msn.com
help
Hello, I am learing XML jsp can u please give a good documentation examples site . thanks vkrao --- Jeff Schnitzer [EMAIL PROTECTED] wrote: How do you integratecopy with dynamic content? Two layers of XSL transformation (one to mix in copy, one to mix in markup)? Or do you use JSP-type templating to build the Content XML before it is sent off to XSLT? Thanks, Jeff -Original Message- From: Tim Endres Sent: Thu 4/26/2001 5:30 PM To: Orion-Interest Cc: Subject: RE: MVC/XML Framework Comments please It sounds like Tim has a homebrew system for going directly from Logic to Presentation. My team has been thinking of eventually writing a wrapper to expose JavaBeans (the model) as a DOM using reflection so you could still have a pull-based system rather than having to build the full tree ahead of time. I'm not sure it's ultimately desirable to skip the Logic-Content step, although it would improve performance. Not quite. We use Logic (Session Beans/Commands) -- Content (XML) -- Presentation (XSL). We simply apply the XSLT transform ourselves, as opposed to having Orion do it, so we can precompile and cache appropriately. I personally think that skipping the Content step is shortsighted. For instance, our web page designers never need a live system to connect to. We simply provide them with XML files and they write the XSL against the static XML files. When the XSL is dropped into the live system, it simply operates on live XML coming from the Logic layer. I think this abstraction is important. tim. ATTACHMENT part 2 application/ms-tnef name=winmail.dat __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RE: can't find classes - help
elephantwalker, Yes, I am aware of that. However, even though I am doing that - providing entire path - the classes are still not found. That is what is giving me the headache. For example, let's say I have com.myclasses.Class. and com.myclasses.Load They are both there in the directory that I should be putting my classes in. Load does a: try { Class.forName(com.myclasses.Class); }catch(ClassNotFoundException c){ c.printStackTrace(); } sure enough, it says that the class was not found. I have even put the class that is running (Load) in the Class.forName(). It throws a ClassNotFound exception as well. I am going to put this code on tomcat just to see if it will do the same thing. Later, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker Sent: Friday, April 27, 2001 10:56 PM To: Orion-Interest Subject: RE: can't find classes - help Jim, somehow long ago, in a galaxy far away..no that's another story. Yes, I had this problem sometime ago. As far as I know, the forName argument has to be the full package path. So that would be, Class.forName(org.somepackage.myclasses.Foo). If you don't include the full path...if will throw the exception you are getting. Regards, The elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Sent: Friday, April 27, 2001 8:26 PM To: Orion-Interest Subject: can't find classes - help I have a problem that is kind of throwing a wrench into my works: Without going into a great amount of detail - this is the problem: I am attempting to create a new instance of a class. To do so I am using Class.forName(the class); All of these classes are where they are supposed to be, as far as I can tell. For example, if my directory structure is : orion applications myapp myapp-web classes myclasses all my classes are in myclasses. However, no matter what class I attempt to do Class.forName() on, there is a class not found exception thrown. Can anyone provide some insight?
RE: MVC/XML Framework Comments please
Is anyone here besides Tim using XSLT in their web application? I've been using XSLT for some time. I think a lot of the MVC dicussions show that people haven't yet hit on the right application model. MVC really works well in an environment with shared state... and ahred access to objects. The web makes that a bit harder than one would like. I use XSLT in 2 major modes: one as a JSP tag that can transform it's body content, and as a servlet that can transform the content of an arbitrary URL. One of the biggest design decisions is whether you are doing delivery or building an application: the architectures you'll choose are very different. You may be interested in a couple of papers I wrote a while ago: http://www.mind-to-mind.com/xml/articles/xslbeans/index.html I'm in the process (getting close to finished) with a prototype that provides real MVC using some of the ideas there.
RE: help
did you try http://java.sun.com ? I am not trying to be sarcastic. I have found that they provide pretty good tutorials for jsp's as well as links to other good resources. Sun also has pretty good resources regarding XML Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of vadlamudi koteswara rao Sent: Friday, April 27, 2001 11:47 PM To: Orion-Interest Subject: help Hello, I am learing XML jsp can u please give a good documentation examples site . thanks vkrao --- Jeff Schnitzer [EMAIL PROTECTED] wrote: How do you integratecopy with dynamic content? Two layers of XSL transformation (one to mix in copy, one to mix in markup)? Or do you use JSP-type templating to build the Content XML before it is sent off to XSLT? Thanks, Jeff -Original Message- From: Tim Endres Sent: Thu 4/26/2001 5:30 PM To: Orion-Interest Cc: Subject: RE: MVC/XML Framework Comments please It sounds like Tim has a homebrew system for going directly from Logic to Presentation. My team has been thinking of eventually writing a wrapper to expose JavaBeans (the model) as a DOM using reflection so you could still have a pull-based system rather than having to build the full tree ahead of time. I'm not sure it's ultimately desirable to skip the Logic-Content step, although it would improve performance. Not quite. We use Logic (Session Beans/Commands) -- Content (XML) -- Presentation (XSL). We simply apply the XSLT transform ourselves, as opposed to having Orion do it, so we can precompile and cache appropriately. I personally think that skipping the Content step is shortsighted. For instance, our web page designers never need a live system to connect to. We simply provide them with XML files and they write the XSL against the static XML files. When the XSL is dropped into the live system, it simply operates on live XML coming from the Logic layer. I think this abstraction is important. tim. ATTACHMENT part 2 application/ms-tnef name=winmail.dat __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: EJB Passivation problem
Just togive a bit of feedback, problem solved, it would appear. Just done a test of 1 articles, which worked fine, breaking my previous record! To all those who helped, thanks alot, especially those who were right! The max-instances attribute in orion-ejb-jar.xml works a treat, I've just sat here for a while watching the console's memory graph with great satisfaction, as it shows the load never going over 16 mb during the whole import! I was just putting it in the wrong place. Doh, should have read changes.txt: "Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/ directory from the orion/ directory for consistency." Thanks again, James - Original Message - From: James Donnelly To: Orion-Interest Sent: Thursday, April 26, 2001 10:38 AM Subject: EJB Passivation problem Sending this again, as my last post did not seem to appear. Sorry if you've got it already. Hi All, I am trying to do an import of around 90,000 articles which involves creating 3 EJB's per article. The server gets to around 6000 articles, then falls over giving me an OutOfMemory error. Reading the list, it seems related to Orion's inablity to passivate EJB's. snip