Combination View Flat View Tree View
Threads [ Previous | Next ]
Showing 1 - 20 of 28 results.
of 2
Juan José Fuentes
How to deploy ext-plugin in a production Tomcat?
June 7, 2011 3:27 AM
Answer

Juan José Fuentes

Rank: Junior Member

Posts: 48

Join Date: July 16, 2010

Recent Posts

Hi,

I've been developing an ext plugin for Liferay 6.0.5 with Liferay IDE in Windows 7. When testing it in the Tomcat bundle used (and started) by the IDE works great: I deploy it, restart Tomcat, and the changes are applied.

But if I try to deploy it placing the war file in the deploy folder of a fresh Liferay runtime (no ext plugin deployed before), started from the startup.bat script , and restart it, the changes are not applied. I mean, the last entry in the log is the "Deploying XXXX". No message telling me to restart or something.

Is there anything I have to do additionally? Is there a wiki that explains how to deploy an ext plugin in a non development environment?

Thank you for your time.
Juan José Fuentes
RE: How to deploy ext-plugin in a production Tomcat?
June 13, 2011 11:59 PM
Answer

Juan José Fuentes

Rank: Junior Member

Posts: 48

Join Date: July 16, 2010

Recent Posts

¿Nobody has had this problem before? I'm still unable of installing the ext plugin...
Lirone75 M.
RE: How to deploy ext-plugin in a production Tomcat?
June 14, 2011 12:36 AM
Answer

Lirone75 M.

Rank: Regular Member

Posts: 235

Join Date: March 19, 2007

Recent Posts

tomcat supports auto deploy so just putting the war in the auto deploy folder should be ok.


Documentation on it : http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/deploying-in-production
Juan José Fuentes
RE: How to deploy ext-plugin in a production Tomcat?
June 15, 2011 6:38 AM
Answer

Juan José Fuentes

Rank: Junior Member

Posts: 48

Join Date: July 16, 2010

Recent Posts

It should be that easy, but the fact is that the plugin isn't deployed. I'm going to download the latest tomcat bundle and the latest plugins sdk, create a simple ext plugin and deploy. I'll share the results.
Marc Piparo
RE: How to deploy ext-plugin in a production Tomcat?
September 13, 2011 7:13 AM
Answer

Marc Piparo

Rank: Junior Member

Posts: 43

Join Date: March 14, 2011

Recent Posts

Has this been resolved. I am having the same issue. When I deploy my ext plugin as a war in my production tomcat environment the war is extracted as a webapp, but it doesnt appear any of the appropriate libs are copied over the ROOT/WEB-INF/lib as it does in my dev environment when deploying.
Does any one know the correct steps for deploying an Ext plugin into a tomcat prod environment?

thanks!
Lina Margarita Holguin
RE: How to deploy ext-plugin in a production Tomcat?
March 24, 2012 3:13 PM
Answer

Lina Margarita Holguin

Rank: Junior Member

Posts: 25

Join Date: March 25, 2011

Recent Posts

Hello, i have the same problem, nobody found the solution? i have liferay into tomcat server
Hitoshi Ozawa
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 4:53 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I really haven't had any problem deploying ext plugin on Tomcat. Is there any error messages? Is the war file deleted from the deploy directory?

How are you creating your war file to deploy to Tomcat? I had one user who was just zipping the project directory instead of doing a build.
Lina Margarita Holguin
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 1:30 PM
Answer

Lina Margarita Holguin

Rank: Junior Member

Posts: 25

Join Date: March 25, 2011

Recent Posts

look, in development enviroment, the ext-plugin works fine using the sdk, but when i want to install the .war of the ext-plugin into my tomcat production, install fine but the changes are not visible.

i was restarted the server but is the same, not works.

My plugin-ext works fine and i had the .war, how install in the server?
Thanks
Hitoshi Ozawa
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 2:12 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

look, in development enviroment, the ext-plugin works fine using the sdk, but when i want to install the .war of the ext-plugin into my tomcat production, install fine but the changes are not visible.


So how are you deploying your ext plugin on to your production tomcat server? By modifying your build.properties from development to production. Please answer my questions I posted before.
Lina Margarita Holguin
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 2:20 PM
Answer

Lina Margarita Holguin

Rank: Junior Member

Posts: 25

Join Date: March 25, 2011

Recent Posts

Thanks for your answer... When i install my plugin-ext inte tomcat server, not show message error, say that the plugin is installed sucess. But don't work.

I did the ext-plugin with liferay sdk, but my tomcat production was clean install, only upload the plugins when works fine un te development enviroment.

In the liferay directory server production doesn't file build.properties
Hitoshi Ozawa
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 2:26 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

So the war file you're uploading to your production server is corrupt. Modify the ant build.properties file to deploy to your production server after testing your ext plugin on your development server.
Lina Margarita Holguin
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 2:42 PM
Answer

