Re: Anyone experience any problems with JDBC Oracle drivers and JDK 1 .3.1 with connection pooling?

2001-07-26 Thread Andrew Panagos
A better place to discuss these problem may be on Oracle's developers site where there are lots of problems to talk about and there are lots of Oracle experts to discuss with. (by the way there are several discussions about problems with jdk1.3.0 and oracle drivers). With our app the program

RE: increasing JVM's memory limit

2001-07-26 Thread Simon Evans
im looking for a pardon :) -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 3:49 PM To: Orion-Interest Subject: RE: increasing JVM's memory limit Or George W Bush. > -Original Message- > From: Bill Clinton [mailto:[EMAIL PROTEC

[OT] RE: increasing JVM's memory limit

2001-07-26 Thread Larry Velez
Title: [OT] RE: increasing JVM's memory limit We actually have a set of pranks on our site about people like with names like yours Bill: http://www.alltrue.com/chateo/chateo_launch.html?origin=stf&vidid=1266207&binid=28725929&t=2&ri=14128263 Orion Interest content:  This site runs on Orio

RE: Question on ACLS

2001-07-26 Thread The elephantwalker
usermanager, schmosermanager, its all the same. The usermanagers are really for the backend security datastore. The two usermanagers have a parent-child relationship built in... XMLUserManager ... the mother of all usermanager's is the parent. It uses a file called principals.xml to store groups

Question on ACLS

2001-07-26 Thread Qualence Inc
HI Can anyone please help me in setting up application level security in orion. I have read the tutorial on Security using UserManager from orionsupport.com web-pages. In that i cannot find out a way to add my users dynamically to the respective groups that they belong to. I get the group i

Re: Anyone experience any problems with JDBC Oracle drivers and J DK 1.3.1 with connection pooling?

2001-07-26 Thread Andrew Panagos
The default is -client. The -server is the same as -hotspot (deprecated). The bug list is here http://developer.java.sun.com/developer/bugParade/bugs/4387520.html This was fixed in JDK 1.3.1 but we couldn't get the Oracle OCI or thin drivers to work.   The Oracle OCI driver has a bug for 8.1.7

RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-26 Thread HyungKee Hwang
I’m using Oracle 8.1.7’s JDBC driver (classes12) with JDK 1.3.0. And it seems to have some problems to handle CLOB. But there has not been any problem except CLOB problem up to now.   I heard from Oracle technical support that Oracle doesn’t support JDK1.3.x officially.

RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1 .3.1 with connection pooling?

2001-07-26 Thread Simon Evans
there are no problems with jdk1.3 and oracle drivers...if you post the error, maybe the group can help -Original Message-From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 26, 2001 2:30 PMTo: Orion-InterestSubject: Anyone experience any problems with JDBC Or

RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1 .3.1 with connection pooling?

2001-07-26 Thread Kesav Kumar
JDK1.3.1 is fine infact I am using JDK1.4 beta and orion1.5.2.   There is nothing wrong with that combination.  jdbc.zip I didn't get what is this?  classes12.zip is the oracle driver from oracle.  I don't think you have any problem with JDK versions 1.3.1 doesn't have any problems.  Get t

RE: Anyone experience any problems with JDBC Oracle drivers and J DK 1.3.1 with connection pooling?

2001-07-26 Thread Duffey, Kevin
Funny..and I read that too. Thanks. I guess we'll have to forgo the -server option. Do I have to specify -client? Or isn't -hotspot (the default) ok?   Thanks.   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 26, 2001 4:11 PMTo: Orion-

How to set realname and deactivated values in principals.xml?

2001-07-26 Thread Ray Brown
All, How can I set the realname and deactivated values in the principals.xml file? I know it's possible because the orionconsole.jar allows the realname to be set. Thanks Ray Brown

RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-26 Thread APanagos
See my previous email with Subject: Oracle, JDK 1.3, Orion Re: Orion Performance Tuning Andrew Panagos -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, KevinSent: Thursday, July 26, 2001 4:30 PMTo: Orion-InterestSubject: Anyone ex

RE: increasing JVM's memory limit

