RE: OFFTOPIC: Making a page expired

2000-11-27 Thread J.T. Wenting
response.setHeader("CACHE-CONTROL", "max-age=0, must-revalidate"); will do the trick. Jeroen T. Wenting [EMAIL PROTECTED] Murphy was wrong, things that can't go wrong will anyway -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matt Krevs Sent:

Re: Anyone debugging Orion applications in JBuilder (no jdpa)

2000-11-27 Thread Sven van 't Veer
Michael Rimov wrote: Set the project working directory to the orion root directory. (You need JBuilder4 for this) Nope works just fine with 3.5 too. I missed that one on the first try though. sven -- ==

byte array OR mapping...

2000-11-27 Thread Laurent Cornelis
Hello, I have an Entity Bean : public class ResultBean implements EntityBean { [...] public String id; [...] public byte[][] graphResult; } The graphResult field is an array of byte arrays. I want it to be stored as a list of BLOBs. Here is my mapping for this field

Re: pop3.jar again

2000-11-27 Thread Dale Bronk
Sorry I mis-read your email. I now have added activation.jar, mail.jar, and pop3.jar to the orion.jar manifest file. These files again reside in orion_root/. I still get the same error. As far as the code goes "pop3://cucu:[EMAIL PROTECTED]", this is a dumb question but what is the break up

RE: Anyone using Orion in production? [long]

2000-11-27 Thread Kemp Randy-W18971
I too wonder about the legalities. Flashline shows several commercial EJB servers that are not J2EE licensed. There are also three open EJB server projects I know of (joNas, jBoss, and openEJB), that share their source code. I must confess, I don't even know what a company must do to become

RE: Anyone using Orion in production? [long]

2000-11-27 Thread Kemp Randy-W18971
If you think about it, Sun released their source code for JSP and servlets to Apache. IBM and Sun have people working and developing Tomcat, in addition to the Apache volunteers. Yet there are many commercial products implementing JSP and servlets (Jrun, Servlet Exec, Etc.). Similarly, if

DriverManagerConnectionPoolConnection not closed, check your code!

2000-11-27 Thread Anders Bohman
Does any one know of a foolproof way to close a connection? A standard perhaps? To avoid this msg: DriverManagerConnectionPoolConnection not closed, check your code! I have one suggestion but I'm not sure that it is correct. Connection conn = null; Statement stmt = null;

Re: Can't find DataSource at java:comp/env/jdbc/NameOfDataSourceDS..??

2000-11-27 Thread Boris Gertsberg
If you open a console (java -jar orionconsole.jar ) you will see that your jdbc connections are in fact can be found in JNDI at jdbc/myEJBDS and not java:comp/env/jdbc/myEJBDS. You are getting casting exception because in your datasources.xml you defined DataSource as

Data type to access a datetime field in database

2000-11-27 Thread fresnaULL
Hi, I'm trying to access a datatime field in a SQL-SERVER 7.0 with a EJB CMP but I don't know which java type I have to use in the bean to map this field. I've tried with a java.util.Date type but I get the following error: javax.ejb.EJBException: Error saving state: [Microsoft] [ODBC SQL

RE: OFFTOPIC: Making a page expired

2000-11-27 Thread Kevin Duffey
On the same topic..is there any way to FORCE the browser to always go to the server, even if the BACK button is clicked? We have the "no-cache" settings, but whenever a user hits the BACK button they always see the "this page has expired". Isn't there any way at all to force the browser to go to

SV: Data type to access a datetime field in database

2000-11-27 Thread Klaus . Myrseth
If its datetime you are talking about, add this to the data database-schema definition to sql-server: type-mapping type="java.util.Date" name="datetime" / java.io.Serializable is the mapping for varbinary, to use image add the following to the database-schema: type-mapping

Re: Anyone debugging Orion applications in JBuilder (no jdpa)

2000-11-27 Thread Sven van 't Veer
Suresh Ajja wrote: I am using JBiulder4 ,In the Tools, enterprise set up i could only see two options to add app server, i.e. IAS and Weblogic, I set my working dir. as orion as root, but how to add AppServer. need help Suresh Take a look at www.orionsupport.com. It explains how to

RE: byte array OR mapping...

