Have you tried the
-Xms64m -Xmx128m
options to java?
Type
java -X
for help
Johan
- Original Message -
From: Adam Cassar [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 5:54 AM
Subject: Orion and properties (Anyone used a CORBA client within
PROTECTED]
Sent: Monday, September 10, 2001 5:54 AM
Subject: Orion and properties (Anyone used a CORBA client within Orion?)
Guys!
I hope some of you can shed some light on this problem.
I am (attempting) to use a stateless session bean as a corba client. I
place (openORB or JacORB
IME StackOverFlowError occurs when you have some accidental recursion. Look
at the stack - could this be the case?
COlin
-Original Message-
From: Adam Cassar [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 3:45 PM
To: Orion-Interest
Subject: Re: Orion and properties (Anyone
ciao Karl
did you check the otn.oracle.com site search keywork oc4j or bc4j i know there are
some docs about using bc4j with oc4j.
ciao
Paolo
karl ng wrote:
Dear all,
The following jsp demostrates the problem I encountered when properties file is
accessed. When ClassLoader is used
.
-Original Message-
From: Paolo Ramasso [EMAIL PROTECTED]
Date: Mon, 27 Aug 2001 08:31:23 +0200
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Reading Properties File
ciao Karl
did you check the otn.oracle.com site search keywork oc4j or bc4j i know there are
some docs about using bc4j with oc4j
Karl,
I had the same problem as you. The way I solved it
was: I use new File() to create a file in the same
java program which I try to load properties. I did not
specify and directory, just a filename. Then, I search
my disk and found if you do not specify directory
name, the default
Dear all,
The following jsp demostrates the problem I encountered when properties file is
accessed. When ClassLoader is used, the properties file cannot be retrieved but when
I use the resourcebundle class. the properties get be retrieved without problems.
since the classloader call is used
Hello Everybody,
I have to read a properties file inside my EJB's method(I know the about
EJB specs. restriction).
As far as I know, to read a properties file in Orion we can specify the
name of properties file with -p switch at orion server starting, or copy
the properties file in ORION_HOME
Title: SV: Roll-BACK question.
Noc noc,
Can someone please still have some advice on the
question I posted below ??
Eddie
- Original Message -
From:
Eddie
Post
To: Orion-Interest
Sent: Tuesday, August 14, 2001 9:18
AM
Subject: PrOperTies ??
Hellu
Title: SV: Roll-BACK question.
env
entries in the ejb-jar.xml, web.xml;
also,
you could create a "load-on-startup" servlet, which is allowed to access disk,
to create, say, a singleton
which
in its constructor opens and loads the properties files. Therefore, you will be
paying on
See the attached files. We use them to read properties files off the
applications classpath. The properties files should be in the same directory
as the ProjectPropertiesHelper class.
This method works in both orion1.5.2 and weblogic6.1
Hope this helps,
Marcel
- Original Message -
From
Excellent solution for all of our toolkits. A great service. Thank you,
Marcel.
- Original Message -
From: Marcel Schutte [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 12:57 PM
Subject: Re: Reading Properties File
See the attached files. We
Title: SV: Roll-BACK question.
Thanks Juan, I like the load-on-startup alternative
and will play around with it.
Ed
- Original Message -
From:
Juan
Lorandi (Chile)
To: Orion-Interest
Sent: Wednesday, August 22, 2001 5:14
PM
Subject: RE: PrOperTies ??
env
Title: SV: Roll-BACK question.
Hellu,
Where do you define your properties/constants which
you want to use in your ejb's and servlets (I am using CMP) ??
I am wandering if, putting it all in a property
file is the best way to do it, concerning performance and the xml files to store
what I get is:
Communication error: Can't find Serial Context Provider
What am I doing wrong?
Have you specified orion.jar in your classpath???
Yes, ejb.jar, jndi.jar and orion.jar are all added to the classpath.
-Original Message-
From: Scott Hamilton, (m)+61-404-280 238
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 3:57 PM
To: Orion-Interest
Subject: RE: Application CLient JNDI properties
what I get
Title: RE: SessionContext.getEJBObject()
I am trying to start
a swing client app which communicates with an ejb. Works fine if I use the
console or applicationlauncher.jar
Now I am trying to
run the client directly from java, i.e.
java my.Client
the application, all images would be lost every time and we would have
to move the images to the database instead, which is slower.
Johan
- Original Message -
From:
Bill
Winspur
To: Orion-Interest
Sent: Monday, July 09, 2001 12:35
AM
Subject: Properties survice
auto-deploy
You need an application-client.xml file as in
$ORION_HOME/demo/ejb/product/META-INF/application-client.xml.
Cheers,
Ash
[EMAIL PROTECTED] wrote:
Hi All.
Is there anything wrong with this set of properties I'm trying to use with Orion?
(the username and password is correct!
Properties p
-ejb-jar containing
cmp-field-mapping name=userDataObject
properties /
/cmp-field-mapping
into my ear. The directory where I have to put this file seems to have
changed somewhere around the oracle-licensing but neither putting it in
myjar\META-INF nor myjar\orion seems
to orionsupport.com
OS (http://orionsupport.com/articles/complex-or.html) the server should map
OS CMP fields that are compound objects property by property (Strings) to
OS db-columns if I put an orion-ejb-jar containing
OS cmp-field-mapping name=userDataObject
OS properties /
OS
On Tue, May 29, 2001 at 08:10:51PM -0600, Farrell, Sarah wrote:
I'm having a serious problem that will keep us from shipping our application
on Orion if I can't figure it out.
I need to be able to set the system property java.protocol.handler.pkgs in
an EJB to
mode (see my
original email for the contents of my policy file).
- Then you can read system properties from an EJB.
But as Markus said, you can't write properties from your EJB code, so you
have to have a properties file to set those.
Here's the whole commandline syntax:
java
Dear All,
I have a boolean property on an CMP entity bean. In the MySQL database I see
this type mapped to TINYINT(1), which is fine I guess.
Question one: I vaguely remember that the JavaBeans spec says that boolean
properties should have setFoo()/isFoo() instead of the setFOo()/getFoo()
combo
I'm having a serious problem that will keep us from shipping our application
on Orion if I can't figure it out.
I need to be able to set the system property java.protocol.handler.pkgs in
an EJB to com.sun.net.ssl.internal.www.protocol. The EJB is
where does Orion look for the properties file for JSPs that
use them.
default orion home directory. for example if you installed it on windows OS
on your drive d:\orion.. It'll look under d:\orion unless u specify any path
in jsp.
where does Orion look for the properties file for JSPs that
use them
Does any one know the properties for the datasourceusermanager. I can
get it to work for the username and password, but not the groups. Here
is what I have:
user-manager class="com.evermind.sql.DataSourceUserManager"
property name="dataSource" value="jdbc/HermesCor
-Interest
Subject:RE: how to set environment properties for an
app?
This is what I originally did, and it works fine if you have
just one copy of
the app running. What I need to do, though, is run two
copies of the app, each
one
How do i set env properties for an app? I need to pass in an environment
property in some manner to customize a j2ee app so that I can have two (or more)
versions of the app running off of the same deployment ear.
I looked in orion-application.xml, but there is nothing there.
I tried env
Hi there
It seems like once a client app has established a jndi-connection with the
ejb-container through ormi that it can't change the user,password properties
for the lifetime of the VM. I've tried resetting properties,
closing/unbinding connections and creating new intances of InitialContext
That I understand. What I Don't get is why its needed? If I set up a cluster
of front-end jsp/servlet, and a cluster of ejb servers, because they are all
using Orion, I want my front-end servlets to access the middle-tier ejbs.
For this..do I need JNDI properties to find the EJBs? Or..as I think
Hi,
Could someone point me towards the documentation for the equivalent of
JServ's servlet.properties?
Thanks for your time,
Tim.
Tim Squires
Wireless Data Services
It's not what you know, it's who you tell.
November 2000 15:18
To: Orion-Interest
Subject: servlet properties
Hi,
Could someone point me towards the documentation for the equivalent of
JServ's servlet.properties?
Thanks for your time,
Tim.
Tim Squires
Wireless Data Services
It's
Hi there,
I read in my EJB book that CTM's require vendor specific JDNI properties. I
thought EJB was platform/vendor independent? What are these JNDI properties
for? More importantly..when/why are they used? I see in the example EJB's
with Orion that they all have a jndi.properties file
Hi there,
I read in my EJB book that CTM's require vendor specific JDNI properties. I
thought EJB was platform/vendor independent? What are these JNDI properties
for? More importantly..when/why are they used? I see in the example EJB's
with Orion that they all have a jndi.properties file, yet I
From: "Russ White" [EMAIL PROTECTED]
try putting your jar files in /web-inf/lib
you may have to create the directory.
beer would be nice.
hope that helps.
I've added stuff like:
library path='/home/site/java/jars/mail.jar'/
library path='/home/site/java/classes'/
Shouldn't that do?
Or
From: "Jason Smith" [EMAIL PROTECTED]
I am assuming you are talking about a java.util.Property file here. If
the
class that wants to access the property file is bundled within a jar, you
should try using the Class.getResource(String name) method. Just remember
if you put the
n
/WEB-INF/lib and place the properties file there as well.
Take a look on /orion/doc/application-howto.html (might be
application-creation-howto.html)
sven
--
==
Sven E. v
It depends on were you added it.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus
Naeslund(b)
Sent: Saturday, November 11, 2000 3:03 AM
To: Orion-Interest
Subject: Re: Properties
From: "Russ White" [EMAIL PROTECTED]
try putting your
mail.jar). I suppose your jar should work if you put it in
/WEB-INF/lib and place the properties file there as well.
Take a look on /orion/doc/application-howto.html (might be
application-creation-howto.html)
sven
So i thought aswell, but it still doesn't work.
I wonder if the jar pac
- Original Message -
From: "Russ White" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Saturday, November 11, 2000 12:07
Subject: RE: Properties
It depends on were you added it.
In application.xml.
It works.
It loads classes from the .jar,
Hmm.
I've decompiled a some of the jar package's classes.
It uses java.lang.ClassLoader.getSystemResourceAsStream() to read the file.
Is that wrong, or does that mean i should put my properties file in another
location or something?
Darn.
Magnus
he site up it choked on me.
It couldn't find property files.
Where ever i put them the package can't find it.
I've tried it all: in hardcoded classpath, in WEB-INF/classes.
Everywhere.
Damn these properties!
Where should i put properties?
It's a closed source .jar package that wants a property file.
I am assuming you are talking about a java.util.Property file here. If the
class that wants to access the property file is bundled within a jar, you
should try using the Class.getResource(String name) method. Just remember
if you put the properties in the root of the jar you need to specify
(that I recall), so something is escaping me here. EJB is cool and all..but
damn there is a lot to remember to use it! ;)
-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 12:13 AM
To: Orion-Interest
Subject: Re: JNDI Properties? Why EJB
is that I always get).
So, looking at the ejb example(s) with Orion, it appears they all have a
jndi.properties file with them, and I recall reading in my ejb book that
supposedly each vendor has different settings. So the question is..do I
need to create the context in one ejb with these prop
:[EMAIL PROTECTED]]Sendt: 30. oktober 2000
21:25Til: Orion-InterestEmne: JNDI Properties? Why EJB
can't find another EJB..
Strange thing..I posted this a couple of times
too. For some reason, I can NOT get my ejb to find another ejb. I am able
to find both ejbs from
ach vendor has different settings. So the question is..do I need
to create the context in one ejb with these properties set? What is the code
used to find one ejb from inside another?
Thanks.
Hi everybody,
I'm developing a web-app that tries to connect through https with
another server.
I need to set some system properties according to JSSE instructions.
When I try to set that property no exception is thrown but the property
is not set.
I don't know the reason...
Any help??
TIA.
Hi,
Resolve by myself.
It's a tricky thing... If you set properties directly with
System.setProperty the System doesn't realize.
You have to do the following:
Properties prp = System.getProperties();
prp.setProperty("name", "value");
System.setProperties(prp);
I don't understand why...
How one could get the properties set in data-sources.xml from his EJB code?
stas@
Hi there again
I have a question setting system properties under Orion.
I have the following lines of code in my client app:
System.setProperty("java.naming.factory.initial",
"com.evermind.server.rmi.RMIInitialContextFactory");
System.setProperty("java.na
Hi,
I'm also interested in this answer.
I know you can resolve env property conflicts at deploy time to
map server resources to bean resources but is this global or one per
enterprise application?
Eric :-)
p.s. I too would be interested in an answer.
[EMAIL PROTECTED] wrote:
Gary
Hi,
I am trying to run the EJB Session Bean example, and I am wondering
if this is the correct way to launch the CartClient.class. I have the JNDI
properties file in my bean directory, and my bean is deployed, but I can't
get my CartClient to work. Do I have to do anything else to specify
I'm trying to access a properties file from a JavaBean created in a JSP
file, but I keep getting a MissingResourceException. I've tried putting
the properties file just about everywhere I can think of, but nothing
works. Does anyone know where it should be placed?
Thanks,
david
56 matches
Mail list logo