Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
Showing 1 - 20 of 42 results.
of 3
lou cat
liferay IDE on a remote server for 6.1 GA2
October 1, 2012 4:54 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Hi all!

I'm trying to install liferay IDE in Eclipse with remote server, but as I've never used it before (I was developing directly with the plugin sdk), I have a couple of doubts:

1) Is it a problem if I have Eclipse and Liferay IDE on Windows, but my remote server runs on Linux?

2) In the guide (http://www.liferay.com/web/gregory.amerson/blog/-/blogs/new-liferay-6-1-feature-remote-development-from-liferay-ide), the plugin sdk is not mentioned: I am installing the 6.1 version in windows, is that correct?

3) I have also installed ant in windows and I was about to install jave as I only have jre7, but I was wondering: should I downgrade it? I've heard that Java 7 is not working well with 6.1 GA2, so should I install a previous version of both java jre and jdk?

4) what about the file build.username.properties : should the username be related to the local windows machine, or to the remote linux server?

Thanks for any help!
lou cat
RE: liferay IDE on a remote server for 6.1 GA2
October 2, 2012 3:04 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

updates:

I've installed jdk1.7.0_07, over an existing jre7 (on windows XP), I left the build.username.properties with Windows username, and eclipse is able to connect to the remote linux server.
I then tried to create a simple portlet, copying the files of a previously existing one that was working for 6.0.6) : I've copied just the java source and the two JSPs, I didn't touch any configuration file and I don't know if this procedure is correct, I only know that when I've tried to publish on the remote server I got this error from eclipse:

A JSONObject text must begin with '{' at character 1

and this error in the remote server:

SEVERE: Servlet.service() for servlet [Server Manager Servlet] in context with path [/server-manager-web] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoSuchMethodError: com.liferay.portal.kernel.deploy.DeployManagerUtil.deploy(Ljava/io/File;Ljava/lang/String;)V
at com.liferay.servermanager.executor.PluginExecutor.executeCreate(PluginExecutor.java:65)
at com.liferay.servermanager.servlet.ServerManagerServlet.execute(ServerManagerServlet.java:76)
at com.liferay.servermanager.servlet.ServerManagerServlet.service(ServerManagerServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
at $Proxy390.doFilter(Unknown Source)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:70)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
at $Proxy390.doFilter(Unknown Source)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:70)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Any clues?
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
October 8, 2012 12:05 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

It turns out that the latest version of Remote IDE Connector app and 6.1.1 ga2, has some issues that have already been resolved but just need to be re-released in marketplace. I hope to have an update about this soon.
Peter Warrick
RE: liferay IDE on a remote server for 6.1 GA2
November 15, 2012 3:57 PM
Answer

Peter Warrick

Rank: New Member

Posts: 20

Join Date: September 25, 2012

Recent Posts

I too am having the same issue. Any word on this?

I manually deployed the plugin as I couldn't find it in the marketplace of course. Turns out there was a reason it wasn't on the marketplace. emoticon
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
November 15, 2012 6:36 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

Peter Warrick:
I too am having the same issue. Any word on this?

I manually deployed the plugin as I couldn't find it in the marketplace of course. Turns out there was a reason it wasn't on the marketplace. emoticon



Sorry for the delay. The new version should be ready soon. If you build the one that is on master in github and deploy it, it should work with Liferay IDE 1.6.1.

https://github.com/liferay/liferay-plugins/tree/master/webs/server-manager-web
Peter Warrick
RE: liferay IDE on a remote server for 6.1 GA2
November 15, 2012 10:55 PM
Answer

Peter Warrick

Rank: New Member

Posts: 20

Join Date: September 25, 2012

Recent Posts

Greg,

Thanks, I gave that a try but unfortunately it didn't work. I get a NullPointerException now.

Regards,

Peter
Peter Warrick
RE: liferay IDE on a remote server for 6.1 GA2
November 15, 2012 11:13 PM
Answer

Peter Warrick

Rank: New Member

Posts: 20

Join Date: September 25, 2012

Recent Posts

Greg,

My apologies, things are working. It was a problem with my SVN check out. Finally got it cleared up.

