SMTP Server in JDev's Embedded OC4J

I would like to send an email running an ADF/JSF web page (i.e. the email ADF email demo). One required parameter is the SMTP server. Does JDev's embedded OC4J server have included with it a SMTP server that I can use? If so, how do I get at its name? If not, do I need to download and run an SMTP server separately? If so, what are some recommended SMTP servers?
Thanks!

After adding a DB connection to the BPEL dehydration DB, in the JDEV dev environment, I could not run any application in the embedded OC4J Server. I get the following exception, even after removing the the connection.....
07/03/20 11:57:15 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : oracle.lite.poljdbc.POLJDBCDriver
I was able to resolve the issue copying the olite40.jar to the j2ee/home/applib folder.
I couldn't understand why the embedded oc4j, would try to create connection pool for the db connection set up in the dev environment? also why it didn't go after deleted the same from the dev environment connection?
.....

Similar Messages

  • JDBC datasoure that works for embedded OC4J server of JDeveloper 10.1.3.4

    Hi all,
    I have this in the Application Module as JDBC datasource: java:comp/env/jdbc/DBCON
    That works fine if I deploy the application on Oracle application- or tomcat-server.
    On the connections tab in JDeveloper I have made a database connection with the name DBCON.
    But when I run the application from Jdeveloper with the embedded OC4J server I get this error:
    Unable to lookup Data Source at context java:comp/env/jdbc/DBCON
    What do I do wrong?
    Thanks in advance.

    Hi,
    Edit the <application_name>-data-sources.xml file under the root directory of your application, and setup a managed data source and connection pool with the data source having the correct jndi name, eg. jdbc/DBCON
    You can either do this manually (which I find easier), or use the tool within JDev
    Tools - > Embedded OC4J Preferences -> Current Workspace -> Data Sources -> New
    -chris

  • HELP!!! Failed to start Embedded OC4J Server in JDev

    Hi,
    I have installed Oracle JDeveloper 10.1.2.1.0 and have tried to run simple test(for example index.jsp - Welcome) but I get error. - Failed to start Embedded OC4J Server in JDev
    OC4J with simple test have started well in other computers. This situation first time for me.
    Why OC4J can't start?
    This is OC4J log mess
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config>
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper\j2ee\home\oc4j.jar;C:\JDeveloper\jdev\lib\jdev-oc4j.jar -Dhttp.proxyHost=coates-proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=coatesnet*|phoenix*|ev_evs1*|ev*|evs*|dr002*|dr001*|raptor*|cweb01*|cweb03*|cweb02*|orangepages*|unity*|dw01*|intra-apps*|intranet*|prod02*|prod01*|dev3*|dev2*|dev1*|app03*|app02*|app01*|localhost|127.0.0.1 -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Process exited with exit code -1073741819.
    Help me please!

    Did the setup for JDEV_USER_HOME with the proper path (C:\OAFRAME\jdevhome\jdev) ,
    Keep the dbc file in the directory and setup the front end as well as back end login details in cluding responsibility details.

  • BUG: JDev 10.1.3.0.4 Embedded OC4J Server Preferences

    If we specify in the Embedded OC4J Server Preferences->startup a OC4J installation to use for running and debbuging, click ok, and then delete the choosen directory and try again to access the Embedded OC4J Server Preferences, an error occurs. Appears an dialog and we can not alter this anymore.

    Hi,
    not sure on the limitation of dbms_output.put, but 4000 characters happens to be the maximum size of a varchar2 column....
    I normally use dbms_output.put_line for debugging PL/SQL.
    You could also post in the database forum if you have no luck here.
    regards,
    Brenden

  • JBO-33001 bc4j.xcfg missing with Jdev 9.0.5.1 embedded OC4J

    I've got an application that I've been trying to migrate from Jdev 10g Preview (9.0.5) to Production (9.0.5.1) for a week now. The steps I've had to follow so far are:
    1) Install Jdev 9.0.5.1
    2) Run it and allow all workspaces/settings to be migrated
    3) Shut down and rename the system9.0.5.1.1605 to something else.
    4) Restart and say No to migrate
    5) Open my application workspaces again.
    This procedure seemed to get me correct library settings working with the correct XML schemas. However, now I can't test my BC4J/UIX application. I get the following message when I right-click on a DataAction and choose Run:
    500 Internal Server Error
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /com/paslists/model/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:344)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:328)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    This is happening in the embedded OC4J. How do I fix this?

    I've managed to resolve this error. Somehow, my entire Model project got mis-represented in my ViewController. The package name was "model" in my Model project, yet somehow all of the Binding Contexts (UImodel.xml) files contains "com_paslists_model_..." for the name of my Application Module. To resolve the error, I first had to fix the references to my Application Module in the DataBindings.cpx file. Then, I had to exit Jdev completely and edit the UImodel.xml files by hand, replacing the invalid reference to my DataControl using the correct entry in the DataBindings.cpx file.
    Now, everything seems to function correctly.
    I don't know how this got so messed up, unless it was an error with migration.

  • JDev 10.1.3 EA: Error initializing Embedded OC4J

    I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    05/12/29 13:14:24 Application: system is in state FAILED
    05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
    05/12/29 13:14:24 Fatal error: server exiting
    Process exited with exit code 1.
    Anyone got any ideas?

    Check to see if helps
    Unable to start oc4j in Jdeveloper 10.1.3 EA1
    In my case I got that error when trying to connect to MySQL database when using OC4J

  • JDev 10.1.3: Problem deploying a session bean to embedded OC4J

    JDeveloper 10.1.3, TopLink, OC4J, WinXP, java 1.4.2_05.
    I used TopLink to create a set of Java objects from a DB Schema, then created a simple Session Bean to read some of the objects. Everything compiles fine.
    JAVA_HOME points to the JDK (not JRE) and CLASSPATH is empty (undefined).
    When I try to Run my session bean in the jdeveloper embedded oc4j, I get this message. Thanks in advance for your help.
    Milind
    ===============
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Tools\jdev_10_1_3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config>
    C:\Tools\jdev_10_1_3\jdk\bin\javaw.exe -ojvm -classpath C:\Tools\jdev_10_1_3\j2ee\home\oc4j.jar;C:\Tools\jdev_10_1_3\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Tools\jdev_10_1_3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    05/03/22 14:43:50 Node started with id=127765687050882
    05/03/22 14:43:52 Auto-deploying - applications/admin_ejb.jar (orion-ejb-jar.xml had been updated since the previous deployment)...
    05/03/22 14:43:52 Error initializing server: Error initializing ejb-module; Exception null
    05/03/22 14:43:53 Fatal error: server exiting
    Process exited with exit code 1.

    Error initializing ejb-module;
    Is the EJB Jar structured as
    META-INF/
    ejb-jar.xml
    Bean Class
    Home interface Class
    Remote interface Class
    Does the EJBdeploy in some other server?

  • Not stable Run of the project in Jdev 9.0.3.2 (c embedded OC4J 9.0.4)

    Hello, All!
    I use JDeveloper 9.0.3.2 and embedded OC4J 9.0.4.
    But frequently, at Run project, embedded OC4J (9.0.4) startup occurs to a mistake:
    Target URL -- http://192.168.1.104:8989/Log/index.html
    Copying default deployment descriptor from archive at C:\Work\PS_FRAMEWORK\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\jdev9032_2_oc4j904\jdev\system9.0.3.2.1145\oc4j-config\application-deployments\current-workspace-app\classes...
    Auto-deploying file:/C:/Work/PS_FRAMEWORK/classes/ (No previous deployment found)... done.
    Auto-deploying PS-tests (New server version detected)...
    Auto-deploying PS-tests (New server version detected)...
    Error initializing server: Error loading web-app 'Log' at C:\Work\PS_FRAMEWORK\web\framework: Error writing orion-descriptor: C:\jdev9032_2_oc4j904\jdev\system9.0.3.2.1145\oc4j-config\application-deployments\current-workspace-app\Log\orion-web.xml
    Process exited with exit code 1.
    Repeating it a few times, it is possible in a result to receive required, i.e.
    Oracle9iAS (9.0.4.0.0) Containers for J2EE initialized.
    Whether somebody met something similar and how it to correct?
    Thanks
    Alexandre.

    You might find the sample code which is part of OC4J-howto's useful.
    http://otn.oracle.com/tech/java/oc4j/904/index.html
    http://otn.oracle.com/tech/java/oc4j/904/how_to/how-to-ejb-mdb.zip
    raghu
    JDev Team

  • CMP Beans in JDev embedded OC4J

    Hello,
    I have to solve the following problem:
    We have a Project where a Session Bean calls CMP Entity Beans accessing an Oracle 9.2 database. When we start the Session Bean in the embedded OC4J of our JDev Ver. 9.0.5.1 the container starts to deploy but then it seems to stand still and nothing happens. The following message is displayed until we stop the server manually (After a more then an hour). But on an external OC4J Container it works fine. So how can we start this Bean in JDev? (Is there a way to start ear-files seperatly from JDev?)
    message:
    04/05/26 19:25:07 Auto-deploying - file:/D:/Projekte/transmedia/Entwicklung/db_mapping/classes/ (No previous deployment found)...

    We had a similar problem with a large number of CMPs. The solution was to allocate more memory to OC4J in the project settings under J2EE.
    Mine now looks like this
    ${java} ${jvm} -classpath ${oc4j.jar} -Xms512M -Xmx1024M
    ${memory.archive.flag} ${keep.alive.timeout.flag}
    ${oracle.dms.sensors.flag} ${oracle.jms.lock.flag}
    ${oc4j.main.class} -config ${server.xml}

  • Embeded Oc4j server not starting up in Jdeveloper 10g 10.1.3.0.3

    hi,
    I have created simle hello.jsp , but i try to run it with the embedded OC4j server i get the following error .
    C:\jdk1.4\bin\javaw.exe -client -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=172.16.233.34 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=local.|localhost|127.0.0.1 -Dhttps.proxyHost=172.16.233.34 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=local.|localhost|127.0.0.1 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Sep 30, 2005 6:23:17 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:23 Application: system is in state FAILED
    05/09/30 18:23:23 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/jdev/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:24 Fatal error: server exiting
    Process exited with exit code 1.
    Can anyone help

    The 10.1.3 version of JDeveloper (and the embedded OC4J) requires JDK 5.0 to run.
    You can however set your project to work with JDK 1.4 in the project properties.

  • WAR file don't dpeloy to embedded OC4J for jdev 10.1.2

    Dears,
    I have fresh 10.1.2 installation on windows xp prof, I made web application, and it deploy successfully to tomcat and works fine ( it uses hibernate 3.0.5, struts 1.2.7 ), I try to debug the application into embbeded oc4j
    I receive the Exception ( cannot find ActionMappings or ActionFormBeans collection ), I checked the JEDEVELOPER_HOME\jdev\system10.1.2.0.0.1811 and I searched for my application deployment and I just find the orion-web.xml
    I don't think jdeveloper make the deployment on embedded OC4J, although it says Auto-deploying file ...... (new server version detected) !!!
    I need help in debugging the application on OC4J, or even how to configure remote debugging to work for tomvat 5.5.9
    I was using jdeveloper 9.5.2 and it was working great, I don't know what happened in this version, or it seems I'm missing something.
    Thanks in advance

    I reviewed the solutions, I check all code, and the problem seems that the application should be started before calling the page loaded a startup, which seems logical so struts framework should begin resolving everything.
    I tried to edit the file oc4j-config\default-web-site.xml to make the application load-on-startup="true" but everytime I debug, I find that this file is overwrited everytime I try to debug with load-on-startup="false"
    I even tried to change it manually and close then restart jdeveloper, but each time it is overwritten, do anyine know how to modify it inorder to solve my problem?

  • Embedded OC4J Server - Turn off BC4J debugging

    Hi all,
    I am just switching over from Eclipse(Rational RAD) to JDeveloper and using BC4J. I am struggling a bit with the embedded server under 10.1.2. The console messages roll off the top. Argh.. I want to shut down as much unnecessary logging as possible. BC4J put MANY messages out there. I see a reference to adding -Djbo.debugoutput to the start command in order to turn off the debugging messages. I cannot find where the embedded server is started. It is NOT started from C:\jdev1012\jdev\bin\start-oc4j.bat. Can anyone help with this?
    Thanks,
    --Amy Smith                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Only reason for 10.1.2 is that I just joined the company 6 weeks ago and they had not upgraded to 10.1.3. I very much want to do that but was left with some work that was overdue and can't take the time right now as I understand there are some differences that may make migration difficult...
    Sigh ... I am missing IDE functionality from Eclipse that is in 10.1.3.
    ...Thanks for the help
    ---Amy

  • Starting embedded-oc4j over Win 2003 Server

    Hi, i need some help with this: when i try to start the Jdeveloper embedded-oc4j over Windows 2003 Server, it shows the next in the Messages Log window:
    Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Jdeveloper\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Process exited with exit code 128.
    I`d appreciate if anybody can tell me what i can do!
    Regards!

    Hi,
    please go to Jdev_home\j2ee\home and type java -jar oc4j.jar in a command window. This should - hopefully -provide us with additional exception traces
    Frank

  • Embeded OC4J server within JDeveloper does not pick latest JAR files.

    Hi,
    Currently OC4J seems to be using an older version of JAXB1.0. Hence I created a shared library in my standalone OC4J server and imported the shared library while deploying my applicatoin in the ClassLoader task.I am trying to replicate the same in
    my embeded OC4J server within JDeveloper.
    I followed as indicated in readme.txt file in the \j2ee\home\shared-lib\ folder.
    1) I created a folder called "jaxb" within /j2ee/home/shared-lib/. I then created a folder with the name "2.0" indicating the version number of the API.
    2) I then added the relevant jaxb JARS to the jaxb/2.0 folder.
    3) In the server.xml file available under /j2ee/home/config/ , I added the following entries.
    <shared-library name="jaxb" version="2.0">
              <code-source path="jaxb-api.jar"/>
              <code-source path="activation.jar"/>
              <code-source path="jaxb1-impl.jar"/>
              <code-source path="jaxb-impl.jar"/>
              <code-source path="jsr173_1.0_api.jar"/>
              <code-source path="jaxb-xjc.jar"/>
         </shared-library>
    I am still facing the issue where my embedded OC4J server is picking up the jaxb version 1.0.
    What are the steps that needs to be taken to ensure that the embeded OC4J
    takes in the jaxb2.0 version.

    Refer
    Re: SUN Jaxb2.0 incompatible with OC4J included in JDEV/OC4J ??

  • ITS.ear Wireless -- how to remove appl from embedded OC4J config JDev b4157

    The embedded container configuration currently includes ITS.ear; I'd like to remove this from the default applications started by embedded container.
    The JDev (10.1.3.41.57) Tools .. Embedded OC4J Server Preferences .. Applications list includes ITS. The input fields and buttons to change or Delete this web application are greyed out. Removing the <application> entry from the server.xml file in c:/JDev_4157/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/ only removes ITS application temporarily -- it reappeared.
    I've not been able to locate a configuration that causes this to be added to the default datatags and current-workspace-app applications.
    Thanks.

    Thanks for reading and checking your installation.
    Don't believe it's automatic in the standard install; I only noticed it recently but I have no idea how it got activated or how to unactivate it. (You can find the EAR file in <your-JDEV-root>/wirelss/ITS.ear.) Is there a binary JDev config file storing a preference to include this in the IDE and/or container?
    The <application> tag appeared in my \JDev_4157\jdev\system\oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml unexpectedly but its tag's path was incorrect and so it would not auto-deploy during container start-up. When I copied the ear file from the wireless directory to the embedded-oc4j/applications folder it deployed next time I started the embedded container.
    Even though I removed tags in server.xml and the default-web-site.xml in the container's config folder, and deleted the ear file and the deployed subdirectories, it continued to re-appear. Possibly I didn't always get all of these pieces. It doesn't alway reappear on the first restart; sometimes not until after the 3rd restart. That doesn't make sense to me but I haven't discerned the pattern for when it re-creates itself.

Maybe you are looking for

  • I NEED TO TRANSFER THE BOOKMARKS FROM ONE USER TO ANOTHER IN THE SAME COMPUTER??

    I have created the recommended second user site on my computer. Also I have Administrator user site on the same computer that I do not wish to use sometimes. Both users are having the same Mozilla browser (win7) but the second user does not have book

  • Final Cut Pro Vs. Adobe Premiere Elements 9 output quality.

    Hey Group. I am trying to edit some Sony 1920X1080 30i AVCHD footage and have had some quality problems while exporting FCP footage with QT exports (all footage logged and transferred into FCE with the proper setting that match the footage, etc as ch

  • Accidentally Deleted Quick Time

    I was recently removing unused programs to open more space on my hard drive, and I accidentally deleted Quick Time. Now everytime I try to open my iTunes, I get an error and I cannot open it. Is there any way I can reinstall Quick Time?

  • BPEL Engine: How does it work?

    "[BPEL].. Engines will come in a variety of form factors and use different techniques for runtime representation of processes, including: * interpretative * code generation * Obj Oriented models of Activities * reduction engine based on Pi-Calcolus a

  • PO and Invoice

    Hi How can we raise the multiple invoices for single PO in MIRO regards