NetBoot Client fails to do Diskless booting
Morning,
I have a setup a NetBoot server with one NetBoot image created using System Image Utility. The image is default and Diskless has been enabled.
NetBoot Server does not do DHCP, that is left to another server.
Because Mac clients exist on different subnets, NetBoot Across Subnets is used to help a client Mac boot from the NetBoot server.
Everything is working as advertised, except for Diskless. The Mac client's fail to use NetBootClients0. All client's end up using the local Hard Drive for /private/var/netboot.
The logs at NetBoot server are set to high but do not show an error with shadowmountpath.
The only error seen at time of client connection is...
Feb 24 10:56:59 hypatia bootpd[329]: server name hypatia.mydomain.com.au
Feb 24 10:56:59 hypatia bootpd[329]: subnets init using domain . failed:
Feb 24 10:56:59 hypatia bootpd[329]: bsdpd: re-reading configuration
Feb 24 10:56:59 hypatia bootpd[329]: bsdpd: shadow file size will be set to 48 megabytes
I am guessing here, but the only thing I can think of is that the NetBoot server may have specified it's afp shadowmountpath using the domain name instead of an IP address. Assuming DCHP (which specifies a DNS) hasn't loaded yet then the path cannot be found and the client boots based on the /etc/rc.netboot startup script.
Can anyone tell me how I can inspect the shadowmountpath response given by the NetBoot server?
Well, couldn't do much with NetBoot image being diskless so I stuck with a NetInstall image which forces the issue.
Similar Messages
-
it's probably in the docs, but i setup a diskless netboot client, and after launching a number of apps, the client side reported a "disk full" error.
what causes this, and if it's the physical space available on the netboot image, is there a way to avoid such things (expand the image, etc.)?
thanks.Two thoughts, first is that the diskless netbooting in 10.5 upt o version 10.5.2 (latest to the day) seems to be broken. The internal HD will be used.
Second, if you want to have more physical space available on the netboot image you may vonvert it to an saprse image, which will expand depending on the needed space. To do so just have a look at the article named "Netboot Image Padding Tricks" on afp548.com.
I have set up all my netboot images (on Tiger Server, can't speak for Loepard) like this and it works perfectly well. -
Netboot clients boot into kernel panic
After upgrading my 10.4 server to 10.5 I created a new 10.5 boot image from a new MacBook. Clients (including the Macbook used to create the image) attempting to boot just go to a kernel panic. So, I created a new image from a 10.5.1 retail CD. Same results. both images created using image creation tool on the server.
Then I created another boot image on a new iMac with server tools installed (and updated). boot image was copied to server. Same result.
This is Apple Case #103074193. So far all data is flowing from me to them-nothing coming back.
If you have any insights into this I sure would appreciate hearing from you.
Thanks
Jim PattisonI have an XServe G5 that was upgraded from 10.4.x to 10.5.4, and this alone did not fix the problem. I also had to stop the NFS file sharing service and restart it. The problem was hit-or-miss, but seemed to affect mostly my G5 iMacs, none of the Intel iMacs experienced a kernel panic when netbooting. I'm not sure why it wasn't affecting all of my netboot clients, probably only 25-30% of my G5 iMacs ever had a problem, but those that did were always a problem. Thanks for putting me on the right track with the original solution, I would have never guessed this to be a server-side issue.
-
WDS PXE Problems on 1 model of PC only - The following Client failed TFTP Download - Error Code 1460
Hey all,
I am experiencing a problem with my WDS PXE Environment, with 1 specific model of PC's only. This is a Dell XPS machine with an Intel e1000 nic in it.
The problem is that when you PXE Boot, it starts off fine, and I reach a menu that has all of my boot images listed, but as soon as you pick one it hangs on a black screen.
From the event viewer on the server I can see the following entry:
The Following Client failed TFTP Download:
IP: 10.130.148.211
Filename: \Boot\Boot.SDI
ErrorCode: 1460
I've done some google searching and found some topics that could be related, but none of the fixes mentioned helped me. This is the one I tried:
http://social.technet.microsoft.com/Forums/en-US/winserversetup/thread/a1246f62-6a8a-482b-9323-7e02dfeab196/#52aaf6fb-9494-4327-bbc3-8afe3e78905c
The problem I had was that the link they gave to the Hotfix, doesnt actually have anyway to download the hotfix!!
http://support.microsoft.com/kb/975710
Although
I am not convinced that packet size is the problem here, more likely some network or disk controller driver issues??
No
idea at all where to go from here. It is only this one model of PC that fails, and all others work fine. If someone can point me in the right direction it would be very greatly appreciated.
I
would be happy to provide you with any additional details you may require.
Thanks,
-BenYou need to contact CSS to get this fix.
Hotfix Information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore,
if you are not severely affected by this problem, we recommend that you wait for the next Windows Server 2008 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers
and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
John | Program Manager | System Center Configuration Manager -
Hello,
I'm not sure if this is the right section for this, but I don't see a NetBoot section and I guess this is the closest thing.
I've set my lab to NetBoot from an XServe using ARD's Set Startup Disk command. I rebooted everything and a few machines started from their internal disk. I labeled those machines red in ARD, manually netbooted them (holding down the N key) then I reset the startup disk on those clients and rebooted everything again. This time DIFFERENT clients tried to boot from their internal drives. I did the same thing and rebooted yet again. This time everything NetBooted, no need to hold down the N key on any machines. Did it again just to double check and everything came up again. Hooray!
A little while later I restarted the lab again for other reasons only to find that nearly half of the computers tried to boot from their internal drives. This time I simply restarted the naughty computers, not bothering to hold down "N." Each and every one of them netbooted. So Startup Disk isn't getting unset
Based on this I would speculate that for some reason the server doesn't get to each iMac in time so some try to boot from their internal drives. Anyone have an opinion on that?
Is there a way to set how long the computer will wait before giving up? Are there common switch configuration issues that might cause this? Unfortunately I don't have much to do with setting up the switches, but I can have our network admin make the needed changes, as long as I know what to ask for.
Thanks for any suggestions!
seanThanks for the reply. Keep in mind that I only used one method consistently throughout the entire lab, regardless of which method it was that time. I either booted them all by holding "N" or set them all via ARD. So what my question is, is why the inconsistency?
Booting with N held obviously booted them all up from the network. However setting them with ARD cause some to boot from the network and some not to. Then with the next reboot cycle (without having touched any startup disk settings) a completely different set of computers would boot from the network or not.
So the question, as you indicated at the end of your post, is really whether ARD is supposed to set the startup disk permanently or just for that boot. In either case it isn't working properly because some got set permanently and some didn't.
Oh well. I've actually abandoned NetBoot clients for now -- it was really a bit of an experiment for summer downtime.
Thanks again! -
Logon of user in client failed when starting a step
Hi All,
I have a question. (Might be simple to many).
<b>Logon of user in client failed when starting a step.</b>
Some of my scheduled jobs are getting cancelled due to the above error. It has been noted that the user corresponding to that job has been locked.
Can anybody suggest how to change the user of a Background Job (without deleting and re-creating the same).
Thanks and Regards
DevanandHi
You cannot change the owner of the job once it is in released status.
Better, create the job with same varient by an existing user and delete the cancelled job.
regards,
Vinodh. -
ConfigMgr 2012 R2 Client Failes to Install on HP EliteBook laptops with Synaptics Touchpad drivers
I've come across a fairly frustrating issue that has been taking up way too much of my time that past week or so. The issue started a little after some of our larger sites were migrated from SCCM 2007 to SCCM 2012. I started getting complaints that one of
our technical workstations (HP 8770w) was not deploying properly. I started investigating the issue and the problem involved the removal of the old ConfigMgr 2007 client and install of the new SCCM 2012 R2 client.
The Windows 7 x64 OS WIM that I am using is one that was migrated from the 07 to 2012 environment and it has been working fine. During the Setup Windows and ConfigMgr step the old client is removed and the new one for the 2012 environment installs. There
has not been any issues with this, but I feel something has changed now that we are deploying the 2012 R2 client.
Back to the issue, what happens is that the ConfigMgr client fails to uninstall the old client. Looking in the client.msi_uninstall file you will see that it is unable to locate a couple of SCCM 2007 configmgr client patches that were installed so it can
uninstall it. I get the "Couldn't find local patch ''. Looking for it at its source." line in the uninstall file. When I look for that under HKEY_CLASSES_ROOT\Installer\Patches the ENTIRE directory structure is empty. There is not a single item
listed under patches.
Since the only thing that happens in between the pushing down of the WIM and installing the configmgr client is the drivers that is where I started to look. I started over with the basics (disk and network driver) and it was able to complete the OSD process
(like the other 30+ models we currently support). I added drivers one by one having the system re-image each time. When I got to the Synaptics TouchPad drivers the issue would return. I've tried around 5 different drivers offered from the vendor and they
all result in the same behavior.
I'm still actively troubleshooting how to FIX this issue, but I have no idea why this is going on. I thought I would share with the community on this issue and see if anyone else has observed this VERY odd behavior.
Here is a snippet from the client.msi_uninstall log:
=== Verbose logging started: 1/15/2014 22:59:34 Build type: SHIP UNICODE 5.00.7601.00 Calling process: D:\_SMSTaskSequence\OSD\GAS000EF\ccmsetup.exe ===
MSI (c) (6C:BC) [22:59:34:264]: Resetting cached policy values
MSI (c) (6C:BC) [22:59:34:264]: Machine policy value 'Debug' is 0
MSI (c) (6C:BC) [22:59:34:264]: ******* RunEngine:
******* Product: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
******* Action:
******* CommandLine: **********
MSI (c) (6C:BC) [22:59:34:264]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (6C:BC) [22:59:34:264]: Grabbed execution mutex.
MSI (c) (6C:BC) [22:59:34:264]: Cloaking enabled.
MSI (c) (6C:BC) [22:59:34:264]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (6C:BC) [22:59:34:264]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (00:80) [22:59:34:264]: Running installation inside multi-package transaction {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
MSI (s) (00:80) [22:59:34:264]: Grabbed execution mutex.
MSI (s) (00:D4) [22:59:34:264]: Resetting cached policy values
MSI (s) (00:D4) [22:59:34:264]: Machine policy value 'Debug' is 0
MSI (s) (00:D4) [22:59:34:264]: ******* RunEngine:
******* Product: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
******* Action:
******* CommandLine: **********
MSI (s) (00:D4) [22:59:34:264]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (00:D4) [22:59:34:405]: SRSetRestorePoint skipped for this transaction.
MSI (s) (00:D4) [22:59:34:405]: End dialog not enabled
MSI (s) (00:D4) [22:59:34:405]: Original package ==> C:\Windows\Installer\b8ba.msi
MSI (s) (00:D4) [22:59:34:405]: Package we're running from ==> C:\Windows\Installer\b8ba.msi
MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: Uninstall Flags override found.
MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: Uninstall VersionNT override found.
MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: Uninstall ServicePackLevel override found.
MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: looking for appcompat database entry with ProductCode '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}'.
MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (00:D4) [22:59:34:420]: MSCOREE not loaded loading copy from system32
MSI (s) (00:D4) [22:59:34:420]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (s) (00:D4) [22:59:34:420]: Couldn't find local patch ''. Looking for it at its source.
MSI (s) (00:D4) [22:59:34:420]: Resolving Patch source.
MSI (s) (00:D4) [22:59:34:420]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (00:D4) [22:59:34:420]: User policy value 'DisableMedia' is 0
MSI (s) (00:D4) [22:59:34:420]: Machine policy value 'AllowLockdownMedia' is 0
MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Media enabled only if package is safe.
MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Looking for sourcelist for product {D478B8EE-EE0A-4004-980B-4D55533EE3C2}
MSI (s) (00:D4) [22:59:34:420]: Note: 1: 1706 2: {D478B8EE-EE0A-4004-980B-4D55533EE3C2} 3:
MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Failed to resolve source
MSI (s) (00:D4) [22:59:34:420]: Searching provided command line patches for patch code {D478B8EE-EE0A-4004-980B-4D55533EE3C2}
MSI (s) (00:D4) [22:59:34:420]: Could not find source for missing patch {D478B8EE-EE0A-4004-980B-4D55533EE3C2} -- orphaning this patch
MSI (s) (00:D4) [22:59:34:420]: Couldn't find local patch ''. Looking for it at its source.
MSI (s) (00:D4) [22:59:34:420]: Resolving Patch source.
MSI (s) (00:D4) [22:59:34:420]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Media enabled only if package is safe.
MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Looking for sourcelist for product {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE}
MSI (s) (00:D4) [22:59:34:420]: Note: 1: 1706 2: {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE} 3:
MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Failed to resolve source
MSI (s) (00:D4) [22:59:34:420]: Searching provided command line patches for patch code {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE}
MSI (s) (00:D4) [22:59:34:420]: Could not find source for missing patch {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE} -- orphaning this patch
MSI (s) (00:D4) [22:59:34:420]: SequencePatches starts. Product code: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}, Product version: 4.00.6487.2000, Upgrade code: {252DA259-82CA-4177-B8D0-49C78937BA3E}, Product language 1033
MSI (s) (00:D4) [22:59:34:420]: SequencePatches returns success.
MSI (s) (00:D4) [22:59:34:420]: Final Patch Application Order:
MSI (s) (00:D4) [22:59:34:420]: Other Patches:
MSI (s) (00:D4) [22:59:34:420]: Internal Exception during install operation: 0xc0000005 at 0x000007FEFDBF35E1.
MSI (s) (00:D4) [22:59:34:420]: WER report disabled for silent install.
MSI (s) (00:D4) [22:59:34:420]: Internal MSI error. Installer terminated prematurely.
MSI (s) (00:D4) [22:59:34:420]: MainEngineThread is returning 1603
MSI (s) (00:80) [22:59:34:420]: No System Restore sequence number for this installation.
Unexpected Termination
MSI (s) (00:80) [22:59:34:420]: User policy value 'DisableRollback' is 0
MSI (s) (00:80) [22:59:34:420]: Machine policy value 'DisableRollback' is 0
MSI (s) (00:80) [22:59:34:420]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (00:80) [22:59:34:420]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (00:80) [22:59:34:420]: Restoring environment variables
MSI (c) (6C:BC) [22:59:34:420]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (6C:BC) [22:59:34:420]: MainEngineThread is returning 1603
=== Verbose logging stopped: 1/15/2014 22:59:34 ===@Narcoticoo
I've not used the tool. This issue has also expanded since the original title as I'm getting the same behavior with the driver package that does not include the Touchpad driver anymore. I'm currently going back to just the network and storage driver to see
if it works or not.
However, this is the bigger issue I have:
I have an older build called Build 5.7 internally. Using that WIM and the same driver package (original one that has the Touchpad driver included) it works without issue. Never had a problem.
The new build is called Build 6.0 internally. This WIM and the same driver package has not been working at all.
We support about 35 models with our current Windows 7 x64 image and I am having the same failure issue on four different HP models. They are the 8770w, ZBook 17, Z600 and Z820. The majority of the other systems are Dell devices. Just for transparency sakes,
nothing Dell specific is in the core WIM that is captured.
So, Build 5.7 can deploy just fine on all pieces of hardware with their old driver packages. The new Build 6.0 intalls on almost every platform fine with their old driver packages. These four HP systems are nothing but trouble though. I've opened a case
with HP to see if they have noticed anything internally. I'm not too hopeful, but at least it is something. Maybe there is some odd conflict with a newer Windows patch or some odd dependency on older HP drivers. The new image has .NET 4.5.1, IE 10 and so forth. -
Windows Update Client failed to detect with error 0xc8000247 after using Lenovo System Update 5
My Windows 7, SP1 was running fine, until I installed few updates on 10/15 using Lenovo System Update 5 then Windows Update stopped working, shows as RED:
{CE3119AD-35EF-41CF-9C21-C7698FEB8393} 2013-10-14 21:53:00:256-0700 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 4 updates.
{EB17A01A-EB6E-49FF-9EA2-AA0DD063B4B1} 2013-10-15 04:15:54:069-0700 1 162 101 {C61A0D00-3E51-48AC-B0AF-1D3E02B9E5D3} 201 0 AutomaticUpdates Success Content Download Download succeeded.
{77DAE88F-2795-4258-8BBF-8D27E53662CF} 2013-10-15 12:10:38:196-0700 1 193 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Content Install Restart Required: To complete the installation of the following updates, the computer must be restarted. Until this computer has been restarted, Windows cannot search for or download new updates: - Security Update for Windows 7 for x64-based Systems (KB2862330)
{1398F777-3AEF-4D1D-BE4C-407EC4AEAD4C} 2013-10-15 12:15:25:676-0700 1 183 101 {C61A0D00-3E51-48AC-B0AF-1D3E02B9E5D3} 201 0 AutomaticUpdates Success Content Install Installation Successful: Windows successfully installed the following update: Security Update for Windows 7 for x64-based Systems (KB2862330)
{A220898A-E5FE-4FE7-8413-2B0C7B4013D0} 2013-10-15 12:15:25:766-0700 1 202 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Content Install Reboot completed.
{A5400FF2-33ED-4A47-8409-13E5DFE16A6D} 2013-10-15 19:29:31:486-0700 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 ChkWuDrv Success Software Synchronization Windows Update Client successfully detected 0 updates.
{43C533EE-775D-445E-A652-06648B72DE65} 2013-10-15 19:29:49:702-0700 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 ChkWuDrv Success Software Synchronization Windows Update Client successfully detected 0 updates.
{D6AAAFFB-7F18-4A7E-B39D-1BA09CDC5E6D} 2013-10-15 19:30:05:744-0700 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 3 updates.
{4E73B1C1-5BA2-415D-AB34-92F7AB3DB418} 2013-10-15 19:30:08:753-0700 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 ChkWuDrv Success Software Synchronization Windows Update Client successfully detected 0 updates.
{51248882-41AC-4E59-B813-87AD326310AD} 2013-10-15 20:00:05:044-0700 1 183 101 {DBD3B4E9-0357-47DA-8317-D0CF2163BFE6} 501 0 wusa Success Content Install Installation Successful: Windows successfully installed the following update: Hotfix for Windows (KB2661796)
{FB2B8E5E-442C-4E76-B23D-6A41B4324C9D} 2013-10-16 00:11:39:832-0700 1 148 101 {00000000-0000-0000-0000-000000000000} 0 c8000247 AutomaticUpdates Failure Software Synchronization Windows Update Client failed to detect with error 0xc8000247.
Lenovo Thinkpad W500, Intel (R), Windows 7, SP1, latest updates as of Oct 15
(1) Checked Setting, set to automatic update whenever, even changed to never update, rebooted the OS and changed back to automatic update and rebooted the OS.
(2) Stopped Windows Update Services, renamed SoftwareDistribution folder and started the window update services and rebooted.
(3) Ran MS FIXIT
(4) Ran System File checker Scan (sfc /scannow)
(5) Ran CHKDSK /F
(6) Installed "Intel Rapid Storage Technology" drivers from Lenovo site
(7) Ran Update for Windows 7 for x64-based Systems (KB971033)
None of the above possible recommended solutions were able to fix the issue yet and now I am getting a message your Window is Not Genuine!
Any help or guidance is appreciated.
Solved!
Go to Solution.The Lenovo System Update installed the "Intel Matrix Storage Manager driver 8.9.2.1002" right before the Windows Upgrade got broken. So in the Device Manager under IDE ATA/ATAPI Controllers, I choose Intel ICH9M-E/M SATA AHCI Controller, on the Driver Tab, I choose the option "Roll Back Driver" and after rolling back the driver and restarting the OS, now Windows Update is working like a Champ!
The End! -
The SMB client failed to resume a handle on a file share with continuous availability
Hi.
We have a 2-node WS2012 cluster that has a file server role with couple shares configured.
We're however constantly getting spammed by the following errors in the eventlog:
1) event 1002, source: SmbServer, message: "RKF failure - SRV2 failed to get acknowledgement from Resume Key filter for persistent handle request."
2) SCOM has an alert opened with this description: "SMB client failed to resume Continuously Available (CA) handle as Resume Key Filter is not acknowledging the handle." Per the alert knowledge, we've inspected ResumeKeyFilter eventlog, but it
contains only informational message and warnings and none of those are from the time the alert was created.Hi,<o:p></o:p>
Please try applying the following hotfixes.<o:p></o:p>
Update that improves cloud service provider resiliency in Windows Server 2012<o:p></o:p>
http://support.microsoft.com/kb/2870270
<o:p></o:p>
Physical Disk resource move during the backup of a Cluster Shared Volume (CSV) may cause resource outage<o:p></o:p>
http://support.microsoft.com/kb/2869923
<o:p></o:p>
Can't access a resource that is hosted on a Windows 8 or Windows Server 2012-based failover cluster<o:p></o:p>
http://support.microsoft.com/kb/2838043
<o:p></o:p>
Best regards,
Vincent Wu
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Jax-ws deployed in standalone client fails with nullpointerexception
I have a project which has deployed successfully as a standalone client with deployed jar files wlfullclient.jar, etc. When I add the jax-ws functions that I require, the deployed client fails with a nullpointerexception that is generated from the constructor of the Service class. The project runs successfully within the JDeveloper 11.1.1.5 environment and on a weblogic 10.3 server platform, but fails when I deploy as a standalone client with the wlfullclient.jar. I'm using JDK 1.6.0_24. In testing, the error occurs when I replace the {WLHome}\server\lib\weblogic.jar entry in the classpath with the wlfullclient.jar.
I tested from another angle by creating my jax-ws functions in a standalone deployment, and it works successfully communicates with the webservices. No additional entries on the classpath besides my deployed jar. I then added to my deployment a simple JMS context lookup:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY, contextFactoryProvider);
ht.put(Context.PROVIDER_URL, urlString);
Context context = new InitialContext(ht);
This test runs without error in the JDeveloper environment. As soon as I add the wlfullclient.jar in the standalone environment, I get the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/ws/spi/ProviderImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at javax.xml.ws.spi.FactoryFinder.safeLoadClass(FactoryFinder.java:150)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:30)
at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:90)
at javax.xml.ws.spi.Provider.provider(Provider.java:83)
at javax.xml.ws.Service.<init>(Service.java:56)
Interestingly, there is a class com/sun/xml/internal/ws.spi/ProviderImpl in the {JAVA_HOME}/jre/lib/rt.jar file, and I suppose this is what is used by the jax-ws classes when the wlfullclient.jar is not present on the classpath.
So, what is it that I am missing in how to get the jax-ws classes and the jms classes to work in the standalone deployment environment (outside of the JDeveloper environment).
Edited by: user3653687 on Jan 9, 2012 1:38 PM
Edited by: user3653687 on Jan 9, 2012 2:49 PMHere is how I solved this problem to execute the application from a jar file (using Oracle Fusion Middleware 11.1.1.5.0 distribution). The key seems to be to extract the contents of the wseeclient.zip file into the same directory as the wlfullclient.jar and ws.api_1.1.0.0.jar files and then ensure that these 2 jars are on the classpath.
In JDeveloper, create a project that has the jms/jax-ws classes.
Put the following text entries to form the classpath (along with other dependent jars, e.g. org.eclipse.persistence...) into a file which will be included in the manifest for the client jar. Be sure to separate entries with a space.
lib/wlfullclient.jar lib/wseeclient.jar lib\ws.api_1.1.0.0.jar lib\org.eclipse.persistence_1.1.0.0_2-1.jar
In the Edit Deployment Profile Properties, select Include Manifest File, specify the main class to execute, and Add the classpath file to be included in the manifest.
Deploy the jar file.
In a deployment area, create the directory that will contain all the classpath jars (e.g. ./lib).
Within the directory ./lib, extract all files from wseeclient.zip (found in {weblogic home}/server/lib)
Copy wlfullclient.jar into the directory ./lib from the {weblogic home}/server/lib
Copy ws.api_1.1.0.0.jar into the directory ./lib from {oracle middleware home}modules
Copy org.eclipse.persistence_1.1.0.0_2-1.jar (for jaxb support) itno the directory ./lib from {oracle middleware home}/modules
Copy the deployed client jar to the deployment area and execute, e.g.:
java -jar ClientTest.jar myArguments -
How to make NetBoot images appear in the option boot screen?
So I have a NetBoot server. Yay! Everything works great, but I want certain images to appear when you option boot the machine. Is this possible?
Hi C.Slagel, As far as I'm aware the only way to do this is with multiple netboot servers. You can get the netboot server icon up from option booting by pressing the n key at the boot manager screen.
Hope this helps.
Cheers -
Archive log missing on standby: FAL[client]: Failed to request gap sequence
My current environment is Oracle 10.2.0.4 with ASM 10.2.0.4 on a 2 node RAC in production and a standby that is the same setup. I'm also running on Oracle Linux 5. Almost daily now an archivelog doesnt make it to the standby and oracle doesnt seem to resolve the gap sequence from the primary. If I stop and restart recovery it gets the logfile and continues recovery just fine. I have checked my fal_client and fal_server settings and they look good. The logs after this error do continue to get written to the standby but the standby wont continue recovery until I stop and restart recovery and it fetches this missing log.
The only thing I know thats happening is that the firewall people are disconnecting any connections that are inactive for 60 minutes and recently did an upgrade that they are claiming didnt change anything:) I dont know if this is causing this problem or not. Any thoughts on what might be happening?
Error in standby alert.log:
Tue Jun 29 23:15:35 2010
RFS[258]: Possible network disconnect with primary database
Tue Jun 29 23:15:36 2010
Fetching gap sequence in thread 2, gap sequence 9206-9206
Tue Jun 29 23:16:46 2010
FAL[client]: Failed to request gap sequence
GAP - thread 2 sequence 9206-9206
DBID 661398854 branch 714087609
FAL[client]: All defined FAL servers have been attempted.
Error on primary alert.log:
Tue Jun 29 23:00:07 2010
ARC0: Creating remote archive destination LOG_ARCHIVE_DEST_2: 'WSSPRDB' (thread 1 sequence 9265)
(WSSPRD1)
ARC0: Transmitting activation ID 0x29c37469
Tue Jun 29 23:00:07 2010
Errors in file /u01/app/oracle/admin/WSSPRD/bdump/wssprd1_arc0_14024.trc:
ORA-03135: connection lost contact
FAL[server, ARC0]: FAL archive failed, see trace file.
Tue Jun 29 23:00:07 2010
Errors in file /u01/app/oracle/admin/WSSPRD/bdump/wssprd1_arc0_14024.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Tue Jun 29 23:00:07 2010
ORACLE Instance WSSPRD1 - Archival Error. Archiver continuing.
Tue Jun 29 23:00:41 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
Tue Jun 29 23:00:41 2010
FAL[server, ARC2]: Begin FAL archive (dbid 0 branch 714087609 thread 2 sequence 9206 dest WSSPRDB)
FAL[server, ARC2]: FAL archive failed, see trace file.
Tue Jun 29 23:00:43 2010
Errors in file /u01/app/oracle/admin/WSSPRD/bdump/wssprd1_arc2_14028.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Tue Jun 29 23:00:43 2010
ORACLE Instance WSSPRD1 - Archival Error. Archiver continuing.
Tue Jun 29 23:01:16 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
Tue Jun 29 23:15:01 2010
Thread 1 advanced to log sequence 9267 (LGWR switch)
I have checked the trace files that get spit out but they arent anything meaningful to me as to whats really happening. Snipit of the trace file:
tkcrrwkx: Starting to process work request
tkcrfgli: SRL header: 0
tkcrfgli: SRL tail: 0
tkcrfgli: ORL to arch: 4
tkcrfgli: le# seq thr for bck tba flags
tkcrfgli: 1 359 1 2 0 3 0x0008 ORL active cur
tkcrfgli: 2 358 1 0 1 1 0x0000 ORL active
tkcrfgli: 3 361 2 4 0 0 0x0008 ORL active cur
tkcrfgli: 4 360 2 0 3 2 0x0000 ORL active
tkcrfgli: 5 -- entry deleted --
tkcrfgli: 6 -- entry deleted --
tkcrfgli: 7 -- entry deleted --
tkcrfgli: 8 -- entry deleted --
tkcrfgli: 9 -- entry deleted --
tkcrfgli: 191 -- entry deleted --
tkcrfgli: 192 -- entry deleted --
*** 2010-03-27 01:30:32.603 20998 kcrr.c
tkcrrwkx: Request from LGWR to perform: <startup>
tkcrrcrlc: Starting CRL ARCH check
*** 2010-03-27 01:30:32.603 66085 kcrr.c
Beginning controlfile transaction 0x0x7fffd0b53198 [kcrr.c:20395 (14011)]
*** 2010-03-27 01:30:32.645 66173 kcrr.c
Acquired controlfile transaction 0x0x7fffd0b53198 [kcrr.c:20395 (14024)]
*** 2010-03-27 01:30:32.649 66394 kcrr.c
Ending controlfile transaction 0x0x7fffd0b53198 [kcrr.c:20397]
tkcrrasgn: Checking for 'no FAL', 'no SRL', and 'HB' ARCH process
# HB NoF NoS CRL Name
29 NO NO NO NO ARC0
28 NO YES YES NO ARC1
27 NO NO NO NO ARC2
26 NO NO NO NO ARC3
25 YES NO NO NO ARC4
24 NO NO NO NO ARC5
23 NO NO NO NO ARC6
22 NO NO NO NO ARC7
21 NO NO NO NO ARC8
20 NO NO NO NO ARC9
Thanks.
KristiIt's the network that's messing up; unlikely due to firewall timeout as it waits for 60 minutes and you are switching every 15 minutes. There may be some other network glitch that needs rectified.
In any case - arch file missing/ corrupt / halfway through - FAL setting should have refetched the problematic archive log automatically.
As many had suggested already, the best way to resolve RFS issues I believe is to use real-time apply by configuring standby redo logs. It's very easy to configure it and you can opt for real-time apply even in max-performance mode that you are using right now.
Even though you are maintaining (I guess) 1-1 between primary & standby instances, you can provide both primary instances in fal_server (like fal_server=string1,string2). See if that helps.
lastly, check if you are having simiar issue at other times as well that might be getting rectified automatically as expected.
col message for a80
col time for a20
select message, to_char(timestamp,'dd-mon-rr hh24:mi:ss') time
from v$dataguard_status
where severity in ('Error','Fatal')
order by timestamp;
Cheers. -
Wireless Clients failing to authenticate via the RADIUS
Hi friends
I am trying to use Radius server (NPS) to authenticate my wireless users using 1941W router.
For some reason it cannot authenticate successfully. I checked the radius server is reachable but still I dont see any luck.
the config is like this:
***************Config snap shot*********************
aaa new-model
aaa group server radius group1
server 10.32.0.154 auth-port 1812 acct-port 1813
aaa authentication login EAP group group1
aaa session-id common
dot11 syslog
dot11 ssid CORP
vlan 320
authentication open eap EAP
mbssid guest-mode
interface Loopback1
ip address 10.51.240.1 255.255.255.255
no ip route-cache
interface Dot11Radio0
no ip address
no ip route-cache
encryption vlan 320 mode ciphers aes-ccm
ssid CORP
antenna gain 0
mbssid
station-role root
interface Dot11Radio0.1
encapsulation dot1Q 320 native
no ip route-cache
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface GigabitEthernet0
description the embedded AP GigabitEthernet 0 is an internal interface connecting AP with the host router
no ip address
no ip route-cache
interface GigabitEthernet0.1
encapsulation dot1Q 320 native
no ip route-cache
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface BVI1
ip address 10.51.246.2 255.255.255.0
no ip route-cache
ip default-gateway 10.51.246.1
ip radius source-interface Loopback1
radius-server host 10.32.0.154 auth-port 1812 acct-port 1646 key V3rv3@mc0m
bridge 1 route ip
*********************End of config snap shot*********************
When i run the debug i see the following messages which I am still trying to understand thought it would be worthwhile mentioning here:
*******************Debug**********************
AP1#
*Mar 1 01:04:41.951: AAA/BIND(0000001E): Bind i/f
*Mar 1 01:04:41.951: dot11_auth_add_client_entry: Create new client 2477.037e.22d4 for application 0x1
*Mar 1 01:04:41.951: dot11_auth_initialize_client: 2477.037e.22d4 is added to the client list for application 0x1
*Mar 1 01:04:41.951: dot11_auth_add_client_entry: req->auth_type 0
*Mar 1 01:04:41.951: dot11_auth_add_client_entry: auth_methods_inprocess: 2
*Mar 1 01:04:41.951: dot11_auth_add_client_entry: eap list name: EAP
*Mar 1 01:04:41.951: dot11_run_auth_methods: Start auth method EAP or LEAP
*Mar 1 01:04:41.951: dot11_auth_dot1x_start: in the dot11_auth_dot1x_start
*Mar 1 01:04:41.951: dot11_auth_dot1x_send_id_req_to_client: Sending identity request to 2477.037e.22d4
*Mar 1 01:04:41.951: EAPOL pak dump tx
*Mar 1 01:04:41.951: EAPOL Version: 0x1 type: 0x0 length: 0x002F
*Mar 1 01:04:41.951: EAP code: 0x1 id: 0x1 length: 0x002F type: 0x1
030017B0: 0100002F 0101002F 01006E65 74776F72 .../.../..networ
030017C0: 6B69643D 56434F52 502C6E61 7369643D kid=VCORP,nasid=
030017D0: 4B414C2D 30322D41 50312C70 6F727469 KAL-02-AP1,porti
030017E0: 643D30 d=0
*Mar 1 01:04:41.955: dot11_auth_send_msg: sending data to requestor status 1
*Mar 1 01:04:41.955: dot11_auth_send_msg: Sending EAPOL to requestor
*Mar 1 01:04:41.955: dot11_auth_dot1x_send_id_req_to_client: Client 2477.037e.22d4 timer started for 30 seconds
*Mar 1 01:04:41.955: dot11_auth_parse_client_pak: Received EAPOL packet from 2477.037e.22d4
*Mar 1 01:04:41.955: EAPOL pak dump rx
*Mar 1 01:04:41.955: EAPOL Version: 0x1 type: 0x1 length: 0x0000
033E86E0: 01010000 ....
*Mar 1 01:04:41.955: dot11_auth_dot1x_run_rfsm: Executing Action(CLIENT_WAIT,EAP_START) for 2477.037e.22d4
*Mar 1 01:04:41.955: dot11_auth_dot1x_send_id_req_to_client: Sending identity request to 2477.037e.22d4
*Mar 1 01:04:41.959: EAPOL pak dump tx
*Mar 1 01:04:41.959: EAPOL Version: 0x1 type: 0x0 length: 0x002F
*Mar 1 01:04:41.959: EAP code: 0x1 id: 0x2 length: 0x002F type: 0x1
03001A20: 0100002F 0102002F 01006E65 74776F72 .../.../..networ
03001A30: 6B69643D 56434F52 502C6E61 7369643D kid=VCORP,nasid=
03001A40: 4B414C2D 30322D41 50312C70 6F727469 KAL-02-AP1,porti
03001A50: 643D30 d=0
*Mar 1 01:04:41.959: dot11_auth_send_msg: sending data to requestor status 1
*Mar 1 01:04:41.959: dot11_auth_send_msg: Sending EAPOL to requestor
*Mar 1 01:04:41.959: dot11_auth_dot1x_send_id_req_to_client: Client 2477.037e.22d4 timer started for 30 seconds
*Mar 1 01:04:41.963: dot11_auth_parse_client_pak: Received EAPOL packet from 2477.037e.22d4
*Mar 1 01:04:41.963: EAPOL pak dump rx
*Mar 1 01:04:41.963: EAPOL Version: 0x1 type: 0x0 length: 0x0012
*Mar 1 01:04:41.963: EAP code: 0x2 id: 0x1 length: 0x0012 type: 0x1
033603C0: 01000012 ....
033603D0: 02010012 01564552 56455C47 30373532 .....VERVE\G0752
033603E0: 3736 76
*Mar 1 01:04:41.963: dot11_auth_parse_client_pak: id is not matching req-id:1resp-id:2, waiting for response
*Mar 1 01:04:41.963: dot11_auth_parse_client_pak: Received EAPOL packet from 2477.037e.22d4
*Mar 1 01:04:41.963: EAPOL pak dump rx
*Mar 1 01:04:41.963: EAPOL Version: 0x1 type: 0x0 length: 0x0012
*Mar 1 01:04:41.963: EAP code: 0x2 id: 0x2 length: 0x0012 type: 0x1
033AEE90: 01000012 02020012 ........
033AEEA0: 01564552 56455C47 30373532 3736 .VERVE\G075276
*Mar 1 01:04:41.963: dot11_auth_dot1x_run_rfsm: Executing Action(CLIENT_WAIT,CLIENT_REPLY) for 2477.037e.22d4
*Mar 1 01:04:41.963: dot11_auth_dot1x_send_response_to_server: Sending client 2477.037e.22d4 data to server
*Mar 1 01:04:41.963: AAA/AUTHEN/PPP (0000001E): Pick method list 'EAP'
*Mar 1 01:04:41.963: dot11_auth_dot1x_send_response_to_server: Started timer server_timeout 60 seconds
*Mar 1 01:04:41.963: %AAA-3-BADSERVERTYPEERROR: Cannot process authentication server type *invalid_group_handle*
*Mar 1 01:04:41.963: dot11_auth_dot1x_parse_aaa_resp: Received server response: FAIL
*Mar 1 01:04:41.963: dot11_auth_dot1x_parse_aaa_resp: found eap pak in server response
*Mar 1 01:04:41.963: Client 2477.037e.22d4 failed: EAP reason 2
*Mar 1 01:04:41.963: dot11_auth_dot1x_parse_aaa_resp: Failed client 2477.037e.22d4 with aaa_req_status_detail 2
*Mar 1 01:04:41.963: dot11_auth_dot1x_run_rfsm: Executing Action(SERVER_WAIT,SERVER_FAIL) for 2477.037e.22d4
*Mar 1 01:04:41.963: dot11_auth_dot1x_send_response_to_client: Forwarding server message to client 2477.037e.22d4
*Mar 1 01:04:41.963: EAPOL pak dump tx
*Mar 1 01:04:41.963: EAPOL Version: 0x1 type: 0x0 length: 0x0004
*Mar 1 01:04:41.963: EAP code: 0x4 id: 0x2 length: 0x0004
03001DC0: 01000004 04020004 ........
03001DD0:
*Mar 1 01:04:41.963: dot11_auth_send_msg: sending data to requestor status 1
*Mar 1 01:04:41.967: dot11_auth_send_msg: Sending EAPOL to requestor
*Mar 1 01:04:41.967: dot11_auth_dot1x_send_response_to_client: Started timer client_timeout 30 seconds
*Mar 1 01:04:41.967: dot11_auth_dot1x_send_client_fail: Authentication failed for 2477.037e.22d4
*Mar 1 01:04:41.967: dot11_auth_send_msg: sending data to requestor status 0
*Mar 1 01:04:41.967: dot11_auth_send_msg: client FAILED to authenticate 2477.037e.22d4, node_type 64 for application 0x1
*Mar 1 01:04:41.967: dot11_auth_delete_client_entry: 2477.037e.22d4 is deleted for application 0x1
*Mar 1 01:04:41.967: %DOT11-7-AUTH_FAILED: Station 2477.037e.22d4 Authentication failed
*Mar 1 01:04:41.967: dot11_auth_client_abort: Received abort request for client 2477.037e.22d4
*Mar 1 01:04:41.967: dot11_auth_client_abort: No client entry to abort: 2477.037e.22d4 for application 0x1
Any Idea where the problem could be?
Regards,
MohitJust to add here, i ran another command on the AP/Router which indicates to me that there was no response from the Radius server.
KAL-02-AP1#sh radius statistics
Auth. Acct. Both
Maximum inQ length: NA NA 1
Maximum waitQ length: NA NA 2
Maximum doneQ length: NA NA 1
Total responses seen: 0 0 0
Packets with responses: 0 0 0
Packets without responses: 12 0 12
Access Rejects : 0
Average response delay(ms): 0 0 0
Maximum response delay(ms): 0 0 0
Number of Radius timeouts: 48 0 48
Duplicate ID detects: 0 0 0
Buffer Allocation Failures: 0 0 0
Maximum Buffer Size (bytes): 186 0 186
Source Port Range: (2 ports only)
1645 - 1646
Last used Source Port/Identifier:
1645/12
1646/0
Elapsed time since counters last cleared: 1h52m -
Toshiba revcovery media fails failed to open e\boot\bcd
i am running the toshiba create recovey media on my satllite pro c660-21d as my first job
it askes for 2 dvd disks
using brand new disks it failed with
failed to open e\boot\bcd
020123-f1-00000000
i am trying another disk but if that fails what next?
Update
The replacement disk was created without error so must have been a media failure
but hope this helps someone else
Message was edited by: kenny825507Thanks for the feedback. :)
-
Hello,
Does LabView support a thin client or dumb terminal (diskless workstation) type of deployment? I have a need to run LabView on some sort of dumb terminal / diskless workstation. If someone has deployed LabView in this matter, please provide me all the details on how this was accomplished (software, hardware, etc.)
ThanksSorry, can't call you.
My first suggestion has nothing to do with LV. It is simply connecting as a remote client to the windows server and controlling the windows session on the server.
My second suggestion involved writing a program which will contact the PLCs directly using Modbus and get the data from them. As mentioned, you can find some Modbus client implementations for LV by searching the web (or, if you have LV 8 and the DSC module, I think it should come built in).
My third was writing 2 programs - one would run on the server and one on the client\s. The server program would be responsible for sending the data to the client and the client would be responsible for interacting with the user and sending the appropriate messages to the server. I already gave you pointers on what to search for (the example finder can be found by going to Help>>Find Examples and the site can be searched from the box at the top of the page, but make sure you don't search just the forums).
In both cases, you would need to design the program and the interface for the user.
Wi-Fi also has nothing to do with LV and is simply a way to form a wireless network. Any mobile device would almost definitely have support for it and buying an access point to form the wireless network is easy and cheap.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world!
Maybe you are looking for
-
Getting more information on a slide
I have a couple of slides where there is quite a lot of information I want to pass over, either in the slide iteself or in a sidelet. So can I create something that has a scroll bar or find some way to present 2 - 3 pages of text on one slide! I thou
-
Remote debugging through NAT - VS2013, C#
I need help figuring out how to initiate a remote debugging session when the target computer is across the internet and behind NAT. VS2013 and a C# application, .net 4.5 Remote debugging works great here on my LAN, but now I need to connect to a remo
-
After HTML and CSS, what to learn next..?
My knowledge of css and html are ok and I understand that with time can only get better. I'd like to take the next step and start looking at another language. Which one..? Is it javascript or php..? Is one more beneficial that the other...? Any advic
-
Music folder Erased after delete any song.
I use a MacBook Pro with Mac OS Snow Leopard 10.6.8, I always used a External HD to hold my iTunes files. But now, I dont know if this is because of iTunes 11, I use the organized files option checked and the iTunes organized it in artist names subfo
-
hi, Java Certification for Programmers and Developers, by Barry Boone is availble for JDK 1.4 also in india??? plz let me know. thanks