Running webservices prevents clean shutdown ?
We're using OC4J with eclipse and the development team has to go through the pain of restarting the appserver twice each time we stop/start. After fixing the localhost/127.0.0.1 problem (see *1), things worked smoothly until we started developing webservices. I didn't put it together until the following email arrived in my inbox this morning..
Notice how you have to restart OC4J twice since it won’t entirely remove the application the first time?
This is caused by our super sweet JAXP web services. If you don’t really care about deploying those there is an ugly hack to work around this problem – delete the webservices folder (from your disk not SVN) and the PublicAccessServiceBean which really belongs in the web services folder along with it’s test case. In fact if the web services were in a separate project/jar that the developer could optionally deploy we would have a better solution to this problem.
There must be a way to disable the deployment of the webservices in OC4J which would be a much more sane approach to fixing this problem, but it’s not apparent to the casual user as how that would be done.
I've search the forums and haven't been able to find a direct reference to the webservice problem. Anyone have any ideas ?
(*1) shutting down oc4j fails in eclipse
A solution bubbled up.. for future reference-
For those of you encountering the annoying need to restart your OC4J server within eclipse there is an alternative to removing the webservices folder. It’s a bit of a hack but a bit nicer (especially if you have to modify the web services!) It involves modifying the ant script used by eclipse to deploy to oracle. This script is located in your eclipse plugins folder under:
..\org.eclipse.jst.server.generic.oc4j_1.5.0.v200606130315\buildfiles
and it is called oracle.10.1.3.xml.
Open it up and add the target “undeploy.j2ee.module” to the start of the depends attribute of the target “deploy.j2ee.ear”. If you do this the application will always be undeployed before deployment and should correct the web services deployment issue. The modified node should look like…
<target name="deploy.j2ee.ear" depends="undeploy.j2ee.module,check.skip.ear.deploy" unless="skip.deploy">
The only problem with this hack is that the application has to be deployed already before you modify the script because otherwise the undeploy will fail.
Similar Messages
-
Power Mac G4 not turning on after clean shutdown, works otherwise.
My Power Mac G4 does not turn back on after a clean shutdown, but turns on after being disconnected from the power. If I shut it down cleanly (Apple menu -> Shutdown), it shuts down, but then the power button does not work. After unplugging the computer and plugging it back in, the computer is able to power on successfully. I have reset the PRAM and have reseated the PSU connector.
I am using Mac OS X Tiger 10.4.11, but the same problem occurs under Mac OS X Leopard 10.5.8. I don't think the operating system really matters with this type of issue though, because the power button literally will not respond until I unplug and replug the computer.
Any suggestions?
Jonathan Alfonso’s Power Mac G4
12/22/13 2:07 PM
Hardware:
Hardware Overview:
Machine Name: Power Mac G4
Machine Model: PowerMac3,6
CPU Type: PowerPC G4 (3.3)
Number Of CPUs: 2
CPU Speed: 1.42 GHz
L2 Cache (per CPU): 256 KB
L3 Cache (per CPU): 2 MB
Memory: 2 GB
Bus Speed: 167 MHz
Boot ROM Version: 4.6.0f1
Serial Number: XB3101EMN1Y
Network:
Internal Modem:
Type: PPP (PPPSerial)
Hardware: Modem
BSD Device Name: modem
IPv4:
Configuration Method: PPP
IPv6:
Configuration Method: Automatic
Proxies:
Proxy Configuration Method: Manual
ExcludeSimpleHostnames: 0
FTP Passive Mode: Yes
Auto Discovery Enabled: No
Built-in Ethernet:
Type: Ethernet
Hardware: Ethernet
BSD Device Name: en0
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
Proxies:
FTP Proxy Enabled: No
FTP Passive Mode: Yes
Gopher Proxy Enabled: No
HTTP Proxy Enabled: No
HTTPS Proxy Enabled: No
RTSP Proxy Enabled: No
SOCKS Proxy Enabled: No
Ethernet:
MAC Address: 00:0a:95:9c:64:40
Media Options:
Media Subtype: none
Built-in FireWire:
Type: FireWire
Hardware: FireWire
BSD Device Name: fw0
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
Proxies:
Proxy Configuration Method: Manual
ExcludeSimpleHostnames: 0
FTP Passive Mode: Yes
Auto Discovery Enabled: No
Ethernet:
MAC Address: 00:0a:95:ff:fe:9c:64:40
Media Options: Full Duplex
Media Subtype: autoselect
AirPort:
Type: AirPort
Hardware: AirPort
BSD Device Name: en1
IPv4 Addresses: 192.168.1.134
IPv4:
Addresses: 192.168.1.134
Configuration Method: DHCP
Interface Name: en1
Router: 192.168.1.1
Subnet Masks: 255.255.255.0
IPv6:
Configuration Method: Automatic
DNS:
Domain Name: hsd1.fl.comcast.net
Server Addresses: 192.168.1.1
DHCP Server Responses:
Domain Name: hsd1.fl.comcast.net
Domain Name Servers: 192.168.1.1
Lease Duration (seconds): 0
DHCP Message Type: 0x05
Routers: 192.168.1.1
Server Identifier: 192.168.1.1
Subnet Mask: 255.255.255.0
Proxies:
Proxy Configuration Method: Manual
ExcludeSimpleHostnames: 0
FTP Passive Mode: Yes
Auto Discovery Enabled: No
Ethernet:
MAC Address: 00:0d:93:ef:b8:69
Media Options:
Media Subtype: autoselect
Software:
System Software Overview:
System Version: Mac OS X 10.4.11 (8S165)
Kernel Version: Darwin 8.11.0
Boot Volume: Macintosh HD
Computer Name: Jonathan Alfonso’s Power Mac G4
User Name: Jonathan Alfonso (alfonsojon)
ATA:
ATA Bus:
MAXTOR STM3500630A:
Capacity: 465.76 GB
Model: MAXTOR STM3500630A
Revision: 3.AAE
Serial Number: 9QG5RHPR
Removable Media: No
Detachable Drive: No
BSD Name: disk0
Protocol: ATA
Unit Number: 0
Socket Type: Internal
OS9 Drivers: No
S.M.A.R.T. status: Verified
Volumes:
Macintosh HD:
Capacity: 465.64 GB
Available: 458.51 GB
Writable: Yes
File System: Journaled HFS+
BSD Name: disk0s3
Mount Point: /
ST3200822A:
Capacity: 186.31 GB
Model: ST3200822A
Revision: 3.01
Serial Number: 3LJ078AZ
Removable Media: No
Detachable Drive: No
BSD Name: disk1
Protocol: ATA
Unit Number: 1
Socket Type: Internal
OS9 Drivers: No
S.M.A.R.T. status: Not Supported
Volumes:
Time Machine:
Capacity: 185.99 GB
Available: 136.84 GB
Writable: Yes
File System: Journaled HFS+
BSD Name: disk1s2
Mount Point: /Volumes/Time Machine
ATA Bus:
PIONEER DVD-RW DVR-105:
Capacity: 2.64 GB
Model: PIONEER DVD-RW DVR-105
Revision: A506
Serial Number: BLDL034723WL
Removable Media: Yes
Detachable Drive: No
BSD Name: disk2
Protocol: ATAPI
Unit Number: 0
Socket Type: Internal
OS9 Drivers: No
S.M.A.R.T. status: Not Supported
Volumes:
Mac OS X Install DVD:
Capacity: 2.64 GB
Available: 110.27 MB
Media Type: DVD-R
Writable: No
File System: HFS+
BSD Name: disk2s2
Mount Point: /Volumes/Mac OS X Install DVD
Audio (Built In):
Built In Sound Card:
CODEC: Texas Instruments TAS3004
Sample Rate: 44.1 KHz
Number of Inputs: 1
Number of Outputs: 4
Devices:
Input:
Type: Line Level Input
Output:
Type: Headphones
Output:
Type: Internal Speaker
Output:
Type: External Speaker
Output:
Type: Line Level Output
Diagnostics:
Power On Self-Test:
Last Run: 12/22/13 12:51 PM
Result: Passed
Disc Burning:
PIONEER DVD-RW DVR-105:
Firmware Revision: A506
Interconnect: ATAPI
Burn Support: Yes (Apple Shipped/Supported)
Cache: 2000 KB
Reads DVD: Yes
CD-Write: -R, -RW
DVD-Write: -R, -RW
Burn Underrun Protection CD: Yes
Burn Underrun Protection DVD: Yes
Write Strategies: CD-TAO, CD-SAO, CD-Raw, DVD-DAO
Media:
Media Type: DVD-R
Blank: No
Erasable: No
Overwritable: No
Appendable: No
FireWire:
FireWire Bus:
Maximum Speed: Up to 800 Mb/sec
Graphics/Displays:
ATI Radeon 9000 Pro:
Chipset Model: ATY,RV250
Type: Display
Bus: AGP
Slot: SLOT-1
VRAM (Total): 64 MB
Vendor: ATI (0x1002)
Device ID: 0x4966
Revision ID: 0x0000
ROM Revision: 113-99702-122
Displays:
Acer AL2017:
Resolution: 1400 x 1050 @ 60 Hz
Depth: 32-bit Color
Core Image: Not Supported
Main Display: Yes
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Rotation: Supported
Display:
Status: No display connected
Memory:
DIMM0/J21:
Size: 512 MB
Type: DDR SDRAM
Speed: PC2700U-25330
Status: OK
DIMM1/J22:
Size: 512 MB
Type: DDR SDRAM
Speed: PC2700U-25330
Status: OK
DIMM2/J23:
Size: 512 MB
Type: DDR SDRAM
Speed: PC2700U-25330
Status: OK
DIMM3/J20:
Size: 512 MB
Type: DDR SDRAM
Speed: PC2700U-25330
Status: OK
PCI Cards:
usb:
Type: usb
Bus: PCI
Slot: SLOT-5
Vendor ID: 0x1033
Device ID: 0x0035
Subsystem Vendor ID: 0x17c6
Subsystem ID: 0x0036
Revision ID: 0x0041
usb:
Type: usb
Bus: PCI
Slot: SLOT-5
Vendor ID: 0x1033
Device ID: 0x0035
Subsystem Vendor ID: 0x17c6
Subsystem ID: 0x0036
Revision ID: 0x0041
pci17c6,e1:
Bus: PCI
Slot: SLOT-5
Vendor ID: 0x1033
Device ID: 0x00e0
Subsystem Vendor ID: 0x17c6
Subsystem ID: 0x00e1
Revision ID: 0x0002
Power:
System Power Settings:
AC Power:
System Sleep Timer (Minutes): 10
Disk Sleep Timer (Minutes): 10
Display Sleep Timer (Minutes): 10
Sleep On Power Button: Yes
Automatic Restart On Power Loss: Yes
Wake On AC Change: No
Wake On LAN: Yes
Wake On Modem Ring: Yes
USB:
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBOHCI
PCI Device ID: 0x0035
PCI Revision ID: 0x0043
PCI Vendor ID: 0x1033
Bus Number: 0x3b
Microsoft® Digital Media Pro Keyboard:
Version: 1.10
Bus Power (mA): 500
Speed: Up to 1.5 Mb/sec
Manufacturer: Microsoft
Product ID: 0x00b0
Vendor ID: 0x045e
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBOHCI
PCI Device ID: 0x0035
PCI Revision ID: 0x0043
PCI Vendor ID: 0x1033
Bus Number: 0x1b
Kensington USB/PS2 Wheel Mouse:
Version: 1.00
Bus Power (mA): 500
Speed: Up to 1.5 Mb/sec
Manufacturer: Kensington
Product ID: 0x102a
Vendor ID: 0x047d
USB Bus:
Host Controller Location: Expansion Slot
Host Controller Driver: AppleUSBOHCI
PCI Device ID: 0x0035
PCI Revision ID: 0x0041
PCI Vendor ID: 0x1033
Bus Number: 0x15
USB Bus:
Host Controller Location: Expansion Slot
Host Controller Driver: AppleUSBOHCI
PCI Device ID: 0x0035
PCI Revision ID: 0x0041
PCI Vendor ID: 0x1033
Bus Number: 0x35
USB High-Speed Bus:
Host Controller Location: Expansion Slot
Host Controller Driver: AppleUSBEHCI
PCI Device ID: 0x00e0
PCI Revision ID: 0x0002
PCI Vendor ID: 0x1033
Bus Number: 0x55
AirPort Card:
AirPort Card Information:
Wireless Card Type: AirPort Extreme
Wireless Card Locale: USA
Wireless Card Firmware Version: 405.1 (3.90.34.0.p18)
Current Wireless Network: Alfonso
Wireless Channel: 3
Locations:
Automatic:
Active Location: Yes
Services:
Internal Modem:
Type: PPP
IPv4:
Configuration Method: PPP
IPv6:
Configuration Method: Automatic
Proxies:
Proxy Configuration Method: 2
ExcludeSimpleHostnames: 0
FTP Passive Mode: 1
Auto Discovery Enabled: 0
PPP:
ACSP Enabled: 0
Display Terminal Window: 0
Redial Count: 1
Redial Enabled: 1
Redial Interval: 5
Use Terminal Script: 0
Dial On Demand: 0
Disconnect On Fast User Switch: 1
Disconnect On Idle: 1
Disconnect On Idle Timer: 600
Disconnect On Logout: 1
Disconnect On Sleep: 1
Idle Reminder: 0
Idle Reminder Time: 1800
IPCP Compression VJ: 1
LCP Echo Enabled: 1
LCP Echo Failure: 4
LCP Echo Interval: 10
Log File: /var/log/ppp.log
Verbose Logging: 0
Built-in Ethernet:
Type: Ethernet
BSD Device Name: en0
Hardware (MAC) Address: 00:0a:95:9c:64:40
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
FTP Proxy Enabled: 0
FTP Passive Mode: 1
Gopher Proxy Enabled: 0
HTTP Proxy Enabled: 0
HTTPS Proxy Enabled: 0
RTSP Proxy Enabled: 0
SOCKS Proxy Enabled: 0
Built-in FireWire:
Type: FireWire
BSD Device Name: fw0
Hardware (MAC) Address: 00:0a:95:ff:fe:9c:64:40
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
Proxy Configuration Method: 2
ExcludeSimpleHostnames: 0
FTP Passive Mode: 1
Auto Discovery Enabled: 0
AirPort:
Type: IEEE80211
BSD Device Name: en1
Hardware (MAC) Address: 00:0d:93:ef:b8:69
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
Proxy Configuration Method: 2
ExcludeSimpleHostnames: 0
FTP Passive Mode: 1
Auto Discovery Enabled: 0
IEEE80211:
AllowNetCreation: 1
JoinMode: Automatic
MAC Address: 00:0d:93:ef:b8:69
Modems:
Modem Information:
Modem Model: Dash2
Interface Type: USB
Modulation: V.92
SKU Name: UCJ
Hardware Version: 1.0F
Firmware Version: APPLE VERSION 2.6.6
Driver: InternalUSBModem.kext (v2.6.6)
Country: B5 (United States, Latin America)Still not sure what Mac you have, but do you have a multimeter?
You can convert an ATX PSU for use on a G4...
http://atxg4.com/sawtooth.html http://atxg4.com/gige-da.html
http://atxg4.com/quicksilver.html
http://atxg4.com/mdd.html
http://atxg4.com/
Hank, have you tested the MDD PSU?
http://www.jcsenterprises.com/Japamacs_Page/Blog/D275729F-09DA-4FBB-96B3-BEEEB2C 04619.html -
Database clean shutdown status Issues with ESEUTIL
hi all i am currently trying to go the process of taking my database backup from a dirty shutdown into a clean shutdown state with ESEUTIL.
a user has lost some items from there sent items folder so i am restoring it for them.
i have checked the state of the database and it shows dirty shutdown so i am running the command below to replay the log files.
C:\>eseutil /r E00 /l "C:\database recovery\Mailbox Database 1813862868\data" /d "C:\database recovery\Mailbox Database 1813862868\data" -verbose
it begins to process but them comes up with the following error suggesting i use the /a argument, i cant seem to find much information on this wondered if anyone had any suggestions. i ran the -verbose command to help try and narrow it down
can some one help with what the /a argument does or if they have had this issue themselves a possible way to resolve it.
many thanks
GordonThanks for the information and;
1. I would start with your VSS backup provider Cloudberry since as part of the backup validation it shouldn't have passed if those files were missing and upon restore of the EDB it should have also provided all needed Log files. Now its possible they
were missing prior to backup and that could be for any number of reasons, i.e. Anti Virus if improperly configured could have deleted or quarantined them etc, however more concerning is that the backup provider called that backup good. I would look at
the backup logs to see what they reported as its possible they did report an issue during backup. The other possibility is that the files are within the backup but didn't restore for some reason and for that you would need to do another test restore
to validate. Also could be that upon restore the logs were deleted by your Anti Virus provider and of course you can check the AV logs and quarantine...
2. Running a /P against a restored backup for item level recovery is not as big of a deal as it would be if you were putting the db back into production. True you can still lose data with a /P but for what you were doing not an issue IMO especially if
you recovered the needed data.
3. The log loss also was in the middle of the needed log chain which is never a good sign. Sometimes you can get by that issue by removing all logs after the missing log file and just trying to play it up to that point in time.
P.S. If you are missing the log files post backup and want to avoid running a /P on an inconsistent/dirty database the only choices are to;
A: find the logs (Look at AV logs and quarantine or perhaps re restore the files again from backup)
B: do the /P
C: Check out our DigiScope product that can bypass most /P issues by using our Forensic mount to open the database and then extract the needed information to PST or restore it directly to any mailbox on the original or alternate exchange server (even alternate
versions i.e. 5.5-->2000-->2003-->2007-->2010-->2013 etc.)
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
2007 --> 2010 --> 2013 with Lucid8's
DigiScope -
[Solved] Clean shutdown/reboot/suspend,wakeup no longer possible.
No matter how I try to shut down my arch system, via systemctl poweroff, or through the GUI, or using /sbin/shutdown, my system will hang while shutting down. Forcing me to hold the power key down for a forced shutdown. This is the log from the last time this happened.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Starting Shutdown.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Starting Shutdown.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Reached target Shutdown.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Reached target Shutdown.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopping Default.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Starting Exit the Session...
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopped target Default.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopping Basic System.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopped target Basic System.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopping Timers.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopped target Timers.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopping Default.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopped target Default.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopping Basic System.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopping Sockets.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopped target Sockets.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopping Paths.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopped target Basic System.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Stopped target Paths.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopping Timers.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Starting Exit the Session...
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopped target Timers.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopping Sockets.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopped target Sockets.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopping Paths.
Jan 30 13:24:12 Steves-MacBook systemd[272]: Stopped target Paths.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopped Network Manager.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopped Login Service.
Jan 30 13:24:12 Steves-MacBook systemd[257]: Received SIGRTMIN+24 from PID 596 (kill).
Jan 30 13:24:12 Steves-MacBook systemd[272]: Received SIGRTMIN+24 from PID 595 (kill).
Jan 30 13:24:12 Steves-MacBook systemd[258]: pam_unix(systemd-user:session): session closed for user sddm
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopped User Manager for UID 997.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopping user-997.slice.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Removed slice user-997.slice.
Jan 30 13:24:12 Steves-MacBook systemd[273]: pam_unix(systemd-user:session): session closed for user steve
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopped User Manager for UID 501.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopping Permit User Sessions...
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopping user-501.slice.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Removed slice user-501.slice.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopped Permit User Sessions.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopping Remote File Systems.
Jan 30 13:24:12 Steves-MacBook systemd[1]: Stopped target Remote File Systems.
Jan 30 13:24:12 Steves-MacBook mkinitcpio[574]: ==> Starting build: none
Jan 30 13:24:12 Steves-MacBook mkinitcpio[574]: -> Running build hook: [sd-shutdown]
Jan 30 13:24:13 Steves-MacBook mkinitcpio[574]: ==> Build complete.
Jan 30 13:24:13 Steves-MacBook systemd[1]: Started Generate shutdown-ramfs.
Jan 30 13:24:26 Steves-MacBook kernel: INFO: task krunner:355 blocked for more than 120 seconds.
Jan 30 13:24:26 Steves-MacBook kernel: Tainted: G W 3.18.4-1-ARCH #1
Jan 30 13:24:26 Steves-MacBook kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 30 13:24:26 Steves-MacBook kernel: krunner D 00000001 0 355 1 0x00000004
Jan 30 13:24:26 Steves-MacBook kernel: f721bcf4 00000082 c1637280 00000001 00000001 c16deb00 c1637dc4 00000000
Jan 30 13:24:26 Steves-MacBook kernel: c16deb00 00000000 f13c3340 0000001d f5711b00 f0da8c80 c155985e f721bcb4
Jan 30 13:24:26 Steves-MacBook kernel: c104b43a 00000001 f5d46b40 00000001 f5d46b40 f721bd30 c112698d 00000001
Jan 30 13:24:26 Steves-MacBook kernel: Call Trace:
Jan 30 13:24:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:24:26 Steves-MacBook kernel: [<c112698d>] ? get_page_from_freelist+0x37d/0x5f0
Jan 30 13:24:26 Steves-MacBook kernel: [<c10920ca>] ? mutex_optimistic_spin+0x4a/0x1a0
Jan 30 13:24:26 Steves-MacBook kernel: [<c1476833>] schedule+0x23/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c1476c14>] schedule_preempt_disabled+0x14/0x20
Jan 30 13:24:26 Steves-MacBook kernel: [<c1477fa2>] __mutex_lock_slowpath+0xb2/0x120
Jan 30 13:24:26 Steves-MacBook kernel: [<c14775e5>] mutex_lock+0x15/0x30
Jan 30 13:24:26 Steves-MacBook kernel: [<f89ba2eb>] acpi_smbus_transaction+0x58/0x267 [sbshc]
Jan 30 13:24:26 Steves-MacBook kernel: [<c100985e>] ? poke_int3_handler+0x3e/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:24:26 Steves-MacBook kernel: [<f89ba518>] acpi_smbus_read+0x1e/0x23 [sbshc]
Jan 30 13:24:26 Steves-MacBook kernel: [<f89cd111>] acpi_battery_get_state+0x60/0x88 [sbs]
Jan 30 13:24:26 Steves-MacBook kernel: [<f89cd848>] acpi_sbs_battery_get_property+0x2f/0x3ff [sbs]
Jan 30 13:24:26 Steves-MacBook kernel: [<c134ea4a>] power_supply_show_property+0x4a/0x260
Jan 30 13:24:26 Steves-MacBook kernel: [<c134ed68>] power_supply_uevent+0xc8/0x2a0
Jan 30 13:24:26 Steves-MacBook kernel: [<c1186b8f>] ? terminate_walk+0x4f/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c1318bb1>] dev_uevent+0xb1/0x2f0
Jan 30 13:24:26 Steves-MacBook kernel: [<c11669e4>] ? kmem_cache_alloc_trace+0x124/0x140
Jan 30 13:24:26 Steves-MacBook kernel: [<c124b3f0>] ? lockref_put_or_lock+0x20/0x40
Jan 30 13:24:26 Steves-MacBook kernel: [<c1316c5c>] ? uevent_show+0x6c/0xf0
Jan 30 13:24:26 Steves-MacBook kernel: [<c1316c74>] uevent_show+0x84/0xf0
Jan 30 13:24:26 Steves-MacBook kernel: [<c114b5ea>] ? __vma_link_rb+0x5a/0x70
Jan 30 13:24:26 Steves-MacBook kernel: [<c1316bf0>] ? dev_show+0x40/0x40
Jan 30 13:24:26 Steves-MacBook kernel: [<c1317170>] ? dev_driver_string+0x20/0x20
Jan 30 13:24:26 Steves-MacBook kernel: [<c1317188>] dev_attr_show+0x18/0x40
Jan 30 13:24:26 Steves-MacBook kernel: [<c11e0861>] sysfs_kf_seq_show+0xb1/0x170
Jan 30 13:24:26 Steves-MacBook kernel: [<c11df53d>] kernfs_seq_show+0x1d/0x30
Jan 30 13:24:26 Steves-MacBook kernel: [<c119bcd2>] seq_read+0x92/0x3a0
Jan 30 13:24:26 Steves-MacBook kernel: [<c11dfcf6>] kernfs_fop_read+0xd6/0x130
Jan 30 13:24:26 Steves-MacBook kernel: [<c11389cb>] ? vm_mmap_pgoff+0x9b/0xc0
Jan 30 13:24:26 Steves-MacBook kernel: [<c11dfc20>] ? kernfs_fop_write+0x160/0x160
Jan 30 13:24:26 Steves-MacBook kernel: [<c117c2b8>] vfs_read+0x78/0x170
Jan 30 13:24:26 Steves-MacBook kernel: [<c11962e2>] ? __fget_light+0x22/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c117c9c7>] SyS_read+0x57/0xc0
Jan 30 13:24:26 Steves-MacBook kernel: [<c147a057>] sysenter_do_call+0x12/0x12
Jan 30 13:24:26 Steves-MacBook kernel: INFO: task plasmashell:357 blocked for more than 120 seconds.
Jan 30 13:24:26 Steves-MacBook kernel: Tainted: G W 3.18.4-1-ARCH #1
Jan 30 13:24:26 Steves-MacBook kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 30 13:24:26 Steves-MacBook kernel: plasmashell D 00000141 0 357 1 0x00000004
Jan 30 13:24:26 Steves-MacBook kernel: f0c99cf4 00000082 00000002 00000141 000267f3 c16deb00 c1637dc4 00000001
Jan 30 13:24:26 Steves-MacBook kernel: c16deb00 00000000 f13c2380 0000001e f5711b00 f122cb00 c155985e f0c99cb4
Jan 30 13:24:26 Steves-MacBook kernel: c104b43a 00000001 f5d5aec0 00000001 f5d5aec0 f0c99d30 c112698d 00000001
Jan 30 13:24:26 Steves-MacBook kernel: Call Trace:
Jan 30 13:24:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:24:26 Steves-MacBook kernel: [<c112698d>] ? get_page_from_freelist+0x37d/0x5f0
Jan 30 13:24:26 Steves-MacBook kernel: [<c10920ca>] ? mutex_optimistic_spin+0x4a/0x1a0
Jan 30 13:24:26 Steves-MacBook kernel: [<c1476833>] schedule+0x23/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c1476c14>] schedule_preempt_disabled+0x14/0x20
Jan 30 13:24:26 Steves-MacBook kernel: [<c1477fa2>] __mutex_lock_slowpath+0xb2/0x120
Jan 30 13:24:26 Steves-MacBook kernel: [<c14775e5>] mutex_lock+0x15/0x30
Jan 30 13:24:26 Steves-MacBook kernel: [<f89ba2eb>] acpi_smbus_transaction+0x58/0x267 [sbshc]
Jan 30 13:24:26 Steves-MacBook kernel: [<c100985e>] ? poke_int3_handler+0x3e/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:24:26 Steves-MacBook kernel: [<f89ba518>] acpi_smbus_read+0x1e/0x23 [sbshc]
Jan 30 13:24:26 Steves-MacBook kernel: [<f89cd111>] acpi_battery_get_state+0x60/0x88 [sbs]
Jan 30 13:24:26 Steves-MacBook kernel: [<f89cd848>] acpi_sbs_battery_get_property+0x2f/0x3ff [sbs]
Jan 30 13:24:26 Steves-MacBook kernel: [<c134ea4a>] power_supply_show_property+0x4a/0x260
Jan 30 13:24:26 Steves-MacBook kernel: [<c134ed68>] power_supply_uevent+0xc8/0x2a0
Jan 30 13:24:26 Steves-MacBook kernel: [<c1186b8f>] ? terminate_walk+0x4f/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c1318bb1>] dev_uevent+0xb1/0x2f0
Jan 30 13:24:26 Steves-MacBook kernel: [<c11669e4>] ? kmem_cache_alloc_trace+0x124/0x140
Jan 30 13:24:26 Steves-MacBook kernel: [<c124b3f0>] ? lockref_put_or_lock+0x20/0x40
Jan 30 13:24:26 Steves-MacBook kernel: [<c1316c5c>] ? uevent_show+0x6c/0xf0
Jan 30 13:24:26 Steves-MacBook kernel: [<c1316c74>] uevent_show+0x84/0xf0
Jan 30 13:24:26 Steves-MacBook kernel: [<c114b5ea>] ? __vma_link_rb+0x5a/0x70
Jan 30 13:24:26 Steves-MacBook kernel: [<c1316bf0>] ? dev_show+0x40/0x40
Jan 30 13:24:26 Steves-MacBook kernel: [<c1317170>] ? dev_driver_string+0x20/0x20
Jan 30 13:24:26 Steves-MacBook kernel: [<c1317188>] dev_attr_show+0x18/0x40
Jan 30 13:24:26 Steves-MacBook kernel: [<c11e0861>] sysfs_kf_seq_show+0xb1/0x170
Jan 30 13:24:26 Steves-MacBook kernel: [<c11df53d>] kernfs_seq_show+0x1d/0x30
Jan 30 13:24:26 Steves-MacBook kernel: [<c119bcd2>] seq_read+0x92/0x3a0
Jan 30 13:24:26 Steves-MacBook kernel: [<c11dfcf6>] kernfs_fop_read+0xd6/0x130
Jan 30 13:24:26 Steves-MacBook kernel: [<c11389cb>] ? vm_mmap_pgoff+0x9b/0xc0
Jan 30 13:24:26 Steves-MacBook kernel: [<c11dfc20>] ? kernfs_fop_write+0x160/0x160
Jan 30 13:24:26 Steves-MacBook kernel: [<c117c2b8>] vfs_read+0x78/0x170
Jan 30 13:24:26 Steves-MacBook kernel: [<c11962e2>] ? __fget_light+0x22/0x60
Jan 30 13:24:26 Steves-MacBook kernel: [<c117c9c7>] SyS_read+0x57/0xc0
Jan 30 13:24:26 Steves-MacBook kernel: [<c147a057>] sysenter_do_call+0x12/0x12
Jan 30 13:25:42 Steves-MacBook systemd[1]: upower.service stop-sigterm timed out. Killing.
Jan 30 13:26:26 Steves-MacBook kernel: INFO: task krunner:355 blocked for more than 120 seconds.
Jan 30 13:26:26 Steves-MacBook kernel: Tainted: G W 3.18.4-1-ARCH #1
Jan 30 13:26:26 Steves-MacBook kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 30 13:26:26 Steves-MacBook kernel: krunner D 00000001 0 355 1 0x00000004
Jan 30 13:26:26 Steves-MacBook kernel: f721bcf4 00000082 c1637280 00000001 00000001 c16deb00 c1637dc4 00000000
Jan 30 13:26:26 Steves-MacBook kernel: c16deb00 00000000 f13c3340 0000001d f5711b00 f0da8c80 c155985e f721bcb4
Jan 30 13:26:26 Steves-MacBook kernel: c104b43a 00000001 f5d46b40 00000001 f5d46b40 f721bd30 c112698d 00000001
Jan 30 13:26:26 Steves-MacBook kernel: Call Trace:
Jan 30 13:26:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:26:26 Steves-MacBook kernel: [<c112698d>] ? get_page_from_freelist+0x37d/0x5f0
Jan 30 13:26:26 Steves-MacBook kernel: [<c10920ca>] ? mutex_optimistic_spin+0x4a/0x1a0
Jan 30 13:26:26 Steves-MacBook kernel: [<c1476833>] schedule+0x23/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c1476c14>] schedule_preempt_disabled+0x14/0x20
Jan 30 13:26:26 Steves-MacBook kernel: [<c1477fa2>] __mutex_lock_slowpath+0xb2/0x120
Jan 30 13:26:26 Steves-MacBook kernel: [<c14775e5>] mutex_lock+0x15/0x30
Jan 30 13:26:26 Steves-MacBook kernel: [<f89ba2eb>] acpi_smbus_transaction+0x58/0x267 [sbshc]
Jan 30 13:26:26 Steves-MacBook kernel: [<c100985e>] ? poke_int3_handler+0x3e/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:26:26 Steves-MacBook kernel: [<f89ba518>] acpi_smbus_read+0x1e/0x23 [sbshc]
Jan 30 13:26:26 Steves-MacBook kernel: [<f89cd111>] acpi_battery_get_state+0x60/0x88 [sbs]
Jan 30 13:26:26 Steves-MacBook kernel: [<f89cd848>] acpi_sbs_battery_get_property+0x2f/0x3ff [sbs]
Jan 30 13:26:26 Steves-MacBook kernel: [<c134ea4a>] power_supply_show_property+0x4a/0x260
Jan 30 13:26:26 Steves-MacBook kernel: [<c134ed68>] power_supply_uevent+0xc8/0x2a0
Jan 30 13:26:26 Steves-MacBook kernel: [<c1186b8f>] ? terminate_walk+0x4f/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c1318bb1>] dev_uevent+0xb1/0x2f0
Jan 30 13:26:26 Steves-MacBook kernel: [<c11669e4>] ? kmem_cache_alloc_trace+0x124/0x140
Jan 30 13:26:26 Steves-MacBook kernel: [<c124b3f0>] ? lockref_put_or_lock+0x20/0x40
Jan 30 13:26:26 Steves-MacBook kernel: [<c1316c5c>] ? uevent_show+0x6c/0xf0
Jan 30 13:26:26 Steves-MacBook kernel: [<c1316c74>] uevent_show+0x84/0xf0
Jan 30 13:26:26 Steves-MacBook kernel: [<c114b5ea>] ? __vma_link_rb+0x5a/0x70
Jan 30 13:26:26 Steves-MacBook kernel: [<c1316bf0>] ? dev_show+0x40/0x40
Jan 30 13:26:26 Steves-MacBook kernel: [<c1317170>] ? dev_driver_string+0x20/0x20
Jan 30 13:26:26 Steves-MacBook kernel: [<c1317188>] dev_attr_show+0x18/0x40
Jan 30 13:26:26 Steves-MacBook kernel: [<c11e0861>] sysfs_kf_seq_show+0xb1/0x170
Jan 30 13:26:26 Steves-MacBook kernel: [<c11df53d>] kernfs_seq_show+0x1d/0x30
Jan 30 13:26:26 Steves-MacBook kernel: [<c119bcd2>] seq_read+0x92/0x3a0
Jan 30 13:26:26 Steves-MacBook kernel: [<c11dfcf6>] kernfs_fop_read+0xd6/0x130
Jan 30 13:26:26 Steves-MacBook kernel: [<c11389cb>] ? vm_mmap_pgoff+0x9b/0xc0
Jan 30 13:26:26 Steves-MacBook kernel: [<c11dfc20>] ? kernfs_fop_write+0x160/0x160
Jan 30 13:26:26 Steves-MacBook kernel: [<c117c2b8>] vfs_read+0x78/0x170
Jan 30 13:26:26 Steves-MacBook kernel: [<c11962e2>] ? __fget_light+0x22/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c117c9c7>] SyS_read+0x57/0xc0
Jan 30 13:26:26 Steves-MacBook kernel: [<c147a057>] sysenter_do_call+0x12/0x12
Jan 30 13:26:26 Steves-MacBook kernel: INFO: task plasmashell:357 blocked for more than 120 seconds.
Jan 30 13:26:26 Steves-MacBook kernel: Tainted: G W 3.18.4-1-ARCH #1
Jan 30 13:26:26 Steves-MacBook kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 30 13:26:26 Steves-MacBook kernel: plasmashell D 00000141 0 357 1 0x00000004
Jan 30 13:26:26 Steves-MacBook kernel: f0c99cf4 00000082 00000002 00000141 000267f3 c16deb00 c1637dc4 00000001
Jan 30 13:26:26 Steves-MacBook kernel: c16deb00 00000000 f13c2380 0000001e f5711b00 f122cb00 c155985e f0c99cb4
Jan 30 13:26:26 Steves-MacBook kernel: c104b43a 00000001 f5d5aec0 00000001 f5d5aec0 f0c99d30 c112698d 00000001
Jan 30 13:26:26 Steves-MacBook kernel: Call Trace:
Jan 30 13:26:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:26:26 Steves-MacBook kernel: [<c112698d>] ? get_page_from_freelist+0x37d/0x5f0
Jan 30 13:26:26 Steves-MacBook kernel: [<c10920ca>] ? mutex_optimistic_spin+0x4a/0x1a0
Jan 30 13:26:26 Steves-MacBook kernel: [<c1476833>] schedule+0x23/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c1476c14>] schedule_preempt_disabled+0x14/0x20
Jan 30 13:26:26 Steves-MacBook kernel: [<c1477fa2>] __mutex_lock_slowpath+0xb2/0x120
Jan 30 13:26:26 Steves-MacBook kernel: [<c14775e5>] mutex_lock+0x15/0x30
Jan 30 13:26:26 Steves-MacBook kernel: [<f89ba2eb>] acpi_smbus_transaction+0x58/0x267 [sbshc]
Jan 30 13:26:26 Steves-MacBook kernel: [<c100985e>] ? poke_int3_handler+0x3e/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c104b43a>] ? kmap_atomic_prot+0x3a/0xe0
Jan 30 13:26:26 Steves-MacBook kernel: [<f89ba518>] acpi_smbus_read+0x1e/0x23 [sbshc]
Jan 30 13:26:26 Steves-MacBook kernel: [<f89cd111>] acpi_battery_get_state+0x60/0x88 [sbs]
Jan 30 13:26:26 Steves-MacBook kernel: [<f89cd848>] acpi_sbs_battery_get_property+0x2f/0x3ff [sbs]
Jan 30 13:26:26 Steves-MacBook kernel: [<c134ea4a>] power_supply_show_property+0x4a/0x260
Jan 30 13:26:26 Steves-MacBook kernel: [<c134ed68>] power_supply_uevent+0xc8/0x2a0
Jan 30 13:26:26 Steves-MacBook kernel: [<c1186b8f>] ? terminate_walk+0x4f/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c1318bb1>] dev_uevent+0xb1/0x2f0
Jan 30 13:26:26 Steves-MacBook kernel: [<c11669e4>] ? kmem_cache_alloc_trace+0x124/0x140
Jan 30 13:26:26 Steves-MacBook kernel: [<c124b3f0>] ? lockref_put_or_lock+0x20/0x40
Jan 30 13:26:26 Steves-MacBook kernel: [<c1316c5c>] ? uevent_show+0x6c/0xf0
Jan 30 13:26:26 Steves-MacBook kernel: [<c1316c74>] uevent_show+0x84/0xf0
Jan 30 13:26:26 Steves-MacBook kernel: [<c114b5ea>] ? __vma_link_rb+0x5a/0x70
Jan 30 13:26:26 Steves-MacBook kernel: [<c1316bf0>] ? dev_show+0x40/0x40
Jan 30 13:26:26 Steves-MacBook kernel: [<c1317170>] ? dev_driver_string+0x20/0x20
Jan 30 13:26:26 Steves-MacBook kernel: [<c1317188>] dev_attr_show+0x18/0x40
Jan 30 13:26:26 Steves-MacBook kernel: [<c11e0861>] sysfs_kf_seq_show+0xb1/0x170
Jan 30 13:26:26 Steves-MacBook kernel: [<c11df53d>] kernfs_seq_show+0x1d/0x30
Jan 30 13:26:26 Steves-MacBook kernel: [<c119bcd2>] seq_read+0x92/0x3a0
Jan 30 13:26:26 Steves-MacBook kernel: [<c11dfcf6>] kernfs_fop_read+0xd6/0x130
Jan 30 13:26:26 Steves-MacBook kernel: [<c11389cb>] ? vm_mmap_pgoff+0x9b/0xc0
Jan 30 13:26:26 Steves-MacBook kernel: [<c11dfc20>] ? kernfs_fop_write+0x160/0x160
Jan 30 13:26:26 Steves-MacBook kernel: [<c117c2b8>] vfs_read+0x78/0x170
Jan 30 13:26:26 Steves-MacBook kernel: [<c11962e2>] ? __fget_light+0x22/0x60
Jan 30 13:26:26 Steves-MacBook kernel: [<c117c9c7>] SyS_read+0x57/0xc0
Jan 30 13:26:26 Steves-MacBook kernel: [<c147a057>] sysenter_do_call+0x12/0x12
-- Reboot --
I'm using a 2006 32 bit MacBook, with KDE Plasma 5.2 as my GUI. The problem began about 2 weeks ago, but I'm unable to pinpoint the software update that started this.
Suspending has also become a problem because when my laptop wakes up from sleep mode, nothing happens (the system is inaccessible over the network, display never comes on, no log entries are added to the journal). The usual solution, hold down the power button. I can say that this isn't a hardware problem because suspend/wakeup works perfectly on OSX and Windows.
Any help will be appreciated.
Last edited by stevedes (2015-01-31 06:45:22)Head_on_a_Stick wrote:
stevedes wrote:Any suggestions on what to do next?
Either keep trying the new kernel versions as they filter down or switch to the 3.14 LTS kernel (if that works).
I'll do that, thanks for the help. -
I have just returned from a business trip to China and my Macbook is not well. My internet connection is very slow and drops out intermittently. Is there a utility I can run which might clean it up.
Hello,
I have very similar problem. Suddenly Firefox stopped work - It was working few days after ver. 4 update. I was looking everywhere for some solution but nothing worked.
- uninstalled firewall - did not worked
- added full exception for Firefox into the firewall - did not worked
- Firefox reinstall - did not worked
- Firefox complete reinstall (registry included) - did not worked
- IPv6 diseabling - did not worked
- diferent proxy options (no proxy, system proxy, autodetect proxy) - did not worked
- new firefox profile - did not worked
- complete coockies, history... deleted - did not worked
- there is only one solution which partly works - I have used public proxy addresses for Firefox but the ping is (750ms), down/up (0.8MB/0.2MB originaly (10MB/2MB) and yes I have tried different proxy server from different countries from my included.
- IE is working perfectly and without proxy
- other companies browser - did not worked too
- only IE is working
- I have used three different malware, trojans, spyware, anti-virus programs and nothing
It seems to me as hopeless situation or very clever move from Microsoft, I am forced to use IE - at least this works
Any ideas, solutions?
System Windows 7, firewall Comodo Internet security
Thanks everyone for the help -
Bittorrent not closing down and preventing mac shutdown
Bittorrent is not closing down and when I try to shut down my mac it is prevented because bittorrent is still running. Does anyone know how I can over come this problem?
Press COMMAND-OPTION-ESC to open the Task Manager. Select BitTorrent in the list and click the Force Quit button. If that doesn't work. Open Activity Monitor in the Utilities folder, select the BitTorrent process in the process list then click on the Quit icon in the toolbar, then click on the Force Quit button.
If none of this works then hold down the Power button for 5-10 seconds and the computer will shutdown. Then you can restart. Running down the battery is not a good solution. -
Error 41 - Kernel Power in event log after clean shutdown - Windows 8.0
HP Envy H9-1405A - 16MB RAM, Windows 8.0, and up to date with updates. (16 months old but under extended h/w warranty). All user data backed-up daily.
After problems earlier today I noticed that after a controlled shutdown and start from cool (ie on/off button on PC, not mains power at the wall) the startup took over 10 minutes. Event browser showed error 41 - Kernel Power - "after system crash or lost power unexpectedly", which it definitely hadn't as I was testing a controlled shutdown.
When starting from overnight sleep mode this morning it came up with blue screen and an error mssage something like 'hard disk driver error', or similar (before first coffee so I wasn't really awake). PC wouldn't restart in anything like reasonable time until powered off at wall, after which it struggled up and ran normally for a while. Went out for a couple of hours and on return again the PC wouldn't re-start from sleep mode. Again used the wall power switch to effect the restart and PC and after very slow restart it ran normally. Event log showed Startup Repair ran due to a corrupted registry hive, and reboot used an earlier version.
Checkdisk ran clean and the HP Support Assistant diags just looped for ever.
I then tried a system restart, which worked but took a long time, and then a controlled power down and start from cool which also took a long time as described above. I've temporarily turned off sleep mode so as to keep working.
Question - do I have a transient software problem which might be fixable with Recovery, or failing hardware that should be covered by warranty, and where might I find some hardware diagnostics to show to the supplier? Thanks.Hello @mikerb,
I have read your post on how your desktop computer is displaying an error message in regards to a Kernel event log, and I would be happy to assist you in this matter!
To further diagnose this issue, I recommend following the steps in this document on Windows Kernel event ID 41 error "The system has rebooted without cleanly shutting down first". This should help to resolve the critical error message.
Just to be on the safe side, I also suggest following this resource on Testing for Hardware Failures (Windows 8); which should help determine if there is a hardware defect with one or multiple hardware components on your computer.
Please re-post with the results of your troubleshooting, and I look forward to your reply!
Regards
MechPilot
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping! -
Running Oracle startup or shutdown bat file from Java code
I have two bat files for the startup and shutdown of Oracle instance which works fine from the command prompt. But my requirement is to run it through a Java program. Please reply with full Java code. Also mention how I would get the status of the bat files that it is successfully executed or not and if not what is the error.
Your program is working fine, but there is another problem. What's happening now is I have to open the Login screen after the startup of oracle server is complete, but the next line of my program after Runtime.exec is the LoginScreen.show which immediately shows the login screen after executing Runtime.exec and when I am giving the login name and password and press enter, it shows Oracle not available exception, because the startup process is still in progress. I want to stop the execution of my next line of code until and unless my process of Oracle startup is complete.
-
this has happened every time I have run the clean-up feature. It is messing with some sort of setting in Firefox because if I uninstall Firefox and don't get rid of all my customizations (there is an option to keep/discard these upon un-installation) when I reinstall, I get the same problem...any ideas?!?
Why don't you stop using that program if it isn't working properly and corrupts your Firefox installation?
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies" -
Possible to run Automator job before shutdown (automatically)?
Subject says it all, really: I have an Autamator job that copies some files from one place to another.
I want to run this job automatically before the machine shuts down. Is this possible?Yes. Just add it to the Automator workflow with the "Run AppleScript" action and save it as an application to put in your Dock, or the sidebar in a Finder window, or the toolbar in a Finder window.
If you don't want it to be too easy, then put it in a folder first. Then put the folder either in the Dock, or the sidebar or toolbar of the Finder window so you'll have to perform two clicks.
In the "Run AppleScript" action, you can delete everything in the text box since you don't need to process any items, and then add this:
tell application "System Events" to shut down
Note that "shut down" is two words. You can also use the words "restart", "sleep", or "log out". There will not be a confirmation dialog, excepting when applications ask to save unsaved documents (unless sleeping).
In the future, you can find this is out again with Script Editor somewhere in the Applications folder (or use Spotlight). You'll want to open the "System Events" scripting dictionary, and it's probably already in the "Library" window (check the Window menu, or Command-Shift-L). Use the search in the "System Events" dictionary window to find "shut down", or anything else.
Be careful about testing this script since it will immediately shutdown the computer without a confirmation dialog. Perhaps have an unsaved document opened while testing, such as another Automator workflow with any action added and unsaved, or a new TextEdit document with a some random text typed in (a single letter will do). -
Running webServices in 'only' Forms & ReportServices Env ?
Hi,
I do use DB10gR2 / DB11R1 and FormsAS 10gR2 with Forms&Reportservices
and want to looking into the SOA-World.
Can I create and deploy a WebService within a only Forms&ReportServices - Enviroment
( OC4J ) or do I need a whole AS ?
What will be in next generation AS 11 ?
NorbertGrant, that's for calling a web service from within Forms. The so called consumer side.
But what about the producer side. If you develop a web server can you run it on the OC4J from a Forms/Reports only installation (from a license point of view)? -
Example, How to run WebServices from C#, the easy way
Hi,
Anyone who visited the ByD PDI workshops may remember the WebService examples with SoapUI.
Additionally, I want to explain another way of testing WebServices for ByD, which is IMHO way more easy
and closer to reality.
First of all, you need access to a ByD Studio and be able to create Solutions in there.
Second, if you don't have a Visual Studio C# 2010 installed already, go to Microsoft's homepage and grab a free Express version there. Of course, you also have to install it
For this example, I assume, that you want to do a 'Read' on a specific instance of your own BO.
In this case, we call our BO MasterDataWanneBe .
Quick guide for creating a WebService 'Read'
1. Create new WebService
1.1. Name: ReadAll
1.1.a. Namespace -> your soltion's namespace
1.1.b. Business object
1.2. Business Object View Name
1.2.a. Name = ReadAll
1.2.b. Select all Nodes + subnodes
1.3. Create u201AReadu2018 Service Operation
1.3.a. Name = Read
1.3.b. Select all nodes + subnodes
2. Activate WS
3. Create WS authentication file (.wsauth)
4. Add WS to authentication
5. Activate WSAuth (will create a view in background)
6. Assign created WS View + WS Workcenter
7. Authorize your user for this WorkCenter + View (in ByD, User Management)
8. Download WSDL, to for example: c:\ZAYQSY0Y_ReadAll.wsdl
Now you have a valid WSDL, pointing your solution and we go next to the more interesting part.
1. Start Visual Studio
2. Create a new Solution, Type = C# Console Application; project name = BydTest
3. Within the project explorer, right click on References, choose 'add service reference'
4. Click 'advanced' (bottom left)
5. Click 'Web reference' (bottom left)
6. Enter the downloaded WSDL file as URL, example: c:\ZAYQSY0Y_ReadAll.wsdl
7. It may happen, that there will be a security warning, just ignore it and the WSDL source should be displayed
8. Type in name 'ReadAll' as reference name
9. Press OK (the service 'ReadAll' will appear in the web reference list, within project explorer)
10. Type in the following C# code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BydTest.ReadAll;
using System.Net;
namespace BydTest
class Program
static void Main(string[] args)
new Program().run();
private void run()
BydTest.ReadAll.service service = new BydTest.ReadAll.service();
service.Credentials = new SuperSecretCredentials();
MasterDataWanneBeReadAllByIDQueryMessage_sync request = new MasterDataWanneBeReadAllByIDQueryMessage_sync();
request.MasterDataWanneBe = new MasterDataWanneBeReadAllByIDQuery();
request.MasterDataWanneBe.ID = "MYTESTID"; // assuming, one instance with this ID exists!
MasterDataWanneBeReadAllByIDResponseMessage_sync response;
response = service.Read(request);
if (response.Log.Item != null) foreach (BydTest.ReadAll.LogItem log in response.Log.Item)
Console.WriteLine("Log: " + log.Note);
Console.WriteLine("-------------------------------------------------------");
if (response.MasterDataWanneBe != null)
// This BO has to elements: 'ID' and 'RunStartDate'
Console.WriteLine("My BO's ID:" + response.MasterDataWanneBe.ID);
Console.WriteLine("My BO's StartDate:" + response.MasterDataWanneBe.RunStartDate.ToString());
class SuperSecretCredentials : ICredentials
public NetworkCredential GetCredential(Uri uri, string authType)
return new NetworkCredential("myuser", "mypassword");
Example output, when selected ID was wrong:
Log: No instance found for specified key
Example output, when ID there is an existing BO instance with given ID:
My BO's ID:E5F42697_MKIRST
My BO's StartDate:18.05.2011 13:18:08
To my experience, this way is rock solid and I've never had any problems.
The two major pitfalls are:
Problem: System.Net.WebException, Message=Fehler bei der Anforderung mit HTTP-Status 401: Unauthorized
Solution: Check, if you're using the correct user ID. Most likely you're using an user alias and not the real user ID (generated IDs are most often longer than the shorter aliases)
Problem: SRT, RBAM authorization denied
Solution: Check if WorkCenter and WebService (Dummy-)View are assigned to your user. Sometimes it helps, re-activate your complete solution within ByD Studio AND/OR right click on your solution (ByD Studio) and choose 'Update Authorizations and Access Rights'Really good! Thanks for sharing this!
-
Script for performing clean shutdown before windows shutdown
Hi all,
I need a script to perform a clean oracle shutdown every time that windows going to shutdown.I need this to be sure that there wont be any instance recovery every time I startup the oracle(Mostly I fear from header inconsistency and ...).
Is there any thing that I can deploy for my development sites?
-Your help will be so appreciatedStartDB.bat
=============
net start OracleServiceORCL
set oracle_sid=ORCL
C:\oracle\ora92\bin\sqlplus -s /nolog @C:\startDB.sql
net start OracleOraHome92TNSListener
net start OracleOraHome92Agent
pause
startDB.sql
============
connect / as sysdba
startup pfile=initORCL.ora
==if you are using spfile, just say, startup
exit
StopDB.bat
===============
set oracle_sid=ORCL
C:\oracle\ora92\bin\sqlplus -s /nolog @C:\stopDB.sql
net stop OracleOraHome92Agent
net stop OracleServiceORCL
pause
connect / as sysDBA
shutdown immediate
exit
Above scripts used for Oracle 9i or higher versions.
Well, you can also do these with autostart parameter in the regedit.
Jaffar -
Run a script before shutdown with launchd
Is there a way to run a shell script before shutdown with launchd? In 10.4, I have a shell script to remove user's folder when a user logs off.
Lisa Perezthe only way to do it that I know of is using a logout hook. see this link for details
http://www.bombich.com/mactips/loginhooks.html
However, I'm not sure exactly at what point in the logout process the logout hook is executed so there might be a problem running a script that deletes the home directory of the user that's being logged out. -
Running WebService using already authenticated user
Hi,
I am using as a base, the Avitek Medical Records application.
I log into the patient web app, by using the username "[email protected]". I can see with that the Security subject has been created with that principal.
Then I go to another web app, in another ear: Physician. From there I sent the username to the WebService in order that WebService run with the Subject of that already logged in user.
My problem is: it does not accept only a username, with NO password.
QUESTION: Is there a way to run a WebService using the username if that user is already logged in the realm, without re-authenticating him.
Here is an excerpt of my web service client code:
...webservice client {
WebServiceSession session = serviceContext.getSession();
UserInfo ui = new UserInfo(bup);
session.setAttribute(WSSEClientHandler.REQUEST_USERINFO, ui);
// Add the username token to the SOAP header.
SecurityElementFactory factory = SecurityElementFactory.getDefaultFactory();
Security security = factory.createSecurity(null);
security.addToken(ui);
session.setAttribute(WSSEClientHandler.REQUEST_SECURITY, security);
Here is an excerpt of my WebService server method, in order to see under which Principal it is run:
...webserviceMethod() {
javax.security.auth.Subject subject = Security.getCurrentSubject();
logger.info("WebService Subject =" + SubjectUtils.displaySubject(subject));
logger.info("WebService Subject username=" + SubjectUtils.getUsername(subject));
RESULTS 1
If I do NOT have any <security> branch in my web-services.xml, here is the exception I get:
Got a Web Service Request at URL: '/ws_medrec/MedRecWebServices' for web service 'null'
Got a Web Service Request at URL: '/MedRecWebServices' for web service 'MedRecWebServices'
INFO [10:48:08] (PhysicianSessionEJB.java:setSessionContext:68) - Client W.S. - Active BUP used to login to remote WebService: [email protected]
INFO [10:48:08] (PhysicianSessionEJB.java:searchPatientsByLastNameWild:250) - By wildcard last name.
<!-------------------- REQUEST FROM CLIENT ---------------->
URL : http://localhost:7001/ws_medrec/MedRecWebServices
Headers :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://ww
w.w3.org/2001/XMLSchema"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" env:mustUnderstand="1"><wsse:UsernameToken xmlns:wsu=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id-oKOBR7i21PQ9mvvOSj5lFtKH"><wsse:Username>[email protected]</wsse:Username></wsse:UsernameToken></wsse:Se></env:Header><env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:findPatientByLastNameWild xmlns:m="http://tempuri.org/"><lastName xsi:type="xsd:string">Couples</lastName></m:findPatientByLastNameWild></env:Body></env:Envelope>
<!-------------------- END REQUEST FROM CLIENT ------------>
Got a Web Service Request at URL: '/ws_medrec/MedRecWebServices' for web service 'null'
Got a Web Service Request at URL: '/MedRecWebServices' for web service 'MedRecWebServices'
<!--REQUEST TO SERVER.................-->
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<env:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
env:mustUnderstand="1">
<wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
wsu:Id="Id-oKOBR7i21PQ9mvvOSj5lFtKH">
<wsse:Username xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">[email protected]</wsse:Username>
</wsse:UsernameToken>
</wsse:Security>
</env:Header>
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<m:findPatientByLastNameWild xmlns:m="http://tempuri.org/">
<lastName xsi:type="xsd:string">Couples</lastName>
</m:findPatientByLastNameWild>
</env:Body>
</env:Envelope>
<!--RESPONSE FROM SERVER.................-->
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security
at weblogic.webservice.core.DefaultMessage.checkMustUnderstand(DefaultMessage.java:415)
at weblogic.webservice.core.DefaultMessage.implicitHeaderToJava(DefaultMessage.java:374)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:436)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:93)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</bea_fault:stacktrace>
</detail>
</env:Fault>
</env:Body>
</env:Envelope><!-------------------- RESPONSE TO CLIENT --------------->
URL : http://localhost:7001/ws_medrec/MedRecWebServices
Response Code :500
Headers :
Date=Thu, 07 Oct 2004 14:48:08 GMT
Server=WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
Content-Length=2817
Content-Type=text/xml
Connection=Keep-Alive
Envelope :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://ww
w.w3.org/2001/XMLSchema"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Secu
rity (see Fault Detail for stacktrace)</faultstring><detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.soap.SOAPException: Unable to hand
le mustUnderstand header: wsse:Security
at weblogic.webservice.core.DefaultMessage.checkMustUnderstand(DefaultMessage.java:415)
at weblogic.webservice.core.DefaultMessage.implicitHeaderToJava(DefaultMessage.java:374)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:436)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:93)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</bea_fault:stacktrace></detail></env:Fault></env:Body></env:Envelope>
<!-------------------- END RESPONSE TO CLIENT ----------->
ERROR [10:48:08] (PhysicianSessionEJB.java:searchPatientsByLastNameWild:272) - SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to ha
ndle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security
at weblogic.webservice.core.DefaultMessage.checkMustUnderstand(DefaultMessage.java:415)
at weblogic.webservice.core.DefaultMessage.implicitHeaderToJava(DefaultMessage.java:374)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:436)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:93)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</bea_fault:stacktrace>
</detail>; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault
Detail for stacktrace)
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security
at weblogic.webservice.core.DefaultMessage.checkMustUnderstand(DefaultMessage.java:415)
at weblogic.webservice.core.DefaultMessage.implicitHeaderToJava(DefaultMessage.java:374)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:436)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:93)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</bea_fault:stacktrace>
</detail>; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
at com.bea.medrec.webservices.MedRecWebServicesPort_Stub.findPatientByLastNameWild(MedRecWebServicesPort_Stub.java:87)
at com.bea.medrec.controller.PhysicianSessionEJB.searchPatientsByLastNameWild(PhysicianSessionEJB.java:260)
at com.bea.medrec.controller.PhysicianSessionEJB.searchPatients(PhysicianSessionEJB.java:225)
at com.bea.medrec.controller.PhysicianSessionEJB_n7enxc_EOImpl.searchPatients(PhysicianSessionEJB_n7enxc_EOImpl.java:254)
at com.bea.medrec.actions.SearchResultsAction.processSearch(SearchResultsAction.java:117)
at com.bea.medrec.actions.SearchResultsAction.search(SearchResultsAction.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:252)
at com.bea.medrec.actions.BaseLookupDispatchAction.execute(BaseLookupDispatchAction.java:59)
at com.bea.medrec.actions.PhysBaseLookupDispatchAction.execute(PhysBaseLookupDispatchAction.java:50)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.medrec.filters.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
at com.bea.medrec.webservices.MedRecWebServicesPort_Stub.findPatientByLastNameWild(MedRecWebServicesPort_Stub.java:82)
... 32 more
ERROR [10:48:08] (BaseLookupDispatchAction.java:throwClientException:199) - EJB Exception: ; nested exception is:
javax.ejb.EJBException: nested exception is: java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to ha
ndle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security
at weblogic.webservice.core.DefaultMessage.checkMustUnderstand(DefaultMessage.java:415)
at weblogic.webservice.core.DefaultMessage.implicitHeaderToJava(DefaultMessage.java:374)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:436)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:93)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</bea_fault:stacktrace>
</detail>; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
ERROR [10:48:08] (BaseLookupDispatchAction.java:handleException:219) - java.rmi.RemoteException: EJB Exception: ; nested exception is:
javax.ejb.EJBException: nested exception is: java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to ha
ndle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security
at weblogic.webservice.core.DefaultMessage.checkMustUnderstand(DefaultMessage.java:415)
at weblogic.webservice.core.DefaultMessage.implicitHeaderToJava(DefaultMessage.java:374)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:436)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:93)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</bea_fault:stacktrace>
</detail>; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.soap.SOAPException: Unable to handle mustUnderstand header: wsse:Security (see Fault Detail for stacktrace)
INFO [10:48:08] (BaseLookupDispatchAction.java:handleException:221) - Redirect link: search.do
RESULTS 2
If I DO have the following minimal <security> branch in my web-services.xml, here is the exception I get:
<security>
<spec:SecuritySpec xmlns:spec="http://www.openuri.org/2002/11/wsse/spec" spec:Namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" spec:Id="default-spec"/>
</security>
Got a Web Service Request at URL: '/ws_medrec/MedRecWebServices' for web service 'null'
Got a Web Service Request at URL: '/MedRecWebServices' for web service 'MedRecWebServices'
INFO [11:53:35] (PhysicianSessionEJB.java:setSessionContext:68) - Client W.S. - Active BUP used to login to remote WebService: [email protected]
INFO [11:53:35] (PhysicianSessionEJB.java:searchPatientsByLastNameWild:250) - By wildcard last name.
<!-------------------- REQUEST FROM CLIENT ---------------->
URL : http://localhost:7001/ws_medrec/MedRecWebServices
Headers :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://ww
w.w3.org/2001/XMLSchema"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" env:mustUnderstand="1"><wsse:UsernameToken xmlns:wsu=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id-bnFSHAnkYUKUr4i8BsQbAx0s"><wsse:Username>[email protected]</wsse:Username></wsse:UsernameToken></wsse:Se></env:Header><env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:findPatientByLastNameWild xmlns:m="http://tempuri.org/"><lastName xsi:type="xsd:string">Couples</lastName></m:findPatientByLastNameWild></env:Body></env:Envelope>
<!-------------------- END REQUEST FROM CLIENT ------------>
Got a Web Service Request at URL: '/ws_medrec/MedRecWebServices' for web service 'null'
Got a Web Service Request at URL: '/MedRecWebServices' for web service 'MedRecWebServices'
<!-------------------- RESPONSE TO CLIENT --------------->
URL : http://localhost:7001/ws_medrec/MedRecWebServices
Response Code :500
Headers :
Date=Thu, 07 Oct 2004 15:53:35 GMT
Server=WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
Content-Length=491
Content-Type=text/xml
Connection=Keep-Alive
Set-Cookie=JSESSIONID=Blm1Ncy2gmJKwhQm1Zn5x7zdn7xFRgYy12Jv1Y6p2l4FDxXkv0wL!407980274; path=/
Envelope :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://ww
w.w3.org/2001/XMLSchema"><env:Body><env:Fault xmlns:fault="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>fault:Hi Frank,
thanks for the quick reply. I got the code for how to use FacesContext...but where should i implement the code? do i have to create a backing bean or something? how to use a backing bean if i have to display the same information across every page during a session? where, for example, should i use the following code fragment?
FacesContext fc = FacesContext.getCurrentInstance();
ExternalContext ec = fc.getExternalContext();
userName = ec.getRemoteUser();
Please explain how to go about it. thanks
Maybe you are looking for
-
How can you tell what generation an iPod is?
I got a new iPod for Xmas but when asked what generation it is they didn't know? So Now I am trying to find a way to know what generation the iPod is? Does Anyone have ideas?
-
HT204053 How can I find my secerity password on my apple id accr
I'm having a problem trying to download my apps from my phone and it want let. Me unless I have a 4 digit secerity password
-
Problem with brand new 55" Dynex DX-55L150A11
The audio doesn't work when we go through HDMI. Have gone through all 4 inputs and used 3 different HDMI cables. Is there some switch or menu that needs to activate audio that I'm missing, or do I really need to go return this so I can get the same b
-
ok guys hopefully you can help me with my problem. whenever i play games or have video on the screen i get a black screen loop. meaning that the screen would go black then normal then black screen again. it will do this till close the game or vide
-
Steps for receving/sending IDOC using ICAN
Hello, Can somebody please send me the detailed steps required for receving an Idoc from a SAP r/3 system and then sending the same idoc to another sap r/3 system? What all options are available for this? I'm bit new to this and have looked at all th