2001-07-26 Thread Duffey, Kevin
Or George W Bush. > -Original Message- > From: Bill Clinton [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 3:25 PM > To: Orion-Interest > Subject: Re: increasing JVM's memory limit > > > well... > > My name is really Bill Clinton, but unfortunately, I don't have the >

Re: increasing JVM's memory limit

2001-07-26 Thread Bill Clinton
well... My name is really Bill Clinton, but unfortunately, I don't have the power to help with resident visas :( Unless I marry you, but I don't think you are my type :) It's really not that bad...better than being named Walter Mondale. Bill Juan Lorandi (Chile) wrote: > I'm sorry.

Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-26 Thread Duffey, Kevin
I have been trying to figure out why I can't connect to our Oracle database. We are running JDK 1.3.1 with Orion 1.5.2. We are using the jdbc.zip (I assume classes12.zip). I am reading on Oracle that Oracle 8.1.7 (and 8.1.5) only have JDBC drivers that support JDK 1.2.x. Does this mean runni

Passing JSP Paramters to a Servlet

2001-07-26 Thread Nusairat, Joseph F.
    Ok i dont know what i am doing wrong. But i have a jsp that gets  a username and passsword I then pass it to  a servlet which acceses an entity bean   Now the servlet and entity bean on all wrapped up in an ear.   My problem is i cant seem to pull any of hte parameters from the js

RE: Transaction question

2001-07-26 Thread Simon Evans
sorry , thats what i meant...cut and paste mistake -Original Message- From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 9:55 AM To: Orion-Interest Subject: RE: Transaction question Bottom line... you can't do that. J2EE doesn't support nested transactio

RE: DataSources..how to get servlets to work with them?

2001-07-26 Thread Duffey, Kevin
Title: RE: DataSources..how to get servlets to work with them? Thanks for the reply.   I have looked all the way back to May of last year in the Orion archive..and I have tried several different options that others have said worked. EVERY time I either get a ClassCastException, or a username

RE: DataSources..how to get servlets to work with them?

2001-07-26 Thread Kesav Kumar
Title: RE: DataSources..how to get servlets to work with them? Its all depends how do you configure your data-source.xml file. Use the following example http://www.orionserver.com/dtds/data-sources.dtd">         In your application.xml include this data-sources.xml. Kesa

Re: Datasource Question - is there a way to setup a JDBC log file?

2001-07-26 Thread Bill Clinton
Hello, I tried to set this up, and the log file is created, but nothing is ever written to it. My servlet, which gets loaded at startup, looks like this: import javax.servlet.http.HttpServlet; import javax.sql.DataSource; import javax.naming.Context; import javax.naming.InitialContext; i

RE: increasing JVM's memory limit

2001-07-26 Thread Juan Lorandi (Chile)
I'm sorry... but... Are you really Bill Clinton? I need help with my RESIDENT VISA. > -Original Message- > From: Bill Clinton [mailto:[EMAIL PROTECTED]] > Sent: Jueves, 26 de Julio de 2001 11:47 > To: Orion-Interest > Subject: Re: increasing JVM's memory limit > > > hm, the answer

RE: Transaction question

2001-07-26 Thread Simon Evans
i think you need transaction attribute 'RequiresNew' in B, and 'Requires' on A. then A has to catch B's remote exception. ejb-jar.xml like: Transaction-handling for the SmsManager nl.unwired.sgs.sms.SmsManager Remote A

DataSources..how to get servlets to work with them?

2001-07-26 Thread Duffey, Kevin
Ok..I read the OrionSupport and did as it says. It appears that this works: InitialContext ctx = new InitialContext(); DataSource ds = (DataSource) ctx.lookup("jdbc/MyDS"); The problem is, when I try to get a connection from the datasource, its telling me I am using an invalid user and password.

RE: Transaction question

2001-07-26 Thread Juan Lorandi (Chile)
Bottom line... you can't do that. J2EE doesn't support nested transactions. However, this may work in orion. for info on the descriptors, check out Sun's EJB spec and orion documentation and DTD's. This is a rough draft of how it would have to look like: Transaction-han

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Lachezar Dobrev
> Hello, > Your objection makes sense, but here is sometrinh from the JVM specification > from SUN: > > "2.17.8Unloading of Classes and Interfaces A class or interface may be > unloaded if and only if its class loader is unreachable. > The bootstrap class loader is always reachable; as a resul

