Re: jndi.properties and ApplicationClientInitialContextFactory
Hi, Does the requirement to install orion.jar with every instance of the client application mean that you have to (in a commercial environment) purchase an Orion license for each seperate instance of the client you want to run. In other words, if I want to run 10 instances of my client, plus 1 of the server itself, how many licenses do I need to buy, 1 or 11? Brendan -- Brendan McKenna [EMAIL PROTECTED] Senior Partner Hallway Software Design Corp.
Re: j_security_check
If you're using sessions you can use a HttpSessionListener that implements sessionCreated. /Marcus On Mon, 2002-02-25 at 21:21, Christian, Joanne wrote: Hi Everyone, This is another newbie question. Can I extend j_security_check? I need to perform some additional setup upon user login. If not, is there a way to call a servlet instead of a jsp as the welcome-file? Thanks in advance for your help, Joanne -- Marcus Ahnve email: [EMAIL PROTECTED] Lecando AB Office: +46-(0)8-634 94 18 Sweden Mobile: +46-(0)70-462 19 18 www.lecando.comICQ#: 4564879
single sign-on for multiple application servers
hi, we want to provide a centralized sso facility for applications. if the applications are on the same server a solution with storing the session id in a hashmap - reachable for all applications - is a possible way for us. does anyone have a hint for doing sso in the case when the applications located on different application servers? thanks diethard -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
R: Crap bytes in HTTP response
Dear all, I've read the below-mentioned message, and it sounds rather cool; I didn't know that a servlet could write to out at any time it likes; how do you manage that? do you have to set the content size before you write? or you just need to flush it out at the end of a chunck? thanx for sending a note daniele rizzi (just curious) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Per conto di Lachezar Dobrev Inviato: martedì 26 febbraio 2002 9.54 A: Orion-Interest Oggetto: Re: Crap bytes in HTTP response Well... I don't really know what did you do to get this behavior (I am trying for about 6 months to do that, and could not), but that is LEGAL behavior. Look at the Transfer-Encoding: chunked header. That means, that the response from the servlet consists of several chunks. Line 1 ( the 4 thing) means, that there wilkl be 4 bytes of the first chunk. than a newline, than line 3 ( the 0 thing) means there are no more chunks to be sent. Can you please post the whole code? And the web-xml part (orion-web-xml also if applicable)? That way we may look further into the problem? I wish I knew how to do that. That is a VERY useful feature, especialy, when you need to do some heavy-time-consuming things in the servlet. Just post a chunk every couple of seconds, and the browser will NOT timeout. This is VERY useful. Believe me. Lachezar. P.S. I would REALLY like to see your solution. I've got a problem with HttpServletResponse. Here's my test-servlet doGet(): response.setContentType(text/plain); PrintWriter out = response.getWriter(); out.print(TEST); Here's what I get telneting: platon% telnet localhost GET /lux/testz HTTP/1.1 Host: localhost HTTP/1.1 200 OK Date: Mon, 25 Feb 2002 17:57:20 GMT Server: Orion/1.5.4 Connection: Close Content-Type: text/plain Transfer-Encoding: chunked 4 TEST 0 - What 4? What 0? What extra newline? This breaks just about everything. Where did I go wrong, any ideas? Tommi Penttilä
Oracle DB and schemas
Hello, I just moved to orion1.5.4 and it seems that orion is treating my orion specific orion-ejb-jar.xml properties differently. I am using an Oracle 8i database and the only table I am concerned with are in the yc_content schema but when I set up my orion-ejb-jar.xml file to point to the table=yc_content.employee it creates a new table in my database under system.yc_content_employee. It appears to be ignoring my '.' and replacing it with an '_' and creating my table in the system schema. I am using a username of system so that I can see the entire database but even when I try using a username of yc_content so that I can only see the yc_content tables I get a somewhat similar error. If I specify the table name as yc_content.employee the console says that it deploys the ejb i.e.-deploying 'crm_reports.Employee' ... done but no new directory for my ejb is created in the application-deployments directory, and if I use a table name of 'employee' with my yc_content username I get the error 'yc_content_data has reached it's maximum limit' and does not create a table or deploy any beans. The funny thing is that I was able to get this to work in 1.5.3 using the system username and setting the table name to 'yc_content.employee' and orion attempted to create the table but found that it already existed and used the preexisting table instead, and everything worked like a champ. Any ideas about what could be going on. P.S.- I tried using the EJB2.0 spec deployment descriptor and putting 'yc_content' for the abstract-schema property in the entity deployment descriptors but I am not all that familiar with EJB2.0 yet and am not sure what this property is supposed to be, but orion will not let me deploy any EJB2.0 beans without this property being set. Thanks, Tim Pouyer _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Thank you, elephantwalker!
Hi elephantwalker, I greatly appreciate for your answer. I want to say that you have helped a lot of users in this communiy. It's great to have an outstanding source like you. I'd like to recommend your site to my friends. According to your answer, I think I need to implment addToGroup method in my UserManager class. I am using a custom UserManager (define to user-manager tag in orion-application.xml) that only implements userExists, checkPassword, and inGroup methods (as in http://kb.atlassian.com/content/orionsupport/articles/usermanager.html). Since in my UserManager (extends SimpleUserManager) does not implement addToGroup, I think I'll get error if I use RoleManager.addToGroup(), right? Last question, in UserManager, a method named getPassword() - it does not have username as parameter, how do I know what username (or principal) I need to look for password? Thanks a lot for your help. --- The elephantwalker [EMAIL PROTECTED] wrote: RoleManager is a facade interface to UserManager. It goes something like this: RoleManager --- UserManager LDAP So when you add a role, it is added to the LDAP datastore, not just for the session. You can of course remove the role when you log the user out, and it has the effect of only adding the role during the session. Regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Min-Hua Luo Sent: Monday, February 25, 2002 2:09 PM To: Orion-Interest Subject: RE: Hi, Thanks a lot for your response. The username, password, and group information are stored in LDAP server for my project. Does roleManager.addToRole update LDAP server group information at the same time? Or it is just add this user to a role for current session only? (That is, once session is gone, this user still does not belongs to gold_account role). Thank you very much. --- The elephantwalker [EMAIL PROTECTED] wrote: The addToRole() function will add a principal to another role. For example, if you have a gold_account role, and all your user (principal) is only a in the user_account role, you can add them to the gold_account role with something like this... roleManager.addToRole(principal,gold_account); you will get an error if the role gold_account does not exist in your web.xml or application.xml or ejb-jar.xml. Regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Min-Hua Luo Sent: Friday, February 15, 2002 4:28 PM To: Orion-Interest Subject: Hi, I am confused by RoleManager.addToRole() function. It says Adds a principal to the specified role, in practice this usually implies adding the principal to the legacy groups the role encompasses. Since all roles are defined in web.xml (security-role tag), does addToRole() function will actually update my web.xml file and add a new role to security-role? If not, what file(s) does addToRole() will update? Thanks a lot. __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
RE: jndi.properties and ApplicationClientInitialContextFactory
This question needs to be directed to Ironflare AB. However, the pricing seems to say ...per server and not ...per client or server. regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brendan McKenna Sent: Tuesday, February 26, 2002 1:06 AM To: Orion-Interest Subject: Re: jndi.properties and ApplicationClientInitialContextFactory Hi, Does the requirement to install orion.jar with every instance of the client application mean that you have to (in a commercial environment) purchase an Orion license for each seperate instance of the client you want to run. In other words, if I want to run 10 instances of my client, plus 1 of the server itself, how many licenses do I need to buy, 1 or 11? Brendan -- Brendan McKenna [EMAIL PROTECTED] Senior Partner Hallway Software Design Corp.
RE: jndi.properties and ApplicationClientInitialContextFactory
It was just pointed out to me that my link was bad...should be http://www.elephantwalker.com/rfa?id=178 regards, the elephantwalker www.elephantwalker.com -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of The elephantwalkerSent: Monday, February 25, 2002 1:05 PMTo: Orion-InterestSubject: RE: jndi.properties and ApplicationClientInitialContextFactory This question is answered here: http://www.elephantwalker.com/searchresult?id=178. Basically, you must have the orion.jar, plus the various j2ee helper libraries, to make your application client work with orion. regards, the elephantwalker www.elephantwalker.com -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink IsaksenSent: Monday, February 25, 2002 7:55 AMTo: Orion-InterestSubject: jndi.properties and ApplicationClientInitialContextFactory I noticed that when specifying the jndi properties in accordance with the orion documentation you include this line: java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory Does this mean that the application client needs to have the mentioned class in its class path? If so, how do you make this class available to the client I think having the client application include all of the huge orion.jar (which contains this class) seems a bit awkward, and if you can use this class on its own I wonder why it is located in orion.jar. Randahl
Re: single sign-on for multiple application servers
I recently came across a software which provides a Single Sign on solution. The software is Entrust's TruePass, I guess its very expensive solution but the logic they have used is pretty simple and can be easily implemented on top of orion. The SSO solution what they have provided is based on cookie and custom session manager. If you have all applications on same domain i.e app1 http://xx.company.com app2 http://yy.company.com etc on logging in the first application set a cokiee with domain just company.com. Cookie set for company.com will be sent to both xx.compnay.com and yy.company.com. Write your own custom session manager which handles the cookies and based on cookie information set the proper SSO credentials. If you have enough budget you can try Entrust's TrueePass solution. -kesav kumar - Original Message - From: Diethard Kaufmann [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 4:52 AM Subject: single sign-on for multiple application servers hi, we want to provide a centralized sso facility for applications. if the applications are on the same server a solution with storing the session id in a hashmap - reachable for all applications - is a possible way for us. does anyone have a hint for doing sso in the case when the applications located on different application servers? thanks diethard -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
LDAPUserManager for Orion App Server
Ok. After many good-intentions and promises, I have finally released the LdapUserManager I wrote last year. The current release has been tested with Orion 1.4.5 and the 1.5.x series. Please feel free to download the source code and/or the binary at http://www.linjafoo.com/projects/ldapum/. If you have any questions, please feel free to e-mail me. Enjoy! -matthew
modeling tool
Hey guys, i'd like to hear your comments about this situation. My team has a well defined development process,for developing j2ee web apps. This is a lightweight process based on uml diagrams. Our Java IDE is JDeveloper9i and we are happy about it. We need now to get a uml graphical modeling tool, which support the analisys/design phases of the development process. JDeveloper9i doesn't support all the uml diagrams we need. At the same time we don't want to spend a lot of money with a tool that will bring much more than we need(process development, java IDE and so on). I'm wondering to know what you guys think about it... thanks in advance, Vinícius
SV: jndi.properties and ApplicationClientInitialContextFactory
Hi there, You would pay for the 1 server and not for the 10 clients. Hopefully we will find time to generate a small client.jar to use instead of the larger jar files in the near future. WR Magnus Rydin IronFlare -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] För Brendan McKenna Skickat: den 26 februari 2002 09:06 Till: Orion-Interest Ämne: Re: jndi.properties and ApplicationClientInitialContextFactory Hi, Does the requirement to install orion.jar with every instance of the client application mean that you have to (in a commercial environment) purchase an Orion license for each seperate instance of the client you want to run. In other words, if I want to run 10 instances of my client, plus 1 of the server itself, how many licenses do I need to buy, 1 or 11? Brendan -- Brendan McKenna [EMAIL PROTECTED] Senior Partner Hallway Software Design Corp.
RE: modeling tool
Just a personal opinion: One or more licenses of Together Control Center (for your architects/ system designers) and Intellij Idea for every developer are pretty much what you need to make a server side project successful. This assumes that the framework you try to implement supports your developers and not your UML Tool. Just in case Together is too expensive spend some time on your architecture and you may not need what you are looking for - the key is KISS ;) french_c -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vinícius de Faria Silva Sent: Tuesday, February 26, 2002 9:29 PM To: Orion-Interest Subject: modeling tool Hey guys, i'd like to hear your comments about this situation. My team has a well defined development process, for developing j2ee web apps. This is a lightweight process based on uml diagrams. Our Java IDE is JDeveloper9i and we are happy about it. We need now to get a uml graphical modeling tool, which support the analisys/design phases of the development process. JDeveloper9i doesn't support all the uml diagrams we need. At the same time we don't want to spend a lot of money with a tool that will bring much more than we need(process development, java IDE and so on). I'm wondering to know what you guys think about it... thanks in advance, Vinícius
RE: modeling tool
Why don't you look at metamill (www.metamill.com)? Its affordable and it has very nice features! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vinícius de Faria SilvaSent: Tuesday, February 26, 2002 12:29 PMTo: Orion-InterestSubject: modeling tool Hey guys, i'd like to hear your comments about this situation. My team has a well defined development process,for developing j2ee web apps. This is a lightweight process based on uml diagrams. Our Java IDE is JDeveloper9i and we are happy about it. We need now to get a uml graphical modeling tool, which support the analisys/design phases of the development process. JDeveloper9i doesn't support all the uml diagrams we need. At the same time we don't want to spend a lot of money with a tool that will bring much more than we need(process development, java IDE and so on). I'm wondering to know what you guys think about it... thanks in advance, Vinícius
RE: jndi.properties and ApplicationClientInitialContextFactory
That'd be cool. Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Magnus Rydin Sent: Wednesday, 27 February 2002 10:22 AM To: Orion-Interest Subject: SV: jndi.properties and ApplicationClientInitialContextFactory Hi there, You would pay for the 1 server and not for the 10 clients. Hopefully we will find time to generate a small client.jar to use instead of the larger jar files in the near future. WR Magnus Rydin IronFlare -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] För Brendan McKenna Skickat: den 26 februari 2002 09:06 Till: Orion-Interest Ämne: Re: jndi.properties and ApplicationClientInitialContextFactory Hi, Does the requirement to install orion.jar with every instance of the client application mean that you have to (in a commercial environment) purchase an Orion license for each seperate instance of the client you want to run. In other words, if I want to run 10 instances of my client, plus 1 of the server itself, how many licenses do I need to buy, 1 or 11? Brendan -- Brendan McKenna [EMAIL PROTECTED] Senior Partner Hallway Software Design Corp.