JHS 1012 with Standalone OC4J 904

Has anyone got this to work? I can deploy JHS 10.1.2 to standalone OC4J 10.1.2 (without ADF runtime installed) but standalone 9.0.4 OC4J gives an HTTP 500 error (without ADF runtime installed, no additional messages appear; with ADF runtime installed yields this: java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String)java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String)
DCUtil.java:293).
These results are after applying the workaround for iAS 9.0.4 on Steve Muench's blog at: http://radio.weblogs.com/0118231/stories/2005/05/27/workaroundForDeployingAdf1012AppUsingIntermediaDomainsToOracleAs904.html

Here are some details about the solution:
1. In the j2ee\home\config\application.xml file, remove all references to libraries from the bottom of the file, such as:
<library path="../../../ord/jlib/ordim.jar"/>2. Add the following libaries to the project properties for the ViewController project
- ADF Web Runtime
- ADF Toplink Runtime
- Oracle Intermedia JClient
3. Create a WAR deployment profile for the ViewController project. In the WEB-INF\lib node of the File Groups node in the properties, select all libraries. Click OK and deploy the file to an EAR file using the right click menu on that deployment profile.
4. Copy the EAR file to the j2ee\home\applications manually and add entries in the server.xml and http-web-site.xml. See entries that JDeveloper adds when you do right-click deployments to the server for the pattern.
5. Bounce the OC4J server (if it did not pick up the new application).
Note: The steps above load more libraries than are needed. The following list has also been proven to work but it still may be more than is needed.
adf-controller.jar
adfm.jar
adfmtl.jar
adfmweb.jar
adftags.jar
bc4jct.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4juixtags.jar
classes12.jar
collections.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-el.jar
commons-fileupload.jar
commons-lang.jar
commons-logging.jar
commons-logging.jar
commons-validator.jar
datatags.jar
graphtags.jar
jakarta-oro.jar
jaxen-full.jar
jhsadfrt.jar
jdev-cm.jar
ojmisc.jar
ordhttp.jar
ordim.jar
jsp-el-api.jar
jstl.jar
log4j-1.2.7.jar
nls_charset12.jar
oracle-el.jar
regexp.jar
saxpath.jar
share.jar
standard.jar
struts.jar
uix2.jar
uixadfrt.jar
xalan.jar

