How to specify -userThreads in standalone OC4J

I'm running standalone OC4J v10.1.3.2.0 on a linux machine.
When trying to use a servlet which creates it's own thread, I receive an error message asking me to start oc4j with -userThreads option.
I've tried to start oc4j with this option but it complains that it's not a valid argument.
I start oc4j using oc4j -start normally.
Is this something which needs to go into server.xml or do i need to edit this control script ?
thanks
Here's my server.xml file:
<?xml version="1.0"?>
<application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" application-directory="../applications"
check-for-updates="adminClientOnly"
deployment-directory="../application-deployments"
connector-directory="../connectors"
schema-major-version="10" schema-minor-version="0" >
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="../applib"/>
</shared-library>
<shared-library name="global.tag.libraries" version="1.0" library-compatible="true">
<code-source path="../../home/jsp/lib/taglib/"/>
<code-source path="../../../j2ee/home/jsp/lib/taglib/"/>
<code-source path="../../../lib/dsv2.jar"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.cache"/>
<import-shared-library name="soap"/>
</shared-library>
<shared-library name="oracle.persistence" version="1.0" library-compatible="true">
<code-source path="../../../toplink/jlib/toplink-essentials.jar"/>
<import-shared-library name="oracle.jdbc"/>
</shared-library>
<rmi-config path="./rmi.xml" />
<jms-config path="./jms.xml" />
<javacache-config path="../../../javacache/admin/javacache.xml" />
<j2ee-logging-config path="./j2ee-logging.xml" />
<log>
<file path="../log/server.log" />
</log>
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" extdirs="/usr/java/j2sdk1.4.2_04/jre/lib/ext" />
<global-application name="default" path="application.xml" parent="system" start="true" />
<application name="javasso" path="../../home/applications/javasso.ear" parent="default" start="false" />
<application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" />
<application name="rms" path="../applications/rms.ear" parent="default" start="true" />
<application name="keyboard" path="../applications/keyboard.ear" parent="default" start="true" />
<application name="Services" path="../applications/Services.ear" parent="default" start="true" />
<application name="dms" path="../applications/dms.ear" parent="default" start="true" />
<application name="tipsoftheday" path="../applications/tipsoftheday.ear" parent="default" start="true" />
<application name="dbs" path="../applications/dbs.ear" parent="default" start="true" />
<global-web-app-config path="global-web-application.xml" />
<transaction-manager-config path="transaction-manager.xml" />
<web-site default="true" path="./default-web-site.xml" />
<cluster id="81178019567020" />
</application-server>

Hi Andy --
It's actually a command line switch:
$java -jar oc4j.jar -userThreads
I'm not sure why its not encompassed within the server XML file.
There's no apparent place you can easily specify this and have it work with the oc4j.sh script you are using, but you could tack it onto the CMDARGS local var that is set
set CMDARGS=-config "%SERVER_XML%" -userThreads
Or if you are a shell scripter, then change the script to pick up CMDARGS based on what is set as an ENV var or another element settable in the script -- like how the JVMARGS is done.
In the meantime, just start OC4J directly from the j2ee/home directory with the -userThreads switch
$java -jar oc4j.jar -userThread

