Java & Mojave Beta

Need help? Post your questions here.

Java & Mojave Beta

Unread postby LETRA » 10 Aug 2018, 20:32

Hi. Great chaos in the installation of Madsonic in Mojave Beta. Java causes many problems. A window warns that it has to be downloaded Java 6 to run Madsonic, but Madsonic requires Java 8. After installing and uninstalling java it no longer seems visible, although it is installed and with its control panel. I try Java 10 and the execution in debug throws the following result:

Code: Select all
$ /Applications/Madsonic.app/Contents/MacOS/universalJavaApplicationStub
ago. 10, 2018 9:10:47 P. M. org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh
INFORMACIÓN: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@cd2dae5: startup date [Fri Aug 10 21:10:47 CEST 2018]; root of context hierarchy
ago. 10, 2018 9:10:47 P. M. org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMACIÓN: Loading XML bean definitions from class path resource [applicationContext-mac.xml]
ago. 10, 2018 9:10:51 P. M. org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFORMACIÓN: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6a03bcb1: defining beans [deployer,frame,controller]; root of factory hierarchy
used forced Install_Dir = /Library/Application Support/Madsonic
ERROR: The directory /Library/Application Support/Madsonic does not exist. Please create it and make it writable. (You can override the directory location by specifying -Dmadsonic.home=... when starting the servlet container.)
Using WAR file: /Applications/Madsonic.app/Contents/Resources/Java/madsonic.war
Extracting webapp to /Library/Application Support/Madsonic/jetty/9040
Failed to create directory /Library/Application Support/Madsonic/jetty/9040
java.lang.IllegalArgumentException: Bad temp directory: /Library/Application Support/Madsonic/jetty/9040
   at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:1119)
   at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:220)
   at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:100)
   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1032)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:985)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
   at org.madsonic.booter.Main.<init>(Main.java:43)
   at org.madsonic.booter.Main.main(Main.java:82)


Madsonic control panel says:

Code: Select all
java.lang.IllegalArgumentException: Bad temp directory: /Library/Application Support/Madsonic/jetty/9040



The server doesn't starts. I do not know what else I can do.
LETRA
 
Posts: 1
Joined: 10 Aug 2018, 20:23
Has thanked: 0 time
Been thanked: 0 time

Return to Support 6.x

Who is online

Users browsing this forum: No registered users and 0 guests

cron