However one thing I did notice is that it is lowercasing the name of my portlet. I couldn't figure out at first why I wasn't able to access my portlet but then I check the directory and it had lowercased the name. Is this something the server-manager does? I'll have to rename my project now to lowercase so that I can test it both on a local instance of liferay (which when deployed retains the uppercase letters) and to the remote server.

Unless you have any ideas to clear this up?

Again, much appreciate the help!

Pete
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
November 19, 2012 1:16 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

Peter Warrick:
Greg,

My apologies, things are working. It was a problem with my SVN check out. Finally got it cleared up.

However one thing I did notice is that it is lowercasing the name of my portlet. I couldn't figure out at first why I wasn't able to access my portlet but then I check the directory and it had lowercased the name. Is this something the server-manager does? I'll have to rename my project now to lowercase so that I can test it both on a local instance of liferay (which when deployed retains the uppercase letters) and to the remote server.

Unless you have any ideas to clear this up?

Again, much appreciate the help!

Pete



I haven't noticed that, but I can try to replicate that problem. Are you on windows, linux?
Peter Warrick
RE: liferay IDE on a remote server for 6.1 GA2
November 19, 2012 10:36 AM
Answer

Peter Warrick

Rank: New Member

Posts: 20

Join Date: September 25, 2012

Recent Posts

IDE is on OS X. Tried publishing to OS X, Linux, and Windows. All the same result.

Pete
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
November 29, 2012 9:59 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

Hey Peter,

Can you post your error log here? You can find it at Window > Show View > Other > General > error log
Denis Signoretto
RE: liferay IDE on a remote server for 6.1 GA2
December 4, 2012 12:38 AM
Answer

Denis Signoretto

Rank: Regular Member

Posts: 220

Join Date: April 21, 2009

Recent Posts

Hi Greg,

Remote IDE Connector it's supported only with Tomcat or it's supported on other Application Servers?
In particular I'm interested to remote deployment on Websphere + Liferay IDE 1.6.1 and Liferay 6.1.1 GA2.

Thanks,
Denis.
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
December 5, 2012 12:15 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

Denis Signoretto:
Hi Greg,

Remote IDE Connector it's supported only with Tomcat or it's supported on other Application Servers?
In particular I'm interested to remote deployment on Websphere + Liferay IDE 1.6.1 and Liferay 6.1.1 GA2.

Thanks,
Denis.


Hi Denis,

Right now the only supported servers are Tomcat, JBoss and Glassfish. For websphere we don't have any planned support for this Remote IDE connector.

However, our customers we have a Liferay Websphere server adapter which will allow you to connect to a remote Websphere instance that has Liferay installed and then deploy and debug Liferay plugins. In order to test this out if you would be interested you can download the trial of Liferay Developer Studio here: http://www.liferay.com/get-ee-trial/downloads/developer-studio Once you install that, you can create a new Websphere Server using New Server wizard and select Liferay Websphere Server and point to your instance of Websphere that is running Liferay.
Adeel Aslam
RE: liferay IDE on a remote server for 6.1 GA2
December 8, 2012 6:58 PM
Answer

Adeel Aslam

Rank: New Member

Posts: 18

Join Date: December 8, 2012

Recent Posts

Gregory Amerson:
It turns out that the latest version of Remote IDE Connector app and 6.1.1 ga2, has some issues that have already been resolved but just need to be re-released in marketplace. I hope to have an update about this soon.



Hi,

Can you please update us when a patch for this is released to Marketplace?

I have tried using Remote Server option in a bid to connect with Glassfish Server on Ubuntu 12.10 but the Remote Server option is not found. I see Liferay V6.0 Runtime Stub

Adeel
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
December 21, 2012 12:53 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

Adeel Aslam:
Gregory Amerson:
It turns out that the latest version of Remote IDE Connector app and 6.1.1 ga2, has some issues that have already been resolved but just need to be re-released in marketplace. I hope to have an update about this soon.



Hi,

Can you please update us when a patch for this is released to Marketplace?

I have tried using Remote Server option in a bid to connect with Glassfish Server on Ubuntu 12.10 but the Remote Server option is not found. I see Liferay V6.0 Runtime Stub

Adeel



Hey Adeel,

I just heard from the marketplace team that we should have an update of lots of the applications on marketplace soon and that big update will include Remote IDE Connector. Thanks for everyone's patience.
Gar Bowning
RE: liferay IDE on a remote server for 6.1 GA2
December 30, 2012 12:07 PM
Answer

