9.0.3: OC4J container start "hang" - urgent

I installed 9.0.3 on a win2k machine that was previously running 9.0.2. I migrated preferences, workspaces, etc., rebuilt my project, and tried to run it. The tab for the oc4j container appears, and there is a message that it is starting, but it never finishes launching (opens window, browser, posts message to window about having started). I restarted jdev, rebuilt the project, tried again - same thing. Rebooted, restarted, rebuilt, same thing. I tried starting the debugger because it will kill the current oc4j instance and restart, and it said that it needed to do that, but never returned either. I have a developer down, so a speedy response would be greatly appreciated.

I've reread all your messages again. Here's a summary of the information you've provided so far (please make any corrections or additions):
* Platform is Win2k. (Not sure if reproduces on other platforms.)
* Severe performance degradation in JDev 9.0.3 Preview compared to 9.0.2 Production.
* Specific issue is with embedded OC4J, which does not complete its startup.
* Restarting and reinstalling JDev and rebooting Windows do not improve the situation.
* While OC4J is struggling to start up, other IDE responsiveness is extremely sluggish.
* The Run | Terminate | Embedded OC4J menu item is disabled. No context menu at all when right-clicking on "Embedded OC4J" in the Run Manager.
* A migration bug (2525992) is involved, but we've ruled it out as the cause of performance problems, because embedded OC4J problems are still observed in a brand new (not migrated) 9.0.3 install.
* Problem occurs only if the .jws and .jpr are on a LAN drive. OK for source and classes to be on LAN drive.
* Problem disappears entirely if Workspace and Project are moved to a local drive.
* LAN drive is a NetWare resource.
The keymap exception that you got appears to be unrelated. A similar exception was reported internally as bug 2493459, which was fixed last week in the 9.0.3 Production code line.
Based on your information so far, I can offer the following details:
(1) When you have files on a network volume, and these files are open in JDeveloper, if you switch to another Windows app and then come back to JDev, JDev will check those files' timestamps to see if their content needs to be reloaded in the IDE. Unfortunately, this reloading code runs on the AWT Event thread, which means that painting will be frozen until all open files have been scanned. This can lead to an extremely sluggish response in the UI. Currently there is no work-around to this problem. I have filed bug 2566932 for this issue, which I am pushing to get fixed for 9.0.3 Production.
(2) One of the behaviors that changed between JDev 9.0.2 and 9.0.3 Preview with regard to embedded OC4J is the following command-line flag:
-Doracle.j2ee.dont.use.memory.archive=true
This affects the behavior of the OC4J classloaders, and it usually produces a much faster startup time for the server. However, it theoretically could cause performance problems if classes are located on a remote network drive, but we don't have a lot of good data on this. One thing you could try then is to disable this flag:
- Go to Tools | Preferences - Embedded OC4J
- CHECK the box labeled "Load All System JARs During OC4J Startup".
Now try to run your webapp again and see if there is a difference.
(3) If you are running jdev.exe instead of jdevw.exe, one of the things you can do is hit Ctrl-Break in the console window. If you do this while JDev is hung, you will get a stack dump of all the live threads. Please email the entire thread stack dump to me, Armand.Dijamco at oracle . com.
Thanks again!

