Re: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Johan Fredriksson
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

Re: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Adam Cassar
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

RE: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Colin Jacobs
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

Re: Reading Properties File

2001-08-27 Thread Paolo Ramasso
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

Re: Reading Properties File

2001-08-27 Thread karl ng
. -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

Re: Reading Properties File

2001-08-27 Thread Min-Hua Luo
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

Re: Reading Properties File

2001-08-25 Thread karl ng
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

Reading Properties File

2001-08-22 Thread Naresh Sharma
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

Re: PrOperTies ??

2001-08-22 Thread Eddie Post
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

RE: PrOperTies ??

2001-08-22 Thread Juan Lorandi (Chile)
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

Re: Reading Properties File

2001-08-22 Thread Marcel Schutte
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

Re: Reading Properties File

2001-08-22 Thread Michael J. Cannon
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

Re: PrOperTies ??

2001-08-22 Thread Eddie Post
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

PrOperTies ??

2001-08-14 Thread Eddie Post
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

RE: Application CLient JNDI properties

2001-08-14 Thread Scott Hamilton, (m)+61-404-280 238
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???

RE: Application CLient JNDI properties

2001-08-14 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
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

Application CLient JNDI properties

2001-08-13 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
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

Re: Properties survice auto-deploy

2001-07-16 Thread Johan Fredriksson
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

Re: Help With JNDI properties

2001-07-05 Thread Ashok Banerjee
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

CMP-mapping: object properties

2001-06-25 Thread Oliver Scharrenberg
-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

Re: CMP-mapping: object properties

2001-06-25 Thread Rafael Alvarez
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

Re: Writing System Properties - java.protocol.handler.pkgs

2001-05-30 Thread Markus Holmberg
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

RE: Writing System Properties - java.protocol.handler.pkgs

2001-05-30 Thread Farrell, Sarah
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

Boolean CMP properties in MySQL

2001-05-29 Thread Koster, K.J.
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

Writing System Properties - java.protocol.handler.pkgs

2001-05-29 Thread Farrell, Sarah
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

properties files and JSP's

2001-05-02 Thread Sam
where does Orion look for the properties file for JSPs that use them.

Re: properties files and JSP's

2001-05-02 Thread Sarathy Mattaparti
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

Properties for DataSourceUserManager?

2001-02-06 Thread Matt Bauer
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

RE: how to set environment properties for an app?

2001-01-09 Thread Tony Wilson
-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 to set environment properties for an app?

2001-01-04 Thread Ari Halberstadt
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

ORMI: changing username, password Client Context properties

2000-12-04 Thread theo van niekerk
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

RE: JNDI Properties for Orion and EJB?

2000-11-19 Thread Duffey, Kevin
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

servlet properties

2000-11-16 Thread Tim Squires
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.

RE: servlet properties

2000-11-16 Thread J.T. Wenting
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

Re: JNDI Properties for Orion and EJB?

2000-11-16 Thread Tim Endres
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

JNDI Properties for Orion and EJB?

2000-11-15 Thread Kevin Duffey
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

Re: Properties

2000-11-11 Thread Magnus Naeslund\(b\)
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

Re: Properties

2000-11-11 Thread Magnus Naeslund\(b\)
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

Re: Properties

2000-11-11 Thread Sven van 't Veer
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

RE: Properties

2000-11-11 Thread Russ White
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

Re: Properties

2000-11-11 Thread Magnus Naeslund\(b\)
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

Re: Properties

2000-11-11 Thread Magnus Naeslund\(b\)
- 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,

Re: Properties

2000-11-11 Thread Magnus Naeslund\(b\)
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

Properties

2000-11-10 Thread Magnus Naeslund\(b\)
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.

RE: Properties

2000-11-10 Thread Jason Smith
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

RE: JNDI Properties? Why EJB can't find another EJB..

2000-11-01 Thread Duffey, Kevin
(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

Re: JNDI Properties? Why EJB can't find another EJB..

2000-10-31 Thread Robert Krueger
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

SV: JNDI Properties? Why EJB can't find another EJB..

2000-10-31 Thread Klaus . Myrseth
:[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

JNDI Properties? Why EJB can't find another EJB..

2000-10-30 Thread Duffey, Kevin
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.

System properties and JSSE

2000-09-22 Thread Carlos Piqueres Ayela
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.

Re: System properties and JSSE

2000-09-22 Thread Carlos Piqueres Ayela
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 to get datasource properties

2000-08-22 Thread Stanislav Maximov
How one could get the properties set in data-sources.xml from his EJB code? stas@

Setting system properties

2000-08-13 Thread Ray
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

Re: Looking up a beans properties

2000-04-26 Thread Eric Richardson
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

JNDI system properties

2000-01-21 Thread Dan A
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

Location for Properties Files

2000-01-04 Thread David Geary
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