Weblogic server 12.1.3 not starting an has no error - weblogic12c

I'm trying to start the weblogic server. The console gives no error, but the server does not start. Below is the server log.
> . JAVA Memory arguments: -Xms192m -Xmx512m -XX:PermSize=500m . WLS
> Start Mode=Development .
> CLASSPATH=C:\ouaf\CCB2403\CCBC2J\CCBC2J\splapp\standalone\lib\antlr-2.7.7.jar;C:\ouaf\CCB2403\CCBC2J\CCBC2J\splapp\standalone\lib\joda-time-2.3.jar;C:\ouaf\CCB2403\softwares\weblogic\wlserver\samples\server\examples\build\serverclasses;;;;C:\ouaf\CCB2403\softwares\weblogic\wlserver\server\lib\xqrl.jar;;
> ;C:\ouaf\CCB2403\CCBC2J\CCBC2J\splapp\standalone\lib\xalan-mod-2.7.1.jar;C:\ouaf\CCB2403\CCBC2J\CCBC2J\splapp\standalone\lib\serializer-2.7.1.jar
> .
> PATH=C:\app\ssangu\product\11.2.0\dbhome_1\bin;C:\apps\oracle\product\11.2.0\client_1\bin;C:\Perl\site\bin;C:\Perl\bin;C:\ADE\bin;C:\Windows\System32;c:\mksnt\bin64;c:\mksnt\bin;c:\mksnt\bin\X11;c:\mksnt\mksnt;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ACTIVE~1\BIN;C:\AIME\BIN;c:\Program
> Files\Microsoft Platform SDK\bin\win64\x86\AMD64;c:\Program
> Files\Microsoft Platform SDK\Bin\win64\AMD64;c:\Program
> Files\Microsoft Platform SDK\Bin;c:\Program Files\Microsoft Platform
> SDK\Bin\Winnt;c:\PROGRAM FILES\TERATERM;c:\Program Files
> (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft
> SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\Program Files
> (x86)\Intel\CPP\Compiler80\ia32e\bin;c:\program files
> (x86)\intel\cpp\idbe80\bin;c:\program files
> (x86)\intel\composerxe-2011\redist\intel64\ipp;c:\program files
> (x86)\intel\composerxe-2011\redist\intel64\mkl;C:\Program Files
> (x86)\Intel\ComposerXE-2011\redist\intel64\compiler;C:\Program Files
> (x86)\Intel\ComposerXE-2011\compiler\lib;c:\Program
> Files\WinZip;C:\apps\oracle\product\11.2.0\client_1\perl\bin;C:\Program
> Files\TortoiseSVN\bin;c:\pdit\Ruby193\bin;c:\pdit\mcollective\bin;C:\ouaf\CCB2403\softwares\java_1.8\bin;
> .
> ***************************************************
> * To start WebLogic Server, use a username and *
> * password assigned to an admin-level user. For *
> * server administration, use the WebLogic Server *
> * console at http:\\hostname:port\console *
> *************************************************** starting weblogic with Java version: "Starting Weblogic with the following arguments"
> C:\ouaf\CCB2403\SOFTWA~1\java_1.8\bin\java -hotspot -Xms192m
> -Xmx512m -XX:PermSize=500m -da -Dplatform.home=C:\ouaf\CCB2403\softwares\weblogic\wlserver -Dwls.home=C:\ouaf\CCB2403\softwares\weblogic\wlserver\myserver -Dwli.home=C:\ouaf\CCB2403\softwares\weblogic\wlserver\integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Djava.security.auth.login.config=C:\ouaf\CCB2403\CCBC2J\CCBC2J\splapp\config\java.login.config
> -Dweblogic.system.BootIdentityFile=C:\ouaf\CCB2403\CCBC2J\CCBC2J\splapp\security\boot.properties
> -Dweblogic.Name=myserver -Dweblogic.system.StoreBootIdentity=true -Djava.security.policy=C:\ouaf\CCB2403\softwares\weblogic\wlserver\server\lib\weblogic.policy
> weblogic.Server Stopping PointBase server... PointBase server
> stopped. You can close this window
The log doesn;t show any error except "Stopping PointBase server... PointBase server stopped. You can close this window"
Can anybody help please.

This kind of error occurs if we have any spaces in class path, remove spaces from classpath and make sure have set $SPLEBASE environment before starting weblogic server. In case it fails, create separate domain and deploy your application on it.

Related

VSCode SSH to remote - node: not found

SSH from VSCode (Mac) to a remote host (Raspberry Pi) stopped working a while ago.
I have searched the web for solutions, but whatever I did - I was unable to solve the issue.
I tried rm -rf ~/.vscode-server and then connect again - It did not work.
Also, I tried setting "remote.SSH.useLocalServer": false which also did not help.
Another thing I've tried is to install an older version of the SSH extension in VSCode - it did not help.
Not sure if related, but I have Fig (https://fig.io/) installed on my Mac.
Here's the log from VSCode:
> Server did not start successfully. Full server log at /home/pi/.vscode-server/.8dfae7a5cd50421d10cd99cb873990460525a898.log >>>
> /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/bin/code-server: 12: /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/bin/code-server: /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/node: not found
> <<< End of server log
> 911ac96db1fc: start
> exitCode==32==
> listeningOn====
> osReleaseId==raspbian==
> arch==aarch64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult==success==
> didLocalDownload==0==
> downloadTime==5371==
> installTime==3172==
> extInstallTime====
> serverStartTime==7728==
> 911ac96db1fc: end
[09:55:56.941] Received install output:
exitCode==32==
listeningOn====
osReleaseId==raspbian==
arch==aarch64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==5371==
installTime==3172==
extInstallTime====
serverStartTime==7728==
Checking the log I see "node: not found", so I checked the directory and confirmed that indeed the file exists there.
Can someone please assist with troubleshooting steps for this?
Thanks ahead.
EDIT: I was able to solve that following https://github.com/microsoft/vscode-remote-release/issues/6388#issuecomment-1050923254 which mentioned to change the arm_64bit to 0.
Hope that helps whoever might encounter this.

VS code keeps reconnecting to remote ssh

Problem: VS code keeps disconnecting / reconnecting ssh with remote machine.
After entering password it immediately comes back with password prompt again.
The logs suggest that vs code server fails.
Are there any vs code server logs I can review on the remote machine?
Details: VS code ver 1.4.5 / Windows 10;
Remote: Macbook Air (High Sierra)
Logs are below:
[09:49:41.088] > Password:
[09:49:41.088] Showing password prompt
[09:49:45.455] Got password response
[09:49:45.456] "install" wrote data to terminal: "********"
[09:49:45.889] > 028771948a23: running
[09:49:45.922] > Acquiring lock on /Users/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd
> 29a91c0fa9208a/vscode-remote-lock.user.5763d909d5f12fe19f215cbfdd29a91c0fa9
> 208a
> \ln /Users/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a
> /vscode-remote-lock.user.5763d909d5f12fe19f215cbfdd29a91c0fa9208a.target /U
> sers/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/vscod
> e-remote-lock.user.5763d909d5f12fe19f215cbfdd29a91c0fa9208a
>
[09:49:45.943] > Found existing installation at /Users/user/.vscode-server/bin/5763d909d5f12
> fe19f215cbfdd29a91c0fa9208a...
>
[09:49:46.017] > Found running server...
[09:49:46.050] > Checking server status on port 58236 with curl
>
[09:49:46.083] > 000
> 028771948a23##28##
>
[09:49:46.083] Received install output: 028771948a23##28##
[09:49:46.083] Server status check failed - waiting and retrying
[09:49:46.364] "install" terminal command done
[09:49:46.364] Install terminal quit with output:
[09:49:47.091] Running script with connection command: "C:\Program Files\Git\usr\bin\ssh.exe" -T -D
55978 10.0.0.134 bash
[09:49:47.092] Terminal shell path: C:\Windows\System32\cmd.exe
[09:49:47.275] >
[09:49:47.281] Got some output, clearing connection timeout
[09:49:50.747] > Password:
[09:49:50.748] Showing password prompt

VSTS build looking for a drive that doesn't exist

I am setting up three build and release pipelines in VSTS. My first two for QA and Staging are working fine. My production build though seems to be looking for an F: drive to publish my website to, which does not exist. The other two pipelines publish successfully to the E: drives. I'm deploying the same branch to each server.
I cannot for the life of me work out why this is so. Any ideas anybody?
log is below:
> 2018-09-07T10:39:12.9818031Z ##[section]Starting: Deploy IIS
> Website/App: 2018-09-07T10:39:12.9824407Z
> ============================================================================== 2018-09-07T10:39:12.9824537Z Task : IIS Web App Deploy
> 2018-09-07T10:39:12.9824635Z Description : Deploy a Website or Web
> Application using WebDeploy 2018-09-07T10:39:12.9824748Z Version
> : 0.0.42 2018-09-07T10:39:12.9824833Z Author : Microsoft
> Corporation 2018-09-07T10:39:12.9824934Z Help : [More
> Information](https://go.microsoft.com/fwlink/?linkid=866789)
> 2018-09-07T10:39:12.9825405Z
> ============================================================================== 2018-09-07T10:39:15.0081829Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:16.2102044Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:16.2957835Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:16.3117823Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:16.3666499Z Error: C:\Program Files\IIS\Microsoft Web
> Deploy V3\msdeploy.exe failed with return code: 4294967295
> 2018-09-07T10:39:16.3666959Z at ChildProcess.<anonymous>
> (C:\vstsagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.0.42\node_modules\vsts-task-lib\toolrunner.js:569:30)
> 2018-09-07T10:39:16.3667253Z at emitTwo (events.js:106:13)
> 2018-09-07T10:39:16.3667459Z at ChildProcess.emit
> (events.js:191:7) 2018-09-07T10:39:16.3667643Z at maybeClose
> (internal/child_process.js:886:16) 2018-09-07T10:39:16.3667842Z at
> Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
> 2018-09-07T10:39:16.3744137Z ##[warning]Can\'t find loc string for
> key: RetryToDeploy 2018-09-07T10:39:16.3756406Z RetryToDeploy
> 2018-09-07T10:39:16.3758339Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:16.9979596Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:17.0833918Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:17.1024603Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:17.1479924Z Error: C:\Program Files\IIS\Microsoft Web
> Deploy V3\msdeploy.exe failed with return code: 4294967295
> 2018-09-07T10:39:17.1480586Z at ChildProcess.<anonymous>
> (C:\vstsagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.0.42\node_modules\vsts-task-lib\toolrunner.js:569:30)
> 2018-09-07T10:39:17.1480827Z at emitTwo (events.js:106:13)
> 2018-09-07T10:39:17.1481001Z at ChildProcess.emit
> (events.js:191:7) 2018-09-07T10:39:17.1481193Z at maybeClose
> (internal/child_process.js:886:16) 2018-09-07T10:39:17.1481404Z at
> Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
> 2018-09-07T10:39:17.1482037Z ##[warning]Can\'t find loc string for
> key: RetryToDeploy 2018-09-07T10:39:17.1482506Z RetryToDeploy
> 2018-09-07T10:39:17.1486722Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:17.7446787Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:17.8281962Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:17.8451236Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:17.8859246Z ##[error]Failed to deploy web package to
> IIS website. 2018-09-07T10:39:17.8873159Z ##[error]Error: An error was
> encountered when processing operation 'Create Directory' on
> 'F:\Websites\www.ThisIsMyWebsiteName.org.uk\wwwroot'. Error: The error
> code was 0x80070002. Error: Could not find file '\\?\F:'. Error count:
> 1.
>
> 2018-09-07T10:39:17.8884343Z ##[error]Error: C:\Program
> Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return
> code: 4294967295 2018-09-07T10:39:17.9217040Z ##[section]Finishing:
> Deploy IIS Website/App:

UCD WAS Config plugin can't find the WAS installation

My WAS 8.5 is installed in C:\Program Files(x86)\IBM\WebSphere\AppServer\bin\wsadmin.bat. How can I tell the discovery process to look at my installation location?
plugin: WAS - Deploy, id: com.urbancode.air.plugin.WebSphere, version: 98
plugin command: 'cmd' '/C' '""C:\Program Files\ibm-ucd\agent\opt\groovy-1.8.8\bin\groovy" -cp "C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\classes;C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\lib\uDeployRestClient.jar;C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\lib\jettison-1.1.jar" "C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\wasDiscovery.groovy" "C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\input.props" "C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\output.props""'
working directory: C:\Program Files\ibm-ucd\agent\var\temp
properties:
PLUGIN_INPUT_PROPS=C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\input.props
PLUGIN_OUTPUT_PROPS=C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\output.props
pathOverride=
profilePathAgent=
profilePathResource=
resourcePath=/Topology Discovery/T500
environment:
AGENT_HOME=C:\Program Files\ibm-ucd\agent
AH_WEB_URL=https://localhost:8443
AUTH_TOKEN=****
DS_SYSTEM_ENCODING=Cp1252
JAVA_OPTS=-Dfile.encoding=Cp1252 -Dconsole.encoding=Cp1252
PLUGIN_HOME=C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2
UD_DIALOGUE_ID=4f5c360e-69e0-4f52-87e0-6dfc6b5e01a1
================================================================================
**Checking path for WebSphere install: C:\Program Files\IBM\WebSphere\AppServer\bin\wsadmin.bat
Checking path for WebSphere install: C:\IBM\WebSphere\AppServer\bin\wsadmin.bat
WebSphere installation not found. Ending discovery process.**
Set the wsadmin.path property on the agent resource to the location of the wsadmin file. See step 2 in the following document:
https://www.ibm.com/support/knowledgecenter/SS4GSP_6.2.2/com.ibm.udeploy.doc/topics/resources_import_was.html

Cannot start GlassFish in Eclipse: GlassFish error : Could not find or load main class files

I am attempting to start glassfish from within eclipse (juno). I get the following error:
INFO: Successfully launched in 10 msec.
Error: Could not find or load main class Files
Command start-domain failed.
The DAS was stopped.
Here is the complete output in Eclipse:
Aug 16, 2012 11:51:23 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
C:\Program Files\Java\jdk1.7.0\bin\java.exe
-cp
C:/glassfish3-2/glassfish3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-Xmx512m
-javaagent:C:/glassfish3-2/glassfish3/glassfish/lib/monitor/btrace- agent.jar=unsafe=true,noServer=true
-client
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.disableConfigSave=false
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=C:\glassfish3-2\glassfish3\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=C:\glassfish3-2\glassfish3\glassfish\domains\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=C:\glassfish3-2\glassfish3\glassfish\domains\domain1/config/server.policy
-Dfelix.fileinstall.log.level=2
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=C:\glassfish3-2\glassfish3\glassfish\domains\domain1
-Dosgi.shell.telnet.ip=127.0.0.1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serv erbeans.AppserverConfigEnvironmentFactory
-Djava.endorsed.dirs=C:\glassfish3-2\glassfish3\glassfish/modules/endorsed; C:\glassfish3-2\glassfish3\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=C:\glassfish3-2\glassfish3\glassfish
-Dfelix.fileinstall.bundles.startTransient=true
-Djava.ext.dirs=C:\Program Files\Java\jdk1.7.0/lib/ext;C:\Program Files\Java\jdk1.7.0/jre/lib/ext;C:\glassfish3-2\glassfish3\glassfish\domains\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=C:\glassfish3-2\glassfish3\glassfish\domains\domain1/config/cacerts.jks
Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=C:\glassfish3-2\glassfish3\glassfish\domains\domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dgosh.args=--nointeractive
-Djava.library.path=C:/glassfish3-2/glassfish3/glassfish/lib;C:/Program Files/Java/jdk1.7.0/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files (x86)/HP SimplePass 2011/x64;C:/Program Files (x86)/HP SimplePass 2011;C:/Program Files/Common Files/Microsoft Shared/Windows Live;C:/Program Files (x86)/Common Files/microsoft shared/Windows Live;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files (x86)/Windows Live/Shared;C:/Program Files/Intel/WiFi/bin;C:/Program Files/Common Files/Intel/WirelessCommon;C:/Program Files (x86)/Intel/Services/IPT;C:/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn;C:/Program Files/Microsoft SQL Server/100/Tools/Binn;C:/Program Files/Microsoft SQL Server/100/DTS/Binn;C:/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0;C:/Program Files (x86)/Java/jdk1.7.0_01/bin;C:/glassfish3-2/glassfish3/glassfish/"C:/eclipse/eclipse.exe;C:/glassfish3-2/glassfish3/glassfish/" -vm "C:/Program Files (x86)/Java/jdk1.7.0_01/jre/bin/javaw.exe;C:/glassfish3-2/glassfish3/glassfish/.;C:/Program Files/Microsoft SQL Server/110/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/110/Tools/Binn;C:/Program Files/Microsoft SQL Server/110/DTS/Binn;C:/Program Files (x86)/Microsoft SQL Server/110/Tools/Binn/ManagementStudio;C:/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn;C:/Program Files/jEdit;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/QuickTime/QTSystem;C:/Program Files/Java/jdk1.7.0/db/bin;C:/glassfish3-2/glassfish3/glassfish
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-asadmin-args
host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=false,,,start-domain,,,--verbose=true,,,--debug=false,,,--domaindir,,,C:\glassfish3-2\glassfish3\glassfish\domains,,,domain1
-instancename
server
-verbose
true
-debug
false
-asadmin-classpath
C:/glassfish3-2/glassfish3/glassfish/modules/admin-cli.jar
-asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain
-upgrade
false
-type
DAS
-domaindir
C:/glassfish3-2/glassfish3/glassfish/domains/domain1
-read-stdin
true
Aug 16, 2012 11:51:23 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 10 msec.
Error: Could not find or load main class Files
Command start-domain failed.
The DAS was stopped.
Thanks as always in advance.
Regards,
umbregachoong
This happened to me with glassfish started on command prompt.
c:\glassfish4\glassfish\bin>asadmin start-domain
Waiting for domain1 to start .
Error starting domain domain1.
The server exited prematurely with exit code 1.
Before it died, it produced the following output:
Error: Could not find or load main class Files
Command start-domain failed.
It was caused by having the following on PATH:
Path=...;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;...
I had the same issue as jan.supol, setting the path of the NVIDIA binaries into double-quotes like this also fixed it for me:
Path=...;"C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common";...
Most probably this can be caused by any whitespace in the PATH-variable that is not enclosed in double-quotes.