Posted on 11-14-2013 08:48 AM
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.
Posted on 11-14-2013 09:59 AM
Are you using the Java 7 JDK?
Posted on 11-14-2013 10:47 AM
Yes Java 7
Posted on 11-14-2013 10:47 AM
Yes Java 7
Posted on 11-14-2013 10:51 AM
https://jamfnation.jamfsoftware.com/discussion.html?id=8901
Posted on 11-14-2013 12:53 PM
that discussion says that casper 9 fixed the issue which it didn't.
Posted on 11-14-2013 12:53 PM
that discussion says that casper 9 fixed the issue which it didn't.
Posted on 11-14-2013 12:53 PM
that discussion says that casper 9 fixed the issue which it didn't.
Posted on 11-14-2013 12:59 PM
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.