Fórum

Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

thumbnail
Simone Zaninello, modificado 7 Anos atrás.

Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

New Member Postagens: 12 Data de Entrada: 05/11/07 Postagens Recentes
Hi to all,
I'm using the Developer Studio 3.0 ga1 and I need to add the VM arguments into the configured Liferay Server using the launch configuration wizard but when I access to the wizard the arguments panel is blank as you can see in the attached image.

I have tryed to do the same operation with a Apache Tomcat server but it doesn't work again.

Is it a desired behaviour or an issue?

Thanks and regards
Simone
thumbnail
Simone Zaninello, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

New Member Postagens: 12 Data de Entrada: 05/11/07 Postagens Recentes
I forget to say I can to do that with the Developer Studio 2.x
thumbnail
Joye Luo, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

Regular Member Postagens: 144 Data de Entrada: 03/05/16 Postagens Recentes
Hey Simione,
Which version JDK and what system are u using?
I tested it with the following environments:
1. windows 64 + jdk8 + Developer Studio 3.0 ga1 + liferay-portal-6.2-ce-ga6(works)
2. mac+ jdk8 + Developer Studio 3.0 ga1 + liferay-portal-6.2-ce-ga6(works)
3. ubuntu 14 + jdk8 + Developer Studio 3.0 ga1 + liferay-portal-6.2-ce-ga6(works)
And all of them work well.
So could u provide more details to help us reproduce that problem?
Thanks~~
thumbnail
Simone Zaninello, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

New Member Postagens: 12 Data de Entrada: 05/11/07 Postagens Recentes
Hi Joye,
what do you mean with "work well"? Can you see the textarea box in the panel to edit the VM args?
I'm using ubuntu 14.04 64bit + jdk8 + Developer Studio 3.0 ga1.
The version of the portal is not important because I have the same behaviour between different versions.

Thanks and regards.
Simone
thumbnail
Joye Luo, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

Regular Member Postagens: 144 Data de Entrada: 03/05/16 Postagens Recentes
Hi Simone,
I am using the same env as u now. The vm editor will be like the picture I attached.
I guess maybe you can change a new studio workspace to try it. Or unzip a new liferay-developer-studio.
thumbnail
Joye Luo, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

Regular Member Postagens: 144 Data de Entrada: 03/05/16 Postagens Recentes
Hi Simone,

The picture I pasted before, I didn't add a real server. And then I add a real one. It's also can show the vm editor.
I f this problem still exists, please feel free to ask.

Best Regards,
Joye Luo
thumbnail
Simone Zaninello, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

New Member Postagens: 12 Data de Entrada: 05/11/07 Postagens Recentes
Hi joye,
I continue to have the issue.

Best regards
Simone
thumbnail
Joye Luo, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

Regular Member Postagens: 144 Data de Entrada: 03/05/16 Postagens Recentes
Hi Simone,
If u are hurry to solve this problem, you can add the tomcat vm args with command line.
I will still try to find the reason why it doesn't work in your computer. Once I find the solution, I will post it in this thread.
Thanks for your feedback.
thumbnail
Joye Luo, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments (Resposta)

Regular Member Postagens: 144 Data de Entrada: 03/05/16 Postagens Recentes
Hey Simone,
You can try to add
–launcher.GTK_version
2

in your DeveloperStudio.ini file. And it's better to add it in the first line, because this para should before the “–launcher.appendVmargs”.
It may caused by a bug from eclipse, and this is the solution it provided.
Hope that can work in your computer.~~
Joye
thumbnail
Simone Zaninello, modificado 7 Anos atrás.

RE: Developer Studio 3.0 ga1 - I Cannot edit the server VM arguments

New Member Postagens: 12 Data de Entrada: 05/11/07 Postagens Recentes
Joye Luo:

It may caused by a bug from eclipse, and this is the solution it provided.


Hi Joye,
thanks so much the workaround in the eclipse thread works fine.

Regards
Simone