[JBoss-user] Connection is broken
[Default] Error:Connection is broken[GetDBConnection] XAException: tx=XidImpl [FormatId=257, GlobalId=zyb//10, BranchQual=] errorCode=XA_UNKNOWN(0)[GetDBConnection] javax.transaction.xa.XAException: Rollback failed: Connectionis broken[GetDBConnection] at org.jboss.pool.jdbc.xa.wrapper.XAResourceImpl.rollback(XAResourceImpl.java:219) // public java.sql.Connection GetConnection() throws RemoteException{java.sql.Connection con;try {con = ds.getConnection("scott","tiger");Statement stmt = con.createStatement ();ResultSet rset = stmt.executeQuery ("select id from scott.info");while (rset.next ()) {String roomid= rset.getString("ID");System.out.println("bbs: " + roomid);}return con;} catch( Exception ex ) {System.out.println("Error:" + ex.getMessage());throw new RemoteException( ex.getMessage() );}}/ I use a pool named OraclePool ,which was tested successfuly! I alsotested my pool with the oracle.jdbc.driver.OracleDriver and it passed.
[JBoss-user] IBM Eclipse and JBoss
Hi, does someone has integrated JBoss 2.x into IBM Eclipse for debugging ejbs? Thanks ! ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] IBM Eclipse and JBoss
Hello, See: http://www.jboss.org/forums/thread.jsp?forum=52thread=3783 for JBoss2.4.3+Tomcat3.2.3 on W2K+SUN JDK1.3.1_01, Eclipse 1.0 1. create an eclipse.bat at jboss_home/bin and double-click it. - set ECLIPSE_HOME=eclipse_home %ECLIPSE_HOME%\exclipse.exe -data %ECLIPSE_HOME%\workspace - 2.create Java Project in eclipse add jboss_home\bin\run.jar add jboss_home\lib\crimson.jar add java_home\lib\tools.jar 3. Open the run.jar in eclipse and set properties for org.jboss.Main Program arg: tomcat VM args: -mx128m -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.D ocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.cr imson.jaxp.SAXParserFactoryImpl -Djava.compiler=NONE ( as for -Djava.compiler=NONE, it keeps away from the windows' Application Error on my box, though I'm not sure.) 4. select org.jboss.Main and Debug-Java Application Shunsuke Masuda ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Forum for App Contribution
Hi all - esp. Marc, Is a forum going to be created for the application contribution? Peter. E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-user shutdown
My only addition to the debate of the jboss-user mailing list shutdown is can the folks at JBoss.org please test their website with Opera and fix it. I have found that I have had to fall back to a windoze pc running IE in order to get stuff from the site because Opera is unhappy with the layout. If it is truly an Opera issue then I guess I can survive. Thanks, -Kent ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss and Tomcat : together or separate?
On Friday 07 December 2001 07:17, Guy Rouillier wrote: Hi, What is confusing me, is does JBoss need to know about Tomcat or visa versa? Our EJBs provide services that are used on the JSP pages, so Tomcat needs to know where JBoss is running (so it can do lookups on the EJBs) but JBoss doesn't need to know anything about Tomcat. Thanks for that. A you can guess I am pretty new to all the set-up admin side side of things, so fitting the jigsaw together is taking a bit of time to understand. What confused me was the JBoss with imbedded Tomcat download, and wasn't sure who had to know about who. Phil -- Linux 2.4.4-4GB 6:17pm up 2 days, 8:25, 1 user, load average: 0.24, 0.08, 0.02 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Forum for App Contribution
on 1-12-07 15.29, Peter Shillan at [EMAIL PROTECTED] wrote: created for the application contribution? You can use http://jboss.org/forums/forum.jsp?forum=77 for now ... /peter_f ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Where is EJX?
EJX is dead; a popular replacement is XDoclet (formerly EJBDoclet), which generates home/remote interfaces, primary key classes, deployment descriptors, and the occasional kitchen sink from a single source file. XDoclet is a Javadoc doclet that runs at compile time as opposed to a GUI like EJX, but I think you'll find that automatically generating your deployment descriptors is far superior to hand-coding them. http://xdoclet.sourceforge.net/ Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DOD Sent: Thursday, December 06, 2001 10:42 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Where is EJX? Hi, I've just installed JBoss 2.4.3, but I can't find EJX in the /bin directory - can anybody tell me where to find it? Or is there a new deployment tool in JBoss I haven't found yet? Thanks in advance DOD. ___ 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] TopLink for CMP
Hello- I'm a java developer using WLS5.1 + TopLink 2.5.1. We're migrating to WLS6.1 + TopLink 3.6. I'm trying to convince the higher ups to go to JBoss2.4.3. However, our app depends heavily upon TopLink for CMP. I've done some searching on if TopLink CMP is supported by JBoss but can't find any definitive answers. Has anyone tried this and gotten it to work? -c ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Where is EJX?
On Fri, 7 Dec 2001, Steve Magoun wrote: EJX is dead; a popular replacement is XDoclet (formerly EJBDoclet), which generates home/remote interfaces, primary key classes, deployment descriptors, and the occasional kitchen sink from a single source file. XDoclet is a Javadoc doclet that runs at compile time as opposed to a GUI like EJX, but I think you'll find that automatically generating your deployment descriptors is far superior to hand-coding them. http://xdoclet.sourceforge.net/ that page only has the current release's doco. You would also want to visit http://sourceforge.net/projects/xdoclet for downloads etc. A new release will be available shortly. cheers dim Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DOD Sent: Thursday, December 06, 2001 10:42 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Where is EJX? Hi, I've just installed JBoss 2.4.3, but I can't find EJX in the /bin directory - can anybody tell me where to find it? Or is there a new deployment tool in JBoss I haven't found yet? Thanks in advance DOD. ___ 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] TopLink for CMP
You might have better luck asking this in the online forums: http://jboss.org/forums/ --jason On 7 Dec 2001, Christopher Blunck wrote: Hello- I'm a java developer using WLS5.1 + TopLink 2.5.1. We're migrating to WLS6.1 + TopLink 3.6. I'm trying to convince the higher ups to go to JBoss2.4.3. However, our app depends heavily upon TopLink for CMP. I've done some searching on if TopLink CMP is supported by JBoss but can't find any definitive answers. Has anyone tried this and gotten it to work? -c ___ 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] JBoss + Tomcat running independently
No, nothing special, other than to make sure that the jboss/client classes are in the tomcat/lib directory. - Original Message - From: Allan Kamau [EMAIL PROTECTED] To: Guy Rouillier [EMAIL PROTECTED] Sent: Friday, December 07, 2001 4:01 AM Subject: Re: [JBoss-user] JBoss + Tomcat running independently Hi, Isn't there a way to connect directly to and EJB from a servlet running in and independent Tomcat. The advantage of doing so is to enable the developer (especially during development) to focus on smaller modules and to avoid having to upgrade to the latest JBOSS-TC distribution instead of just having to upgrade JBOSS or TC independently. Sometime back I tried and failed to connect to an EJB hosted in JBoss from a servlet running on Tomcat independent of JBoss. However I was able to connect to the EJB from a client application of the same code that I used in the servlet. This code was adopted from the sample application in the JBoss docs. Is there any special what to connect to an EJB from servlet in this case as compared to a stand alone client application? Allan Kamau. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Struts Exception with beanutils HELP and JBoss 2.2.2Tomcat3.2.2
Hi, I use struts from the nighly build of 04.11.200 and JBoss 2.2.2Tomcat3.2.2. In my WEB-INF/lib I have the following jars struts.jar tiles.jar commons-beanutils.jar commons-collections.jar commons-digester.jar and ant.jar xerces.jar jndi.jar jdbc2_0-stdext.jar If I start it with that Struts starts fine but because I use the PropertyUtils from the common-beanutils.jar in my ValueObjects I also have to copy that jar to JBoss/lib/ext. If I than start JBoss I get the following Exception: [EmbeddedTomcatSX] Starting [EmbeddedTomcatSX] Starting EmbeddedTomcatSX 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /examples ) 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /admin ) [EmbeddedTomcatSX] Starting tomcat. Check logs/tomcat.log for error messages 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /iwf-test ) 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( ) [EmbeddedTomcatSX] End event threw exception java.lang.reflect.InvocationTargetException: [EmbeddedTomcatSX] java.lang.IllegalArgumentException: Must specify one of forward, include or type for path null [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.addMapping(ActionServlet.java:572) [EmbeddedTomcatSX] at java.lang.reflect.Method.invoke(Native Method) [EmbeddedTomcatSX] at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:160) [EmbeddedTomcatSX] at org.apache.commons.digester.Digester.endElement(Digester.java:757) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1489) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.content(Parser2.java:1700) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.content(Parser2.java:1700) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499) [EmbeddedTomcatSX] at org.apache.crimson.parser.Parser2.parse(Parser2.java:304) [EmbeddedTomcatSX] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433) [EmbeddedTomcatSX] at org.apache.commons.digester.Digester.parse(Digester.java:1206) [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1274) [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:461) [EmbeddedTomcatSX] at org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.j ava:52) [EmbeddedTomcatSX] at javax.servlet.GenericServlet.init(GenericServlet.java:258) [EmbeddedTomcatSX] at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) [EmbeddedTomcatSX] at org.apache.tomcat.core.Handler.init(Handler.java:215) [EmbeddedTomcatSX] at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) [EmbeddedTomcatSX] at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup Interceptor.java:130) [EmbeddedTomcatSX] at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491) [EmbeddedTomcatSX] at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453) [EmbeddedTomcatSX] at org.jboss.tomcat.TomcatEntry.execute(TomcatEntry.java:337) [EmbeddedTomcatSX] at org.jboss.tomcat.TomcatEntry.init(TomcatEntry.java:76) [EmbeddedTomcatSX] at org.jboss.tomcat.EmbeddedTomcatServiceSX.startService(EmbeddedTomcatServiceS X.java:77) [EmbeddedTomcatSX] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [EmbeddedTomcatSX] at java.lang.reflect.Method.invoke(Native Method) [EmbeddedTomcatSX] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [EmbeddedTomcatSX] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [EmbeddedTomcatSX] at org.jboss.util.ServiceControl.start(ServiceControl.java:97) [EmbeddedTomcatSX] at java.lang.reflect.Method.invoke(Native Method) [EmbeddedTomcatSX] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [EmbeddedTomcatSX] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [EmbeddedTomcatSX] at org.jboss.Main.init(Main.java:217) [EmbeddedTomcatSX] at org.jboss.Main$1.run(Main.java:121) [EmbeddedTomcatSX] at java.security.AccessController.doPrivileged(Native Method) [EmbeddedTomcatSX] at org.jboss.Main.main(Main.java:117) [EmbeddedTomcatSX] cannot load servlet name: action: Parsing error processing resource path /WEB-INF/struts-config.xml AND my struts-config.xml looks like: ?xml version=1.0 encoding=UTF-8? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; !-- This is the Struts configuration file for the example
Re: [JBoss-user] Struts Exception with beanutils HELP and JBoss 2.2.2Tomcat3.2.2
Hi Dirk, I use struts 1.0 with jboss so I have no experience with any of the new features. Your struts-config.xml looks fine to me. Had you been able to run any of the struts example WARs ? Their struts-config.xml might be more basic. A different approach might also be to remove everything but a basic struts action and figure out what goes wrong. Ciao, Sebastian storck wrote: If I than start JBoss I get the following Exception: [EmbeddedTomcatSX] Starting [EmbeddedTomcatSX] Starting EmbeddedTomcatSX 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /examples ) 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /admin ) [EmbeddedTomcatSX] Starting tomcat. Check logs/tomcat.log for error messages 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /iwf-test ) 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( ) [EmbeddedTomcatSX] End event threw exception java.lang.reflect.InvocationTargetException: [EmbeddedTomcatSX] java.lang.IllegalArgumentException: Must specify one of forward, include or type for path null [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.addMapping(ActionServlet.java:572) ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user