Similar Messages

  • JVM termination with standalone oc4j

    Hi,
    We have several (around 15) standalone oc4j instances running on a Sun machine, the details are as follows:
    Machine: SunFire V1280 with 8 processors (sun4u sparc) and 24 GB RAM
    OS: SunOS 5.9 Generic_117171-02
    oc4j version: 9.0.4.0.0
    There is also a 10g installation on this machine.
    We are finding that quite regularly one or more of the oc4j instances shuts down without warning. the only information in the log files (jms.log, rmi.log etc) is a "Stopped (JVM termination)" message. I cannot find any other logs on the machine which can help me with this error.
    I am after one of two things:
    1. Potential reasons for this happening (preferably with solutions!)
    2. A possible for a log file created by the JVM detailing why it is terminating.
    Can anyone help?
    Thanks

    http://blogs.oracle.com/shay/2005/10/24#a55

  • Debugging JSP with standalone OC4J

    Hi All,
    I am trying to debug a JSP using JDeveloper 10.1.3.2 on standalone OC4J 10.1.3.2 . I find that it is not stopping at the breakpoints I have set. My settings in the global-web-application.xml are as follows
    <servlet>
    <servlet-name>JDevOJSP</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
         <param-name>check_page_scope</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>debug_mode</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>developer_mode</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>encode_to_java</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>     
         <param-name>emit_debuginfo</param-name>     
         <param-value>true</param-value>     
    </init-param>     
    <init-param>
         <param-name>jspjavacompiler</param-name>     
         <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>
    </init-param>     
    <init-param>     
         <param-name>jspcompiler</param-name>
         <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>     
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    However when I try accessing the JSP(test.jsp) from the browser, I get an error saying _test.class is not found.
    I verified this by checking under the application-deployments folder and I found that the .java & .class files are not created under the persistence\_pages folder.
    So I changed the entry in global-web-application.xml as follows to get the .java & .class files generated
    <servlet>
         <servlet-name>JDevOJSP</servlet-name>
         <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    </servlet>
    Once they are generated, I reverted the setting back to as it was before and tried to debug the JSP. But still it does not find the break points
    I have jdev-rt.jar,xmlparserv2.jar,ojc.jar & jdev-remote.jar in <OC4J_HOME>/lib folder.
    I am starting OC4J with OJVM option debug mode listening to port 4000 and I have configured my project in JDeveloper for remote debugging.Please let me know where I am going wrong.
    Thanks in advance,
    Prasanna

    http://blogs.oracle.com/shay/2005/10/24#a55

  • Web server type of standalone oc4j needed for SSL Certificate

    Hi,
    We have a standalone oc4j 10.1.3 that hosts an application whose many of its pages use https and so we need to buy SSL certificate from any of CAs like Verisign, GeoTrust, etc.. All of these CAs are asking us about the web server type that the standalone OC4J uses. I read the following statement from this url:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/intro.htm#JICON100
    "communications in a standalone environment is provided through the built-in *_OC4J Web server_*, which supports HTTP and HTTPS communications natively without the use of the Oracle HTTP Server"
    On all of the SSL certificate systems of above CAs websites, they ask us to choose the web server type from a list of server types but I don't see OC4J web server listed and I am told that it is very important to make sure the web server type is correct otherwise the SSL Certificate that we buy may not be compatible with our web server type.
    So, I like to know the exact built in web server type name that goes with Standalone OC4J or one that is closest and for which SSL Certificate is compatible.
    Shown below is a list of web server types that I am asked to choose from on Verisign website.The closest to standalone oc4j according to below list is Oracle Wallet Manager but isn't this meant for Oracle Application Server (OAS) and not the standalone OC4J? we are using the java keytool to generate the CSR that we look to sign it via the verisign but again we are not sure about the web server type in the case of standalone OC4J that is not listed below. Please advice and thanks in advance to any of your responses in helping out.
    Webstar 4.x
    ApacheSSL mod_ssl
    WebLogic 6.0
    WebLogic 8.1
    Cisco
    ACS 3.2
    Covalent
    Apache ERS 2.4
    Apache ERS 3.0
    F5
    BIG-IP
    IBM
    Websphere MQ
    HTTP Server
    Lotus
    Domino 5.0
    Domino 6.0
    Domino 7.0
    Domino 8.0
    Windows NT - IIS 4.0
    Windows 2000 - IIS 5.0
    Windows 2003 - IIS 6.0
    Windows 2008 - IIS 7.0
    Exchange 2007
    iPlanet 4.x
    iPlanet 6.x
    ScreenOS
    SSL Accelerator
    Oracle Wallet Manager_
    Secure Web Server
    SSL Offloaders
    Stronghold
    Java Web Server 6.x
    Sun ONE
    AS Server w/IIS 4
    AS Server w/IIS 5
    EA Server
    Tomcat
    Zeus

    Hi Zeus,
    Type of certificate depends the method you will use to deploy the certificate on your application server.
    Please refer the links,
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28957/configssl.htm
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/wallets.htm#ASADM400
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm
    Regards,
    mYth

  • How Standalone OC4J and the Oracle Application Server linked to each other

    Hi ,
    Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
    In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
    Please tell me how they are linked to each other .
    Thank you .

    It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
    OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
    For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
    So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
    PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
    Hope this helps.
    Thanks
    Shail

  • Pre-configured standalone OC4J with PDK - ZIP corrupt - ??

    zip is corrupt, what can I do, who can I contact??
    pre-configured standalone OC4J with PDK
    http://www.oracle.com/technology/products/ias/portal/files/pdk_oc4j_extended.zip
    found at page http://www.oracle.com/technology/products/ias/portal/pdk.html

    Sorry for the multiple occurences of this posting, Got an error during posting!

  • Unable to connect to standalone oc4j 10.1.3 DP4 with JDeveloper 10.1.3

    Hi all,
    I'm having problems to establish a connection to standalone oc4j 10.1.3 DP4 in JDeveloper 10.1.3 studio release.
    I'm using the default settings for my OC4J installation and I tested it with http://localhost:8888.
    I also set the host in the configuration panel to localhost and left the url-path empty as default.
    The username/password combination I filled in is correct.
    I'm getting the following error when I ty to test te connection in Jdeveloper:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
    oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
    oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: Incompatible parameters; nested exception is:
         javax.naming.CommunicationException: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
    oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
    oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: Incompatible parameters [Root exception is oracle.oc4j.security.KeyExchange$KeyExchangeException]
    Can anyone help me with this problem??
    Thanks in advance.
    -Tom

    Ok, I have installed the production release. But when I login to the application console I'm getting the following error:
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance null on Application Server null is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
    Probably I have to configure more things here. Do you now what, before I delve into the manuals myself..;)

  • Standalone oc4j in 3 different machine with clustering enabled

    Hello,
    I just want to know if clustering is possible in my situation.
    I have 3 different machine/server with a load balancer, I've installed a standalone oc4j in each machine, I deploy my application to each of the standalone oc4j, I have enable the clustering of each oc4j using peer to peer configuration.
    Machine 1 pointing to node of Machine 2
    Machine 2 pointing to node of Machine 3
    Machine 3 pointing to node of Machine 1
    Then I test my application, for my first try I was pointed to machine 1 by my load balancer, created a session, etc..etc.., after that I stop my application to oc4j machine 1, then after I refresh my page, the load balancer pointed me to machine 2, and there I see that my session is lost. Clustering is not working.
    Can anyone guide my if clustering is possible using oc4j's only. Thanks.

    I have solved this issue.
    It turns out that wls 10.3 does not always delete an application cleanly.
    I found 3 copies of the application remaining in the server.
    I deleted and reinstalled the wls and the problem was solved.

  • Standalone OC4J 10.1.3 + OID(IM 10.1.2.0.2 with SSO) issue

    Hi!
    We have successfully made Identity Manager 10.1.2.0.2 (SSO) to work with the full OAS 10.1.3, by generating osso.conf file, as explained on chapter 6 of OC4J security guide. However, we have no clue on how to do it for Standalone OC4J. Such versoin has no Apache directory in order to run osso1013 script on.
    Any help would be much appreciated.
    Thanks in advance.
    Best Regards,
    Gustavo

    The SSO Registration tool is meant for OracleAS, not standalone OC4J. Since you are not using OHS, I don't know how you will be redirected to the login page.
    As far as OC4J goes, the configuration would be as follows.
    For use of Oracle Single Sign-On for authentication, the auth-method attribute is set to "SSO" in the <jazn-web-app> element (a subelement of the <jazn> element) in the OC4J orion-application.xml file.
    Here is a sample entry:
    <orion-application ... >
    <jazn provider="LDAP" >
    <jazn-web-app auth-method="SSO"/>
    </jazn>
    </orion-application>
    You would also have to associate OC4J with the Identity Management Infrastructure
    Message was edited by:
    wbathurs

  • Standalone OC4J with SMS Portlet - Error

    I have installed the SMS Portlet (downloaded from OTN) onto Standalone OC4J with PDK. However, when I try to login, I get a No route to host error. What values should I set proxyHost and proxyPort to run it from my local desktop.
    Thanks.

    Hi,
    actually the error message doesn't point to the problem because its a generic message. The HTML page message is the one you build and modify when creating the Webstart project in JDeveloper.
    The configuration looks okay.
    Frank

  • Can't find Enterprise Manager for standalone OC4J 10.1.2.0.2

    Hi
    I downloaded standalone OC4J 10.1.2.0.2 from here so I could experiment deploying webservices to it
    http://download.oracle.com/otn/java/oc4j/1012/oc4j_extended.zip
    It installed successfully and I managed to start it ok. When I point my browser at it the home page displays but there does not seem to be an enterprise manager page. I have a jdeveloper 10.1.3 install and when I run the OC4J supplied with that I can navigate to an enterprise manager page and view applications and webservices.
    This is the home page for the 10.1.2.0.2 install
    http://img405.imageshack.us/my.php?image=oc4j101202homepagecq8.jpg
    This is the homepage of the 10.1.3 install supplied with jdeveloper
    http://img399.imageshack.us/my.php?image=oc4j1013homepagegb6.jpg
    (click the images to see their full size)
    In the 10.1.3 screenshot you can see a link to "launch application Server Control". This is missing on the 10.1.2.0.2 homepage. Should it be there for both versions?
    thanks
    paul
    Message was edited by:
    [email protected]

    Hi,
    Enterprise Manager for stand alone OC4J was introduced in 10.1.3. 10.12 does not have this feature
    Frank

  • OC4J 904 and Unicode(AL16UTF16) in NVARCHAR2 column

    I have:
    OC4J 904 standalone runs on Windows2000 AdvancedServer.
    Oracle 9i
    JDBC thin driver shipped with OC4J
    NLS_NCHAR_CHARSET = AL16UTF16
    (NLS_CHARACTERSET = VN8VN3)
    I have a table with a NVARCHAR2 column. I created a CMP EJB from the table but I can't use the EJB to retreive data from Database. I was success in using Oracle JDBC connection to connect manually to database and save/retreive Unicode data.
    I read somewhere that EJB use thin driver, so the getter/setter of CMP-Fields should work normally.
    I think that may be the problems is the function OraclePreparedStatement.setFormOfUse(1,OraclePreparedStatement.FORM_NCHAR);
    was not called in the EJB Contenner or things like that - so it's a bug of OC4J, right?.
    This is the Exception I received on the browser.
    javax.ejb.NoSuchObjectLocalException: ? ?ÂY CÓ CH? HOA CÓ D?U!!!!!
         at TestLocal_EntityBeanWrapper0.reActivateNew(TestLocal_EntityBeanWrapper0.java:1668)
         at TestLocal_EntityBeanWrapper0.reActivateNewLocal(TestLocal_EntityBeanWrapper0.java:1636)
         at TestLocal_EntityBeanWrapper0.getUnicode(TestLocal_EntityBeanWrapper0.java:108)
         at test.showparam._jspService(_showparam.java:100)
         [SRC:/test/showparam.jsp:65]
         at com.orionserver[Oracle9iAS (9.0.4.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:348)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:293)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:602)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:308)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:779)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:264)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
         at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Can anybody help or give me some information or workaround?
    Thank you very much.

    Hi Nghia,
    Can anybody help or give me some information or
    workaround? I suggest using BMP and a non-emulated data source. More details are available in the documentation which can be downloaded from here:
    http://technet.oracle.com/tech/java/oc4j/904/documentation_preview.html
    Good Luck,
    Avi.

  • Deploy ADF application to standalone OC4J 11g

    Hi people!
    I found some threads into the forums that deal with the subject but I did not find any solution, so I post a new thread...
    In fact, I'd like to deploy a "war" on a standalone oc4j 11g.
    The application was built with jdev 11g TP4.
    I can't use the ADF runtime Installer of jdev, so I have to copy all the files by myself, but the problem is that I do not find the files in jdev11/BC4J/lib/ that I have to copy in oc4j/BC4J/lib...
    There is no adfcm.jar, bc4jdomorcl.jar, etc ...
    Is it normal ? Could someone indicate me how to configure the standalone oc4j 11g in order to deploy my "war" ?
    Thanks a lot,
    romain.
    Edited by: Romain Testu on 24 sept. 2008 09:28

    Hi,
    TP4 doesn't have a standalone OC4J.
    Try to start embedded oc4j from jdeveloper in standalone mode.
    see e.g. Re: Can Jdeveloper TP4 deploy apps to OC4J standalone TP4
    BTW: The production release 11g is announced within next week and this release will contain Weblogic Server 10gR3 instead of OC4J.
    JDeveloper 11g release this month?
    regards
    Peter

  • Error while running Create page in standalone-oc4j

    I have an ADF Create page (CreateAppt.jsp) that works fine through jdeveloper 10.1.3, but does not work when i deploy and run it on a standalone-oc4j. Appreciate your ideas on what may cause this or debugging tips..
    My ADF application flows through two pages:
    a List page (ListAppts.jsp has a Create button) -> a Create Page (CreateAppt.jsp)
    When I click on the Create button on the List page, I arrive at the Create Page.
    When I run through jdeveloper, I see that all input fields in the Create page are empty, which is what I expect. However, when I open the same page on standalone-oc4j, all the input fields are populated with the first row in the List Page, and there is an error:
    JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:oc4jadmin
    For input string: "o"
    I designed the Create page using the generic Data Control Palette, by dragging the VO and dropping it with this option: Create->Forms->ADF Creation Form
    When running through standalone-oc4j, why is the Create page populated? and how is the standalone-oc4j login string, "oc4jadmin", used in the create?
    Thanks,
    Ou-Dan

    Hi,
    this sounds strange and cannot be diagnosed from remote. If it works in JDeveloper with the embedded OC4J then is works the same in stand alone OC4J. Having "oc4jadmin" showing seems that you look up a value from the request and assign it to the application. Note that you don't need to be logged in to OC4J to see ADF faces apps running.
    The problem seems to be in your application. Can you reproduce this with a simple testcase?
    Frank

  • Unable to deploy a simple WAR / EAR file on Standalone OC4J instance

    All,
    This issue is baffling me since yesterday and while I continue to look for options , would appreciate if anyone of you has run into something similar and give me some hints on how to proceed on this ..
    I downloaded the Standalone OC4J ( 10.1.3 ) from otn.oracle.com and also downloaded JDK 1.5 Update 12 from the Sun Website and installed it on my local
    Windows XP machine. Everything works well and the application gets deployed.
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already
    has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    However when trying to deploy even a simple HelloWorld.jsp file packaged as an EAR or WAR , we get these errors..
    [Aug 8, 2008 9:40:27 AM] Application Deployer for CISS STARTS.
    [Aug 8, 2008 9:40:27 AM] Copy the archive to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
    [Aug 8, 2008 9:40:28 AM] Initialize /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear begins...
    [Aug 8, 2008 9:40:28 AM] Unpacking CISS.ear
    [Aug 8, 2008 9:40:28 AM] Error while unpacking CISS.ear java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:203) at java.util.jar.JarFile.(JarFile.java:132) at java.util.jar.JarFile.(JarFile.java:97) at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309) at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488) at com.evermind.server.deployment.EnterpriseArchive.(EnterpriseArchive.java:234) at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:412) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:187) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93) 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:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
    [Aug 8, 2008 9:40:28 AM] Operation failed with error: Unable to find/read file META-INF/application.xml in /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS (META-INF/application.xml)
    Using the above error messages , I certainly do not find the CISS.ear file getting copied to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
    which explains the rest of the messages.
    I have tried placing the EAR file both remote and local on the Application Server box but the results remain the same. Assuming it might be a permissions issue , we have opened up all the permissions on this OC4J home ( recursively )
    to everyone ..
    Is there a specific version of tar / unzip / jar required to deploy EARs / WARs on Solaris 5.9 running JDK 1.5 Update 12.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    Also looked at Bug:6330834 but am not very sure if this applies to our case because all these drives are local to the Sun box.
    Other than attempting a reinstall and opening an Service Request with Oracle , I am running out of ideas at this time ..
    So any ideas / hints would be gladly accepted :)
    Vishwa

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

Maybe you are looking for

  • Calculated virtual characteristic

    Hello, I need to create a characteristic which is calculated virtual runtime of the query. This must be calculated from an input variable that is associated with the feature query Date Mat., (Which is the condition of the filter (>=)) therefore take

  • SAXParseException: premature end of file in creating WARs

    Hi, I stronlgy follow the hints provided in J2EE tutorial to create some WARs from sample code, all is OK with compiling, however when I save my work (where ir is required in text), I get the following message ....WAR is corrupt or cannot be read SAX

  • MP3 ID3 tags in non standard character set

    Hello, I'm curious as to how I can rip a cd as mp3 and read the tags that have been encoded in a non western or unicode character set. Right now I'm using the LANG environment variable and setting it to the locale that matches the character set, ripp

  • Dv5-1124ca volume bar not working

    I've had my laptop for just over a month now, and every thing is fine minus the volume bar. Ever so oftent it will do something annoying like the display well stay up and it will continue to click and stuff, but that goes away when i press stop. Anyw

  • Inserting HTML snippet in signature

    Any easy way to include a countdown timer snippet in a signature block?