0 Replies Latest reply on Mar 19, 2006 8:17 AM by Craig Rutfield

    Warnings during 2.2.0 build - concerned?

    Craig Rutfield Newbie

      I am trying to troubleshoot some issues and started a clean build.

      Should I be concerned about warnings of unmappable characters and deprecated features in bilding the portlet, core, and bridge modules?

      Please advise.
      Thanks for any guidance.
      CR

      module portlet:

      [execmodules] * value of this attribute is English(???en???).
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding
      ASCII
      [execmodules] * value of this attribute is English(???en???).
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding
      ASCII
      [execmodules] * value of this attribute is English(???en???).
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding
      ASCII
      [execmodules] * value of this attribute is English(???en???).
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding
      ASCII
      [execmodules] * value of this attribute is English(???en???).
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/PortletRequestImpl.java:358: warning: [deprecation] getClientRequest() in org.jboss.p
      ortal.server.app.ComponentRequestContext has been deprecated
      [execmodules] return creq.getContext().getClientRequest().getLocales();
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/aspects/component/SessionPreDispatchInterceptor.java:40: warning: [deprecation] getClientR
      equest() in org.jboss.portal.server.app.ComponentRequestContext has been deprecated
      [execmodules] HttpServletRequest req = invocation.getRequest().getContext().getClientRequest();
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletRequest.java:354: warning: [deprecation] isRequestedSessionIdFro
      mUrl() in javax.servlet.http.HttpServletRequest has been deprecated
      [execmodules] public boolean isRequestedSessionIdFromUrl()
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletRequest.java:112: warning: [deprecation] getRealPath(java.lang.S
      tring) in javax.servlet.ServletRequest has been deprecated
      [execmodules] public String getRealPath(String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletResponse.java:183: warning: [deprecation] setStatus(int,java.lan
      g.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public void setStatus(int i, String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletResponse.java:44: warning: [deprecation] encodeRedirectUrl(java.
      lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public String encodeRedirectUrl(String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletResponse.java:120: warning: [deprecation] encodeUrl(java.lang.St
      ring) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public String encodeUrl(String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/PortletRequestDispatcherImpl.java:58: warning: [deprecation] getRealPath(java.lang.St
      ring) in javax.servlet.ServletRequest has been deprecate



      And during the bridge compilation....
      [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeRequest.java:295: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servle
      t.http.HttpServletRequest has been deprecated
      [execmodules] public boolean isRequestedSessionIdFromUrl()
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeRequest.java:64: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet
      .ServletRequest has been deprecated
      [execmodules] public String getRealPath(String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeResponse.java:256: warning: [deprecation] setStatus(int,java.lang.String) in javax.ser
      vlet.http.HttpServletResponse has been deprecated
      [execmodules] public void setStatus(int i, String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeResponse.java:56: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.
      servlet.http.HttpServletResponse has been deprecated
      [execmodules] public String encodeRedirectUrl(String s)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeResponse.java:185: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet
      .http.HttpServletResponse has been deprecated
      [execmodules] public String encodeUrl(String s)
      [execmodules] ^
      [execmodules] 5 warnings

      core:

      _default:compile-classes:
      [mkdir] Created dir: /usr/local/jboss-portal-2.2.0-src/core/output/classes
      [mkdir] Created dir: /usr/local/jboss-portal-2.2.0-src/core/output/gen/classes
      [javac] Compiling 305 source files to /usr/local/jboss-portal-2.2.0-src/core/output/classes
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/core/aspects/server/UserInterceptor.java:203: warning: [deprecation] getPreferencesGroup(org.jboss.po
      rtal.core.model.User) in org.jboss.portal.core.modules.UserModule has been deprecated
      [execmodules] PreferencesGroup group = module.getPreferencesGroup(user);
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/core/command/CoreComponentRequestContext.java:189: warning: [deprecation] getClientRequest() in org.j
      boss.portal.server.app.ComponentRequestContext has been deprecated
      [execmodules] public HttpServletRequest getClientRequest()
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/core/impl/user/UserModuleImpl.java:331: warning: [deprecation] getPreferencesGroup(org.jboss.portal.c
      ore.model.User) in org.jboss.portal.core.modules.UserModule has been deprecated
      [execmodules] public PreferencesGroup getPreferencesGroup(User user)
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/core/portlet/cms/CMSPortlet.java:180: warning: [deprecation] getInvocation() in org.jboss.portlet.JBo
      ssRenderResponse has been deprecated
      [execmodules] ComponentInvocation invocation = ((JBossRenderResponse) resp).getInvocation();
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/core/portlet/cms/admin/CMSAdminPortlet.java:809: warning: [deprecation] getInvocation() in org.jboss.
      portlet.JBossRenderResponse has been deprecated
      [execmodules] ComponentInvocation invocation = ((JBossRenderResponse) resp).getInvocation();
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/test/core/HttpServletRequestWrapperImpl.java:20: warning: [deprecation] getRealPath(java.lang.String)
      in javax.servlet.ServletRequest has been deprecated
      [execmodules] public class HttpServletRequestWrapperImpl
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/test/core/HttpServletRequestWrapperImpl.java:20: warning: [deprecation] isRequestedSessionIdFromUrl()
      in javax.servlet.http.HttpServletRequest has been deprecated
      [execmodules] public class HttpServletRequestWrapperImpl
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/test/core/HttpServletRequestWrapperImpl.java:20: warning: [deprecation] getRealPath(java.lang.String)
      in javax.servlet.ServletRequest has been deprecated
      [execmodules] public class HttpServletRequestWrapperImpl
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/test/core/ModelTestCase.java:48: warning: [deprecation] getPreferencesGroup(org.jboss.portal.core.mod
      el.User) in org.jboss.portal.core.modules.UserModule has been deprecated
      [execmodules] protected Session getCurrentSession()
      [execmodules] ^
      [execmodules] /usr/local/jboss-portal-2.2.0-src/core/src/main/org/jboss/portal/test/core/PreferencesModelTestCase.java:41: warning: [deprecation] getPreferencesGroup(org.jboss.port
      al.core.model.User) in org.jboss.portal.core.modules.UserModule has been deprecated