Similar Messages

  • Can't start OC4J container

    Hi! I can't start my OC4J container. I've pasted here the error message.
    Can anyobody help me? Thanks.
    C:\Documents and Settings\zoli>java -jar "C:\Program Files\Jdeveloper 10.1.3\j2e
    e\home\oc4j.jar"
    2006-10-09 14:10:29.031 ERROR Failed to set the internal configuration of the OC
    4J JMS Server with: XMLJMSServerConfig[file:/C:/Program Files/Jdeveloper 10.1.3/
    j2ee/home/config/jms.xml]
    06/10/09 14:10:29 *** (SEVERE) Failed to set the internal configuration of the O
    C4J JMS Server with: XMLJMSServerConfig[file:/C:/Program Files/Jdeveloper 10.1.3
    /j2ee/home/config/jms.xml]
    2006-10-09 14:10:29.046 ERROR J2EE OJR0011 Exception starting JMS server: Failed
    to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
    ig[file:/C:/Program Files/Jdeveloper 10.1.3/j2ee/home/config/jms.xml]
    2006-10-09 14:10:32.484 WARNING J2EE JNDI0001 Resource Environment reference jms
    /store not found. Allowing J2EEContext creation to continue anyway.
    2006-10-09 14:10:32.484 WARNING J2EE JNDI0001 Resource Environment reference jms
    /eventQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-10-09 14:10:32.484 WARNING J2EE JNDI0001 Resource Environment reference jms
    /notificationQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-10-09 14:10:32.562 WARNING J2EE JNDI0001 Resource Environment reference jms
    /eventQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-10-09 14:10:32.578 WARNING J2EE JNDI0001 Resource Environment reference jms
    /notificationQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-10-09 14:10:32.578 ERROR J2EE EJB3027 [default] An error occured deploying
    EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
    r MessageDrivenBean event during endpoint activation: failure looking up Connect
    ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
    terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
    NotFoundException: jms/XAQueueConnectionFactory not found
    06/10/09 14:10:32 WARNING: Application.setConfig Application: default is in fail
    ed state as initialization failedjava.lang.InstantiationException: Error initial
    izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
    uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
    eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
    ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
    eueConnectionFactory not found
    Oct 9, 2006 2:10:32 PM com.evermind.server.Application setConfig
    WARNING: Application: default is in failed state as initialization failedjava.la
    ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
    acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
    ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
    .ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
    x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
    2006-10-09 14:10:32.640 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
    flow.MessageEndpointFactoryImpl@128340.
    06/10/09 14:10:32 Error initializing server: Error initializing ejb-modules: Res
    ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
    ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
    javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
    ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
    ot found
    2006-10-09 14:10:34.000 WARNING J2EE JTA RecoveryManager is null during shut
    down
    06/10/09 14:10:34 Fatal error: server exiting
    C:\Documents and Settings\zoli>

    Hello,
    You are hitting a known issue that has been fixed in OC4J 10.1.3.1.
    The work around is to remove the *.lock file in the $ORACLE_HOME/j2ee/home/persistence directory.
    Let me know if that does not work after this.
    Regards
    Tugdual Grall

  • Default OC4J Container will not start

    Hi,
    I'm running Oracle Application Server 10.1.3.1. on SuSE Linux.
    Just recently, I've been unable to start my default OC4J container.
    When I try, I get any one of these errors:
    opmn id=<host>:6201
    no enabled components for this request
    OR
    Communication error with the server local port
    OR
    opmnctl: opmn start failed.
    I cannot figure out what's wrong. I'm not seeing any errors in the log files; although I'm not sure that I'm checking all of the necessary logs.
    Does anybody have any ideas as to what could have gone wrong?
    Thanks much,
    Nora

    Hi,
    I actually got it to start by editing the opmn.xml file. I increased the number of seconds for starting the default container before it times out. There were no errors that I could see in the log files; but it seemed like the apps were trying to start and then nothing.
    That ended up working, but I haven't done another stopall/startall since then. I think it still might be acting a little wierd. But for now, I at least got it functional again.
    Thanks for the reply,
    Nora

  • OC4J Instance Start

    HI Gentlemen,
    Again I have a severe problem when starting OC4J: Error starting HTTP Server: Address in use: JVM_Bind. (9i under XP)
    A couple of hours before it was not so!
    I added port number 8888 to LISTENER as an address, so it uses both 1521 and 8888. portlist.ini does not contain 8888, but Webcache occupies 7777 and HTTP Server does the same.
    I only installed 10g AS FRS, not the whole AS. But it was a working system--something abominable must have happened to it.
    Please help, it is urgent--I have never had the same problem.
    Thanks in advance,
    Miklos HERBOLY

    I presume that it's another process started on your machine wich keeps the port 8888 busy...run a netstat from a command prompt to see wich is the one ,and kill it.

  • OC4J nor starting

    The OC4J window is showing following warnings:
    WARNING: Code-source C:\OracleBI\oc4j_bi\j2ee\home\applications\bioffice\bioffice\WEB-INF\lib\activation.jar (from WEB-INF/lib/ directory in C:\OracleBI\oc4j_bi\j2ee\home\applications\bioffice\bioffice\WEB-INF\lib) has the same filename but is not identical to /C:/OracleBI/oc4j_bi/2ee/home/lib/activation.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar). If it contains different versions of the same classes,it will be masked as the latter is already visible in the search path of loaderbioffice.web.bioffice:0.0.0.
    WARNING: Code-source C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib\ldapjclnt10.jar (from WEB-INF/lib/ directory in C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib) has the same filename but is not identical to /C:/OracleBI/oc4j_bi/jlib/ldapjclnt10.jar (from <code-source> in META-INF/boot.xml in C:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar). Ifit contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader xmlpserver.web.xmlpserver:0.0.0.
    WARNING: Code-source C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib\toplink.jar (from WEB-INF/lib/ directory in C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib) has the same filename but is not identical to /C:/OracleBI/oc4j_bi/toplink/jlib/toplink.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader xmlpserver.web.xmlpserver:0.0.0.
    WARNING: Code-source C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib\http_client.jar (from WEB-INF/lib/ directory in C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib) has the same filename but is not identical to /C:/OracleBI/oc4j_bi/j2ee/home/lib/http_client.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader xmlpserver.web.xmlpserver:0.0.0.
    - Job execution threads will use class loader of thread: OC4J Launcher
    - Quartz Scheduler v.1.5.1 created.
    - Using thread monitor-based data access locking (synchronization).
    The OBIpresentation and OBI Server processes get started successfully. The OC4J window get hanged if i try to stop it.
    Can anyone help me with it
    Message was edited by:
    R.Sub

    In my case the presentation window is not starting. As per my knowledge, presentation window (OBIEE ANSWERS) can only start if OC4J is initialized successfully.
    In OC4J window, its not saying "OC4J Initialized" as it used to. It shows some initial loading, then the above warnings, nothing else.

  • Shut Down Of OC4J Container ist blocked

    Hi,
    i'vi got a problem with the new 10g iAS and if anybody's encountered the same or does know a solution, please let me know.
    The problem is:
    I'm not able to stop the OC4J container in the iAS cleanly.
    The reason is:
    There are two timers (java.util.Timer) running. These timers are cleanup timers, which run always throughout the application at intervalls (scheduleAtFixedRate). If i dont start the timers, the container will stop right away, without any error. If the timers are running the container is waiting for them to cancel and shutting down hardly after a timeout.
    I didn't have this problem with 9i and i dont have it in the embedded OC4J of the JDeveloper.
    Is there any workaround? How could i latch into the shutdown process, to cancel the timers myself?
    Best regards,
    Mirko

    The OC4J script is not the cause of this -- if the message is shown "shutting down OC4J' then the call has been made to OC4J and its in the process of shutting down.
    If you execute "set verbose=on" before executing oc4j.cmd, then you'll see the command that oc4j uses when -shutdown is performed is exactly that command you suggest:
    oc4j -shutdown -port 23791 -password welcome1Executing: D:\java\jdk150_11\bin\java -jar "d:\java\oc4j-10133-prod\j2ee\home\admin.jar" ormi://localhost:23791 oc4jadmin welcome1 -shutdown
    But as you are suggesting there are manual ways to shutdown OC4J that are equally valid to use; it's a matter of choice.
    What you could try is using the -force extra switch with the -shutdown command to force it to shutdown:
    java -jar admin.jar ormi://localhost:23791 oc4jadmin welcome1 -shutdown force
    If that fails, ctrl+c the process. It doesn't do any damage to it.
    A thread-dump (ctrl+break) on the hung process can help to identify any deadlock issues.
    oc4j.cmd is limited certainly, but it provides a simpler entry point IMHO for new users. And we still fully support/endorse the direct startup path using the runnable JAR file.
    -steve-

  • JNDI lookup help please-Bean to Bean callout locally in same oc4j container

    Hi - I'm fairly new to oc4j/ejb coding - I'm trying to get a simple application running to show that our code can be run in local mode - here is the scenario:
    - Bean A (our application bean) within Application A
    - Bean B (customer-developed bean) within Application B
    - Bean B calls Bean A
    - Bean A + Bean B are different application instances in the same oc4j container
    - Jsp (residing in ApplicationB) within the same oc4j container calling Bean B, which invokes Bean A
    ====
    I get the following exception (classes renamed to match scenario):
    javax.naming.NameNotFoundException: oracle.apps.applicationa.common.BeanA not found in anothercompany.applicationb.common.BeanB
    [java] at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:93)
    [java] at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:76)
    [java] at com.evermind.server.ApplicationContext.lookupJavaCompEnv(ApplicationContext.java:265)
    [java] at com.evermind.server.ApplicationContext.lookupJavaComp(ApplicationContext.java:132)
    [java] at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:306)
    [java] at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:120)
    [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
    - BeanA is part of application named "AppA" in server.xml
    - BeanB is part of application named "AppB" in server.xml
    - AppB has attribute 'parent="AppA"' in server.xml
    - If I change the Jsp file (residing in AppB) to call BeanA directly in the jsp code it works with no JNDI error, but changing the jsp code back to calling BeanB (which then calls BeanA) will throw the NameNotFoundException
    My Stateless Session Bean is very simple and I have tried not setting the context and setting the context. I'm thinking this is a very simple configuration issue, but have not been able to find the solution yet... I've tried playing with the setSessionContext method in the session bean but have had no luck and am not sure what to set the variables to or even if I'm in the correct method...
    public void setSessionContext(SessionContext ctx) {   
    if (verbose)
    System.out.println("setSessionContext called");
    Properties env = new Properties();
    // tried all three context factories...
    //env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationInitalContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
    // not sure what url to put, if any
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791/AppB");
    env.put(Context.PROVIDER_URL, "ormi://localhost/AppB");
    // tried with and without security principals... also tried sysadmin/sysadmin
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    // mProps is a local transient member var of type Properties
    mProps = env;
    // mCtx is a local transient member var of type SessionContext
    mCtx = ctx;
    (edit) additional info:
    - all beans/classes are in the same classes directory; there are no jar files, so in application.xml the specified classpath is "classes" which includes both appA and appB classes
    - I verified that if I point (appB) jsp directly to BeanA it works with the "parent" attribute set on appB in server.xml, and when I remove the "parent" attribute on appB in server.xml the jsp throws a NameNotFoundException
    edit #2:
    another interesting note is that the exception message says "oracle.apps.applicationa.common.BeanA not found in anothercompany.applicationb.common.BeanB"
    and usually the naming error I see is:
    "oracle.apps.applicationa.common.BeanA not found in appB"
    (as with the case when I use a jsp to access appA beans without setting the parent application of appB to appA)
    - also my j2ee/home/applications/appB/WEB-INF/web.xml includes the oracle.apps.applicationa.common.BeanA ejb-ref tag
    any help is appreciated - thanks!
    Message was edited by:
    oleon

    Hi Steve
    thanks for the reply - I currently have the parent attribute set in server.xml which is why the jsp connection works, but for some strange reason the bean cannot connect to other bean...
    my server.xml has something like...
    <application name="appA" location="appA" auto-start="true"/>
    <application name="appB" location="appB" parent="appA" auto-start="true"/>
    (ok, the tags might be off because I'm not in front of my workstation looking at the xml file...)
    on another interesting note, in the session bean for AppB I've tried searching for the ejb bean for app B (itself basically) with the default initial context and it cannot find its own bean within the same application... the message would be something like "NameNotFoundException: anothercompany.applicationb.common.BeanB not found in anothercompany.applicationb.common.BeanB"

  • Debugging or Running from OC4J container does not save to database

    When I run a project locally, from the oc4j container, none of my user input is committed to the database, for example...
    1. any changes to an lov input field are removed upon tabbing out of the field
    2. any other changes are not saved, getTransaction().isDirty() is false
    I am unable to debug any items that require user input. I don't know when or why this started happening.
    Thanks,
    jerry.

    1. any changes to an lov input field are removed upon tabbing out of the field - may be the PPR event of LOV is handled in the controller's processFormRequest where the values are cleared
    I am unable to debug any items that require user input. ----- are you trying to get the values of input items in the processFormRequest?

  • Upgrade oc4j container from 10.1.2 to 10.1.3

    Hi to all,
    We use oc4j container 10.1.2 for old applications, but now we have developed ajax applications using oracle maps, but if i'm riight 10.1.2 doesn't support oracle maps.
    I've tried to install oracle application server oc4j container 10.1.3 in the same machine(i must use the same machine with red hat 3.4.4 opertive system) but i see a lot of conflicts with 10.1.2 and i cannot install that properly.
    Is there any possobility to upgrade oracle application server oc4j container without having a metalink account?Is there a patch or something similar?
    Thank you,
    Francesco Rizzello
    Edited by: francesco.rizzello on 10-nov-2009 20.31
    Edited by: francesco.rizzello on 10-nov-2009 20.33
    Edited by: francesco.rizzello on 10-nov-2009 21.06

    There shouldn't be any problems, I have in the same server one 10.1.2 App Server and a 10.1.3 and no conflicts, only when I installed I had the first App Server up, so the second recognize the ports used and it use a diferent one for his components.
    Can you tell about your conflicts?
    Greetings

  • How do you use the "Item Containing Start/End Date" in a Calendar?

    Hi
    I want to do a calendar where the days shown will be conditional to a certain interval. Now I though I could achieve that using the Item Containing Start Date of a calendar. But it doesn't seem to work. In the help it says :
    Enter an item in the application which holds the start date of the calendar. The format of the date in this item must be YYYYMMDD.
    This is what I did here
    http://apex.oracle.com/pls/otn/f?p=34530:1::::::
    I have 3 fields. 2 for the Start Date and End Date and 1 for the "Date Item" parameter. Only the latter has an effect on the calendar display, the calendar only displays the month of the "Date Item" (in monthly mode).
    Wether or not I check "Begin at Start of Interval", it doesn't affect the way those fields are affecting the Calendar.
    So, how do we use that "Item Containing Start/End Date" parameter?

    Hello,
    does yout Script work when you begin with ?:
    Start-Process powershell -Verb runAs
    Best regards,
    Stefan
    German Orchestrator Portal ,
    My blog in English

  • Acrobat X Pro hangs when making PDF. Using on Windows 7 64. Just started hanging. Uninstalled and reinstalled. Installed update. Once it hangs, must go into crtl, alt, delete to force close.

    Acrobat X Pro hangs when making PDF. Using on Windows 7 64. Just started hanging. Uninstalled and reinstalled. Installed update. Once it hangs, must go into crtl, alt, delete to force close.

    As a debugging step, try printing to the Adobe PDF printer. If that fails, repeat with print-to-file selected. Assuming the print succeeds, open the file in Distiller to complete the creation of the PDF. If you get the PDF, then check to see if AcroTray is properly working as a background task.

  • TNS-12542 해결 방법(LISTENER START 시 HANG)

    제품 : SQL*NET
    작성날짜 : 1998-09-09
    TNS-12542 해결방법(Listener start시 Hang)
    에러 메시지는 다음과 같다.
    12542, 00000, "TNS:address already in use"
    *Cause: Specified listener address is already being used.
    *Action: Start your listener with a unique address.
    부가적으로 TNS-12560, 512 error 가 동반된다.
    12560, 00000, "TNS:protocol adapter error"
    *Cause: A generic protocol adapter error occurred.
    *Action: Check addresses used for proper protocol specification. Before
    reporting this error, look at the error stack and check for lower level
    transport errors.For further details, turn on tracing and reexecute the
    operation. Turn off tracing when the operation is complete.
    00512, 00000, "Address already in use"
    *Cause: Specified listener address is already being used.
    *Action: Start your listener with an unused address.
    혹은
    % lsnrctl start
    LSNRCTL for SVR4: Version 2.0.15.0.0 - Production on 26-SEP-94 11:10:11
    Copyright (c) Oracle Corporation 1993. All rights reserved.
    Starting /solar/7016/bin/tnslsnr: please wait...
    과 같은 상태에서 Hang 이 걸리기도 한다.
    조치 방법
    =========
    1. 이미 Listener 가 기동되어 있는지 확인한다.
    $ ps -ef | grep tnslsnr
    기동이 되어 있다면 lsnrctl Utility 로 종료시킨다.
    $ lsnrctl stop
    이때 정상적으로 종료가 되지 않는다면 kill 명령을 이용하여 Process 를
    제거한다.
    % ps -aef | grep tnslsnr
    다음과 같이 나타나다고 하면,
    oracle 9798 1 80 11:08:18 ?
    0:03 /solar/7016/bin/tnslsnr LISTENER
    oracle 9823 8531 5 11:11:37 pts/24
    0:00 grep tnslsnr
    % kill -9 9798
    2. /etc/services 파일을 열어 listener 가 사용하는 Port 와 중복되게 지정된
    항목이 있는지 확인한다.
    3. Listener.ora 파일에 다음 파라미터가 설정되어 있는지 확인하기 바란다.
    USE_CKPFILE_LISTENER = TRUE
    위에서 listener.ora 의 Port 를 1522 로 변경했다 하더라도 위의 파라미터
    가 지정되어 있다면 전혀 문제가 해결되지 않는다.
    USE_CKPFILE_LISTENER = FALSE
    로 변경한다. 위 파라미터로 생성된 Checkpoint 파일도 삭제한다.
    $ cd $ORACLE_HOME/network/admin
    $ mv listener.ckp
    ========================
    * USE_CKPFILE_LISTENER *
    ========================
    SQL*NET 2.3.X 버전에서 적용되는 파라미터이다.
    이 파라미터는 Checkpoint 를 발생하도록 한다. 디폴트는 FALSE 이다.
    TRUE 로 셋팅을 하면 마지막으로 Listener를 stop 했을때의 listener.ora
    파일의 내용을 listener.ckp 파일에 그대로 paste 한다.
    Listener 기동시 listener.ckp 파일과 listener.ora 파일을 비교하여
    변경사항이 있으면 변경된 내용이 적용되어 기동되지 않는다.
    4. Listener 를 재기동한다.
    $ lsnrctl start
    # TNS- 12542 에러의 메시지만을 보면 TNS:address already in use 로
    나와 Server ip address 가 충돌이 나는 것으로 볼 수 있지만 ip
    address 가 충돌이 난다면 Booting 시 이미 문제가 발생한다.
    이것은 대부분 listener 의 Port 를 다른 프로세스나 OS 에서 이미
    할당받아 사용하는 것으로 볼 수 있다. Listener 의 Port 를 변경하면
    해결된다.
    Listener 의 Port 를 변경할 수 없는 상황이라면 System Rebooting 을
    하는 것도 한가지 방법이 될 수 있다.
    System Rebooting 후에도 계속해서 발생한다면 다른 프로세스가 listener
    의 Port 를 분명히 사용하고 있는 것이다. System 엔지니어와 상담하여
    어느 프로세스인지 확인이 필요하다.

    Jasbir wrote:
    If it is more than 1 gb purge it. It will solve ur problem.
    JasbirNot necessarily Jasbir.
    Errors posted by Salai Jayavelu can be caused by many different factors, and oversized listener.log is just one of them.
    Among the others are inadequate jdbc connection pool configuration(if applicable),listener configuration,init.ora parameters-mainly memory related ones,
    shared server configuration(if applicable), and so on...
    In fact , TNS - 12518 is so generic message that if he had only those TNS messages in the log, i would be temptated to tell him to contact support.
    But as we can see, Salai recevied multiple different TNS messages that could make his troubleshooting of the 'Listener Hang Issue' interesting enough to
    share his findings with us when he finally find the root cause.
    Good luck Salai and goodspeed.

  • Sort order in Java application (oc4j container) -- ear file deployment

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • Sort order in Java Application (deploy in Oracle oc4j container)

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • Embedded OC4J not starting, not accessible

    Hello Oracle folks,
    I have JDeveloper 9.0.5.2 (1618) and had a Struts project. Trying to lauch it in the embedded OC4J does not work anymore (for my colleagues it works). I tried any combination of re-installs and re-imports of the project from CVS. I also blew away the JDeveloper files in ${user.home}(so I had to start from zero, I opened the *.JWS file out of our cvs repository). Still the embedded OC4J won't start !!
    Can anybody explain this (maybe below error stack is an indication, and it only occurs in one of my workspaces)
    This is the detailed error stack:
    java.lang.NullPointerException
         at oracle.jdeveloper.ejb.EjbAppManager.getEjbModuleContainer(EjbAppManager.java:241)
         at oracle.jdeveloper.ejb.EjbAppManager.getOrionEjbJarNode(EjbAppManager.java:592)
         at oracle.jdeveloper.ejb.EjbAppManager.findOrionEjbJarNode(EjbAppManager.java:581)
         at oracle.jdeveloper.xml.oc4j.ejb.OrionEjbJarHelper.findOrionEjbJar(OrionEjbJarHelper.java:59)
         at oracle.jdevimpl.deploy.ejb.Oc4jEjbDeployer.validate(Oc4jEjbDeployer.java:95)
         at oracle.jdevimpl.runner.oc4j.Oc4jStarter.validate(Oc4jStarter.java:685)
         at oracle.jdevimpl.runner.oc4j.Oc4jStarter.preStart(Oc4jStarter.java:612)
         at oracle.jdevimpl.runner.oc4j.Oc4jStarter.start(Oc4jStarter.java:268)
         at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:756)
         at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:461)
         at oracle.ide.runner.RunProcess$2.run(RunProcess.java:699)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    #### Embedded OC4J Server could not be started up.

    Hi,
    Try to invoke the OC4j services from run using the following:
    START OC4J FROM CMD LINE -> C:ORACLEBI\OC4J_BI\BIN\OC4J.CMD –START
    TO STOP: C:\ORACLEBI\OC4J_BI\BIN\OC4J.CMD –STOP
    1. Run the Stop initially and then run the Start Command. (If still unable to start and throwing any error make a note of it)

Maybe you are looking for

  • How can I transfer licenses from one account to another?

    Since the 90s I've created a few different accounts (different email addresses) and have licenses scattered across a couple. I'd love to get those licenses merged into one. Can anyone help me with this?

  • Can't sync music on 3rd gen ipod touch

    I recently recieved a new laptop running windows 8.1 and at least three quarters of my music downloads will not sync to my ipod. I keep getting anywhere from file cannot be converted to unknown error has occurred. Yes some of these were downloaded fr

  • Sales person territory details

    Hi, I am importing sales person(order management -> setup->sales->salespersons) details to R12. Now my question is is there any api or interface to insert Territories details for sales person(order management -> setup-> sales->salespersons->receivabl

  • How to call a BAPI in EJB application

    Hi , I need to develop an webservice that takes data from a BAPI and insert in to ORACLE database. I think webservices can be created through EJB application. I am not having idea regarding how to call an BAPI in EJB application. can anyone help me o

  • Process order variance

    Dear experts, Here is process order scenario In that i am doing variance calculation for one order but it is giving message that "no order could be processed " Plz guide me what could be reason thanks in advance regards sachin ghogale