Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error?
Alex Loubyansky wrote: Hello. I'd write jboss.xml this way: ?xml version=1.0 encoding=UTF-8? jboss enterprise-beans session ejb-nameShepherd/security/Login/ejb-name jndi-nameejb/CredentialManager/jndi-name /session /enterprise-beans /jboss alex Why? ...ahh. Did you forget ejb-ref tags from that? Like doing when using external reference? What I want to do, and I have understood that ejb-ref tags are for is to be able to use local names for my beans in bean code. So in bean I want to find Shepherd/security/CredentialManager with name ejb/CredentialManager when there at same time could be foobar/CredentialManager in foobar applicaiton and in that beans could also lookup it as ejb/CredentialManager if they have stated so with ejb-ref tags in beans. From examples I have seen I understood that if I have ejb-ref in ejb-jar.xml I could in code look bean mentioned in ejb-ref with name stated in ejb-ref-name, or with java:comp/env + that name, and it would translate that name to name in ejb-link tag. But for me it just looks for name used in code and defined in ejb-ref-name (and which in JNDIView shows as connected to bean and tells that it is not bound. http://www.jboss.org/online-manual/HTML/ch07s13.html Has what I want to do, and I think I am doing, but not succesfully.. My references in this case are internal, both are in same jar. Also tried putting ejb-ref in jboss.xml so it would use external ejb reference style but same error. I myself can't locate what is different and of course if can't find error on my side I am wondering if jBoss does that right. I am using 2.4.0 because haven't had time to setup 2.4.4 yet.. -- jK.MkIII -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jK.MkIII Sent: Thursday, February 21, 2002 3:12 PM To: jBoss-user Subject: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error? Hi, I had my application running inside jboss earlier, but now tought I would play with ejb-ref stuff my beans can't find each other and my brain doesn't seem to be working :( I have attached all files (except code), but shortly what I did and what is the problem.. Important parts of xml files.. from ejb-jar.xml-- session id=Login ejb-nameShepherd/security/Login/ejb-name homefi.hut.cs.NC.Shepherd.security.LoginHome/home remotefi.hut.cs.NC.Shepherd.security.Login/remote ejb-classfi.hut.cs.NC.Shepherd.ejb.security.LoginBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref descriptionCredentialManager bean/description ejb-ref-nameejb/CredentialManager/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homefi.hut.cs.NC.Shepherd.security.CredentialManagerHome/home remotefi.hut.cs.NC.Shepherd.security.CredentialManager/remote ejb-linkShepherd/security/CredentialManager/ejb-link /ejb-ref /session --- ejb-jar.xml from jboss.xml -- session ejb-nameShepherd/security/Login/ejb-name /session -- jboss.xml And when look from JNDIView it says that java:comp namespace of the Shepherd/security/Login bean: +- env (class: org.jnp.interfaces.NamingContext) | +- ejb (class: org.jnp.interfaces.NamingContext) | | +- CredentialManager[link - Shepherd/security/CredentialManager] (class: javax.naming.LinkRef) | | +- PrincipalManager[link - Shepherd/security/PrincipalManager] (class: javax.naming.LinkRef) | | +- AccountManager[link - Shepherd/security/AccountManager] (class: javax.naming.LinkRef) But even with all this in Login bean I can't lookup CredentialManager with ejb/CredentialManager or java:comp/env/ejb/PrincipalManager. When I try that server throws exception saying that ejb not bound. Am I missing something or why it doesn't work? I know I could lookup beans using their full name, but that isn't nice. I am using jBoss 2.4.0 with Sun's 1.3.1 on Windows 2000. -- jK.MkIII ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error?
Salute! Sorry, I wrote rubbish last time... But now I've caugth the problem. And I wrote the example that follows http://www.jboss.org/online-manual/HTML/ch07s13.html. And it works correctly. That's my xml parts: ejb-jar.xml: session descriptionOutward SLSB/description display-nameThe OutwardSLSB/display-name ejb-nameTheOutwardSLSB/ejb-name homecom.ejbreftest.OutwardSLSBHome/home remotecom.ejbreftest.OutwardSLSB/remote ejb-classcom.ejbreftest.OutwardSLSBBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref ejb-ref-nameejb/InwardSLSBRef/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homecom.ejbreftest.InwardSLSBHome/home remotecom.ejbreftest.InwardSLSB/remote ejb-linkTheInwardSLSB/ejb-link /ejb-ref /session session descriptionInward SLSB/description display-nameThe InwardSLSB/display-name ejb-nameTheInwardSLSB/ejb-name homecom.ejbreftest.InwardSLSBHome/home remotecom.ejbreftest.InwardSLSB/remote ejb-classcom.ejbreftest.InwardSLSBBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type /session jboss.xml: session ejb-nameTheOutwardSLSB/ejb-name jndi-nameejb/OutwardSLSB/jndi-name /session After deployment the OutwardSLSB bound to ejb/OutwardSLSB and InwardSLSB ref bound to java:comp/env/ejb/InwardSLSBRef. In OutwardSLSB's business method I do this: InitialContext ic = new InitialContext(); Object ref = ic.lookup(java:comp/env/ejb/InwardSLSBRef); InwardSLSBHome inwardHome = (InwardSLSBHome)PortableRemoteObject. narrow(ref, InwardSLSBHome.class); InwardSLSB inward = inwardHome.create(); inward.greetMe(); Works fine. I use Jboss-2.4.3_tomcat-3.2.3 on win2000. Do you still have the problem? alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jK.MkIII Sent: Friday, February 22, 2002 12:56 PM To: jBoss-user Subject: Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error? Alex Loubyansky wrote: Hello. I'd write jboss.xml this way: ?xml version=1.0 encoding=UTF-8? jboss enterprise-beans session ejb-nameShepherd/security/Login/ejb-name jndi-nameejb/CredentialManager/jndi-name /session /enterprise-beans /jboss alex Why? ...ahh. Did you forget ejb-ref tags from that? Like doing when using external reference? What I want to do, and I have understood that ejb-ref tags are for is to be able to use local names for my beans in bean code. So in bean I want to find Shepherd/security/CredentialManager with name ejb/CredentialManager when there at same time could be foobar/CredentialManager in foobar applicaiton and in that beans could also lookup it as ejb/CredentialManager if they have stated so with ejb-ref tags in beans. From examples I have seen I understood that if I have ejb-ref in ejb-jar.xml I could in code look bean mentioned in ejb-ref with name stated in ejb-ref-name, or with java:comp/env + that name, and it would translate that name to name in ejb-link tag. But for me it just looks for name used in code and defined in ejb-ref-name (and which in JNDIView shows as connected to bean and tells that it is not bound. http://www.jboss.org/online-manual/HTML/ch07s13.html Has what I want to do, and I think I am doing, but not succesfully.. My references in this case are internal, both are in same jar. Also tried putting ejb-ref in jboss.xml so it would use external ejb reference style but same error. I myself can't locate what is different and of course if can't find error on my side I am wondering if jBoss does that right. I am using 2.4.0 because haven't had time to setup 2.4.4 yet.. -- jK.MkIII -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jK.MkIII Sent: Thursday, February 21, 2002 3:12 PM To: jBoss-user Subject: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error? Hi, I had my application running inside jboss earlier, but now tought I would play with ejb-ref stuff my beans can't find each other and my brain doesn't seem to be working :( I have attached all files (except code), but shortly what I did and what is the problem.. Important parts of xml files.. from ejb-jar.xml-- session id=Login ejb-nameShepherd/security/Login/ejb-name homefi.hut.cs.NC.Shepherd.security.LoginHome/home remotefi.hut.cs.NC.Shepherd.security.Login/remote ejb-classfi.hut.cs.NC.Shepherd.ejb.security.LoginBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref
[JBoss-user] Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?
Hi, I'm a bit frustrated... I've just tried Catalina 4.0.2 (release) [embedded in JBoss 2.4.4] on J2SDK 1.4.0 (Win32) and it doesn't work. The JSP compiler complains in some cases about the 48.0 class file version: [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/istore] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in f:\j2sdk1.4.0\jre\ lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. F:\JBoss-2.4.4_Tomcat-4.0.2b\catalina\work\localhost\istore\bibliofil_0005fe n$jsp.java:0: Class java.lang.Object not fou nd in class javax.servlet.GenericServlet. package org.apache.jsp; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:683) Has anyone of you run into a similar problem? It would be good if we could upgrade the JVM because we have other problems with 1.3.1_02 Cheers, Jnos -- Jarecsni, Jnos MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sounds like you have to copy the tools.jar from the 1.4 jdk to your tomcat dir overwriting the old 1.3 version. hth, jan - -- Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] - -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Jarecsni Jnos Gesendet: Freitag, 22. Februar 2002 15:30 An: JBoss-List Betreff: [JBoss-user] Running Tomcat 4.0.2 on a Sun 1.4.0 JVM? Wichtigkeit: Hoch Hi, I'm a bit frustrated... I've just tried Catalina 4.0.2 (release) [embedded in JBoss 2.4.4] on J2SDK 1.4.0 (Win32) and it doesn't work. The JSP compiler complains in some cases about the 48.0 class file version: [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/istore] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in f:\j2sdk1.4.0\jre\ lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. F:\JBoss-2.4.4_Tomcat-4.0.2b\catalina\work\localhost\istore\bibliofil_ 0005fe n$jsp.java:0: Class java.lang.Object not fou nd in class javax.servlet.GenericServlet. package org.apache.jsp; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary (JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServ let.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:38 2) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa tcher. java:683) Has anyone of you run into a similar problem? It would be good if we could upgrade the JVM because we have other problems with 1.3.1_02 Cheers, Jnos - -- Jarecsni, Jnos MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBPHZfwZ/YNqVvLvLkEQJxMQCgsJblwCLOdr3GchmS8riFQJW5KH8AoMQK QoSGNAhXn+i7KfrlMYnrrg9h =PPPL -END PGP SIGNATURE- ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?
Or even better don't copy the jar file at all and use the run_with_catalina shell script/batch file for startup instead. HTH, Dirk -Original Message- From: Jan Heise [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 4:12 PM To: Jarecsni Jnos; JBoss-List Subject: AW: [JBoss-user] Running Tomcat 4.0.2 on a Sun 1.4.0 JVM? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sounds like you have to copy the tools.jar from the 1.4 jdk to your tomcat dir overwriting the old 1.3 version. hth, jan - -- Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] - -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Jarecsni Jnos Gesendet: Freitag, 22. Februar 2002 15:30 An: JBoss-List Betreff: [JBoss-user] Running Tomcat 4.0.2 on a Sun 1.4.0 JVM? Wichtigkeit: Hoch Hi, I'm a bit frustrated... I've just tried Catalina 4.0.2 (release) [embedded in JBoss 2.4.4] on J2SDK 1.4.0 (Win32) and it doesn't work. The JSP compiler complains in some cases about the 48.0 class file version: [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/istore] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in f:\j2sdk1.4.0\jre\ lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. F:\JBoss-2.4.4_Tomcat-4.0.2b\catalina\work\localhost\istore\bibliofil_ 0005fe n$jsp.java:0: Class java.lang.Object not fou nd in class javax.servlet.GenericServlet. package org.apache.jsp; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary (JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServ let.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:38 2) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa tcher. java:683) Has anyone of you run into a similar problem? It would be good if we could upgrade the JVM because we have other problems with 1.3.1_02 Cheers, Jnos - -- Jarecsni, Jnos MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBPHZfwZ/YNqVvLvLkEQJxMQCgsJblwCLOdr3GchmS8riFQJW5KH8AoMQK QoSGNAhXn+i7KfrlMYnrrg9h =PPPL -END PGP SIGNATURE- ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error?
Alex Loubyansky wrote: Salute! Sorry, I wrote rubbish last time... But now I've caugth the problem. And I wrote the example that follows http://www.jboss.org/online-manual/HTML/ch07s13.html. And it works correctly. That's my xml parts: ejb-jar.xml: session descriptionOutward SLSB/description display-nameThe OutwardSLSB/display-name ejb-nameTheOutwardSLSB/ejb-name homecom.ejbreftest.OutwardSLSBHome/home remotecom.ejbreftest.OutwardSLSB/remote ejb-classcom.ejbreftest.OutwardSLSBBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref ejb-ref-nameejb/InwardSLSBRef/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homecom.ejbreftest.InwardSLSBHome/home remotecom.ejbreftest.InwardSLSB/remote ejb-linkTheInwardSLSB/ejb-link /ejb-ref /session session descriptionInward SLSB/description display-nameThe InwardSLSB/display-name ejb-nameTheInwardSLSB/ejb-name homecom.ejbreftest.InwardSLSBHome/home remotecom.ejbreftest.InwardSLSB/remote ejb-classcom.ejbreftest.InwardSLSBBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type /session jboss.xml: session ejb-nameTheOutwardSLSB/ejb-name jndi-nameejb/OutwardSLSB/jndi-name /session Why TheOutwardSLSB is bound to jndi-name ejb/OutwardSLSB? Is that necessary because no-one in your example is looking for TheOutwardSLSB or ejb/OutwardSLSB. And after that everyone could lookup TheOutwardSLSB with name ejb/OutwardSLSB. I have all other stuff exactly like in your example. I can't see what I am missing because in Login bean when I try to lookup using ejb/CredentialManager I get ejb not bound :( And like said earlier JNDIView shows that there is ejb/CredentialManager in Login bean's java:comp/env. In CredentialManager there is reference to datasource and of course that works happily, just not ejb reference.. From my ejb-jar.xml session id=Login ejb-nameShepherd/security/Login/ejb-name homefi.hut.cs.NC.Shepherd.security.LoginHome/home remotefi.hut.cs.NC.Shepherd.security.Login/remote ejb-classfi.hut.cs.NC.Shepherd.ejb.security.LoginBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref descriptionCredentialManager bean/description ejb-ref-nameejb/CredentialManager/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homefi.hut.cs.NC.Shepherd.security.CredentialManagerHome/home remotefi.hut.cs.NC.Shepherd.security.CredentialManager/remote ejb-linkShepherd/security/CredentialManager/ejb-link /ejb-ref /session session id=CredentialManager ejb-nameShepherd/security/CredentialManager/ejb-name homefi.hut.cs.NC.Shepherd.security.CredentialManagerHome/home remotefi.hut.cs.NC.Shepherd.security.CredentialManager/remote ejb-classfi.hut.cs.NC.Shepherd.ejb.security.CredentialManagerBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type resource-ref descriptionSecurity DB/description res-ref-namejdbc/Security_Data/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /session Like you can see they are in JNDIView java:comp namespace of the Shepherd/security/Login bean: +- env (class: org.jnp.interfaces.NamingContext) | +- ejb (class: org.jnp.interfaces.NamingContext) | | +- CredentialManager[link - Shepherd/security/CredentialManager] (class: javax.naming.LinkRef) | | +- PrincipalManager[link - Shepherd/security/PrincipalManager] (class: javax.naming.LinkRef) | | +- AccountManager[link - Shepherd/security/AccountManager] (class: javax.naming.LinkRef) Hmm... how can I from code print out what is actually bound to java:comp/env according to bean? After deployment the OutwardSLSB bound to ejb/OutwardSLSB and InwardSLSB ref bound to java:comp/env/ejb/InwardSLSBRef. In OutwardSLSB's business method I do this: InitialContext ic = new InitialContext(); Object ref = ic.lookup(java:comp/env/ejb/InwardSLSBRef); InwardSLSBHome inwardHome = (InwardSLSBHome)PortableRemoteObject. narrow(ref, InwardSLSBHome.class); InwardSLSB inward = inwardHome.create(); inward.greetMe(); Works fine. I use Jboss-2.4.3_tomcat-3.2.3 on win2000. Do you still have the problem? I got that jboss 2.4.0 on win2000 and for some reason it tells me ejb is not bound even everything looks ok and JNDIView tells that it IS bound :( -- jK.MkIII ___ JBoss-user mailing list [EMAIL PROTECTED]
[JBoss-user] Specifying Multiple Additional Connectors for EmbeddedCatalina
I sent this to the list about a week ago - I've been playing with various things, trying to get the desired configuration working (HTTP, SSL, and Ajp listeners), but to no avail. Can anyone on the jboss team take a moment and at least let me know if this config block should work? Any information would be appreciated. - Original Message - I've modified the EmbeddedCatalinaServiceSX mbean block in my jboss.jcml to look like this: mbean code=org.jboss.web.catalina.EmbeddedCatalinaServiceSX name=DefaultDomain:service=EmbeddedTomcat attribute name=Port8080/attribute attribute name=enableLookupstrue/attribute attribute name=Config !-- it's element:attribute, not element config -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 scheme=https secure=true Factory className= org.jboss.web.catalina.security.SSLServerSocketFactory securityDomainName= java:/jaas/tomcat/ /Connector Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 / /attribute /mbean And I get this in the startup log: [INFO,EmbeddedCatalinaServiceSX] Starting [INFO,EmbeddedCatalinaServiceSX] Starting EmbeddedCatalinaSX [INFO,EmbeddedCatalinaServiceSX] Building Http engine and connector [INFO,Default] Apache Tomcat/4.0.2 [INFO,EmbeddedCatalinaServiceSX] HttpConnector Opening server socket on all host IP addresses [INFO,EmbeddedCatalinaServiceSX] HttpConnector[8080] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][0] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][1] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][2] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][3] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpConnector Opening server socket on all host IP addresses [INFO,EmbeddedCatalinaServiceSX] HttpConnector[8443] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8443][0] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8443][1] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8443][2] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8443][3] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8443][4] Starting background thread [INFO,EmbeddedCatalinaServiceSX] OK [INFO,EmbeddedCatalinaServiceSX] Started If I reverse the order of the additional connectors I get this instead: [INFO,EmbeddedCatalinaServiceSX] Starting [INFO,EmbeddedCatalinaServiceSX] Starting EmbeddedCatalinaSX [INFO,EmbeddedCatalinaServiceSX] Building Http engine and connector [INFO,Default] Apache Tomcat/4.0.2 [INFO,EmbeddedCatalinaServiceSX] HttpConnector Opening server socket on all host IP addresses [INFO,EmbeddedCatalinaServiceSX] HttpConnector[8080] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][0] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][1] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][2] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][3] Starting background thread [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] Starting background thread [INFO,EmbeddedCatalinaServiceSX] Ajp13Connector[8009] Opening server socket on all host IP addresses [INFO,EmbeddedCatalinaServiceSX] Ajp13Connector[8009] Starting background thread[INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][0] Starting background thread [INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] Starting background thread [INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][2] Starting background thread [INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][3] Starting background thread [INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][4] Starting background thread [INFO,EmbeddedCatalinaServiceSX] OK [INFO,EmbeddedCatalinaServiceSX] Started Much to my frustration, only the first specified additional connector actually get's started. Is this a known limitation? a bug? Or am I doing something wrong? Any assistance would be greatly appreciated. -- Dan Berger [[EMAIL PROTECTED]] We are what we repeatedly do. Excellence, then, is not an act, but a habit. -- Aristotle It comes in pints?! -- Pippin -- Dan Berger [[EMAIL PROTECTED]] We are what we repeatedly do. Excellence, then, is not an act, but a habit. -- Aristotle It comes in pints?! -- Pippin
RE: [JBoss-user] [Fwd: Message Delivery Error] - someone from samyak.com?
ditto ditto ditto i had sent a message to samyak.com complaining ( i think it's a company in india) but no one replied. it is highly annoying, can we take them off? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jK.MkIII Sent: Friday, February 22, 2002 11:18 AM To: jBoss-user Subject: [JBoss-user] [Fwd: Message Delivery Error] - someone from samyak.com? Hi, Do others on this list get following message every time they post to list? And if there is someone from samyak.com would you know how to fix tha,t because it is starting to bother me when post something and always get following email? -- jK.MkIII ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] RE: [JBoss-dev]
Hi Are you sure jboss-client.jar is in the classpath? alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ramesh Gadde Sent: Friday, February 22, 2002 7:08 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [JBoss-user] RE: [JBoss-dev] Hi all when i am looking up the initialContext for EJB i am getting the following exception. my ejb is BMP. any help is appreciated. regards Ramesh My code is like this axielleServiceConfigurationHome = (AxielleServiceConfigurationHome) javax.rmi.PortableRemoteObject.narrow ( initialContext.lookup (AxielleConstants.AXIELLE_CONFIGURATION_JNDI_NAME), AxielleServiceConfigurationHome.class); I am getting following exception javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundE xception: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager : RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:143) at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java :918) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226 3) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51 9) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.rmi.MarshalledObject.get(MarshalledObject.java:138) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333) at javax.naming.InitialContext.lookup(InitialContext.java:350) at com.ascentialsoftware.axielle.config.runtime.storage.impl.AxielleConf iguration.init(AxielleConfiguration.java:93) ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: [JBoss-dev]
Hi all when i am looking up the initialContext for EJB i am getting the following exception. my ejb is BMP. any help is appreciated. regards Ramesh My code is like this axielleServiceConfigurationHome = (AxielleServiceConfigurationHome) javax.rmi.PortableRemoteObject.narrow ( initialContext.lookup (AxielleConstants.AXIELLE_CONFIGURATION_JNDI_NAME), AxielleServiceConfigurationHome.class); I am getting following exception javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundE xception: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager : RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:143) at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java :918) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226 3) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51 9) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.rmi.MarshalledObject.get(MarshalledObject.java:138) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333) at javax.naming.InitialContext.lookup(InitialContext.java:350) at com.ascentialsoftware.axielle.config.runtime.storage.impl.AxielleConf iguration.init(AxielleConfiguration.java:93) ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss-dev] RE: [JBoss-dev]
Wrong list to post this to. Please refer to my answer to this question, at http://main.jboss.org/thread.jsp?forum=47thread=9415 Please use the right forum for questions like this. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., the leading provider of Net business solutions http://www.novell.com Ramesh Gadde [EMAIL PROTECTED] 2/22/02 10:07:48 AM Hi all when i am looking up the initialContext for EJB i am getting the following exception. my ejb is BMP. any help is appreciated. regards Ramesh My code is like this ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error?
If ppl are having trouble getting configuration right, and want to see how to do it correctly you'd be well served by getting hold of XDoclet (http://sf.net/projects/xdoclet) and letting that generate the deployment descriptors for you - then you can look at what has been generated and work it out (o: hth dim - Original Message - From: Alex Loubyansky [EMAIL PROTECTED] To: Jboss-User (E-mail) [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 3:23 AM Subject: RE: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error? I must to declare jndi-nameejb/OutwardSLSB/jndi-name in jboss.xml because if I don't do it my client app won't find OutwardSLSB in JNDI. Indeed, I don't know how to help you. Could you send me your code? I'll try to figure it out. alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jK.MkIII Sent: Friday, February 22, 2002 5:36 PM To: jBoss-user Subject: Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just use error? Alex Loubyansky wrote: Salute! Sorry, I wrote rubbish last time... But now I've caugth the problem. And I wrote the example that follows http://www.jboss.org/online-manual/HTML/ch07s13.html. And it works correctly. That's my xml parts: ejb-jar.xml: session descriptionOutward SLSB/description display-nameThe OutwardSLSB/display-name ejb-nameTheOutwardSLSB/ejb-name homecom.ejbreftest.OutwardSLSBHome/home remotecom.ejbreftest.OutwardSLSB/remote ejb-classcom.ejbreftest.OutwardSLSBBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref ejb-ref-nameejb/InwardSLSBRef/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homecom.ejbreftest.InwardSLSBHome/home remotecom.ejbreftest.InwardSLSB/remote ejb-linkTheInwardSLSB/ejb-link /ejb-ref /session session descriptionInward SLSB/description display-nameThe InwardSLSB/display-name ejb-nameTheInwardSLSB/ejb-name homecom.ejbreftest.InwardSLSBHome/home remotecom.ejbreftest.InwardSLSB/remote ejb-classcom.ejbreftest.InwardSLSBBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type /session jboss.xml: session ejb-nameTheOutwardSLSB/ejb-name jndi-nameejb/OutwardSLSB/jndi-name /session Why TheOutwardSLSB is bound to jndi-name ejb/OutwardSLSB? Is that necessary because no-one in your example is looking for TheOutwardSLSB or ejb/OutwardSLSB. And after that everyone could lookup TheOutwardSLSB with name ejb/OutwardSLSB. I have all other stuff exactly like in your example. I can't see what I am missing because in Login bean when I try to lookup using ejb/CredentialManager I get ejb not bound :( And like said earlier JNDIView shows that there is ejb/CredentialManager in Login bean's java:comp/env. In CredentialManager there is reference to datasource and of course that works happily, just not ejb reference.. From my ejb-jar.xml session id=Login ejb-nameShepherd/security/Login/ejb-name homefi.hut.cs.NC.Shepherd.security.LoginHome/home remotefi.hut.cs.NC.Shepherd.security.Login/remote ejb-classfi.hut.cs.NC.Shepherd.ejb.security.LoginBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-ref descriptionCredentialManager bean/description ejb-ref-nameejb/CredentialManager/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homefi.hut.cs.NC.Shepherd.security.CredentialManagerHome/home remotefi.hut.cs.NC.Shepherd.security.CredentialManager/remote ejb-linkShepherd/security/CredentialManager/ejb-link /ejb-ref /session session id=CredentialManager ejb-nameShepherd/security/CredentialManager/ejb-name homefi.hut.cs.NC.Shepherd.security.CredentialManagerHome/home remotefi.hut.cs.NC.Shepherd.security.CredentialManager/remote ejb-classfi.hut.cs.NC.Shepherd.ejb.security.CredentialManage rBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type resource-ref descriptionSecurity DB/description res-ref-namejdbc/Security_Data/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /session Like you can see they are in JNDIView java:comp namespace of the Shepherd/security/Login bean: +- env (class: org.jnp.interfaces.NamingContext) | +- ejb (class: org.jnp.interfaces.NamingContext) | | +- CredentialManager[link -
[JBoss-user] EJB deployment problem
Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
I am running on solaris2.8, and behaviour on my machine I presume would be similar to jboss's behaviour on linux, especially with respect to hot deploy... Can somebody tell me if there is a fix to this problem...How do I go abt deploying an application on solaris?? -Vishwas. Dmitri Colebatch wrote: You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
In 2.4 there was support for deploying without using the hot deploy via the JMX interface. I assume its still there in 3.0, although haven't looked as yet. Perhaps that might be a solution for you - dont put the jar/war/ear in the deploy dir, but instead find the interface in jmx, and tell it where it is (full url: file:///home/dim/blah/myapp.ear) hth dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: Dmitri Colebatch [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:51 AM Subject: Re: [JBoss-user] EJB deployment problem I am running on solaris2.8, and behaviour on my machine I presume would be similar to jboss's behaviour on linux, especially with respect to hot deploy... Can somebody tell me if there is a fix to this problem...How do I go abt deploying an application on solaris?? -Vishwas. Dmitri Colebatch wrote: You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
Even in 2.4 I used only the hot deploy to deploy my sample applications. How would I go about using the jmx interface to deploy my applications? Sorry if my questions are too amateurish.. I am still trying to figure out a lot of fundamentals in this technology. -Vishwas. Dmitri Colebatch wrote: In 2.4 there was support for deploying without using the hot deploy via the JMX interface. I assume its still there in 3.0, although haven't looked as yet. Perhaps that might be a solution for you - dont put the jar/war/ear in the deploy dir, but instead find the interface in jmx, and tell it where it is (full url: file:///home/dim/blah/myapp.ear) hth dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: Dmitri Colebatch [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:51 AM Subject: Re: [JBoss-user] EJB deployment problem I am running on solaris2.8, and behaviour on my machine I presume would be similar to jboss's behaviour on linux, especially with respect to hot deploy... Can somebody tell me if there is a fix to this problem...How do I go abt deploying an application on solaris?? -Vishwas. Dmitri Colebatch wrote: You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
On 2002.02.22 17:24:14 -0500 Vishwas Raman wrote: Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? You might try the cvs version. I fixed some other problems with deployment of ears since the beta, and I thought I'd fixed that problem before the beta. If you send me the application I will investigate, otherwise the server log and the structure of your jar file might be helpful. David Jencks Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
On 2002.02.22 17:44:54 -0500 Dmitri Colebatch wrote: You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. I haven't seen this in quite a while and thought I'd fixed it, and I'm running on linux. Can you send me an example showing this problem? david jencks sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
I'm not going to be able to be too detailed answer, but... on 2.4 - look at http://localhost:8082/ViewObjectRes//J2EE%3Aservice%3DJ2eeDeployer to deploy the application manually. then on 3.0 I guess its just a matter of finding where that has moved to (assuming its still there) and using it there.. hth dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 10:17 AM Subject: Re: [JBoss-user] EJB deployment problem Even in 2.4 I used only the hot deploy to deploy my sample applications. How would I go about using the jmx interface to deploy my applications? Sorry if my questions are too amateurish.. I am still trying to figure out a lot of fundamentals in this technology. -Vishwas. Dmitri Colebatch wrote: In 2.4 there was support for deploying without using the hot deploy via the JMX interface. I assume its still there in 3.0, although haven't looked as yet. Perhaps that might be a solution for you - dont put the jar/war/ear in the deploy dir, but instead find the interface in jmx, and tell it where it is (full url: file:///home/dim/blah/myapp.ear) hth dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: Dmitri Colebatch [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:51 AM Subject: Re: [JBoss-user] EJB deployment problem I am running on solaris2.8, and behaviour on my machine I presume would be similar to jboss's behaviour on linux, especially with respect to hot deploy... Can somebody tell me if there is a fix to this problem...How do I go abt deploying an application on solaris?? -Vishwas. Dmitri Colebatch wrote: You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
David, You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. I haven't seen this in quite a while and thought I'd fixed it, and I'm running on linux. Can you send me an example showing this problem? oh... at the moment I cant, but I will when I get home tonight. The only thing I can tell you atm is that its Mandrake 8.2, sun 1.3 jvm, and I'm deploying an ear that contains a jar and war. Last time I checked this was cvs a couple of days ago. When I get home tonight I'll check that I still see the problem on current cvs, and if so send you privately the ear that I'm deploying. cheesr dim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB deployment problem
For jboss 3 beta you use the main deployer, which figures out what you are trying to deploy http://localhost:8082/ViewObjectRes//jboss%2Esystem%3Aservice%3DMainDeployer On 2002.02.22 18:34:41 -0500 Dmitri Colebatch wrote: I'm not going to be able to be too detailed answer, but... on 2.4 - look at http://localhost:8082/ViewObjectRes//J2EE%3Aservice%3DJ2eeDeployer to deploy the application manually. then on 3.0 I guess its just a matter of finding where that has moved to (assuming its still there) and using it there.. hth dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 10:17 AM Subject: Re: [JBoss-user] EJB deployment problem Even in 2.4 I used only the hot deploy to deploy my sample applications. How would I go about using the jmx interface to deploy my applications? Sorry if my questions are too amateurish.. I am still trying to figure out a lot of fundamentals in this technology. -Vishwas. Dmitri Colebatch wrote: In 2.4 there was support for deploying without using the hot deploy via the JMX interface. I assume its still there in 3.0, although haven't looked as yet. Perhaps that might be a solution for you - dont put the jar/war/ear in the deploy dir, but instead find the interface in jmx, and tell it where it is (full url: file:///home/dim/blah/myapp.ear) hth dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: Dmitri Colebatch [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:51 AM Subject: Re: [JBoss-user] EJB deployment problem I am running on solaris2.8, and behaviour on my machine I presume would be similar to jboss's behaviour on linux, especially with respect to hot deploy... Can somebody tell me if there is a fix to this problem...How do I go abt deploying an application on solaris?? -Vishwas. Dmitri Colebatch wrote: You're running on linux right? I also found that (running off a cvs version), but hadn't really looked into it... works fine on NT... so I have the choice between NT's stupid file locking killing the hot deploy, or the over-enthusiastic hot-deploy on linux. sorry this isn't any help - but I know what you're talking about (o: cheers dim - Original Message - From: Vishwas Raman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 9:24 AM Subject: [JBoss-user] EJB deployment problem Hi all, I set up the jboss3.0beta version and managed to start up the server too. I wanted to know what is the procedure to deploy a sample EJB application. This application could be as simple as one with just a single stateless session bean. I tried compiling an application jar( which apparently worked very well with jboss2.4) and placing it in the build/output/deploy jboss runtime directory. When I do that, the server goes in an infinite loop of deploying and undeloying that application. I dont know why that happens!! Is there anything else I need to do to deploy a sample application in jboss3.0beta?? Any help would be appreciated! -Vishwas. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ -- Vishwas Raman Software Engineer, Eternal Systems, Inc, 5290 Overpass Rd, Bldg D, Santa Barbara. CA 93111 Email: [EMAIL PROTECTED] Tel: (805) 696-9051 x246 Fax: (805) 696-9083 URL: http://www.eternal-systems.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem Getting Something Stored in env-entry
I am storing a value in the env via my ejb-jar.xml file as follows: env-entry env-entry-nameclientName/env-entry-name env-entry-typejava.lang.String/env-entry-type env-entry-valuegroundswell/env-entry-value /env-entry When I try to look it up in my bean like this: String clientName = (String)jndiContext.lookup(java:comp/env/clientName); I get this: javax.naming.NameNotFoundException: clientName not bound According to a couple of my J2EE books, java:comp/env/ is where that stuff should be stored... So what am I doing wrong? Peeking in with JNDI view, I don't see my value anywhere in the tree... Hunter ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Problem Getting Something Stored in env-entry
I would guess your ejb-jar.xml is not correct. Turn on validation of the dtd by setting the ValidateDTDs to true and include the correct DOCTYPE in the ejb-jar.xml descriptor. mbean code=org.jboss.ejb.ContainerFactory name=:service=ContainerFactory attribute name=VerifyDeploymentstrue/attribute attribute name=ValidateDTDstrue/attribute attribute name=MetricsEnabledfalse/attribute attribute name=VerifierVerbosetrue/attribute attribute name=BeanCacheJMSMonitoringEnabledfalse/attribute /mbean Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Hunter Hillegas [EMAIL PROTECTED] To: JBoss 2 [EMAIL PROTECTED] Sent: Friday, February 22, 2002 3:20 PM Subject: [JBoss-user] Problem Getting Something Stored in env-entry I am storing a value in the env via my ejb-jar.xml file as follows: env-entry env-entry-nameclientName/env-entry-name env-entry-typejava.lang.String/env-entry-type env-entry-valuegroundswell/env-entry-value /env-entry When I try to look it up in my bean like this: String clientName = (String)jndiContext.lookup(java:comp/env/clientName); I get this: javax.naming.NameNotFoundException: clientName not bound According to a couple of my J2EE books, java:comp/env/ is where that stuff should be stored... So what am I doing wrong? Peeking in with JNDI view, I don't see my value anywhere in the tree... Hunter ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss under Windows
I was just wondering why it is that JBoss 2.4.4 running under Windows behaves completely different to JBoss 2.4.4 running under Linux, where logging is concerned? With the default logging levels, under Linux on the deployment of a jar file, I get about 2-1/2 screens worth of information; under Windows I only get about 3 or 4 lines. All of my log4j logging is output under Linux as well...not one bit of it is output under Windows. Full Javamail debugging is also output under Linux; with the same mail.properties file under Windowsnotta. Is there something major I'm missing here? This is all with exactly the same binaries, exactly the same versions of the jar files, exactly the same configuration files. Under Linux, I'm using Blackdown JDK 1.3.0FCS; under Windows I'm using Sun JDK 1.3.1_02...just using Blackdown under Linux because it's not as painfully slow as Sun's JDK, but Sun's JDK produced the same results as far as logging goes under Linux. Thanks in advance. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user