Application module auto-start during debug

Hello
I'm looking for a way to get my application module to start automatically when I debug. I've played with options like setting "Runtime Instantiation Behavior" to "Non-Lazy Loading" in the app module editor. I can't exactly test the auto-start by actually deploying to an app server right now, so I need a way to test this during a local debug session. Has anyone ever done this?
Thanks

This should be possible. Check if you have set <load-on-startup>1</load-on-startup>in the servlet section of your web.xml file.
Timo

Similar Messages

  • There was an error during processing of the managed application service auto-start for application pool: 'SecurityTokenServiceApplicationPool'.

    HI
    in sharepoint 2013 WFE servers event viewer i receive following error many times
    Log Name:      Application
    Source:        Microsoft-Windows-IIS-W3SVC-WP
    Date:          4/14/2015 2:23:56 PM
    Event ID:      2303
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      TSharepint2013.test.com
    Description:
    There was an error during processing of the managed application service auto-start for application pool: 'SecurityTokenServiceApplicationPool'.  Some application services may not have been processed correctly.  Please check the configuration for application
    service auto-start for the application(s) assigned to this application pool.  The data field contains the error code.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
        <EventID Qualifiers="32768">2303</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-04-14T11:23:56.000000000Z" />
        <EventRecordID>183840</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>Application</Channel>
        <Computer>TSharepint2013.test.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="ApplicationPool">SecurityTokenServiceApplicationPool</Data>
        <Binary>02000780</Binary>
      </EventData>
    </Event>
    adil

    HI
    in sharepoint 2013 WFE servers event viewer i receive following error many times
    Log Name:      Application
    Source:        Microsoft-Windows-IIS-W3SVC-WP
    Date:          4/14/2015 2:23:56 PM
    Event ID:      2303
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      TSharepint2013.test.com
    Description:
    There was an error during processing of the managed application service auto-start for application pool: 'SecurityTokenServiceApplicationPool'.  Some application services may not have been processed correctly.  Please check the configuration for application
    service auto-start for the application(s) assigned to this application pool.  The data field contains the error code.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
        <EventID Qualifiers="32768">2303</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-04-14T11:23:56.000000000Z" />
        <EventRecordID>183840</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>Application</Channel>
        <Computer>TSharepint2013.test.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="ApplicationPool">SecurityTokenServiceApplicationPool</Data>
        <Binary>02000780</Binary>
      </EventData>
    </Event>
    adil

  • Application does not start during the engine restart.

    Hello all,
    after deploying a custom developed application to the engine the application works fine. However, when the J2EE is restarted the application page is not available with the following message:
    Application error occurred during request processing. Details:Error
    [javax.servlet.ServletException: Spo object was not created during the
    startup], with root cause [com.appname.exception.SevereException:
    Spo object was not created during the startup].
      Exception id: [0013729689A200590000009D00000D90000446937D1802B7]
    The application is shown running from visual administrator.
    The application page is again available when we restart the application
    manually from visual admin.
    SO everytime we restart the engine we need to restart the application
    too in order to get back the application page back.
    There are many errors in the SPO log like the following:
    ERROR [SAPEngine_Application_Thread[impl:3]_25]  - Failed to set up connection pool: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/jdbc/qaht6114.
    Can anyone please advice us on what could be the problem here?
    Thanks a lot in advance!
    Edited by: Rodrigo Castilhos on Mar 21, 2008 6:21 PM
    Edited by: Rodrigo Castilhos on Mar 25, 2008 6:48 PM

    Hi Parvez and Ivaylo,
    Has any of you used the startup mode setting? I tried using it and set it to always but the application still won't start. Is there anything I'm missing?
    My application-j2ee-engine.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <provider-name>nexeninc.com</provider-name>
         <fail-over-enable
              mode="disable"/>
         <start-up
              mode="always"/>
    </application-j2ee-engine>

  • Application Server Auto Start

    Its really rare that i am able so autostart my infrastructure and middle tier( both on same server) at system startup. I dont know with i do something wrong or is there problem with appserver
    Right now i have autostart disabled but now i am facing aanother problem. I started listener and then asdb (infrastructure database) and opmn is showing status of HTTP_server as BOUNCE, before this i used emctl start iasconsole command which started my enterprose manager and also started all opmn managed processes but startus of my HTTP_Server was "Stop" and it was not working, i restarted my server and now before startign iasconsole i started opmn using "opmnctl start" command and then when i look at the status of all components, all are down but status of HTTP_Server is "Bounce"
    How to solve this.
    should i use some other method to start all components ?
    Regards

    Hi,
    i have posted the script i use to start application server 10g (9.0.4) after server reboot in this post
    Oracle App Server Recovery process after System restrat
    have a look
    Best Regards
    Rui Madaleno

  • Applications in Auto Start Up Wan't to disable

    I can't seem to find where I can disable applications automatically starting up when I re-boot.
    At present I'm getting iDVD when I don't always want it.

    Apps that start upon login are called Login Items. They are set in System Preferences Accounts pane +Login Items+ tab. Just remove the item from this listing by selecting the item and hitting the minus sign.
    Not sure how iDVD would have gotten on there...

  • Skype/Pulse audio problem only if auto started

    Hi,
    I've an Arch/XFCE laptop including pulse audio and Skype (configured to use the pulse audio).
    Skype has been configured  (using XFCE startup menu) to auto start during boot ( we boot daily), and, till about 2 weeks ago, worked fine.
    Ever since, Skype starts but isn't functional (while trying to connect to the test service I can't hear anything, not even the dialing), and, after a few minutes, starts with a constant loud noise (which stops, once I quit Skype).
    Interesting, since the problem  has begun, once I do either of the following, Skype returns, and remains, to be fully functional without any noise:
    1. Quit the auto-started Skype, and immediately relaunch it.
    2. Cancel to Skype auto start, and manually start Skype after XFCE becomes visible.
    Looking at log files (below), I've seen some pulse audio related errors which I couldn't solve and may be related.
    I do a full system update (almost) daily.
    I'd be happy to return to the former state (functional auto-started Skype). Please advise
    Thanks
    ----------partial end of  journal------------------
    Jun 08 08:51:08 Ira-Lenovo lightdm[246]: ** (process:272): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
    Jun 08 08:51:08 Ira-Lenovo lightdm[272]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Starting user-620.slice.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Created slice user-620.slice.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Starting User Manager for UID 620...
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Starting Session c1 of user lightdm.
    Jun 08 08:51:08 Ira-Lenovo systemd-logind[234]: New session c1 of user lightdm.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Started Session c1 of user lightdm.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Paths.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Paths.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Timers.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Timers.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Sockets.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Sockets.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Basic System.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Basic System.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Default.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Default.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Startup finished in 78ms.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Started User Manager for UID 620.
    Jun 08 08:51:10 Ira-Lenovo org.a11y.Bus[284]: Activating service name='org.a11y.atspi.Registry'
    Jun 08 08:51:10 Ira-Lenovo org.a11y.Bus[284]: Successfully activated service 'org.a11y.atspi.Registry'
    Jun 08 08:51:10 Ira-Lenovo org.a11y.atspi.Registry[290]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
    Jun 08 08:51:10 Ira-Lenovo org.a11y.atspi.Registry[290]: ** (at-spi2-registryd:293): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    Jun 08 08:51:10 Ira-Lenovo org.a11y.atspi.Registry[290]: ** (at-spi2-registryd:293): WARNING **: Unable to register client with session manager
    Jun 08 08:51:15 Ira-Lenovo lightdm[246]: ** (process:297): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
    Jun 08 08:51:15 Ira-Lenovo lightdm[272]: pam_unix(lightdm-greeter:session): session closed for user lightdm
    Jun 08 08:51:15 Ira-Lenovo lightdm[297]: pam_unix(lightdm:session): session opened for user ira by (uid=0)
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Starting user-1000.slice.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Created slice user-1000.slice.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Starting User Manager for UID 1000...
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: pam_unix(systemd-user:session): session opened for user ira by (uid=0)
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Starting Session c2 of user ira.
    Jun 08 08:51:15 Ira-Lenovo systemd-logind[234]: New session c2 of user ira.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Started Session c2 of user ira.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Paths.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Paths.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Timers.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Timers.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Sockets.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Sockets.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Basic System.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Basic System.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Default.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Default.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Startup finished in 36ms.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Started User Manager for UID 1000.
    Jun 08 08:51:18 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service'
    Jun 08 08:51:18 Ira-Lenovo systemd[1]: Starting RealtimeKit Scheduling Policy Service...
    Jun 08 08:51:18 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
    Jun 08 08:51:18 Ira-Lenovo systemd[1]: Started RealtimeKit Scheduling Policy Service.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully called chroot.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully dropped privileges.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully limited resources.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Running.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Watchdog thread running.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Canary thread running.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 328 of process 328 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Supervising 1 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 1 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 332 of process 328 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 2 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 2 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 333 of process 328 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 3 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] main.c: Module load failed.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-odf-thumbnailer.so": libgsf-1.so.114: cannot open shared object file: No such file or directory
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-poppler-thumbnailer.so": libpoppler-glib.so.8: cannot open shared object file: No such file or directory
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    Jun 08 08:51:22 Ira-Lenovo kernel: fuse init (API version 7.22)
    Jun 08 08:51:22 Ira-Lenovo systemd[1]: Mounting FUSE Control File System...
    Jun 08 08:51:22 Ira-Lenovo systemd[1]: Mounted FUSE Control File System.
    Jun 08 08:51:22 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 392 of process 392 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
    Jun 08 08:51:22 Ira-Lenovo rtkit-daemon[329]: Supervising 4 threads of 2 processes of 1 users.
    Jun 08 08:51:22 Ira-Lenovo pulseaudio[392]: Daemon already running.
    Jun 08 08:51:23 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
    Jun 08 08:51:23 Ira-Lenovo systemd[1]: Starting Disk Manager...
    Jun 08 08:51:24 Ira-Lenovo udisksd[401]: udisks daemon version 2.1.3 starting
    Jun 08 08:51:24 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.UDisks2'
    Jun 08 08:51:24 Ira-Lenovo systemd[1]: Started Disk Manager.
    Jun 08 08:51:24 Ira-Lenovo udisksd[401]: Acquired the name org.freedesktop.UDisks2 on the system message bus
    Jun 08 08:51:25 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
    Jun 08 08:51:25 Ira-Lenovo systemd[1]: Starting Daemon for power management...
    Jun 08 08:51:26 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.UPower'
    Jun 08 08:51:26 Ira-Lenovo systemd[1]: Started Daemon for power management.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): carrier now ON (device state 20)
    Jun 08 08:51:26 Ira-Lenovo kernel: r8169 0000:06:00.0 enp6s0: link up
    Jun 08 08:51:26 Ira-Lenovo kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp6s0: link becomes ready
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Auto-activating connection 'Wired connection 1'.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) starting connection 'Wired connection 1'
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> NetworkManager state is now CONNECTING
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 1 of 5 (Device Prepare) started...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) scheduled...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 1 of 5 (Device Prepare) complete.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) starting...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) successful.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 3 of 5 (IP Configure Start) scheduled.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) complete.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 3 of 5 (IP Configure Start) started...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: config -> ip-config (reason 'none') [50 70 0]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
    Jun 08 08:51:26 Ira-Lenovo upowerd[427]: (upowerd:427): UPower-Linux-WARNING **: Setting /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0e/PNP0C0A:00/power_supply/BAT1 state empty as unknown and very low
    Jun 08 08:51:26 Ira-Lenovo upowerd[427]: (upowerd:427): UPower-Linux-WARNING **: Setting /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0e/PNP0C0A:00/power_supply/BAT1 state empty as unknown and very low
    Jun 08 08:51:27 Ira-Lenovo NetworkManager[233]: <info> dhcpcd started with pid 440
    Jun 08 08:51:27 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Beginning IP6 addrconf.
    Jun 08 08:51:27 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 3 of 5 (IP Configure Start) complete.
    Jun 08 08:51:27 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
    Jun 08 08:51:27 Ira-Lenovo dbus[235]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: version 6.3.2 starting
    Jun 08 08:51:28 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): DHCPv4 state changed nbi -> preinit
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: DUID 00:01:00:01:1a:27:1d:43:1c:75:08:53:82:9a
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: enp6s0: IAID 08:53:82:9a
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: enp6s0: soliciting an IPv6 router
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: enp6s0: rebinding lease of 192.168.1.13
    Jun 08 08:51:34 Ira-Lenovo dhcpcd[440]: enp6s0: leased 192.168.1.13 for 3600 seconds
    Jun 08 08:51:34 Ira-Lenovo dhcpcd[440]: enp6s0: adding route to 192.168.1.0/24
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): DHCPv4 state changed preinit -> bound
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> address 192.168.1.13
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> prefix 24 (255.255.255.0)
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> gateway 192.168.1.1
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> nameserver '192.117.235.235'
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> nameserver '62.219.186.7'
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 5 of 5 (IPv4 Commit) started...
    Jun 08 08:51:35 Ira-Lenovo dhcpcd[440]: enp6s0: removing route to 192.168.1.0/24
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 5 of 5 (IPv4 Commit) complete.
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> NetworkManager state is now CONNECTED_GLOBAL
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> Policy set 'Wired connection 1' (enp6s0) as default for IPv4 routing and DNS.
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> Writing DNS information to /usr/bin/resolvconf
    Jun 08 08:51:36 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) successful, device activated.
    Jun 08 08:51:36 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Jun 08 08:51:36 Ira-Lenovo systemd[1]: Starting Network Manager Script Dispatcher Service...
    Jun 08 08:51:36 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Jun 08 08:51:36 Ira-Lenovo systemd[1]: Started Network Manager Script Dispatcher Service.
    Jun 08 08:51:41 Ira-Lenovo dhcpcd[440]: enp6s0: no IPv6 Routers available
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): IP6 addrconf timed out or failed.
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 4 of 5 (IPv6 Configure Timeout) started...
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
    Jun 08 08:51:59 Ira-Lenovo su[587]: (to root) ira on pts/0
    Jun 08 08:51:59 Ira-Lenovo su[587]: pam_unix(su:session): session opened for user root by ira(uid=1000)

    See https://bbs.archlinux.org/viewtopic.php?id=182030
    Here's the change you recently applied: https://projects.archlinux.org/svntogit … 882c43178c.

  • Yosemite and auto start

    Does anyone know how to to set up an application to auto start on boot up?
    Doesn’t seem to work in Yosemite….you set it up….but when it reboots nothing changes
    Thanks for any help
    Marilyn

    Go to System Preferences > Users > [your username], tap on Login Items in the right pane. If the app you want to load isn't listed, you can click the "+", navigate to the app and tap "Add". Is this the procedure you are following?

  • Auto-start application on Container/Server restart

    What's the easiest was to have the container auto-launch a specific application whenever it is started/restarted? I assume this would also happen if the entire server were rtestarted?
    _mike                                                                                                                                                                                                                                                                                                                                                                                                   

    Hello,
    If you put a server in your project and you put the servlet at auto-start your application will start automatically when the server will start.
    To do that you just have to use the element:
    <load-on-startup>1</load-on-startup>
    in the servlet tag.
    server.xml:
    <application name="foo" path="../applications/foo.ear" auto-start="true" />
    http-web-site.xml:
    <web-app application="foo" name="foo-web" load-on-startup="true" root="/foo" />
    Regards
    Tugdual Grall

  • Auto start application in web logic

    Hello,
    I need to auto startup an application in a unix server. The application uses session bean to access the database.
    Is it possible to auto start up the application using a cron tab/cron job because the application is using session bean residing in weblogic server?
    If not how do i do that? convert the session bean into normal java classes and access database without using a session bean?
    Thanks for you help.

    Hi,
    I tried adding the listener .
    It work in tomcat but after i transport it into weblogic 5.1, i give this error.
    Received SAXParseException from Sun Parser at line 5, column -1: org.xml.sax.SAXParseException: Element "web-app" does not allow "listener" here.
    I removed all other elements and it stil l wont work...
    <listener>
    <listener-class>com.SAW.project.servlet.SVLTriggerServlet</listener-class>
    </listener>
    Is there any way to fix this?
    Or what s the correct way to wrtie a program that do something once everyday, auto start up when webserver startup and use Session bean to access database?
    I tried using cron job but i dont think i can because im using EJB in my program..init() is not called when u start the server...
    im going to try the <!ELEMENT load-on-startup (#PCDATA)> to start it using a http servlet instead of a listener...

  • Auto Start applications

    Can anyone tell me how to make applications auto start after a reboot?
    I am really fustrated about how I must allways start fussclock manually after a reboot.
    Nopt sure if it can be done, but thanks for any help on the subject.

    Hello,
    Here's how to do to this and not the least bit frustrating.
    Open System Preferences, click on Accounts. When that window opens lick where it says: Login Items Now, under the box on the right click the box on the right. A dialog box will open. Navigate to the Applications folder, select the application you wish to launch on boot. *You may be prompted for your administrator password. Quit System Preferences and reboot. That's all there is to it.
    Have a good day!
    Carolyn

  • When the application module starts the trans?

    Hi,
    For ADF application module, when does it start a trans?Is it the case the AM method(even read only method) exposed to view layer, then the trans starts automatically when the page is loaded? Or when getDBTransaction() is called? or even latter when actual update or some specific method is called from the trans? Just wondering whether a commit/rollback is expected when even an exposed method is called by view layer even it is readonly.
    Hui

    Thx, Tim.
    We are use optimistic in the AMs. We have some AMs just do data query. But there is VPD on one of the table, query on the table will trigger the VPD table updates from database, and if db side detects the parent query sql has transaction associated, the vpd related update will not be committed and expects the parent trans will be commit/rollback But if the AM is cached, and no explicit commit/rolback was issued. Will the underlying VPD updates stay there not commit/rollback
    Hui

  • Auto start Java Card application

    Hello,
    is it possible to start a Java Card application from the SIM card right after the mobile is switched on?
    I talked to a guy from a SIM card manufacturer and he told me it's possible since the device checks on start if a Java Card application is present to display it in the phone's menu, but it's device dependant how it's done and if the application really will be started (which sounds kind of strange).
    Can someone give me more details if it's possible to auto start a application and how it's done ( code snippet would be great ; )?
    Thanks in advance,
    teric

    The first event after ME startup, which STK applet could catch is Terminal Profile.
    So, in applet class constructor should be smthng like
    ToolkitRegistry reg = ToolkitRegistry.getEntry();
    reg.setEvent(EVENT_PROFILE_DOWNLOAD);
    and applet will trigger on Terminal Profile arrival.

  • Auto starting applications on boot

    I'd love to have terminal auto start and position in the bottom left of the screen. What file should I edit to make this happen? And, what how can I specify where the applicaiton should appear?
    I looked for a rc.conf file, but could not find. Perhaps there is an easy way of doing this in the GUI.
    Which is the best approach?

    Run Terminal and set the window size and position you want, then use "Save As..." from the "File" menu to create a settings file. Add this file to the "Login Items" in "Accounts" System Preference.

  • HOWTO: Using a BC4J Application Module in an Stateless EJB Session Bean

    HOWTO: Using a BC4J Application Module in an Stateless EJB Session Bean
    by Steve Muench
    Overview
    BC4J provides automatic facilities for deploying any application module as a stateful EJB session bean. If you want to leverage the features of your BC4J application module from a stateless EJB session bean, it's not automatic but it is straightforward to implement. This howto article explains the details.
    For our example, we will create a stateless EJB session bean that uses a container-managed transaction. To keep things simple, let's assume the session bean has a single public method on its remote interface named createDepartment() with the following signature:
    public void createDepartment(int id, String name, String loc) throws AppException
    AppException is an example of an application-specific exception that our method will throw if any problems arise during its execution.The goal of this article is to illustrate how to use the BC4J application module named com.example.hr.HRApp as part of the implementation of this createDepartment method on our stateless enterprise bean. Let's assume that the HRApp application module has a view object member named Departments, based on the com.example.hr.DeptView view object, based on the familiar DEPT table and related to the com.example.hr.Dept entity object so our view can be updateable.
    Creating the Stateless Session Bean
    We can start by using the JDeveloper Enterprise Bean wizard to create a new stateless session bean called StatelessSampleEJB implemented by:[list][*]com.example.StatelessSampleEJBBean (Bean class)[*]com.example.StatelessSampleEJBHome (Home interface)[*]com.example.StatelessSampleEJB (Remote interface)[list]
    We then use the EJB Class Editor to add the createDepartment method to the remote interface of StatelessSampleEJB with the signature above. We edit the remote interface to make sure that it also reflects that the createDepartment method thows the AppException like this:
    package com.example;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface StatelessSampleEJB extends EJBObject {
      void createDepartment(int id, String name, String loc)
      throws RemoteException,AppException;
    }Before we start adding BC4J into the picture for our implementation, our StatelessSampleEJBBean class looks like this:
    package com.example;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    public class StatelessSampleEJBBean implements SessionBean {
      public void ejbCreate(){}
      public void ejbActivate(){}
      public void ejbPassivate(){}
      public void ejbRemove(){}
      public void setSessionContext(SessionContext ctx){
      public void createDepartment(int id, String name, String loc) 
      throws AppException {
        // TODO: Implement method here
    }We can double-click on the ejb-jar.xml file in our project to see the XML deployment descriptor for the bean we just created:
    <ejb-jar>
       <enterprise-beans>
          <session>
             <description>Session Bean ( Stateless )</description>
             <display-name>StatelessSampleEJB</display-name>
             <ejb-name>StatelessSampleEJB</ejb-name>
             <home>com.example.StatelessSampleEJBHome</home>
             <remote>com.example.StatelessSampleEJB</remote>
             <ejb-class>com.example.StatelessSampleEJBBean</ejb-class>
             <session-type>Stateless</session-type>
             <transaction-type>Container</transaction-type>
          </session>
       </enterprise-beans>
    </ejb-jar>We need to add the extra <assembly-descriptor> section in this file to indicate that the createDepartment method will require a transaction. After this edit, the ejb-jar.xml file looks like this:
    <ejb-jar>
       <enterprise-beans>
          <session>
             <description>Session Bean ( Stateless )</description>
             <display-name>StatelessSampleEJB</display-name>
             <ejb-name>StatelessSampleEJB</ejb-name>
             <home>com.example.StatelessSampleEJBHome</home>
             <remote>com.example.StatelessSampleEJB</remote>
             <ejb-class>com.example.StatelessSampleEJBBean</ejb-class>
             <session-type>Stateless</session-type>
             <transaction-type>Container</transaction-type>
          </session>
       </enterprise-beans>
       <assembly-descriptor>
          <container-transaction>
             <method>
                <ejb-name>StatelessSampleEJB</ejb-name>
                <method-name>createDepartment</method-name>
                <method-params>
                   <method-param>int</method-param>
                   <method-param>java.lang.String</method-param>
                   <method-param>java.lang.String</method-param>
                </method-params>
             </method>
             <trans-attribute>Required</trans-attribute>
          </container-transaction>
       </assembly-descriptor>
    </ejb-jar>
    Aggregating a BC4J Application Module
    With the EJB aspects of our bean setup, we can proceed to implementing the BC4J application module aggregation.
    The first thing we do is add private variables to hold the EJB SessionContext and the instance of the aggregated BC4J ApplicationModule, like this:
    // Place to hold onto the aggregated appmodule instance
    transient private ApplicationModule _am  = null;
    // Remember the SessionContext that the EJB container provides us
    private           SessionContext    _ctx = null;and we modify the default, empty implementation of the setSessionContext() method to remember the session context like this:
    public void setSessionContext(SessionContext ctx){ _ctx = ctx; }We add additional constants that hold the names of the J2EE datasource that we want BC4J to use, as well as the fully-qualified name of the BC4J application module that we'll be aggregating:
    // JNDI resource name for the J2EE datasource to use
    private static final String DATASOURCE = "jdbc/OracleCoreDS";
    // Fully-qualified BC4J application module name to aggregate
    private static final String APPMODNAME = "com.example.hr.HRApp";We expand the now-empty ejbCreate() and ejbRemove() methods to create and destory the aggregated instance of the BC4J application module that we'll use for the lifetime of the stateless session bean. When we're done, ejbCreate() it looks like this:
    public void ejbCreate() throws CreateException {
      try {
        // Setup a hashtable of environment parameters for JNDI initial context
        Hashtable env = new Hashtable();
        env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
        // NOTE: we want to use the BC4J app module in local mode as a simple Java class!
        env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
        env.put(PropertyConstants.INTERNAL_CONNECTION_PARAMS,DATASOURCE);
        // Create an initial context, using this hashtable of environment params
        InitialContext ic = new InitialContext(env);
        // Lookup a home interface for the application module
        ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(APPMODNAME);
        // Using the home, create the instance of the appmodule we'll use
        _am = home.create();
        // Register the BC4J factory to handle EJB container-managed transactions
        registerContainerManagedTransactionHandlerFactory();
      catch(Exception ex) {
         ex.printStackTrace();
        throw new CreateException(ex.getMessage());
    }and ejbRemove() looks like this:
    public void ejbRemove() {
      try {
        // Cleanup any appmodule resources before getting shutdown
        _am.remove();
      catch(JboException ex) { /* Ignore */ }
    }The helper method named reigsterContainerManagedTransactionHandlerFactory() looks like this:
    private void registerContainerManagedTransactionHandlerFactory() {
      SessionImpl session = (SessionImpl)_am.getSession();
      session.setTransactionHandlerFactory(
        new TransactionHandlerFactory() {
          public TransactionHandler  createTransactionHandler() {
            return new ContainerManagedTxnHandlerImpl();
          public JTATransactionHandler createJTATransactionHandler() {
            return new ContainerManagedTxnHandlerImpl();
    }The last detail is to use the BC4J appmodule to implement the createDepartment() method. It ends up looking like this:
    public void createDepartment(int id, String name, String loc)
    throws AppException {
      try {
        // Connect the AM to the datasource we want to use for the duration
        // of this single method call.
        _am.getTransaction().connectToDataSource(null,DATASOURCE,false);
        // Use the "Departments" view object member of this AM
        ViewObject departments = _am.findViewObject("Departments");
        // Create a new row in this view object.
        Row newDept = departments.createRow();
        // Populate the attributes from the parameter arguments.
        newDept.setAttribute("Deptno", new Number(id));
        newDept.setAttribute("Dname", name);
        newDept.setAttribute("Loc", loc);
        // Add the new row to the view object's default rowset
        departments.insertRow(newDept);
        // Post all changes in the AM, but we don't commit them. The EJB
        // container managed transaction handles the commit.
        _am.getTransaction().postChanges();
      catch(JboException ex) {
        // To be good EJB Container-Managed Transaction "citizens" we have
        // to mark the transaction as needing a rollback if there are problems
        _ctx.setRollbackOnly();
        throw new AppException("Error creating dept "+ id +"\n"+ex.getMessage());
      finally {
        try {
          // Disconnect the AM from the datasource we're using
          _am.getTransaction().disconnect();
        catch(Exception ex) { /* Ignore */ }
    Building a Test Client
    With the EJB-Tier work done, we can build a sample client program to test this new stateless EJB Session Bean by selecting the bean in the Oracle9i JDeveloper IDE and choosing "Create Sample Java Client" from the right-mouse menu.
    When the "Sample EJB Client Details" dialog appears, we take the defaults of connecting to embedded OC4J container. Clicking the (OK) button generates the following test class:
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import com.example.StatelessSampleEJB;
    import com.example.StatelessSampleEJBHome;
    public class SampleStatelessSampleEJBClient {
      public static void main(String [] args) {
        SampleStatelessSampleEJBClient sampleStatelessSampleEJBClient =
           new SampleStatelessSampleEJBClient();
        try {
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY,
                  "com.evermind.server.rmi.RMIInitialContextFactory");
          env.put(Context.SECURITY_PRINCIPAL, "admin");
          env.put(Context.SECURITY_CREDENTIALS, "welcome");
          env.put(Context.PROVIDER_URL,
                  "ormi://localhost:23891/current-workspace-app");
          Context ctx = new InitialContext(env);
          StatelessSampleEJBHome statelessSampleEJBHome =
               (StatelessSampleEJBHome)ctx.lookup("StatelessSampleEJB");
          StatelessSampleEJB statelessSampleEJB;
          // Use one of the create() methods below to create a new instance
          // statelessSampleEJB = statelessSampleEJBHome.create();
          // Call any of the Remote methods below to access the EJB
          // statelessSampleEJB.createDepartment( int id, java.lang.String name, java.lang.String loc );
        catch(Throwable ex) {
          ex.printStackTrace();
    }We uncomment the call to the create() method and add a few calls to the createDepartment() method so that the body of the test program now looks like this:
    // Use one of the create() methods below to create a new instance
    statelessSampleEJB = statelessSampleEJBHome.create();
    // Call any of the Remote methods below to access the EJB
    statelessSampleEJB.createDepartment( 13, "Test1","Loc1");
    System.out.println("Created department 13");
    statelessSampleEJB.createDepartment( 14, "Test2","Loc2");
    System.out.println("Created department 14");
    try {
      // Try setting a department id that is too large!
      statelessSampleEJB.createDepartment( 23456, "Test3","Loc3");
    catch (AppException ax) {
      System.err.println("AppException: "+ax.getMessage());
    }Before we can successfully run our SampleStatelessSampleEJBClient we need to first run the EJB bean that the client will try to connect to. Since Oracle9i JDeveloper supports local running and debugging of the EJB-Tier without doing through a full J2EE deployment step, to accomplish this prerequisite step we just need to right-mouse on the StatelessSampleEJB node in the System Navigator and select "Run". This starts up the embedded OC4J instance and runs the EJB right out of the current out path.Finally, we can run the SampleStatelessSampleEJBClient, and see the output of the test program in the JDeveloper log window:
    Created department 13
    Created department 14
    AppException: Error creating dept 23456
    JBO-27010: Attribute set with value 23456 for Deptno in Dept has invalid precision/scale
    Troubleshooting
    One error that might arise while running the example is that the database connection information in your data-sources.xml for the jdbc/OracleCoreDS datasource does not correspond to the database you are trying to test against. If this happens, then double-check the file .\jdev\system\oc4j-config\data-sources.xml under the JDeveloper installation home directory to make sure that the url value provided is what you expect. For example, to work against a local Oracle database running on your current machine, listening on port 1521, with SID of ORCL, you would edit this file to have an entry like this for jdbc/OracleCoreDS :
    <data-source
        class="com.evermind.sql.DriverManagerDataSource"
        name="OracleDS"
        location="jdbc/OracleCoreDS"
        xa-location="jdbc/xa/OracleXADS"
        ejb-location="jdbc/OracleDS"
        connection-driver="oracle.jdbc.driver.OracleDriver"
        username="scott"
        password="tiger"
        url="jdbc:oracle:thin:@localhost:1521:ORCL"
        inactivity-timeout="30"
    />This is the data-sources.xml file that gets used by the embedded OC4J instance running in JDeveloper.
    Conclusion
    Hopefully this article has illustrated that it is straightforward to utilize the full power of BC4J in local mode as part of your EJB Stateless Session Beans using container-managed transaction. This example illustrated a single createDepartment method in the enterprise bean, but by replicating the application module interaction code that we've illustrated in createDepartment, any number of methods in your stateless session bean can use the aggregated application module instance created in the ejbCreate() method.
    Code Listing
    The full code listing for the SampleStatelessEJB bean implementation class looks like this:
    * StatelessSampleEJB
    * Illustrates how to use an aggregated BC4J application module
    * in local mode as part of the implementation of a stateless
    * EJB session bean using container-managed transaction.
    * HISTORY
    * smuench/dmutreja 14-FEB-2002 Created
    package com.example;
    import oracle.jbo.*;
    import oracle.jbo.server.*;
    import javax.ejb.*;
    import oracle.jbo.domain.Number;
    import oracle.jbo.common.PropertyConstants;
    import java.util.Hashtable;
    import javax.naming.InitialContext;
    import oracle.jbo.server.ejb.ContainerManagedTxnHandlerImpl;
    public class StatelessSampleEJBBean implements SessionBean {
      // JNDI resource name for the J2EE datasource to use
      private static final String DATASOURCE = "jdbc/OracleCoreDS";
      // Fully-qualified BC4J application module name to aggregate
      private static final String APPMODNAME = "com.example.hr.HRApp";
      // Place to hold onto the aggregated appmodule instance
      transient private ApplicationModule _am  = null;
      // Remember the SessionContext that the EJB container provides us
      private           SessionContext    _ctx = null;
      public void ejbCreate() throws CreateException {
        try {
          // Setup a hashtable of environment parameters for JNDI initial context
          Hashtable env = new Hashtable();
          env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
          env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
          env.put(PropertyConstants.INTERNAL_CONNECTION_PARAMS,DATASOURCE);
          // Create an initial context, using this hashtable of environment params
          InitialContext ic = new InitialContext(env);
          // Lookup a home interface for the application module
          ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(APPMODNAME);
          // Using the home, create the instance of the appmodule we'll use
          _am = home.create();
          // Register the BC4J factory to handle EJB container-managed transactions
          registerContainerManagedTransactionHandlerFactory();
        catch(Exception ex) {
           ex.printStackTrace();
          throw new CreateException(ex.getMessage());
      public void ejbActivate(){}
      public void ejbPassivate(){}
      public void ejbRemove(){}
      public void setSessionContext(SessionContext ctx){ _ctx = ctx; }
      public void createDepartment(int id, String name, String loc)
      throws AppException {
        try {
          // Connect the AM to the datasource we want to use for the duration
          // of this single method call.
          _am.getTransaction().connectToDataSource(null,DATASOURCE,false);
          // Use the "Departments" view object member of this AM
          ViewObject departments = _am.findViewObject("Departments");
          // Create a new row in this view object.
          Row newDept = departments.createRow();
          // Populate the attributes from the parameter arguments.
          newDept.setAttribute("Deptno", new Number(id));
          newDept.setAttribute("Dname", name);
          newDept.setAttribute("Loc", loc);
          // Add the new row to the view object's default rowset
          departments.insertRow(newDept);
          // Post all changes in the AM, but we don't commit them. The EJB
          // container managed transaction handles the commit.
          _am.getTransaction().postChanges();
        catch(JboException ex) {
          // To be good EJB Container-Managed Transaction "citizens" we have
          // to mark the transaction as needing a rollback if there are problems
          _ctx.setRollbackOnly();
          throw new AppException("Error creating dept "+ id +\n"+ex.getMessage());
        finally {
          try {
            // Disconnect the AM from the datasource we're using
            _am.getTransaction().disconnect();
          catch(Exception ex) { /* Ignore */ }
      private void registerContainerManagedTransactionHandlerFactory() {
        SessionImpl session = (SessionImpl)_am.getSession();
        session.setTransactionHandlerFactory(
          new TransactionHandlerFactory() {
            public TransactionHandler createTransactionHandler() {
              return new ContainerManagedTxnHandlerImpl();
            public JTATransactionHandler createJTATransactionHandler() {
              return new ContainerManagedTxnHandlerImpl();

    Hi Steve, It4s me again;
    About the question I made, I tried with a single assembly-descriptor tag and a single container-transaction tag in the deployment descriptor of the session bean and these were the results.
    java.lang.NullPointerException
         void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
         java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         void __Proxy1.modificaEnvoltura(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String)
         void SamplemdeController.envolturaControlEJBClient.main(java.lang.String[])
    Then I tried with multiple assembly-descriptor tags each with a single container-transaction tag and the results were:
    java.lang.NullPointerException
         void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
         java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         void __Proxy1.modificaEnvoltura(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String)
         void SamplemdeController.envolturaControlEJBClient.main(java.lang.String[])
    Finally I tried with a single assembly-descriptor and multiple container tags and the results were:
    java.lang.NullPointerException
         void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
         java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         void __Proxy1.modificaEnvoltura(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String)
         void SamplemdeController.envolturaControlEJBClient.main(java.lang.String[])
    How can I make my Stateless Session bean work out?

  • CRS on Redhat 5 auto-start problem

    Dear all
    Recently I tried to install Oracle 10gR2 on Redhat 5. I did research and took all the necessary actions to install it on Redhat. Everything went well, according to the documents and at the end of the installation, all the resources were up and running. However, after the install, only the VIP was up and ONS and GSD was in unknown format. When I stop the nodeapps and start it again, everything stars working. It seems that the problem is something to do with boot process. I tried to put some delay ( for OCR mount ) but still no luck. This is the result from crsd.log from node1 when node2 is down.. :
    2009-06-24 22:00:07.461: [ default][3594852768]0CRS Daemon Starting
    2009-06-24 22:00:07.461: [ CRSMAIN][3594852768]0Checking the OCR device
    2009-06-24 22:00:07.464: [ CRSMAIN][3594852768]0Connecting to the CSS Daemon
    2009-06-24 22:00:07.838: [ COMMCRS][1103116608]clsc_connect: (0x151f20d0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
    2009-06-24 22:00:07.838: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
    2009-06-24 22:00:07.838: [  CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2009-06-24 22:00:09.307: [ COMMCRS][1103116608]clsc_connect: (0x151f23b0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
    2009-06-24 22:00:09.307: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
    2009-06-24 22:00:09.307: [  CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2009-06-24 22:00:10.773: [ COMMCRS][1103116608]clsc_connect: (0x151f25c0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
    2009-06-24 22:00:10.773: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
    2009-06-24 22:00:10.774: [  CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2009-06-24 22:00:12.150: [ COMMCRS][1103116608]clsc_connect: (0x151f2880) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
    2009-06-24 22:00:12.150: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
    2009-06-24 22:00:12.150: [  CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2009-06-24 22:00:19.093: [    CRSD][3594852768]0Daemon Version: 10.2.0.1.0 Active Version: 10.2.0.1.0
    2009-06-24 22:00:19.093: [    CRSD][3594852768]0Active Version and Software Version are same
    2009-06-24 22:00:19.093: [ CRSMAIN][3594852768]0Initializing OCR
    2009-06-24 22:00:19.098: [  OCRRAW][3594852768]proprioo: for disk 0 (/u02/oradata/orcl/OCRFile), id match (1), my id set (503252545,1028247821) total id sets (1), 1st set (503252545,1028247821), 2nd set (0,0) my votes (2), total votes (2)
    2009-06-24 22:00:19.128: [  OCRMAS][1228994880]th_master:12: I AM THE NEW OCR MASTER at incar 1. Node Number = 1
    2009-06-24 22:00:19.129: [  OCRRAW][1228994880]proprioo: for disk 0 (/u02/oradata/orcl/OCRFile), id match (1), my id set (503252545,1028247821) total id sets (1), 1st set (503252545,1028247821), 2nd set (0,0) my votes (2), total votes (2)
    2009-06-24 22:00:19.144: [    CRSD][3594852768]0ENV Logging level for Module: allcomp 0
    2009-06-24 22:00:19.144: [    CRSD][3594852768]0ENV Logging level for Module: default 0
    2009-06-24 22:00:19.145: [    CRSD][3594852768]0ENV Logging level for Module: COMMCRS 0
    2009-06-24 22:00:19.145: [    CRSD][3594852768]0ENV Logging level for Module: COMMNS 0
    2009-06-24 22:00:19.146: [    CRSD][3594852768]0ENV Logging level for Module: CRSUI 0
    2009-06-24 22:00:19.146: [    CRSD][3594852768]0ENV Logging level for Module: CRSCOMM 0
    2009-06-24 22:00:19.148: [    CRSD][3594852768]0ENV Logging level for Module: CRSRTI 0
    2009-06-24 22:00:19.148: [    CRSD][3594852768]0ENV Logging level for Module: CRSMAIN 0
    2009-06-24 22:00:19.149: [  OCRSRV][1249974592]th_select_handler: Failed to retrieve procctx from ht. constr = [363817168] retval lht [-27] Signal CV.
    2009-06-24 22:00:19.149: [    CRSD][3594852768]0ENV Logging level for Module: CRSPLACE 0
    2009-06-24 22:00:19.149: [    CRSD][3594852768]0ENV Logging level for Module: CRSAPP 0
    2009-06-24 22:00:19.150: [    CRSD][3594852768]0ENV Logging level for Module: CRSRES 0
    2009-06-24 22:00:19.150: [    CRSD][3594852768]0ENV Logging level for Module: CRSOCR 0
    2009-06-24 22:00:19.151: [    CRSD][3594852768]0ENV Logging level for Module: CRSTIMER 0
    2009-06-24 22:00:19.151: [    CRSD][3594852768]0ENV Logging level for Module: CRSEVT 0
    2009-06-24 22:00:19.152: [    CRSD][3594852768]0ENV Logging level for Module: CRSD 0
    2009-06-24 22:00:19.153: [    CRSD][3594852768]0ENV Logging level for Module: CLUCLS 0
    2009-06-24 22:00:19.154: [    CRSD][3594852768]0ENV Logging level for Module: OCRRAW 0
    2009-06-24 22:00:19.155: [    CRSD][3594852768]0ENV Logging level for Module: OCROSD 0
    2009-06-24 22:00:19.155: [    CRSD][3594852768]0ENV Logging level for Module: CSSCLNT 0
    2009-06-24 22:00:19.156: [    CRSD][3594852768]0ENV Logging level for Module: OCRAPI 0
    2009-06-24 22:00:19.157: [    CRSD][3594852768]0ENV Logging level for Module: OCRUTL 0
    2009-06-24 22:00:19.158: [    CRSD][3594852768]0ENV Logging level for Module: OCRMSG 0
    2009-06-24 22:00:19.159: [    CRSD][3594852768]0ENV Logging level for Module: OCRCLI 0
    2009-06-24 22:00:19.159: [    CRSD][3594852768]0ENV Logging level for Module: OCRCAC 0
    2009-06-24 22:00:19.160: [    CRSD][3594852768]0ENV Logging level for Module: OCRSRV 0
    2009-06-24 22:00:19.160: [    CRSD][3594852768]0ENV Logging level for Module: OCRMAS 0
    2009-06-24 22:00:19.161: [ CRSMAIN][3594852768]0Filename is /u01/app/crs/crs/init/rac1dr.pid
    [  clsdmt][1417812288]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=rac1drDBG_CRSD))
    2009-06-24 22:00:19.506: [ CRSMAIN][3594852768]0Using Authorizer location: /u01/app/crs/crs/auth/
    2009-06-24 22:00:19.760: [ CRSMAIN][3594852768]0Initializing RTI
    2009-06-24 22:00:19.761: [CRSTIMER][1438792000]0Timer Thread Starting.
    2009-06-24 22:00:19.770: [  CRSRES][3594852768]0Parameter SECURITY = 1, running in USER Mode
    2009-06-24 22:00:19.770: [ CRSMAIN][3594852768]0Initializing EVMMgr
    2009-06-24 22:00:19.996: [ COMMCRS][1449281856]clsc_connect: (0x15b1dc20) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=SYSTEM.evm.acceptor.auth))
    2009-06-24 22:00:21.860: [ CRSMAIN][3594852768]0CRSD locked during state recovery, please wait.
    2009-06-24 22:00:22.494: [ CRSMAIN][3594852768]0CRSD recovered, unlocked.
    2009-06-24 22:00:22.496: [ CRSMAIN][3594852768]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
    2009-06-24 22:00:22.604: [ CRSMAIN][3594852768]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
    2009-06-24 22:00:22.607: [ CRSMAIN][3594852768]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=rac1dr-priv)(PORT=49896))
    2009-06-24 22:00:22.607: [ CRSMAIN][3594852768]0Starting Threads
    2009-06-24 22:00:22.607: [ CRSMAIN][3594852768]0CRS Daemon Started.
    2009-06-24 22:00:23.732: [  CRSRES][1554180416]0startRunnable: setting CLI values
    2009-06-24 22:00:23.821: [  CRSRES][1554180416]0Attempting to start `ora.rac2dr.vip` on member `rac1dr`
    2009-06-24 22:00:23.822: [  CRSRES][1543690560]0startRunnable: setting CLI values
    2009-06-24 22:00:23.935: [  CRSRES][1543690560]0Attempting to start `ora.rac1dr.vip` on member `rac1dr`
    2009-06-24 22:00:30.657: [  CRSRES][1554180416]0Start of `ora.rac2dr.vip` on member `rac1dr` succeeded.
    2009-06-24 22:00:30.705: [  CRSRES][1543690560]0Start of `ora.rac1dr.vip` on member `rac1dr` succeeded.
    2009-06-24 22:00:31.408: [  CRSRES][1554180416]0startRunnable: setting CLI values
    2009-06-24 22:00:31.410: [  CRSRES][1543690560]0startRunnable: setting CLI values
    2009-06-24 22:00:31.647: [  CRSRES][1554180416]0Attempting to start `ora.rac1dr.gsd` on member `rac1dr`
    2009-06-24 22:00:31.708: [  CRSRES][1543690560]0Attempting to start `ora.rac1dr.ons` on member `rac1dr`
    2009-06-24 22:00:32.538: [  CRSEVT][1554180416]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.rac1dr.gsd! (timeout=600)
    2009-06-24 22:00:32.538: [  CRSAPP][1554180416]0StartResource error for ora.rac1dr.gsd error code = -2
    2009-06-24 22:00:32.573: [  CRSEVT][1543690560]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.rac1dr.ons! (timeout=600)
    2009-06-24 22:00:32.573: [  CRSAPP][1543690560]0StartResource error for ora.rac1dr.ons error code = -2
    2009-06-24 22:00:32.737: [  CRSEVT][1554180416]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.rac1dr.gsd! (timeout=600)
    2009-06-24 22:00:32.737: [  CRSAPP][1554180416]0StopResource error for ora.rac1dr.gsd error code = -2
    2009-06-24 22:00:32.837: [  CRSEVT][1543690560]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.rac1dr.ons! (timeout=600)
    2009-06-24 22:00:32.837: [  CRSAPP][1543690560]0StopResource error for ora.rac1dr.ons error code = -2
    2009-06-24 22:00:32.873: [  CRSRES][1554180416]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2009-06-24 22:00:32.873: [  CRSRES][1554180416][ALERT]0`ora.rac1dr.gsd` on member `rac1dr` has experienced an unrecoverable failure.
    2009-06-24 22:00:32.873: [  CRSRES][1554180416]0Human intervention required to resume its availability.
    2009-06-24 22:00:32.921: [  CRSRES][1543690560]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2009-06-24 22:00:32.921: [  CRSRES][1543690560][ALERT]0`ora.rac1dr.ons` on member `rac1dr` has experienced an unrecoverable failure.
    2009-06-24 22:00:32.921: [  CRSRES][1543690560]0Human intervention required to resume its availability.
    Any help is highly appreciated.
    Kamy

    CRS on RHEL 5.5 auto-start problem
    hi all
    Recently I install RAC Oracle 10gR2 on Red hat RHEL 5.5. “Two node cluster, iscsi storage, ocfs2 mounted files & ASM ”
    I did research and took all the necessary actions to install it on Red hat. Everything went well, according to the documents and at the end of the installation, all the resources were up and running. However, after the install, only the VIP was up and ONS and GSD ,ASM and the other services was in unknown state. When I stop the CRS & start it –all again, everything stars working. Please friends I need to fix this problem because the cluster services and the client workstation are stopping when the servicers is relocated to node 1 after the server reboot because the CRS did not worked still on node and manual starting is taking time.
    This is the result from crsd.log from node1 when node is online .
    Name Type Target State Host
    ora....SM1.asm      application ONLINE UNKNOWN linux1
    ora....X1.lsnr      application ONLINE UNKNOWN linux1
    ora.linux1.gsd     application ONLINE UNKNOWN linux1
    ora.linux1.ons      application ONLINE UNKNOWN linux1
    ora.linux1.vip     application ONLINE ONLINE linux1
    ora....SM2.asm     application ONLINE ONLINE linux2
    ora....X2.lsnr      application ONLINE ONLINE linux2
    ora.linux2.gsd      application ONLINE ONLINE linux2
    ora.linux2.ons     application ONLINE ONLINE linux2
    ora.linux2.vip      application ONLINE ONLINE linux2
    ora.mutdb.db      application ONLINE ONLINE linux2
    ora....b1.inst      application ONLINE OFFLINE
    ora....b2.inst      application ONLINE ONLINE linux2
    ora...._taf.cs      application ONLINE ONLINE linux2
    ora....db1.srv      application ONLINE UNKNOWN linux1
    ora....db2.srv      application ONLINE ONLINE linux2
    ############################### CRS Log ON Node 1 ##################################
    2010-05-27 11:54:57.357: [ default][3741415840][ENTER]0
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2004, Oracle. All rights reserved
    2010-05-27 11:54:57.366: [ default][3741415840]0CRS Daemon Starting
    2010-05-27 11:54:57.366: [ CRSMAIN][3741415840]0Checking the OCR device
    2010-05-27 11:54:57.379: [ CRSMAIN][3741415840]0Connecting to the CSS Daemon
    2010-05-27 11:54:57.783: [ COMMCRS][1107867968]clsc_connect: (0x8481ce0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
    2010-05-27 11:54:57.783: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
    2010-05-27 11:54:57.783: [  CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2010-05-27 11:54:59.182: [ COMMCRS][1107867968]clsc_connect: (0x8481f60) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
    2010-05-27 11:54:59.182: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
    2010-05-27 11:54:59.182: [  CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2010-05-27 11:55:00.569: [ COMMCRS][1107867968]clsc_connect: (0x84821f0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
    2010-05-27 11:55:00.569: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
    2010-05-27 11:55:00.569: [  CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2010-05-27 11:55:01.954: [ COMMCRS][1107867968]clsc_connect: (0x84824b0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
    2010-05-27 11:55:01.954: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
    2010-05-27 11:55:01.954: [  CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2010-05-27 11:55:05.924: [    CRSD][3741415840]0Daemon Version: 10.2.0.1.0 Active Version: 10.2.0.1.0
    2010-05-27 11:55:05.924: [    CRSD][3741415840]0Active Version and Software Version are same
    2010-05-27 11:55:05.924: [ CRSMAIN][3741415840]0Initializing OCR
    2010-05-27 11:55:05.937: [  OCRRAW][3741415840]proprioo: for disk 0 (/u02/OCR_1.dbf), id match (1), my id set (1273042630,1936275375) total id sets (1), 1st set (1273042630,1936275375), 2nd set (0,0) my votes (1), total votes (2)
    2010-05-27 11:55:05.938: [  OCRRAW][3741415840]proprioo: for disk 1 (/u03/OCR_2.dbf), id match (1), my id set (1273042630,1936275375) total id sets (1), 1st set (1273042630,1936275375), 2nd set (0,0) my votes (1), total votes (2)
    2010-05-27 11:55:05.981: [    CRSD][3741415840]0ENV Logging level for Module: allcomp 0
    2010-05-27 11:55:05.983: [    CRSD][3741415840]0ENV Logging level for Module: default 0
    2010-05-27 11:55:05.994: [    CRSD][3741415840]0ENV Logging level for Module: COMMCRS 0
    2010-05-27 11:55:05.996: [    CRSD][3741415840]0ENV Logging level for Module: COMMNS 0
    2010-05-27 11:55:05.999: [    CRSD][3741415840]0ENV Logging level for Module: CRSUI 0
    2010-05-27 11:55:06.001: [    CRSD][3741415840]0ENV Logging level for Module: CRSCOMM 0
    2010-05-27 11:55:06.003: [    CRSD][3741415840]0ENV Logging level for Module: CRSRTI 0
    2010-05-27 11:55:06.006: [    CRSD][3741415840]0ENV Logging level for Module: CRSMAIN 0
    2010-05-27 11:55:06.008: [    CRSD][3741415840]0ENV Logging level for Module: CRSPLACE 0
    2010-05-27 11:55:06.010: [    CRSD][3741415840]0ENV Logging level for Module: CRSAPP 0
    2010-05-27 11:55:06.012: [    CRSD][3741415840]0ENV Logging level for Module: CRSRES 0
    2010-05-27 11:55:06.015: [    CRSD][3741415840]0ENV Logging level for Module: CRSOCR 0
    2010-05-27 11:55:06.017: [    CRSD][3741415840]0ENV Logging level for Module: CRSTIMER 0
    2010-05-27 11:55:06.019: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [148436880] retval lht [-27] Signal CV.
    2010-05-27 11:55:06.019: [    CRSD][3741415840]0ENV Logging level for Module: CRSEVT 0
    2010-05-27 11:55:06.022: [    CRSD][3741415840]0ENV Logging level for Module: CRSD 0
    2010-05-27 11:55:06.024: [    CRSD][3741415840]0ENV Logging level for Module: CLUCLS 0
    2010-05-27 11:55:06.027: [    CRSD][3741415840]0ENV Logging level for Module: OCRRAW 0
    2010-05-27 11:55:06.029: [    CRSD][3741415840]0ENV Logging level for Module: OCROSD 0
    2010-05-27 11:55:06.032: [    CRSD][3741415840]0ENV Logging level for Module: CSSCLNT 0
    2010-05-27 11:55:06.034: [    CRSD][3741415840]0ENV Logging level for Module: OCRAPI 0
    2010-05-27 11:55:06.036: [    CRSD][3741415840]0ENV Logging level for Module: OCRUTL 0
    2010-05-27 11:55:06.039: [    CRSD][3741415840]0ENV Logging level for Module: OCRMSG 0
    2010-05-27 11:55:06.041: [    CRSD][3741415840]0ENV Logging level for Module: OCRCLI 0
    2010-05-27 11:55:06.043: [    CRSD][3741415840]0ENV Logging level for Module: OCRCAC 0
    2010-05-27 11:55:06.046: [    CRSD][3741415840]0ENV Logging level for Module: OCRSRV 0
    2010-05-27 11:55:06.048: [    CRSD][3741415840]0ENV Logging level for Module: OCRMAS 0
    2010-05-27 11:55:06.048: [ CRSMAIN][3741415840]0Filename is /u01/app/crs/crs/init/linux1.pid
    [  clsdmt][1401583936]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=linux1DBG_CRSD))
    2010-05-27 11:55:06.119: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [149741888] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.002: [ CRSMAIN][3741415840]0Using Authorizer location: /u01/app/crs/crs/auth/
    2010-05-27 11:55:07.008: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [149755728] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.230: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [149740416] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.380: [ CRSMAIN][3741415840]0Initializing RTI
    2010-05-27 11:55:07.380: [CRSTIMER][1422563648]0Timer Thread Starting.
    2010-05-27 11:55:07.386: [  CRSRES][3741415840]0Parameter SECURITY = 1, running in USER Mode
    2010-05-27 11:55:07.386: [ CRSMAIN][3741415840]0Initializing EVMMgr
    2010-05-27 11:55:07.453: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150974816] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.474: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150975552] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.485: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150988032] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.723: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150998720] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.734: [ CRSMAIN][3741415840]0CRSD locked during state recovery, please wait.
    2010-05-27 11:55:07.737: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150997792] retval lht [-27] Signal CV.
    2010-05-27 11:55:07.923: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [151007072] retval lht [-27] Signal CV.
    2010-05-27 11:55:08.032: [ CRSMAIN][3741415840]0CRSD recovered, unlocked.
    2010-05-27 11:55:08.032: [ CRSMAIN][3741415840]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
    2010-05-27 11:55:08.051: [ CRSMAIN][3741415840]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
    2010-05-27 11:55:08.055: [ CRSMAIN][3741415840]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=linux1-priv)(PORT=49896))
    2010-05-27 11:55:08.055: [ CRSMAIN][3741415840]0Starting Threads
    2010-05-27 11:55:08.055: [ CRSMAIN][3741415840]0CRS Daemon Started.
    2010-05-27 11:55:08.204: [  CRSRES][1527462208]0StopResource: setting CLI values
    2010-05-27 11:55:08.220: [  CRSRES][1527462208]0Attempting to stop `ora.linux1.vip` on member `linux2`
    2010-05-27 11:55:08.515: [  CRSRES][1527462208]0Stop of `ora.linux1.vip` on member `linux2` succeeded.
    2010-05-27 11:55:08.529: [  CRSRES][1527462208]0startRunnable: setting CLI values
    2010-05-27 11:55:08.529: [  CRSRES][1527462208]0Attempting to start `ora.linux1.vip` on member `linux1`
    2010-05-27 11:55:08.686: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [154566384] retval lht [-27] Signal CV.
    2010-05-27 11:55:14.000: [  CRSRES][1527462208]0Start of `ora.linux1.vip` on member `linux1` succeeded.
    2010-05-27 11:55:14.231: [  CRSRES][1527462208]0startRunnable: setting CLI values
    2010-05-27 11:55:14.272: [  CRSRES][1527462208]0Attempting to start `ora.linux1.LISTENER_LINUX1.lsnr` on member `linux1`
    2010-05-27 11:55:14.426: [  CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(start) timed out for ora.linux1.LISTENER_LINUX1.lsnr! (timeout=600)
    2010-05-27 11:55:14.426: [  CRSAPP][1527462208]0StartResource error for ora.linux1.LISTENER_LINUX1.lsnr error code = -2
    2010-05-27 11:55:14.489: [  CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(stop) timed out for ora.linux1.LISTENER_LINUX1.lsnr! (timeout=600)
    2010-05-27 11:55:14.489: [  CRSAPP][1527462208]0StopResource error for ora.linux1.LISTENER_LINUX1.lsnr error code = -2
    2010-05-27 11:55:14.495: [  CRSRES][1527462208]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2010-05-27 11:55:14.495: [  CRSRES][1527462208][ALERT]0`ora.linux1.LISTENER_LINUX1.lsnr` on member `linux1` has experienced an unrecoverable failure.
    2010-05-27 11:55:14.495: [  CRSRES][1527462208]0Human intervention required to resume its availability.
    2010-05-27 11:55:14.628: [  CRSRES][1527462208]0startRunnable: setting CLI values
    2010-05-27 11:55:14.698: [  CRSRES][1527462208]0Attempting to start `ora.linux1.ASM1.asm` on member `linux1`
    2010-05-27 11:55:14.836: [  CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(start) timed out for ora.linux1.ASM1.asm! (timeout=600)
    2010-05-27 11:55:14.836: [  CRSAPP][1527462208]0StartResource error for ora.linux1.ASM1.asm error code = -2
    2010-05-27 11:55:14.875: [  CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(stop) timed out for ora.linux1.ASM1.asm! (timeout=600)
    2010-05-27 11:55:14.875: [  CRSAPP][1527462208]0StopResource error for ora.linux1.ASM1.asm error code = -2
    2010-05-27 11:55:14.881: [  CRSRES][1527462208]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2010-05-27 11:55:14.881: [  CRSRES][1527462208][ALERT]0`ora.linux1.ASM1.asm` on member `linux1` has experienced an unrecoverable failure.
    2010-05-27 11:55:14.881: [  CRSRES][1527462208]0Human intervention required to resume its availability.
    2010-05-27 11:55:15.051: [  CRSRES][1527462208]0CRS-1028: Dependency analysis failed because of:
    'Resource in UNKNOWN state: ora.linux1.ASM1.asm'
    2010-05-27 11:55:15.185: [  CRSRES][1527462208]0startRunnable: setting CLI values
    2010-05-27 11:55:15.237: [  CRSRES][1537952064]0startRunnable: setting CLI values
    2010-05-27 11:55:15.306: [  CRSRES][1558931776]0startRunnable: setting CLI values
    2010-05-27 11:55:15.339: [  CRSRES][1527462208]0Attempting to start `ora.linux1.gsd` on member `linux1`
    2010-05-27 11:55:15.397: [  CRSRES][1537952064]0Attempting to start `ora.linux1.ons` on member `linux1`
    2010-05-27 11:55:15.407: [  CRSRES][1558931776]0Attempting to start `ora.mutdb.mutdb_taf.mutdb1.srv` on member `linux1`
    2010-05-27 11:55:15.789: [  CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.linux1.gsd! (timeout=600)
    2010-05-27 11:55:15.789: [  CRSAPP][1527462208]0StartResource error for ora.linux1.gsd error code = -2
    2010-05-27 11:55:15.808: [  CRSEVT][1537952064]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.linux1.ons! (timeout=600)
    2010-05-27 11:55:15.808: [  CRSAPP][1537952064]0StartResource error for ora.linux1.ons error code = -2
    2010-05-27 11:55:15.812: [  CRSEVT][1558931776]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(start) timed out for ora.mutdb.mutdb_taf.mutdb1.srv! (timeout=600)
    2010-05-27 11:55:15.812: [  CRSAPP][1558931776]0StartResource error for ora.mutdb.mutdb_taf.mutdb1.srv error code = -2
    2010-05-27 11:55:15.838: [  CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.linux1.gsd! (timeout=600)
    2010-05-27 11:55:15.838: [  CRSAPP][1527462208]0StopResource error for ora.linux1.gsd error code = -2
    2010-05-27 11:55:15.844: [  CRSEVT][1537952064]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.linux1.ons! (timeout=600)
    2010-05-27 11:55:15.845: [  CRSAPP][1537952064]0StopResource error for ora.linux1.ons error code = -2
    2010-05-27 11:55:15.849: [  CRSRES][1527462208]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2010-05-27 11:55:15.849: [  CRSRES][1527462208][ALERT]0`ora.linux1.gsd` on member `linux1` has experienced an unrecoverable failure.
    2010-05-27 11:55:15.849: [  CRSRES][1527462208]0Human intervention required to resume its availability.
    2010-05-27 11:55:15.859: [  CRSEVT][1558931776]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(stop) timed out for ora.mutdb.mutdb_taf.mutdb1.srv! (timeout=600)
    2010-05-27 11:55:15.860: [  CRSAPP][1558931776]0StopResource error for ora.mutdb.mutdb_taf.mutdb1.srv error code = -2
    2010-05-27 11:55:15.863: [  CRSRES][1537952064]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2010-05-27 11:55:15.863: [  CRSRES][1537952064][ALERT]0`ora.linux1.ons` on member `linux1` has experienced an unrecoverable failure.
    2010-05-27 11:55:15.863: [  CRSRES][1537952064]0Human intervention required to resume its availability.
    2010-05-27 11:55:15.869: [  CRSRES][1558931776]0X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1698
    2010-05-27 11:55:15.869: [  CRSRES][1558931776][ALERT]0`ora.mutdb.mutdb_taf.mutdb1.srv` on member `linux1` has experienced an unrecoverable failure.
    2010-05-27 11:55:15.869: [  CRSRES][1558931776]0Human intervention required to resume its availability.
    2010-05-27 11:55:20.450: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [154578560] retval lht [-27] Signal CV.
    2010-05-27 11:55:21.130: [  OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [154578560] retval lht [-27] Signal CV.
    I tired this solution it was on website “but it did not work”
    下面是METALINK给出的解释:
    I have checked the information provided. crsd is reporting timeouts when running the checking actions. The racgmain process on the other hand, executed by racgwrap, remain running so the number is increasing.This issue has been reported in Bug 7009245 ""RACGMAIN CHECK" PROCESS NOT TERMINATING", and drill down and determine the root cause this require to get a stack trace from racgmain process(es) as well as you should runOSWatcher with a specific parameters, finally the issue of Bug 7009245 has been fixed by the fix of Bug 6196746 (unpublished bug -- summary is "racgwrap spawns racgmain child process. crsd timeout kills racgwrap but bot racgmain")So please perform the following action plan that intend to solve the issue.
    .ACTION PLAN
    ============
    1. Stop CRS on this node.
    2. Make a copy of racgwrap located under $ORACLE_HOME/bin and $CRS_HOME/bin
    3. Edit the file racgwrap and modify the last 3 lines from:
    .$ORACLE_HOME/bin/racgmain "$@"
    status=$?
    exit $status
    .to:
    .# Line added to test fix for Bug 6196746
    exec $ORACLE_HOME/bin/racgmain "$@"
    .4. Restart CRS and make sure that all the resources are startes
    This should solve the issue. also if you are not able to stop CRS right now, you can try the
    solution without crs stop/start.
    BUT IT DID NOT WORK
    ###################################################3

Maybe you are looking for

  • How can I Use the iCloud Control Panel to pick a new folder

    I apparently moved or deleted my iCloud folder and keep getting this message Use the iCloud Control Panel to pick a new folder.  How do I do this?

  • Automatic workflow customizing :Schedule background job for condition evalu

    Hai, I have one problem in automatic customizing SWU3(Maintain runtime environment)-Schedule background job for condition evaluation. How to turn  green tick from red cross? All other steps are OK in SWU3 except this problem. Please give me some tips

  • More than one form accessing a PayPal account

    My plan is to have one Adobe Forms Central account. I would like to set up two different forms (one for registratants and one for Exhibitors) and have both of them access the same PayPal Standard Business account to use their credit cards. Is this po

  • Discoverer ignoring Order By

    Hi all, I have defined an order by rownum in a database view but when I report off this in Discoverer Plus the order by is ignored. Instead it decides to do a default sort on the first column containing text. Is this expected behaviour and is there a

  • Cant join calls in progress.

    Since i got skype for desktop i have not been able to join group calls in progress at all and sometimes i cant even recieve calls when im not on do not disturb. this is really frustrateing how do i fix this