Hi all,
My first post. Hope it's in the correct section and that I haven't overlooked anything to find out it's been posted and answered before.
I'm trying to run the Talend Administration Center as a service. I've installed it on Windows 2012 R2 and it runs fine when I start it with the start_tac.bat file. When I install it as a service via "service install" I get the following error messages in the apache log files:
SLF4J: org.springframework.transaction.support.TransactionSynchronizationUtils
22 syncopePersistenceUnit WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'syncopePersistenceUnit', root URL . The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
3828 syncopePersistenceUnit INFO openjpa.Runtime - Starting OpenJPA 2.2.2
Exception in thread "Thread-13"
and
sep 02, 2014 11:33:44 AM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/drools-guvnor,J2EEApplication=none,J2EEServer=none
sep 02, 2014 11:33:55 AM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory drools-guvnor
java.lang.OutOfMemoryError: PermGen space
I notice that when I start the TAC via the batch file the following environment variables are used:
E:\Talend\5.5.1\tac\apache-tomcat\bin>if exist "startup.bat" (
startup.bat
goto end
)
Using CATALINA_BASE: "E:\Talend\5.5.1\tac\apache-tomcat"
Using CATALINA_HOME: "E:\Talend\5.5.1\tac\apache-tomcat"
Using CATALINA_TMPDIR: "E:\Talend\5.5.1\tac\apache-tomcat\temp"
Using JRE_HOME: "C:\Java\jdk1.7.0_67\jre"
Using CLASSPATH: "E:\Talend\5.5.1\tac\apache-tomcat\bin\bootstrap.jar"
When I install it as a service the following are used:
E:\Talend\5.5.1\tac\apache-tomcat\bin>service install
Installing the service 'Tomcat6' ...
Using CATALINA_HOME: "E:\Talend\5.5.1\tac\apache-tomcat"
Using CATALINA_BASE: "E:\Talend\5.5.1\tac\apache-tomcat"
Using JAVA_HOME: "C:\Java\jdk1.7.0_67"
Using JVM: "C:\Java\jdk1.7.0_67\jre\bin\server\jvm.dll"
The service 'Tomcat6' has been installed.
I've set the CLASSPATH manually to bootstrap.jar in the environment variables as well but it's not being used when I try to install it as a service.
Any idea what might be the issue here?
Thanks and regards
Rob