Substitute
Object boundObject = context.lookup("java:comp/env/ejb/HelloHome");
with
Object boundObject = context.lookup("java:comp/env/ejb/Hello");
Luciano
-Messaggio originale-
Da: Santosh Kumar [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 22 novembre 2000 1
Can someone kindly explain to me what is the purpose of using the security
roles, user managers and all that in the descriptor files? I quite honestly
don't understand it. I mean..if I have a web-app that has a login screen
that uses EJB to look up a login name and password in a database to allow
Please help me:
An application client I deployed on 1.4.4 finds references for my remote
ejb's, but it does not get a reference to the remote TopicConnectionFactory.
Run locally works fine.
Thanks in advance,
Werner Bohl
Organization for Tropical Studies
Costa Rica
The first mail dint seem to get through. I am
sending this again!!
Hi All,
I am onto an interesting task of
using resin as the EJB client for Orion.
Everything seems to be in line but i dont know
why i get this problem when
i run the orion-primer example EJB with the
Hi All,
I am onto an interesting task of
using resin as the EJB client for Orion.
Everything seems to be in line but i dont know
why i get this problem when
i run the orion-primer example EJB with the
servlet part executing on the RESIN.
javax.servlet.ServletException: Unable to get hom
The first mail dint seem to get through. I am
sending this again!!
Hi All,
I am onto an interesting task of
using resin as the EJB client for Orion.
Everything seems to be in line but i dont know
why i get this problem when
i run the orion-primer example EJB with th
Kevin,
- Original Message -
From: "Duffey, Kevin" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 5:49 PM
Subject: RE: error instantiating web-app JNDI-context, JSP -> EJB -- solved!
> Hmm..as far as I know, orion-web.xml is created for yo
The error was actually reported to be in server.xml, so it never got
to validating the ejb-jar.xml.
Anyways, the dtd at http://java.sun.com/dtd/ejb-jar_2_0.dtd is the final
one isn't it?
On Wed, 22 Nov 2000, Arthur Copeland wrote:
> no it isn't your fault sun hasn't made the dtd available
> yet
no it isn't your fault sun hasn't made the dtd available
yet and they have also changed the source of the dtd in
proposed final draft.
artie
Quoting Hani Suleiman <[EMAIL PROTECTED]>:
> I'm trying to ensure that my EJB 2.0 ejb-jar.xml files
validate according
> to the appropriate dtd, so I trie
Hmm..as far as I know, orion-web.xml is created for you when you deploy your
app. You shouldn't have to ever do anything in it. I am able to access my
Session EJB via my action class (don't want to do it in jsp...thats bad). I
am anxious to get entity beans working with Interbase 6 via JDBC2.0. I
Excellent that narrows it down
i guess i need to start putting some print statements
and see where the servlet is dying. i'll write some
things out to the log
is there a way to run orion so that it shows the
server interacting with the lifecycle methods of the
servlet.
weird...
thank
i guess mapping a servlet to '/' would also be an alternative to specifying
a welcome file list in web.xml
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell
Sent: Wednesday, 22 November 2000 6:01 PM
To: Orion-Interest
Subject: Re: Deploying a
Are you using IE as your browser?
If so, go to
Tools -> Internet options -> Advanced
and make sure the "show friendly HTTP error messages" option is turned OFF.
You should get a slightly usefull error message coming back then.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL P
Finally! I just now found the problem. I needed to add the following line in
the Orion web-site.xml file:
My test JSP page worked, and since I was calling from within the container I
just need to use InitialContext() without setting properties.
Now, can someone explain to me why there appear
No luck -- I still get the following exception:
javax.naming.NamingException: Error instantiating web-app JNDI-context: No
location specified and no suitable instance of the type 'com.company.Caller'
found for the ejb-ref ejb/Caller
at com.evermind.server.http.HttpApplication.getEnvironmentConte
Have you created a database directory ($ORION_DIR/database)? Do you have
the appropriate permissions on defaultdb.* in it?
At 12:10 PM 11/22/00 +, you wrote:
>Hi,
>I'm trying to deploy the Orion CMP primer example. I've follow the
>instructions but I've got the following error:
>
>Auto-dep
check location="..." for your bean in orion-ejb-jar.xml
Try to do
Context ctx=new InitialContext();
Object obj=ctx.lookup("com.company.Caller"); // or whatever JNDI name you
have in location in orion-ejb-jar.xml
Boris
P.S. It is very nice that you initialize Properties but you should use them
In ejb-jar.xml
Caller
Caller
also, make sure you include the web module in application.xml
-Original Message-
From: Garret Wilson [mailto:[EMAIL PROTECTED]]
Sent: Miércoles, 22 de Noviembre de 2000 15:44
To: Orion-Interest
Subject: err
Hi,
Is there a way to specify timeout for entity beans with Orion.
Please help
Regards
Rajeev
You will need to set the providers up in the class at run time. This is because
Orion defines providers and yours are not being seen.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ismael Blesa
> Part
> Sent: Wednesday, November 22, 2000 2:00 PM
>
yes,
I've been complaining about this issues starting a month ago... check bugs #161
& #170 for more info
nobody
from orion replies, and it's a shame, because I can´t license the products until
I work my way around these
Anybody performing a DoS attack on any Orion Web Site
will effecti
Just set up a web site for both normal and secure. Then just make sure your
links that need to go to secure pages and https:// and the ones that go to
non-secure pages just have http://
Joel Shellman
http://www.ants.com/90589781
- Original Message -
From: "Mark" <[EMAIL PROTECTED]>
To:
Edmund Cheung wrote:
>
> Hi,
>
> The following code is working in webloigc;
>
> String initialContextFactory =
> ConfigManager.getProperty("framework.jndi.initialContextFactory","weblogic.j
> ndi.TengahInitialContextFactory");
> Properties p = new Properties();
>
AFAIK there should be no problem when multiple threads are sharing a single home
interface. But I not ever have threads sharing a single remote reference no
matter what. That is asking for trouble.
It is actually safest to have the threads just share a context and have the
thread lookup the home
I have developed some classes that work with JCE1.2.1, and I have tested
from command line and they work.
I have configured java.security to specify which is the Security
Provider I am going to use. The problem come when I try to use this
classes from my web-application.
I have specified copied o
Hi ,
In weblogic, I set the following in the weblogic-ejb-jar.xml
framework.users.usermanagersession.UserManagerHome
And do I set something similar in Orion in order to get it working?
Thanks,
Edmund
I've been stuck for days trying to call a sample entity EJB from JSP. (I
believe this question has been asked before on the list, but I can't find
any responses.) Specifically, when calling context.lookup() from testdb.jsp,
I get the following error:
javax.naming.NamingException: Error instantiat
On Wednesday 22 November 2000 11:34, you wrote:
> At 09:50 22.11.00 , you wrote:
> >On Tuesday 21 November 2000 12:47, you wrote:
> > > >Is it possible to instatiate more than one session bean from the same
> > > > class,
> > > >
> > > >for the same session? I'm planning to make a mullti-threaded
thanks for the response.
artie
Quoting Tim Drury <[EMAIL PROTECTED]>:
>
> Search back through the archives. There are several
> examples and questions w/ answers. If that doesn't
> answer your questions (and the one in your previous
> post regarding 1:1), then post just the pertinent
> parts
please don't worry about responding to this post. i
figured out what my problem was.
artie
Quoting Arthur Copeland <[EMAIL PROTECTED]>:
> I am trying to learn EJB 2.0 with orion and am having
> some problems getting a 1:1 dependant object to load.
I
> have traced it done to the dependant obje
Hi,
The following code is working in webloigc;
String initialContextFactory =
ConfigManager.getProperty("framework.jndi.initialContextFactory","weblogic.j
ndi.TengahInitialContextFactory");
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FAC
Title: RE: -- Arved -- Can you please help me with servlet authentication?
javax.naming. .. aso instead of java.naming ?
-Original Message-
From: Tim Endres [mailto:[EMAIL PROTECTED]]
Sent: den 22 november 2000 17:22
To: Orion-Interest
Cc: Arved Sandstrom
Subject: RE: -- Arved -- Can
> You'll understand that we are using 100% programmatic user management. Also,
> I think (in your last few paras) that you are close to answering your own
> question. If you've got multiple users and you cannot rely on a
> jndi.properties, then by exclusion you must rely on the users to supply
> t
>name="test1"
>class="com.evermind.sql.DriverManagerDataSource"
>ejb-location="jdbc/OracleDS1"
>pooled-location="jdbc/OraclePooledDS1"
>xa-location="jdbc/xa/OracleXADS1"
>url="jdbc:oracle:thin:@test:152
Hi all,
I've recently been load-testing my app, and have been getting some strange
problems after between 15 minutes and an hour of tests. My application
uses EJBs that are accessed through Turbine. I'm running RedHat 6.2,
with the Sun jdk1.2.2. The database is Sybase workgroup edition.
I'm u
Search back through the archives. There are several
examples and questions w/ answers. If that doesn't
answer your questions (and the one in your previous
post regarding 1:1), then post just the pertinent
parts of you code for us to look at.
All I know that has been implemented is EJB 2.0 draf
Hi all,
Can multiple threads share one EJBObject? What
about one EJBHome? Are these thread safe?
Also, what's everone's policy on caching StatelessSessionBeans?
Does your client code tend to hold a reference to a Stateless Session bean
between uses, or do you get a new reference every
At 09:50 22.11.00 , you wrote:
>On Tuesday 21 November 2000 12:47, you wrote:
>
> > >Is it possible to instatiate more than one session bean from the same
> > > class,
> > >
> > >for the same session? I'm planning to make a mullti-threaded servlet that
> >
> > you mean the same httpsession, don't
Hi,
I'm trying to deploy the Orion CMP primer example. I've follow the
instructions but I've got the following error:
Auto-deploying addressbook (New server version detected)...
Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
error: File input/output error: ./
I am also interested on this issue.
Matthias Schmitt wrote:
> i've made a servercertificate signed with my own CA (using openssl). If i
> connect with orion (https:\\servername) the certificate shows the wrong
> issuer:
> not my CA, but the server.
> What is wrong here ?
>
> How can i
Hi, Tim
Our servlet has nothing whatsoever to do with Servlet-2.x style
authentication. We only have one servlet, and our application model is not
predicated on having umpteen JSPs and content pages to jump around to and
set security constraints on. We don't use a jndi.properties for
authenticati
just use it as you would any other collection. Orion is smart enough to
persist the primary keys of each entity in the relation.
-mike
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Giorgio
> Angiolini
> Sent: Wednesday, November 22, 2000 7:48 PM
Hi,
I'm trying to deploy the Orion CMP primer example. I've follow the
instructions but I've got the following error:
Auto-deploying addressbook (New server version detected)...
Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
error: File input/output error: ./database
On Tuesday 21 November 2000 12:47, you wrote:
> >Is it possible to instatiate more than one session bean from the same
> > class,
> >
> >for the same session? I'm planning to make a mullti-threaded servlet that
>
> you mean the same httpsession, don't you?
Yes, the same HttpSession ...
> >each
The easy way is to use java.util.Date instead, this maps to Datetime
datatype, works for me.
Klaus
> -Opprinnelig melding-
> Fra: Somdeth Souvanlasy [mailto:[EMAIL PROTECTED]]
> Sendt:22. november 2000 11:37
> Til: Orion-Interest
> Emne: database schema mapping and MS SQL Ser
Hi,
The orionserver site isn't responding today, so I can't check bugzilla to
see if this is an outstanding bug.
Configuration
Orion 1.4.0
Windows 2000 Professional
Sun JDK 1.3
MS SQL Server 7
BEA Weblogic MSSQLServer 7 type 4 JDBC drivers version 5.1.0 (evaluation
drivers)
Situation
I'm tr
i've made a servercertificate signed with my own CA (using openssl). If i
connect with orion (https:\\servername) the certificate shows the wrong
issuer:
not my CA, but the server.
What is wrong here ?
How can i tell the orionserver, which CAs to accept for Clientcertificates?
Thank
The error is not in the xml file but the source code.
Had the error a couple of times; solved it by using a
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
try {
conn = ...
stmt = conn.CreateStatement(); <- don't remember if this is correct.
rs = stmt.execute();
BTW: if the mapping was the problem, you should get a 404 (not found). A 500
indicates something goes wrong INSIDE the servlet
- Original Message -
From: "Mateo Torrealto" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 7:48 AM
Subject: Chri
I am running the latest orion on FreeBSD 4.2-STABLE, using Sun's JDK1.3
for Linux, and it works a treat.
Mathias Bogaert wrote:
Hello,
Has anyone got Orion running on OpenBSD
(www.openbsd.org), or any other BSD
unix? TIAMathias Bogaert
--
David Smith
Software Development Manager
e-Net Softwa
Repost for mail server problem (sorry !)
Hello
I have just read the nice article "Advanced Object-relational mapping"
found in orionsupport.com (thank's Joe Walnes !).
The following types of field can be mapped within entity beans:
1) Simple object and primitives
2) Object
3) Serializable obje
Hi all
I am receiving the following message a number of times following multiple
user concurrent hits -
DriverManagerConnectionPoolConnection not closed, check your code!
I am physically closing the connection after the process of each request.
What does the close() method on the connec
52 matches
Mail list logo