[JBoss-user] Transaction timed out --I need help!
Hi all I am using a BMP which carries a lot of pooling. After about 5 min Jboss freezes and my connection gets hung forever: [[TIME] Transaction XidImpl [FormatId=257, GlobalId=a//1127, BranchQual=] timed o ut. status=STATUS_ACTIVE [TIME] Transaction XidImpl [FormatId=257, GlobalId=a//1128, BranchQual=] timed o ut. status=STATUS_ACTIVE] All my PreparedStatements and connections seem to be shut up My question is: Is it possible to control by bean passivation and transaction time out?,and if so can I do this through the TranscationManagerService bean in jboss.jcml or any diff configuration any suggestion mostly appreciated Faisal Abdallah ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss CD Example - 'pload: can't read file ` cds.txt error
in the Upload class where public static void main(String[] args) { String filename = "CDs.txt"; try { put the cds.txt classpath for instance C:\jboss\cds.txt it will work Faisal Abdallah - Original Message - From: "Sigurður Reynisson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 6:58 PM Subject: [JBoss-user] Jboss CD Example - 'pload: can't read file ` cds.txt error > Hi y'all! > > I'm running the run_upload.sh script on a Linux box. > The table is created in my database (SapDB) but all I get is: > > 'pload: can't read file ` cds.txt > > oh, I've also set the primary key manually on the CDBEAN table > and I'm using the latest scripts from the JBoss mailing list. > > Anyone solved this problem? Hints? Links? > TIA! > -- > sr > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] EJB in depth
Have a look at Roman's Mastering EJB II in www.theserverside.com EJB demistified! in't faisal abdallah
Re: [JBoss-user] Need more examples contributed by others
Absolutely.. me personnaly I will be sending many web app adapated to Jboss such as Petstore1.2 ,Sun's duke example and many more.. - Original Message - From: "Robert Finneran" <[EMAIL PROTECTED]> To: "Jboss-User" <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 9:28 PM Subject: [JBoss-user] Need more examples contributed by others > > I think it would be an absolute godsend if more people contributed to the > documentation, especially in the area of concrete examples. > > I know the core JBoss team is really busy, so it I would image they would > welcome any such efforts. Often the topic of the questions belongs more > appropriately to a basics of J2EE, J2EE configuration and security but it > can be very confusing to know where the problem exists: Where did I go > wrong? > > I for one hope to write some docs for this project very soon, but I'm afraid > it would be the blind leading the blind right now! (But thats a poor > excuse...) > > > Martin Welch <[EMAIL PROTECTED]> wrote: > > Amos, > > > > Erk. Hands up -- I didn't use EAR, WARs etc. I've > > done everything by hand -- > > a batch file to create the jars and a manual copy of > > all the necessary > > files. > > > > My next step is to create a simple example of my own > > and use Ant (which I > > don't understand at all yet) to create there EARs > > and WARs (which I also > > don't understand). > > > > If you wish I'll document what I did if that helps. > > Would this be of > > interest to others? > > > > Martin > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss_tomcat on win98
go to property in window DOS then go to memory then change the initial environment to 4069 then restart your computer u will get rid of this.. Faisal abdallah - Original Message - From: "cxc cxcc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 28, 2001 7:38 PM Subject: [JBoss-user] jboss_tomcat on win98 > Hi, > I Have just downloaded JBoss-2.2.2_Tomcat-3.2.2 and > trying to get it up and running on windows 98.Does anu > one know why I am getting this error.. > > C:\JBoss-2.2.2_Tomcat-3.2.2\jboss\bin>run_with_tomcat > Out of environment space > Out of environment space > Out of environment space > Syntax error > Syntax error > JBOSS_CLASSPATH= > Exception in thread "main" > java.lang.NoClassDefFoundError: org/j > Press any key to continue . . . > > I have set the environment variable JAVA_HOME TO my > jdk1.2.2...do I have to > set anything else? > thanks in advance > sam > > __ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MySQL, CMP Deployment Problem
try to remove the deployed app ear from jboss jboss\tmp dir and redeploy your app .. faisal - Original Message - From: Scott Salisbury To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 6:45 PM Subject: [JBoss-user] MySQL, CMP Deployment Problem Hello, I have a CMP bean that I have deployed. Then, I needed to make a change to it. I dropped the table in MySQL. I made changes to the Bean, the remote interface and made an unrelated changed to the home interface. When I redeployed the bean, it created the table in MySQL properly but the new methods created in the remote interface and the bean itself do not seem to be recognized by the container. No matter how many times I deploy the new bean It is as if the container still sees the old version of the bean. I get the following message as soon as the client attempts to use one of the new set methods: Starting application C:\hcolab\com\src\client\PatientHeaderClient1.class java.lang.NullPointerException: METHOD IS NOT FOUND:1805719028046769171 {-5255848813930177983=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_phone2() throws java.rmi.RemoteException, 3163754803894080547=public abstract javax.ejb.EJBHome javax.ejb.EJBObject.getEJBHome() throws java.rmi.RemoteException, -5013858639939630501=public abstract void javax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.RemoveException, 2853099017234602568=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_city() throws java.rmi.RemoteException, 6036037884840400122=public abstract void com.src.entity.patientheader.PatientHeader.setPath_address1(java.lang.String ) throws java.rmi.RemoteException, -3446593176504354005=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_zip5() throws java.rmi.RemoteException, -1299374689989208114=public abstract javax.ejb.Handle javax.ejb.EJBObject.getHandle() throws java.rmi.RemoteException, 7269583083171870464=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_zip4() throws java.rmi.RemoteException, -5000846178844685185=public abstract void com.src.entity.patientheader.PatientHeader.setPath_address2(java.lang.String ) throws java.rmi.RemoteException, -8411450506172018100=public abstract void com.src.entity.patientheader.PatientHeader.setPath_phone2(java.lang.String) throws java.rmi.RemoteException, -5545972421826780573=public abstract void com.src.entity.patientheader.PatientHeader.setPath_city(java.lang.String) throws java.rmi.RemoteException, 4840115071604865751=public abstract java.lang.Object javax.ejb.EJBObject.getPrimaryKey() throws java.rmi.RemoteException, -5909123752501984271=public abstract boolean javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObject) throws java.rmi.RemoteException, 9026218837603035593=public abstract void com.src.entity.patientheader.PatientHeader.setPath_zip5(java.lang.String) throws java.rmi.RemoteException, -7928200802148724701=public abstract void com.src.entity.patientheader.PatientHeader.setPath_status(java.lang.String) throws java.rmi.RemoteException, 2134192518985930584=public abstract void com.src.entity.patientheader.PatientHeader.setPath_family_name(java.lang.Str ing) throws java.rmi.RemoteException, 6283280847626038255=public abstract void com.src.entity.patientheader.PatientHeader.setPath_phone1(java.lang.String) throws java.rmi.RemoteException, -3049668112836649109=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_phone1() throws java.rmi.RemoteException, -7433864360636410658=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_status() throws java.rmi.RemoteException, -8030792434171256968=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_state() throws java.rmi.RemoteException, 7869734942315608452=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_address2() throws java.rmi.RemoteException, -6088873200954834602=public abstract void com.src.entity.patientheader.PatientHeader.setPath_zip4(java.lang.String) throws java.rmi.RemoteException, 1682985668773175340=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_family_name() throws java.rmi.RemoteException, 1224581694655521228=public abstract void com.src.entity.patientheader.PatientHeader.setPath_state(java.lang.String) throws java.rmi.RemoteException, -818588026533440350=public abstract java.lang.String com.src.entity.patientheader.PatientHeader.getPath_address1() throws java.rmi.RemoteException} at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source) at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.in
[JBoss-user] Jass security example
Hi jboss users Can any generous Jboss user( who managed to make jass-howto example work) show me how can I access the secureServlet .I ve tried every single suggestion found in the mailing list but nothing is happening, and all what I get on jboss console is [EmbeddedTomcatSX] Bad password for username=null [EmbeddedTomcatSX] LoginException: Password Incorrect/Password Required [EmbeddedTomcatSX] User: null is NOT authenticated Respect for any suggestion! Faisal ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] check www.dbforms.org
Check www.dbforms.org for a database driven web application ide (jsp & struts) faisal ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss Security Howto example
hi dear jboss users In Scott's jass security example I could not access the secureServlet.All what I get is this: [EmbeddedTomcatSX] Bad password for username=null [EmbeddedTomcatSX] LoginException: Password Incorrect/Password Required [EmbeddedTomcatSX] User: null is NOT authenticated then nothing happens after.I followed the example word by word ... any suggestion please! ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Petstore deployed on JBoss 2.2.* ??
hi Me too I am having the same pb with ejb bounding :This is what I get so far Server Error ejb not bound Oops! Your request cannot be completed. The server got the following error. com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: ejb not bound at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getSCCEJB(ModelMan ager.java:130) at com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl .(ShoppingClientControllerWebImpl.java:65) at com.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest (RequestProcessor.java:74) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doProcess(MainServl et.java:111) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.j ava:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) Please notify the administrator. Thank you. Running on Jboss2.2.2 - Original Message - From: "Simon Moses" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 3:58 AM Subject: RE: [JBoss-user] Petstore deployed on JBoss 2.2.* ?? > Hi there Holten, > > I have been trying to get jps1.1.2 to work on JBoss2.2.1. I currently have > a build of the jps that will deploy without errors. However, I am having > some jndi problems with one of the ejbs. If you want further information I > could send you the modifications I have made. > > > Cheers, > Simon. > > > > Simon Moses, > EMAIL: [EMAIL PROTECTED] > > > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of hnorris > Sent: Friday, 22 June 2001 7:40 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [JBoss-user] Petstore deployed on JBoss 2.2.* ?? > > > Hello - > > Has anybody successfully deployed the Petstore demo on versions of JBoss > 2.2.* ? > > The JBoss web site deployment directions specify use of JBoss PRE 2.1 - even > though I used the patch, I was not able to get the demo to build using JBoss > 2.2.* because of missing security classes > (org.jboss.security.SecurityAssociation, org.jboss.security.SimplePrincipal, > etc). (In response to Simon Moses's reply I did have my relevant JBoss and > J2EE environment variables set for the purposes of the build.xml ant > scripts) > > I'm interested in getting in touch with others might have worked around > these problems or collaborating with you on solving them. I'm assuming my > build problems stem from not using JBoss PRE 2.1(?) since I can't even > locate the missing security classes in any of the current JBoss jar files... > > - Holten > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Zola pr
Has Zola web application been abandoned .It has been updated for 9 months Faisal
Re: [JBoss-user] mysql
The current version MySQL works fine with Jboss .The latest vesion has BERKELEY DB and InnoDB included. check chapter 3 JDBC of the documentation to find out how to make the connection url and specifying your datasource - Original Message - From: "Boris Garbuzov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 16, 2001 12:33 AM Subject: [JBoss-user] mysql > I saw some doubts on the list about future MySQL support. Is it currently supported by JBoss' CMP? What should I tell to JBoss to use my connection URL and associated issues? > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Petstore1.1.2?
While trying to install Petstore1.1.2 on Jboss using mySQL.I received this message telling me that ejb is NOt bound Server Error ejb not bound Oops! Your request cannot be completed. The server got the following error. com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: ejb not bound at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getSCCEJB(ModelMan ager.java:130) at com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl .(ShoppingClientControllerWebImpl.java:65) at com.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest (RequestProcessor.java:74) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doProcess(MainServl et.java:111) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.j ava:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) Please notify the administrator. Thank you. Running on Jboss2.2.2 Any suggestion please! ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] DEAR JBOSS USERS
Dear Jboss users I am interested in hearing your experience with Jboss . I ve been using it since jboss2.0 update ...nd few improvements have occurred since .Till now it seems to me that IT can't, even, carry out the simplest EJB tasks such as finder methods( ByPrimarykey(),findAll( ) and Collection findBy...( ) Hope I can hear your views so I can try another decent EJB server many thinks ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss & finders
It is an MBP bean .I ve tried the three options A,B and C .The transaction is set to Required Since Jboss 2.0 methods Collection findALL() ,Collection findBy.().. and findByPrimaryKey () are not recognisable by Jboss To make sure of this I ve tried different BMP beans using servlets and Jsps( successfully run on Orion server) the result is always the same. many thanks - Original Message - From: "danch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 07, 2001 6:36 AM Subject: Re: [JBoss-user] Jboss & finders > First I need to find out what is going on. I really need more specifics > about what you're doing. > > CMP or BMP? > What are your transactions set to (Required, RequiresNew, or Mandatory)? > Are you seeing differences between commit option A, B, and C? > > Faisal Abdallah wrote: > > > Now I am sure that Jboss does NOT know what he is doing > > when using finders and findByPrimaryKey.If I was the only one to mention > > this, it could be a pb with my code > > hope this will be fixed soon. > > Faisal > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss & finders
Now I am sure that Jboss does NOT know what he is doing when using finders and findByPrimaryKey.If I was the only one to mention this, it could be a pb with my code hope this will be fixed soon. Faisal ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss & Collection BMP finder method
When I use Collection in BMP finder method ,Jboss run frustratingly slow and stops without giving the result what might be the pb? Thanks in advance ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Petstore1.1.2 & mySQL (no cloudspace or j2eesdk)
Hi all I am close to install petstore1.1.2 on Jboss2.2 & mySQL Anybody doing the same! ...so me might (together) make it work.. Faisal Abdallah ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] BM Entity Bean Example?
Check Jbosstest-cvs - Original Message - From: "Christopher Cheng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 5:45 AM Subject: [JBoss-user] BM Entity Bean Example? > Does anybody have an example of Bean Managed EJB with JBoss, preferably for > Sybase? > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Problem running JBoss 2.2.1
This happened to me many times (win98) whenever I install or uninstall a program run by j2sdk! try to go back to j2sdk...exe install it again the run Jboss hope this help! Faisal - Original Message - From: "Jim Fritchman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 20, 2001 8:21 PM Subject: [JBoss-user] Problem running JBoss 2.2.1 > I'm trying to get JBoss running on my Win2000 machine. I have the jdk in my > path like the instructions say, but when I run the batch file I get the > following error > > Failed reading value of registry key > Software\Javasoft\Java Runtime Environment\CurrentVersion > Error: could not find java.dll > Error: could not find Java 2 Runtime Environment > > I would greatly appreciate any help in this matter. > > Regards, > Jim Fritchman > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user