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
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
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"
-
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
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
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:
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;
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
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
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.
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
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.
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
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:
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
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
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
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
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
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
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
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
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
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
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 --
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
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
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
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
>
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
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: "
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
subscribe
("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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
Is the list alive
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
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
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
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
Is the list alive ..
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
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
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
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
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()
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()
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
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
63 matches
Mail list logo