RE: ResultSet chaching

2001-03-03 Thread Juan Lorandi (Chile)



resultset or entity? if entity caching is troubling 
you, de-activate entity caching by setting the entity-deployment attribute 
exclusive-write-access to true.


HTH

JP

PS:ResultSet caching is done with RowSet's 
persistance (serializable RowSet's)

  -Original Message-From: Luis Javier Beltran 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, March 02, 2001 6:12 
  PMTo: Orion-InterestSubject: ResultSet 
  chaching
  Hi,
  
  Does Orion do resultset caching? because 
  althought the database data has changed it still shows me the same data it 
  showed before adding information to the db...
  
  If it does, how can I disable it?
  
  thanks a lot!
  
  Luis Javier


How to set orion to perform a timely task..

2001-03-03 Thread orion

Hello,
I need to have my EJB perform some DB operation at midnight everyday.
How do I do that?
In PC, I could create a timer object to do that with VC++, but in Java
it does not seem to have such a functionality. And I think it's ideal
to handle it in the server side rather than play with Java.
In other words, orion may have such a cron function built in to do
something in a timely manner.
If anyone has any experience with this, please tell me how.
Thank you very much in advance.


Simon





Re: How to set orion to perform a timely task..

2001-03-03 Thread Mike Sick

We use Flux. It was easy to integrate and it's reliable.

see: 
http://www.simscomputing.com/
http://www.simscomputing.com/products/


- Original Message - 
From: [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Saturday, March 03, 2001 12:43 PM
Subject: How to set orion to perform a timely task..


 Hello,
 I need to have my EJB perform some DB operation at midnight everyday.
 How do I do that?
 In PC, I could create a timer object to do that with VC++, but in Java
 it does not seem to have such a functionality. And I think it's ideal
 to handle it in the server side rather than play with Java.
 In other words, orion may have such a cron function built in to do
 something in a timely manner.
 If anyone has any experience with this, please tell me how.
 Thank you very much in advance.
 
 
 Simon
 
 
 





RE: Clustering and Multicasting

2001-03-03 Thread Juan Lorandi (Chile)

are you connecting everything to the same switch (hub)???

multicasting in a LAN is usually done by the switches, so hooking into a
different hub may be problematic with some switches

HTH

JP

 -Original Message-
 From: Jesse Schoch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 28, 2001 7:32 PM
 To: Orion-Interest
 Subject: Clustering and Multicasting
 
 
 I have installed a 3 node orion cluster(2 on windows2k and 1 
 on linux) and
 have it working just dandy, the replication seems to work and 
 so does the
 loadbalancer but...
 
 I also have a bsdi box, and recently upgraded to the 4.2 
 version which has a
 JDK and JVM on which orion runs fine, but when I try to put 
 into the cluster
 orion will not start and complains that it can't bind to the multicast
 address.  any ideas why this is happening?
 
 




classloader does not implement getResourceAsStream ?

2001-03-03 Thread G.L. Grobe

I've just started using orion and ran into a prob using the struts MVC. I
mailed the struts user group about this error and they reported back the
following.

The problem is that the Orion classloader does not implement
getResourceAsStream().  It's been logged in Orion's bugzilla.

Does anyone know about the status of this or know a workaround. I wasn't
able to find it in the database.

-

 I'm using orion server 1.4.5. I've got
 struts.jar in my ~/WEB-INF/lib dir and have listed the taglibs in the
 ~/WEB-INF/web.xml file as well as included all the *.tld in this same dir.
   taglib
   taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
   taglib-location/WEB-INF/struts-bean.tld/taglib-location
/taglib

taglib
   taglib-uri/WEB-INF/struts-html.tld/taglib-uri
   taglib-location/WEB-INF/struts-html.tld/taglib-location
/taglib
 ...

 When running the following page, I get the error list down below:
 I've also got a file called 'myProps.properties' packaged under the
 ~/WEB-INF/classes/com.mydir1/mydir2/resources dir.

  index.jsp ---
 %@ page language="java" %
 %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %
 %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %

 html:html
 head
 title
bean:message key="main.title" /
 /title
 /head

 body
 html:errors /

 This is a atest.
 /body
 /html:html

 --- error output -

 500 Internal Server Error
 javax.servlet.jsp.JspException: Cannot find message resources under key
 org.apache.struts.action.MESSAGE at
 org.apache.struts.util.RequestUtils.message(RequestUtils.java, Compiled
 Code) at
 org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java,
 Compiled Code) at /index.jsp._jspService(/index.jsp.java, Compiled Code)
at
 com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled Code) at
 com.evermind.server.http.HttpApplication.xj(JAX, Compiled Code) at
 com.evermind.server.http.JSPServlet.service(JAX, Compiled Code) at
 com.evermind.server.http.d3.sw(JAX, Compiled Code) at
 com.evermind.server.http.d3.su(JAX, Compiled Code) at
 com.evermind.server.http.ef.s1(JAX, Compiled Code) at
 com.evermind.server.http.ef.do(JAX, Compiled Code) at
 com.evermind.util.f.run(JAX, Compiled Code)

 Any help much appreciated






RE: How to set orion to perform a timely task..

2001-03-03 Thread Juan Lorandi (Chile)

