BLOB insertion into Oracle w/ CMP

2001-01-19 Thread Chuck Taylor
Hi - Has anyone had any success inserting a BLOB into an Oracle 8i DB using CMP? We're trying to insert an Xml Document into an Oracle 8i DB using CMP. The fields are very simple (basically, an ID and an XmlDocument). Actually, the XmlDocument is subclassed to implement java.io.serializable. Is

Cocoon 1.8.1 anyone?

2001-01-19 Thread Sean Pau
hi I downloaded new cocoon1.8.1 and have problem running it together with orion. Previous cocoon1.8 runs ok with the install steps from orionsupport.com. Anyone has any success? Regards _ Do You Yahoo!? Get your free @yahoo.com address at h

E_Roman e-commerce application(Mastering Java Beans)Wiley

2001-01-19 Thread faisal
Hi -Has any body tried to install Ed Roman e-commerce examples on Orion?.   -Another question is it possible to do without creating a seperate class for the primary key such as "customerPK.class" -  

RE: Getting back to the previous jsp

2001-01-19 Thread Tony Wilson
The referer has two main problems a) it is not dependable. Not all browsers send it all the time. b) It is very easily spoofable. The best way is just to somehow store where they were last at on the server end, where the information is reliable and not spoofable. Perhaps you can use

Re: Trouble installing

2001-01-19 Thread Ivan Figueredo
That was it. Thx to everybody that responded, including Juan, and Joseph Ottinger - that was funny! Ivan - Original Message - From: "Arno Grbac" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Friday, January 19, 2001 12:56 PM Subject: RE: Trouble installing > Hi Iv

RE: Writing user managers

2001-01-19 Thread Jeff Schnitzer
Is it really necessary to have your own user manager? I model my users as entity EJBs. I use the vanilla DataSourceUserManager mapped to the same table that the entities are written to. All manipulation of user data is done through the entity beans. The only trick is that you need to set:

RE: Getting back to the previous jsp

2001-01-19 Thread Jeff Schnitzer
I believe some browsers don't issue a referrer header. You could always store the page history in the http session. At the top of every JSP (using an @include or custom tag) you could have code like this: <% String lastPage = session.getAttribute("lastPage"); String currURL;

Relationship between two EJB'S

2001-01-19 Thread Jennifer Grechuk
Hello, I hope someone can help me. I am trying without any success to create a relationship between two ejb's which are deployed in two different jars. Both of my ejb's are 2.0, what I would like is for my one ejb InsiderEJB to have a relationship with OutsiderEJB. The outsider ejb is deployed

Why does admin.jar -deploy always prepend an underscore?

2001-01-19 Thread Roger Vaughn
I have noticed that when I use the admin.jar -deploy command to deploy my applications (which is required to deploy remotely), Orion deploys the application using its name the first time, but appends one underscore for every redeployment afterwards. I need to be able to deploy my application repl

Re: Trouble installing

2001-01-19 Thread faisal
Simply copy jdk tools.jar from jdk lib directorty  into orion and run your examples Faisal Good luck - Original Message - From: Ivan Figueredo To: Orion-Interest Sent: Friday, January 19, 2001 5:19 PM Subject: Trouble installing I downloaded orion1.3.8.zip.

Running Orion as an NT service