2000-11-27 Thread Tim Drury
The '[B' is the String returned when I do byte[].getClass().toString() I don't think you want to do that. Firstly, a byte is not a class. byte is a primitive like int, float, char, etc. which are not classes in Java (maybe you are a Smalltalk programmer?). Second, getClass().toString()

EJB Job

2000-11-27 Thread Fejes Balazs
Do you want to be a part of a brand new company, which is betting its future on EJB? Do you want to use the coolest technologies and get free pizza and coke (of course a really good salary too :-) ) ? We are located in the hot capital of Hungary, in Budapest. If you in the region (or not) and

Re: pop3.jar again

2000-11-27 Thread Christian Sell
ok, I am lost. I did have the "no provider" problem, and the modified manifest thing works for me. As far as the URL goes, I think it is protocol://user:password@server. - Original Message - From: Dale Bronk To: Orion-Interest Sent: Monday, November 27, 2000 2:42

RE: Problems with the Orion CMP primer example.

2000-11-27 Thread KirkYarina
Sorry for the delay (Thursday was a holiday here (unless you're a turkeyg), and I took Friday off...). However, I see from the mail list that you've fixed the problem. The file $ORION_DIR/config/data-sources.xml contains the configuration for your jdbc connection(s) - part of the data-source

un-Subscribe

2000-11-27 Thread King Tan

Re: pop3.jar again

2000-11-27 Thread Tim Endres
Sorry I mis-read your email. I now have added activation.jar, mail.jar, and pop3.jar to the orion.jar manifest file. These files again reside in orion_root/. I still get the same error. As far as the code goes "pop3://cucu:[EMAIL PROTECTED]", this is a dumb question but what is the break

Re: Data type to access a datetime field in database

2000-11-27 Thread TDSlusser
Use java.sql.TimeStamp for dates times. Use java.sql.Date for just date java.sql.Time for just time. regards, Ted Slusser

Problems getting demo/ejb running

2000-11-27 Thread Marcus Lankenau
Hi! I've tried to get this ejb-demo (path orion/demo/ejb/product) running, unfortunately without success. After following the instruction "Installing the EJB examples" and starting the client I got this: Exception in thread "main" java.lang.SecurityException: Invalid username/password for

search engine w/ orion

2000-11-27 Thread Justen Stepka
Anyone have any luck or recommendations for a search engine to use with Orion Server? Justen Stepka

Used Instances

2000-11-27 Thread Sven van 't Veer
In Orion console, what does 'Used Instances' denote? I'm doing batch updates to a database (about 20 daily) and about three quarters on the way, Orion console shows some 59000 used instances of my entity bean somewhere after that, my application crashes with a DeadlockException and shows that

Re: DB changes not reflected in CMP bean.

2000-11-27 Thread Winston Ng
Thanks! It works great now. Made the changes in orion-ejb-jar.xml and any updates to the db by other sources is pretty much updated instantly. Does anyone knows if this feature is stated in the EJB standards? Winston - Original Message - From: "Sven van 't Veer" [EMAIL PROTECTED] To:

Re: how to use servlet-mapping

2000-11-27 Thread Claudio Miranda
the url-pattern tag dictates the browser vision of your resources, look at the correct code below. -- Claudio Miranda ___ SUN Certified Programmer for JAVA 2 Edmund Cheung wrote: Hi, If I have more than one servlet defined in the web.xml file, how

RE: search engine w/ orion

2000-11-27 Thread Neville Burnell
Take a look at Lucene http://lucene.sourceforge.net/features.html -Original Message- From: Justen Stepka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 28 November 2000 6:18 AM To: Orion-Interest Subject: search engine w/ orion Anyone have any luck or recommendations for a search engine

RE: search engine w/ orion

2000-11-27 Thread Mike Cannon-Brookes
If you're looking for a pure Java one, I use Lucene - http://www.lucene.com It's Open Source and works quite well. -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Justen Stepka Sent: Tuesday, November 28, 2000 6:18 AM To: Orion-Interest

Re: Used Instances

2000-11-27 Thread Tim Endres
Could it be that all of your beans are still in a Tx? I do not believe the beans will be passivated when they are still involved in a Tx. Or are you invoking a new Tx for each line in your file. tim In Orion console, what does 'Used Instances' denote? I'm doing batch updates to a database

Turbine with Orion?

2000-11-27 Thread Neal Kaiser
I'm getting ready to set this up (Turbine and Velocity) with Orion. Before I pull my hair out figuring it out, I wanted to see if anyone has already documented this? Thanks.

RE: search engine w/ orion

2000-11-27 Thread Justen Stepka
Has anyone actually used this product though? Justen Stepka On Tue, 28 Nov 2000, Neville Burnell wrote: Take a look at Lucene http://lucene.sourceforge.net/features.html -Original Message- From: Justen Stepka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 28 November 2000 6:18 AM

Re: Problems getting demo/ejb running

2000-11-27 Thread MacGill
G'Day one suggestion have you change the settings in orion/config/principals.xml Set deactivated to 'false' user username="admin" password="123" deactivated="false" descriptionThe default administrator/description group-membership group="administrators"/ group-membership

RE: search engine w/ orion

2000-11-27 Thread Duffey, Kevin
I take it I simply add in a .jar file or something..use its API's and I can add a search engine to my own site? Is it free to use for my own applications and websites? I haven't checked it out yet..but I will later. Thanks. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL

RE: OFFTOPIC: Making a page expired

2000-11-27 Thread Matt Krevs
Doesnt orion allow you to have custom error pages for each generic HTTP error condition? (eg 404, 501 etc) Does the "this page has expired" condition fall into this category? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey Sent: Tuesday, 28

RE: OFFTOPIC: Making a page expired

2000-11-27 Thread Matt Krevs
Jeroen - you are a star What this header basically does is re-request the URL when the user hits the back/forward buttons. That also fixed a couple of other 'what happens if the hit the back/forward button' issues i was having. One huge advantage about the 'CACHE-CONTROL' tag is that the

Using examples from Sun for J2EE reference implementation with Orion

2000-11-27 Thread Mateo Torrealto
I decided to try out the examples at http://developer.java.sun.com/developer/onlineTraining/J2EE/Intro/index.html#contents with Orion. These examples are from Sun and are for the reference implementation of J2EE. I am able to get the samples to work on the reference implementation, but not for

RE: Christian Sell et al.... Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-27 Thread Mateo Torrealto
That WORKED! it gave me the error message i needed. orion was complaining about servlet param tag problem. i ussually use netscape. i just started using explorer. YOU ROCK Matt! (you too Christian) --- Matt Krevs [EMAIL PROTECTED] wrote: Are you using IE as your browser? If so, go to

Reusing compiled JSPs on another machine

2000-11-27 Thread Matt Krevs
We often deploy our web app on multiple machines Currently this is a painful process as we have to hit each page on each machine (we run a script to do this) so the pages are compiled when the testers test the app. I have played around with compiling the pages one 1 machine and copying the

RE: search engine w/ orion

2000-11-27 Thread Mike Cannon-Brookes
I use Orion extensively within our OpenSymphony CMS to index and search content (articles, comments etc). It works quite well, the biggest database I've tried it with is about 3000 or so articles, but growing all the time. Lucene has quite an active list, why not ask there? As for your q's: -

Re: Reusing compiled JSPs on another machine

2000-11-27 Thread Tim Endres
Could it be that the modtimes on the jsp pages are later than the modtimes of the class files you copy over? tim. We often deploy our web app on multiple machines Currently this is a painful process as we have to hit each page on each machine (we run a script to do this) so the pages are

Re: Reusing compiled JSPs on another machine

2000-11-27 Thread alexchud
Hi Dude, Compile your jsp page into a servlet, then make your servlet appear as a jsp page, by doing the following in your web.xml. The Servlet is made to look as a JSP page with the following web.xml: !DOCTYPE webapp SYSTEM "http://java.sun.com/j2ee/dtds/web-app_1_2.dtd" webapp servlet

RE: OFFTOPIC: Making a page expired

2000-11-27 Thread Mikko Kurki-Suonio
On Tue, 28 Nov 2000, Matt Krevs wrote: Doesnt orion allow you to have custom error pages for each generic HTTP error condition? (eg 404, 501 etc) Does the "this page has expired" condition fall into this category? No, that "error" is entirely browser-generated. You might be able to override