getServletContext() in JSP

2001-01-28 Thread Romen Law
ello, I recently downloaded orion and tried my web app with it, it failed straight away because it does not recognise the method getServletContext(). I have developed my app using Tomcat and it worked fine. Is there a way to get around this in Orion? cheers romen IT Architect, Business And Da

Orion mishandles Javascript in JSP

2001-01-29 Thread Romen Law
ello, The way Orion handles JavaScript codes in JSP files is totally wrong. The following lines in a

Re: ms access & Orion?

2001-02-15 Thread Romen Law
ello, Sure it does. Just use JDBC-ODBC driver. Here is an example data-source entry: BTW, since access does not support transaction, the xa-... line above is useless. Also when you deploy your ejb, make sure you don't use transaction. I use it for development and demonstration purposes

security realm in orion

2001-03-07 Thread Romen Law
ello, Does anyone know what security realms orion supports other than the pricipals.xml file. I want to store users, groups and ACLs (dynamic change of ACL is important to me) in a LDAP or Relational DB, much like what Weblogic can do. Is this possible in Orion? What extra work do I have to do t

Re: Stateless Session Bean Initialization Pattern

2001-03-11 Thread Romen Law
ello, By definition Stateless Session Beans are stateless. How can you initialise something that is stateless? The alternatives are to use Stateful Session Beans or application scope Java Beans in your JSP. cheers romen IT Architect, Business And Data Services IBM GSA TEL: 612-84484716 FAX: 6

dynamic ACL in orion

2001-03-12 Thread Romen Law
ello, Does Orion support dynamic configuration of ACL (much like Weblogic's RDBMSRealm)? cheers romen IT Architect, Business And Data Services IBM GSA TEL: 612-84484716 FAX: 612-84484008 TIE: 84716

EJBUserManager how-to?

2001-05-01 Thread Romen Law
ello, I believe there was an email expaining how to configure orion to use database tables to store user and group information (as opposed to using pricipals.xml file). Unfortunately, I cannot find the email and orionsupport.com seems to be down. I apologise. Can someone please repost that emai

return all security roles

2001-05-04 Thread Romen Law
ello Forgive my ignorance, but is there a method call in Orion or J2EE to return all roles defined in the web resources (in web.xml) and/or ejb resources (in ejb-jar.xml)? cheers romen IT Architect, Billing IBM GSA TEL: 612-84484716 FAX: 612-84484008 TIE: 84716

SSL config

2001-06-28 Thread Romen Law
ello, I would like to know whether the Orion documented procedure on SSL configuration will force the whole site to use SSL or simply enable it. ie. I want to be able to access certain areas of my site (eg. member area) using https, and the rest using http. Is this the intention of Orion SSL sett

directory-browsing

2001-08-12 Thread Romen Law
ello, I want to allow directory browsing on one of the directories in my web application. But by setting the directory-browsing="allow" in orion-web.xml, all web directories are browsable. How do I limit this to just the directoy/directories that I want to expose for browsing? cheers romen Thi

Daylight saving field

2001-09-17 Thread Romen Law
ello,   This is a bit off topic, but I really need to know.   Java (1.3.0) is returning me the wrong time when using Calendar. Here is the output of print of Calendar.getInstance():   java.util.GregorianCalendar[time=1000774314970,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=java.

Daylight saving field - more info

2001-09-17 Thread Romen Law
experienced the same problem?   cheers romen -Original Message-From: Romen Law Sent: Tuesday, September 18, 2001 11:01 AMTo: 'Orion-Interest'Subject: Daylight saving field ello,   This is a bit off topic, but I really need to know.   Java (1.3.0) is returning me

RE: MDB in orion 1.5.2 using Queue

2001-10-18 Thread Romen Law
ello, Thanks for all the replies. I must apologise: my MDB using Queue was working all along. It's just that I was using System.out.println() for logging so I couldn't see it on the console. But after using log4j I could see it. Well, there is first time for everything. I did find two things th

servlet load-on-startup and orion shutdown

2001-10-23 Thread Romen Law
ello, If I use the load-on-startup in web.xml under my startup servlet, orion will correctly start it up automatically. What I found strange was that when this is done I cannot shutdown orion any more by using admin.jar or ctrl-C. If I comment out the load-on-startup line, everything will be fine

RE: Course Grained Entity Beans...your thoughts....

2001-11-19 Thread Romen Law
ello, You are quite right. In fact, this issue has been discussed in a book. Check out the preview of it from theServerSide: http://www.theserverside.com/resources/patterns_review.jsp cheers romen -Original Message- From: Rustad, Aaron [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November

Using JDBC resource from application client

2001-11-26 Thread Romen Law
ello, I have seen the same question asked a few times in the mail archive, but no answers. Now I am faced with the same question. Am I supposed to access my datasource from an application client in J2EE/Orion? I have the following files setup with the correct values (I believe): * $orion/config

MDB in orion 1.5.2 using Queue

2001-10-17 Thread Romen Law
ello, I tested MDB using topic and it worked fine. What I did was to deploy the MDB using the 'jms/theTopic' as the destination-location in orion-ejb-jar.xml. Then I ran the sample jmschat.jar and saw that my MDB got called. But I could not repeat the same using Queue as the destination. I deplo

RE: Using JDBC resource from application client

2001-12-03 Thread Romen Law
ello, Thanks to Ravi Reddy, I found the answer. The trick is not to make the data source pooled in the data-sources.xml file (i.e., leave out the xa-location, ejb-location and pooled-location fields). But what is the rationale for this? cheers romen - Or

Re: Integrating LOG4J into Orion...

2002-01-20 Thread Romen Law
ello, What I did was to have a initialising SLSB and let the startup servlet call it. It works for me. cheers romen - Original Message - From: "Alex Paransky" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, January 19, 2002 12:34 PM Subject: FW: Integrating

Re: CMP beans and Container Managed Transaction question <- more information

2002-01-24 Thread Romen Law
ello, I think I have encountered similar problem using Sybase. I finally opted to use JDBC directly for that method and use a non-pooled db connection. That seemed to fixed my problem at the time. cheers romen - Original Message - From: "Jeff Hubbach" <[EMAIL PROTECTED]> To: "Orion-Inte

Re: Concurrent calls to Session bean methods

2002-03-21 Thread Romen Law
ello, What if the application is deployed in a cluster (even the web tier)? Would that nullify the synchronised effect? cheers romen - Original Message - From: "The elephantwalker" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, March 21, 2002 3:47 PM Subjec

Re: timezone issue

2002-04-22 Thread Romen Law
ello, Timezone is implemented as part of JDK, has nothing to do with the application servers. I noticed that JDK1.3.0 had problems with timezone for Sydney (Sydney had special daylight saving in year 2000 due to Olympic). But JDK1.3.1 had fixed the problem. cheers romen - Original Message -