tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AndyG <andy.gumbre...@orprovision.com>
Subject Re: TempClassLoader issue
Date Wed, 27 Feb 2013 08:22:44 GMT
Running as a win service using daemon, so embedded. Here is the batch, less a
few irrelevant entries. Adding the last line prevents the stacktrace.

%proc% //IS//AServer ^
	--DisplayName="AServer" ^
	--Install=%proc% ^
	--Startup auto ^
	--StartPath=%openejb% ^
	--Description="Server Service" ^
	--Jvm=%jvm% ^
	--Classpath=%classpath% ^
	--StartMode=jvm ^
	--StartClass=org.apache.openejb.daemon.NTService --StartMethod=start ^
	--StopMode=jvm ^
	--StopClass=org.apache.openejb.daemon.NTService --StopMethod=stop ^
	--LogPrefix=service ^
	--LogPath="%logs%" ^
	--StdOutput="%logs%\service.out.log" ^
	--StdError="%logs%\service.err.log" ^
	--PidFile="%logs%\service.pid" ^
	--LogLevel=Debug ^
	--LibraryPath="%openejb%\bin" ^
	--JvmMs=512 ^
	--JvmMx=1024 ^
	--JvmSs=128 ^
	--LogJniMessages=1 ^
	++JvmOptions=-Dlogback.configurationFile="%openejb%\conf\logback.xml" ^
	++JvmOptions=-Djava.library.path="%openejb%\bin" ^
	++JvmOptions=-Dopenejb.home="%openejb%" ^
	++JvmOptions=-Dopenen.version.check.skip=true ^
	++JvmOptions=-Dopenejb.log.factory=slf4j ^
	++JvmOptions=-Dopenejb.deployments.classpath.filter.systemapps=true ^
	++JvmOptions=-Djna.nosys=true ^
	++JvmOptions=-XX:MaxPermSize=256m ^
	++JvmOptions=-XX:+UseConcMarkSweepGC ^
	++JvmOptions=-Dopenejb.validation.output.level=VERBOSE ^
	++JvmOptions=-Dopenejb.client.connection.pool.size=100 ^
	++JvmOptions=-Dopenejb.deployments.classpath.include= ^
	++JvmOptions=-Dopenejb.deployments.classpath.exclude=.* ^
	++JvmOptions=-Dopenejb.webservices.enabled=true ^
	++JvmOptions=-Djava.rmi.server.hostname="ASERVER" ^
	++JvmOptions=-Dcom.sun.management.jmxremote ^
	++JvmOptions=-Xdebug ^
	++JvmOptions=-Xshare:off ^

++JvmOptions=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9191
^
	++JvmOptions=-Djava.awt.headless=true ^
	++DependsOn=AnotherService

REM 	++JvmOptions=-Dopenejb.classloader.forced-skip=org.xml.sax ^



--
View this message in context: http://openejb.979440.n4.nabble.com/TempClassLoader-issue-tp4658019p4661039.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message