Or you could start a daemon thread in a servlet to perform as cron; we do
that to initialize services we need. Flux is great too, but it's out of my
budget... ;-)

 -Original Message-
 From: Mike Sick [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, March 03, 2001 3:19 PM
 To: Orion-Interest
 Subject: Re: How to set orion to perform a timely task..
 
 
 We use Flux. It was easy to integrate and it's reliable.
 
 see: 
 http://www.simscomputing.com/
 http://www.simscomputing.com/products/
 
 
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Saturday, March 03, 2001 12:43 PM
 Subject: How to set orion to perform a timely task..
 
 
  Hello,
  I need to have my EJB perform some DB operation at midnight 
 everyday.
  How do I do that?
  In PC, I could create a timer object to do that with VC++, 
 but in Java
  it does not seem to have such a functionality. And I think 
 it's ideal
  to handle it in the server side rather than play with Java.
  In other words, orion may have such a cron function built in to do
  something in a timely manner.
  If anyone has any experience with this, please tell me how.
  Thank you very much in advance.
  
  
  Simon
  
  
  
 
 




Re: How to set orion to perform a timely task..

2001-03-03 Thread Falk Langhammer

I think,
the most clean approach would be to have a cron job which starts an EJB
client every time.

Bye,
Falk
- Original Message -
From: [EMAIL PROTECTED]
 I need to have my EJB perform some DB operation at midnight everyday.
 How do I do that?






RE: classloader does not implement getResourceAsStream ?

2001-03-03 Thread Christian Billen

Hi there, I got struts working here, here's the two important things:

- Make sure struts.jar is in your WEB-INF/lib and not in Orion/lib which you
got
- Get a source version of Struts, and modify the ActionServlet.java of
Struts:

This line (about line 881 in my version):
URL url = this.getClass().getResource(registrations[i+1]);

Must be replaced by this:
URL url = getServletContext().getResource(registrations[i+1]);

And since I know struts can be a pain to compile, find the
ActionServlet.class attached, but it's pre 1.0 beta.

Hope this helps,

Christian

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of G.L. Grobe
 Sent: Saturday, March 03, 2001 1:47 PM
 To: Orion-Interest
 Subject: classloader does not implement getResourceAsStream ?


 I've just started using orion and ran into a prob using the struts MVC. I
 mailed the struts user group about this error and they reported back the
 following.

 The problem is that the Orion classloader does not implement
 getResourceAsStream().  It's been logged in Orion's bugzilla.

 Does anyone know about the status of this or know a workaround. I wasn't
 able to find it in the database.

 -

  I'm using orion server 1.4.5. I've got
  struts.jar in my ~/WEB-INF/lib dir and have listed the taglibs in the
  ~/WEB-INF/web.xml file as well as included all the *.tld in
 this same dir.
taglib
taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-location
 /taglib
 
 taglib
taglib-uri/WEB-INF/struts-html.tld/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
 /taglib
  ...
 
  When running the following page, I get the error list down below:
  I've also got a file called 'myProps.properties' packaged under the
  ~/WEB-INF/classes/com.mydir1/mydir2/resources dir.
 
   index.jsp ---
  %@ page language="java" %
  %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %
  %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %
 
  html:html
  head
  title
 bean:message key="main.title" /
  /title
  /head
 
  body
  html:errors /
 
  This is a atest.
  /body
  /html:html
 
  --- error output -
 
  500 Internal Server Error
  javax.servlet.jsp.JspException: Cannot find message resources under key
  org.apache.struts.action.MESSAGE at
  org.apache.struts.util.RequestUtils.message(RequestUtils.java, Compiled
  Code) at
  org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java,
  Compiled Code) at /index.jsp._jspService(/index.jsp.java, Compiled Code)
 at
  com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled Code) at
  com.evermind.server.http.HttpApplication.xj(JAX, Compiled Code) at
  com.evermind.server.http.JSPServlet.service(JAX, Compiled Code) at
  com.evermind.server.http.d3.sw(JAX, Compiled Code) at
  com.evermind.server.http.d3.su(JAX, Compiled Code) at
  com.evermind.server.http.ef.s1(JAX, Compiled Code) at
  com.evermind.server.http.ef.do(JAX, Compiled Code) at
  com.evermind.util.f.run(JAX, Compiled Code)
 
  Any help much appreciated






 ActionServlet.class


Re: Clustering and Multicasting

2001-03-03 Thread Jesse Schoch

they are connected to a hub
- Original Message - 
From: "Juan Lorandi (Chile)" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Saturday, March 03, 2001 1:59 PM
Subject: RE: Clustering and Multicasting


 are you connecting everything to the same switch (hub)???
 
 multicasting in a LAN is usually done by the switches, so hooking into a
 different hub may be problematic with some switches
 
 HTH
 
 JP
 
  -Original Message-
  From: Jesse Schoch [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 28, 2001 7:32 PM
  To: Orion-Interest
  Subject: Clustering and Multicasting
  
  
  I have installed a 3 node orion cluster(2 on windows2k and 1 
  on linux) and
  have it working just dandy, the replication seems to work and 
  so does the
  loadbalancer but...
  
  I also have a bsdi box, and recently upgraded to the 4.2 
  version which has a
  JDK and JVM on which orion runs fine, but when I try to put 
  into the cluster
  orion will not start and complains that it can't bind to the multicast
  address.  any ideas why this is happening?