Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4267760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:56:37+00:00 2026-05-21T06:56:37+00:00

I successfully set up a Tomcat server that runs Liferay through Eclipse. I’m working

  • 0

I successfully set up a Tomcat server that runs Liferay through Eclipse. I’m working on a very simple portlet to learn more about the Liferay portal framework. Every time I make a modification to ANY file in my portlet and save, Eclipse attempts to republish or redeploy to the Tomcat server. Even on the most trivial change (changing one line a CSS file), an error occurs. The popup reads:

An internal error occurred during:
“Publishing to Liferay v6.0 Server
(Tomcat 6) at localhost…”.
org.eclipse.jst.server.tomcat.core.internal.ITomcatVersionHandler.prepareForServingDirectly(Lorg/eclipse/core/runtime/IPath;Lorg/eclipse/jst/server/tomcat/core/internal/TomcatServer;)Lorg/eclipse/core/runtime/IStatus

Also, the Eclipse console reads:

Apr 5, 2011 11:11:21 PM org.apache.catalina.loader.WebappClassLoader modified
SEVERE: Resource ‘/WEB-INF/lib/commons-logging.jar’ is missing
Apr 5, 2011 11:11:21 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
23:11:21,080 INFO [ExtHotDeployListener:205] Extension environment for customer-portal-liferay-portlet will not be undeployed
23:11:21,081 INFO [PortletHotDeployListener:404] Unregistering portlets for customer-portal-liferay-portlet
23:11:21,082 INFO [PortletHotDeployListener:435] 1 portlet for customer-portal-liferay-portlet was unregistered

I think that the console error is a result of the previous error – I tried dropping in commons-logging.jar into /WEB-INF/lib/ and it just gets erased after the first error occurs.

One thing to note: after this error occurs, I can run “ant deploy” on my portlet and it deploys successfully. It’s only during a save that it crashes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T06:56:37+00:00Added an answer on May 21, 2026 at 6:56 am

    This is my best guess: In the Eclipse server view, have a look for the server that you have declared. At the beginning of that line on the far left side there is an arrow that you can click to open the server and see the projects that are deployed on this server. If any projects are listed here, Eclipse will rebuild and deploy it when anything changes. Personally I don’y like this, so select and delete the deployed projects so that they are no longer auto-deployed by Eclipse. The other way is to change the server so that it doesn’t autodeploy, but I never use that feature anyway.

    I’m not sure why autodeploying causes issues for you, it should be OK (although I have seen occasional problems when Liferay tries to read a WAR file while it is still being written) but I wouldn’t worry if ant deploy works without any problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've successfully connected to MySQL database through Eclipse without getting tomcat involved, so at
I am working on windows with JDK, Android SDK and eclipse set successfully. I
Has anyone successfully implemented a Java based solution that uses Microsoft SQL Server 2005
I am running Eclipse Galileo with Tomcat 6.0.18. Currently, I have a working application
How can I set a parameter of a sub-report? I have successfully hooked myself
Has someone successfully overridden the scoring of documents in a query so that the
I have a few simple scripts that are intended to daisy chain together to
All I can find in the Tomcat 5.5 docs is: Set to true if
I'm having some problems configure tomcat 7 on Eclipse 3.6 . The enviroment is
Im' wondering if this is possible: I've successfully used __set() magic method to set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.