IMHO, it is unwise to be using EJB2.0 dependent objects at this point
because this is a part of the spec which is likely to change wildly.
There have even been significant changes between pd1 (when Orion's
implementation was built) and pfd.
You can circumvent the relationship table by creating a
Hi,
I have the following entity beans which have a 1-1
relationship:
person(id(integer), name(varchar))
job(id(integer), name(varchar))
This is part of my ejb-jar.xml:
I have created the following session listener class which works but now I
want to redirect the client to the start page of the application if they are
trying to enter the application from another page.
Easy peasy lemon squeezey in asp using global.asa but at a loss with java.
Any help greatly
In many of my JSP files I invoke the .remove() method on an EJB to get it
permanently deleted. Sometimes, however, the EJB is NOT deleted even though
I get no error messages. So, has anyone experienced that this does not
always work:
while(myIteratorOfSomeEJBs.hasNext())
((EJBObject)
I'm probably way out of my league when I saying
this.
java.lang.Integer is alot bigger than an int.
An Integer object could easily handle a SQLBIG_INT, and therefore you should use
int instead of Integer for this type of operation.
Cannot stress enough the fact that I'm probably on
very
We were able to use EJBDoclet out of the box with no problems. We have
extended it quite a bit, but nothing Orion specific, only project specific.
Anyone using Orion should be able to use EJBDoclet with no problems, and I
would highly recommend doing so.
James Birchfield
Ironmax
a better way
Hello Geoff,
Check that there is no other process using the port you specified (or
443 by default for SSL). Also, if you're running a WinNT or Win2k
machine stop the IIS web sites. By some mystical reason it seems to
use the port 443 even wheren there is no certificate installed.
--
Best
Hello Greg,
To prevent the code duplication use the same app in both sites, and
use the shared="true" flag so the ServletContext is shared over all
the instances of the apps.
Sometimes the session gets invalidate when going from secure to
non-secure. We found a workaround to that, but it's a
I'm no expert either. I have just started. Anyway, it seems like your are
mixing some concepts here (IMHO).
It seems like your trying to "normalize" your bean by having a foreign key
(jobid) to Job. This, should be a reference to the class, i.e.
public abstract setJob(Job ajob) not an integer.
I'm not sure if this is the correct place to ask this question but is there
a way to turn off the session tracking in the jsp compiling in orion?
Currently, no matter how you set the session-tracking tag in the
configuration, when jsps are compiled the following line are ALWAYS there:
Greg, all
can be in one app. You have to specify a security-constraint in
web.xml, best specified as a sub-directory e.g. /secure/*, where you put your
secure pages.
--peter
You can also enforce the dependency (cascade delete) by overriding void
ejbRemove() throws RemoteException in your EJB class to find all dependents
by your bean and .remove() them.
Cheers,
Dan.
At 00:53 06/03/2001 -0800, you wrote:
IMHO, it is unwise to be using EJB2.0 dependent objects at
Title: SV: Session listener redirect
I would go with a Filter instedad of an include.
WR
-Ursprungligt meddelande-
Fran: Rafael Alvarez [mailto:[EMAIL PROTECTED]]
Skickat: den 6 mars 2001 07:07
Till: Orion-Interest
Amne: Re: Session listener redirect
Hello Ron,
Two ideas:
Have you put struts.jar in your WEB-INF/lib directory (correct) or in
the orion/lib directory (incorrect)?
Also struts needs to be patched to work with Orion (ActionServlet.java
as I remember, its in the archives).
Mark Kettner wrote:
I'm trying to use jakarta-struts with orion1.4.5. I've
Are you using CMP or BMP? Does your EntityBeans ejbRemove get called?
Are you catching any exceptions anywhere?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink
Isaksen
Sent: Tuesday, March 06, 2001 3:49 AM
To: Orion-Interest
Subject:
Someone suggesting hitting a JSP with a cron... how can you hit a URL with
a CRON or AT command, I didn't think you could do that! Perhaps I
misunderstood the explanation?
R
Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w -
First, a thank-you to Jay Armstrong for his SimplePortTester. Indeed,
Apache had port 443 locked up even though I thought I had stopped Apache.
Here's the problem of the day:
I'm only using JSP and Beans. It seems when I switch between http and https,
Orion crreates a 'second session'. I have
If you put the code at the init function, you can force the servlet to
load at startup by putting the tag
load-on-startuppriorityNumber/load-on-startup
in the servlet description in web.xml. priorityNumber defines the
order in which the servlets will be loaded at startup.
--
Best regards,
on unix, you could d/l and use the wget command
mike
- Original Message -
From: "Robert S. Sfeir" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 12:18 PM
Subject: Re: How to set orion to perform a timely task.. (CRON???)
Someone suggesting
Sure you can.
* * * * * lynx --dump http://myhost/hiteveryminute.jsp /dev/null
This submits something to hiteveryminute.jsp every, um, minute.
On Tue, 6 Mar 2001, Robert S. Sfeir wrote:
Someone suggesting hitting a JSP with a cron... how can you hit a URL with
a CRON or AT command, I
Did you ever get a fix to this? We seem to be getting a similar error
trying to get an InitialContext from an object when load testing.
Unfortunately it is not consistently happening to where we have been able to
track the problem down.
Any ideas?
-Original Message-
From: John McManus
Hi Ron,
This looks like another perfect opportunity to apply Orion's implementation
of Servlet v2.3 filters. See the "Clickstream" example under "Web-Apps"
at www.orionsupport.com.
I'm including some earlier correspondence with Huibert Aalbeers about its
use (from back in Jan 2001). Thanks
Title: SV: How to set orion to perform a timely task..
First of all, there
is an option to load a servlet at startup so that you don't need to wait for the
first request comes in.
Secondly I prefer
this way better. You could create a separate ejb client application to
start your timer
One way is to write a simple Java program that uses URLConnection to hit your
JSP page and have CRON drive your simple program.
tim.
Someone suggesting hitting a JSP with a cron... how can you hit a URL with
a CRON or AT command, I didn't think you could do that! Perhaps I
misunderstood
I can find the EntityBean correctly, it's when the public abstract
Collection getPhoneDependents() is called, that I get a null object from
this call. If the server is not restarted between the creation of the
Person entity, and adding some phone numbers, the getPhoneDependents()
properly
Oops, I missed it in my last post...
I got the same problem. What I did (and it worked, even as it seems
that it shouldn't) was to store a session reference in the application
context in the last non-secure page, and then retrieve it in the first
secure page. Every object that was store in the
session-config tags in web.xml should do it...
HTH
JP
-Original Message-
From: Jim Carroll [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 12:44 PM
To: Orion-Interest
Subject: JSP Session setting
I'm not sure if this is the correct place to ask this
question but is
So is most of your development using Entity/Session beans?
Are you using EJB20 Entity style beans (using abstract methods?), or are you
still using EJB1.1 style beans.
Are EJB20 queries safe to use with Orion? Do they work?
Thanks.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
you can use wget in some *nix'es
I have a java based tool that does basically the same work that wget does;
I'll post it tomorrow
-Original Message-
From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 3:40 PM
To: Orion-Interest
Subject: Re: How to set
Actually, Someone gave me the answer to this. Thanks. It's actually a page
directive I missed. I should have thought to look there.
Thanks anyway.
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
(Chile)
Sent: Tuesday, March 06, 2001
Please un subscribe
Thanx..
If you want to determine the client and apply an appropriate xsl transformation from
the same .jsp you can request.getHeader("USER-AGENT") and parse the result - this is
handy for formatting wap content for different phones.
I don't know if there's an orion specific easier way to do this as
Hi All,
Jim and I used to work together, so we had a reunion of sorts and solved
this between us.
For orion-interest, the up shot is that %@ page session="false" % needs
to be set in the JSP page (at first, I'd suggested looking at the
session-tracking element in the two orion-web.xml files for
Here is a SAP DB schema that I've been working with recently - I have not tried all of
the
elements so if anyone uses it and finds a problem - post it back to the list with the
fixfor
instance
I am not sure about some of the date/time stuff, among other things...
Cheers
Ray Harrison
?xml
Please use the form at www.orionserver.com
--- Prasanna Kumar [EMAIL PROTECTED] wrote:
Please un subscribe
Thanx..
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
looking at the online documentation, it seems (???)
like this isn't really to do with SSL.
i gave it a try anyway and got the windows dialog
"save or download" appearing when i tried to open a jsp in the "/secure/"
directory.
does this work? i.e. have to put pages in the
"/secure/"
Please un subscribe
Thanx..
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Hi,
Rather than resend the responses from Torgeir.Lerkerod to everyone, you can
see them in the mailing list archives.
The original message and responses for this were on 12Feb2001 and can be
seen at www.orionserver.com by clicking on the "Mailing list" link, and
then on "To read the archive of
AFAIK the session object is implicit to the page, such as request, response etc.
It is part of the spec.
[EMAIL PROTECTED] 03/07/01 01:43am
I'm not sure if this is the correct place to ask this question but is there
a way to turn off the session tracking in the jsp compiling in orion?
Spelling 'length' would be a good start
--- Ray Harrison [EMAIL PROTECTED] wrote:
Here is a SAP DB schema that I've been working with recently - I have not tried all
of the
elements so if anyone uses it and finds a problem - post it back to the list with
the fixfor
instance
I am not
Try looking at filters to parse the output using the user-agent info.
You could use a servlet / jsp to produce xml, and then a filter using a different XSL
transformation to parse send back to the client.
It depends on how many pages you are going to produce whether it is worth the hassle.
You can also use SiteMesh (awesome product if I do say so myself ;)) -
http://www.opensymphony.com/sitemesh and use the AgentDecoratorMapper to use
different page decorators (layouts basically, very simple to build, very
advanced) based on the user agent and browser capabilities.
-mike
UN SUBSCRIBE ME
thanx
Sorry, Greg, I was under the impression you were talking about
authentication/access security. To
set up https, look at the following (if you havent already done so):
http://www.orionserver.com/docs/#deploying
and follow the links there. Also, you might search for messages under
the
44 matches
Mail list logo