3

I find the same question, but it cannot resolve my issue.

Connected to the target VM, address: '127.0.0.1:62554', transport: 'socket'
[2015-06-09 11:15:23,088] Artifact com-XXXXXXXXX-web:war exploded: Server is not connected. Deploy is not available.

the $CATALINA_HOME/bin

My Env : Tomcat7.0.59 + Intellij IDEA 14.1 + MAc Pro-64 bits

there isn't the setEnv.bat or setEnv.sh file , and I have not found the command like this
set JAVA_OPTS=-server -Xmx768m -XX:MaxPermSize=256M.
Just the command , set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%” ,found in catalina.bat, which you can check it in my Attachments repo on github.

I don't know the actual reason of this ,but it can also occasionally work after I refresh and rebuild the project via maven .

But the rebuilding is useless NOW !

How can I fix it completely ?

Thank you very much ..

Community
  • 1
  • 1
Frank
  • 655
  • 1
  • 8
  • 16

1 Answers1

0

there isn't the setEnv.bat or setEnv.sh file

The setenv script is documented in RUNNING.txt. By default there is no such file - you create it by yourself.

Beware that the proper name is "setenv.sh" (lowercase).

Konstantin Kolinko
  • 3,854
  • 1
  • 13
  • 21
  • thanks very much , but I find that describes it's optional , and I have set the variables in ~/.bash_profile . So I think this is not the key point – Frank Jun 09 '15 at 08:55