[JBoss-user] JBoss Books are not available?
Hi: I am trying to pay the JBoss paid docs, but looks like flashline doesn't carry them anymore. Has there been change of plans? Thanks Keith --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Base Documentation update on free anymore?
I bought the base documentation in Jan 24 from FlashLine under the recommendations in this mailing list that I will continue to get free updates of the docs until the final version of the documentation. I noticed a new version dated 3/3/2002 on the web, but Flashline wants another $10 for the copy. How many more versions are there before the final book? I may end up paying a lot more than the to-be-published book. Anyone having the same experience? Thanks keith ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Remote JMS reconnection problem
Hi: I am currently running JBoss-2.4.4-Tomcat-4.0.1 and I have implemented a MOB which forwards a message from a local queue to another remote queue. Everything works fine until I shut down the remote Jobs server (hence the remote queue). Now, when a message is present in the local queue, the local MOB picks it up and tries to forward it to the remote queue. Since, the remote queue is done, it tries to resend it over and over again. Is there any control over how often it should retry? Then, when I bring up the remote Jobs server (hence the remote queue), the delivery of these messages through the retries continue to fail. It looks like the local Jobs server is not re-establishing connecting to the remote Jobs server once the connection to the remote server is broken. The only way the retries become successful is when I restart the local JBoss server while the remote Jboss server is up. It is a known problem or am I doing something incorrectly? Thanks keith ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Remote JMS Queues
Hi: How does a JMS client connects to a local JBoss server (or local JMS server) which includes a queue running on another remote JBoss server? I like to have the JMS client lookup that particular through the local JBoss server's JNDI instead of connecting to the remote JBoss server's JNDI. Also, the message has to be persisted on the local JBoss server when the remote JBoss server goes down. Whenever the remote JBoss server comes back up, will the local JBoss server push those persisted messages across? I have looked through the recent JBoss book from Scott and the on-line HTML JBoss manual but cannot seem to find an example how to set up such a configuration. Thanks in advance, keith ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss Book
Hi: I am considering buying the latest softcopy of the JBoss book written by Scott. However, one thing that came to mind is that if I bought it now, how do I get subsequent updates for that book? Is this going to be the eventual printed book by SAMS? Thanks keith ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] passing interface as an EJB parameter?
Hi: Is it legal to pass an interface like List as a parameter to a remote interface of an EJB? Conversely, how about returning an interace like List as the return type? Since List is an interface and not serializable, I wonder if it would be marshalled/unmarshalled correctly. Thanks, keith ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] J2EE application client
Hi: I remembered I asked this question a while back, and somebody on this list mentioned that this feature was in the works. I was wondering if the current 2.4.4 has this feature incorporated. The question was if JBoss supports the J2EE application client as spec'd in the J2EE 1.2 specification. That is, I can reference EJB from my standalone Swing application using the java:comp/env/ejb/ejbname syntax using the application-client.xml deployment descriptor file? Thanks, keith ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] javax.naming.NameAlreadyBoundException; remaining name 'env'
Hi: I wonder if anyone is encountering the same problem as I do. I have 2 EJBs in an application, and one of them makes a jndi look up in the constructor as shown: package com.example; import java.rmi.RemoteException; import javax.ejb.*; import javax.naming.InitialContext; public class ExampleMainEJB implements SessionBean { public ExampleMainEJB () { try { InitialContext c=new InitialContext(); System.err.println("Initial context:"+c); System.err.println("lookup:"+c.lookup("java:comp/env/blah")); } catch (Exception e) { System.err.println("Exception:"+e); } } public void ejbCreate() {} public void ejbRemove() {} public void ejbActivate() {} public void ejbPassivate(){} public void setSessionContext(SessionContext sc) {} } JBoss-2.4.3-Catalina-4.0 will fail to deploy with these error messages in the server.log: [Container factory] Begin java:comp/env for EJB: ExampleMain^M [Container factory] TCL: java.net.URLClassLoader@e18a3^M [Container factory] javax.naming.NameAlreadyBoundException; remaining name 'env' ^M [Container factory] at org.jnp.server.NamingServer.createSubcontext(NamingSe rver.java:451)^M [Container factory] at org.jnp.interfaces.NamingContext.createSubcontext(Nam ingContext.java:648)^M [Container factory] at org.jnp.interfaces.NamingContext.createSubcontext(Nam ingContext.java:634)^M [Container factory] at org.jboss.ejb.Container.setupEnvironment(Container.ja va:444)^M [Container factory] at org.jboss.ejb.Container.init(Container.java:356)^M [Container factory] at org.jboss.ejb.StatelessSessionContainer.init(Stateles sSessionContainer.java:152)^M [Container factory] at org.jboss.ejb.Application.init(Application.java:202)^ M [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:372)^M [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:304)^M [Container factory] at java.lang.reflect.Method.invoke(Native Method)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523)^M [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDe ployer.java:494)^M [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2 eeDeployer.java:468)^M [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer .java:208)^M [Container factory] at java.lang.reflect.Method.invoke(Native Method)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523)^M [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:3 79)^M [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) ^M [Container factory] at java.lang.Thread.run(Thread.java:484)^M [Container factory] java.lang.NullPointerException^M [Container factory] at org.jboss.ejb.Container.setupEnvironment(Container.ja va:633)^M [Container factory] at org.jboss.ejb.Container.init(Container.java:356)^M [Container factory] at org.jboss.ejb.StatelessSessionContainer.init(Stateles sSessionContainer.java:152)^M [Container factory] at org.jboss.ejb.Application.init(Application.java:202)^ M [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:372)^M [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:304)^M [Container factory] at java.lang.reflect.Method.invoke(Native Method)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523)^M [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDe ployer.java:494)^M [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2 eeDeployer.java:468)^M [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer .java:208)^M [Container factory] at java.lang.reflect.Method.invoke(Native Method)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628)^M [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523)^M [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:3 79)^M [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) ^M [Container factory] at java.lang.Thread.run(Thread.java:484)^M [Container factory] java.lang.NullPointerException^M [Container factory] at org.jboss.ejb.Container.setupEnvironment(Container.ja va:633)^M [Container factory] at org.jboss.ejb.Container.init(Contai
[JBoss-user] RE: JBoss-2.4.3 and NameAlreadyBoundException problem
Hi, I tried to attach the sample source which will reproduce the problem whereby there seem to be problem when a new InitialContext is created, and a lookup is done with the constructor of an EJB. This only happens when deploying 2 or more EJBs in an application. It failed to get submitted for some reason. I am attaching the sample source and the server.log file here. The offending code seems to be here: package com.example; import java.rmi.RemoteException; import javax.ejb.*; import javax.naming.InitialContext; public class ExampleMainEJB implements SessionBean { public ExampleMainEJB () { try { InitialContext c=new InitialContext(); System.err.println("Initial context:"+c); System.err.println("lookup:"+c.lookup("java:comp/env/blah")); } catch (Exception e) { System.err.println("Exception:"+e); } } public void ejbCreate() {} public void ejbRemove() {} public void ejbActivate() {} public void ejbPassivate(){} public void setSessionContext(SessionContext sc) {} } I am using JBoss-2.4.3_Tomcat-4.0. Thanks keith sampe2.zip Description: Zip compressed data
[JBoss-user] JBoss-2.4.3 and NameAlreadyBoundException problem
Hi: I am trying to deploy 2 simple EJBs with these xmls, and I am get javax.naming.NameAlreadyBoundException exception on JBoss 2.4.1 and JBoss 2.4.3. I looked at the Changelog, and one of the changes was that subcontexts in the jndi tree will not be deleted and recreated. What do I have to change in my xmls so as to be compatible with then new change? Thanks keith http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> no description Example Example Browser ExampleBrowser ExampleBrowser com.netsco.example.app.ejb.ExampleBrowserHome com.netsco.example.app.ejb.ExampleBrowser com.netsco.example.app.ejb.ExampleBrowserEJB Stateless Container Data Source jdbc/DefaultDB javax.sql.DataSource Container Example Main ExampleMain ExampleMain com.netsco.example.app.ExampleMainHome com.netsco.example.app.ExampleMain com.netsco.example.app.ExampleMainEJB Stateful Container ExampleBrowser Session com.netsco.example.app.ejb.ExampleBrowserHome com.netsco.example.app.ejb.ExampleBrowser ExampleBrowser Example Data Source jdbc/DefaultDB javax.sql.DataSource Container ExampleBrowser Remote * Required ExampleMain Remote * Required and jboss.xml : http://www.jboss.org/j2ee dtd/jboss_2_4.dtd"> ExampleMain example/ExampleMain ExampleBrowser example/ExampleBrowser jdbc/DefaultDB java:/OracleDS and I got these errors from JBoss. [Container factory] Deploying ExampleMain [Container factory] Deploying ExampleBrowser [Container factory] javax.naming.NameAlreadyBoundException; remaining name 'env' [Container factory] at org.jnp.server.NamingServer.createSubcontext(NamingSe rver.java:451) [Container factory] at org.jnp.interfaces.NamingContext.createSubcontext(Nam ingContext.java:648) [Container factory] at org.jnp.interfaces.NamingContext.createSubcontext(Nam ingContext.java:634) [Container factory] at org.jboss.ejb.Container.setupEnvironment(Container.ja va:444) [Container factory] at org.jboss.ejb.Container.init(Container.java:356) [Container factory] at org.jboss.ejb.StatefulSessionContainer.init(StatefulS essionContainer.java:182) [Container factory] at org.jboss.ejb.Application.init(Application.java:202) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:372) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:304) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDe ployer.java:494) [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2 eeDeployer.java:468) [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer .java:208) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:3 79) [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) [Container factory] at java.lang.Thread.run(Thread.java:484) [Container factory] java.lang.NullPointerException [Container factory] at org.jboss.ejb.Container.setupEnvironment(Container.ja va:633) [Container factory] at org.jboss.ejb.Container.init(Container.java:356) [Container factory] at org.jboss.ejb.StatefulSessionContainer.init(StatefulS essionContainer.java:182) [Container factory] at org.jboss.ejb.Application.init(Application.java:202) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:372) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor y.java:304) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDe ployer.java:494) [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2 eeDeployer.java:468) [Container factory] at org.jboss.deployment.J2eeDeployer.d
RE: [JBoss-user] standalone J2EE java client
Hi Chris, I also like to use the ejb-ref specified in the application-client.xml, and the container security. The J2EE reference implementation, weblogic and iplanet have this facility, so that the fat client can be run in an application container. I wonder if JBoss has such a thing as well. Thanks, keith >From: "Kimpton,C (Chris)" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: RE: [JBoss-user] standalone J2EE java client >Date: Mon, 18 Jun 2001 15:27:36 +0100 >Reply-To: [EMAIL PROTECTED] > >Hi, > >If by this, you mean a standalone application/VM that talks to another VM >running JBoss, then yes, it does. Such as a fat client GUI... > >You "just" need to have the jboss client jars in your standalone apps >classpath and have it configured to find your jndi server - which is >probably your jboss server machine. > >HTH, >Chris > -Original Message- > From: Keith Kee [mailto:[EMAIL PROTECTED]] > Sent: Monday, 18 June 2001 15:06 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] standalone J2EE java client >=20 >=20 > Hi: > I have been searching the mailing list archive and the=20 > manual, but do not > seem to be able to find any mention about the support for=20 > standalone J2EE > java client. Does JBoss support that? >=20 > Thanks in advance, > keith >=20 >=20 > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user >=20 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] standalone J2EE java client
Hi: I have been searching the mailing list archive and the manual, but do not seem to be able to find any mention about the support for standalone J2EE java client. Does JBoss support that? Thanks in advance, keith ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] How do I ask jboss to search DTDs locally first?
Hi: I discovered to my horror this morning that my ejbs are totally dependent on the Internet when JBoss began to fail because it could not access jboss.dtd at http://www.jboss.org/documentation. This was the error message I got below: Cause:org.jboss.ejb.DeploymentException: External entity not found: "http://www.jboss.org/documentation/jboss.dtd";., Cause:java.io.FileNotFoundException: http://www.jboss.org/documentation/jboss.dtd I wonder if there is anyway to tell JBoss to search the dtd in the classpath before accessing the dtd on the Internet? I vaguely weblogic and sun's j2ee sdk do something like that. Any suggestion is welcome, keith ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] passing paramets/args to embedded tomcat
Hi: I am using Jboss-2.2.2_Tomcat-3.2.2, and like to be able to pass arguments to tomcat during startup. For instance, I want tomcat to read an alternative file, rather that server.xml. How can I do that? Thanks! keith ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Support for J2EE java client?
Hi: Does JBoss support the standalone J2EE java client implementation? Just to be sure that I am using the right term, I want to write standalone java clients which can lookup EJBs using the convention: "java:comp/env/ejbname", and the J2EE security services. Thanks! keith ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] difference between res-name and resource-name?
Hi: What is the difference between res-name and resource-name in the jboss.dtd? thanks keith ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jsp cannot import classes from the common classpath. Will it be fixed?
According to the JBOSS manual, I can specify a "common" classpath in the Class-Path directive of the MANIFEST file. This should cause the libraries listed by the directive to be loaded by the application classloader as such these classes would be visible to the jsps. However, it does not seem to pass this classpath information to the jspC when it tries to compile the jsps in the war file. Thanks keith >Keith, > >What do you mean by the "common" classpath? Hopefully you're not >talking about what is traditionally in the $CLASSPATH env variable. If >your JSP needs some of your own defined classes to work, they should be >put in your WAR file in the WEB-INF/classes directory. These will be >automatically loaded by Tomcat so they are available to your web app. >All this is in the servlet2.2 spec. > >Of course, maybe you mean something completely different and I'm just >being ignorant (it's been known to happen). ;) > >Hope this helps, >David > >--> > >Keith Kee wrote: > > Hi: >I'm a newbie trying to get my jsps to run on JBoss 2.2.1 and embedded > tomcat 3.2.1. It seems like the jspc cannot find the classes on the common > path (using the Class-Path directive) which my jsp is trying to import. I > searched in the mailing list archive and found that a lot of the people had > the same problem. >I was wondering if this problem will be fixed, or it is a limitation of > tomcat? > > Thanks > keith > > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jsp cannot import classes from the common classpath. Will it be fixed?
Hi: I'm a newbie trying to get my jsps to run on JBoss 2.2.1 and embedded tomcat 3.2.1. It seems like the jspc cannot find the classes on the common path (using the Class-Path directive) which my jsp is trying to import. I searched in the mailing list archive and found that a lot of the people had the same problem. I was wondering if this problem will be fixed, or it is a limitation of tomcat? Thanks keith ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user