Yes I know that a byte is a primitive, but byte array (byte[]) is an object.
In my Entity Bean, this array represent a graphic (a jpg), one of my entity
bean can have more than one graphic (I represent it now with a List of
Graph).
I changed my EJB to :
public class ResultBean
Title: RE: -- Arved -- Can you please help me with servlet authentication?
Hi
guys,
Being
relatively new to J2EE I have a question concerning ejb-ref and resource-ref
tags used in the configuration XMLs (ejb-jar.xml)
Is it
quite normal and J2EE standard that every
Actually the last part of the String it is not "file_path" (in the specs) it
is "folder_name" like "INBOX" or something (in fact the Sun implementation
for pop3 doesn't support another folder except INBOX). But my advice is to
_not_ use it instead obtain the folder using something like:
I had posted something similar as a bug (sorry, can't recall the number; if you
want I can try and look) and received a message several days ago that it had
been fixed in 1.4.5. Perhaps, when that version comes out your error will also
go away.
Vidur
Laurent Cornelis wrote:
Yes I know that a
Yesterday I posted a question about batch updating in Orion. Orion is
creating huge amounts of instances of my entity without pooling.
Someone mentioned that my updates possibly would be inside the same TX.
Actually I'm using updating 2 tables, in one table, There is only 1
entity ised and it's
Now recently i installed Jbuilder 4.0, which took jdk1.3 as default jdk
ver.in built in it.from command prompt, I was not able to run my programs,
hence I installed jdk1.2 after that, but now I am not able to run my Inprise
server (jdk1.2.2 or later ver. not found error) .can somebody tell me
Is there any way to get a look at the source code for Orion generated ejb remote
wrappers?
I think I have uncovered an Orion bug, but I cannot confirm it without looking
at the wrapper code.
Mateo
Can I use examples from Sun for J2EE reference implementation in Windows98
Thank you,
Natalie
Hi!
I am pretty new to applicationservers and thus trying the grasp the nuts and bolts.
I have just finished a sessionbean (via a servlet) which connects to a database and
reads a specified table.
Everything works fine the first time a run my servlet. But the second time, I get no
connection,
Hello again,
I found a workaround for this bug : I just changed my Graph class to
public class Graph implements Serializable {
public Object datas;
public void setDatas(byte[] datas) {
this.datas = datas.clone();
}
public byte[] getDatas() {
return (byte[])datas;
}
}
And it
Just do a fresh install of JDK 1.3 on your box.
Don't even think about running JBuilder without 1.3
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Suresh Ajja
Sent: Tuesday, November 28, 2000 10:44 AM
To: Orion-Interest
Subject: jdk version
I'm new to all this, but from looking at your code the only significant
difference I see is that the second try block has a finally after it and the
first one doesn't. Perhaps it's a bug [in Orion] and perhaps not, but maybe
it doesn't passivate without a finally? Or maybe it needs a catch to
We are using Orion merely as a servlet server (no ejbs) and we are hosting
surveys (forms, questionaires) in it. We have built the validation /
routing logic into the server using rhino (js.jar) and we have our own
proprietary data store.
When we go to test the server under stress (as much
Hi!
I'm using a client that access a remote EJB. In the first time I try to acces
it, I get the following error, but in the next try I get no errors. Any idea
to solve it?
javax.naming.NamingException: IO Error: Disconnected
at com.evermind.server.rmi.RMIContext.unbind(JAX)
at
Suresh Ajja said...
Now recently i installed Jbuilder 4.0, which took jdk1.3 as default jdk
ver.in built in it.from command prompt, I was not able to run my programs,
hence I installed jdk1.2 after that, but now I am not able to run my Inprise
server (jdk1.2.2 or later ver. not found
I am not quite sure, but for each entity bean two objects are always
created:
- remote EJB object
- object with your bussines logic.
I think that only second one is subject to pooling - so maybe you can be out
of memory because of large amounts of remote instances. This problem you are
facing to
Hi,
some weeks ago i found a message in this newsgroup that the
bug with inner classes in JSP is now fixed.
I am currently using 1.4.4 and it seems that this bug is
either not yet fixed or it is back again.
I tried also with 1.3.8 and 1.4.4, in all versions I was not
able to get a inner class
I don't see a wait-timeout property in the orion-ejb-jar.xml dtd.
Is it added in a version after the one I have (1.3.8)? All I see
is call-timeout and timeout in Session beans, and call-timeout and validity
timeout in Entity Beans.
-Dan
Marcus Ahnve wrote:
> "Juan Lorandi (Chile)" wrote:
>
>
If you don't mind..can you help explain to me how you even got this far? I
just installed Oracle Personal Edition, and I would like to get Orion to
pool connections, use a DataSource, and so on. I don't know about using
entity beans yet..I don't think EJB 1.1 entity is powerful enough yet..but
hi,
I would like to test Orion server with different Databases. Has any one
tried Orion with Ms access Database. What changes we have to make to the
data-sources.xml. here is the tag for Hypersonic server:
data-sourceclass="com.evermind.sql.DriverManagerDataSource"
"Haeussler, Heinz" wrote:
Hello Sven,
it's an old problem of orion and the only legal way to reduce the
EJB-Entity-Pool is to press the "Flush"-Button in the orion-console.
Please search in the mailing-list with the key "pool" and you will get
interesting mails discussing this problem.
"Haeussler, Heinz" wrote:
Hello Sven,
it's an old problem of orion and the only legal way to reduce the
EJB-Entity-Pool is to press the "Flush"-Button in the orion-console.
Please search in the mailing-list with the key "pool" and you will get
interesting mails discussing this problem.
I'm currently running my batchupdates with the earlier proposed
workaround:
import com.evermind.server.administration.*;
snip
Context context = new InitialContext();
Object o = context.lookup("java:comp/Administrator");
ApplicationAdministrator admin =
Question..does this solve the problem of the BACK button going to the
server? I have this problem where if I "control" caching, thus wanting to
force the browser to always go to the server, if the user hits BACK, they
get the infamous "this page has expired from cache..please refresh your
hi,
try
data-source
name="my demo datasource"
class="com.evermind.sql.ConnectionDataSource"
pooled-location="jdbc/myDemoDS"
url="jdbc:odbc:demo"
connection-driver="sun.jdbc.odbc.JdbcOdbcDriver"
username=""
password=""
/
don't forget to register your database properly in your
The data source names, the driver class (e.g. the ODBC bridge) and the URL.
Refer to Sun documentation on how to use the ODBC bridge.
At 06:17 PM 11/28/2000 +, you wrote:
hi,
I would like to test Orion server with different Databases. Has any one
tried Orion with Ms access Database. What
No - not in my experience
For various reasons, a successful post (usually saving some data) in my web
app causes a redirect to occur to display the newly saved details.
In my case, 95% of the time the user hits the back button the page will
reload properly because the URL wasnt loaded from a
Just a note that I have heard many negative comments regarding using
the JDBC-ODBC driver that is referenced below. If I remember correctly,
the complaints revolved around performance, and some broken/lacking
features. Probably not critical for a test, but something to consider
if you are going
Title: Running two instances of Orion on the same IP and port
Orioners,
Has anyone ever tried to run two instances of Orion on the same machine, IP and port. What I am trying to do is have a second instance of Orion listen to only certain virtual hosts (headers) and the first pick up any
At 16:46 28.11.00 , you wrote:
Orioners,
Has anyone ever tried to run two instances of Orion on the same machine,
IP and port. What I am trying to do is have a second instance of Orion
listen to only certain virtual hosts (headers) and the first pick up any
unknown or blank headers.
The
I have had similar problems. It seems like the it only initially generates
the SQL.
I had to delete the directory and all its contents under
orion/application-deployments/appName
and then it would recreate the database. It may fail on things that already
exist but
create any new items.
Title: Running two instances of Orion on the same IP and port
I'm
not sure that its possible
I
would suggest doing the following
- run
2 instance of orion
- run
the 'development' instance on port 8080
- run
the 'internal network' instance on port 80
Why do
you want to run both
You can include a sample orion-ejb-jar.xml file in your project by including
it in a directory called orion:
/lib
/client
/ejb
/au
/com
/meta-inf
/orion
/tags
/web
Include the orion-ejb.jar in
Title: Running two instances of Orion on the same IP and port
This
has nothing to do with Orion per se. It's a fact of life that only one
processat a time can bind to a port on a host. For example, say you
had Orion bound to port 25 along with your email server. Who would try
tohandle SMTP
Neal Kaiser said...
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?
If/when you endeavor to set this up, please report your findings to the list
so the orionsupport.com
Title: RE: Running two instances of Orion on the same IP and port
You guys are right. I see now the error of my ways. I was forgetting the fundamental difference that the second Orion process runs as a second VM. I was trying to recreate a setup I had often done with other webservers but
Thanx White, it worked after fresh installation of jdk1.3.
Suresh Ajja
EJB Developer
[EMAIL PROTECTED]
www.verchaska.com
Verchaska - Helping your business succeed.
- Original Message -
From: "Russ White" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, November
37 matches
Mail list logo