Gar Bowning

Rank: New Member

Posts: 16

Join Date: November 24, 2012

Recent Posts

Hi everyone,
I keep hearing the "Liferay market place" is coming soon with lots of news goods, its going to be fantastic etc. etc. both here and in other forums.

Can anyone give a realistic expectation as to when this is due? Even to the nearest season? e.g Spring time, this winter etc. etc.
It will help a lot in decision making as to whether to go ahead and do some development, or wait until we get access to these 'goodies".

Also is there going to be a search on the Market place? it's pretty basic at the moment? 80% of items seem to be EE restricted, will the Remote deployer be in this category?

Does anyone know the current recommended procedure for deploying a hook to a remote server? I have built one, but for love nor money cannot deploy it on to my clients box.

Hook built in 2 days, attempted deployment 5 days thus far.

Thanks
Gar Bowning
RE: liferay IDE on a remote server for 6.1 GA2
December 30, 2012 11:58 PM
Answer

Gar Bowning

Rank: New Member

Posts: 16

Join Date: November 24, 2012

Recent Posts

Day 6 ....
Just to give an overview of what I have done.

I have created a war file using winzip, copied itg to the linux server, put it into the /deploy folder, liferay seems to have deployed it, but when I come to use it I get

The requested resource (/announce-hook/) is not available.

(Hook is called announce-hook).
I look in the webapps folder, and announce-hok structure is created.
I see it on the control menu to drag and drop the portlet, but cannot execute it.
Gar Bowning
RE: liferay IDE on a remote server for 6.1 GA2
December 31, 2012 12:36 AM
Answer

Gar Bowning

Rank: New Member

Posts: 16

Join Date: November 24, 2012

Recent Posts

Day 6.. continued...

I created the project in eclipse, using the Hook wizard, I deployed it to my local instance of Liferay, and everything is working as I want, that is why I am now ready to deploy to the remote server for the client. Unfortunately there is no working Remote deployment working (as I gather from these messages), so I created the War file of the Hook under web apps using a simple zip file.

FTP'd the war file to the server, put into the deploy folder and as expected, it goes.
The only error in the log file

In the log file simply warns that "Plugin package cannot be tracked because this WAR does not contain a liferay-plugin-package.xml. I didn't need it for local deployment, so I am not sure this is the source of the issie or not.

Thanks for any help...
Danny Soul
RE: liferay IDE on a remote server for 6.1 GA2
January 17, 2013 12:12 AM
Answer

Danny Soul

Rank: New Member

Posts: 5

Join Date: January 16, 2013

Recent Posts

Gregory Amerson:
I just heard from the marketplace team that we should have an update of lots of the applications on marketplace soon and that big update will include Remote IDE Connector. Thanks for everyone's patience.



Hey Gregory,

is there any news about that? We really need to start our development of Liferay-portles using eclipse juno and glassfish 3 now.

Danny
Gregory Amerson
RE: liferay IDE on a remote server for 6.1 GA2
January 17, 2013 12:27 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 953

Join Date: February 16, 2010

Recent Posts

Danny Soul:
Gregory Amerson:
I just heard from the marketplace team that we should have an update of lots of the applications on marketplace soon and that big update will include Remote IDE Connector. Thanks for everyone's patience.



Hey Gregory,

is there any news about that? We really need to start our development of Liferay-portles using eclipse juno and glassfish 3 now.

Danny



The new Remote IDE Connector app is ready to go but we are waiting on a marketplace refresh which should be happening soon. There were some bugs that cropped up during the latest rollout of marketplace app updates and those are getting ironed out now. Hope it will be live very soon now.
Danny Soul
RE: liferay IDE on a remote server for 6.1 GA2
January 17, 2013 12:36 AM
Answer

Danny Soul

Rank: New Member

Posts: 5

Join Date: January 16, 2013

Recent Posts

Thank you for your quick reply.

Can you please give me some more information:
  1. Is it the Eclipse Marketplace or the Liferay Marketplace and what's the connection between those.
  2. Is it a matter of a few days, a few weeks or even a few months?
Showing 1 - 20 of 42 results.
of 3