Mike Chang

Greenhorn
+ Follow
since Jul 25, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mike Chang

Hi Lasse,
The ejb-jar.xml file contains the following:-
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
The dtd looks ok; could it be possible that oc4j is using a different
dtd?
Hi,
I have attempted to deploy an ear file containing a single cmp bean
from JDeveloper 9.0.3 to Oracle9iAS (9.0.2.0.0)OC4J.
I keep on getting the following error:-
java.lang.InstantiationException: local/local-home tag not supported in
this version.
My ejb-jar.xml file contains:-
<ejb-name>Users</ejb-name>
<local-home>mypackage1.UsersLocalHome</local-home>
<local>mypackage1.UsersLocal</local>
<ejb-class>mypackage1.impl.UsersBean</ejb-class>
<persistence-type>Container</persistence-type>
Is this a bug in the application server; if so what version of Oracle9iAS
fixes this problem.
Hi All
How do you configure global.jsa on Oracle 9ias.
I have placed the global.jsa under public_html along with
my jsp files.
Each jsp file is attempting to access a session attribute value,
but each time a value null is received.
Any ideas?.
Part of the jsp code is as follows:-
<%
try
{
accessLevel= new Integer((String)session.getAttribute
(Constant.ACCESSLEVEL)).intValue();
}
catch(Exception e)
{
errMess="Error message:"+e+" accessLevel="+accessLevel;
}
%>

file global.jsa contains:-
<%@ page import="java.sql.*,test.Constant" %>
<event:session_OnStart>
<%
session.setAttribute(Constant.FIRSTNAME,"none");
session.setAttribute(Constant.SURNAME,"none");
session.setAttribute(Constant.ACCESSLEVEL,"0");
%>
</event:session_OnStart>
<event:session_OnEnd>
</event:session_OnEnd>
21 years ago
Hi thanks Simon & Mark.
21 years ago
Hi
I'm using PL/SQL to create a table and would
like the primary key to be generated by the
oracle database every time I enter a new record.
Any ideas?.
(new boy hence the simple question)
21 years ago