Similar Messages

  • How to specify a new OHS - oc4j application binding ?

    I have made the default installation of ias 9.0.2 with OHS and OC4J.
    What I want to do is :
    three entry points:
    80 (http)
    443 (https)
    444 (https+client auth)
    and three apps on oc4j
    A, B, C
    This would work this way
    80 /A /B
    443 /A /B
    444 /B /C
    I know that this setup has to be done with the OC4J mount (it is like JkMount from AJP with Apache-Tomcat)
    But, how should I do it?
    Is there a management application to do it, or should I do it manually (editing httpd.conf and dealing with different OC4J instances) ?
    Maybe I if make it at hand some gets broken !!
    Hope to hear from you :)

    This should be done using Enterprise Manager. When you deploy an application using EM it automatically binds to an URL.
    Please see the Users Guide and other relevant documents at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.htm
    regards
    Debu

  • Cost of standalone OC4J

    Hi,
    I would like to set up Apache FOP for basic pdf generation in Apex reports. Does anyone know how much it cost for standalone OC4J - per CPU? Also, has anyone tried to use OC4J/FOP for basic PDF in Apex reports? Is the result stable? Finally, is there any software that allows XSL:FO formatting of the report template?
    Thanks.
    Andy

    Hi,
    I do not know license cost for OC4j
    You could think use Tomcat and Cocoon
    http://ubuntuforums.org/showthread.php?t=1004742
    http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
    Or check this
    Jasper Reports Integration - beta release
    Regards,
    Jari

  • 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

  • How to deploy an application in OC4J standalone?

    I'm trying to deploy Jspell 2004 in a standalone OC4J 10g. All my attempts have failed thus far, as I admit, I don't really know what I am doing.
    I've found several articles, including those from Jspell, and they all start with 'deploy the war file' but how?
    I don't know where I should deploy the WAR file or exaclty which config files I need to modify. I've tried under OH/j2ee/home/applications, OH/j2ee/DevSuite/application-deployments and always get the 'Error instantiating web-application' no application found on server.'
    I'm using the OC4J strictly for forms/reports running on port 8889 and that all works fine. When I start the OC4J, it is referencing the server.xml file in the DevSuite/config folder.
    Any ideas?

    Please look at the OC4J FAQ
    http://www.oracle.com/technology/tech/java/oc4j/904/collateral/oc4j-faq-904.html#oc4j_deploy
    Yes. If you wish to deploy only a Web module then you can utilize the default application OC4J is configured with. This is a two step task:
    First, tell the container about the WAR file to be deployed. Open the <J2EE_HOME>/config/application.xml file in an editor. Add a new <web-module> tag and specify the attributes for your WAR file.
    <web-module id="HRWebModule" path="<PATH-TO-WAR-FILE>"/>
    Secondly, tell the OC4J HTTP server about the new WAR file and provide a URL to access it. Open the <J2EE_HOME>/config/http-web-site.xml file in an editor. Add a new <web-app> tag and specify the attributes for your new Web module. It's important to note that the application attribute must specified as "default" since you have deployed your Web module to the default application. The name attribute should match the ID attribute you specified for the Web module.
    <web-app application="default" name="HRWebModule" root="/hrweb" />
    The WAR file will now be deployed by OC4J and accessible using a URL of /hrweb.
    -Debu
    http://debupanda.com

  • 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

  • Multiple applications in standalone OC4J

    I’m using Eclipse in XP to deploy applications to the standalone OC4J server. Certain applications use different .jar files from the others. I understand that all jars in the c:\oracle\oc4j10.1.3\j2ee\home\applib are used by all applications. When using a certain application I have to manually move the correct jars into this folder.
    Previously I have deployed applications to an OC4J container in Oracle 10g application server running in Unix. Each container has it’s own folder and config files. application.xml is used to list which jar files are to be used with the application.
    Is there a way to have an application specify which .jar files it uses in the standalone OC4J during runtime?
    Thanks,
    Dan

    Hello,
    You have a correct understanding of the applib folder, but in 10.1.3.x OC4J provides a better and newer way to manage libraries that you want to share between application: they are "OracleAS Shared Libraries"
    You can find more about that there:
    - Creating and Managing Shared Libraries
    - See infrastructure how tos that explains for example how to create an XML or JDBC share lib.
    You can deploy your libraries using admin_client.jar and do that in a group, so all the instances will have the same libraries; or simply script the deployment of the library when not part of the same group.
    Regards
    Tugdual Grall

  • Deploy on Standalone OC4J

    Hi everyone,
    We are developing application on JDeveloper11 TP2. Now I am trying to run it on the latest OC4J TP4. Following instructions from: http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    and modifying default-web-site.xml I succeeded to deploy and run simple "Hello World" application and with it everything is fine. Our application that we are developing is much more complex (ADF Faces, ADF BC). I have deployed it and started it with success but when I try to access it from browser I receive internal server error with following server log:
    08/07/03 11:35:29 ADFc: BindingContext is not present, not using ADFm APIs for DataControlFrames.
    08/07/03 11:35:29 ADFc: Controller caching of MDS metadata resources ENABLED.
    08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:29 WARNING: ADFc: Duplicate bootstrap configuration file specified:'/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:50 WARNING: tee: Servlet error java.lang.ClassCastException:oracle.adf.share.security.providers.jazn.JAZNSecurityContext
    at oracle.adf.share.ADFContext.getSecurityContext(ADFContext.java:276)
    at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:357)
    at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:333)
    at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:60)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:170)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
    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)
    What can be the reason for this and how can I solve it.
    Thanks!!!

    Hi again,
    as you suggested I tried with TP4 and it ended with success. I haven't used standalone oc4j because TP4 doesn't have adf runtime installer. Instead I have used embedded oc4j in standalone mode. First after deploying app I got missing class error which I solved with Missing library error while deploying the ADFBC application
    After that application pages are accessible but it is TP4 version of app and lot of things don't work as should.

  • Standalone OC4J 9.0.4 - Loading Native Libraries - Unsatisfied Link Error

    Hello,
    I incidentally happen to have a similar problem as has been described in several posts in this forum. The problem is that of loading Native libraries in OC4J.
    The scenario is
    1) Environment is Standalone OC4J 9.0.4, Windows 2000, JDK 1.4.2
    2) A Java wrapper loads DLL1 which internally loads DLL2.
    (To be more specific the DLL1 is a SAPSSOEXT.DLL and the DLL2 is SAPSECU.DLL. These are used for establishing SSO with SAP portal)
    The phase-1 of Java wrapper loading DLL1 is achieved by setting either the PATH or the java.library.path variables.
    The phase-2 of DLL1 loading DLL2 is what is failing with an Unsatisfied Link Error.
    Since I am using a standalone version and not a OC4J app-server, the OPMN related configuration for specified PATH variables will not be relevant here. Is there any other place where I can configure these.
    regards
    Shivaram

    A small correction to my observation above.
    The call to load DLL1 via System.loadLibrary() is successful. However when I attempt to call any method on it it fails with UnsatisfiedLinkError.
    Contrary to what was written above the error occured even before DLL1 attempted to load DLL2.
    So why is it that the call to loadLibrary is successful but the call to actual function is failing? (This works flawlessly on the command line)
    Is this a path problem, if so how do I configure it in OC4J standalone. Variables PATH, java.library.path, LD_LIBRARY_PATH none of them seem to have any effect on this.
    I tried debugging using a windows file monitor. The library DLL1 is being read from the correct path and is being opened successfully.
    Any suggestions will be greatly appreciated.

  • Deploying OW4J to standalone oc4j

    Hi,
    I am trying to deploy the requisition demo for standalone oc4j server. I am using oc4j provided in the jdev905 preview. At step 3: run deploy.bat, in README-OW4JPreview.html first I had to edit oc4j_home/config/datasource.xml and add the data-source tag (below) to get around the problem described in post:
    Re: OW4J Documentaion
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="OW4JDS"
    location="jdbc/OW4JCoreDS"
    xa-location="jdbc/xa/OW4JXADS"
    ejb-location="jdbc/OW4JDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="dbuser"
    password="dbpwd"
    url="jdbc:oracle:thin:@dbmachine:dbport:sid"
    inactivity-timeout="30"
    />
    But now I get the error message below. How do I get around this?
    03/12/26 14:40:05 Notification ==> Application Deployer for ow4jdemo STARTS [ 20
    03-12-26T14:40:05.154CET ]
    03/12/26 14:40:05 Notification ==> Undeploy previous deployment
    03/12/26 14:40:05 Notification ==> Copy the archive to C:\jdev905\j2ee\home\appl
    ications\ow4jdemo.ear
    03/12/26 14:40:05 Notification ==> Unpack ow4jdemo.ear begins...
    03/12/26 14:40:05 Auto-unpacking C:\jdev905\j2ee\home\applications\ow4jdemo.ear.
    .. done.
    03/12/26 14:40:05 Notification ==> Unpack ow4jdemo.ear ends...
    03/12/26 14:40:05 Notification ==> Initialize ow4jdemo.ear begins...
    03/12/26 14:40:05 Auto-unpacking C:\jdev905\j2ee\home\applications\ow4jdemo\ow4j
    demo.war... done.
    03/12/26 14:40:06 Notification ==> Initialize ow4jdemo.ear ends...
    03/12/26 14:40:06 Notification ==> Initialize ow4jdemo begins...
    03/12/26 14:40:06 Copying default deployment descriptor from archive at C:\jdev9
    05\j2ee\home\applications\ow4jdemo\ow4jdemo/WEB-INF/orion-web.xml to deployment
    directory C:\jdev905\j2ee\home\application-deployments\ow4jdemo\ow4jdemo...
    03/12/26 14:40:06 Notification ==> Initialize ow4jdemo ends...
    03/12/26 14:40:06 ArchiveContext: containsDirectory(META-INF) plus '/' found in
    C:\jdev905\j2ee\home\applications\ow4jdemo\demoejb.jar in entry META-INF/MANIFES
    T.MF
    03/12/26 14:40:06 Copying default deployment descriptor from archive at C:\jdev9
    05\j2ee\home\applications\ow4jdemo\demoejb.jar/META-INF/orion-ejb-jar.xml to dep
    loyment directory C:\jdev905\j2ee\home\application-deployments\ow4jdemo\demoejb.
    jar...
    03/12/26 14:40:06 Auto-deploying - demoejb.jar (No previous deployment found)...
    03/12/26 14:40:15 Auto-deploying - compiling and loading...
    Error deploying file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar hom
    es: No javax.jms.Destination found at the specified destination-location (jms/No
    tificationQueue) for MessageDrivenBean NotificationMDB
    Error in application ow4jdemo: Error loading package at file:/C:/jdev905/j2ee/ho
    me/applications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2ee/home
    /applications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found at the
    specified destination-location (jms/NotificationQueue) for MessageDrivenBean Not
    ificationMDB
    03/12/26 14:40:21 done.
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exc
    eption Error in application ow4jdemo: Error loading package at file:/C:/jdev905/
    j2ee/home/applications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2
    ee/home/applications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found
    at the specified destination-location (jms/NotificationQueue) for MessageDrivenB
    ean NotificationMDB
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:411)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:127)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:484)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module; Exception Error
    in application ow4jdemo: Error loading package at file:/C:/jdev905/j2ee/home/ap
    plications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2ee/home/appl
    ications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found at the speci
    fied destination-location (jms/NotificationQueue) for MessageDrivenBean Notifica
    tionMDB
    at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBC
    ontainer.java:2424)
    at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:
    2408)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2191)
    at com.evermind.server.Application.postInit(Application.java:553)
    at com.evermind.server.Application.setConfig(Application.java:170)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1924)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:407)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:127)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:484)
    03/12/26 14:40:21 Notification ==> Application Deployer for ow4jdemo FAILED: Err
    or initializing ejb-module; Exception Error in application ow4jdemo: Error loadi
    ng package at file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar, Erro
    r deploying file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar homes:
    No javax.jms.Destination found at the specified destination-location (jms/Notifi
    cationQueue) for MessageDrivenBean NotificationMDB [ 2003-12-26T14:40:21.748CET
    03/12/26 14:40:21 Notification ==> Application UnDeployer for ow4jdemo STARTS [
    Fri Dec 26 14:40:21 CET 2003 ]
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:25 Notification ==> Application UnDeployer for ow4jdemo COMPLETES
    [ Fri Dec 26 14:40:25 CET 2003 ]

    Hi Jasmina,
    Looks like the JMS topics have not been set up. Please follow the instructions as mentioned in "3. Set up In-memory JMS Topics" of the README.
    Cheers,
    Raja

  • 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-

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • How to specify a mapping file using annotations?

    Hi,
    i am trying to deploy a WebService (with annotations) on oc4j 10.1.3.1.0. but all i get is the following exception:
    07/03/13 12:41:52 oracle.j2ee.ws.common.tools.api.ValidationException: test.datamodel.SimpleObjectId - Duplicate type name "test.datamodel.SimpleObjectId" for Java type "{http://tdeer.de/services/internal/test/1_0}SimpleObjectId" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:247)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$DeploymentCompileTool.run(DeploymentGenerator.java:200)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:131)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:165)
    07/03/13 12:41:52      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/03/13 12:41:52      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/03/13 12:41:52      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/03/13 12:41:52      at java.lang.reflect.Method.invoke(Method.java:585)
    07/03/13 12:41:52      at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85)
    07/03/13 12:41:52      at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    07/03/13 12:41:52      at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    07/03/13 12:41:52      at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    07/03/13 12:41:52      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    07/03/13 12:41:52      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    07/03/13 12:41:52      at com.evermind.server.Application.setConfig(Application.java:413)
    07/03/13 12:41:52      at com.evermind.server.Application.setConfig(Application.java:314)
    07/03/13 12:41:52      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/03/13 12:41:52      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/03/13 12:41:52      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/03/13 12:41:52      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/03/13 12:41:52      at java.lang.Thread.run(Thread.java:595)
    07/03/13 12:41:52 Caused by: oracle.j2ee.ws.common.processor.modeler.rmi.InvalidParameterException: test.datamodel.SimpleObjectId - Duplicate type name "test.datamodel.SimpleObjectId" for Java type "{http://tdeer.de/services/internal/test/1_0}SimpleObjectId" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.addTypeName(LiteralTypeModeler.java:1249)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.processClass(LiteralTypeModeler.java:290)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:235)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:181)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelSubclasses(LiteralTypeModeler.java:1048)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:210)
    07/03/13 12:41:52      ... 25 more
    The Stateless-SessionBean has one WebMethod with the following Signature:
    public Element getElement(TestObjectId1 pObjectId1, TestObjectId2 pObjectId2) throws RemoteException
    TestObjectId1 and TestObjectId2 have the same Superclass, SimpleObjectId.
    How to specify a mapping file using annotations?
    Thanks
    tdeer

    We you codegen a Policy annotated WSDL, the policies are get included in the stub. Hence you don't have to specify a separate Policy file.
    But if you need to use a separate policy then you need to set them in the AxisDescription object that you use in the ServiceClient and OperationClient.
    e.g.
    ServiceClient serviceClient = new ServiceClient();
    OperationClient operationClient = serviceClient
    .createClient(ServiceClient.ANON_OUT_IN_OP);
    FileInputStream fis = new FileInputStream("path-to-policy.xml");
    Policy servicePolicy = PolicyEngine.getPolicy(fis);
    AxisService axisService = serviceClient.getAxisService();
    axisService.getPolicyInclude().setPolicy(servicePolicy);
    If you need more information please repost this to [email protected] with a [AXIS2] subject prefix.

Maybe you are looking for

  • Report Generation Toolkit Excel errors and Libraries, Classes

    Hello All, I'm using the Report Generation toolkit Excel functions to handle some data and create graphs.  I'm running into problems with the Add Worksheet.vi.  At the very start of the vi, it closes the reference to Shapes.  Occasionally, the Close

  • Need help! Windows won't boot in partition.

    Loner T, Here is where I have gotten to so far: The partition for GPT4 are 777385984 - 976773119 (199387136) which is very close to what is showing for MS Data below. TestDisk 7.0-WIP, Data Recovery Utility, January 2015 Christophe GRENIER <[email pr

  • IPad notes not visible

    Can't get my notes or account to be visible in Notes. Account is listed for mail.

  • Some web pages causing 100% CPU use of iexplore.exe since Flash update

    I'm having a problem with certain Amazon.com pages hanging my Internet Explorer 6 using Flash Player 10,0,12,36, causing 100% CPU use for iexplore.exe and requiring me to End Task to quit. All the pages effected have an interactive mouseover Size and

  • How to load DVD in to Super Multi DVD burner

    I know this is a stupid question. But I was trying to put a DVD into the tray on my Desktop and I couldnt' get the thing to close. Anybody have any instructions on how to do this.