This is not about enabling php in Orion.
I've got that working!
But I had to make a small project using php against mySql,
since I use Orion as development that wasn't any problem.
However - I cannot connect to the database. I keep getting
either TCP/IP 10091 or 10101: Cannot create socket.
So I
Hi,
I am currently part of a project developing a servlet/stateless EJB
solution to be run on the Orion platform. We are experiencing some
problems using our datasource connection to our Oracle 9i database. The
server will on occasion leak connections, which eventually results in
both the
You need a finally at the end of the try block's to make sure your
connections close. What could be happening is your connections are not being
closed from time to time. Most Oracle ora.ini files are set up for only 30
or so open connections (this is usually ok), but should never be more than
300
HI Friends,
I'm having a serious problem in my code and am unable to
understand. I've deployed a simple Hello bean on the orion container and
want to access it from a servlet. I have the servlet in
D:\Oracle\iSuites\j2ee\home\default-web-app\WEB-INF\classes\trg\HelloServlet
.
When you get the connection you will need to put it in a try and catch.
At the end use a finally to return the connection.
e.g.
try
{
Connection c = YourClass.getConnection();
}
catch (SQLException ex)
{
//Do something with the exception
}
finally
{
First, if the servlet and ejb are in the same application, you don't need to
use properties to initialize your contextbut if you did, it looks like
you left off the domain in the properties.
Regards,
the elephantwalker
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hi All
I am implementing the Session Facade design pattern in an application along
with the DAOs. The deviation being no use of Entity beans. What I have
apparently is as follows:
1. A Session Facade bean which has 'open new account method' for which i
have defined RequiresNew transaction
- Original Message -
From: Vinay Khandelwal [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Saturday, September 08, 2001 5:46 AM
Subject: UNSUSCRIBE
__
Do You Yahoo!?
Get email alerts NEW webcam video instant messaging
All of out JDBC is done in a try-catch-finally block where the prepared
statement and connection are closed in the finally block.
Transactions are managed using CMT, and CMP is not used as stateless
session EJBs make more sense in the design. Autocommit is off, allowing
the container to handle
Darryl,
First off (and I know you have probably already checked this but just
in case) have you uncommented the jms.xml attribute in your server.xml
file? Next if you are using Queues and QueueConnectionFactories inside
orion's jms implementation you do not need to use resource-ref tag
Prashant,
You cannot initialize the context within the servlet. Use web.xml with the
following entries with your values:
context-param
!-- The context-param element contains the declaration of a web
application's servlet context initialization parameters. There are two
special kinds of
Title: dAHHH ... BLOODY CLOB!
OK i have taken all your advice ... and i changed it to a clob ... set up a binary stream ... wohoo ... good to go right? well WRONG! i keep getting marshalling exceptions
Exception: ProjectAdd.saveInfo(): Transaction was rolled back:
Just re-validating a design requirement for BMP that I think
I read somewhere:
Dependant objects behind an Entity that uses DAOs for each
parent and child objects.
- for container managed transactions to work, must all DAOs
use the same Connection?
I.E.
myBeanMethod (,,,)
{
If you are trying to get the ejb which deployed in another application
You lookup should be directly the JNDI name of the ejb.
context.lookup(ejb/HelloHome); instead of java:comp/env/xxx.
If your EJB in the same application then only you can lookup from the env.
- Original Message -
14 matches
Mail list logo