Add encoding option to embeded OC4J

Hi,
Can you help me to add the -Dfile.encoding option to embeded OC4J?
I like to know, where this line is built when starting OC4J?
C:\j2sdk1.4.2\bin\javaw.exe -ojvm -XXdebug,quiet,port1075 -classpath C:\jDeveloper10G\j2ee\home\oc4j.jar;C:\jDeveloper10G\jdev\lib\jdev-oc4j.jar -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:\jDeveloper10G\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
Thank you

Hi,
Can you help me to add the -Dfile.encoding option to embeded OC4J?
I like to know, where this line is built when starting OC4J?
C:\j2sdk1.4.2\bin\javaw.exe -ojvm -XXdebug,quiet,port1075 -classpath C:\jDeveloper10G\j2ee\home\oc4j.jar;C:\jDeveloper10G\jdev\lib\jdev-oc4j.jar -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:\jDeveloper10G\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
Thank you

Similar Messages

  • XML parser in embedded OC4J

    How can I add option to embedded OC4J, so it will take the xml parser I specified.
    example as following.
    -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
    Where I can setup in Jdeveloper?
    or is some property files?

    You can set options on JDeveloper's embedded OC4J from the Tools menu option "Embedded OC4J Server Preferences". You can read the documentation on this in JDeveloper's online help from within the product or at
    http://helponline.oracle.com/jdeveloper/help/state?navSetId=jdeveloper&navId=4&vtTopicId=&vtTopicFile=jdeveloper/deploying/embedded_oc4j/eos_p_prefs.html
    -SteveA

  • Embedded OC4J Error : java.lang.OutOfMemoryError: PermGen space

    Hi all,
    When testing apps using embbed OC4J I experience the java.lang.OutOfMemoryError: PermGen space.
    If occur on OAS, I add :add -X:MaxPermSize=256m to the startup java options on opmn.xml, and problem solved.
    How can I set the startup jaav option for embedded OC4J ?
    Thank you,
    xtanto

    hi xtanto
    To set system properties for the embedded OC4J you could try "Project Properties" > "Run/Debug" > "Edit..." some "Run Configuration" and add your property to "Java Options" on the "Launch Settings" panel.
    success
    Jan Vervecken

  • Add virtual directory to orion-web.xml file of embedded OC4J instance

    I'd like to add a virtual directory to the orion-web.xml file of the embedded OC4J application which comes with JDeveloper (version 10.1.3.3.0.4157). Every time I run my application however, a new orion-web.xml file is created which overwrites the orion-web.xml file with my virtual directory. The orion-web.xml is located in the <JDev_Home>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<app Name> directory.
    Does anybody know a solution to this problem?
    Regards,
    Matthieu

    hi there,
    i have the same problem, all the configuration files are included in the EAR file, like application.xml,...
    but the orion-web.xml is not included.
    I dont have that option that you mencioned File->New->Deployment Descriptiors -> web...for oc4j...
    I can create a EAR, WAR or JAR in File->New->Deployment Profiles.
    I need the orion-web.xml to define the MIME types the servlet can return, is it really needed?
    regards,
    Laura

  • How to set(add) an e-mail encoding option in iPod Touch Mail?

    Hi.
    When I'm sending multi language e-mail in my iPod, it is shown in my desktop below.
    ?섏씠
    ?섏쓽 iPod?먯꽌 蹂대깂
    2009. 04. 06 ?ㅽ썑 6:16 "Kwansu Lee" <[email protected]> ?묒꽦:
    But I can read in Outlook2007, if I set encoding options as UTF-8.
    하이
    나의 iPod에서 보냄
    2009. 04. 06 오후 6:16 "Kwansu Lee" <[email protected]> 작성:
    It has no character set like
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
    How can I send an e-mail in my iPod without multilanguage encoding problem?
    Message was edited by: leesof

    I opened e-mail in IE Browser, I can get encdoing type like below.
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=NextPart_000_019C01C9B765.4C8DA160"
    여러 부분으로 구성된 MIME 형식의 메시지입니다.
    ------=NextPart_000_019C01C9B765.4C8DA160
    Content-Type: text/plain;
    charset="euc-kr"
    Content-Transfer-Encoding: 8bit
    ------=NextPart_000_019C01C9B765.4C8DA160
    Content-Type: text/html;
    charset="euc-kr"
    Content-Transfer-Encoding: quoted-printable
    What program produced that email? iPod? The one you sent me had two different charsets.
    I wrote a html e-mail in Outlook, and a plain text e-mial in my iPod.
    I think It's mismatch in character set and contents. Is it right?
    Sorry, but I can't understand what you are referring to. You sent me a message from your ipod. It had two different charsets. That is not a bug. Outlook does have a bug which makes it misread messages with two different charsets. Apple could accomodate that bug by having the ipod use the same charset instead of two different ones, and that is the easiest fix, because MS makes garbage software and never fixes its bugs.

  • Problem running embeded OC4J from JDeveloper 11g TP 3

    I've just downloaded JDeveloper 11g Technical Preview 3. Unzipped it and ran.
    IDE runs ok, but when I try to run Web project on embedded OC4J, I got exceptions and the server never starts (exception text included on the bottom).
    Here is the way to reproduce the error:
    1. Create new Web Project with New Gallery wizard:
    a. New Gallery->general->projects->web project
    b. on Web Application page (step 3 of 7) choose Servlet 2.5/JSP 21.
    c. on Page Flow technology page (4 of 7) choose none
    d. don't include available libraries (5 of 7)
    e. on Web Project Profile (6 of 7) check Add JSP Page
    f. finish
    e. choose jsp name (after clicking finish a dialog pops up)
    2. Run the page
    a. select the page in Application Navigator
    b. right click on it and choose Run option
    In my case I got the following exception:
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    D:\work\jdev1111\jdk\bin\javaw.exe -client -classpath D:\work\jdev1111\j2ee\home\oc4j.jar;D:\work\jdev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    2008-01-30 13:19:09 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    2008-01-30 13:19:10 oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
         at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
         at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:412)
         at oracle.security.jps.fmw.util.JpsFmwUtil.findSystemUser(JpsFmwUtil.java:218)
         at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:235)
         at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:247)
         at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:252)
         at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
         at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    2008-01-30 13:19:10 oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state EXITING
    Process exited with exit code 1.
    Is it something with my configuration. My environment is:
    ADF Business Components     11.1.1.47.96
    Java(TM) Platform     1.5.0_11
    Oracle IDE     11.1.1.0.22.47.96
    SOA Composite Editor     11.1.1.0.0 (Build 071219.1424)
    Versioning Support     11.1.1.0.22.47.96
    Thanks for any suggestions,
    kazelot

    change the file to just (DIRTY way, but works)
    grant {
         permission java.security.AllPermission;
    };Really dirty as these permissions are not Java EE compliant.
    --olaf                                                                                                                                                                                                                                                                                                                                                                           

  • Programmatically start embedded oc4j

    I’m writing an extension. The extension contains a servlet. When someone uses the extention for the first time (clicking an icon, selecting a menu option, etc) I’d like to start an instance of the embedded oc4j and have my servlet running on it. I guess I’d want to be able to assign the ports it’s running on too so that I could avoid conflicts...
    Anyone have any ideas on how I could achieve this? Can the embedded oc4j be started from my java code? Also, would I need to package up my servlet/web.xml into a war file? I’ve been trying to track down the code that’s executed with you do a right-click -> run on a servlet but haven’t yet found it.
    any advice would be helpful as I’m pretty new at writing extensions for jdeveloper.
    thanks ,
    Dylan

    sorry.
    We're using the the 11g technology preview.
    The extension will help communicate to other services in our orginization. We use a servlet for this communication.
    Basically, I'd like the user to be able to right-click a file in the navigator pane and select a custom menu item that we've added. This will bring up a browser (I got this working based on code in the extensions samples) that is pointed to our servlet.
    I'd like to package this servlet with our extension. That way, when they install our extention they not only get the code that adds the new menu item, but the servlet as well. So the first time the user clicks the our menu item , it fires up the embedded oc4j with our servlet.
    thx,
    Dylan

  • JDev 11g TP4: App running in embedded OC4J fails in Integrated OC4J

    I have a simple application containing a bunch of JSP pages. When I run it on the embedded OC4J everything works fine.
    When I try to run it on the Integrated OC4J I get the following "missing class error":
    Binding web application(s) to site default-web-site begins...
    Binding FloorLocator2-Loc_Model-webapp web-module for application BlazeProj2 to site default-web-site under context root FloorLocator2-Loc_Model-context-root
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:430)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
         ... 5 more
    Caused by: java.lang.InstantiationException: The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
         at com.evermind.server.Application.getHttpApplication(Application.java:769)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
         ... 5 more
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2179)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1716)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1672)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1657)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
         at java.lang.Class.getDeclaredFields(Class.java:1715)
         at com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1133)
         at com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:895)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:377)
         at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
         at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
         ... 17 more
    #### Deployment incomplete. #### Dec 12, 2008 11:57:07 AM
    oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.distributeApplicationToTargets(Jsr88RemoteDeployer.java:598)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:1010)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:174)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:417)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:202)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$3$1.run(AdrsStarter.java:1116)
    #### Cannot run application BlazeProj2 due to error deploying to DefaultServer.
    [Application BlazeProj2 stopped and undeployed from Server Instance DefaultServer]
    Process exited.
    The problem is that I want to run the application on the Integrated server because I want to add some SOA components on it.
    Is there any way to get rid of this "missing class" error?
    Thank you in advance for the help.

    Hi, check if you have an existing deployment profile for your project and make sure the google maps jar is been added to the profile. When you use integrated the application gets deployed to the server so it takes all of its libraries and gets them deployed into the server. With embedded everything gets loaded from your application directory.
    If you don't have a deployment profile, create one and manually add the gMaps library and see if this time the integrated server uses your new deployment profile.
    Cheers,
    Juan C.

  • Is there a way to specifiy memory size usage in embedded OC4J?

    I'm using JDeveloper 9.0.3 and am having a problem with
    EJB's not being created at a certain point in my application. I can create EJBs fine up to a certain point then I start to get java.rmi.RemoteException's, even when i try to create the exact same type of EJB's that were successfully created earlier. I can't figure out why this could start happening unless I've reached some sort of memory usage limit. Is there a way to check if this could be the problem, and if so, is there a property I could set to increase the memory usage?

    Jason,
    For your information, you can define a limit on the number of EJB instances created via the "orion-ejb-jar.xml" deployment descriptor file. See that file's DTD for more details.
    As regards increasing memory, I do this via the "-Xmx" option to the java command -- when using stand-alone OC4J. Sorry, but I don't use "JDeveloper", so I can't tell you how to increase the memory for "JDeveloper"'s embedded OC4J server. Have you tried the JDeveloper and ADF forum?
    Good Luck,
    Avi.

  • Commit working in embedded OC4J but not in Application Server 10g

    Hi all
    i am creating an application using Jdeveloper 9051+adf+uix.
    here in a form i have a Create,Delete button and a commit button. after creating or deleting a row , i press commit button and it works fine in embedded OC4J.
    But after deploying this application on Oracle Application Server 10g , create and delete buttons are working (means data in form is getting submitted) but commit button is not working (commit button is enabled but data is not getting commited in the table.) after pressing the commit button the form is coming back to its previous position and the commit button is yet enabled. if i presses it second time then button goes disabled but data is not commited at all.
    Please provide me solution to this problem.
    Thanks

    Hi Brenden
    Thanks for reply
    in the application log file it is showing the following exception-
    08/07/01 16:51:29 mail_utility_app: Servlet error
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.xml.parser.v2.XMLDOMException, msg=cannot add a node belonging
    to a different document
    at oracle.jbo.server.Serializer.passivate(Serializer.java:189)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:290)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:4587)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:4479)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:6818)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3886)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2131)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1211)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
    at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:1340)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1198)
    at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:289)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:238)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    i have only one entity and one view object. there is no different document as it is shown in the exception.
    Thanks

  • JDev 1013 EA1 : embeded OC4J default-charset problem

    Hi
    I'm a web-application programmer interesting in JDeveloper.
    I had tried development using JDeveloper 10.1.2
    When I used 10.1.2, I add [default-charset="EUC-KR"] to [JDEV_HOME/systemXX/config/global-application.xml]
    - or [deployment-application/XXX/XXX/orion-web.xml] -
    Because I don't use alphabet.
    Anyway, it have effect.
    But I encountered problem, after use JDeveloper 10.1.3 EA1.
    I set default-charset in embeded-OC4J.
    But it had no effect.
    If that is a bug, please tell me how to use a installed OC4J in JDeveloper.
    Please help me.
    Thanks for read this message
    Message was edited by:
    user453010

    This looks like a bug in OC4J
    Can you try this and let us know if it works?
    Set the charset in the application level orion-web.xml and deploy it to the Stand alone OC4J and see if it works.
    1. Add a new OC4J Deployment Descriptor to your project
    2. Choose orion-web.xml
    3. Open the file in editor
    4. Set the default-charset setting
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"
    schema-major-version="10" schema-minor-version="0"
    servlet-webdir="/servlet/" default-charset="EUC-KR"></orion-web-app>
    (Make sure all the other settings are set right. Similar to what you see in [deployment-application/XXX/XXX/orion-web.xml] )
    5. Create a WAR deployment profile
    6. Deploy the application to Standalone OC4J connection

  • DBSystemLoginModule  at Embeded oc4j server

    I followed step Frank's document.
    I would like to login with Oracle connection userid and password.
    So I chosed "DBSystemLoginModule".
    I modified "application.xml", "system-jazn-data.xml".
    and then I ran my application.
    I got a 403 Forbidden.
    But my log message was like be sucessed as like below.
    I have other question.
    Do I need to modify data-source.xml for information of users?
    And when I edit web.xml for J2EE security, do I have to use role from "select ROLE from SESSION_ROLES"?
    Please help me again!
    ---------------------------< log message >---------------------------------------------
    07/02/06 14:30:43 [DBSystemLoginModule] option debug = true
    07/02/06 14:30:43 [DBSystemLoginModule] option jdbc Url = jdbc:oracle:thin:@dell1300:1521:dev
    07/02/06 14:30:43 [DBSystemLoginModule] option jdbc Class= oracle.jdbc.driver.OracleDriver
    07/02/06 14:30:43 [DBSystemLoginModule] option log level = log all
    07/02/06 14:30:43 [DBSystemLoginModule] option logger class = null
    07/02/06 14:30:43 [DBSystemLoginModule] login called on DBSystemLoginModule
    07/02/06 14:30:43 [DBSystemLoginModule] Calling callbackhandler ...
    07/02/06 14:30:43 [DBSystemLoginModule] Attempting connection: jdbc:oracle:thin:@dell1300:1521:dev username: sdc password: **************
    07/02/06 14:30:44 [DBSystemLoginModule] Authentication succeeded
    07/02/06 14:30:44 [DBSystemLoginModule] DBUser Principal Name: sdc
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_WEB_PRIV
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVA_DEPLOY
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVASYSPRIV
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVAUSERPRIV
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: CTXAPP
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: CONNECT
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_MONITORER
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: DBA
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SELECT_CATALOG_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: HS_ADMIN_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: EXECUTE_CATALOG_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: DELETE_CATALOG_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: EXP_FULL_DATABASE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: IMP_FULL_DATABASE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVA_ADMIN
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: GATHER_SYSTEM_STATISTICS
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_RESTRICT
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_WEB
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_USER
    07/02/06 14:30:44 [DBSystemLoginModule] Logon Successful = true
    07/02/06 14:30:44 [DBSystemLoginModule] Subject contains 0 Principals before auth
    07/02/06 14:30:44 [DBSystemLoginModule] Local LM commit succeeded
    07/02/06 14:30:44 [DBSystemLoginModule] Subject contains 20 Principals after auth
    07/02/06 14:30:44 [DBSystemLoginModule] Cleaning internal state!
    Message was edited by:
    sdcsdc

    Hi,
    Can any one guide me and help in configuring a custom jaas loginmodule in embedded oc4j? Thanks in advance.
    I need to use Oracle DB user & roles for authentication and authorization for my j2ee application. I followed all the steps given in Franks document in URL http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
    I just changed DBProcLoginModule defined in the article's example to DBSystemLoginModule. Ofcourse, I used specific jazn command defined for DBSystemLoginModule to generate entires in jazn-data.xml. But it had no effect when I ran the application and login with db user name password. Authentication fails and my debug log shows that the custom login module is not getting invoked at all. I have FORM based authentication with the roles & constraints defined properly in web.xml and orion-web.xml where default oc4j authentication with admin/welcome works perfect. (I also have an entry for a role defined in oracle db in the web.xml & orion-web.xml files)
    Also, I referred URL http://technology.amis.nl/blog/?p=1462 and added <property name="custom.loginmodule.provider" value="true"/> to <jazn provider="XML" in application.xml. When I tried running the application and deploy the module I am getting the following exception and deployment fails.
    * I am using JDeveloper with embedded oc4j 10.1.2.
    * I havent used password redirection mentioned in Frank's document for now.
    Error: Unexpected error during lookup : Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for default (admin)
    Exit status of OC4J admin tool (-deploy): 1
    java.lang.NullPointerException
         at oracle.jdevimpl.deploy.Oc4jRemoteAdmin.getServerVersion(Oc4jRemoteAdmin.java:57)
         at oracle.jdevimpl.deploy.Oc4jCommandLine.deployEar(Oc4jCommandLine.java:231)
    .. so on.
    Here is my entry for jazn-loginconfig in jazn-data.xml where webapp is my application name defined in deployment profile
    <jazn-loginconfig>
         <application>
              <name>oracle.security.jazn.tools.Admintool</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.realm.RealmLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>debug</name>
                                  <value>false</value>
                             </option>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>webapp</name>
              <login-modules>
                   <login-module>
                        <class>oracle.sample.dbloginmodule.DBSystemLM.DBSystemLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>debug</name>
                                  <value>true</value>
                             </option>
                             <option>
                                  <name>jdbcDriver</name>
                                  <value>oracle.jdbc.driver.OracleDriver</value>
                             </option>
                             <option>
                                  <name>logger_class</name>
                                  <value>oracle.sample.dbloginmodule.util .ScreenLoggerImpl</value>
                             </option>
                             <option>
                                  <name>jdbcUrl</name>
                                  <value>jdbc:oracle:thin:@oradbhost:1521:orasid</value>
                             </option>
                             <option>
                                  <name>log_level</name>
                                  <value>ALL</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application></jazn-loginconfig>

  • Mail Session configuration with embedded oc4j in jdeveloper 10g 10.1.3.1

    Hello all:
    I'd tried to use javamail in a j2ee application. I´d defined an resource reference with the EJB Module Editor but when i run the application it throws:
    java.lang.InstantiationException: Error initializing ejb-modules: No Mail Session configured for the resource MailSession
    How can i configure a Mail Session with the embedded oc4j of jdeveloper 10g 10.1.3.1?
    Thanks a lot.

    Hi,
    You need to add following configuration in $ORACLE_HOME/j2ee/home/config/application.xml & restart your OC4J :-
    <mail-session location="EMailSession" smtp-host="mail.cdsc.com">       <property name="mail.transport.protocol" value="smtp"/>       <property name="mail.debug" value="true"/>    </mail-session>Regards,
    Sandeep

  • How do I make embedded OC4J use IBM Db2 schema mapping

    I am using JDeveloper 903 with a datasource which happens to be of type IBM DB2. Whenever, I try to deploy and test an entity bean from withinn JDeveloper, the embedded OC4J seems to be using a different database schema mapping scheme than what is required by IBM DB2. As a result of this OC4J tries to autocreate tables with wrong syntax and obviously fails. Can somebody tell me how do I get things setup correctly.
    TIA
    Vimal

    Magnus,
    The optimizations related to efficiently supporting overflow-style caching are not included in Coherence 3.5. I created COH-2338 and COH-2339 to track the progress of the related issues.
    There are four different implementations of the PartitionAwareBackingMap for Coherence 3.5:
    * PartitionSplittingBackingMap is the simplest implementation that simply partitions data across a number of backing maps; it is not observable.
    * ObservableSplittingBackingMap is the observable implementation; it extends WrapperObservableMap and delegates to (wraps) a PartitionSplittingBackingMap.
    * ObservableSplittingBackingCache is an extension to the ObservableSplittingBackingMap that knows how to manage ConfigurableCacheMap instances as the underlying per-partition backing maps; in other words, it can spread out and coalesce a configured amount of memory (etc.) across all the actual backing maps.
    * ReadWriteSplittingBackingMap is an extension of the ReadWriteBackingMap that is partition-aware.
    The DefaultConfigurableCacheFactory currently only uses the ObservableSplittingBackingCache and the ReadWriteSplittingBackingMap; COH-2338 relates to the request for improvement to add support for the other two implementations as well. Additionally, optimizations to load balancing (where overflow caching tends to get bogged down by many small I/O operations) will be important; those are tracked by COH-2339.
    Peace,
    Cameron Purdy
    Oracle Coherence

  • Errors Deploying BMP to embedded OC4J

    I'm using JDeveloper 9.0.3.2. When trying to run a BMP Entity Bean in the embedded OC4J and the deployment process starts I am getting an error:
    CustomerLocalHome_EntityHomeWrapper5.java:1201: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1316: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1431: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1546: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1661: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    5 errors
    Error compiling H:\jdev\Freeport\Customer\classes: Syntax error in source
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    This code has been verified using the EJB Verifier and compiles cleanly.
    The java file mentioned in the error doesn't exist in my project nor can I find CustomerLocalHome_EntityHomeWrapper5.java anywhere on my machine.
    I cannot find any reason for this problem and any insight to a solution would be helpful and appreciated.

    Hi,
    I'm having exactly the same problem. I don't know why I get this error, but I figured out how to run application.
    My ebj's have finder methods returning collections, usually in LocalHome interface you declare that a methods throw FinderException. Try declaring also RemoteException, this is simple solution that make my beans work with OC4J. Unfortunately when I check ejb with verifier I get errors.
    Maybe someone knows what causes this problem and how to avoid it.
    Martin.

Maybe you are looking for

  • Videos run by flash player not working on IE and chrome

    First, upgraded new adobe flash player, videos did not work so I deleted it and downloaded the flash player again. Also videos were not running, Repeated downloading and unistalling 7 times. I checked add-ons and enabled shockwave, disabled active X

  • How do I fix placed RTF files?

    I am using CS4 to place several word documents into a book and I am having the usual issues of crashing when trying to place doc files. I am not using any special tables, graphics or fonts, and even if I disable all the import options it usually cras

  • CS3 Modify automatically external links

    I have a catalogue produced in Indesign CS3. All the text is via linked external files. Now I want to create a second language version. The path to the English files is something like : MyHardDisk/TextFiles/English/Page01 And the pathname to the Germ

  • Wildcards in automator?

    I want to use Automator to rename a batch of files. The original filenames would be something like this: Lesson2min123ch2-Joe.psd Lesson2xif789ch2-Bill.psd I would like to delete "Lesson2" as well as the student's ID, eg "min123" which is different o

  • Global time variable

    what syntax should I use to run a function within a script in variable time intervals? Would like to avoid having to use cron, iCal etc.