[JBoss JIRA] Created: (EJBTHREE-1404) Wrong business interface detection
by Richard Opalka (JIRA)
Wrong business interface detection
----------------------------------
Key: EJBTHREE-1404
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1404
Project: EJB 3.0
Issue Type: Bug
Affects Versions: AS 5.0.0.CR1
Reporter: Richard Opalka
Fix For: AS 5.0.0.CR1
I've got the following archive content:
jar -tvf jaxws-jbws944.jar
META-INF/
META-INF/MANIFEST.MF
org/
org/jboss/
org/jboss/test/
org/jboss/test/ws/
org/jboss/test/ws/jaxws/
org/jboss/test/ws/jaxws/jbws944/
org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.class
org/jboss/test/ws/jaxws/jbws944/EJB3RemoteBusinessInterface.class
org/jboss/test/ws/jaxws/jbws944/EJB3RemoteHome.class
org/jboss/test/ws/jaxws/jbws944/EJB3RemoteInterface.class
And here are the source codes:
// EJB3RemoteInterface.java
public interface EJB3RemoteInterface extends EJBObject
{
String echo(String input);
}
// EJB3RemoteHome.java
public interface EJB3RemoteHome extends EJBHome
{
EJB3RemoteInterface create() throws RemoteException, CreateException;
}
// EJB3RemoteBusinessInterface.java
public interface EJB3RemoteBusinessInterface
{
String echo(String input);
}
// EJB3Bean01.java
package org.jboss.test.ws.jaxws.jbws944;
import javax.ejb.Remote;
import javax.ejb.RemoteHome;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import org.jboss.wsf.spi.annotation.WebContext;
@WebService(name = "EJB3Bean", serviceName = "EJB3BeanService", targetNamespace = "http://org.jboss.ws/jbws944")
@WebContext(contextRoot = "/jaxws-jbws944", urlPattern = "/FooBean01")
@SOAPBinding(style = SOAPBinding.Style.RPC)
@Remote({EJB3RemoteBusinessInterface.class,EJB3RemoteInterface.class})
@RemoteHome(EJB3RemoteHome.class)
@Stateless(name = "FooBean01")
public class EJB3Bean01 implements EJB3RemoteBusinessInterface
{
@WebMethod
public String echo(String input)
{
return input;
}
}
And I'm getting the following exception on server side when I'll try to deploy this archive:
Caused by: java.lang.IllegalStateException: EJB 3.0 Core Specification Violation (4.6.6): The session bean's business interface interface org.jboss.test.ws.jaxws.jbws944.EJB3RemoteInterface must not extend the javax.ejb.EJBObject interface.
at org.jboss.metadata.annotation.creator.ejb.RemoteProcessor.addBusinessInterface(RemoteProcessor.java:55)
at org.jboss.metadata.annotation.creator.ejb.RemoteProcessor.process(RemoteProcessor.java:87)
at org.jboss.metadata.annotation.creator.ejb.RemoteProcessor.process(RemoteProcessor.java:42)
at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.processClass(AbstractComponentProcessor.java:245)
at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.processClass(AbstractComponentProcessor.java:213)
at org.jboss.metadata.annotation.creator.ejb.AbstractEnterpriseBeanProcessor.process(AbstractEnterpriseBeanProcessor.java:104)
at org.jboss.metadata.annotation.creator.ejb.AbstractEnterpriseBeanProcessor.process(AbstractEnterpriseBeanProcessor.java:51)
at org.jboss.metadata.annotation.creator.ejb.EjbJar30Creator.create(EjbJar30Creator.java:68)
at org.jboss.deployment.AnnotationMetaDataDeployer.processJBossMetaData(AnnotationMetaDataDeployer.java:231)
at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:200)
at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
... 62 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 1 month
[JBoss JIRA] Created: (JBAS-4246) JBoss logo not displayed for web status when accessed from web console
by Stephen Burdeau (JIRA)
JBoss logo not displayed for web status when accessed from web console
----------------------------------------------------------------------
Key: JBAS-4246
URL: http://jira.jboss.com/jira/browse/JBAS-4246
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Console
Affects Versions: JBossAS-4.0.5.GA
Environment: Found on Windows XP; should exist everywhere.
Reporter: Stephen Burdeau
Assigned To: Darran Lofthouse
This is a minor issue to be sure.
Run web console and navigate to Monitoring - Web Status - Connector scoreboard in the left frame. The right frame displays the Tomcat status, but it does not include the JBoss logo on the top and it does not use the JBoss style sheet.
Navigating to Monitoring - Web Status - Full status also shows the same problem.
When accessing the same Tomcat status pages from the main page (e.g., http://localhost:8080), this problem does not occur.
It appears that logo.gif and jboss.css are located in the "root" directory for Tomcat. However, for the web console, logo.gif is located in the "images" subdirectory and jboss.css is located in the "css" subdirectory, so they are not found when using the web console.
An easy workaround is to copy the files logo.gif and jboss.css into the directory deploy/management/console-mgr.sar/web-console.war.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 1 month