Skip to main content
Question

Cannot get JSSDatabaseUtil to backup the database since upgrading to Casper 9

  • November 14, 2013
  • 8 replies
  • 0 views

Forum|alt.badge.img+7

Every since I updated to Casper 9 every time I try to open the JSSDatabaseUtil file I get the following error: "Warning: Using a password on the command line interface can be insecure.ERROR 2013 (HY000):Lost connection to the Mysql server at 'initial communications packet'

When I try to back up from the command line I get the following:JSS Database Utility 9.2
[Fatal Error] :1:1: Premature end of file.
Error: Error: Unable to load settings file.
org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) at com.jamfsoftware.jssdbutil.JSSDBUtilitySettings.<init>(Unknown Source) at com.jamfsoftware.jssdbutil.CLIViewController.<init>(Unknown Source) at com.jamfsoftware.jssdbutil.Main.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException at com.jamfsoftware.jssdbutil.JSSDBUtilitySettings.getScheduleSetting(Unknown Source) at com.jamfsoftware.jssdbutil.CLIViewController.getScheduleSetting(Unknown Source) at com.jamfsoftware.jssdbutil.JSSDBUtilityScheduler.loadCurrentSchedule(Unknown Source) at com.jamfsoftware.jssdbutil.JSSDBUtilityScheduler.<init>(Unknown Source) at com.jamfsoftware.jssdbutil.CLIViewController.<init>(Unknown Source) at com.jamfsoftware.jssdbutil.Main.main(Unknown Source)
netboot2:~ admin$

Current Version is 9.2 The interface will not let me view the database status either which I find troubling.

8 replies

Forum|alt.badge.img+9
  • Contributor
  • 125 replies
  • November 14, 2013

Are you using the Java 7 JDK?


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 17 replies
  • November 14, 2013

Yes Java 7


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 17 replies
  • November 14, 2013

Yes Java 7


Forum|alt.badge.img+9
  • Contributor
  • 125 replies
  • November 14, 2013

https://jamfnation.jamfsoftware.com/discussion.html?id=8901


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 17 replies
  • November 14, 2013

that discussion says that casper 9 fixed the issue which it didn't.


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 17 replies
  • November 14, 2013

that discussion says that casper 9 fixed the issue which it didn't.


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 17 replies
  • November 14, 2013

that discussion says that casper 9 fixed the issue which it didn't.


Forum|alt.badge.img+9
  • Contributor
  • 125 replies
  • November 14, 2013

It might be fixed in v9.21, but I had the same problem with Java 7 and JSS 9.0/9.01 when I was preparing our new JSS on Windows 2008 R2. You could try upgrading to 9.21 if that patch indeed fixed the problem, but you might run into other issues (e.g. the LDAP issues that have been mentioned in recent discussions) in the process. I would say that the best plan of action (for the time being) would be to downgrade to Java 6, unless of course you have other applications running on your server which rely on Java 7.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings