Hello, Harald.
Can you explain why you want to change that setting? I might be
wrong, but I do not think the use of the com.sun.aas.configRoot
property is published, documented, or supported.
Do you have problems running an app client after using package-
appclient and then expanding the appclient.jar file?
Did you follow the steps to edit the expanded config/asenv.conf (or
asenv.bat) file in the GlassFish documentation? (for example, please
see
http://download.oracle.com/docs/cd/E18930_01/html/821-2433/package-appclient-1m.html
)
- Tim
On Oct 3, 2011, at 1:01 PM, forums_at_java.net wrote:
> I'am using the ACC.
>
> I have installed the ACC with the appclient-package to
> C:\Users\BraunHarald\tsClient
>
> If I start the appclient, I read all System-Properties. And there I
> can see,
> that the Property "com.sun.aas.configRoot" has the following value:
> "com.sun.aas.configRoot=C:\Users\BraunHarald\tsClient\appclient
> \glassfish\config"
>
> But this path does not exist! I think, the path should be:
> "com.sun.aas.configRoot=C:\Users\BraunHarald\tsClient\appclient
> \glassfish\domains\domain1\config".
>
> How can I change that?
>
> Here are all System-Properties:
>
> ****************** Beginn: System-Eigenschaften *********
> java.runtime.name=Java(TM) SE Runtime Environment
> sun.boot.library.path=C:\GLASSF~1\jdk\jre\bin
> java.vm.version=20.1-b02
> java.vm.vendor=Sun Microsystems Inc.
> java.vendor.url=http://java.sun.com/
> path.separator=;
> java.vm.name=Java HotSpot(TM) 64-Bit Server VM
> file.encoding.pkg=sun.io
> user.country=DE
> sun.java.launcher=SUN_STANDARD
> sun.os.patch.level=Service Pack 1
> 03.10.2011 19:53:31 lan.hbraun.util.LocLogger info
> INFO: Die Anwendung wurde auf das neue Lokal "de_DE" eingestellt!
> Die Anwendung wurde auf das neue Lokal "de_DE" eingestellt!
> 03.10.2011 19:53:31 lan.hbraun.util.LocLogger info
> INFO: Auf dem Rechner ist folgende JRE installiert: 1.6.0_26
> java.vm.specification.name=Java Virtual Machine Specification
> user.dir=C:\Users\BraunHarald\tsClient
> java.runtime.version=1.6.0_26-b03
> com.sun.aas.configRoot=C:\Users\BraunHarald\tsClient\appclient
> \glassfish\config
> java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
> javax
> .xml.ws.spi.Provider=com.sun.enterprise.webservice.spi.ProviderImpl
> java.endorsed.dirs=C:\Users\BraunHarald\tsClient\appclient\glassfish
> \bin\..\lib\endorsed;C:\Users\BraunHarald\tsClient\appclient
> \glassfish\bin\..\modules\endorsed;C:\GLASSF~1\jdk\jre\lib\endorsed
> os.arch=amd64
> org.omg.CORBA.ORBInitialPort=3700
> java.io.tmpdir=C:\Users\BRAUNH~1\AppData\Local\Temp\
> line.separator=
> java.vm.specification.vendor=Sun Microsystems Inc.
> com.sun.aas.instanceName=server
> user.variant=
> os.name=Windows 7
> sun.jnu.encoding=Cp1252
> /*com.sun.aas.installRoot=C:\Users\BraunHarald\tsClient\appclient
> \glassfish*/
> java
> .system
> .class
> .loader=org.glassfish.appclient.client.acc.agent.ACCAgentClassLoader
> java.library.path=C:\GLASSF~1\jdk\bin;C:\Windows\Sun\Java\bin;C:
> \Windows\system32;C:\Windows;C:\Program
> Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files
> (x86)\Common Files\Microsoft Shared\Windows
> Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:
> \Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files
> (x86)\Windows Live\Shared;C:\mysql\server5_1\bin;C:\Program Files
> (x86)\Common Files\Acronis\SnapAPI\;C:\Program
> Files\TortoiseSVN\bin;C:\Program Files (x86)\Subversion\bin;C:\Program
> Files\SlikSvn\bin\;C:\glassfish3\jdk\bin;C:\glassfish3\jdk\jre\bin;.
> java.specification.name=Java Platform API Specification
> java.class.version=50.0
> sun.management.compiler=HotSpot 64-Bit Tiered Compilers
> com.sun.aas.instanceRoot=C:\Users\BraunHarald\tsClient\appclient
> \glassfish
> os.version=6.1
> com.sun.aas.productRoot=C:\Users\BraunHarald\tsClient\appclient
> user.home=C:\Users\BraunHarald
> user.timezone=Europe/Berlin
> java.security.policy=C:\Users\BraunHarald\tsClient\appclient
> \glassfish\bin\..\lib\appclient\client.policy
> java.awt.printerjob=sun.awt.windows.WPrinterJob
> java.specification.version=1.6
> file.encoding=Cp1252
> user.name=BraunHarald
> java.class.path=C:\Users\BraunHarald\tsClient\tsClient.jar;C:\Users
> \BraunHarald\tsClient\appclient\glassfish\bin\..\lib\gf-client.jar
> org.omg.CORBA.ORBInitialHost=localhost
> java.vm.specification.version=1.0
> sun.arch.data.model=64
> java.home=C:\GLASSF~1\jdk\jre
> sun.java.command=C:\Users\BraunHarald\tsClient\tsClient.jar
> java.specification.vendor=Sun Microsystems Inc.
> user.language=de
> awt.toolkit=sun.awt.windows.WToolkit
> java.vm.info=mixed mode
> java.version=1.6.0_26
> java.ext.dirs=C:\Users\BraunHarald\tsClient\appclient\glassfish\bin
> \..\lib\ext;C:\GLASSF~1\jdk\jre\lib\ext
> sun.boot.class.path=C:\Users\BraunHarald\tsClient\appclient\glassfish
> \bin\..\modules\endorsed\javax.annotation.jar;C:\Users\BraunHarald
> \tsClient\appclient\glassfish\bin\..\modules\endorsed\jaxb-api-
> osgi.jar;C:\Users\BraunHarald\tsClient\appclient\glassfish\bin\..
> \modules\endorsed\webservices-api-osgi.jar;C:\GLASSF~1\jdk\jre\lib
> \resources.jar;C:\GLASSF~1\jdk\jre\lib\rt.jar;C:\GLASSF~1\jdk\jre\lib
> \sunrsasign.jar;C:\GLASSF~1\jdk\jre\lib\jsse.jar;C:\GLASSF~1\jdk\jre
> \lib\jce.jar;C:\GLASSF~1\jdk\jre\lib\charsets.jar;C:\GLASSF~1\jdk\jre
> \lib\modules\jdk.boot.jar;C:\GLASSF~1\jdk\jre\classes
> java.vendor=Sun Microsystems Inc.
> java.security.auth.login.config=file:/C:/Users/BraunHarald/tsClient/
> appclient/glassfish/lib/appclient/appclientlogin.conf
> com.sun.aas.hostName=C:\Users\BraunHarald\tsClient\appclient
> \glassfish\hersfeld
> file.separator=\
> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
> sun.cpu.endian=little
> sun.io.unicode.encoding=UnicodeLittle
> config.parser=com.sun.enterprise.security.appclient.ConfigXMLParser
> com.sun.aas.javaRoot=C:\glassfish3\jdk
> sun.desktop=windows
> sun.cpu.isalist=amd64
> org.glassfish.appclient.acc.agentLoaderDone=true
> ****************** Ende: System-Eigenschaften *********
>
>
> /Harald
>
>
> --
>
> [Message sent by forum member 'hbraun1']
>
> View Post: http://forums.java.net/node/849741
>
>