Deepak,
I believe you can create a separate data-source for each server, and put
this in the data-source.xml. Then use a 1-1 mapping between each entity bean
and the data-source. If you already have your entity bean(s) (I would use
some kindof simple naming convention for your entity bean(s) to
Hi all, I know that a ejb can make a request to an URL, send an
e-mail, and manage other actions defined in methods of its superclasses.
I want to know if it is possible to make a request to another port
different to http port or STMP port?. I would like to make a request to
port 389
Hi,
I get it. It was a mistake in the form tag
instead
input type="password" name="j_password"
I wrote
input type="j_password" name="password"
Thanks to all,
Di
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.
IMHO you should use IBM's JDK1.3 . I've use it and the last JVM (dating aug.
15) is pretty stable
Using admin.jar -shutdown with Sun's JDK1.3 rc2 on Red Hat Linux, I get the
following error:
Error: javax.naming.NamingException: Lookup error:
java.io.StreamCorruptedException: Caught
Hi, Andre
I'll try things again. At first glance we have identical setups: I also use
2 tables, and let Orion do the groups through principals.xml. My config file
entries also track what you have: I must have a really obvious typo
somewhere.
It's reassuring to hear that the stuff works. :-)
I'm
doing up a somewhat elaborate tutorial that covers most situations, includes the
use of Jikes, etc etc.
I work
in Halifax (Purdys' Wharf) although I live in Dartmouth.
Arved
P.S.
I'm interested in how you guys would be using J2EE. Is it a secret?
:-)
-Original
You can open a socket on any port you want.
Where is the problem?
Luciano
-Messaggio originale-
Da: David Sierra Fernandez [mailto:[EMAIL PROTECTED]]
Inviato: venerdì 22 settembre 2000 11.56
A: Orion-Interest
Cc: Juan Angel Lorenzo del Castillo
Oggetto: LDAP
Hi all, I know
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...
Hey,
I've noticed a few of my posts creep up onto this list that I didn't intend
to send to any but one recipient. My apologies; normally I catch these.
Arved Sandstrom
Hi David,
You can use JNDI to access an LDAP server. See the documentation for JNDI:
* http://java.sun.com/products/jndi/
Or specifically the LDAP service provider:
* http://java.sun.com/products/jndi/#download
I assume this is what you are really looking for. And Orion fully supports
There is a follow-up for the Orion Primer available. It shows you how to
write and deploy a simple CMP entity bean, as there have been several requests
for such a document.
* Orion CMP Primer
http://www.jollem.com/
Thanks to the Orion development team for providing such a great J2EE
Hello,
we plan to use Orion-Server for a big Database-Application with Java- and
Web-Clients.
For the first tests I used version 1.0.3b and last week I migrated to 1.2.9.
After serveral tests we noticed, that Entity-Beans have changed their
behavior in the instance-pool (toward 1.0.3b). Once a
You can follow the steps in orion-primer [www.jollem.com] very useful
Claudio Miranda
Harley Rana wrote:
Hi i am having alot of trouble just deploying anything.
I would really appreciate if someone could give the step by step way to deploy
a sime stateless session bean.
note i
data-source
name="test"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/myDS"
pooled-location="jdbc/myPooledDS"
xa-location="jdbc/xa/myXADS"
ejb-location="jdbc/myEJBDS"
Vimal,
I looked in the jar you attached, here's what I saw:
jar -tvf emp.jar
META-INF/
META-INF/MANIFEST.MF
ejb20/
ejb20/Address.class
ejb20/ContactInfo.class
ejb20/Employee.class
ejb20/EmployeeEJB.class
ejb20/EmployeeHome.class
meta-inf/
meta-inf/ejb-jar.xml
The ejb-jar.xml needs to be in
Anyone tried to put two applets on same page using the plugin tag?
Hey everybody,
Has anybody got any ideas about why this won't work. It's really
frustrating!!!
G:\orion>java -jar orion.jar
Auto-unpacking G:\3.0\rel\guid-factory.ear...
done.
Auto-unpacking G:\3.0\rel\guid-factory\guid-factory-web.war...
done.
Auto-deploying guid-factory (Assembly had been
Hi,
Very simple question, where can I see the results of jsp's compilation?
I'm trying to debug an application that seems to fail but I don't know
why and can't find any log of the result of the compilation...
Any help?
TIA
Hi!
My login system works fine sometimes, but there are times that it stops
working, without any change. I'm using EJBUserManager. It correctly add users
and groups in my database. The problem is that the login system
(j_security_check) do not work all the time. I realy don't know what makes it
I just tried out version 1.3.8 and they have implemented the time out
for db connections now. I haven't searched to find out where you specify
they timeout as the default is 60 seconds (way too long in my opinion).
Anyway, if you can upgrade--that should hopefully help your problem. I
don't know
I tried to get the /examples/xsl/doc.jsp file from my Netscape 4.72 browser
running on Linux and I found out that the mime type for the response is
"text/xml" - I modified the doc.xsl stylesheet so that the "xsl:output" type is
"html" instead of "xml" but the mime type doesn't change. I know
I don't think case is any issue. If you look at
counter.jar whichg Orion ships with their product, it
also has ejb-jar.xml under meta-inf and not META-INF
Vimal
--- Matthew Domarotsky [EMAIL PROTECTED] wrote:
Vimal,
I looked in the jar you attached, here's what I saw:
jar -tvf emp.jar
Dose anybody have a simple sample application which uses JavaMail to send
email?
Amir
Anybody know why I would get a NPE when trying to create a simple CMP
entity instance? The exception that the client gets is:
java.lang.NullPointerException: Primary-key was null
And the server console displays:
java.lang.NullPointerException
at
Look at Java Soft's Pet Shop example. They have a stateless ejb mailer
which does emails. Configuration is within ejb-jar.xml file.
it's fairly simple.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Amir Peivandi
Sent: Friday, September 22, 2000 1:26
I know what you mean. I have a model 2 servlet/jsp app which runs fine on
JRUN and Tomcat
but when I move it to Orion my URLs that go to the controller servlet get
hosed up when I
try to redirect. It wants to treat my alias for my Contoller servlet as a
subcontext to the
main web app context. The
Has anyone figured out the rules for URLs wrt relative path names in Orion?
They seem different in the following conditions:
* url in html page directly
* url in jsp
* url in html page forwarded to by a servlet
* url in jsp forwarded to by a servlet
* url in html page redirected to by a servlet
Hi,
I am receiving a "RMIConnectionException: Object reference no longer valid"
exception intermittently (about 50% of the time) when I call my stateless
session bean. I am using com.evermind.server.rmi.RMIInitialContextFactory.
Can anyone give me any insight as to the kinds of things
Let me know if you like it. All the code is mine. It is a complete javabean.
-Original Message-
From: Amir Peivandi [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 2:26 PM
To: Orion-Interest
Subject: JavaMail
Dose anybody have a simple sample application which uses JavaMail
Chris,
I noticed the your ejb-jar.xml has an close commentI think
that has screwed up your deployement, since this is not a well formed xml
document.
entity
descriptionThis bean implements a GUID
factory/description
display-nameGUID Factory Bean/display-name
Amir,
Doesn't the ATM application send email?
Regards,
Lawrence
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Amir Peivandi
Sent: Friday, September 22, 2000 11:26 AM
To: Orion-Interest
Subject: JavaMail
Dose anybody have a simple sample
I am having a problem parsing an xml file using the following code, trying
to validate the enclosed xml files...
i keep getting the following error:
** Parsing error, line 2, uri null
Relative URI "Catalog.dtd"; can not be resolved without a document URI.
can anyone help? sorry for the
Has anybody seen this error before:
C:\orionjava -jar orion.jar
Auto-deploying producer-ejb.jar (ejb-jar.xml had been touched since the
previous
deployment)... Error compiling
file:/C:/orion/applications/phlox/producer-ejb.j
ar: Variable contained illegal space
Orion/1.2.9 initialized
I've
Hello, just a small note; There are some fixes in 1.3.9 (which will be
available in a day or so) in this area as well, fixing hanging or waiting
until timeout if the pool is full and also not honouring the max-connections
(ie going beyond it) in some cases. Stay tuned...
/Magnus Stenman, the
IMHO, why don't you try this simple thing and then figure out whether this
is the problem or not instead of wasting your time as well as time of other
people in the list.
-Original Message-
From: Vimal Kansal [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 4:34 PM
To:
Hi all,
I have a urgent problem regarding EJB and servlet, I cannot find the
home interface of the bean from the servlet (whereas a standalone
client works very well)...Can anyone pls give me some hint as to what
maybe be wrong here? Below is the background info, sorry, it is kind
of long...
37 matches
Mail list logo