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:
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
--
==
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
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
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
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
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;
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
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
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
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
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
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()
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
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
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
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
Use java.sql.TimeStamp for dates times.
Use java.sql.Date for just date java.sql.Time for just time.
regards,
Ted Slusser
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
Anyone have any luck or recommendations for a search engine to use with
Orion Server?
Justen Stepka
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
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:
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
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
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
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
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.
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
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
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
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
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
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
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
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
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:
-
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
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
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
40 matches
Mail list logo