2001-01-19 Thread Robert Huff
Orioners, We have implemented JNT (http://www.eworksmart.com/jnt/) to start the Orion server on our W2K server as a service. The JNT application loads the Orion start-up command as a service nicely. JNT also uninstalls the service fine. The issue begins when we use the W2K services tool to stop t

Re: Trouble installing

2001-01-19 Thread Jonathan
Have you tried moving the tools.jar file from your jdk/lib directory into the orion directory?? - Original Message - From: Ivan Figueredo To: Orion-Interest Sent: Friday, January 19, 2001 5:19 PM Subject: Trouble installing I downloaded orion1.3.8.zip.  

Re: Getting back to the previous jsp

2001-01-19 Thread Robert S. Sfeir
You can also store the referrer and send them back a page. Since that's where they came from, that's where they'll go back to. This way you don't have to be browser specific at all... but that's kinda ugly. R At 06:00 PM 1/19/2001 +0100, you wrote: >If you're not using a lot of framesets and

RE: Trouble installing

2001-01-19 Thread Juan Lorandi (Chile)
did you copy tools.jar from your JDK to the orion dir?   JP -Original Message-From: Ivan Figueredo [mailto:[EMAIL PROTECTED]]Sent: Viernes, 19 de Enero de 2001 14:19To: Orion-InterestSubject: Trouble installing I downloaded orion1.3.8.zip.   I then did:   

RE: Having trouble forcing browser-side XSL transformations

2001-01-19 Thread Russ White
The problem is the .jsp at the end of your url. make your url end with .xml and maybe it will work. this problem also exists with ie5x for jsps(servlets) that create pdf output. good luck. Hope you get it working. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

Fwd: Error Reading application-client descriptor...

2001-01-19 Thread Globetrot Communications
On Mike's suggestion, I modified the url to read: jdbc:postgresql:testdb since it's on localhost and the default port 5432. But I am still having the same problem. It works with hypersonic but not with postgresql. What else should I check? I'll appreciate any suggestions. Thanks --- Globetrot

RE: JSP/Bean not reloading after re-deploy

2001-01-19 Thread Ozzie Gurkan
You said it in the last sentence. I gave that a shot yesterday and vouila! I got it working. I don't like using the "admin.jar" way anymore. It seems to create new directories for each deployment...ughh! Thanks, Ozzie Gurkan --- Jeff Schnitzer <[EMAIL PROTECTED]> wrote: > Just a thought, but hav

Re: Getting back to the previous jsp

2001-01-19 Thread John Hogan
It would be something like <%=request.getHeader("http_referer")%> This will build a link to the previous page _ Get your free E-mail at http://www.ireland.com

RE: Trouble installing

2001-01-19 Thread Arno Grbac
Hi Ivan, It appears that you don't have tools.jar in the orion directory. So, just copy tools.jar from you Java distribution into orion directory, and you should be all set. -arnox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ivan Figueredo Sent: Fri

httpsessions

2001-01-19 Thread Peter T. Brown
Hi. Whether in a servlet or JSP page, whenever I try to start a session, nothing happens. No cookie is set and the URL is not GET appended with anything. Is there something special that needs to happen in order to make session tracking work? Thanks

Re: Having trouble forcing browser-side XSL transformations

2001-01-19 Thread Nick Newman
Jeff, It looks as if you are not telling the page about its content type. Add the tag: <%@ page language="java" contentType="text/xml" %> That may get you further. Nick At 11:57 AM 1/19/01 -0600, you wrote: >Hi Folks, > >Although I'm an experienced Java and Web >developer, I'm very new to

RE: Writing user managers

2001-01-19 Thread Juan Lorandi (Chile)
The RoleManager depends entirely on the Useranager implementation that any given app is using. (If you decompile RoleManager, you'll find that it calls Application.UserManager's methods quite often) Roles in J2EE (RoleManager) map to groups in UserManager. I use three tables; one has user/passwo

RE: Getting back to the previous jsp

2001-01-19 Thread Tony Wilson
Try storing a "lastGUIPage" variable in the session. Have an include that is at the beginning of every GUI JSP page that sets this variable to the current script (Accessible through the HTTPRequest interface) Tony -Original Message- From: Randahl Fink I

RE: Writing user managers

2001-01-19 Thread Juan Lorandi (Chile)
Regrettably, I cannot post that code (I'm under contract). I can give you any specific pointers you need, tough. Also, check out http://www.opensymphony.com an effort by Mike Cannon-Brookes, Joe Walnes and Joseph Ottinger, among others In thier CVS you may find something interesting HTH JP

RE: Accessing EJBs from Stand-alone app....

2001-01-19 Thread Juan Lorandi (Chile)
looks good except for the tag, it's missing JP -Original Message- From: John Pletka [mailto:[EMAIL PROTECTED]] Sent: Viernes, 19 de Enero de 2001 12:01 To: Orion-Interest Subject: RE: Accessing EJBs from Stand-alone app It's better if you respond to the list instead of directly --

Having trouble forcing browser-side XSL transformations

2001-01-19 Thread Jeff Chapman
Hi Folks, Although I'm an experienced Java and Web developer, I'm very new to Orion and am trying a tactic that I've seldom seen mentioned on this newsgroup. My search of posts for the last few months shows one person doing something pretty similar, but recommendations to his note haven't

Re: Trouble installing

2001-01-19 Thread Joseph B. Ottinger
What errors do you get? "Big Mac not eaten?" "Aliens on Mars are eating Ironflare."? "tools.jar not installed?" Reading the error messages is usually helpful, personally, and if you're going to ask for others' help, telling them what the errors are is VERY helpful. On Fri, 19 Jan 2001, Ivan

Trouble installing

2001-01-19 Thread Ivan Figueredo
Hello, I downloaded orion1.3.8.zip. I then did: - D:\orion>java -jar orion.jar -install Enter an admin password to use: ** Confirm admin password: ** Installation done D:\orion>java -jar orion.jar Orion/1.3.8 initialized -- When I browse to 127.0.0.1, I get the "Or

RE: Orion shutdown problem

2001-01-19 Thread Tony Wilson
Its alive. it doesn't respond quickly for me (my posts show up a few hours later), but I get lots and lots of emails. -Original Message- From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 5:55 AM To: Orion-Interest Subject: RE: Orion shutdown problem >

Trouble installing

2001-01-19 Thread Ivan Figueredo
I downloaded orion1.3.8.zip.   I then did:    - D:\orion>java -jar orion.jar -installEnter an admin password to use: dagw1nConfirm admin password: dagw1nInstallation done   D:\orion>java -jar orion.jarOrion/1.3.8 initialized --   When I browse to 127.0.0.1, I get the "Orio

Re: Getting back to the previous jsp

2001-01-19 Thread Johan Fredriksson
If you're not using a lot of framesets and do not need to support all browser try using a javascript, like < a href="javascript: history.back(-1);">Back I didn't quite understand your question, but I hope the answer will help you. regards Johan Fredriksson - Original Message - From: "

Question recursive data structure - how on earth does this work?

2001-01-19 Thread Heiko Gottschling
Hi, the Orion distribution contains a small example application (news). A news item is modeled by an CMP entity bean with remote interface NewsItem and EJB class NewsItemEJB. News items can be ordered hierarchically, i.e. a news item can have a parent. The code looks like this: public class

(no subject)

2001-01-19 Thread Charles Brault
subscribe

RE: [Re: AW: Stand-alone-client]

2001-01-19 Thread Konstantin Polyzois
("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFac tory"); Should be: ("java.naming.factory.initial","com.evermind.server.ApplicationClientInitial ContextFactory"); /korre -Original Message- From: mohan krishna [mailto:[EMAIL PROTECTED]] Sent: den 19 januari 2

Re: has anyone achieved to configure DB Connection Pool w/ DB2 ?

2001-01-19 Thread Serge Knystautas
I thought I wanted to quickly share my unsubscribe experience so people knew why the list gets those occassional flames. First, on orionserver.com, they have a text field to put your email address and hit either subscribe or unsubscribe. As far as I can tell, the unsubscribe button actually does

RE: Single Sign On

2001-01-19 Thread Nick Newman
Hi Tony, It only took me two days to find the email I was referencing! It was direct to me rather than through orion-interest. Here is the relevant part: (This is what I asked) The J2EE spec makes it clear that single sign-on for web-based applications should be supported (J2EE spec, sectio

RE: Best way to redirect root "/" URL to servlet with parameters

2001-01-19 Thread Johnson, Robert
That was too easy. I have not used the jsp:forward before but it works great. Thanks for the help. -Original Message- From: Jeff Schnitzer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 2:06 AM To: Orion-Interest Subject: RE: Best way to redirect root "/" URL to servlet with pa

RE: Getting the home interface of another EJB from within an EJB - PROBLEM SOLVED !!!

2001-01-19 Thread Tim Drury
I DO NOT have to put tags in my ejb-jar.xml for one my ejb's to call another ejb. I am using the EJB 2.0 CMP stuff. example: Shipment ... ... Shipment-has-Contacts ejb/Contact Entity com.tfc.entity.ejb.ContactHome com.tfc.entity.ejb.Contact

RE: Orion shutdown problem

2001-01-19 Thread KirkYarina
Er, he's probably not really subscribed. Perhaps he was one of the subscribe (our subcribe) messages sent to the posting address lately. At 02:54 PM 1/19/01 +0100, you wrote: > From the approximately 20-30 mails I receive every day: You have got to > be kidding! >-Original Message- >F

RE: Accessing EJBs from Stand-alone app....

2001-01-19 Thread John Pletka
It's better if you respond to the list instead of directly -- this is probably a common question and others may benefit from the discussion. Let's pretend you have a the following bean Remote Interface:com.foo.Foo Home interface: com.foo.FooHome Enterprise bean: com.foo.FooEJB Y

AW: Invalid username/password looking up EJB

2001-01-19 Thread Carl Schaller
Title: SV: Servlet Mapping and Access well found the answer myself. i case you are wondering... use package syntax to lookup ejb (com.hotelguide.bn1001.datamart.domain.HotelManager). -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Carl

Getting back to the previous jsp

2001-01-19 Thread Randahl Fink Isaksen
On one of my JSPs I would like to have a link to the previous page (a "back" button), but then i need to output Does any one know how I can replace "theLinkToThePreviousPage" with a Java expression which retrieves the correct url? Thought about letting the caller transfer the link as a paramet

RE: Writing user managers

2001-01-19 Thread Juan Lorandi (Chile)
I've implemented it in two days. I used Forte4J as IDE (it autotypes all the methods in implemented interfaces) Piece o' cake. Just implement UserManager. HTH JP -Original Message- From: Tony J Brooks [mailto:[EMAIL PROTECTED]] Sent: Viernes, 19 de Enero de 2001 6:29 To: Orion-Interest

RE: OrionCMTConnection not closed, check your code!

2001-01-19 Thread Juan Lorandi (Chile)
sometimes orion doesn't close connection (that's my case, as I solely use CMP), and still see these messages... JP -Original Message- From: Robert Krueger [mailto:[EMAIL PROTECTED]] Sent: Viernes, 19 de Enero de 2001 7:15 To: Orion-Interest Subject: Re: OrionCMTConnection not closed, ch

Re: Getting the home interface of another EJB from within an EJB

2001-01-19 Thread Peter Pontbriand
> String homeName = "CustomerHome"; > Context context = new InitialContext(); > String interfaceName = "java:comp/env/ejb/" + homeName; > LogManager.log("Looking up " + interfaceName); > Object object; > try { > object = context.lookup(interfaceName); > } > catch(NameNotFoundException e) { > //Han

RE: Orion shutdown problem

2001-01-19 Thread Randahl Fink Isaksen
From the approximately 20-30 mails I receive every day: You have got to be kidding! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dominic HanlanSent: 19. januar 2001 12:17To: Orion-InterestSubject: Re: Orion shutdown problem Is the

Re: has anyone achieved to configure DB Connection Pool w/ DB2 ?

2001-01-19 Thread Johan Fredriksson
Try lowering the inactivity timeout. Set it to 1-2 secs, and start increasing it if you need it. Also the problem can be that the orion data pool cannot find any more connections and waits for a connection to be released, which can look like a deadlock. Try increasing the number of connections t

Re: OrionCMTConnection not closed, check your code!

2001-01-19 Thread Johan Fredriksson
The tip though about using -Djdbc.connection.debug=true, never works for me... Anyone tried it successfully? Johan - Original Message - From: "Robert Krueger" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Friday, January 19, 2001 11:14 AM Subject: Re: OrionCMTConnect

Re: Orion shutdown problem

2001-01-19 Thread Johan Fredriksson
Yes, very much so. - Original Message - From: Dominic Hanlan To: Orion-Interest Sent: Friday, January 19, 2001 1:12 PM Subject: Re: Orion shutdown problem Is the list alive

Re: Orion shutdown problem

2001-01-19 Thread Dominic Hanlan
Is the list alive

[New article on OrionSupport] Using PostgreSQL with Orion

2001-01-19 Thread Joe Walnes
Tim Drury has written a very nice step by step for configuring PostgreSQL and Orion for use with each other. http://www.orionsupport.com/articles/postgres.html -Joe Walnes

RE: Getting the home interface of another EJB from within an EJB - PROBLEM SOLVED !!!

2001-01-19 Thread Randahl Fink Isaksen
Finally: PROBLEM SOLVED. The short hint from Luke Nelson turned out to be the ultimate proof of what theese mailing lists are really worth. Luke is right, guys. To be able to reference other EJBs from within EJBs you need to put a tag in your ejb-jar.xml file. How this is done can be seen on pa

Re: Orion shutdown problem

2001-01-19 Thread Robert Krueger
At 11:16 19.01.2001 , you wrote: >Is the list alive .. yes (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de

has anyone achieved to configure DB Connection Pool w/ DB2 ?

2001-01-19 Thread Elhadi barkat
Hi, Under stress, one of my beans is causing deadlocks!! I'm wondering if it is a connection pool problem or not Does anyone of you configured DBConnectionPool succesfully with DB2 I have a maximum of 5 connections and I'm using this db configuation file: I'm really struggu

Re: Orion shutdown problem

2001-01-19 Thread Dominic Hanlan
Is the list alive ..

Re: OrionCMTConnection not closed, check your code!

2001-01-19 Thread Robert Krueger
At 00:55 19.01.2001 , you wrote: >What does this message mean? > >OrionCMTConnection not closed, check your code! >LogicalDriverManagerXAConnection not closed, check your code! >(Use -Djdbc.connection.debug=true to find out where the leaked connection was >created) it means what it says ;-). you

RE: Getting the home interface of another EJB from within an EJB

2001-01-19 Thread Randahl Fink Isaksen
I guess you mean an - I tried it, but it does not work - makes Orion unable to deploy (DTD does not allow an in this place). Thanks anyway. Randahl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Luke Nelson Sent: 18. januar 2001 21:46 To: Orion-Intere

RE: Getting the home interface of another EJB from within an EJB

2001-01-19 Thread Randahl Fink Isaksen
I have tried your work-around, P. Pontbriand, but without luck. My code is this: String homeName = "CustomerHome"; Context context = new InitialContext(); String interfaceName = "java:comp/env/ejb/" + homeName; LogManager.log("Looking up " + interfaceName); Object object; try { obje

RE: Writing user managers

2001-01-19 Thread Tony J Brooks
Hey Nick, I think Juan said he had done that in two days. It's in the archive, check out the thread "Troubles with DataSourceUserManager and RoleManager" from Lawrence8080. I'm going to be implementing my own custom user manager over the next couple of weeks, so Nick, if you get a response from

Re: [Re: AW: Stand-alone-client]

2001-01-19 Thread mohan krishna
Hi, Will u please give the code i have to embed in my satand-alone application..to access EJBs which r running under Orion... and what r the files i have to modify to run this application... this is the code i embed in my application to get the connection... Properties props = new Properties()

Re: [Re: AW: Stand-alone-client]

2001-01-19 Thread mohan krishna
Hi, Will u please give the code i have to embed in my satand-alone application..to access EJBs which r running under Orion... and what r the files i have to modify to run this application... this is the code i embed in my application to get the connection... Properties props = new Properties()

SV: Best way to redirect root "/" URL to servlet with parameters

2001-01-19 Thread Niklas Uhrberg
Is there anything that prevents you from doing a in the index.jsp (or whatever). /Niklas Uhrberg -Ursprungligt meddelande- Från: Johnson, Robert <[EMAIL PROTECTED]> Till: Orion-Interest <[EMAIL PROTECTED]> Datum: den 19 januari 2001 06:09 Ämne: Best way to redirect root "/" URL to servl

RE: Best way to redirect root "/" URL to servlet with parameters

2001-01-19 Thread Jeff Schnitzer
You could put in the default.jsp. Jeff >-Original Message- >From: Johnson, Robert [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 18, 2001 8:52 PM >To: Orion-Interest >Subject: Best way to redirect root "/" URL to servlet with parameters > > >Is there an easy way with orion to redir