Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alexey Kozlov
Problem with deploy ext-plugin to Jboss server, ext-impl.jar cant applied
April 27, 2013 6:46 AM
Answer

Alexey Kozlov

Rank: New Member

Posts: 6

Join Date: April 27, 2013

Recent Posts

I have a problem with deploy ext-plugin to Jboss server, ext-impl.jar can't applied. This plugin contain extension of class calendar edit action, after deploy war archive, ext-impl.jar dont applied to liferay, but all jars is copy to ROOT.WAR/WEB-INF/lib folder to jboss server. After restarting and loading Lifery use original EditAction.calss.
If use this plugin in tomcat 7, this work correctly.

May be someone faced with this problem, please help, thanks...
Apoorva Prakash
RE: Problem with deploy ext-plugin to Jboss server, ext-impl.jar cant appl
April 27, 2013 11:41 AM
Answer

Apoorva Prakash

Rank: Liferay Master

Posts: 659

Join Date: June 15, 2010

Recent Posts

Alexey Kozlov:
I have a problem with deploy ext-plugin to Jboss server, ext-impl.jar can't applied. This plugin contain extension of class calendar edit action, after deploy war archive, ext-impl.jar dont applied to liferay, but all jars is copy to ROOT.WAR/WEB-INF/lib folder to jboss server. After restarting and loading Lifery use original EditAction.calss.
If use this plugin in tomcat 7, this work correctly.

May be someone faced with this problem, please help, thanks...


Hello Kozlov,

Try the following:
  1. Find the entry of original class in struts-config.xml (in liferay src), and copy it
  2. Paste it to your ext's struts-config file
  3. now create the action class with different name (from the original action) and copy that action class's name (full package) instead of the old action class entry
  4. Redeplot EXT (After cleaning all EXT traced from server)

HTH.

Thanks and Regards,
Apoorva Prakash
Alexey Kozlov
RE: Problem with deploy ext-plugin to Jboss server, ext-impl.jar cant appl
April 27, 2013 9:52 PM
Answer

Alexey Kozlov

Rank: New Member

Posts: 6

Join Date: April 27, 2013

Recent Posts

Thanks for the reply and help Apoorva Prakash!

Change the name of the class and add a configuration in struts-config-ext.xml solved the problem.

Thanks again!

P.S.
Sorry for my broken English))
Apoorva Prakash
RE: Problem with deploy ext-plugin to Jboss server, ext-impl.jar cant appl
April 27, 2013 10:59 PM
Answer

Apoorva Prakash

Rank: Liferay Master

Posts: 659

Join Date: June 15, 2010

Recent Posts

Alexey Kozlov:
Thanks for the reply and help Apoorva Prakash!

Change the name of the class and add a configuration in struts-config-ext.xml solved the problem.

Thanks again!

P.S.
Sorry for my broken English))


Welcome Kozlov... emoticon