Jdeveloper tutorial for Toplink

Hi There,
I am a beginner to toplink using Jdeveloper 11g. Please provide me step by step guide or tutorial for creating EJB 3.0 using toplink in Jdeveloper 11g.
Awaiting for your kind reply.
Thanks

Hi,
Check
http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_51/jdtut_11r2_51_1.html
http://docs.oracle.com/cd/E16162_01/user.1112/e17455/dev_ejb_jpa.htm#OJDUG954
http://docs.oracle.com/cd/E12839_01/web.1111/b32441/jdev.htm
http://www.packtpub.com/article/building-ejb3-persistence-model-with-oracle-jdeveloper

Similar Messages

  • Is there any tutorial for jms development with jdeveloper out there ?

    Hi
    Thank you for reading my post
    is there any tutorial which show us how to use jdeveloper +oc4j for JMS stuff ?
    I mean an end 2 end tutorial to build mdb+jms resources in oc4j + client
    it will be far better if the tutorial shows how we can use jdeveloper features for this task (if it provide any wizard...)

    This is an example of a client:
    public String listeningJMS (Context context) throws Exception
    String topicName = "jms/demoTopic";
    String topicConnectionFactoryName = "jms/TopicConnectionFactory";
    TopicConnectionFactory topicConnectionFactory = null;
    TopicConnection topicConnection = null;
    TopicSession topicSession = null;
    Topic topic = null;
    TopicSubscriber topicSubscriber = null;
    TextMessage message = null;
    String fileName = null;
    * Look up connection factory and topic. If either does
    * not exist, exit.
    try
    topicConnectionFactory = (TopicConnectionFactory)
    context.lookup(topicConnectionFactoryName);
    topic = (Topic) context.lookup(topicName);
    * Create connection.
    * Create session from connection; false means session is
    * not transacted.
    * Create subscriber.
    * Register message listener (TextListener).
    * Receive text messages from topic.
    * When all messages have been received, enter Q to quit.
    * Close connection.
    topicConnection =
    topicConnectionFactory.createTopicConnection();
    topicSession =
    topicConnection.createTopicSession(false,
    Session.AUTO_ACKNOWLEDGE);
    topicSubscriber =
    topicSession.createSubscriber(topic);
    topicConnection.start();
    System.out.println("Receiving: ");
    TextMessage msg = (TextMessage) topicSubscriber.receive();
    String xmlString =msg.getText();
    topicConnection.close();
    System.err.println("Received: "+xmlString);
    fileName = this.getFileName(msg.getText());
    } catch (Exception e) {
    throw e;
    } finally {
    if (topicConnection != null) {
    try {
    topicConnection.close();
    } catch (JMSException e) {throw e;}
    return fileName;
    public static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome1" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:12401");
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    return new InitialContext( env );
    }

  • Is there a bug in the WebService tutorial for JDeveloper 9i?

    In reading through the JDeveloper 9i tutorial for building a web service, the final step generates the DateTimeServiceStub.java, but the testing that follows does not use this class, it uses the DateTimeService class.
    I built a Web Service based on the this tutorial and when I test with "MyClass.java" it works fine, but when I try to use "MyClassStub.java" it throws the ClassNotFound Exception below:
    java.lang.NoClassDefFoundError: HTTPClient/ModuleException
         at mypackage.RandomQuoteStub.<init>(RandomQuoteStub.java:21)
         at mypackage.RandomQuoteServlet.doGet(RandomQuoteServlet.java:27)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    If we are supposed to use the Stub methods, any thought as to why it fails?
    If we are NOT supposed to use the Stub methods, any thought as to why they are generated.
    (Yes, I am a bit new to Web Service development).
    Thanks in advance for any answers,
    RB

    Hi Richard,
    I ran into another problem when I tried to create a web service and call this web service following the tutorial from Oracle9i JDeveloper Release 2.
    The following error message occured after I ran DateTimeClient class:
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
              &lt;DIV class=Section1&gt;
              &lt;P class=MsoNormal
              style=&quot;mso-list: none; mso-list-ins: &apos;&apos; 19991102T2025&quot;&gt;&amp;nbsp;
              &lt;/P&gt;
                  &lt;TABLE border=1 cellPadding=0
              style=&quot;BORDER-BOTTOM: 4.5pt outset; BORDER-LEFT: 4.5pt outset; BORDER-RIGHT:
              4.5pt outset; BORDER-TOP: 4.5pt outset; WIDTH: 100%; mso-cellspacing: 1.5pt&quot;
              width=&quot;100%&quot;&gt;
              &lt;TBODY&gt;
                 &lt;TR&gt;
                 &lt;TD     
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;22%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;&lt;B&gt;Problem Report&lt;/B&gt;&lt;/P&gt;
                 &lt;/TD&gt;
                 &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;78%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;The Web proxy was not able to authenticate you through
                    the authentication server because:&amp;#32&amp;#32&lt;b&gt;General authentication failure due to bad user ID or authentication token.&lt;/b&gt;
                    You will not be able to browse the Web through this proxy until your
                    credentials can be retrieved and verified.&lt;/P&gt;
                 &lt;/TD&gt;
                 &lt;/TR&gt;
                 &lt;tr&gt;
                 &lt;td
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;22%&quot; valign=&quot;top&quot;&gt;
              &lt;p class=MsoNormal&gt;&lt;b&gt;Message ID&lt;/b&gt;&lt;/p&gt;
                  &lt;/td&gt;
                  &lt;td
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;22%&quot; valign=&quot;top&quot;&gt;
              &lt;p class=MsoNormal&gt;PROXY_AUTH_FAIL_OTHER
              &lt;p&gt;&lt;/p&gt;
                  &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;TR&gt;
                  &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;22%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;&lt;B&gt;Problem Description&lt;/B&gt;&lt;/P&gt;
                  &lt;/TD&gt;
                  &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;78%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;The user verification was not successful.&lt;/P&gt;
                  &lt;/TD&gt;
                  &lt;/TR&gt;
                  &lt;TR&gt;
                  &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              ADDING-TOP: 0.75pt&quot; width=&quot;22%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;&lt;B&gt;Problem Cause&lt;/B&gt;&lt;/P&gt;
                  &lt;/TD&gt;
                  &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;78%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;This might be due to transient network problems or due to the
                    user&apos;s not being authorized to use this Web proxy.&lt;/P&gt;
                 &lt;/TD&gt;
                 &lt;/TR&gt;
                 &lt;TR&gt;
                 &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;22%&quot; valign=&quot;top&quot;&gt;
              &lt;P class=MsoNormal&gt;&lt;B&gt;Possible Solution&lt;/B&gt;&lt;/P&gt;
                 &lt;/TD&gt;
                 &lt;TD
              style=&quot;PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt;
              PADDING-TOP: 0.75pt&quot; width=&quot;78%&quot; valign=&quot;top&quot;&gt;
                          &lt;P class=MsoNormal&gt;Contact your network support team
                                  if this problem persists, and provide the team your
                                  account information.&lt;/P&gt;
                 &lt;/TD&gt;
                 &lt;/T
         java.lang.String org.apache.soap.rpc.Call.getEnvelopeString(org.apache.soap.transport.SOAPTransport)
         org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
         java.lang.String datetimeclientpackage.DateTimeClientStub.getDate()
         void datetimeclientpackage.DateTimeClient.main(java.lang.String[])
    Exception in thread main
    Process exited with exit code 1.
    By the way, I got the correct information when I tried to load:
    (1) http://159.249.94.139:8888
    (2) http://159.249.94.139:8888/soap/servlet/soaprouter
    which means that oc4j and SOAP server are running properly.
    Do you have any idea what went wrong?
    Thank you in advance.
    - Hao

  • JDeveloper - problems with Tutorial for Java EE Developers

    Hi,
    I am trying to start learning Oracle J2EE technologies, and I am using the Oracle "Tutorial for Java EE Developers (10.1.3.1.0)" listed in the Oracle Application Server 10g (10.1.3) page: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html.
    I am having problems in chapter 2, at the creating EJB 3.0 Persistence Entities stage, when using the Create Entities from Tables Wizard. Basically, when I select all the tables from the SRDEMO schema and attempt to create the Java classes, only the first table objects are created - ExpertiseAreas.java and ExpertiseAreasPK.java. I do not get any error messages, so I am not sure why the other table objects are not created.
    If I then use the Wizard to select tables individually, the objects are created. However, they appear to be missing some details - specifically the @OneToMany annotation.
    Has anyone encountered this same issue, or are there any known issues with this tutorial.
    I am using version 10.1.3.4 of JDeveloper, on a 10g (10.2) XE database. I installed the version of JDeveloper without JDK included. I have a Sun Java EE 5 SDK Udate 5 (JDK 6u7) install of JDK.
    Thanks,
    Fraser

    Please refer
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/ejb_30.htm
    http://www.oracle.com/technology/tech/java/oc4j/ejb3/howtos/howtoejb30mappingannotations/doc/how-to-ejb30-mapping-annotations.html#onetomany

  • Need  one to many toplink+Jdeveloper tutorial with example

    Hi
    I need tutorial with example of one to many with Toplink+J developer
    Thanks
    Edited by: user11802935 on Aug 18, 2009 1:06 PM

    Hi,
    The following links should get you started.
    EclipseLink JPA + Eclipse
    http://wiki.eclipse.org/EclipseLink/Examples/JPA
    JDeveloper tutorials
    http://www.oracle.com/technology/products/jdev/index.html
    TopLink + JDeveloper tutorial
    http://www.oracle.com/technology/obe/obe11jdev/bulldog/ejb_jpa_jsf/ejb.html
    @OneToMany documentation
    http://wiki.eclipse.org/Introduction_to_EclipseLink_JPA_%28ELUG%29#.40OneToMany
    thank you
    /michael
    www.eclipselink.org

  • OAF tutorial for Jdeveloper 10g is showing 9i version options

    Hi,
    I have been finding so hard to cope up with the OAF tutorial with Jdeveloper 10g. It does not include the options in the screenshots which are in 10g. I think they haven't updated it for this version and they are from 9i. It is very hard to find the same option in 10g version for example, i am not able to find out "Business Component Package wizard" in 10g. Please help me in finding out the right tutorial for 10g version.
    Thanks,

    Yes, the tutorials for 10G Jdev are not the updated ones and menus to work with are a bit changed now.
    We have discussed this earlier also. Check on the old threads and you will find the correct navigation for BC4J components. Right now I don't have a r12 based jdev on my system and don't remember the exact navigation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Best tutorial using open source technology with jdeveloper 11g for beginner

    Best tutorial based on Jdeveloper 11g myfaces, Spring , hibernate and oracle xe or mysql using tomcat server.
    Is there any tutorial like followed link. Using jdeveloper 11g.
    http://www.javaguicodexample.com/javawebjpajsfmysqldatabase12.html
    also like netbean tutorial in jdeveloper 11g.
    http://netbeans.org/kb/67/web/jastrologer-intro.html
    http://netbeans.org/kb/67/web/jastrologer-validate.html
    http://netbeans.org/kb/67/web/jastrologer-jsfformtags.html
    Jdeveloper 11g always go with wizard. I personally like visual jsf desinger of jdeveloper.
    But other thing i want to code. To understand properly.
    I am following following tutorial in jdeveloper 11g
    http://wowjava.wordpress.com/2010/01/21/jsf-database-application/
    Edited by: prafull on May 26, 2010 5:37 PM

    There isn't an end to end tutorial with the stack you are looking at, but:L
    You can start with this tutorial that uses EclipseLink for JPA to build the model layer:
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ejb/ejb.html
    Here is a little example of how you can use Trinidad components (open source) in JDeveloper 11g for visual JSF development:
    http://blogs.oracle.com/shay/2009/02/using_trinidad_in_jdeveloper_1.html
    using MySQL would just mean adding the MySQL JDBC driver to JDeveloper, and to the integrated WebLogic - like this:
    http://jobinesh.blogspot.com/2009/06/adf-with-mysql.html

  • Problems with the ADF Tutorial for J2EE developers.

    Hi guys.
    I have completed the ADF tutorial for 4GL developers withhout any major hickups. Now I have been doing the ADF tutorial for J2EE developers (locate here http://www.oracle.com/technology/obe/adf_tutorial_1013/index.htm).
    I ran into some problems around chapter 6 and after failing understanding the errors I loaded up the applicationscripts from the tutorial. However, I get an error from this script. I have tried to load up both end of chapter 5,6 and 7 and get the same error. So now I am at a total loss. So, I am turning to you. I have copied the entire error message below.
    Unfortunately JDeveloper translates some keywords to Norwegian and I have tried to translate them back into english. Forgive me if its not 100% accurate but i think you will understand the keyword. I've translated these four keywords:
    - Internal Exception
    - I/O-exception
    - Errorcode
    - Exception
    The error message:
    2006-08-08 09:41:53.081 ERROR J2EE EJB8006 [SRPublicFacade:public oracle.srdemo.datamodel.Users oracle.srdemo.datamodel.SRPublicFacadeBean.findUserByEmail(java.lang.String)] exception occurred during method invocation: javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
    2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-08-08 09:41:53.111 WARNING JBO-29000: javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    Thanks for any help though.

    Hi,
    I tried to follow the tutorial using a mysql database, everything was fine till I tried to run the application I`ve got this error. Please help me, I can't resolve this problem. I test the jdbc driver and it is ok, I can use it from a simple java class but I can not use it from the web project.
    [TopLink - Información]: 2006.08.09 12:52:08.238--ServerSession(1209)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--TopLink, versión: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
    [TopLink - Configuración]: 2006.08.09 12:52:08.254--ServerSession(1209)--Connection(1210)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--conectando (DatabaseLogin(
         plataforma=>MySQL4Platform
         nombre de usuario=> "saep"
         URL de origen de datos=> "jdbc:mysql://localhost/saep"
    [TopLink - Grave]: 2006.08.09 12:52:09.254--ServerSession(1209)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--Pila de Excepciones Locales:
    Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0
         at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:46)
         at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:51)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
         at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:64)
         at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
         at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:221)
         at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
         at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:81)
         at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:304)
         at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:431)
         at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:511)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:317)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
         at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
         at com.saep.negocio.SecretariaServiciosEJBBean.findAllAlumno(SecretariaServiciosEJBBean.java:81)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
         at SecretariaServiciosEJBLocal_StatelessSessionBeanWrapper0.findAllAlumno(SecretariaServiciosEJBLocal_StatelessSessionBeanWrapper0.java:69)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:504)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1796)
         at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:216)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1287)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
         at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:625)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:160)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:542)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1420)
         at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1403)
         at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2641)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2484)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2257)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:545)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:62)
         ... 77 more
    2006-08-09 12:52:09.270 ERROR J2EE EJB8006 [SecretariaServiciosEJB:public java.util.List com.saep.negocio.SecretariaServiciosEJBBean.findAllAlumno()] exception occurred during method invocation: javax.ejb.EJBException: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0; nested exception is: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0
    2006-08-09 12:52:10.770 WARNING rowIterator is null
    2006-08-09 12:52:10.770 WARNING rowIterator is null

  • "ADF Databinding for TopLink" - only one record?

    I went through this tutorial <http://otn.oracle.com/products/jdev/collateral/tutorials/9050/toplinkdatabinding_tut.html> and have successfully run it in the IDE, however, it only ever displays one record -- the paging buttuns don't seem to do anything.
    The only step where I think I might have introduced some error was in the renaming of the 'untitled.uix' file -- so for a while I would up with two uix files, and perhaps my struts flow page is not right.
    Should the 'browseDepartmentsDataAction' be pointing at itself?

    Ben,
    We are now successfully deploying from JDev 10g preview to OC4J 9.0.4. We /don't/ do the 'install runtimes' from JDev, and our WEB-INF\lib looks like this:
    03/17/2004  06:30p             235,178 bc4j_jclient_common.jar
    03/17/2004  06:30p             780,340 bc4jct.jar
    03/17/2004  06:30p             300,697 bc4jhtml.jar
    03/17/2004  06:30p           1,556,232 bc4jmt.jar
    03/17/2004  06:30p              40,883 bc4juixtags.jar
    03/17/2004  06:30p             259,265 collections.jar
    03/17/2004  06:30p             118,726 commons-beanutils.jar
    03/17/2004  06:30p             165,119 commons-collections.jar
    03/17/2004  06:30p             109,096 commons-digester.jar
    03/17/2004  06:30p             112,307 commons-el.jar
    03/17/2004  06:30p              22,379 commons-fileupload.jar
    03/17/2004  06:30p              63,980 commons-lang.jar
    03/17/2004  06:30p              31,605 commons-logging.jar
    03/17/2004  06:30p              46,865 commons-validator.jar
    03/17/2004  06:30p             133,694 datatags.jar
    03/17/2004  06:30p              16,982 graphtags.jar
    03/17/2004  06:30p              65,368 jakarta-oro.jar
    03/17/2004  06:30p               3,086 jsp-el-api.jar
    03/17/2004  06:30p           5,676,773 oc4j.jar
    03/17/2004  06:30p             815,637 ojc.jar
    03/17/2004  06:30p               3,503 oracle-el.jar
    03/17/2004  06:30p              29,871 regexp.jar
    03/17/2004  06:30p              53,389 servlet.jar
    03/17/2004  06:30p              55,994 share.jar
    03/17/2004  06:30p             498,051 struts.jar
    03/17/2004  06:30p           3,539,611 toplink.jar
    03/17/2004  06:30p           2,752,707 uix2.jar
    03/17/2004  06:30p               2,147 uixadfrt.jar
    03/17/2004  06:30p             974,690 xercesImpl.jar
    03/17/2004  06:30p             186,926 xmlcomp.jar
    03/17/2004  06:30p             687,065 xmlparserv2.jarIt sounds to me like something in your workspace is not in synch for the taglibs you're using. Note that JDeveloper automatically ads tld files to your project when you select taglibs, but if you're keeping your project in CVS and didn't add those files, then they may not be present if you check out your project on another machine.
    Also, we still have to copy the sessions.xml from classes/META-INF to classes/ in order for TopLink to find it.
    The sealing violation is probably from either a duplication of jars on your path, or JDeveloper opened up a jar into your WEB-INF/classes directory and the class is complaining that it's not in its original jar (or something like that.)
    Hope that helps...

  • I have problems with step-by-step tutorial for ejb3.0

    I have seen the step-by-step tutorial for ejb3.0 using Jdeveloper and Oracle Application Server following the link: http://www.oracle.com/technology/products/jdev/101/tutorials/ejb_30/ejb_30.htm
    The tutorial uses an Oracle database.
    I tried to use a MSSQLServer 2000 database instead of the Oracle database an i got the folowing error:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:68)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at buslogic.HRAppFacadeClient.main(HRAppFacadeClient.java:11)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:641)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:46)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:86)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:151)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:235)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:55)
         ... 2 more
    What should i change to make it work with the MSSQLServer 2000 database?
    Could anyone help me with this problem?
    Thanx!!

    Hi,
    I don't know the example but maybe I can give you some hints though. Your stacktrace doesn't look to be related to a datasource issue. So I see two questions:
    1) What's about the error?
    2) How to change the datasource from Oracle to MS SQLServer 2000?
    Hope you didn't start at the end of the tutorial! ;-)
    1)
    The client tries to connect to the RMI-port of an OC4J instance to do some JNDI lookups, but cannot connect to the server socket.
    Some questions:
    Is your OC4J instance up and running BEFORE you start the client?
    If you answer with yes:
    Which port does the RMI server listen on? (netstat -a)
    Is this port the same the client tries to use?
    If you answer with yes:
    Do you connect locally or via a network (do you use a firewall)?
    2) The steps should include:
    a) Create the database schema in SQLServer (this might include a conversion of ORACLE specific SQL to SQLServer specific syntax, Sequences and stuff like that)
    b) Add the correct JDBC.Driver to your project
    c) Create and test the datasource (try to use JDev)
    d) Make sure that the EJB3 persistence implementation of OC4J (toplink) does support all necessary features of the MS Database. For example I'm not sure if native db sequences are supported for other RDBMS than Oracle. Don't know if you need them for your example
    In theory this should all be quite simple and you don't have to write db specific code. ;-)
    Hope this helps. If not, please ask more specifically!
    Regards,
    Eric

  • A good tutorial for Oracle BI Publisher

    Hi,
    I am new to BI Publisher. I'm using JDeveloper 10.1.3.2 and want to build reports in it. I found BI Publisher a good tool for building reports, based on its features on OTN and now I want a good working tutorial for using it. Is there anything?
    Thanks,
    S/\EE|)

    Hi Saeed, a good starting point would be the BI Publisher user guide. Please check the link for the documentation on the latest release: http://www.oracle.com/technology/documentation/bi_pub.html
    Also when you install the desktop installation, you will find some sample template and XML data at - "C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\samples" or the path where you installed it.
    In case you plan to use APIs, sample codes are available in the user guide. And if you are in EBS environment, I am sure you will like the blog link maintained by Tim on how to get started with APIs: http://blogs.oracle.com/xmlpublisher/newsItems/departments/xmlpForEBusinessSuite/2007/03/12

  • JDeveloper tutorial fails with java.sql.SQLException: ORA-00600

    In following the steps to the JDeveloper tutorial, after I successfully created and tested my connections, I proceeded on to run ImageLoader.java (Under DatabaseSetup.jws), and it returns an exception. The debug output log is as follows:
    Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Stringmanager using default locale: 'null'
    [03] BC4JDeployPlatform: LOCAL
    [04] Propertymanager: searching for file and system based properties
    [05] {{ begin Loading BC4J properties
    [06] -----------------------------------------------------------
    [07] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [08] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [09] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [10] Skipping empty Property ConnectionMode from System Default
    [11] Skipping empty Property HostName from System Default
    [12] Skipping empty Property ConnectionPort from System Default
    [13] Skipping empty Property ApplicationPath from System Default
    [14] Skipping empty Property java.naming.security.principal from System Default
    [15] Skipping empty Property java.naming.security.credentials from System Default
    [16] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [17] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [18] BC4J Property jbo.pers.max.active.nodes='10' -->(SessionImpl) from System Default
    [19] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.OraclePersistManager' -->(SessionImpl) from System Default
    [20] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [21] Skipping empty Property JBODynamicObjectsPackage from System Default
    [22] BC4J Property MetaObjectContextFactory='oracle.jbo.server.xml.DefaultMomContextFactory' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [23] BC4J Property MetaObjectContext='oracle.jbo.server.xml.XMLContextImpl' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [24] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [25] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [26] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [27] Skipping empty Property HandleName from System Default
    [28] Skipping empty Property Factory-Substitution-List from System Default
    [29] Skipping empty Property jbo.project from System Default
    [30] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [31] BC4J Property jbo.dofailover='true' -->(MetaObjectManager) from System Default
    [32] BC4J Property jbo.doconnectionpooling='false' -->(MetaObjectManager) from System Default
    [33] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
    [34] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [35] BC4J Property RELEASE_MODE='Reserved' -->(MetaObjectManager) from System Default
    [36] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
    [37] Skipping empty Property PoolClassName from System Default
    [38] BC4J Property jbo.maxpoolsize='2147483647' -->(MetaObjectManager) from System Default
    [39] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [40] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [41] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [42] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [43] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [44] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [45] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [46] BC4J Property oracle.jbo.defineColumnLength='true' -->(MetaObjectManager) from System Default
    [47] Skipping empty Property jbo.tmpdir from System Default
    [48] Skipping empty Property jbo.server.internal_connection from System Default
    [49] Skipping empty Property SessionClass from System Default
    [50] Skipping empty Property TransactionFactory from System Default
    [51] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [52] BC4J Property jbo.debug.prefix='DBG' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [53] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [54] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [55] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [56] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [57] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [58] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [59] BC4J Property jbo.ejb.txntimeout='60' -->(SessionImpl) from System Default
    [60] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
    [61] Skipping empty Property oracle.jbo.schema from System Default
    [62] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
    [63] }} finished loading BC4J properties
    [64] -----------------------------------------------------------
    Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [65] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [66] JavaVMVersion: 1.2.351 odv
    [67] JavaVMVendor: Oracle Corp.
    [68] JavaVMName: OJVM VM
    [69] OperatingSystemName: Windows NT
    [70] OperatingSystemVersion: 5.0
    [71] OperatingSystemUsername: Administrator
    [72] Connected to Oracle JBO Server - Version: 3.2.9.76.3
    [73] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'ImageLoader.ImageLoaderModule'
    [74] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.ImageLoaderModule
    [75] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.ImageLoader
    [76] Loading from /ImageLoader/ImageLoader.xml file
    [77] Loading from indvidual XML files
    [78] Loading the Containees for the Package 'ImageLoader.ImageLoader'.
    [79] }}+++ End Event10003 null
    [80] Loading from /ImageLoader/ImageLoaderModule.xml file
    [81] }}+++ End Event10002 null
    [82] {{+++ id=10003 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.InventoryItem1View
    [83] Loading from /ImageLoader/InventoryItem1View.xml file
    [84] ViewObjectImpl's default fetch mode = 0
    [85] {{+++ id=10004 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.InventoryItem
    [86] Loading from /ImageLoader/InventoryItem.xml file
    [87] Loading Typemap entries from oracle.jbo.server.OracleTypeMapEntries
    [88] CSMessageBundle (language base) being initialized
    [89] }}+++ End Event10005 null
    [90] OracleSQLBuilder reached getInterface
    [91] Oracle SQL Builder Version 3.2.0.0.0
    [92] }}+++ End Event10004 null
    [93] {{+++ id=10005 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'InventoryItem1View'
    [94] }}+++ End Event10006 null
    [95] Created root application module: 'ImageLoader.ImageLoaderModule'
    [96] Locale is: 'en_US'
    [97] }}+++ End Event10001 null
    [98] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [99] DBTransactionImpl Max Cursors is 50
    [100] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [101] {{+++ id=10006 type: 'JDBC_CONNECT' null
    [102] Trying connection/1: url='jdbc:oracle:thin:bc4j/bc4j@localhost:1521:oracle9i'...
    [103] }}+++ End Event10007 null
    [104] Successfully logged in
    [105] JDBCDriverVersion: 8.1.7.0.0
    [106] DatabaseProductName: Oracle
    [107] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production
    [108] Column count: 8
    [109] {{+++ id=10007 type: 'EXECUTE_QUERY' ViewObject executeQueryForCollection InventoryItem1View
    [110] {{+++ id=10008 type: 'VIEWOBJECT_GETSTATEMENT' Viewobject: InventoryItem1View getting prepared statement
    [111] ViewObject : Created new QUERY statement
    [112] SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
    [113] {{+++ id=10009 type: 'JDBC_CREATE_STATEMENT' createPreparedStatement - prefetch size: 1
    [114] }}+++ End Event10010 null
    [115] }}+++ End Event10009 ViewObject : Creating new QUERY statementSELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
    [116] QueryCollection.executeQuery failed...
    [117] java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
         java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
         java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
         java.util.Enumeration oracle.jbo.common.WeakHashtableImpl.elements()
         java.util.Enumeration oracle.jbo.common.WeakHashtable.elements()
         void oracle.jbo.server.ViewObjectImpl.freeStatement(java.sql.PreparedStatement, boolean)
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
         void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
         boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
         boolean oracle.jbo.server.ViewObjectImpl.hasNext()
         void ImageLoader.ImageLoader.main(java.lang.String[])
    [118] SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
         boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
         boolean oracle.jbo.server.ViewObjectImpl.hasNext()
         void ImageLoader.ImageLoader.main(java.lang.String[])
    ## Detail 0 ##
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
         boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
         boolean oracle.jbo.server.ViewObjectImpl.hasNext()
         void ImageLoader.ImageLoader.main(java.lang.String[])
    Exception in thread main
    At first I thought maybe this is a configuration specific problem -- but I was able to replicate this on two separate machine with clean Win2K and Oracle9i installs.
    It seems like it is not finding a particular class, which leads me to believe that some particular jar is probably missing -- can anyone help me figure out which one? Or is there something else that may be going wrong?
    TIA

    You need to make sure you're using the Oracle9i JDBC driver, or using the Oracle 8.1.7.2 JDBC driver as I mentioned above.
    If you are using JDeveloper9i release 9.0.2 or 9.0.3, the driver you need is in <jdevhome>\jdbc\lib
    Otherwise, you can also download the drivers from OTN.

  • Flash tutorial for BPEL and ESB stuff

    Hi
    Thank you for reading my post
    is there any flash tutorial for BPEL and ESB support of Jdeveloper ?
    something step by step which helps me to learn these features of jdeveloper.
    thanks

    Thank you for the link, it was good.
    I want to ask something that i found confiusing.
    there are more than one BPEL designer (development environment) available from ORacle.
    One is Eclipse based, one is Jdeveloper,...
    i want to know, which one is mature?
    thanks

  • Emp and Dept table from JDeveloper tutorial

    Hi all,
    Under the tutorial for JDeveloper, I was going through the section 'Creating a Java Form Applet Using Wizard'. In one step, it asks to select 'Tables' - 'Emp' and 'Dept', but, the steps prior to that doesn't tell you how to add those tables in the database since I'm using my own database. Does anybody know where I can find the SQLScript to add these tables?
    Regards,
    AR

    The samples are based on the EMP and DEPT tables, which are typically owned by Scott (password tiger). Check first to see if this user exists in the database (it is created automatically when you do a default database creation). Otherwise, you can find the script in ORACLE_HOME\rdbms\admin\scott.sql.
    -- Brian

  • R12 jDeveloper tutorial

    Hello Gurus,
    I cannot find a R12 jDeveloper tutorial.
    Even when i download Jdev patch: p9879989_R12_GENERIC it has a tutorial that seems to be for R11
    Can someone tell me where to find tutorial for R12 (jDev 10.1.3.3.0)
    Many thanks.
    Brian

    BrianK197719781979 wrote:
    Hello Gurus,
    I cannot find a R12 jDeveloper tutorial.
    Even when i download Jdev patch: p9879989_R12_GENERIC it has a tutorial that seems to be for R11
    Can someone tell me where to find tutorial for R12 (jDev 10.1.3.3.0)
    Many thanks.
    BrianOA Framework - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    http://bit.ly/YxZGEb
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Jdeveloper+AND+Tutorial&objID=f210&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Jdeveloper+AND+Tutorial+AND+R12&objID=f210&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for

  • Unable to change window properties after upgrading project from X5 to RH8

    Hi, I just upgraded an existing project from X5 to RH8.  In Windows Properties (HTML Help), if I make any changes and click OK, I receive the following message: "For Width field please enter a value between 65 and 24." If I do enter a value within th

  • Error while transporting the Custom  Selection Screen to Production

    Hi All , I have created a custom selection screen based on selecting the HR REPORT CATEGORY which gets selected under attributes section of an Executable Program. Every selection  screen got replicated till quality  but  at Production unable to see t

  • Failed boot after enabling devmon service with systemctl

    I've recently reinstalled Arch and in trying to get a proper automount solution working I was playing with udevil and devmon. First I disabled and uninstalled ldm, which wasn't working as I wanted. Then installed udevil via pacman. I couldn't find pr

  • Change in PO Price

    Hi Experts, We have a PO created last November 2009.  GR and Vendor Invoice (MIRO) were already processed also on November 2009. There were already sales for all the materials indicated in the PO last December 2009. This February 2010, they wanted to

  • Oracle Application Server 10g Release 3 (10.1.3) to 10.1.3.5.0

    Hello, I'm trying upgrade Oracle Application Server 10g Release 3 (10.1.3) to 10.1.3.5.0. Let me give a background first: I tried to install Oracle AS 10.1.3 but it ran into error because windows firewall was blocking javaw.exe opmn.exe. I had cancel