If that doesn't work, you could try using the
HttpServletRequest.getRequestURI() method to spot requests for /test/* and
forward these requests to the right servlet or JSP.
/Manne
-Original Message-
From: Trond Nilsen [mailto:[EMAIL PROTECTED]]
Sent: 28 February 2001 22:51
To:
Title: RE: CMP 2.0
Thanks, Tim
I just
dived into chapter 16 (Transactions) and it is clear that there is definately
important stuff there which needs to be taken into consideration to avoid
errors. However, it turned out that the reason for the problem I described was
the fact that I had
Experience tells me they are reused in Orion. If I have an optional tag
attribute on a tag and the tag is used multiple times on a page I have found
out that I need to make sure that any contents set in the optional attribute
must be cleared manually by me, or I will get whatever contents was set
In fact if you just save your ejb-jar.xml and thereby change its time stamp
that will make Orion recreate tables. I am not sure, but I think you can
invoke orion.jar with a parameter to get it done (check out the docs), if
you are looking for a nicer way...
Yours
Randahl
-Original
Please use the form at www.orionserver.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lu, Michael
Sent: 28. februar 2001 20:47
To: Orion-Interest
Subject: signoff EJB-INTEREST
signoff EJB-INTEREST
Jeff, about the bug you mention... that sounds very strange to me and it
sure should not have anything to do with byte size, I think. The value
millisInMonth easily fits into a long... So if you have a long representing
the current time milliseconds and subtract one month of milliseconds, yes,
As I just posted, Jeff. The error was due to the fact that I had declared my
primary keys as Integer but I returned the primitive type int from my
ejbCreate methods. As soon as I changed this, everything worked fine. I am
(to put it mildly) very surprised that Orion did _not_ give me a compile
Thanks for the reply Jeff. Know I have two replies: One saying primary keys
can be primitive types and one that says they can't.
I am really looking forward to hearing your arguments, gentlemen ;-)
BTW, Jeff: Your answer to question number 1 - do you have that from the
specification, or...
Strangely enough, jsp:include always flushes
the writer - i.e. the flush="false" is ignored. This is in the JSP 1.1 spec.
Don't ask me why...
/Manne
-Original Message-From: Vaskin Kissoyan
[mailto:[EMAIL PROTECTED]]Sent: 28 February 2001
22:36To: Orion-InterestSubject: login
Hi list,
I believe that there is a bug in Orion's JSP engine (1.4.5).
jsp:setProperty name="webpublish" property="*" /
About 6 out of 53 properties are not set. When I set those explicitely as in
jsp:setProperty name="webpublish" property="previewCheckBoxState" /
everything is ok.
I will rephrase my question then (still, a little off topic):
On Orion at least, it seems transformation only works for element values NOT
for attribute values. If I have
!DOCTYPE doc [
!ENTITY "amp;"
]
Then doc:p/doc:p will get transformed to pamp;/p
But p x=""/ will just get
Yes, it fits into a long, but by default constants like
1000 * 60 * 60 * 24 * 30
are ints, so the arithmetic is done using int math. Inconveniently, the
value of that expression is (slightly) greater than Integer.MAX_VALUE so
overflow occurs. Thus the negative value which gets assigned to
At 16:54 28/02/2001 -0500, JangHo Ki wrote:
Hello.
I know it has been mentioned in serveral times.
However, I could not make Orion as EJB server work with Apache Tomcat.
A servlet is placed to access ejb at tomcat's WEB-INF/classes directory,
along with application-client.xml under META-INF
It's at the bottom of page 159 of Richard Monson-Haefel's _Enterprise
Java Beans, 2nd Ed_: "Although primary keys can be primitive wrappers
(Integer, Double, Long, etc.), primary keys cannot be primitive types
(int, double, long, etc.)"
I wasn't able to locate an explicit statement in the spec
Somebody on this list said that you're not allowed to start threads inside a
servlet container. Is this really in the spec (this was claimed), or is it
implementation-dependent?
/Manne
I've heard comments on this list in the past from Karl Magnus that
bad, misleading, or missing error messages should be logged in Bugzilla
as bugs.
http://www.orionserver.com/bugzilla
:-)
Jeff
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
!DOCTYPE doc [
!ENTITY "amp;"
]
I do not think this is legal.
(1) Recursive entitity declaration
(2) amp; is predefined, is reserved as entity prefix.
I do not think that You can redefine the XML grammar by defining "" or ""
as entities. In summary, You do not need the DOCTYPE at all. (I
I get a 405 error. "The method POST is not
supported by this URL"
Jonathan
- Original Message -
From:
cybermaster
To: Orion-Interest
Sent: Wednesday, February 28, 2001 10:22
AM
Subject: RE: Form based authentication
problem
Post
works for me in my
- Original Message -
long millisInMonth = (long)1000 * 60 * 60 * 24 * 30;
This should probably go in some sort of Java-puzzle magazine article.
:-)
I think this is a standard situation in Java and C. Most programmers would
probably write it as
long millisInMonth = 1000L * 60L * 60L *
Actually it's configurable. Just add "-Djsp.reuse.tags=[false|true]" to your
command line when you launch the server.
Jonathan
- Original Message -
From: "Randahl Fink Isaksen" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, March 01, 2001 2:47 AM
Subject: RE: In
Somebody on this list said that you're not allowed to start threads inside
a
servlet container. Is this really in the spec (this was claimed), or is it
implementation-dependent?
I am not sure for the web container. But the situation is even fuzzy for an
EJB container. I believe that in Orion,
Hi, Mike
Any or all of the Apache products are open to criticism, just as any
software should be.
I guess my reaction to points like yours below would be:
(1) severe bloat: by what definition? The core JAR size? The distribution
size? The API size? For that matter, if we're talking APIs, the
Title: RE: CMP 2.0
But its java that compiles, not Orion.
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 9:19 AM
To: Orion-Interest
Subject: RE: CMP 2.0
As I just posted, Jeff. The error was due to the fact that I had
Jeff wrote:
This should probably go in some sort of Java-puzzle magazine article. :-)
ROFL ! - I am glad you shared that top-secret-hard-to-find-under-cover-bug
experience with us; I too might have used a lot of time finding out... in
fact I think most developers would.
Randahl
-Original
Can anyone tell me if this is possible. I have a JSP page that contains
information about an order that was just entered (Essentially a
confirmation page). What I want to do is somehow intercept the output
stream inside the JSP page and write it to a file, as plain html, which I
will later
I went digging through the EJB 1.1 specification, and it doesn't
specifically say you can't use primitive types, but it does say they primary
key class needs to be serializable.
I have created a number of EJB's using the primitive long as the primary key
and have had no problems using them. So
Correction:
The last bullet should be:
* The home interface must always include the findByPrimaryKey method, which
is always a single-object finder. The method must declare the primary key
class as the method argument.
Michael
-Original Message-
From: Michael A Third [mailto:[EMAIL
andjsp:forward closes the outputstream
too
-Original Message-From: Manne Fagerlind
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 01,
2001 6:20 AMTo: Orion-InterestSubject: RE: login
security include file
Strangely enough, jsp:include always flushes
the writer -
should you use the form in http://archives.java.sun.com ???
if you wnat to unsubscribe from EJB-INTEREST, that is
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 5:53 AM
To: Orion-Interest
Subject: RE: signoff EJB-INTEREST
I have a BMP called UserEJB.
when a client call the EJB by findByPrimaryKey, the EJB only call
ejbload at the first time. then it is not synchronized with the DB.
the EJB specification said BMP should called ejbload every time when
a transaction begin.
How can i ensure ejbload called every
I think you can use a Filter to do that.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 01, 2001 8:32 AM
To: Orion-Interest
Subject: Capturing the output of a JSP page as HTML
Can anyone tell me if this is
The reason for reimplementing ResourceBundle as MessageResources is that
ResourceBundle is not Serializable. Some containers, notable WebLogic 6, have
issues with non-serializable objects being stored in things like the application
and session context. Its also very important that you only
Why would you use tomcat/apache and Orion? Can't Orion alone handle that?
I'm just trying to understand Orion at this point. I'm looking to move from
tomcat to another servlet container.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Alex
I have been using tomcat for some time now and am having issues with it...
I am thinking about using Orion. I don't do any ejb stuff and only need a
servlet container and web server.
I am having trouble using formbased security. I couldn't get it to work
with the users set up in the
Gary,
you can also add a library entry to your orion-application.xml.
library path="D:\EDM\TPC\xml\bsf.jar" /
I use this in my app to get access to third party libraries.
I'm glad to hear the manifest method works. I've tried it before, but was
never able to get it working. However, I have a
As far as I know, the EJB spec specifically forbids creating threads Sec
18.1.2. The servlet spec 2.2 Sec 1.2 says:
"For example, high end application servers may limit certain action, such as
the creation of
a Thread object, to insure that other components of the container are not
negatively
Title: RE: CMP 2.0
You
are right, Matt, but I am afraid I consider that irrellevant. When the
developerdeploys his application on Orion, he should not worry
abouthow Orion builds the beansand whether ituses the JDK or
anything else in the process of doing so - he should just expect it to do
Title: java.lang.NullPointerException in JMS
I got the same problem.
connection.start() throws an NPE
Search for JMS in this
list and you'll findsomething.
I couldn't solve it - I
loggedthe fact as blocking in bugzillaand
had to switch to weblogic for the time being.
Edo
-Original
Actually, a more proper way is to indicate to the compiler that you want
long arithmetic by writing:
long millisInMonth = 1000L * 60L * 60L * 24L * 30L
Oh, and by the way, this is not really correct since you're assuming 30 days
in a month. You should use the Calendar to figure out how many
Hello Orion community,
I cleaned up the tutorial I posted here a few days ago, and I added a Part 2
that explains connecting to Oracle. The only tools you need to use are
javac, jar, and deploytool. You won't need to write any XML files either,
aside from adding lines the Orion config
Awesome, now if someone can translate it into Linux...
--
-Geoff Marshall, Director of Development
...
t e r r a s c o p e (415) 951-4944
54 Mint Street, Suite 110 direct (415) 625-0349
San Francisco, CA 94103
Hi!
I'm trying to use Cocoon 1.82 with Orion 1.45. I've followed the example on
the orionsupport.com site, but I'm still getting an error. Here's the error
message.
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error while initializing XSP engine:
Hi, Thanks for the reply to my question. I am not familiar with filters. How would I do this?elephantwalker [EMAIL PROTECTED]Sent by: [EMAIL PROTECTED]03/01/2001 09:42 AM PSTPlease respond to Orion-Interest To: Orion-Interest [EMAIL PROTECTED] cc: bcc: Subject: RE: Capturing the output of a JSP
Why on earth would you want to store a MessageResources/ResourceBundle
in an application or session context?
The static method ResourceBundle.getBundle(...) returns a fast hash
lookup for the bundle from a table the framework maintains. It has the
added bonus that if you pass in the appserver's
According to all the books, as soon and you do a jsp:include / there are
3 things you can't do:
1) redirect
2) mess with your response headers
3) mess with cookies
So all such code must reside before your first jsp:include / in a static
file...
--
-Geoff Marshall, Director of Development
Funny, I never managed to get it to *not* re-use tags (haven't rev'd up to
latest release tho) regardless of the jsp.reuse.tags setting...
Trevor
On Thu, 1 Mar 2001, Jonathan James wrote:
Actually it's configurable. Just add "-Djsp.reuse.tags=[false|true]" to your
command line when you
From: Chad Stansbury [mailto:[EMAIL PROTECTED]]
Actually, a more proper way is to indicate to the compiler
that you want
long arithmetic by writing:
long millisInMonth = 1000L * 60L * 60L * 24L * 30L
I'm sure it all gets optimized out to the same thing in the end :-) But
yes, you're right.
Hi,
I had the same problem, but with queue-connection-factory. It works for the
very first time, but if you stop Orion and restart, the connection.start()
gives NullPointerException. To me, it looks like Orion has problems
rebinding the configured factories, if the factory exists already, the
Thanks for your input. An additional argument here might be that if you are
not the only developer working on your EJB system, and if the system is to
be maintained and expanded over time by many different software developers
in a large organisation, it would probably be best to use only a single
God point - I'll report it as a bug in Bugzilla.
Randahl
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer
Sent: 1. marts 2001 12:16
To: Orion-Interest
Subject: RE: CMP 2.0
I've heard comments on this list in the past from Karl Magnus
The fact that you have found that quote in the book (even in the 2nd
edition) definately indicates that at least at some point in time it has not
been allowed to use primitive types as primary keys. Still, the
specification is under constant development, and it seems to me the subject
is
I would definately *NOT* recommend moving away from Tomcat if you only use
JSP and servlets. Tomcat is the reference implementation, it is free, and
unless you need a product with a lot of additional features (GUI helper
tools, EJBs, remote debugging, etc.) there is no reason to open up a can of
Falk wrote:
(...)
We do have the same problem and solve it by transforming all strings by our
class XMLEscaper (...) I would be surprised if there existed some magic
avoiding this step.
(...)
You are probably right. Still, I would very much like to hear from anybody
who could prove you wrong.
All,
I'm attempting to send a serializable object from an entity bean to a
servlet, and am seeing the error below. Seems like it may be a
deployment thing, perhaps with helper class PaidTransaction. If
someone could point me at a summary for deployment requirements for
helper classes
Hi Bart,
It seems that the tags are re-used only when called multiple times inside
the same page. At least that is my experience with versions up to 1.4.5
Huibert
on 3/1/01 2:25 PM, Trevor Squires at [EMAIL PROTECTED] wrote:
Funny, I never managed to get it to *not* re-use tags (haven't
These tutorials are great and a wonderful aid for J2EE and Orion
deployment.
-Original Message-
From: James Halloran
To: Orion-Interest
Sent: 3/1/01 12:56 PM
Subject: Orion Tutorial, Parts 1 and 2
Hello Orion community,
I cleaned up the tutorial I posted here a few days ago, and I
Can anyone tell me if this is possible. I have a JSP page that contains
information about an order that was just entered (Essentially a
confirmation page). What I want to do is somehow intercept the output
stream inside the JSP page and write it to a file, as plain html, which I
will later
Although I've written my own Orion tutorials for starters, I heartily welcome
your contributions! If you like I can give you my XML tutorial format plus an
XSLT stylesheet that will convert it to a format similar to the Orion Primer:
* http://jollem.com/orion-primer/
Ofcourse I'd welcome new
After running 'java -jar orion.jar', I get the following output:
Error initializing site C.A.I.S: No application named 'cais' found in the
server
Orion/1.4.5 initialized
I can't seem to get the application setup correctly. I've included the
following files:
server.xml
applicaton.xml
After
running 'java -jar orion.jar', I get the following output:Error
initializing site C.A.I.S: No application named 'cais' found in
theserverOrion/1.4.5 initializedI can't seem to get the
application setup correctly. I've included thefollowing
We are proud to announce that we'll be holding another
peer-based-instruction group for programmers in the state of Maryland, USA.
If you're interested in joining our organization, please e-mail me. This
term we'll be focusing on Servlets, JSP's and XSLT's using Cocoon.
If you'd like to start a
my main reason for switching was that orion is much faster than tomcat.
Isn't that so?
But, you are right, I had the feeling that it was way over kill...I am also
looking into resin, I guess that is over kill, too for functionality, but
like I said I was looking for speed gains.
- Original
Does Orion support JAAS?
Anh
Title: SV: need help getting started
IMHO,
Orion is a better choice than Tomcat at this moment, even if just using JSP/Servlets.
Im still waiting for some benchmarks to show me that Tomcat has matured and can be compared to the other application servers.
As far as being the Reference
64 matches
Mail list logo