RE: problem with looking up the same EJB from different servers

2001-07-26 Thread Andrew Chau
There is a flag you need to set to make it look up from remote server. It is hidden somewhere in the javadoc... -Original Message-From: Ville Rinne [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 26, 2001 1:17 AMTo: Orion-InterestSubject: problem with looking up the same EJ

Re: increasing JVM's memory limit

2001-07-26 Thread Bill Clinton
hm, the answer to your question has been answered repeatedly in the last few days. Most recently, it was answered in a post submitted less than an hour before yours Check out the thread entitled "Re: Orion Performance Testing" Peter Peltonen wrote: > With jserv I can configure the

RE: Servlet

2001-07-26 Thread Philip Van Bogaert
I think that the servlets inside the orion root-dir translated jsps are. Greetz   -Original Message-From: Jens Frank [mailto:[EMAIL PROTECTED]]Sent: donderdag 26 juli 2001 13:56To: Orion-InterestSubject: Servlet Hello.. When I run my servlet it should store a file in the

Re: Transaction question

2001-07-26 Thread Eddie
Hellu hellu, Please some advise on the question I posted some days ago (see below)? Eddie - Original Message - From: "Eddie" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 10:47 AM Subject: Transaction question > Hellu, > > I don't know how

Re: Servlet

2001-07-26 Thread Juan Fuentes
> Jens Frank wrote: > > Hello.. When I run my servlet it should store a file in the > c:\orion\default-web-app\WEB-INF\classes directory but instead it > stores it in c:\orion. > Why does it do this? Can I change it? Some kind of option? Try using the ServletContext.getRealPath(...) m

RE: increasing JVM's memory limit

2001-07-26 Thread Trujillo, Kris
Just pass the min/max settings on the command line ... java -ms128m -mx256m -jar orion.jar -Original Message- From: Peter Peltonen [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 4:29 AM To: Orion-Interest Subject: increasing JVM's memory limit With jserv I can configure t

Re: increasing JVM's memory limit

2001-07-26 Thread Ray Harrison
java -Xms -Xmx --- Peter Peltonen <[EMAIL PROTECTED]> wrote: > > With jserv I can configure the maximum memory that the JVM can use with this > kind of line in jserv.properties file: > > wrapper.bin.parameters=-mx128m > > How do I achieve the same with Orion? > > Regards, > Peter > ___

Oracle, JDK 1.3, Orion Re: Orion Performance Tuning

2001-07-26 Thread Andrew Panagos
There are a couple of problems you need to be aware of that affected us in a current project. There is a bug in JDK 1.3.0 that can cause the VM to crash when using threads and the -server option. This caused us many a head scratching sessions. It is fixed in JDK 1.3.1 (check the bug fixes). The

Re[2]: JMS TopicSubscriber blocks on receive()

2001-07-26 Thread Tim Rickard
Once again. If there are no subscribers to a topic, Messages are removed by the provider. Start the subscriber before you publish any messages and your code will work. If you need topic messages to persist over multiple subscriber invocations you create a durable subscriber. Messages sent to a que

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Catalin Grigoroscuta
Hello, Your objection makes sense, but here is sometrinh from the JVM specification from SUN: "2.17.8Unloading of Classes and Interfaces A class or interface may be unloaded if and only if its class loader is unreachable. The bootstrap class loader is always reachable; as a result, system cla

RE: Orion Friendly E-Commerce Components

2001-07-26 Thread Michael A Third
We've been developing a set of components for use in our parts procurement platform that we targeted for Orion. They include login, security, shopping cart, catalog, content (message boards, classifieds, articles), advertising, pricing, and fulfillment functions. All told there are 90+ EJB's and

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Rich Ernst
Within the servlet container you will only have one instance of the servlet class so there is no need to use static variables. Other people have made good points that if the container tosses out the servlet instead of serializing it for later use the classloader will re-initialize the counter. Is

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Lachezar Dobrev
Hmmm... Oh yes, it does. When there are no more instances of a specific class, the class itself is being disposed off. Creating new instance reloads the class. > You see, your scenario couldn't exactly happen: > The garbage collector cleans all class instances (in this case only one > in

Servlet

2001-07-26 Thread Jens Frank
Hello.. When I run my servlet it should store a file in the c:\orion\default-web-app\WEB-INF\classes directory but instead it stores it in c:\orion. Why does it do this? Can I change it? Some kind of option?   Please answear me..   Best Regards Jens Frank

RE: Finding Default DataSource in My App

2001-07-26 Thread Roozbeh Ghaffari
Wow! Wonderful! Thanks a lot Greg! Would you please tell me where can I find some docs about this package? Or should I decompile the class files?! Where can I find those JNDI names and their usage? How do you discover these undocumented stuff?!! Regards, Roozbeh/ -Original Message- From

increasing JVM's memory limit

2001-07-26 Thread Peter Peltonen
With jserv I can configure the maximum memory that the JVM can use with this kind of line in jserv.properties file: wrapper.bin.parameters=-mx128m How do I achieve the same with Orion? Regards, Peter

Re: Orion Performance Tuning

2001-07-26 Thread Johan Fredriksson
inline - Original Message - From: "Robert S. Sfeir" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 11:09 PM Subject: RE: Orion Performance Tuning > At 12:49 PM 7/25/2001, Duffey, Kevin wrote: > >I am interested in your two fixes. Have you (or

Re: Question about filestoring.

2001-07-26 Thread Johan Fredriksson
It will normally store your files relative to your application root.   Johan - Original Message - From: Jens Frank To: Orion-Interest Sent: Wednesday, July 25, 2001 8:10 PM Subject: Question about filestoring. I have this servlet which works with a database.

RE: Orion Performance Tuning

2001-07-26 Thread Dumitru Sbenghe
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert S. > Sfeir > Sent: Wednesday, July 25, 2001 8:51 PM > To: Orion-Interest > Subject: Orion Performance Tuning > > > Hello all, > > I've gone through and read most of the information posted from th

problem with looking up the same EJB from different servers

2001-07-26 Thread Ville Rinne
Hi,   We've recently changed to orion and my problem now is that I have an application that looks up an EJB from one of our orion servers and does some things with it. Everything works fine whilst I'm using a single server, but I am unable to fetch the same EJB from a different server. I hav

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Catalin Grigoroscuta
You see, your scenario couldn't exactly happen: The garbage collector cleans all class instances (in this case only one instance), but not the class itself. The class loader does not unload the class bytecode, and the static fields do not reside in any of the class instances that are released by t

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Luis Arias
Hi, If you want to synchronize access to your static variable, you need to synchronize with respect to the class, not the application. Something like this should work: synchronized (this.getClass()) { // Your code } Cheers, Luis. - Original Message - From: Ismael To: Orion-Intere

RE: Orion Performance Tuning

2001-07-26 Thread Kevin Duffey
Question..is the HotSpot 2.0 Server JVM the same thing that comes with the JDK 1.3.1 in the /bin/server folder? If I install the full JDK 1.3.1, and not JRE 1.3.1, do I need the HotSpot 2.0? I know this isn't Orion specific, but since we are on the topic of performance tuning Orion and using the

AW: Stopping/Starting Orion when running as a JNT Service?

2001-07-26 Thread Jens Stutte
We use jnt for different things, this behaviour (the service application stops, but jnt hangs) happens to us, too, and seems to be a jnt problem, not orion. Jens Stutte > -Ursprüngliche Nachricht- > Von: Duffey, Kevin [mailto:[EMAIL PROTECTED]] > Gesendet am: Donnerstag, 26. Juli 2001 0

RE: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Ismael
At 04:11 25/07/2001 -0700, you wrote: >Ismael, > >Beware of static variables in servlets. > >Use application level variables...initialized from the init(). Put this in >any servlet, just as long as its used at least once. > > public void init(ServletConfig config) throws ServletException { >