Windows XP SP2.
No Firewall its off.
JBoss 4.0.4 and 4.0.3 result is the same
ejb3 enabled
when i install FULL (ALL) installation of JBOss 4.0.4 EJB 2.1 works fine EJB
3.0 dont deploy i think that it search for descriptors then and the error then
is no bound EJbName .
But with ejb3 enable and
another strange problem
when i deploy EJB3 with ejb3 enabled ( i mean installed jbos from installer.jar
and check the EJB3 support ) . So.. when i open web-console i and go to ear of
the EJB and click on it nothink happened .. i cant see the EJB name like when
it is EJB 2.1 i cant see how match
i have included all the jboss\client jars to my classpath
becouse if i dont include them at that line :
ctx.addToEnvironment(java.naming.factory.url.pkgs,
org.jboss.naming:org.jnp.interfaces);
it throws error cant find org.jboss.naming .. .etc.
btw i
the code is the same :
public static void main(String[] args) {
InitialContext ctx;
try {
ctx = new InitialContext();
ctx.addToEnvironment(java.naming.factory.initial,
org.jnp.interfaces.NamingContextFactory);
I delpoy EAR file with EJB is there a chance JBOSS to expect (need) JAR instead
of EAR ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956734#3956734
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956734
jar tf ear fail
META-INF/application.xml
SimpleSessionBean.jar
jar tf jar fail
beans/SimpleSession.class
beans/SimpleSessionBean.class
When i deploy i see :
23:28:12,296 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil
yep and the problem comes from application.xml..
witch JDeveloper is generate
?xml version = '1.0' encoding = 'windows-1251'?
application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd;
yes and the problem comes from application.xml fail it contains :
?xml version = '1.0' encoding = 'windows-1251'?
application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd; version=1.4
Hello i have want to try EJB 3.0 but i have problems.
the problem is this i have EJB 3.0 like this :
package beans;
import javax.ejb.Stateless;
@Stateless(name=SimpleSession)
public class SimpleSessionBean implements SimpleSession {
public SimpleSessionBean() {
}
public String
Hello im new JBoss user i must migrate from Bea WebLogic 8.1 to JBoss but i
have problem with MBeans.
i have 1-2 simple MBeans and i want to register them to JBoss AS .
how can i do that ?
under Bea the things was like this
i must implement class
ApplicationLifecycleListener
then i must
a :) 10x a lot :)) thanksss ;)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3953946#3953946
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953946
Using Tomcat but need to do more? Need to support web services, security?
11 matches
Mail list logo