Hi,
I'm sending message via topic:
ObjectMessage
message = session.createObjectMessage(new
Event());
session.createPublisher(topic).publish(message, deliveryMode, priority,
expiration);
When I catch the message in my MDB,I get
exception in getObject():
public void
onMessage(Message msg)
Hi Nicolas,
seems like you caught a bug in the Postgresql's JDBC driver.
I had similar problem using the driver from Postgresql 7.1.3,
you can either upgrage your driver to version 7.2 or
apply the following patch and rebuild it:
===[ begin BigDecimal patch ]==
diff -urN
you need to use
1. type="file" in the form within the
browser.
2. get a ServletInputStream (?) from the request
object in Orion and parse out the byte stream.
do a search for ServletInputStream in google or
something and you should find some examples.
afaik, there is no simple method to
check out oreilly's cos.jar, multipart request parser.
I think the object is called MultipartReqeust.
it's rather popular, even though the license is rather discomforting.
-hope it helps
[EMAIL PROTECTED]
-Original Message-
From: Michael Maurer [mailto:[EMAIL PROTECTED]]
Sent: 4. mars
There have been a few local interface bugs fixed - don't know the specific one you are
talking
about - go on out to orionserver.com and follow the bugzilla link to get the
information on the
specific bug. If it has been fixed - it won't be out until 1.5.5 is released which is
hopefully
soon.
Hello,
I am using Orion 154 and am converting my entity beans to local
interfaces
However, I can't convert my entity bean that has an self defined Primary
Class (see below) to a local interface Every time it gives an error:
Nested exception is:
I solved this problem by putting transmitting class
(Event) into orion's lib directory.It's not clear solution, but it
works.
I realized that bean's classloader knows the where
the class Event is, but message's classloader knows only path to orion's
lib.
TK
- Original Message -
Hello,
One Resource corresponds to many Image's
When I create Image, one of parameters is Resource However this
action does not fill in Resource_Image supplementary table and
thus ResourcegetImages does not work as expected
Do I have to add Image explicitly to Resource?
what about the database schema?
On Mon, 4 Mar 2002, Joacim J?keborn wrote:
Can anybody tell me how to set up a connection pool with
a mysql
database? Anybody have a guide on how to do this? Is it
even possible?
Checkout
orggjtmmmysqljdbc2optionalMysqlConnectionPoolDataSour
ce
Also,
You will need to use a POST form, with the parameter:
enctype=multipart/form-data. Don't forget to handle the parameters as well
as the files, they're no longer visible with req.getParameter() when you use
this.
There is a few MultipartParsers out there, including an Orion version. I
Hello,
I am having
trouble with a j2ee application in an informatix database.
Sometimes I encounter the following error
message.
java.sql.SQLException:
java.sql.SQLException: System or internal error java.sql.SQLException: Cannot
attach to transaction. at
Looks like this didn't go through again. This a hint? (lol) ;)
-Original Message-
From: Justin Crosbie
Sent: 04 March 2002 10:31
To: 'Orion-Interest'
Subject: RE: Uploading files to Orion webserver with MultipartParser API
Hi Bill,
Now that you mention it, I have never been able to
I need some help understanding the configuration of Orion so that I
canlearn EJB. I understand most of the concepts behind it, but am
failing inconfiguring my server properly.Right now, I'm doing the
Cabin bean example out of Enterprise JavaBeans (2ndEd) by O'Reilly
publishing. I'm doing
If you want to use form-based authentication, the only 'legal' way that I
can think of is to write a sessionfilter that checks when a principal
exists for the first time during a session.
Otherwise you'd have to do your own authentication, calling
RoleManager.login() and if it succeeds write a
This would work great except that you cannot 'force' a container to bring up
the login page (portably).
UserManager doesn't help you because it too is an Orion specific API (just
like RoleManager)
About the only way to do portable user
management/authentication/authorisation is with an open
15 matches
Mail list logo