Application Server privileges to use the server when running on a network
To install the Application Server, I had to be logged on as an administrator. The NetBeans works OK after installation, but the Application Server won't start and doesn't complete initiation. The McAfee Security VirusScan is on. Where in the directory system are log files recorded when the Application Server malfunctions?
It is saying I must be logged in as the same person (the administrator) who installed the server to initiate it. Is this normal?
# 1
Here is the output:
C:\Sun\SDK\bin>asadmin start-domain domain1
Starting Domain domain1, please wait.
Log redirected to C:\Sun\SDK\domains\domain1\logs\server.log.
14-May-2007 14:47:17 com.sun.portal.portletcontainer.sdkinstaller.PortletContain
erConfigurator main
INFO: Portlet Container Configuration Successful
14-May-2007 14:47:17 com.sun.enterprise.addon.AddonInstaller installAllAddons
WARNING: Error while installing the addon resourceadapters
java.io.FileNotFoundException: C:\Sun\SDK\domains\domain1\config\domain-registry
(Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at com.sun.enterprise.addon.Registry.store(Registry.java:63)
at com.sun.enterprise.addon.AddonInstaller.installAllAddons(AddonInstall
er.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.cli.commands.StartDomainCommand.installAddons(Star
tDomainCommand.java:364)
at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartD
omainCommand.java:112)
at com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDo
mainCommand.java:177)
at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:1
55)
at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:63)
abnormal subprocess termination: Detailed Message:Exception in thread "main" jav
a.lang.RuntimeException: Serious Error Couldn't open Log Filejava.io.FileNotFoun
dException: C:\Sun\SDK\domains\domain1\logs\server.log (Access is denied)
at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(Filean
dSyslogHandler.java:478)
at java.util.logging.Logger.log(Logger.java:472)
at java.util.logging.Logger.doLog(Logger.java:494)
at java.util.logging.Logger.log(Logger.java:583)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLaun
cher.java:248)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLaunche
r.java:158)
CLI156 Could not start the domain domain1.