Hello everyone,
I'm quite new in glassfish and J2EE, however, I'm facing with a strange problem in the last few day... In particular when i try to stop the domain by the command asadmin stop-domain domain1 I get following warn message:
CLI306 Warning - The server located at /home/mario/liferay-portal-6.1.1-ce-ga2/glassfish-3.1.2/domains/domain1 is not running.
Command stop-domain executed successfully.
By checking the server.log file under domain1/logs folder I get the following exception:
[#|2014-05-05T08:59:57.845+0000|SEVERE|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=160;_ThreadName=Thread-2;|service exception
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:107)
at com.sun.enterprise.v3.common.XMLContentActionReporter.writeXML(XMLContentActionReporter.java:186)
at com.sun.enterprise.v3.common.XMLContentActionReporter.writeReport(XMLContentActionReporter.java:95)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:235)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org/apache/xalan/processor/TransformerFactoryImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at javax.xml.transform.FactoryFinder.getProviderClass(FactoryFinder.java:125)
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:182)
at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:250)
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:101)
... 21 more
|#]
Would Seem to be a missed library issue, googleing for this issue i found some resources that suggest to add xalan library, but I already have this library under the domain1/lib folder.
Furthermore, if I try to stop the domain from glassfish Web console manager (localhost:4848) the domain stops correctly without any issues.
Have you any suggestions?
Thanks in advance.
Hits.