[JBoss JIRA] Created: (JBAOP-744) AbstractAopMetaDataDeployer.FakeComponentUnit.getScope() does not create a new scope
by Kabir Khan (JIRA)
AbstractAopMetaDataDeployer.FakeComponentUnit.getScope() does not create a new scope
------------------------------------------------------------------------------------
Key: JBAOP-744
URL: https://jira.jboss.org/jira/browse/JBAOP-744
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Kabir Khan
Assignee: Kabir Khan
Fix For: 2.1.4.GA, 2.2.0.GA
From: smarlow(a)redhat.com
Subject: ScopeKey + AbstractAopMetaDataDeployer.FakeComponentUnit.getScope()...
Date: 4 August 2009 02:07:52 BST
To: kkhan(a)redhat.com
Reply-To: smarlow(a)redhat.com
Kabir,
I am still getting up to speed on the mc internals and am looking at different uses of ScopeKey. I came across the following code fragment and wanted to ping you about it. For the case where the "scope" variable is null, I don't see where we are assigning "key" to "scope" and we would therefore return null to the caller (whom is probably expecting the new ScopeKey value).
// org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.FakeComponentUnit
ScopeKey getScope()
{
if (scope == null)
{
ScopeKey key = parent.getScope().clone();
key.removeScopeLevel(CommonLevels.INSTANCE);
key.addScope(CommonLevels.INSTANCE, bmd.getName());
}
return scope;
}
The JBoss AOP unit tests still succeed with a small code change to return the new ScopeKey instead of null.
Scott
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (JBAS-7150) Failed to connect to iiop:1099
by Ramesh Jamana (JIRA)
Failed to connect to iiop:1099
------------------------------
Key: JBAS-7150
URL: https://jira.jboss.org/jira/browse/JBAS-7150
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: WINDOWS XP
Reporter: Ramesh Jamana
Hi,
I am new to JBOSS. And planning to migrate from websphere to JBOSS. I am getting the following exception while running the application.
javax.naming.CommunicationException: Failed to connect to server iiop:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop: iiop]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.apache.jsp.executeBuildNavdb_jsp._jspService(org.apache.jsp.executeBuildNavdb_jsp:510)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Please help me.
Thanks,
Ramesh
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (JBPORTAL-2436) JBPC 2.0 : ResourceResponse.setCharacterEncoding always throws UnsupportedOperationException
by Bernard de Terwangne (JIRA)
JBPC 2.0 : ResourceResponse.setCharacterEncoding always throws UnsupportedOperationException
--------------------------------------------------------------------------------------------
Key: JBPORTAL-2436
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2436
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: Portlet-2.0
Environment: Any
Reporter: Bernard de Terwangne
package org.jboss.portal.portlet.impl.jsr168.api;
...
public class ResourceResponseImpl extends MimeResponseImpl implements ResourceResponse
{
...
public void setLocale(Locale locale)
{
throw new UnsupportedOperationException();
}
public void setCharacterEncoding(String s)
{
throw new UnsupportedOperationException();
}
public void setContentLength(int i)
{
throw new UnsupportedOperationException();
}
...
}
Problems come when you want to deploy your portlet on JBoss PortletContainer and on other portals. JSR-286 does not state that portals my throw UnsupportedOperationException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months