Can't find DataSource at java:comp/env/jdbc/NameOfDataSourceDS..??
Hi all, Strange things abrew. I have my Interbase datasource set up as list below. I thought the way inside of an EJB to find a DataSource would be: Context context = null; try { context = new InitialContext(); interbase.interclient.DataSource ds = (interbase.interclient.Datasource) context.lookup("java:comp/env/jdbc/myEJBDS"); } catch(NamingException ne) { } However, through various trial and errors, I found the only way I can get it is if I do: Object o = context.lookup("jdbc/myEJBDS"); If I try to typecast it to an interclient datasource, I get a class cast exception. I am at a loss as to why if this is J2EE standard programming, I have to be database specific or vendor specific at any point, and why is it not finding it in java:comp/env? Thanks for any help.
RE: Can't find DataSource in ejb-jar.xml file???
Thanks. What I did was delete the /orion/application-deployment folder of my app..which seems to work as far as trying to use Interbase. The problem I get now is below..any ideas? Auto-creating table: create table com_ss_ejb_login_LoginEntityEJB (loginName VAR CHAR(255) not null primary key, loginPassword VARCHAR(255) null) java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: _$372 sig nature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find unitialized object on stack at interbase.interclient.SQLException.(SQLException.java:96) at interbase.interclient.RecvMessage.createSQLException(RecvMessage.java :694) at interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:5 93) at interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554 ) at interbase.interclient.Statement._$121578(Statement.java:282) at interbase.interclient.Statement.executeUpdate(Statement.java:261) at com.evermind.sql.ak.executeUpdate(JAX) at com.evermind.sql.ak.executeUpdate(JAX) at com.evermind.server.ejb.compilation.f6.agz(JAX) at com.evermind.server.ejb.compilation.f0.agz(JAX) at com.evermind.server.ejb.compilation.f0.sm(JAX) at com.evermind.server.ejb.compilation.f6.sm(JAX) at com.evermind.server.ejb.EJBContainer.by(JAX) at com.evermind.server.Application.by(JAX) at com.evermind.server.Application.f9(JAX) at com.evermind.server.ApplicationServer.ri(JAX) at com.evermind.server.ApplicationServer.apa(JAX) at com.evermind.server.ApplicationServer.f9(JAX) at com.evermind.server.hc.run(JAX) at java.lang.Thread.run(Thread.java:484) at com.evermind.util.f.run(JAX)
RE: Can't find DataSource in ejb-jar.xml file???
Hi there, I think I had a similar case when switched from Hypersonic to Oracle. I changed the data-sources.xml file but Orion was still trying to use Hypersonic. I think that the information about the data source is in some way taken ultimately from the orion-ejb-jar.xml file which is derived at deployment. To re-generate this file to actually point to Oracle I had to re-compile (Ant) and re-deploy the application. See whether this will resolve your problem. Jarek > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey > Sent: 25 November 2000 18:40 > To: Orion-Interest > Subject: RE: Can't find DataSource in ejb-jar.xml file??? > > > Hey Salaman! > > Hmm..that makes sense except for one thing..using a DataSource should be > vendor independent shouldn't it? Or is that a vendor specific setting? I > thought J2EE was all about making a complete app including database free > ties, so you can deploy into any app server. If thats the case, then my > application.xml and web.xml descriptors should be the only things needed. > However, setting the datasource seems to be server specific at > this point. I > think J2EE has to mature a bit more before true vendor > independent apps can > be built. None the less, in server.xml, it uses application.xml (all in > config folder). In application.xml it uses data-sources.xml. The ONLY > data-source I have listed is the one for Interbase. I don't have anything > related to HyperSonic any longer..I deleted it out of the file. So, I take > it what your saying is that I have to actually change a setting in an > auto-created config file? I don't quite get why any file that Orion > generates at deployment time (if they don't exist), needs to be > edited. If I > delete that file and Orion auto-creates it, I have to edit it again. Is > there any "standard" way to this? > > > Hi Buck: > > > > Orion picks the first datasource in the data-sources.xml file, > unless you > > tell it explicitly which data-source to use in > > META-INF/orion-application.xml . either make your datasource be the > > first one the file, or read the docs for > > (META-INF/orion-application.xml) so > > you can configure the default datasource to be used by your > application... > > > > An alternate solution is to create "private" data-sources.xml > inside your > > EAR... :) > > > > gotta go to bed! > > > > sl8. > > > > -Original Message- > > From: Kevin Duffey [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, November 25, 2000 4:28 AM > > To: Orion-Interest > > Subject: Can't find DataSource in ejb-jar.xml file??? > > > > > > Hello all, > > > > What the heck does it mean when I deploy an EJB .jar file and it says: > > > > Auto-deploying ss.jar (ejb-jar.xml had been touched since the previous > > deployment)... Error compiling file:/C:/ss/ss.jar: No > DataSource found at > > jdbc/HypersonicDS > > > > My datasource is an Interbase one and I have it set up for that. In > > orion/config/data-sources.xml that is where I have the Interbase stuff > > mapped. In /confid/application.xml it points to data-sources.xml. > > So I fail > > to see why it is telling me something about HypersonicDS when I have no > > mention of it anywhere. If I delete data-sources.xml, orion > wont start. So > > it must be reading it in. Is Hypersonic being hard-coded into Orion as a > > default? Even so..if its reading in mine it should be working. > > > > Any help would be appreciated. > > > > Thanks. > > > > > >
Re: Anyone using Orion in production? [long]
Robert, thanks for your openness. Very insightful. - Original Message - From: "Robert Krueger" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, November 25, 2000 1:40 PM Subject: RE: Anyone using Orion in production? [long] > At 17:36 24.11.00 , you wrote: > >You know..while I would love to see source for the sole purpose of allowing > >us to help the Orion team debug and fix problems (not to allow a fork of the > >product), I think everyone needs to think about other products. Do you think > >WebLogic, Inprise, Oracle, IBM and others are going to release their source > >so the committed followers can help them fix bugs. That would be ideal..but > >none of them do it. Thus far I don't know of any full J2EE ready app servers > > true but we are talking different quality levels. since I've started > working with oracle 3 years ago I haven't had any showstopping bug while I > have been in very bad situations (even lost money due to project deadlines > we could not keep because of serious bugs that kept the project from > completion or workarounds that took a lot of manpower) with orion. The > problem is, it feels like an open source project (great software but no > real QA) but without the source and I have personally experienced that as a > very dangerous combination. I would be very happy and keep my mouth shut if > orion would just stay the way it is featurewise but really work reliably > with the features it already has until there is enough manpower at evermind > to do both QA and new features. > > just to give you an example, I first reported problems with the > exclusive-write-access="false" option (which you need when someone else but > the cmp engine writes to the db, pretty common setup especially with a > given db schema with cascading deletes) which is seriously broken (I > switched an existing working app to that option and the simplest things > would break immediately) at the end of august. even the validity-timeout, > that can be used as a workaround, was broken (pk checks were still being > done on cached entities regardless of timeouts). ok, a few days later there > was a new version which removed one problem but broke other stuff related > to that. about a month later the validity-timeout issue was fixed while I > had taken the heat from my customer and made all kinds of concessions > because I didn't want to recode the entire app using sql and kept waiting > for a fix. up until now (3 months later), the > exclusive-write-access="false" option is still broken (which I regard as > one of the most important things in an appserver, it must protect the > integrity of my data in the most ROBUST way possible). we've managed to > work around that but it still doesn't feel good and I was disappointed to > see that the changes in the next version of orion were related to > implementing servlet 2.3 spec. if that are the priorities (features before > robustness) I don't feel that well about it as a customer who uses ejb and > cmp to just code against a spec and completely rely on the correctness of > the underlying platform to not worry about many low-level issues (wasn't > that the whole deal with ejb?). if a feature is implemented and documented > then I as a customer expect to be usable but I have run into many problems > which led me to believe that many of the features have proof of concept > quality. I would even be able to live with that if reported bugs were given > absolute priority over implementing ejb2.0, clustering, servlets2.3. I have > completely abandoned the thought of using JMS (although I would like to in > a few apps) because I'm afraid I'll run into more serious problems in the > middle of a project and some of the postings on this list have definitely > assured me that it was the right decision. > > robert > > >that have released their source. I have heard of JBoss..but I don't know > >much about it.
Re: Anyone using Orion in production? [long]
> > Evermind's position, as stated on the FAQ, is that they would be SUED by > > Sun if they made their source code public. > > > > What?! What is the rationale behind this conclusion??? > > Talk to Sun. J2EE licensing prevents an open source J2EE implementation > (although a "compatible" implementation of J2EE might be okay. I don't > know.) according to the flashline server comparison matrix (http://www.flashline.com/components/appservermatrix.jsp), orion is not a J2EE licensee. I cant imagine that simply implementing the publicized spec makes you liable to Sun..
RE: JavaBeans and JSP
try or else JP -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED]] Sent: Viernes, 24 de Noviembre de 2000 23:38 To: Orion-Interest Subject: JavaBeans and JSP Ok Totaly rookie question, nonetheless it must be asked... so be gentle :-) I copied a jar file we use which contains the beans to our application in the orion/lib directory. We're transitioning from another applicaiton environment to JSP using Orion. While testing the bean and seeing if I can connect and make calls to the bean properties, I added these lines in my jsp file: For some reason I get an error saying Property setDataSourceJdbcDriver of bean percepticon.db.DataSourceBean not found But if I look at the DataSourceBean.class file, I can see the setDataSourceJdbcDriver property. What gives? What am I missing? Our Jar file contains the proper BeanInfo classes, as well as the manifest.mf file. Thanks for any clues you could give me. IN the mean time I'm going to read some more on the jsp site to see if I mis used a tag somewhere. Robert
RE: URGENT!! jms
Hi, Igor I haven't really examined that aspect. I suspect, however, that the messages are going out to all the MDBs, and so if you've declared all the appropriate resource-refs in any given MDB, you've got access to the messages. Easy enough to find this out. In our use of JMS we have only had the one MDB, so this has not come up, but now that you've excited my curiosity I'll try the experiment. It's got to be in the spec, also, at least to the point of saying whether it's vendor-dependent behaviour or not. Arved -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Savotchkin Egor Sent: Saturday, November 25, 2000 3:54 PM To: Orion-Interest Subject: RE: URGENT!! jms How then orion choose which MDB is to process the given message? Thought there exists a way to tell container that MDBeanA is for listening TopicA, and MDBeanB for TopicB, or it just broadcasts all messages to all message driven beans? regards, Savotchkin Egor SoftPro company web-site: http://www.cboss.ru tel: (+7-095) 755-5655 (3135) eMail: [EMAIL PROTECTED] Web-technologies department -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Arved Sandstrom Sent: Saturday, November 25, 2000 9:37 PM To: Orion-Interest Subject: RE: URGENT!! jms This is spec stuff, so it wouldn't be in orion-ejb-jar.xml, it's in ejb-jar.xml. It's been a while since I did this, but I just looked at the ejb-jar.xml for a message-driven bean that works, and it's resource-ref tags, one for the topic and one for the connection factory. Hope this helps. Arved Sandstrom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Savotchkin Egor Sent: Saturday, November 25, 2000 10:10 AM To: Orion-Interest Subject: URGENT!! jms Hi all! how can I specify for a message-driven-bean to which topic to listen to? Seems that messagelogger ejb only wants to listen to jms/demoTopic... there is no message-driven-bean-deployment tag explanation in orion-ejb-jar.xml :-(( regards, Savotchkin Egor SoftPro company web-site: http://www.cboss.ru tel: (+7-095) 755-5655 (3135) eMail: [EMAIL PROTECTED] Web-technologies department
RE: Group/role-mapping problem with own User implementation
Hi, Kai You say that you are authenticating. This is cool, but authentication means only that you are verifying that the given username/password pair exists. In order to actually identify the user to the server, and in the proper role, you want to use the login() method of RoleManager. Arved Sandstrom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kai Schilz Sent: Saturday, November 25, 2000 12:13 PM To: Orion-Interest Subject: Group/role-mapping problem with own User implementation Hi everybody, I have a problem with the EJBUserManager. I have written my own implementation of User, which extends EJBUser to include the user's e-mail-address. The UserManager is set up correctly and it finds the right user, which is correctly authenticated. But then either the group is not correcly determined or the group is not mapped correctly to the corresponding role. I don't know what happens exactly but I always get an http-error "401 Unauthorized" when accessing the secured document. [ Snippage ]
RE: URGENT!! jms
How then orion choose which MDB is to process the given message? Thought there exists a way to tell container that MDBeanA is for listening TopicA, and MDBeanB for TopicB, or it just broadcasts all messages to all message driven beans? regards, Savotchkin Egor SoftPro company web-site: http://www.cboss.ru tel: (+7-095) 755-5655 (3135) eMail: [EMAIL PROTECTED] Web-technologies department -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Arved Sandstrom Sent: Saturday, November 25, 2000 9:37 PM To: Orion-Interest Subject: RE: URGENT!! jms This is spec stuff, so it wouldn't be in orion-ejb-jar.xml, it's in ejb-jar.xml. It's been a while since I did this, but I just looked at the ejb-jar.xml for a message-driven bean that works, and it's resource-ref tags, one for the topic and one for the connection factory. Hope this helps. Arved Sandstrom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Savotchkin Egor Sent: Saturday, November 25, 2000 10:10 AM To: Orion-Interest Subject: URGENT!! jms Hi all! how can I specify for a message-driven-bean to which topic to listen to? Seems that messagelogger ejb only wants to listen to jms/demoTopic... there is no message-driven-bean-deployment tag explanation in orion-ejb-jar.xml :-(( regards, Savotchkin Egor SoftPro company web-site: http://www.cboss.ru tel: (+7-095) 755-5655 (3135) eMail: [EMAIL PROTECTED] Web-technologies department
RE: Anyone using Orion in production? [long]
At 10:35 25.11.00 , you wrote: >Interesting Rob. I completely agree with you. I think the Orion team is I agree 100% with what you say (except for the 5k$ thing;-)) and I see I'm not the only one having these thoughts. >formiddable opponent of WebLogic. I do agree though..stop the EJB >2.0/Servlet 2.3 support and build upon the existing EJB 1.1, etc. I don't >agree about your clustering thing..I think a good app server should support >clustering from the getgo, which I believe Orion does decently. ok, maybe I'm biased on the clustering thing because we don't need it right now ;-). best regards, robert (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Re: Anyone debugging Orion applications in JBuilder (no jdpa)
At 11:52 AM 11/25/2000 -0200, you wrote: >I'm trying to debug my ejb apps in orion. I get Orion to run inside >JBuilder no sweat. However it tries to locate the config directory >relative to my project.jpr file and not relative to the orion base >directory. Set the project working directory to the orion root directory. (You need JBuilder4 for this) HTH, -Mike
Using CocoBase with Orion
Hi, is it possible to use Cocobase O/R mapping (www.thoughtinc.com) with orion? Has somebody made experiences with it? regards Martin Lilienthal
RE: Can't find DataSource in ejb-jar.xml file???
Hey Salaman! Hmm..that makes sense except for one thing..using a DataSource should be vendor independent shouldn't it? Or is that a vendor specific setting? I thought J2EE was all about making a complete app including database free ties, so you can deploy into any app server. If thats the case, then my application.xml and web.xml descriptors should be the only things needed. However, setting the datasource seems to be server specific at this point. I think J2EE has to mature a bit more before true vendor independent apps can be built. None the less, in server.xml, it uses application.xml (all in config folder). In application.xml it uses data-sources.xml. The ONLY data-source I have listed is the one for Interbase. I don't have anything related to HyperSonic any longer..I deleted it out of the file. So, I take it what your saying is that I have to actually change a setting in an auto-created config file? I don't quite get why any file that Orion generates at deployment time (if they don't exist), needs to be edited. If I delete that file and Orion auto-creates it, I have to edit it again. Is there any "standard" way to this? > Hi Buck: > > Orion picks the first datasource in the data-sources.xml file, unless you > tell it explicitly which data-source to use in > META-INF/orion-application.xml . either make your datasource be the > first one the file, or read the docs for > (META-INF/orion-application.xml) so > you can configure the default datasource to be used by your application... > > An alternate solution is to create "private" data-sources.xml inside your > EAR... :) > > gotta go to bed! > > sl8. > > -Original Message- > From: Kevin Duffey [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 25, 2000 4:28 AM > To: Orion-Interest > Subject: Can't find DataSource in ejb-jar.xml file??? > > > Hello all, > > What the heck does it mean when I deploy an EJB .jar file and it says: > > Auto-deploying ss.jar (ejb-jar.xml had been touched since the previous > deployment)... Error compiling file:/C:/ss/ss.jar: No DataSource found at > jdbc/HypersonicDS > > My datasource is an Interbase one and I have it set up for that. In > orion/config/data-sources.xml that is where I have the Interbase stuff > mapped. In /confid/application.xml it points to data-sources.xml. > So I fail > to see why it is telling me something about HypersonicDS when I have no > mention of it anywhere. If I delete data-sources.xml, orion wont start. So > it must be reading it in. Is Hypersonic being hard-coded into Orion as a > default? Even so..if its reading in mine it should be working. > > Any help would be appreciated. > > Thanks. > >
RE: URGENT!! jms
This is spec stuff, so it wouldn't be in orion-ejb-jar.xml, it's in ejb-jar.xml. It's been a while since I did this, but I just looked at the ejb-jar.xml for a message-driven bean that works, and it's resource-ref tags, one for the topic and one for the connection factory. Hope this helps. Arved Sandstrom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Savotchkin Egor Sent: Saturday, November 25, 2000 10:10 AM To: Orion-Interest Subject: URGENT!! jms Hi all! how can I specify for a message-driven-bean to which topic to listen to? Seems that messagelogger ejb only wants to listen to jms/demoTopic... there is no message-driven-bean-deployment tag explanation in orion-ejb-jar.xml :-(( regards, Savotchkin Egor SoftPro company web-site: http://www.cboss.ru tel: (+7-095) 755-5655 (3135) eMail: [EMAIL PROTECTED] Web-technologies department
RE: Anyone using Orion in production? [long]
Interesting Rob. I completely agree with you. I think the Orion team is trying to stay ahead of the big boys by implementing Servlet 2.3 and EJB 2.0, if not any other vendor other than WebLogic. I am curious about one thing. There are supposedly lots of people paying licenses for Orion, including my company. At $1500 a pop (US), if they had a few hundred licenses, that would equate to a pretty darn good piggy bank. Why would they not be hiring more developers, QA, and support people? I recall last year they were saying that sales were going pretty good and they planned on having more than 20 employees by years end, mostly in the support area. Is there any news of this? When will their web-site look like a professional company..in that they have information about the company, privacy statement, contact info (actual phone numbers), and so on? These are the things I question. For over a year I have been supportive of Orion (and still am) because its a great product at an unbeatable price. But I like yourself am starting to wonder whats going on. I would think VC funding wouldn't be hard for them because they are already profitable (or should be) and they have a killer application. VC funding would give them the money they need to hire more people and move Orion up a step, in line with SilverStream, GemStone, and so on. They are still a ways off from WebLogic and WebSphere (in overall completeness). I still think they should charge more! I hate the idea of per cpu, but maybe $5K per server, which still puts them below the price of JRun 3.0, WebSphere, WebLogic, SilverStream, iPlanet, OAS, Inprise, and every other app server that I have knowledge of. Bah..this seems to be a wasted conversation these days. I had (and to some degree still have) great hopes for Orion, but it seems they are taking a long time in getting documentation, support, and so on. Like I said before, Orion to me is much like linux. Its more of a hacker/developer app server than it is mainstream. While it can compete in performance with the best of them (as linux does) and its as stable in most aspects (as linux is), its not quite ready for the "real" market (linux is getting there). However, I will continue to hang on to see what comes about. I am betting the farm on Orion right now because I hope they continue to prosper and grow into a formiddable opponent of WebLogic. I do agree though..stop the EJB 2.0/Servlet 2.3 support and build upon the existing EJB 1.1, etc. I don't agree about your clustering thing..I think a good app server should support clustering from the getgo, which I believe Orion does decently. > true but we are talking different quality levels. since I've started > working with oracle 3 years ago I haven't had any showstopping > bug while I > have been in very bad situations (even lost money due to project > deadlines > we could not keep because of serious bugs that kept the project from > completion or workarounds that took a lot of manpower) with orion. The > problem is, it feels like an open source project (great software but no > real QA) but without the source and I have personally experienced > that as a > very dangerous combination. I would be very happy and keep my > mouth shut if > orion would just stay the way it is featurewise but really work reliably > with the features it already has until there is enough manpower > at evermind > to do both QA and new features. > > just to give you an example, I first reported problems with the > exclusive-write-access="false" option (which you need when > someone else but > the cmp engine writes to the db, pretty common setup especially with a > given db schema with cascading deletes) which is seriously broken (I > switched an existing working app to that option and the simplest things > would break immediately) at the end of august. even the validity-timeout, > that can be used as a workaround, was broken (pk checks were still being > done on cached entities regardless of timeouts). ok, a few days > later there > was a new version which removed one problem but broke other stuff related > to that. about a month later the validity-timeout issue was fixed while I > had taken the heat from my customer and made all kinds of concessions > because I didn't want to recode the entire app using sql and kept waiting > for a fix. up until now (3 months later), the > exclusive-write-access="false" option is still broken (which I regard as > one of the most important things in an appserver, it must protect the > integrity of my data in the most ROBUST way possible). we've managed to > work around that but it still doesn't feel good and I was disappointed to > see that the changes in the next version of orion were related to > implementing servlet 2.3 spec. if that are the priorities > (features before > robustness) I don't feel that well about it as a customer who > uses ejb and > cmp to just code against a spec and completely rely on the correctness of > the underlying platform to
RE: Anyone using Orion in production? [long]
Whats the deal with JBoss then? I think (could be wrong on this) that they mean you can't open-source the J2EE apis source, but you should not be able to restrict anyone from open sourcing their own implementation of J2EE. > Talk to Sun. J2EE licensing prevents an open source J2EE implementation > (although a "compatible" implementation of J2EE might be okay. I don't > know.) > > --- > Joseph B. Ottinger [EMAIL PROTECTED] > http://cupid.suninternet.com/~joeo HOMES.COM Developer >
Re: orion 1.4.0
At 17:09 25.11.00 , you wrote: >being new to orion I am unsure as to whether or not to install orion1.4.0 on >a unix box. Should I use 1.3.8? Is 1.4 stable enough to use? Any advice >would be appreciated. IMHO not much difference in terms of stability. we have one production system running on 1.4.0 because it fixes some issues with the validity-timeout settings. test your application and see if it works ok but I cannot see any specific issues that make 1.4.0 worse than 1.3.8. HTH, robert >Thanks, > >Johnny (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
orion 1.4.0
being new to orion I am unsure as to whether or not to install orion1.4.0 on a unix box. Should I use 1.3.8? Is 1.4 stable enough to use? Any advice would be appreciated. Thanks, Johnny
RE: Can`t deploy Orion-Primer
Hi, I checked the application.xml file again with notepad. Here is the content: orion-primer-ejb.jar orion-primer-web.war /orion-primer - Martin -
Group/role-mapping problem with own User implementation
Hi everybody, I have a problem with the EJBUserManager. I have written my own implementation of User, which extends EJBUser to include the user's e-mail-address. The UserManager is set up correctly and it finds the right user, which is correctly authenticated. But then either the group is not correcly determined or the group is not mapped correctly to the corresponding role. I don't know what happens exactly but I always get an http-error "401 Unauthorized" when accessing the secured document. The remote interface (User.java) just extends com.evermind.ejb.EJBUser and adds business-methods for setting and getting the email-address. The home interface provides create(), findAll() and findByPrimaryKey() methods. The EJB implementation has attributes for username, password, email and groups (which is a set of Strings). All business methods do what they are expected to, just the description, the locale and the certificate stuff is not managed (the get methods simply return null). When deploying that stuff two tables are created: User and User_groups. User_groups stores the username together with the groupname. Every user is automatically added to the group "Player". The web.xml contains the following security constraints: /secret.html * authuser BASIC authuser The orion-application.xml contains the tags for using the EJBUserManager and for role mapping: The principals.xml contains neither a group nor a user. If anbody has an idea, please contact me. Maybe it would help me if anybody could tell me how the authentification-process goes on (e.g. which methods are called in sequence). Thanks for your effort, Kai Schilz
un-Subscribe
Anyone debugging Orion applications in JBuilder (no jdpa) !!!! SOLVED
Sven van 't Veer wrote: > > I'm trying to debug my ejb apps in orion. I get Orion to run inside > JBuilder no sweat. However it tries to locate the config directory > relative to my project.jpr file and not relative to the orion base > directory. > > Any ideas?? > ok I forgot the -Duser.dir=d:\orion option sven -- == Sven E. van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTECTED] ==
URGENT!! jms
Hi all! how can I specify for a message-driven-bean to which topic to listen to? Seems that messagelogger ejb only wants to listen to jms/demoTopic... there is no message-driven-bean-deployment tag explanation in orion-ejb-jar.xml :-(( regards, Savotchkin Egor SoftPro company web-site: http://www.cboss.ru tel: (+7-095) 755-5655 (3135) eMail: [EMAIL PROTECTED] Web-technologies department
Anyone debugging Orion applications in JBuilder (no jdpa)
I'm trying to debug my ejb apps in orion. I get Orion to run inside JBuilder no sweat. However it tries to locate the config directory relative to my project.jpr file and not relative to the orion base directory. Any ideas?? sven -- == Sven E. van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTECTED] ==
Hai everybody
Hai This is waheed from Dubai I need some help in SSL. How to install install CA root using principals.xml tag please guide me to some extend i have following certificates 1.Common Name: GTE CyberTrust Root 2.Common Name: Comtrust Root CA 3.Common Name: Comtrust Server CA 4.Common Name: secure.myhomepage.com First 3 certificates with GTE CyberTrust as root certificate are the chain until it arrive to my certificate which is the fourth. Vendors of the certificate said that i have to install my certificate separately which i did properly and they said to install other three in the chain. How do i do this ? what and where is the chain certificates installation in Orion Server. Bye then Advance thanking for your reply waheed _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Hai Help please
Hai This is waheed from Dubai I need some help in SSL. How to install install CA root using principals.xml tag please guide me to some extend i have following certificates 1.Common Name: GTE CyberTrust Root 2.Common Name: Comtrust Root CA 3.Common Name: Comtrust Server CA 4.Common Name: secure.myhomepage.com First 3 certificates with GTE CyberTrust as root certificate are the chain until it arrive to my certificate which is the fourth. Vendors of the certificate said that i have to install my certificate separately which i did properly and they said to install other three in the chain. How do i do this ? what and where is the chain certificates installation in Orion Server. __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
RE: Anyone using Orion in production? [long]
At 17:36 24.11.00 , you wrote: >You know..while I would love to see source for the sole purpose of allowing >us to help the Orion team debug and fix problems (not to allow a fork of the >product), I think everyone needs to think about other products. Do you think >WebLogic, Inprise, Oracle, IBM and others are going to release their source >so the committed followers can help them fix bugs. That would be ideal..but >none of them do it. Thus far I don't know of any full J2EE ready app servers true but we are talking different quality levels. since I've started working with oracle 3 years ago I haven't had any showstopping bug while I have been in very bad situations (even lost money due to project deadlines we could not keep because of serious bugs that kept the project from completion or workarounds that took a lot of manpower) with orion. The problem is, it feels like an open source project (great software but no real QA) but without the source and I have personally experienced that as a very dangerous combination. I would be very happy and keep my mouth shut if orion would just stay the way it is featurewise but really work reliably with the features it already has until there is enough manpower at evermind to do both QA and new features. just to give you an example, I first reported problems with the exclusive-write-access="false" option (which you need when someone else but the cmp engine writes to the db, pretty common setup especially with a given db schema with cascading deletes) which is seriously broken (I switched an existing working app to that option and the simplest things would break immediately) at the end of august. even the validity-timeout, that can be used as a workaround, was broken (pk checks were still being done on cached entities regardless of timeouts). ok, a few days later there was a new version which removed one problem but broke other stuff related to that. about a month later the validity-timeout issue was fixed while I had taken the heat from my customer and made all kinds of concessions because I didn't want to recode the entire app using sql and kept waiting for a fix. up until now (3 months later), the exclusive-write-access="false" option is still broken (which I regard as one of the most important things in an appserver, it must protect the integrity of my data in the most ROBUST way possible). we've managed to work around that but it still doesn't feel good and I was disappointed to see that the changes in the next version of orion were related to implementing servlet 2.3 spec. if that are the priorities (features before robustness) I don't feel that well about it as a customer who uses ejb and cmp to just code against a spec and completely rely on the correctness of the underlying platform to not worry about many low-level issues (wasn't that the whole deal with ejb?). if a feature is implemented and documented then I as a customer expect to be usable but I have run into many problems which led me to believe that many of the features have proof of concept quality. I would even be able to live with that if reported bugs were given absolute priority over implementing ejb2.0, clustering, servlets2.3. I have completely abandoned the thought of using JMS (although I would like to in a few apps) because I'm afraid I'll run into more serious problems in the middle of a project and some of the postings on this list have definitely assured me that it was the right decision. robert >that have released their source. I have heard of JBoss..but I don't know >much about it. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald > > Gutierrez > > Sent: Friday, November 24, 2000 1:10 PM > > To: Orion-Interest > > Subject: RE: Anyone using Orion in production? [long] > > > > > > > > The Orion FAQ (http://www.orionserver.com/faq/#-551543462) actually says > > that they might be sued by Sun if they "offer ... source under a > > Linux-style license", not simply that they provide source (possibly under > > an NDA). Perhaps there are no legal reasons if they choose to do > > the latter > > (and there are with the former), but my inclination is that Evermind > > doesn't want to release source, not that they can't. I respect it, but I > > must disagree for a number of technical and business-related reasons. > > > > Like someone else said in this list, that there are serious bugs and that > > people using the product are powerless to fix it themselves is enough to > > make one look for an alternative solution. The price is a fair and the > > performance is excellent, but what good is it if it is > > unreliable? This is > > not a word processor or a web browser; a crash a day, week or > > month is not > > tolerable. > > > > > > At 11:42 AM 11/24/2000 -0800, you wrote: > > >Really? How can they be sued by Sun for their own source? JBoss isn't > > >getting sued..aren't they open source? I can't b
Re: Orion In Prodution
Hi, This is waheed from Dubai, and i am newbie to Orion server. I have problem with configuring SSL ,creating chaining of certificates. I need some guidance from you so that i can install my certificates properly, i have following certificates 1.Common Name: GTE CyberTrust Root 2.Common Name: Comtrust Root CA 3.Common Name: Comtrust Server CA 4.Common Name: secure.myhomepage.com First 3 certificates with GTE CyberTrust as root certificate are the chain until it arrive to my certificate which is the fourth. Vendors of the certificate said that i have to install my certificate separately which i did properly and they said to install other three in the chain. How do i do this ? what and where is the chain certificates installation in Orion Server. Please send me some details about the same. Thanking You, Regards, waheed . _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Re: pop3.jar again
regarding the manifest.mf variant, my advice was to ADD pop3.jar to the jars already mentioned. Mail.jar should already be there, as it comes with orion. I have this setup running all the time. Then, there was a code-based suggestion by someone else that looks promising to me, because it saves JavaMail from reading the properties file, which is were the problem originates: session = Session.getInstance(props, null);store = new POP3Store(session, new URLName(Constants.MAIL_URL));(where Constants.MAIL_URL is something like: "pop3://cucu:[EMAIL PROTECTED]")The problem seems to be that Orion doesn't read the javamail.providers filefrom META-INF directory - Original Message - From: Dale Bronk To: Orion-Interest Sent: Saturday, November 25, 2000 4:40 AM Subject: Re: pop3.jar again I have now triple checked and I have moved activation.jar, mail.jar, and pop3.jar into jre/lib/ext. I then did a search for those 3 files on my entire hard drive and they are only in that directory. I restarted Orion and still get: MessagingException: javax.mail.NoSuchProviderException: No provider for POP3 I then tried your other suggestion of removing the files from the orion.jar manifest.mf file. I still get the same error. I saw another response to my post suggesting that I look at my code and they gave a code sample... I will look at this next. Currently, I have the 3 jar files only in jre/lib/ext and the files are not listed in the manifest.mf file in orion.jar. Dale - Original Message - From: Christian Sell To: Orion-Interest Sent: Thursday, November 23, 2000 4:24 PM Subject: Re: pop3.jar again Dale, This is my favorite one.. I am running an application under orion which uses JavaMail & pop3. The 2 solution alternatives to the classloader problem I personally tested successfully were a) MOVE mail.jar AND pop3.jar to jre/lib/ext (note the MOVE. Both should be accessed from the same place) b) modify manifest.mf inside orion.jar and add the pop3.jar I have to admit I stayed with b). I just re-modified it yesterday after downloading the newest orion release :-) - Original Message - From: Dale Bronk To: Orion-Interest Sent: Thursday, November 23, 2000 8:40 PM Subject: pop3.jar again Has anyone figured out how to use pop3.jar with Orion? I have tried moving the pop3.jar and activation.jar to my jdk/lib/ext directory like someone suggested and it still gets an error "no providers found". I then tried what someone else suggested... Starting orion with the actual class with main in it rather than orion.jar and specifying the classpath pointing to my activation.jar and pop3.jar from sun. I can't get it to work with Orion. Orion, if you are listening... Please help. There have been several questions with this same problem. I know I have it setup correctly because I can run the little test app and it lists my pop3 as a provider plain as day. This is of course not running in the same vm as Orion. The common problem I get from this list is that it is a problem with Orion classloader. Orion, please let us know what we have to do. Dale Bronk[EMAIL PROTECTED]
Re: Orion In Prodution
"Juan Lorandi (Chile)" wrote: > > There's a list of Overwhelming Orion Powered Sites, hosted by Jason Rimmer > at > > http://orion.irth.net/OOPS/oopslist.jsp > > where you can add your site(s) to the list... > > everyday I moderate the list so that new entries appear on the official > list... > Today however it's like. empty. sven -- == Sven E. van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTECTED] ==
Re: Anyone using Orion in production? [long]
On Fri, 24 Nov 2000, Gerald Gutierrez wrote: > I've run into so many weird and absurd problems in Orion; all it would've > taken for me to solve the problem and submit a patch would be a grep in the > source tree. Alas, I cannot do this and I am stuck with an application > server that has many advantages and many disadvantages, which more or less > cancel each other out. Many bugs I post as problems to the mailing list, > many times without response, forcing me to submit some of them to bugzilla, > where they go unnoticed. They don't go unnoticed. Your recognition of notice is, um, understandably limited. > Evermind's position, as stated on the FAQ, is that they would be SUED by > Sun if they made their source code public. > > What?! What is the rationale behind this conclusion??? Talk to Sun. J2EE licensing prevents an open source J2EE implementation (although a "compatible" implementation of J2EE might be okay. I don't know.) --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer
RE: Can't find DataSource in ejb-jar.xml file???
Hi Buck: Orion picks the first datasource in the data-sources.xml file, unless you tell it explicitly which data-source to use in META-INF/orion-application.xml . either make your datasource be the first one the file, or read the docs for (META-INF/orion-application.xml) so you can configure the default datasource to be used by your application... An alternate solution is to create "private" data-sources.xml inside your EAR... :) gotta go to bed! sl8. -Original Message- From: Kevin Duffey [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 4:28 AM To: Orion-Interest Subject: Can't find DataSource in ejb-jar.xml file??? Hello all, What the heck does it mean when I deploy an EJB .jar file and it says: Auto-deploying ss.jar (ejb-jar.xml had been touched since the previous deployment)... Error compiling file:/C:/ss/ss.jar: No DataSource found at jdbc/HypersonicDS My datasource is an Interbase one and I have it set up for that. In orion/config/data-sources.xml that is where I have the Interbase stuff mapped. In /confid/application.xml it points to data-sources.xml. So I fail to see why it is telling me something about HypersonicDS when I have no mention of it anywhere. If I delete data-sources.xml, orion wont start. So it must be reading it in. Is Hypersonic being hard-coded into Orion as a default? Even so..if its reading in mine it should be working. Any help would be appreciated. Thanks.
Can't find DataSource in ejb-jar.xml file???
Hello all, What the heck does it mean when I deploy an EJB .jar file and it says: Auto-deploying ss.jar (ejb-jar.xml had been touched since the previous deployment)... Error compiling file:/C:/ss/ss.jar: No DataSource found at jdbc/HypersonicDS My datasource is an Interbase one and I have it set up for that. In orion/config/data-sources.xml that is where I have the Interbase stuff mapped. In /confid/application.xml it points to data-sources.xml. So I fail to see why it is telling me something about HypersonicDS when I have no mention of it anywhere. If I delete data-sources.xml, orion wont start. So it must be reading it in. Is Hypersonic being hard-coded into Orion as a default? Even so..if its reading in mine it should be working. Any help would be appreciated. Thanks.