Lina Margarita Holguin

Rank: Junior Member

Posts: 25

Join Date: March 25, 2011

Recent Posts

HItoshi sorry, in the tomcat server production where create the file build.properties?? because this file is available into liferay-sdk, but in the server doesn't sdk only the liferay-tomcat6

Thanks for all.
Hitoshi Ozawa
RE: How to deploy ext-plugin in a production Tomcat?
March 25, 2012 3:54 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

build.properties is not in the production server. It's in the SDK. Change the properties in the build.properties to point to your production server.

Change the following property to point to your production server instead of your development server:
app.server.dir =
Florencia Gadea
RE: How to deploy ext-plugin in a production Tomcat?
December 5, 2012 7:26 AM
Answer

Florencia Gadea

Rank: Regular Member

Posts: 146

Join Date: March 27, 2012

Recent Posts

Hi José,

I'm having exactly the same problem. But I'm using LR 6.1.1 GA2.

Did you ever find a solution?

Regards,

Flor.
Sushil Saini
RE: How to deploy ext-plugin in a production Tomcat?
December 7, 2012 8:13 PM
Answer

Sushil Saini

Rank: Regular Member

Posts: 104

Join Date: July 27, 2011

Recent Posts

Hi All,

Using the Liferay version 6.1.1 GA2 with tomcat. And used the following steps while deploying the ext plugin on the production and it is working fine for me.

Liferay Redeploy Ext Plugin
 1
 2
 31.    Stop the tomcat server.
 42.     Delete the temporary data from the temp and work folder of tomcat server.
 53.    Delete the following jar file from $TOMCAT_HOME/lib/ext
 6        •     ext-*-ext-service.jar
 74.    Delete the following file from $TOMCAT_HOME/ROOT/WEB-INF/lib/
 8        •    ext-*-ext-impl.jar
 9        •    ext-*-ext-util-bridges.jar
10        •    ext-*-ext-util-java.jar
11        •    ext-*-ext-util-taglib.jar
125.    Delete the following file from $TOMCAT_HOME/ROOT/WEB-INF
13        •    ext-*-ext.xml
146.    Replace the $TOMCAT_HOME/ROOT/WEB-INF/web.xml file with the default web.xml file which comes with the liferay bundle. (I think this step is required when you are doing any modification in web.xml through the ext plugin.)
157.     Delete the ext-* plugin folder from the $TOMCAT_HOME/webapps directory.
168.     Deploy the ext-*.war file in the deploy directory.
179.    Start the tomcat server.
1810.    Restart the tomcat server again.



Thanks & Regards
Sushil Saini
Sushil Saini
RE: How to deploy ext-plugin in a production Tomcat?
December 7, 2012 3:46 PM
Answer

Sushil Saini

Rank: Regular Member

Posts: 104

Join Date: July 27, 2011

Recent Posts

Guys,... Please let us know if you still face any issue...
Florencia Gadea
RE: How to deploy ext-plugin in a production Tomcat?
December 10, 2012 3:41 AM
Answer

Florencia Gadea

Rank: Regular Member

Posts: 146

Join Date: March 27, 2012

Recent Posts

Hi Sushil,

The actual problem is that we can't even deploy in a production server.

Regards,

Flor.
Sushil Saini
RE: How to deploy ext-plugin in a production Tomcat?
December 10, 2012 3:53 AM
Answer

Sushil Saini

Rank: Regular Member

Posts: 104

Join Date: July 27, 2011

Recent Posts

Hi Florencia,.. I am not getting, what is the problem you are facing.. Can you please describe.

In my case, i am using the liferay 6.1.1 and building the ext-plugin using the plugin-sdk. And then i am manually deploying the ext-plugin to tomcat-liferay setup using the above steps and it is working fine.

Regards
Sushil Saini
Florencia Gadea
RE: How to deploy ext-plugin in a production Tomcat?
December 10, 2012 3:55 AM
Answer

Florencia Gadea

Rank: Regular Member

Posts: 146

Join Date: March 27, 2012

Recent Posts

Well, if you read the first post, that is the problem I'm having.

I put the war in the deploy folder, it looks like it gets deployed, but the changes are not applied.

Regards,

Flor.
Oliver Bayer
RE: How to deploy ext-plugin in a production Tomcat?
December 10, 2012 8:07 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 887

Join Date: February 18, 2009

Recent Posts

Hi Florencia,

the "easiest" workaround would be to deploy it manually - even if it's not really solution for your reported problem. Be careful when deploying the ext-service.jar file. I ran into another issue there. You should copy it into a different folder (not /lib/ext) as described in the following Jira issue.

HTH Oli
Showing 1 - 20 of 28 results.
of 2