- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swa dies with java exception
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2008 06:09 AM
05-30-2008 06:09 AM
thosan@wesley|pts/1:/home/thosan$ sudo /opt/swa/bin/swa report
======= 05/30/08 16:07:37 METDSTDST BEGIN T Report on Issues and New Software (user=thosan) (jobid=wesley)
* Gathering Inventory
* Using existing inventory for host "wesley"
* Getting Catalog of Recommended Actions and Software
* Command output:
- Exception in thread "main" java.lang.NoClassDefFoundError: COM/rsa/asn1/SunJSSE_bw
at COM.rsa.jsafe.SunJSSE_eu.a(DashoA12275)
at COM.rsa.jsafe.SunJSSE_dq.b(DashoA12275)
at COM.rsa.jsafe.SunJSSE_dq.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.JS_KeyFactory.engineGeneratePublic(DashoA12275)
at java.security.KeyFactory.generatePublic(KeyFactory.java:221)
at sun.security.x509.X509Key.buildX509Key(X509Key.java:204)
at sun.security.x509.X509Key.parse(X509Key.java:151)
at sun.security.x509.CertificateX509Key.
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:706)
at sun.security.x509.X509CertInfo.
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1679)
at sun.security.x509.X509CertImpl.
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:90)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:389)
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:742)
at java.security.KeyStore.load(KeyStore.java:652)
at com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLContextImpl.e(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at javax.net.ssl.SSLSocketFactory.getDefault(DashoA12275)
at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(DashoA12275)
at javax.net.ssl.HttpsURLConnection.
at sun.net.www.protocol.https.HttpsURLConnectionImpl.
at sun.net.www.protocol.https.Handler.openConnection(DashoA12275)
at java.net.URL.openConnection(URL.java:896)
at com.hp.swa.util.URLHelper.openInputStream(URLHelper.java:44)
at com.hp.swa.util.URLHelper.copyContentToFile(URLHelper.java:109)
at com.hp.swa.util.URLHelper.fetchFromURLList(URLHelper.java:210)
at com.hp.swa.command.Catalog.fetchCatalog(Catalog.java:203)
at com.hp.swa.command.Catalog.execute(Catalog.java:217)
at com.hp.swa.command.SSWA.executeSteps(SSWA.java:144)
at com.hp.swa.command.SSWA.execute(SSWA.java:161)
at com.hp.swa.command.ModuleHelper.execModule(ModuleHelper.java:103)
at com.hp.swa.command.SSWA.main(SSWA.java:169)
======= 05/30/08 16:07:39 METDSTDST END T Report on Issues and New Software succeeded. (user=thosan) (jobid=wesley)
NOTE: More information may be found in the Software Assistant logfile "/var/opt/swa/swa.log".
Thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2008 07:01 AM
05-30-2008 07:01 AM
Re: swa dies with java exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:42 PM
06-03-2008 02:42 PM
Re: swa dies with java exception
$ swa step catalog -x catalog_max_age=0 -x verbosity=D
Note that you should not need sudo for this operation. You might also check that you are running the newest version of SWA (available from https://www.hp.com/go/swa).
If you have run on another system without issues you can try an analysis of wesley from that box using the command:
$ swa report -s ssh://thosan@wesley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:47 PM
06-03-2008 02:47 PM
Re: swa dies with java exception
It is the latest version of swa. got it to work by intalling jre15_15012_ia.depot. As the machine had jre1.4 beforehand I just upgraded 1.4 with rte14_14217_ia.depot. But for some reason that did not work on these two machines.
I can undo jre15 and see if I can reproduce the problem if that will help you determine the rootcause so that other people do not encounter the same problem.
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 03:04 PM
06-03-2008 03:04 PM
Re: swa dies with java exception
All versions of Jre15 should work, but a "structural" dependency exists on at least 1.5.0.02.01.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 03:12 PM
06-03-2008 03:12 PM
Re: swa dies with java exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2008 03:31 PM
06-19-2008 03:31 PM
Re: swa dies with java exception
thosan@wesley|pts/1:/home/thosan$ sudo swremove Java15JRE
It was removed nicely but now I _can_ run swa without getting the error above. So I can't reproduce this anymore :-(
But it raises another question. Shouldn't swremove undo what swinstall did? or?
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2008 05:26 PM
06-22-2008 05:26 PM
SolutionBest guess is that your JRE installation was partial or corrupt. Removing it left a valid JRE 1.4 that SWA used instead.
Hope you travelled safely. I ran into a bad case of overdue garage cleaning...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2008 04:32 AM
06-23-2008 04:32 AM
Re: swa dies with java exception
My trip home was fine, thanks.
Thanks for the explanation with products and patches. You said that multiple times during the sessions, but I guess you have to "try" it yourself before one realizes that it actually works that way!
Thanks for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2008 04:54 AM
06-23-2008 04:54 AM