Looking for BC4J EJB deployment example
Hi,
I am looking for an very simple example project for BC4J deployed as EJB, including table definition, BC4J source files, and EJB client source files. I have previously successfully deployed the BC4J to Oracle8i JVM and OC4J, but currently struck at how to write the client application. I would like to know how to call my own remote methods other than working with ViewObjects directly.
Help needed.
Regards,
Patrick.
Maybe this will help:
In JServer, ejb inactivity timeout is controlled by property jbo.ejb.txntimeout which value is 60 (secs) by default.
JServer properties file is deployed as oracle/jbo/server/jboserver.properties, you can get it from jbomt.zip (you should create the same directory structure and a project, say jServerProps.jpr, containing the file).
Edit the file:
jbo.ejb.txntimeout=28800
jbo.ejb.txntype=local
, then deploy it as Classes and Java Stored Procedures to Oracle 8i.
To see effective values of jServer properties you have to set jbo.debugoutput=console in file oracle/jbo/common/Diagnostic.properties - from the same jbomt.zip.
It's better to include the file in the above jServerProps project and deploy at once with jboserver.properties.
null
Similar Messages
-
Looking for a DAO\JDBC example to deploy as war or ear to see how it works
looking for a DAO\JDBC example to deploy as war or ear to see how it works can any one show me i have searched it but cant find it...
you should try searching in http://www.theserverside.com
-
Looking for a trap parsing example
Hello experts
I want the MARS to analyze an SNMP trap from a custom device and I'm looking for an example for a trap message parsing. Would appreciate you help.
TIA
IrisAdomacro wrote:
> Looking for a nice fusebox example, which i can use as
base for developing applications..
>
> Please post help.
>
> thanks a bunch.
http://www.fusebox.org/ -
Looking for a nice fusebox example
Looking for a nice fusebox example, which i can use as base
for developing applications..
Please post help.
thanks a bunch.Adomacro wrote:
> Looking for a nice fusebox example, which i can use as
base for developing applications..
>
> Please post help.
>
> thanks a bunch.
http://www.fusebox.org/ -
Looking for C/C++ XPath example
I am looking for a C/C++ example that successfully used the XPath routines as provided
in the XDK for Oracle 9.2. Expansion on the meaning of the parameters and a list of
error return values would also be nice.We will be shipping the missing doc with OTN releases in the future.
-
Issues in looking up a ejb deployed on glassfish from tomcat.
Hi all,
I have followed the steps mentioned in the EJB FAQ in the glassfish site and was able to lookup a remote ejb deployed in glassfish from a standalone client.
In case of standalone client, i set the appropriate jndi properties in the initial context as mentioned in the FAQ and added the 4 jars specified to the classpath of the application.
It all worked perfectly well.
But I attempted to do the same from a servlet running under tomcat.
I set the appropriate jndi properties in the intial context and added 4 jars specified in the lib directory of the war file.
But this did not turn out well and tomcat complained me with some servlet init errors.
Then i searched through the web and found this posting from you:
http://www.archivesat.com/GlassFish_Enterprise_JavaBeans_Developers/thread1399339.htm
Then i created a folder called "shared/lib" under TOMCAT_HOME directory in my machine and ran the same example. Wow.....miraculously the application ran well.
But i found that the "index.jsp" which i configured in the welcome file list does not appear now. But i was able to access the servlet without any problem. And the servlet was able to successfully lookup the ejb deployed in glassfish.
Then i thought, let me try to access the ejb from a jsf application.
Then i created a jsf application in netbeans 5.5.1 and tried to access the bean deployed in glassfish.
(Note: the jsf application runs in tomcat 5.5.17 which is bundled with netbeans)
OOPSS....
Tomcat now complains me that it cannot compile the jsp page..
This is the error i got...
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
C:\Documents and Settings\james\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\CityExplorer-WebClient1\org\apache\jsp\index_jsp.java:7: org.apache.jsp.index_jsp is not abstract and does not override abstract method getDependants() in org.apache.jasper.runtime.JspSourceDependent
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
^
Generated servlet error:
C:\Documents and Settings\james\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\CityExplorer-WebClient1\org\apache\jsp\index_jsp.java:12: getDependants() in org.apache.jsp.index_jsp cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent; attempting to use incompatible return type
found : java.lang.Object
required: java.util.List
public Object getDependants() {
^
2 errors
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
Any ideas...
Can you please help me.
I've noticed that you were eagerly answering questions related to ejb lookup in many places.
I feel there is some potential compatability issue between tomcat and glassfish...
I request you to investigate on this and clarify the community with your response.
Thanks in advance,
James SelvakumarThank you guys!
I've found the answer myself. -
BC4J EJB deployment ; testing deployment to 8i with client application
Hi,
Is there a way to to connect a java client application to a 8i deployed BC4J using the oracle.dacf.dataset.SessionInfo ? Can we do this using the JDev wizards - property inspector ?
(I've seen in the doc :"Testing a Business Components EJB Deployed to Oracle8i with a Code Client" but the given code
// setup application module variable
ApplicationModule appMod = null;
javax.naming.Context ic = new InitialContext(env);
ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(DeployedMod);
appMod = home.create();
does not contains any SessionInfo object.)
Thanks,
XvcChris,
Perhaps you should be checking if the user you wish to deploy
EJBs to has at least JAVAUSERPRIV.
As SYSTEM
grant JAVAUSERPRIV to <user>;
Good luck
/Mark
Chris Jones (guest) wrote:
: Hi,
: I'm having a problem deploying an EJB to Oracle 8i with
: JDeveloper 2.0.
: I am receiving an insufficient privileges error in the
: deployment process when it reaches the stage Generating EJBHome
: and EJBObject on the server. I am logging in using the system,
: sys, scott or internal account and all still receive the same
: error. What role/privelege do I need to deploy an ejb to 8i?
: Thanks in advance.
: Here is a dump of the output JDeveloper produces.
: *** Invoking the Oracle JDeveloper deployment utility ***
: Scanning project files...done
: Generating classpath dependencies...done
: Generating archive entries table...done
: Writing archive...done
: *** Invoking the Oracle8i deployment utility ***
: Reading Deployment Descriptor...done
: Verifying Deployment Descriptor...done
: Gathering users...done
: Generating Comm Stubs...done
: Compiling Stubs...done
: Generating Jar File...done
: Loading EJB Jar file and Comm Stubs Jar file...done
: Generating EJBHome and EJBObject on the
: server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
: SQL exception occured while compiling:
: oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
: insufficient privileges
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.invoke
: (Compiled Code)
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
: (Compiled Code)
: at
: oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
: (Compiled Code)
: at oracle.jdeveloper.wizard.common.ProgressDialog.run
: (Compiled Code)
: at java.lang.Thread.run(Compiled Code)
null -
Doing a jndi lookup() for an EJB deployed on Glassfish v3
Hello.
I have deployed a Stateful Sesion EJB on a Glassfish v3 AppServer.
It is running under 'localhost' on my laptop pc.
I am also running a stand-alone java application on the same pc... it attempts to get a remote connection from the client-app to the Glassfish Server and then do a jndi lookup() to get a reference to my EJB.
here is the client source code:
public class LookupTest {
static Properties props = null;
public static void main(String[] args) {
try {
props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
props.put(Context.PROVIDER_URL, "iiop://localhost:3700");
Context ctx = new InitialContext(props);
System.out.println( "the context is: " + ctx);
System.out.println( "the environment contains: " + ctx.getEnvironment() );
System.out.println( " ");
// do a lookup.
Object elementObj = ctx.lookup("SerialContextProvider");
System.out.println(elementObj);
} catch (NamingException e) {
e.printStackTrace();
When I run this app, there are no Errors or Exceptions. It appears that the connection succeeds. But there are no EJB references in the context that is created. The only item that seems to be present in the context is an item named "SerialContextProvider", as noted in the return value from a list("") method invocation. Why can i not see the EJB within the context? Is my code wrong ??
Thanks,
Andy Jerpe
Edited by: user1169567 on Nov 28, 2010 12:12 PMOk, but the communication seems to be OK over the wire because if I use netstat -a I can see the ESTABLISHED connection with the server in the right RMI port.
TCP PORTAL35:1581 caapiranga:12405 ESTABLISHED
and then when I stop the instance in the OAS, the client shows an exception telling that the connection was lost.
An curious thing is that the ons.log doesn't log this connection ;/ -
Looking for USB-8451 SPI example
Does anyone have a typical SPI example VI for the USB-8451 Interface. I want to program a VI for a SPI device, but I don't know how. This example should include DIO Line programming as well, if possible.
Hello thmsfrst,
http://zone.ni.com/devzone/conceptd.nsf/webmain/B380E99DAAD898B38625710F007003C5?OpenDocument
This link shows an example how to the USB8451 and the SPI Interace to evaluate a TI ADC
The example download does not work so i have attached an example for LV8.0 and one for 7.1.
If you have further questions don't hasitate to ask
Stefan
Attachments:
example.7z 92 KB -
Looking for a practical reparenting example.
Hello,
I have noticed a number of CS3 + /AS3 books mention how much
easier reparenting is now in AS3. (which may be true). What I am
struggling with is why anyone would reparent something in the first
place. Any practical examples of why someone would do this and why
it would be a prefered method would be greatly appreciated.
Thanks,MATTANDIE,
> I have noticed a number of CS3 + /AS3 books mention
> how much easier reparenting is now in AS3.
It's not that AS3 makes it easier; it's that AS3 makes it
possible.
> What I am struggling with is why anyone would reparent
> something in the first place.
The example I tend to use -- only because I think it's the
easiest to
grasp, for programmers and nonprogrammers alike -- is a
jigsaw puzzle
application. Imagine a jigsaw puzzle done in Flash, in which
you drag
pieces around in order to construct an image (just like real
life).
Generally, this sort of thing is done with movie clips. The
easiest
approach is to use the native MovieClip startDrag() and
stopDrag() methods.
It can be a nice feature for snapped-together pieces to move
as a single
group. Doing so in AS2 means looping through those
snapped-together pieces
(keeping track of adding them, removing them, etc.) and
moving them all when
any *any one of them* is dragged.
Doing so in AS3 potentially means removing them from their
current
parent (say, the main timeline) and adding them to a new
parent (a container
just for snapped-together pieces). To move the whole group,
all you have to
do is apply a drag/drop routine to that one object.
> Any practical examples of why someone would do this and
> why it would be a prefered method would be greatly
appreciated.
I can think of other example, off the top of my head. You
might be
coding up a game in which numerous enemies are chasing the
hero. By
reparenting those enemies into a single group, you can run a
hittest against
the combined object to discern when the hero is coming too
near *any* of
them. When that happens, you could then determine which enemy
is the
closest, and remove that one entity from the group,
reparenting it to the
same timeline as the hero. In this way, you could focus your
hittest
routine on as few objects as possible, whereas in AS2 you
might have had all
your enemies "loose" in the same timeline as the hero. Your
hittests might
either be lesser optimised (always looping among all enemies)
or less
accurate (all in one group) -- but couldn't enjoy the best of
both worlds.
Does that help?
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Looking for good first example for RSS
Hello,
I am looking for a good code example which will guide me how to use RSS at the portal. Can anyone please direct me to such example?Hi Roy,
I am posting a xslt that filters the news by searching for any news that has "Troops" and "Pope" in the title of the news. I can send you the complete par if you email me your address at [email protected] You owe me lunch buddy. :). The following xslt is for http://rss.news.yahoo.com/rss/world feed.
[code]<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="/rss/channel">
<a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
<xsl:for-each select="item">
<xsl:variable name="titlestring"><xsl:value-of select="title"></xsl:value-of></xsl:variable>
<xsl:variable name="pope">Pope</xsl:variable>
<xsl:variable name="troops">Troops</xsl:variable>
<xsl:if test="contains($titlestring,$pope) or contains($titlestring,$troops)">
<table>
<tr>
<td class="urTxtStd">
<a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
</td>
</tr>
<tr>
<td class="urTxtStd">
<xsl:value-of select="description"/>
</td>
</tr>
</table>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>[/code]
Message was edited by: Prakash Singh -
Calling an EJB deployed in OC4J from Java Stored Proc in Oracle
Hello!
Trying to make a call to an EJB deployed in OCJ4 from a oracle java stored proc. After loaded orion.jar and crimson.jar lib into SCOTT schema, I can't get the JNDI Context working because of this error:
============================================
javax.naming.NoInitialContextException: Cannot instantiate class:
com.evermind.server.ApplicationClientInitialContextFactory. Root exception is
java.lang.ClassNotFoundException:
com/evermind/server/ApplicationClientInitialContextFactory
at java.lang.Class.forName0(Class.java)
at java.lang.Class.forName(Class.java)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java)
at javax.naming.InitialContext.init(InitialContext.java)
at javax.naming.InitialContext.<init>(InitialContext.java)
===============================
I did load the java with "loadjava" with on time with the "resolve" option and time time no option and still no working.
Here is the EJB client code:
=======================================
import java.sql.*;
import java.util.*;
import javax.naming.*;
import com.evermind.server.ApplicationClientInitialContextFactory;
class EmpRemoteCall {
public static void main(String[] args) {
System.out.println(getEmpName());
public static String getEmpName() {
String ejbUrl = "java:comp/env/ejb/Emp";
String username = "admin";
String password = "admin";
Hashtable environment = new Hashtable();
environment.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.ApplicationClientInitialContextFactory");
environment.put(Context.PROVIDER_URL, "ormi://127.0.0.1/testemp");
environment.put(Context.SECURITY_PRINCIPAL, username);
environment.put(Context.SECURITY_CREDENTIALS, password);
//environment.put(Context.SECURITY_AUTHENTICATION, ServiceCtx.NON_SSL_LOGIN);
//environment.put(javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
com.kboum.sertir.essais.EmpHome homeInterface = null;
try {
Class.forName("com.evermind.server.ApplicationClientInitialContextFactory", true, ClassLoader.getSystemClassLoader());
System.out.println("Creating an initial context");
Context ic = new InitialContext(environment);
System.out.println("Looking for the EJB published as 'java:comp/env/ejb/Emp'");
homeInterface = (com.kboum.sertir.essais.EmpHome) ic.lookup(ejbUrl);
catch (CommunicationException e) {
System.out.println("Unable to connect: " + ejbUrl);
e.printStackTrace();
//System.exit(1);
catch (NamingException e) {
System.out.println("Exception occurred!");
System.out.println("Cause: This may be an unknown URL, or some" +
" classes required by the EJB are missing from your classpath.");
System.out.println("Suggestion: Check the components of the URL," +
" and make sure your project includes a library containing the" +
" EJB .jar files generated by the deployment utility.");
e.printStackTrace();
//System.exit(1);
catch (ClassNotFoundException e) {
System.out.println("Unable to connect: " + ejbUrl);
e.printStackTrace();
//System.exit(1);
try {
System.out.println("Creating a new EJB instance");
com.kboum.sertir.essais.Emp remoteInterface = homeInterface.findByPrimaryKey(Integer.valueOf("7369"));
System.out.println(remoteInterface.getENAME());
System.out.println(remoteInterface.getSAL());
remoteInterface.setSAL(2);
System.out.println(remoteInterface.getSAL());
return remoteInterface.getENAME();
catch (Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
return "error";
nullWhat I did to solve this problem was to
create a simple RMI remote object that
resides outside the database JVM and that
serves as a proxy EJB client for your java
stored procedure. The stored procedure can
invoke a method on the remote RMI object
which then looks up the EJBean's home
interface and invokes the relevant method on
the bean's remote interface, and relays any
return values back to the java stored
procedure.
Hope this helps,
Avi.
null -
Client not able to access EJB deployed in Oracle8i
Hi,
After lot of pains, I was able to deploy EJB in the Oracle8i DB.
Now I am facing problems when the Client makes an request to get the reference of this deployed EJB.
This is the error I receive :
"C:\JDeveloper3.0\java1.2\jre\bin\javaw.exe" -mx50m -classpath "C:\sandeep\JDeveloper3.0\class;C:\JDeveloper3.0\lib\jdev-rt.zip;C:\JDeveloper3.0\jdbc\lib\oracle8.1.5\classes111.zip;C:\JDeveloper3.0\lib\connectionmanager.zip;C:\JDeveloper3.0\li b\javax_ejb.zip;C:\JDeveloper3.0\aurora\lib\aurora_client.jar;C:\JDeveloper3.0\aurora\lib\vbjorb.jar;C:\JDeveloper3.0\aurora\lib\vbjapp.jar;C:\JDeveloper3.0\aurora\lib\vbjtools.jar ;C:\JDeveloper3.0\aurora\lib\vbj30ssl.jar;C:\sandeep\JDeveloper3.0\project\MyEJBRemoteSource.jar;C:\sandeep\JDeveloper3.0\project\MyEJBRemoteGenerated.jar;C:\JDeveloper3.0\java1.2\ jre\lib\rt.jar;C:\JDeveloper3.0\lib\jboejb.jar" LearnEJBPack.EJBClient
Creating an initial context
Looking for the EJB published as 'test/MyEJBClass'
java.lang.NoClassDefFoundError: oracle.aurora.rdbms.ClassResolver
java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContextFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)
javax.naming.Context javax.naming.spi.NamingManager.getURLContext(java.lang.String, java.lang.Object, java.util.Hashtable)
javax.naming.Context javax.naming.spi.NamingManager.getURLContext(java.lang.String, java.util.Hashtable)
javax.naming.Context javax.naming.InitialContext.getURLOrDefaultInitCtx(java.lang.String)
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
void LearnEJBPack.EJBClient.main(java.lang.String[])
Exception in thread main
I donot understand why it is not able to find
oracle.aurora.rdbms.ClassResolver.
Do I also need to load some other classes also?
Let me know.
Thanks
Sandeep
Details : JDeveloper 3.0 Oracle 8.1.5i Windows 2000Hi Giri,
In SQL Server Help file content are i pasted here
Using the Local Service Account
The Local Service account is a special, built-in account that is similar to an authenticated user account.
The Local Service account has the same level of access to resources and objects
as members of the Users group. This limited access helps safeguard your system
if individual services or processes are compromised. Services that run as the Local
Service account access network resources as a null session with no credentials.
Using the Network Service Account
The Network Service account is a special, built-in account that is similar to an authenticated
user account. The Network Service account has the same level of access to resources and
objects as members of the Users group. Services that run as the Network Service account
access network resources using the credentials of the computer account.
Important:
Microsoft recommends that you do not use the Network Service account for the SQL Server
or SQL Server Agent services. Local User or Domain User accounts are more appropriate
for these SQL services.
Using the Local System Account
The Local System account is a highly privileged account; use caution when assigning
Local System permissions to SQL Server service accounts.
Security Note:
To increase the security of your SQL Server installation, run SQL Server services under
a local Windows account with the lowest possible privileges.
Regards
Jambulingam.P
Edited by: Jambulingam P on Aug 12, 2009 1:58 PM -
More complex Samples for BC4J/Jdeveloper
Hello oracle,
I'm looking for some more complex examples on JDev. and BC4J than available on the common resources (Auctions, hotel, ...). I finally found, that the .Com-Suite should contain a bigger JSP/BC4J application in source code called '.ComUnity Application'.
The bad thing is, that the link is broken (I've reported it to Oracle, but till now, no reaction). The documentation is available and looks quite interesting.
The download page is: http://technet.oracle.com/dotcom/ComUnity.htm
The link is: http://uksn281.uk.oracle.com/dc_software/Dot-Comunity1.0.zip
I'm really very interested in this package, so maybe you can fix this link or give me information, where I can find this application.
Thank you very much,
Ralf.While we are on the subject of 'more complex BC4J samples', I would like to draw your attention to the new 'OnlineOrders' sample.
A good place to start is:
Help|Help Topics -> Tutorials and Sample Applications -> Tutorials -> Building Enterprise Applications with BC4J
Regards,
Arun -
when I run the snippet generated client for the EJB deployed on OAS, I have this error:
java.lang.NoClassDefFoundError: EJBPack.AppEJBHomeHelper
at oracle.oas.container.corba.RemoteObject.narrow(Compiled Code)
at oracle.oas.container.corba.RemoteObject.narrow(Compiled Code)
at javax.rmi.PortableRemoteObject.narrow(Compiled Code)
at EJBPack.AppEJBClient.main(Compiled Code)
Any help well be appreciated???
Many thanks.
Xtophe
nullHi Mak_GK,
Sorry for the late answer.
Make sure that your client project has the following libraries:
JDeveloper runtime
Oracle 8.1.5 JDBC
Connection Manager
<your generated jar file from the EJB>
JBO Runtime
OAS Runtime
JBO OAS Runtime
Also, sometimes it helps to stop and re-start OAS after deploying your EJB.
Xtophe
Maybe you are looking for
-
How can I print from ipad2 via airport extreme to hp printer on USB.
Is there a way to get iPad2 to print via airport extreme to a non wireless hp printer?
-
DFSR performance question - high latency and high bandwidth - windows 2012r2
Hello, first question here... We have a pair of backup servers, connected with a 1G WAN link (290 ms latency). I am replicating backup files (mainly SQL files) between them (one-way), for DR/BCP purposes. a Get-DfsrState regularly shows hundreds o
-
Scanned credit card details cloned
Hi I was trying to book a holiday online tonight and when entering the card details I used the 'scan card details' feature. The payment failed so I tried again. Before trying a third time I called my bank who told me that my credit card had just been
-
Step by step process for Implementing Intercompany Returns. What I know: 1) Return Sales Order <b>My Status:</b> Clear about how Return Sales Order created in Sales Order Sales Organization 2) Return Delivery <b>My Status:</b> Not Clear. Where shoul
-
Voice Routing: Normalization Rule vs. Route
We're just testing some Enterprise Voice stuff within our Lync Environment but there's still one Thing not clear to me: On the specific user tab, we're able to assign a "Dial plan policy" and a "Voice policy" In the Dial plan policy we're able to ent