Starting OC4J not stand alone

Can I start the OC4J not only from the command line but also when the Apache starts?
I think when I close the command line window (WINDOWS) the OC4J stops running. Is it true?
Thanks.

Hi Manolis,
On my PC -- running Windows2000 -- I can use the "start" command to start
OC4J as a "background" process, i.e. it continues to run even after I
close the DOS prompt window I used to type in the "start" command.
Simply type "start" before your normal OC4J command, e.g.
start java -jar oc4j.jar
My version of OC4J is 1.0.2.2.1
I think there was also a discussion on this forum about setting up OC4J
as a "service" on Windows. Perhaps you could try searching the forum
archives for this discussion?
Hope this has helped you.
Good Luck,
Avi.

Similar Messages

  • EJB lookup works in embedded OC4J but not stand-alone

    I use JDeveloper 9.0.3.1 to develop a combined web & EJB application. The EJBs are deployed on a 9.0.3 iAS server on a different machine.
    The EJB lookup is in a helper class that's called by the servlet. For EJB lookup, I use the class "com.evermind.server.rmi.RMIInitialContextFactory" as described by the OC4J servlet guide (http://download-uk.oracle.com/docs/cd/A97688_10/generic.903/a97680/develop.htm#1003973). So my code looks like this:
    Hashtable map = new Hashtable();
    map.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    map.put(Context.PROVIDER_URL, "ormi://server:port/app-business");
    map.put(Context.SECURITY_PRINCIPAL, "admin");
    map.put(Context.SECURITY_CREDENTIALS, "password");
    map.put("dedicated.rmicontext", "true");
    InitialContext context = new InitialContext(map);
    Object thing = context.lookup("MyEjb");
    EJBHome feedback = (EJBHome)PortableRemoteObject.narrow(thing, "com.company.ejb.MyEjbHome");
    The last insert into the map (map.put("dedicated.rmicontext", "true");) wasn't mentioned neither in the servlet guide nor the EJB one. But without it, I'd always get some "domain is null" error.
    Now this code above works flawlessly in the embedded OC4J of JDeveloper. But it always hangs in the "Object thing = context.lookup("MyEjb");" line when executed either in a stand-alone OC4J (the one from JDeveloper launched through the batch file in [JDeveloper directory]\jdev\bin\start_oc4j.bat) or in the OC4J in iAS.
    Does anybody know why this happens or how to fix it? I know that there are other ways of EJB lookup in servlets but since we also have plain Java classes for testing purposes that access EJBs, this seemed like the simplest thing to do for both Java classes and servlets.

    I was referring to the java client case where this optoin is not required. In general for web clients one doesn't use the rmi initial context to find the bean. This is because the bean and the webclient are both packaged in the same application. One defines the ejb-ref in the web.xml for the bean and then looks it using the default initial context. Something like
    Context ctx = new InitialCOntext();
    ctx.lookup("bean ejb-ref-name");
    However if you must use rmi for accessing the bean from the web client then the dedicated connection property is required.
    For java clients you would setup the rmi context environment.
    Since you are trying to use a common utility class for both java and webclient I would recommend that you look into packaging the java client as a j2ee application client. Basically in that case you would be able to define a ejb-ref in the aplication-client.xml and use the default initial context in code for both the cases.
    Hope that helps
    Dhiraj

  • I am unable to start two oc4j servers (stand alone)

    Hi All,
    I am unable to start the two oc4j servers as it is giving the following exception
    Starting OC4J from C:\oc4j\j2ee\home ...
    2009-01-21 11:38:34.015 NOTIFICATION JMSServer[]: OC4J JMS server recovering tra
    nsactions (commit 0) (rollback 0) (prepared 0).
    2009-01-21 11:38:34.015 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/Oc4jJmsExceptionQueue].
    2009-01-21 11:38:34.093 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/jobstore].
    2009-01-21 11:38:34.203 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/events].
    2009-01-21 11:38:34.234 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/notifications].
    2009-01-21 11:38:34.281 ERROR jms.xml: port 9,127 already in use.
    09/01/21 11:38:34 *** (SEVERE) jms.xml: port 9,127 already in use.
    2009-01-21 11:38:34.281 ERROR Failed to set the internal configuration of the OC
    4J JMS Server with: XMLJMSServerConfig[file:/C:/oc4j/j2ee/home/config/jms.xml]
    09/01/21 11:38:34 *** (SEVERE) Failed to set the internal configuration of the O
    C4J JMS Server with: XMLJMSServerConfig[file:/C:/oc4j/j2ee/home/config/jms.xml]
    2009-01-21 11:38:34.281 ERROR J2EE OJR0011 Exception starting JMS server: Failed
    to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
    ig[file:/C:/oc4j/j2ee/home/config/jms.xml]
    2009-01-21 11:38:34.328 ERROR J2EE RMI0002 Error starting ORMI server gis77 port
    23,791: Address already in use: JVM_Bind
    2009-01-21 11:38:34.328 ERROR java.net.BindException: Address already in use: JV
    M_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:4
    01)
    at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.jav
    a:313)
    at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:194)
    at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer
    .java:2235)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
    a:914)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
    uncher.java:113)
    at java.lang.Thread.run(Thread.java:595)
    09/01/21 11:38:34 Error starting ORMI server gis77 port 23,791: Address already
    in use: JVM_Bind
    09/01/21 11:38:34 Shutting down OC4J...
    even I got the same exception after changing the port numbers in rmi.xml and jms.xmls
    Any help appreciated...
    Thanks in advance,
    Krishna

    This is my favorite FAQ. ;-)
    Generally speaking, to start two OC4Js you have to make sure that they don't listen on the same ports. The easiest way is to copy the home directory to another one, (eg. home2) and change the ports in home2/config/*.xml.
    With OC4J 10.1.3.x you can use the Application Server Console to change the number of JVMs to more than one and you're done.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Start oc4j not working

    Hi
    I am using OBIEE 10.1.3.4 on my machine for the past 2 months and everything was fine till last week. When I start oc4j from Start - Programs - Oracle Business Intelligence - Start OC4J, console comes up and quickly vanishes i.e. its not being started. Due to this I can't use Presentation, publisher etc. I can't even open Systems management page to set oc4jadmin configurations.
    Do I need to do/check some settings? Any pointers to solve this issue will be highly appreciated.
    Thanks
    AK

    To be clear, what is the exact behaviour you've got? : -
    can you access the presentation services login page?
    do you get a 500 internal server error?
    do you get a host not found type error?
    You'll find your presentation services logs in <oraclebidata>/web/log/sawserver.out.log
    Check analytics log here: <OracleBI home>\oc4j_bi\j2ee\home\application-deployments\analytics\application.log
    Check your logs in here too: <oracle BI home>\oc4j_bi\j2ee\home\log

  • Program runs in IDE, not stand-alone

    I recently created a program that contacts www.clanbase.com and connects to IRC to pass information from CB to IRC. Everything runs perfectly smooth in the IDE but when i run it outside the IDE, it won't connect to IRC. Could this be because i run it outside the IDE, or is the problem more likely to be a firewall or something?
    Many thanks in advance

    What IDE are you using? Are you getting any exceptions? How are you running it outside the ide?
    My guess would be that you are setting your classpath differently in the IDE, but without more information I cant say.

  • Stop a stand-alone and web app from starting in an App Server

    I want to programmatically shut down an application from starting, e.g., mid-way in its start, if a certain condition is raised. I do not want code as System.exit(int) as this API will terminate the entire JVM and more than 1 application running in the JVM will be shut down. My goal is to stop the start process of only one application that is running in the same shared JVM. The JVM is running more than 1 application.
    Obviously, throwing a Runtime exception (throw new RuntimeException())does not stop the application - application still gets started.
    I want a solution that will work for both stand-alone application and a web application. However, if I have to use two different approaches (one approach for stand-alone, another for web), I will be fine with that approach.
    I am using WebSphere 6.1 as application server.
    Please suggest what are my options to stop the application from start for both stand-alone and web application.

    There is of course no general solution to that.
    Consider the following.
    1. Initial thread starts 10 threads, and then it exits.
    2. One thread determines that exit should occur.
    3. How do other threads get terminated?
    ...and a web application.Conceptually that is a bit suspect. If you don't want it to run then the simple solution is don't install it. In general you don't want a web app to "exit" if a known error condition occurs. For example it shouldn't exit if the database connection fails but instead the behavior should change until the database connection is restored.

  • Starting NON-stand alone oc4j in debug mode

    I have set up OC4J (in Application Server 9.0.2.0.0, NOT is stand-alone mode) and I want to start it in debug mode in order to watch some jdbc leaking connections. Which is the way? Is it done through the Enterprise Manager WebSite? All the documentation I have reached is about stand-alone mode.
    Thanx in advance

    Andreas,
    Did you try to add the debug option in OEM (Enterprise Manager WebSite) via OC4J Home > Server properties > Command line options?
    Cheers,
    -lars

  • Not able to download OC4J stand-alone user's guide

    Hi,
    I tried to download Oracle9iAS J2EE container (OC4J) stand-alone users guide ( The file name is
    http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf). It is a pdf file. It shows the first page of the document in the browser. When try to go to other pages, it hangs-up and says
    " A File I/O occurred. Connection Timed-out"
    after some time.
    Could u please correct it ? If not, atleaset, could u let me know whether atleast HTML version is available ?
    tnr,
    Sai

    Hi,
    try the following URL, there can you select which version of the docs you would like to display:
    http://otn.oracle.com/documentation/ias.html
    Thanks
    @

  • Can not start OC4j Embedded Server in the same machine

    Hi ,
    Please some one help me out with this problem .
    I have created two web services AddMacroTask and AddMasterTask .
    My both the web services are not running simultaneously .
    If I start the AddMacroTask web service then it show me the message that " Another instance is running ,OC4j will shutdown the previous version ...
    Pls someone help me out ..
    Thanks
    Prashant Dwivedi

    Hello,
    The embedded OC4J in Jdeveloper 10g can run only 1 application (EAR) at the time, this is for testing/debugging.
    My guess, is your 2 web services are located in 2 different applications this is why Jdeveloper does that.
    The easiest way will be to deploy one of your service in a stand alone OC4J that you have started separately, you can take the one that is distributed with Jdeveloper located in $JDEV_HOME/j2ee/home.
    Regards
    Tugdual Grall

  • Web Services - Issue with running OC4J stand alone server from JDeveloper

    I created a stand alone OC4J App. server instance in JDeveloper. I deployed my Webservice (WebServices.deploy) to that OC4J server.
    Now I want to test my web service. I opened a browser window and I specfied the URL as
    http://localhost:<RMI Port#>/<Project1>-context-root/<Webservice name>.
    Default RMI Port#23791.
    http://localhost:23791/<Project1>-context-root/<Webservice name>.
    and I am getting the following error message
    ã vInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol.
    Could you please let me know, what's going on.
    Thanks!

    OK, so there's two threads in this email.
    1. When using a Web browser client and an OC4J standalone instance, the default address of the OC4J website is http://host:8888/.
    The port you keep referring to is the ORMI port. That is a different protocol that is used with EJBs, and our remote deployment mechanism. As you have observed, JDeveloper uses it to deploy to the OC4J instance.
    2. The root problem you are seeing is related to the message you posted on the console.
    OC4J 10g (10.1.3) Default Web Site. Application: bc4j does not exist. Error creating Web application: webapp
    Because this web app is misconfigured, its not starting so you can't access it.
    In the j2ee/home/config/default-web-site.xml file, there is a reference to an application called BC4J -- which is not available on the server as a deployed application.
    So you need to correct that situation -- BC4J is not normally present in a vanilla OC4J standalone distribution.
    You can try editing the j2ee/home/config/default-web-site.xml file and remove the <web-app> entry that mentions BC4J and then try starting OC4J.
    If you don't have a lot of time invested in configuring the instance, you could also try extracting oc4j_extended.zip again and starting with a fresh one.
    cheers
    -steve-

  • Error while starting stand alone applicaitons in Web Center Content

    Hi All,
    I am getting this error while starting any standalone component in Oracle WebCenter Content Server :
    WARNING: Jps platform factory creation failed. Reason: {0}.
    java.security.PrivilegedActionException: oracle.security.jps.JpsException: JPS-0
    *0065: Jps platform factory creation failed. Reason: java.lang.ClassNotFoundExcep*
    tion: oracle.security.jps.tomcat.JpsTomcatPlatformFactory.
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.ee.JpsPlatformFactory.getPlatformFactory(JpsPlatf
    ormFactory.java:185)
    at oracle.security.jps.ee.JpsPlatformFactory.getPlatformFactory(JpsPlatf
    ormFactory.java:146)
    at oracle.security.jps.internal.audit.AuditServiceImpl.initAuditor(Audit
    ServiceImpl.java:319)
    at oracle.security.jps.internal.audit.AuditServiceImpl.getAuditor(AuditS
    erviceImpl.java:238)
    at oracle.security.jps.internal.audit.AuditServiceImpl.getAuditor(AuditS
    erviceImpl.java:373)
    at oracle.security.jps.util.AuthZAuditUtil$3.run(AuthZAuditUtil.java:183
    at oracle.security.jps.util.AuthZAuditUtil$3.run(AuthZAuditUtil.java:181
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.AuthZAuditUtil.initAuditor(AuthZAuditUtil.ja
    va:181)
    at oracle.security.jps.util.AuthZAuditUtil.isEventLoggable(AuthZAuditUti
    l.java:136)
    at oracle.security.jps.util.AuthZAuditUtil.auditAuthZ(AuthZAuditUtil.jav
    a:427)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:554)
    at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(C
    sfUtil.java:643)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCred
    entialMap(SspCredentialStore.java:497)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idc.conversion.jps.CSFKeyLoaderAction.run(CSFKeyLoaderAction.java:56)
    at java.security.AccessController.doPrivileged(Native Method)
    at idc.conversion.jps.CSFKeyLoader.readKeys(CSFKeyLoader.java:166)
    at intradoc.conversion.StandardKeyLoader.load(StandardKeyLoader.java:61)
    at intradoc.conversion.SecurityObjects.loadKeys(SecurityObjects.java:528
    at intradoc.conversion.SecurityObjects.init(SecurityObjects.java:133)
    at intradoc.conversion.CryptoPasswordUtils.initSecurityObjects(CryptoPas
    swordUtils.java:75)
    at intradoc.conversion.CryptoPasswordUtils.loadPasswordManagement(Crypto
    PasswordUtils.java:136)
    at intradoc.server.IdcSystemLoader.managePasswords(IdcSystemLoader.java:
    *3118)*
    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:396)
    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)
    at intradoc.apputilities.idcshell.InteractiveShellStartup.init(Interacti
    veShellStartup.java:253)
    at intradoc.apputilities.idcshell.InteractiveShellStartup.startup(Intera
    ctiveShellStartup.java:52)
    at IdcShell.main(IdcShell.java:27)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.loader.IdcClassLoader.invokeMain(IdcClassLoader.java:352)
    at intradoc.loader.IdcClassLoader.startMain(IdcClassLoader.java:170)
    at intradoc.loader.IdcClassLoader.main(IdcClassLoader.java:140)
    Caused by: oracle.security.jps.JpsException: JPS-00065: Jps platform factory cre
    ation failed. Reason: java.lang.ClassNotFoundException: oracle.security.jps.tomc
    at.JpsTomcatPlatformFactory.
    at oracle.security.jps.ee.JpsPlatformFactory$2.run(JpsPlatformFactory.ja
    va:193)
    at oracle.security.jps.ee.JpsPlatformFactory$2.run(JpsPlatformFactory.ja
    va:186)
    *... 41 more*
    Mar 7, 2013 2:55:58 PM oracle.security.jps.internal.audit.AuditServiceImpl initA
    uditor
    WARNING: Failed to get server log directory. Reason: oracle.security.jps.JpsExce
    ption: JPS-00065: Jps platform factory creation failed. Reason: oracle.security.
    jps.JpsException: JPS-00065: Jps platform factory creation failed. Reason: java.
    lang.ClassNotFoundException: oracle.security.jps.tomcat.JpsTomcatPlatformFactory
    intradoc.common.ServiceException:
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:230)
    at intradoc.apputilities.idcshell.InteractiveShellStartup.init(Interacti
    veShellStartup.java:253)
    at intradoc.apputilities.idcshell.InteractiveShellStartup.startup(Intera
    ctiveShellStartup.java:52)
    at IdcShell.main(IdcShell.java:27)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.loader.IdcClassLoader.invokeMain(IdcClassLoader.java:352)
    at intradoc.loader.IdcClassLoader.startMain(IdcClassLoader.java:170)
    at intradoc.loader.IdcClassLoader.main(IdcClassLoader.java:140)
    Caused by: intradoc.data.DataException: !apErrorWithTable,DocMetaDefinition
    at intradoc.shared.MetaFieldData.initIndexes(MetaFieldData.java:171)
    at intradoc.shared.MetaFieldData.init(MetaFieldData.java:84)
    at intradoc.server.subject.MetaDataSubjectCallback.cacheMetaData(MetaDat
    aSubjectCallback.java:42)
    at intradoc.server.subject.MetaDataSubjectCallback.refresh(MetaDataSubje
    ctCallback.java:35)
    at intradoc.server.IdcSystemLoader.loadCachedTables(IdcSystemLoader.java
    *:1255)*
    at intradoc.server.IdcSystemLoader.loadCaches(IdcSystemLoader.java:1164)
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:132)
    *... 10 more*
    Caused by: intradoc.data.DataException: !syColumnDoesNotExist,dDecimalScale
    at intradoc.data.ResultSetUtils.getIndexMustExist(ResultSetUtils.java:44
    *7)*
    at intradoc.shared.MetaFieldData.initIndexes(MetaFieldData.java:167)
    *... 16 more*
    Error with table 'DocMetaDefinition'.
    The column 'dDecimalScale' does not exist in this table.
    I am using 11.1.1.6 free version of webcenter content and using appropriate database with required tables created by RCU of appropriate version and also using required weblogic server.
    Is there anything like , we are not allowed to use stand alone application in free version ? or problem is something else.
    Thank you in advance.
    Edited by: 957580 on Mar 7, 2013 2:01 AM

    Hi Deepak,
    Thanks for Reply.
    But in /home/sapcs/conf/http.conf file its already maintained like this, sending you some part of httpd.conf file
    Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the #<VirtualHost> # directive.
    Change this to Listen on specific IP addresses as shown below to  prevent Apache from glomming onto all bound IP #addresses.
    Listen 1090
    User/Group: The name (or #number) of the user/group to run httpd as.
    It is usually good practice to create a dedicated user and group for
    running httpd, as with most system services.
    User sapcs
    Group sapsys
    </IfModule>
    </IfModule>
    even after restarting server i am getting same problem
    [sapcs@hpsebdev1 bin]$ apachectl start
    (13)Permission denied: make_sock: could not bind to address [::]:80
    (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    I am using a non root user to start apachectl command
    Regards
    Gagan Sharma

  • Stand alone region not seeing AM definition when added to seeded page...

    I have created a stand alone region of type stackLayout that contains a messageLOVInput and a table for employee selection and forwarding to predefined pages. I then created a test page in JDeveloper where I added a FlexLayout region and extended my stackLayout region. This works as desired.
    I then wished to test my stand alone region by adding it via personalization to a seeded page. I first copied the files to the appropriate directory in $JAVA_TOP into my custom directory. Then I loadd into the MDS, then bounced apache and OC4J. The controls renders as desired. However clicking upon the messageLOVInput in my stand alone region it opens a window and I get "Cannot find LOV in ... AM". Looking at the About this page link, I see that it is not recognizing my AM even though when I added the item via personalization (SITE LEVEL) I specified it. What am I missing here? This should be reusable functionality that can be added to any page, seeded or custom. But for whatever reason it fails to see my AM and thus cannot find the LOV. I know I didn't get the AM reference wrong during the personalization because it would throw an error if I had (ask me how I know this).
    Has anyone ever done this before?

    Hi,
    If your issue is resolved, you can close the thread so that it can be helpful for others :)
    --Sushant                                                                                                                                                                                                                               

  • OC4J 9.0.4 stand alone + JDK 1.4.2

    Hi,
    I'm upgrading my web applications from OC4J (1.0.2.2) to OC4J 9.0.4. Also, upgrading from JDK1.3.1 to JDK 1.4.2. I have installed OC4J 9.0.4 stand alone version on my Windows 2000 machine and I have a couple of questions:
    1. I didn't find any JDK directory under OC4J_HOME. So, do I need to copy JDK 1.4.2 directory and place it under OC4J_HOME. Also, do I need to set any CLASSPATH while running OC4J ?
    2. I have an issue with running JSPs in the default application. However, the servlet examples run fine.I get the following error on running JSPs:
    quote:
    05/10/14 15:42:23 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -
    classpath oc4j.jar;E:\oc4j_extended\j2ee\home\lib/ejb.jar;E:\oc4j_extended\j2ee\
    home\lib/servlet.jar;E:\oc4j_extended\j2ee\home\lib/ojsp.jar;E:\oc4j_extended\j2
    ee\home\lib/jndi.jar;E:\oc4j_extended\j2ee\home\lib/jdbc.jar;E:\oc4j_extended\j2
    ee\home\iiop.jar;E:\oc4j_extended\j2ee\home\iiop_gen_bin.jar;E:\oc4j_extended\j2
    ee\home\lib/jms.jar;E:\oc4j_extended\j2ee\home\lib/jta.jar;E:\oc4j_extended\j2ee
    \home\lib/jmxri.jar;E:\oc4j_extended\j2ee\home\lib/javax77.jar;E:\oc4j_extended\
    j2ee\home\lib/javax88.jar;E:\oc4j_extended\j2ee\home\../../opmn/lib/ons.jar;E:\o
    c4j_extended\j2ee\home\../../opmn/lib/optic.jar;E:\oc4j_extended\j2ee\home\../..
    /lib/dms.jar;E:\oc4j_extended\j2ee\home\../../dms/lib/dms.jar;E:\oc4j_extended\j
    2ee\home\lib/connector.jar;E:\oc4j_extended\j2ee\home\lib/cos.jar;E:\oc4j_extend
    ed\j2ee\home\lib/jsse.jar;E:\oc4j_extended\j2ee\home\../../oracle/lib/jsse.jar;E
    :\oc4j_extended\j2ee\home\lib/jnet.jar;E:\oc4j_extended\j2ee\home\lib/jcert.jar;
    E:\oc4j_extended\j2ee\home?
    unquote:
    Could somebody tell me what I'm doing wrong ?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks a lot for your help qlin. I found a solution to the JSP issue from the archives.
    However, I ran into a new issue. I got the following error when I tried to access a JSP in my web application (this works with OC4J 1.0.2.2):
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I got the same error with both JDK 1.4.2 and JDK 1.3.1.
    Any idea what could be causing the error, and how to trace it?
    Regarding the OC4J version, I have to use 9.0.4 as we have a product that uses it and I have to stick with the same version.
    Also, I have a couple of other questions.
    1. I use OC4J stand-alone on Win2K machine for development and deploy on a Solaris machine that uses the integrated OC4J version, which comes with Oracle Application Server 10g. Do you see any issues with this ?
    2. I currently have a simple logging mechanism using "System.out.println" to print output to a log file in the stand-alone version. Do you know of any better logging scheme that can be used with the integrated OC4J ?
    Any help/suggestions will be greatly appreciated.
    Thanks,
    Shyam
    I didn't find any JDK directory under OC4J_HOME.So, do I need to copy JDK 1.4.2
    directory and place it under OC4J_HOME. Also, do Ineed to set any CLASSPATH while
    running OC4J ?Yes, since 9.0.4 or even earlier possibly, oc4j
    installation is not bundled with a JDK installation.
    It is easy enough to download any JDK version you
    wanted. You do not need to place a copy of JDK
    inside OC4J_HOME. I believe it is better not to set
    any CLASSPATH for running OC4J, although it is
    probably does not matter any way.
    05/10/14 15:42:23 IOException in compile:CreateProcess: javac.exe -J-Xmx1024m -
    Please search this forum for "IOException in compile:
    CreateProcess: javac.exe". You will see the answer.
    By the way, any particular reason that you decide not
    to upgrade to 10.1.2.0.2 directly?
    It is obvious that 10.1.2 should be better than
    9.0.4. After another several months, 10.1.3 should be
    a even better choice since 10.1.3 supports j2ee 1.4
    while 10.1.2 and 9.0.4 supports j2ee 1.3.Thanks for your help qlin.I found a solution to the JSP issue by searching the archives.
    However I ran into a new issue. When I try to run my web application, I get the following exception:
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I tried run OC4J with both JDK 1.4.2 and 1.3.1 versions but still get the same error.

  • Initially opening a stand alone applicatio​n not in run mode.

    When opening a stand alone application for the first time, how can I not have it automatically start in run mode?  I want the user to click the white arrow first to start the program.  Are there any ways to get around this?  Thanks!!
    Solved!
    Go to Solution.

    Yes.  Here's how:
    When you build your executable, there are several screens in which you set parameters. 
    Under "Source File Settings", check "Set VI Properties for all contained items". 
    Click the "Customize VI Properties" button.  Another dialog box will pop up listing the VI properties. 
    Under "Execution", uncheck "Use VI Property". 
    Make sure "Run When Opened" is unchecked. 
    Now, when you build your executable, your user will have to press the white arrow to start the VI.
    Hope this helps,
    d

  • Starting Oracle 8i listener when under stand alone Windows NT 4.0 workstation.

    Hi,
    I am finding it difficult to start oracle listener under a stand alone Windows NT4.0 workstation. My NT machine is stand alone and not connected to any n/w. Since I was not able to bring up listener, I was not able to create any database. I have installed Oracle8i Enterprise Edition on my machine. Please help.
    -- Shesha

    Dear Philip,
    I have attached the listener.ora and tnsnames.ora.
    listener.ora
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS = (KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ashwin.sheernali)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = ashwin)
    tnsnames.ora
    ASHWIN.SHEERNALI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ashwin.sheernali)
    Also, I am getting the following error messages when tried with "lsnrctl start" command at command prompt.
    TNSLSNR for 32 bit Windows version 8.1.6.00 - Production
    System parameter file is D:\Oracle\Ora81\network\admin\listener.ora
    Log Message written to D:\Oracle\Ora81\network\log\listener.log
    Listening on (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0IPC)))
    Attempted to listen on (DESCRIPTION=(ADDRESS=(KEY=EXTPROC0)))
    TNS-12538: TNS: no such protocol adapter
    TNS-12560: TNS: protocol adapter error.
    TNS-00508: No such protocol adapter.
    Thanks for everything.
    I will use the simplest forms of listener.ora and tnsnames.ora, as suggested in your mail and try tonight.
    -Shesha
    null

Maybe you are looking for

  • Office web apps service pack 1 pdf preview

    Hello Experts, I have successfully installed and configured OWA Service pack 1 for a sharePoint farm, All office document preview works perfectly only for PDF files not to show preview, are there any special configuration to get this working in Share

  • Company Code One Vs multiple

    Hi Experts, I would like know that if we merge multiple company code to one company code. then what would be legal impact and vice versa. Regards,

  • Panic after boot in page_retire_thread Solaris 10 update 8

    Hi, I am using Solaris 10 update 8 on a T5120. There was a HW problem that required a new motherboard. Afterward, the system reboots but within a minute of the login prompt the system panics with: panic[cpu10]/thread=2a100527ca0: BAD TRAP: type=31 rp

  • Adapter messages not found

    Hi all.           i have a scenario where the JMS adapter is picking a file.I used content conversion for this JMS comm channel.I am unable to see the data either in SXMB_MONI or in message monitoring,,, that is picked by the JMS adapter.There is no

  • Can't open raw files from my D800E in CS5. What is the fix for this?

    How do I fix this problem? Can't open raw files from my D800E in CS5.